@genesislcap/foundation-ui 14.451.2-FUI-2550.4 → 14.451.2-FUI-2550.5
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 +1187 -1187
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1431,34 +1431,11 @@
|
|
|
1431
1431
|
},
|
|
1432
1432
|
{
|
|
1433
1433
|
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/
|
|
1434
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1435
1435
|
"declarations": [
|
|
1436
1436
|
{
|
|
1437
1437
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1439
|
-
"return": {
|
|
1440
|
-
"type": {
|
|
1441
|
-
"text": "ElementStyles"
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
"parameters": [
|
|
1445
|
-
{
|
|
1446
|
-
"name": "context",
|
|
1447
|
-
"type": {
|
|
1448
|
-
"text": "ElementDefinitionContext"
|
|
1449
|
-
}
|
|
1450
|
-
},
|
|
1451
|
-
{
|
|
1452
|
-
"name": "definition",
|
|
1453
|
-
"type": {
|
|
1454
|
-
"text": "FoundationElementDefinition"
|
|
1455
|
-
}
|
|
1456
|
-
}
|
|
1457
|
-
]
|
|
1458
|
-
},
|
|
1459
|
-
{
|
|
1460
|
-
"kind": "function",
|
|
1461
|
-
"name": "foundationActionsMenuStyles",
|
|
1438
|
+
"name": "foundationAccordionStyles",
|
|
1462
1439
|
"return": {
|
|
1463
1440
|
"type": {
|
|
1464
1441
|
"text": "ElementStyles"
|
|
@@ -1483,269 +1460,277 @@
|
|
|
1483
1460
|
"exports": [
|
|
1484
1461
|
{
|
|
1485
1462
|
"kind": "js",
|
|
1486
|
-
"name": "
|
|
1487
|
-
"declaration": {
|
|
1488
|
-
"name": "actionsMenuBaseStyles",
|
|
1489
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1490
|
-
}
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
"kind": "js",
|
|
1494
|
-
"name": "foundationActionsMenuStyles",
|
|
1463
|
+
"name": "foundationAccordionStyles",
|
|
1495
1464
|
"declaration": {
|
|
1496
|
-
"name": "
|
|
1497
|
-
"module": "src/
|
|
1465
|
+
"name": "foundationAccordionStyles",
|
|
1466
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1498
1467
|
}
|
|
1499
1468
|
}
|
|
1500
1469
|
]
|
|
1501
1470
|
},
|
|
1502
1471
|
{
|
|
1503
1472
|
"kind": "javascript-module",
|
|
1504
|
-
"path": "src/
|
|
1473
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1505
1474
|
"declarations": [
|
|
1506
1475
|
{
|
|
1507
1476
|
"kind": "function",
|
|
1508
|
-
"name": "
|
|
1477
|
+
"name": "foundationAccordionTemplate",
|
|
1478
|
+
"return": {
|
|
1479
|
+
"type": {
|
|
1480
|
+
"text": "ViewTemplate<Accordion>"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1509
1483
|
"parameters": [
|
|
1510
1484
|
{
|
|
1511
|
-
"name": "
|
|
1485
|
+
"name": "context",
|
|
1512
1486
|
"type": {
|
|
1513
|
-
"text": "
|
|
1487
|
+
"text": "ElementDefinitionContext"
|
|
1514
1488
|
}
|
|
1515
|
-
}
|
|
1516
|
-
]
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
"kind": "function",
|
|
1520
|
-
"name": "singleOptionTemplate",
|
|
1521
|
-
"parameters": [
|
|
1489
|
+
},
|
|
1522
1490
|
{
|
|
1523
|
-
"name": "
|
|
1491
|
+
"name": "definition",
|
|
1524
1492
|
"type": {
|
|
1525
|
-
"text": "
|
|
1493
|
+
"text": "FoundationElementDefinition"
|
|
1526
1494
|
}
|
|
1527
1495
|
}
|
|
1528
1496
|
]
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
"kind": "variable",
|
|
1532
|
-
"name": "foundationActionsMenuTemplate",
|
|
1533
|
-
"type": {
|
|
1534
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1535
|
-
},
|
|
1536
|
-
"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`"
|
|
1537
1497
|
}
|
|
1538
1498
|
],
|
|
1539
1499
|
"exports": [
|
|
1540
1500
|
{
|
|
1541
1501
|
"kind": "js",
|
|
1542
|
-
"name": "
|
|
1543
|
-
"declaration": {
|
|
1544
|
-
"name": "menuTemplate",
|
|
1545
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1546
|
-
}
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"kind": "js",
|
|
1550
|
-
"name": "singleOptionTemplate",
|
|
1551
|
-
"declaration": {
|
|
1552
|
-
"name": "singleOptionTemplate",
|
|
1553
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "js",
|
|
1558
|
-
"name": "foundationActionsMenuTemplate",
|
|
1502
|
+
"name": "foundationAccordionTemplate",
|
|
1559
1503
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/
|
|
1504
|
+
"name": "foundationAccordionTemplate",
|
|
1505
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1562
1506
|
}
|
|
1563
1507
|
}
|
|
1564
1508
|
]
|
|
1565
1509
|
},
|
|
1566
1510
|
{
|
|
1567
1511
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/
|
|
1512
|
+
"path": "src/accordion/accordion.ts",
|
|
1569
1513
|
"declarations": [
|
|
1570
1514
|
{
|
|
1571
1515
|
"kind": "class",
|
|
1572
1516
|
"description": "",
|
|
1573
|
-
"name": "
|
|
1574
|
-
"
|
|
1517
|
+
"name": "Accordion",
|
|
1518
|
+
"superclass": {
|
|
1519
|
+
"name": "FASTAccordion",
|
|
1520
|
+
"package": "@microsoft/fast-foundation"
|
|
1521
|
+
},
|
|
1522
|
+
"tagName": "%%prefix%%-accordion",
|
|
1523
|
+
"customElement": true,
|
|
1524
|
+
"attributes": [
|
|
1575
1525
|
{
|
|
1576
|
-
"
|
|
1577
|
-
"name": "actions",
|
|
1526
|
+
"name": "expand-mode",
|
|
1578
1527
|
"type": {
|
|
1579
|
-
"text": "
|
|
1528
|
+
"text": "AccordionExpandMode"
|
|
1529
|
+
},
|
|
1530
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1531
|
+
"fieldName": "expandmode",
|
|
1532
|
+
"inheritedFrom": {
|
|
1533
|
+
"name": "Accordion",
|
|
1534
|
+
"module": "src/accordion/accordion.ts"
|
|
1580
1535
|
}
|
|
1581
|
-
}
|
|
1536
|
+
}
|
|
1537
|
+
],
|
|
1538
|
+
"members": [
|
|
1582
1539
|
{
|
|
1583
1540
|
"kind": "field",
|
|
1584
|
-
"name": "
|
|
1541
|
+
"name": "expandmode",
|
|
1585
1542
|
"type": {
|
|
1586
|
-
"text": "
|
|
1543
|
+
"text": "AccordionExpandMode"
|
|
1587
1544
|
},
|
|
1588
|
-
"
|
|
1545
|
+
"privacy": "public",
|
|
1546
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1547
|
+
"inheritedFrom": {
|
|
1548
|
+
"name": "Accordion",
|
|
1549
|
+
"module": "src/accordion/accordion.ts"
|
|
1550
|
+
}
|
|
1589
1551
|
},
|
|
1590
1552
|
{
|
|
1591
1553
|
"kind": "field",
|
|
1592
|
-
"name": "
|
|
1554
|
+
"name": "activeid",
|
|
1593
1555
|
"type": {
|
|
1594
|
-
"text": "
|
|
1556
|
+
"text": "string | null"
|
|
1595
1557
|
},
|
|
1596
|
-
"
|
|
1558
|
+
"privacy": "private",
|
|
1559
|
+
"inheritedFrom": {
|
|
1560
|
+
"name": "Accordion",
|
|
1561
|
+
"module": "src/accordion/accordion.ts"
|
|
1562
|
+
}
|
|
1597
1563
|
},
|
|
1598
1564
|
{
|
|
1599
1565
|
"kind": "field",
|
|
1600
|
-
"name": "
|
|
1566
|
+
"name": "activeItemIndex",
|
|
1601
1567
|
"type": {
|
|
1602
|
-
"text": "
|
|
1568
|
+
"text": "number"
|
|
1603
1569
|
},
|
|
1604
|
-
"
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
"type": {
|
|
1610
|
-
"text": "string"
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"default": "0",
|
|
1572
|
+
"inheritedFrom": {
|
|
1573
|
+
"name": "Accordion",
|
|
1574
|
+
"module": "src/accordion/accordion.ts"
|
|
1611
1575
|
}
|
|
1612
1576
|
},
|
|
1613
1577
|
{
|
|
1614
1578
|
"kind": "field",
|
|
1615
|
-
"name": "
|
|
1579
|
+
"name": "accordionIds",
|
|
1616
1580
|
"type": {
|
|
1617
|
-
"text": "
|
|
1581
|
+
"text": "Array<string | null>"
|
|
1582
|
+
},
|
|
1583
|
+
"privacy": "private",
|
|
1584
|
+
"inheritedFrom": {
|
|
1585
|
+
"name": "Accordion",
|
|
1586
|
+
"module": "src/accordion/accordion.ts"
|
|
1618
1587
|
}
|
|
1619
1588
|
},
|
|
1620
1589
|
{
|
|
1621
1590
|
"kind": "field",
|
|
1622
|
-
"name": "
|
|
1623
|
-
"
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1591
|
+
"name": "change",
|
|
1592
|
+
"privacy": "private",
|
|
1593
|
+
"inheritedFrom": {
|
|
1594
|
+
"name": "Accordion",
|
|
1595
|
+
"module": "src/accordion/accordion.ts"
|
|
1596
|
+
}
|
|
1627
1597
|
},
|
|
1628
1598
|
{
|
|
1629
|
-
"kind": "
|
|
1630
|
-
"name": "
|
|
1631
|
-
"
|
|
1632
|
-
|
|
1599
|
+
"kind": "method",
|
|
1600
|
+
"name": "findExpandedItem",
|
|
1601
|
+
"privacy": "private",
|
|
1602
|
+
"return": {
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "AccordionItem | null"
|
|
1605
|
+
}
|
|
1633
1606
|
},
|
|
1634
|
-
"
|
|
1607
|
+
"inheritedFrom": {
|
|
1608
|
+
"name": "Accordion",
|
|
1609
|
+
"module": "src/accordion/accordion.ts"
|
|
1610
|
+
}
|
|
1635
1611
|
},
|
|
1636
1612
|
{
|
|
1637
1613
|
"kind": "field",
|
|
1638
|
-
"name": "
|
|
1639
|
-
"
|
|
1640
|
-
|
|
1614
|
+
"name": "setItems",
|
|
1615
|
+
"privacy": "private",
|
|
1616
|
+
"inheritedFrom": {
|
|
1617
|
+
"name": "Accordion",
|
|
1618
|
+
"module": "src/accordion/accordion.ts"
|
|
1641
1619
|
}
|
|
1642
1620
|
},
|
|
1643
1621
|
{
|
|
1644
|
-
"kind": "
|
|
1645
|
-
"name": "
|
|
1646
|
-
"
|
|
1647
|
-
|
|
1622
|
+
"kind": "method",
|
|
1623
|
+
"name": "resetItems",
|
|
1624
|
+
"privacy": "private",
|
|
1625
|
+
"return": {
|
|
1626
|
+
"type": {
|
|
1627
|
+
"text": "void"
|
|
1628
|
+
}
|
|
1648
1629
|
},
|
|
1649
|
-
"
|
|
1630
|
+
"inheritedFrom": {
|
|
1631
|
+
"name": "Accordion",
|
|
1632
|
+
"module": "src/accordion/accordion.ts"
|
|
1633
|
+
}
|
|
1650
1634
|
},
|
|
1651
1635
|
{
|
|
1652
1636
|
"kind": "field",
|
|
1653
|
-
"name": "
|
|
1654
|
-
"
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1637
|
+
"name": "removeItemListeners",
|
|
1638
|
+
"privacy": "private",
|
|
1639
|
+
"inheritedFrom": {
|
|
1640
|
+
"name": "Accordion",
|
|
1641
|
+
"module": "src/accordion/accordion.ts"
|
|
1642
|
+
}
|
|
1658
1643
|
},
|
|
1659
1644
|
{
|
|
1660
1645
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
1662
|
-
"
|
|
1663
|
-
|
|
1646
|
+
"name": "activeItemChange",
|
|
1647
|
+
"privacy": "private",
|
|
1648
|
+
"inheritedFrom": {
|
|
1649
|
+
"name": "Accordion",
|
|
1650
|
+
"module": "src/accordion/accordion.ts"
|
|
1664
1651
|
}
|
|
1665
1652
|
},
|
|
1666
1653
|
{
|
|
1667
|
-
"kind": "
|
|
1668
|
-
"name": "
|
|
1669
|
-
"
|
|
1670
|
-
|
|
1654
|
+
"kind": "method",
|
|
1655
|
+
"name": "getItemIds",
|
|
1656
|
+
"privacy": "private",
|
|
1657
|
+
"return": {
|
|
1658
|
+
"type": {
|
|
1659
|
+
"text": "Array<string | null>"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"inheritedFrom": {
|
|
1663
|
+
"name": "Accordion",
|
|
1664
|
+
"module": "src/accordion/accordion.ts"
|
|
1671
1665
|
}
|
|
1672
1666
|
},
|
|
1673
1667
|
{
|
|
1674
1668
|
"kind": "method",
|
|
1675
|
-
"name": "
|
|
1676
|
-
"privacy": "
|
|
1677
|
-
"
|
|
1678
|
-
{
|
|
1679
|
-
"
|
|
1680
|
-
"type": {
|
|
1681
|
-
"text": "any"
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
"name": "newValue",
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "any"
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
]
|
|
1691
|
-
},
|
|
1692
|
-
{
|
|
1693
|
-
"kind": "method",
|
|
1694
|
-
"name": "openChanged",
|
|
1695
|
-
"privacy": "protected"
|
|
1696
|
-
},
|
|
1697
|
-
{
|
|
1698
|
-
"kind": "method",
|
|
1699
|
-
"name": "toggleActionsMenuVisibility"
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"kind": "method",
|
|
1703
|
-
"name": "onActionMenuItemClick",
|
|
1704
|
-
"parameters": [
|
|
1705
|
-
{
|
|
1706
|
-
"name": "callback",
|
|
1707
|
-
"type": {
|
|
1708
|
-
"text": "(rowData) => void | any"
|
|
1709
|
-
}
|
|
1669
|
+
"name": "isSingleExpandMode",
|
|
1670
|
+
"privacy": "private",
|
|
1671
|
+
"return": {
|
|
1672
|
+
"type": {
|
|
1673
|
+
"text": "boolean"
|
|
1710
1674
|
}
|
|
1711
|
-
|
|
1675
|
+
},
|
|
1676
|
+
"inheritedFrom": {
|
|
1677
|
+
"name": "Accordion",
|
|
1678
|
+
"module": "src/accordion/accordion.ts"
|
|
1679
|
+
}
|
|
1712
1680
|
},
|
|
1713
1681
|
{
|
|
1714
1682
|
"kind": "field",
|
|
1715
|
-
"name": "
|
|
1716
|
-
"
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1683
|
+
"name": "handleItemKeyDown",
|
|
1684
|
+
"privacy": "private",
|
|
1685
|
+
"inheritedFrom": {
|
|
1686
|
+
"name": "Accordion",
|
|
1687
|
+
"module": "src/accordion/accordion.ts"
|
|
1688
|
+
}
|
|
1720
1689
|
},
|
|
1721
1690
|
{
|
|
1722
1691
|
"kind": "field",
|
|
1723
|
-
"name": "
|
|
1724
|
-
"
|
|
1692
|
+
"name": "handleItemFocus",
|
|
1693
|
+
"privacy": "private",
|
|
1694
|
+
"inheritedFrom": {
|
|
1695
|
+
"name": "Accordion",
|
|
1696
|
+
"module": "src/accordion/accordion.ts"
|
|
1697
|
+
}
|
|
1725
1698
|
},
|
|
1726
1699
|
{
|
|
1727
1700
|
"kind": "method",
|
|
1728
|
-
"name": "
|
|
1701
|
+
"name": "adjust",
|
|
1702
|
+
"privacy": "private",
|
|
1703
|
+
"return": {
|
|
1704
|
+
"type": {
|
|
1705
|
+
"text": "void"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1729
1708
|
"parameters": [
|
|
1730
1709
|
{
|
|
1731
|
-
"name": "
|
|
1710
|
+
"name": "adjustment",
|
|
1732
1711
|
"type": {
|
|
1733
|
-
"text": "
|
|
1712
|
+
"text": "number"
|
|
1734
1713
|
}
|
|
1735
1714
|
}
|
|
1736
|
-
]
|
|
1715
|
+
],
|
|
1716
|
+
"inheritedFrom": {
|
|
1717
|
+
"name": "Accordion",
|
|
1718
|
+
"module": "src/accordion/accordion.ts"
|
|
1719
|
+
}
|
|
1737
1720
|
},
|
|
1738
1721
|
{
|
|
1739
1722
|
"kind": "method",
|
|
1740
|
-
"name": "
|
|
1741
|
-
"
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
"
|
|
1745
|
-
"text": "string"
|
|
1746
|
-
}
|
|
1723
|
+
"name": "focusItem",
|
|
1724
|
+
"privacy": "private",
|
|
1725
|
+
"return": {
|
|
1726
|
+
"type": {
|
|
1727
|
+
"text": "void"
|
|
1747
1728
|
}
|
|
1748
|
-
|
|
1729
|
+
},
|
|
1730
|
+
"inheritedFrom": {
|
|
1731
|
+
"name": "Accordion",
|
|
1732
|
+
"module": "src/accordion/accordion.ts"
|
|
1733
|
+
}
|
|
1749
1734
|
},
|
|
1750
1735
|
{
|
|
1751
1736
|
"kind": "field",
|
|
@@ -1859,107 +1844,78 @@
|
|
|
1859
1844
|
}
|
|
1860
1845
|
}
|
|
1861
1846
|
],
|
|
1862
|
-
"
|
|
1863
|
-
{
|
|
1864
|
-
"name": "is-vertical",
|
|
1865
|
-
"type": {
|
|
1866
|
-
"text": "boolean"
|
|
1867
|
-
},
|
|
1868
|
-
"default": "false",
|
|
1869
|
-
"fieldName": "isVertical"
|
|
1870
|
-
},
|
|
1871
|
-
{
|
|
1872
|
-
"name": "add-default-actions",
|
|
1873
|
-
"type": {
|
|
1874
|
-
"text": "boolean"
|
|
1875
|
-
},
|
|
1876
|
-
"default": "true",
|
|
1877
|
-
"fieldName": "addDefaultActions"
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"name": "auto-close-on-action",
|
|
1881
|
-
"type": {
|
|
1882
|
-
"text": "boolean"
|
|
1883
|
-
},
|
|
1884
|
-
"default": "true",
|
|
1885
|
-
"fieldName": "autoCloseOnAction"
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"name": "name",
|
|
1889
|
-
"type": {
|
|
1890
|
-
"text": "string"
|
|
1891
|
-
},
|
|
1892
|
-
"default": "'Actions'",
|
|
1893
|
-
"fieldName": "name"
|
|
1894
|
-
},
|
|
1895
|
-
{
|
|
1896
|
-
"name": "open",
|
|
1897
|
-
"type": {
|
|
1898
|
-
"text": "boolean"
|
|
1899
|
-
},
|
|
1900
|
-
"default": "false",
|
|
1901
|
-
"fieldName": "open"
|
|
1902
|
-
},
|
|
1903
|
-
{
|
|
1904
|
-
"name": "buttonAppearance",
|
|
1905
|
-
"type": {
|
|
1906
|
-
"text": "string"
|
|
1907
|
-
},
|
|
1908
|
-
"fieldName": "buttonAppearance"
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"name": "hide-disabled",
|
|
1912
|
-
"type": {
|
|
1913
|
-
"text": "boolean"
|
|
1914
|
-
},
|
|
1915
|
-
"default": "false",
|
|
1916
|
-
"fieldName": "hideDisabled"
|
|
1917
|
-
},
|
|
1847
|
+
"events": [
|
|
1918
1848
|
{
|
|
1919
|
-
"
|
|
1920
|
-
"
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1849
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1850
|
+
"name": "change",
|
|
1851
|
+
"inheritedFrom": {
|
|
1852
|
+
"name": "Accordion",
|
|
1853
|
+
"module": "src/accordion/accordion.ts"
|
|
1854
|
+
}
|
|
1925
1855
|
}
|
|
1926
|
-
]
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1856
|
+
]
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"kind": "variable",
|
|
1860
|
+
"name": "foundationAccordionShadowOptions",
|
|
1861
|
+
"type": {
|
|
1862
|
+
"text": "ShadowRootInit"
|
|
1930
1863
|
},
|
|
1931
|
-
"
|
|
1932
|
-
"customElement": true
|
|
1864
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1933
1865
|
},
|
|
1934
1866
|
{
|
|
1935
1867
|
"kind": "variable",
|
|
1936
|
-
"name": "
|
|
1937
|
-
"
|
|
1868
|
+
"name": "defaultAccordionConfig",
|
|
1869
|
+
"type": {
|
|
1870
|
+
"text": "object"
|
|
1871
|
+
},
|
|
1872
|
+
"default": "{}"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"kind": "variable",
|
|
1876
|
+
"name": "foundationAccordion",
|
|
1877
|
+
"description": "The Foundation Accordion",
|
|
1938
1878
|
"privacy": "public"
|
|
1939
1879
|
}
|
|
1940
1880
|
],
|
|
1941
1881
|
"exports": [
|
|
1942
1882
|
{
|
|
1943
1883
|
"kind": "js",
|
|
1944
|
-
"name": "
|
|
1884
|
+
"name": "Accordion",
|
|
1945
1885
|
"declaration": {
|
|
1946
|
-
"name": "
|
|
1947
|
-
"module": "src/
|
|
1886
|
+
"name": "Accordion",
|
|
1887
|
+
"module": "src/accordion/accordion.ts"
|
|
1948
1888
|
}
|
|
1949
1889
|
},
|
|
1950
1890
|
{
|
|
1951
1891
|
"kind": "js",
|
|
1952
|
-
"name": "
|
|
1892
|
+
"name": "foundationAccordionShadowOptions",
|
|
1953
1893
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/
|
|
1894
|
+
"name": "foundationAccordionShadowOptions",
|
|
1895
|
+
"module": "src/accordion/accordion.ts"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"kind": "js",
|
|
1900
|
+
"name": "defaultAccordionConfig",
|
|
1901
|
+
"declaration": {
|
|
1902
|
+
"name": "defaultAccordionConfig",
|
|
1903
|
+
"module": "src/accordion/accordion.ts"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"kind": "js",
|
|
1908
|
+
"name": "foundationAccordion",
|
|
1909
|
+
"declaration": {
|
|
1910
|
+
"name": "foundationAccordion",
|
|
1911
|
+
"module": "src/accordion/accordion.ts"
|
|
1956
1912
|
}
|
|
1957
1913
|
}
|
|
1958
1914
|
]
|
|
1959
1915
|
},
|
|
1960
1916
|
{
|
|
1961
1917
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/
|
|
1918
|
+
"path": "src/accordion/index.ts",
|
|
1963
1919
|
"declarations": [],
|
|
1964
1920
|
"exports": [
|
|
1965
1921
|
{
|
|
@@ -1967,7 +1923,7 @@
|
|
|
1967
1923
|
"name": "*",
|
|
1968
1924
|
"declaration": {
|
|
1969
1925
|
"name": "*",
|
|
1970
|
-
"package": "./
|
|
1926
|
+
"package": "./accordion.template"
|
|
1971
1927
|
}
|
|
1972
1928
|
},
|
|
1973
1929
|
{
|
|
@@ -1975,7 +1931,7 @@
|
|
|
1975
1931
|
"name": "*",
|
|
1976
1932
|
"declaration": {
|
|
1977
1933
|
"name": "*",
|
|
1978
|
-
"package": "./
|
|
1934
|
+
"package": "./accordion.styles"
|
|
1979
1935
|
}
|
|
1980
1936
|
},
|
|
1981
1937
|
{
|
|
@@ -1983,18 +1939,18 @@
|
|
|
1983
1939
|
"name": "*",
|
|
1984
1940
|
"declaration": {
|
|
1985
1941
|
"name": "*",
|
|
1986
|
-
"package": "./
|
|
1942
|
+
"package": "./accordion"
|
|
1987
1943
|
}
|
|
1988
1944
|
}
|
|
1989
1945
|
]
|
|
1990
1946
|
},
|
|
1991
1947
|
{
|
|
1992
1948
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
1949
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1994
1950
|
"declarations": [
|
|
1995
1951
|
{
|
|
1996
1952
|
"kind": "function",
|
|
1997
|
-
"name": "
|
|
1953
|
+
"name": "actionsMenuBaseStyles",
|
|
1998
1954
|
"return": {
|
|
1999
1955
|
"type": {
|
|
2000
1956
|
"text": "ElementStyles"
|
|
@@ -2014,29 +1970,13 @@
|
|
|
2014
1970
|
}
|
|
2015
1971
|
}
|
|
2016
1972
|
]
|
|
2017
|
-
}
|
|
2018
|
-
],
|
|
2019
|
-
"exports": [
|
|
2020
|
-
{
|
|
2021
|
-
"kind": "js",
|
|
2022
|
-
"name": "foundationAccordionItemStyles",
|
|
2023
|
-
"declaration": {
|
|
2024
|
-
"name": "foundationAccordionItemStyles",
|
|
2025
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
]
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
"kind": "javascript-module",
|
|
2032
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2033
|
-
"declarations": [
|
|
1973
|
+
},
|
|
2034
1974
|
{
|
|
2035
1975
|
"kind": "function",
|
|
2036
|
-
"name": "
|
|
1976
|
+
"name": "foundationActionsMenuStyles",
|
|
2037
1977
|
"return": {
|
|
2038
1978
|
"type": {
|
|
2039
|
-
"text": "
|
|
1979
|
+
"text": "ElementStyles"
|
|
2040
1980
|
}
|
|
2041
1981
|
},
|
|
2042
1982
|
"parameters": [
|
|
@@ -2058,213 +1998,365 @@
|
|
|
2058
1998
|
"exports": [
|
|
2059
1999
|
{
|
|
2060
2000
|
"kind": "js",
|
|
2061
|
-
"name": "
|
|
2001
|
+
"name": "actionsMenuBaseStyles",
|
|
2062
2002
|
"declaration": {
|
|
2063
|
-
"name": "
|
|
2064
|
-
"module": "src/
|
|
2003
|
+
"name": "actionsMenuBaseStyles",
|
|
2004
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "js",
|
|
2009
|
+
"name": "foundationActionsMenuStyles",
|
|
2010
|
+
"declaration": {
|
|
2011
|
+
"name": "foundationActionsMenuStyles",
|
|
2012
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2065
2013
|
}
|
|
2066
2014
|
}
|
|
2067
2015
|
]
|
|
2068
2016
|
},
|
|
2069
2017
|
{
|
|
2070
2018
|
"kind": "javascript-module",
|
|
2071
|
-
"path": "src/
|
|
2019
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2020
|
+
"declarations": [
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "function",
|
|
2023
|
+
"name": "menuTemplate",
|
|
2024
|
+
"parameters": [
|
|
2025
|
+
{
|
|
2026
|
+
"name": "prefix",
|
|
2027
|
+
"type": {
|
|
2028
|
+
"text": "string"
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
]
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"kind": "function",
|
|
2035
|
+
"name": "singleOptionTemplate",
|
|
2036
|
+
"parameters": [
|
|
2037
|
+
{
|
|
2038
|
+
"name": "prefix",
|
|
2039
|
+
"type": {
|
|
2040
|
+
"text": "string"
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
]
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"kind": "variable",
|
|
2047
|
+
"name": "foundationActionsMenuTemplate",
|
|
2048
|
+
"type": {
|
|
2049
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2050
|
+
},
|
|
2051
|
+
"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`"
|
|
2052
|
+
}
|
|
2053
|
+
],
|
|
2054
|
+
"exports": [
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "js",
|
|
2057
|
+
"name": "menuTemplate",
|
|
2058
|
+
"declaration": {
|
|
2059
|
+
"name": "menuTemplate",
|
|
2060
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"kind": "js",
|
|
2065
|
+
"name": "singleOptionTemplate",
|
|
2066
|
+
"declaration": {
|
|
2067
|
+
"name": "singleOptionTemplate",
|
|
2068
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2069
|
+
}
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"kind": "js",
|
|
2073
|
+
"name": "foundationActionsMenuTemplate",
|
|
2074
|
+
"declaration": {
|
|
2075
|
+
"name": "foundationActionsMenuTemplate",
|
|
2076
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
]
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"kind": "javascript-module",
|
|
2083
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2072
2084
|
"declarations": [
|
|
2073
2085
|
{
|
|
2074
2086
|
"kind": "class",
|
|
2075
2087
|
"description": "",
|
|
2076
|
-
"name": "
|
|
2077
|
-
"
|
|
2078
|
-
"name": "FASTAccordionItem",
|
|
2079
|
-
"package": "@microsoft/fast-components"
|
|
2080
|
-
},
|
|
2081
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2082
|
-
"customElement": true,
|
|
2083
|
-
"attributes": [
|
|
2088
|
+
"name": "ActionsMenu",
|
|
2089
|
+
"members": [
|
|
2084
2090
|
{
|
|
2085
|
-
"
|
|
2091
|
+
"kind": "field",
|
|
2092
|
+
"name": "actions",
|
|
2086
2093
|
"type": {
|
|
2087
|
-
"text": "
|
|
2088
|
-
},
|
|
2089
|
-
"default": "2",
|
|
2090
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2091
|
-
"fieldName": "headinglevel",
|
|
2092
|
-
"inheritedFrom": {
|
|
2093
|
-
"name": "AccordionItem",
|
|
2094
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2094
|
+
"text": "ActionMenuItem[]"
|
|
2095
2095
|
}
|
|
2096
2096
|
},
|
|
2097
2097
|
{
|
|
2098
|
+
"kind": "field",
|
|
2099
|
+
"name": "isVertical",
|
|
2098
2100
|
"type": {
|
|
2099
2101
|
"text": "boolean"
|
|
2100
2102
|
},
|
|
2101
|
-
"default": "false"
|
|
2102
|
-
"description": "Expands or collapses the item.",
|
|
2103
|
-
"fieldName": "expanded",
|
|
2104
|
-
"inheritedFrom": {
|
|
2105
|
-
"name": "AccordionItem",
|
|
2106
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2107
|
-
}
|
|
2103
|
+
"default": "false"
|
|
2108
2104
|
},
|
|
2109
|
-
{
|
|
2110
|
-
"name": "id",
|
|
2111
|
-
"type": {
|
|
2112
|
-
"text": "string"
|
|
2113
|
-
},
|
|
2114
|
-
"description": "The item ID",
|
|
2115
|
-
"fieldName": "id",
|
|
2116
|
-
"inheritedFrom": {
|
|
2117
|
-
"name": "AccordionItem",
|
|
2118
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
],
|
|
2122
|
-
"members": [
|
|
2123
2105
|
{
|
|
2124
2106
|
"kind": "field",
|
|
2125
|
-
"name": "
|
|
2107
|
+
"name": "addDefaultActions",
|
|
2126
2108
|
"type": {
|
|
2127
|
-
"text": "
|
|
2109
|
+
"text": "boolean"
|
|
2128
2110
|
},
|
|
2129
|
-
"
|
|
2130
|
-
"default": "2",
|
|
2131
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2132
|
-
"inheritedFrom": {
|
|
2133
|
-
"name": "AccordionItem",
|
|
2134
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2135
|
-
}
|
|
2111
|
+
"default": "true"
|
|
2136
2112
|
},
|
|
2137
2113
|
{
|
|
2138
2114
|
"kind": "field",
|
|
2139
|
-
"name": "
|
|
2115
|
+
"name": "autoCloseOnAction",
|
|
2140
2116
|
"type": {
|
|
2141
2117
|
"text": "boolean"
|
|
2142
2118
|
},
|
|
2143
|
-
"
|
|
2144
|
-
"default": "false",
|
|
2145
|
-
"description": "Expands or collapses the item.",
|
|
2146
|
-
"inheritedFrom": {
|
|
2147
|
-
"name": "AccordionItem",
|
|
2148
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2149
|
-
}
|
|
2119
|
+
"default": "true"
|
|
2150
2120
|
},
|
|
2151
2121
|
{
|
|
2152
2122
|
"kind": "field",
|
|
2153
|
-
"name": "
|
|
2123
|
+
"name": "classNames",
|
|
2154
2124
|
"type": {
|
|
2155
2125
|
"text": "string"
|
|
2156
|
-
},
|
|
2157
|
-
"privacy": "public",
|
|
2158
|
-
"description": "The item ID",
|
|
2159
|
-
"inheritedFrom": {
|
|
2160
|
-
"name": "AccordionItem",
|
|
2161
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2162
2126
|
}
|
|
2163
2127
|
},
|
|
2164
2128
|
{
|
|
2165
2129
|
"kind": "field",
|
|
2166
|
-
"name": "
|
|
2167
|
-
"
|
|
2168
|
-
|
|
2169
|
-
"name": "AccordionItem",
|
|
2170
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2130
|
+
"name": "definition",
|
|
2131
|
+
"type": {
|
|
2132
|
+
"text": "any"
|
|
2171
2133
|
}
|
|
2172
2134
|
},
|
|
2173
2135
|
{
|
|
2174
2136
|
"kind": "field",
|
|
2175
|
-
"name": "
|
|
2137
|
+
"name": "name",
|
|
2176
2138
|
"type": {
|
|
2177
|
-
"text": "
|
|
2139
|
+
"text": "string"
|
|
2178
2140
|
},
|
|
2179
|
-
"
|
|
2180
|
-
"default": "void 0",
|
|
2181
|
-
"inheritedFrom": {
|
|
2182
|
-
"name": "FoundationElement",
|
|
2183
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2184
|
-
}
|
|
2141
|
+
"default": "'Actions'"
|
|
2185
2142
|
},
|
|
2186
2143
|
{
|
|
2187
2144
|
"kind": "field",
|
|
2188
|
-
"name": "
|
|
2145
|
+
"name": "open",
|
|
2189
2146
|
"type": {
|
|
2190
|
-
"text": "
|
|
2147
|
+
"text": "boolean"
|
|
2191
2148
|
},
|
|
2192
|
-
"
|
|
2193
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2194
|
-
"inheritedFrom": {
|
|
2195
|
-
"name": "FoundationElement",
|
|
2196
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2197
|
-
}
|
|
2149
|
+
"default": "false"
|
|
2198
2150
|
},
|
|
2199
2151
|
{
|
|
2200
2152
|
"kind": "field",
|
|
2201
|
-
"name": "
|
|
2153
|
+
"name": "buttonAppearance",
|
|
2202
2154
|
"type": {
|
|
2203
|
-
"text": "
|
|
2204
|
-
},
|
|
2205
|
-
"privacy": "public",
|
|
2206
|
-
"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.",
|
|
2207
|
-
"inheritedFrom": {
|
|
2208
|
-
"name": "FoundationElement",
|
|
2209
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2155
|
+
"text": "string"
|
|
2210
2156
|
}
|
|
2211
2157
|
},
|
|
2212
2158
|
{
|
|
2213
|
-
"kind": "
|
|
2214
|
-
"name": "
|
|
2215
|
-
"
|
|
2216
|
-
|
|
2217
|
-
"type": {
|
|
2218
|
-
"text": "void"
|
|
2219
|
-
}
|
|
2159
|
+
"kind": "field",
|
|
2160
|
+
"name": "hideDisabled",
|
|
2161
|
+
"type": {
|
|
2162
|
+
"text": "boolean"
|
|
2220
2163
|
},
|
|
2221
|
-
"
|
|
2222
|
-
"name": "FoundationElement",
|
|
2223
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2224
|
-
}
|
|
2164
|
+
"default": "false"
|
|
2225
2165
|
},
|
|
2226
2166
|
{
|
|
2227
2167
|
"kind": "field",
|
|
2228
|
-
"name": "
|
|
2168
|
+
"name": "hideMenuSingleOption",
|
|
2229
2169
|
"type": {
|
|
2230
|
-
"text": "
|
|
2170
|
+
"text": "boolean"
|
|
2231
2171
|
},
|
|
2232
|
-
"
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2172
|
+
"default": "false"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "field",
|
|
2176
|
+
"name": "singleOption",
|
|
2177
|
+
"type": {
|
|
2178
|
+
"text": "ActionMenuItem"
|
|
2237
2179
|
}
|
|
2238
2180
|
},
|
|
2239
2181
|
{
|
|
2240
|
-
"kind": "
|
|
2241
|
-
"name": "
|
|
2242
|
-
"
|
|
2243
|
-
|
|
2244
|
-
"type": {
|
|
2245
|
-
"text": "void"
|
|
2246
|
-
}
|
|
2247
|
-
},
|
|
2248
|
-
"inheritedFrom": {
|
|
2249
|
-
"name": "FoundationElement",
|
|
2250
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2182
|
+
"kind": "field",
|
|
2183
|
+
"name": "actionsMenu",
|
|
2184
|
+
"type": {
|
|
2185
|
+
"text": "HTMLElement"
|
|
2251
2186
|
}
|
|
2252
2187
|
},
|
|
2253
2188
|
{
|
|
2254
2189
|
"kind": "method",
|
|
2255
|
-
"name": "
|
|
2256
|
-
"privacy": "
|
|
2257
|
-
"static": true,
|
|
2258
|
-
"return": {
|
|
2259
|
-
"type": {
|
|
2260
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2261
|
-
}
|
|
2262
|
-
},
|
|
2190
|
+
"name": "definitionChanged",
|
|
2191
|
+
"privacy": "protected",
|
|
2263
2192
|
"parameters": [
|
|
2264
2193
|
{
|
|
2265
|
-
"name": "
|
|
2194
|
+
"name": "oldValue",
|
|
2266
2195
|
"type": {
|
|
2267
|
-
"text": "
|
|
2196
|
+
"text": "any"
|
|
2197
|
+
}
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"name": "newValue",
|
|
2201
|
+
"type": {
|
|
2202
|
+
"text": "any"
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
]
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"kind": "method",
|
|
2209
|
+
"name": "openChanged",
|
|
2210
|
+
"privacy": "protected"
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
"kind": "method",
|
|
2214
|
+
"name": "toggleActionsMenuVisibility"
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"kind": "method",
|
|
2218
|
+
"name": "onActionMenuItemClick",
|
|
2219
|
+
"parameters": [
|
|
2220
|
+
{
|
|
2221
|
+
"name": "callback",
|
|
2222
|
+
"type": {
|
|
2223
|
+
"text": "(rowData) => void | any"
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
]
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
"kind": "field",
|
|
2230
|
+
"name": "allActions",
|
|
2231
|
+
"type": {
|
|
2232
|
+
"text": "ActionMenuItem[]"
|
|
2233
|
+
},
|
|
2234
|
+
"readonly": true
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"kind": "field",
|
|
2238
|
+
"name": "rowData",
|
|
2239
|
+
"readonly": true
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"kind": "method",
|
|
2243
|
+
"name": "getLabel",
|
|
2244
|
+
"parameters": [
|
|
2245
|
+
{
|
|
2246
|
+
"name": "name",
|
|
2247
|
+
"type": {
|
|
2248
|
+
"text": "string | ((rowData: any) => string)"
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
]
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"kind": "method",
|
|
2255
|
+
"name": "getTemplate",
|
|
2256
|
+
"parameters": [
|
|
2257
|
+
{
|
|
2258
|
+
"name": "prefix",
|
|
2259
|
+
"type": {
|
|
2260
|
+
"text": "string"
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
]
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"kind": "field",
|
|
2267
|
+
"name": "_presentation",
|
|
2268
|
+
"type": {
|
|
2269
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2270
|
+
},
|
|
2271
|
+
"privacy": "private",
|
|
2272
|
+
"default": "void 0",
|
|
2273
|
+
"inheritedFrom": {
|
|
2274
|
+
"name": "FoundationElement",
|
|
2275
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2276
|
+
}
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"kind": "field",
|
|
2280
|
+
"name": "$presentation",
|
|
2281
|
+
"type": {
|
|
2282
|
+
"text": "ComponentPresentation | null"
|
|
2283
|
+
},
|
|
2284
|
+
"privacy": "public",
|
|
2285
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2286
|
+
"inheritedFrom": {
|
|
2287
|
+
"name": "FoundationElement",
|
|
2288
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"kind": "field",
|
|
2293
|
+
"name": "template",
|
|
2294
|
+
"type": {
|
|
2295
|
+
"text": "ElementViewTemplate | void | null"
|
|
2296
|
+
},
|
|
2297
|
+
"privacy": "public",
|
|
2298
|
+
"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.",
|
|
2299
|
+
"inheritedFrom": {
|
|
2300
|
+
"name": "FoundationElement",
|
|
2301
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2302
|
+
}
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"kind": "method",
|
|
2306
|
+
"name": "templateChanged",
|
|
2307
|
+
"privacy": "protected",
|
|
2308
|
+
"return": {
|
|
2309
|
+
"type": {
|
|
2310
|
+
"text": "void"
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
"inheritedFrom": {
|
|
2314
|
+
"name": "FoundationElement",
|
|
2315
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "field",
|
|
2320
|
+
"name": "styles",
|
|
2321
|
+
"type": {
|
|
2322
|
+
"text": "ElementStyles | void | null"
|
|
2323
|
+
},
|
|
2324
|
+
"privacy": "public",
|
|
2325
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2326
|
+
"inheritedFrom": {
|
|
2327
|
+
"name": "FoundationElement",
|
|
2328
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2329
|
+
}
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"kind": "method",
|
|
2333
|
+
"name": "stylesChanged",
|
|
2334
|
+
"privacy": "protected",
|
|
2335
|
+
"return": {
|
|
2336
|
+
"type": {
|
|
2337
|
+
"text": "void"
|
|
2338
|
+
}
|
|
2339
|
+
},
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "FoundationElement",
|
|
2342
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"kind": "method",
|
|
2347
|
+
"name": "compose",
|
|
2348
|
+
"privacy": "public",
|
|
2349
|
+
"static": true,
|
|
2350
|
+
"return": {
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2353
|
+
}
|
|
2354
|
+
},
|
|
2355
|
+
"parameters": [
|
|
2356
|
+
{
|
|
2357
|
+
"name": "this",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "K"
|
|
2268
2360
|
}
|
|
2269
2361
|
},
|
|
2270
2362
|
{
|
|
@@ -2282,78 +2374,107 @@
|
|
|
2282
2374
|
}
|
|
2283
2375
|
}
|
|
2284
2376
|
],
|
|
2285
|
-
"
|
|
2377
|
+
"attributes": [
|
|
2286
2378
|
{
|
|
2287
|
-
"
|
|
2288
|
-
"
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2379
|
+
"name": "is-vertical",
|
|
2380
|
+
"type": {
|
|
2381
|
+
"text": "boolean"
|
|
2382
|
+
},
|
|
2383
|
+
"default": "false",
|
|
2384
|
+
"fieldName": "isVertical"
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"name": "add-default-actions",
|
|
2388
|
+
"type": {
|
|
2389
|
+
"text": "boolean"
|
|
2390
|
+
},
|
|
2391
|
+
"default": "true",
|
|
2392
|
+
"fieldName": "addDefaultActions"
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
"name": "auto-close-on-action",
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "boolean"
|
|
2398
|
+
},
|
|
2399
|
+
"default": "true",
|
|
2400
|
+
"fieldName": "autoCloseOnAction"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"name": "name",
|
|
2404
|
+
"type": {
|
|
2405
|
+
"text": "string"
|
|
2406
|
+
},
|
|
2407
|
+
"default": "'Actions'",
|
|
2408
|
+
"fieldName": "name"
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "open",
|
|
2412
|
+
"type": {
|
|
2413
|
+
"text": "boolean"
|
|
2414
|
+
},
|
|
2415
|
+
"default": "false",
|
|
2416
|
+
"fieldName": "open"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "buttonAppearance",
|
|
2420
|
+
"type": {
|
|
2421
|
+
"text": "string"
|
|
2422
|
+
},
|
|
2423
|
+
"fieldName": "buttonAppearance"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"name": "hide-disabled",
|
|
2427
|
+
"type": {
|
|
2428
|
+
"text": "boolean"
|
|
2429
|
+
},
|
|
2430
|
+
"default": "false",
|
|
2431
|
+
"fieldName": "hideDisabled"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"name": "hide-menu-single-option",
|
|
2435
|
+
"type": {
|
|
2436
|
+
"text": "boolean"
|
|
2437
|
+
},
|
|
2438
|
+
"default": "false",
|
|
2439
|
+
"fieldName": "hideMenuSingleOption"
|
|
2293
2440
|
}
|
|
2294
|
-
]
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2299
|
-
"type": {
|
|
2300
|
-
"text": "ShadowRootInit"
|
|
2301
|
-
},
|
|
2302
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"kind": "variable",
|
|
2306
|
-
"name": "defaultAccordionItemConfig",
|
|
2307
|
-
"type": {
|
|
2308
|
-
"text": "object"
|
|
2441
|
+
],
|
|
2442
|
+
"superclass": {
|
|
2443
|
+
"name": "FoundationElement",
|
|
2444
|
+
"package": "@microsoft/fast-foundation"
|
|
2309
2445
|
},
|
|
2310
|
-
"
|
|
2446
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2447
|
+
"customElement": true
|
|
2311
2448
|
},
|
|
2312
2449
|
{
|
|
2313
2450
|
"kind": "variable",
|
|
2314
|
-
"name": "
|
|
2315
|
-
"description": "The Foundation
|
|
2451
|
+
"name": "foundationActionsMenu",
|
|
2452
|
+
"description": "The Foundation Actions Menu",
|
|
2316
2453
|
"privacy": "public"
|
|
2317
2454
|
}
|
|
2318
2455
|
],
|
|
2319
2456
|
"exports": [
|
|
2320
2457
|
{
|
|
2321
2458
|
"kind": "js",
|
|
2322
|
-
"name": "
|
|
2323
|
-
"declaration": {
|
|
2324
|
-
"name": "AccordionItem",
|
|
2325
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2326
|
-
}
|
|
2327
|
-
},
|
|
2328
|
-
{
|
|
2329
|
-
"kind": "js",
|
|
2330
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2331
|
-
"declaration": {
|
|
2332
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2333
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2334
|
-
}
|
|
2335
|
-
},
|
|
2336
|
-
{
|
|
2337
|
-
"kind": "js",
|
|
2338
|
-
"name": "defaultAccordionItemConfig",
|
|
2459
|
+
"name": "ActionsMenu",
|
|
2339
2460
|
"declaration": {
|
|
2340
|
-
"name": "
|
|
2341
|
-
"module": "src/
|
|
2461
|
+
"name": "ActionsMenu",
|
|
2462
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2342
2463
|
}
|
|
2343
2464
|
},
|
|
2344
2465
|
{
|
|
2345
2466
|
"kind": "js",
|
|
2346
|
-
"name": "
|
|
2467
|
+
"name": "foundationActionsMenu",
|
|
2347
2468
|
"declaration": {
|
|
2348
|
-
"name": "
|
|
2349
|
-
"module": "src/
|
|
2469
|
+
"name": "foundationActionsMenu",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2350
2471
|
}
|
|
2351
2472
|
}
|
|
2352
2473
|
]
|
|
2353
2474
|
},
|
|
2354
2475
|
{
|
|
2355
2476
|
"kind": "javascript-module",
|
|
2356
|
-
"path": "src/
|
|
2477
|
+
"path": "src/actions-menu/index.ts",
|
|
2357
2478
|
"declarations": [],
|
|
2358
2479
|
"exports": [
|
|
2359
2480
|
{
|
|
@@ -2361,7 +2482,7 @@
|
|
|
2361
2482
|
"name": "*",
|
|
2362
2483
|
"declaration": {
|
|
2363
2484
|
"name": "*",
|
|
2364
|
-
"package": "./
|
|
2485
|
+
"package": "./actions-menu.styles"
|
|
2365
2486
|
}
|
|
2366
2487
|
},
|
|
2367
2488
|
{
|
|
@@ -2369,7 +2490,7 @@
|
|
|
2369
2490
|
"name": "*",
|
|
2370
2491
|
"declaration": {
|
|
2371
2492
|
"name": "*",
|
|
2372
|
-
"package": "./
|
|
2493
|
+
"package": "./actions-menu.template"
|
|
2373
2494
|
}
|
|
2374
2495
|
},
|
|
2375
2496
|
{
|
|
@@ -2377,264 +2498,192 @@
|
|
|
2377
2498
|
"name": "*",
|
|
2378
2499
|
"declaration": {
|
|
2379
2500
|
"name": "*",
|
|
2380
|
-
"package": "./
|
|
2501
|
+
"package": "./actions-menu"
|
|
2381
2502
|
}
|
|
2382
2503
|
}
|
|
2383
2504
|
]
|
|
2384
2505
|
},
|
|
2385
2506
|
{
|
|
2386
2507
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/
|
|
2508
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
2388
2509
|
"declarations": [
|
|
2389
2510
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2511
|
+
"kind": "function",
|
|
2512
|
+
"name": "foundationAccordionItemStyles",
|
|
2513
|
+
"return": {
|
|
2514
|
+
"type": {
|
|
2515
|
+
"text": "ElementStyles"
|
|
2516
|
+
}
|
|
2517
|
+
},
|
|
2518
|
+
"parameters": [
|
|
2519
|
+
{
|
|
2520
|
+
"name": "context",
|
|
2521
|
+
"type": {
|
|
2522
|
+
"text": "ElementDefinitionContext"
|
|
2523
|
+
}
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"name": "definition",
|
|
2527
|
+
"type": {
|
|
2528
|
+
"text": "FoundationElementDefinition"
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
]
|
|
2393
2532
|
}
|
|
2394
2533
|
],
|
|
2395
2534
|
"exports": [
|
|
2396
2535
|
{
|
|
2397
2536
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2537
|
+
"name": "foundationAccordionItemStyles",
|
|
2399
2538
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/
|
|
2539
|
+
"name": "foundationAccordionItemStyles",
|
|
2540
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2402
2541
|
}
|
|
2403
2542
|
}
|
|
2404
2543
|
]
|
|
2405
2544
|
},
|
|
2406
2545
|
{
|
|
2407
2546
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/
|
|
2547
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2409
2548
|
"declarations": [
|
|
2410
2549
|
{
|
|
2411
|
-
"kind": "
|
|
2412
|
-
"name": "
|
|
2413
|
-
"
|
|
2414
|
-
"
|
|
2550
|
+
"kind": "function",
|
|
2551
|
+
"name": "foundationAccordionItemTemplate",
|
|
2552
|
+
"return": {
|
|
2553
|
+
"type": {
|
|
2554
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2555
|
+
}
|
|
2415
2556
|
},
|
|
2416
|
-
"
|
|
2557
|
+
"parameters": [
|
|
2558
|
+
{
|
|
2559
|
+
"name": "context",
|
|
2560
|
+
"type": {
|
|
2561
|
+
"text": "ElementDefinitionContext"
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"name": "definition",
|
|
2566
|
+
"type": {
|
|
2567
|
+
"text": "FoundationElementDefinition"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
]
|
|
2417
2571
|
}
|
|
2418
2572
|
],
|
|
2419
2573
|
"exports": [
|
|
2420
2574
|
{
|
|
2421
2575
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2576
|
+
"name": "foundationAccordionItemTemplate",
|
|
2423
2577
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/
|
|
2578
|
+
"name": "foundationAccordionItemTemplate",
|
|
2579
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2426
2580
|
}
|
|
2427
2581
|
}
|
|
2428
2582
|
]
|
|
2429
2583
|
},
|
|
2430
2584
|
{
|
|
2431
2585
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/
|
|
2586
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2433
2587
|
"declarations": [
|
|
2434
2588
|
{
|
|
2435
2589
|
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
},
|
|
2590
|
+
"description": "",
|
|
2591
|
+
"name": "AccordionItem",
|
|
2592
|
+
"superclass": {
|
|
2593
|
+
"name": "FASTAccordionItem",
|
|
2594
|
+
"package": "@microsoft/fast-components"
|
|
2595
|
+
},
|
|
2596
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2597
|
+
"customElement": true,
|
|
2598
|
+
"attributes": [
|
|
2446
2599
|
{
|
|
2447
|
-
"
|
|
2448
|
-
"name": "placeholder",
|
|
2600
|
+
"name": "heading-level",
|
|
2449
2601
|
"type": {
|
|
2450
|
-
"text": "
|
|
2602
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2451
2603
|
},
|
|
2452
|
-
"default": "
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
"
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
"text": "boolean"
|
|
2604
|
+
"default": "2",
|
|
2605
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2606
|
+
"fieldName": "headinglevel",
|
|
2607
|
+
"inheritedFrom": {
|
|
2608
|
+
"name": "AccordionItem",
|
|
2609
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2459
2610
|
}
|
|
2460
2611
|
},
|
|
2461
2612
|
{
|
|
2462
|
-
"kind": "field",
|
|
2463
|
-
"name": "inputValue",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "string"
|
|
2466
|
-
},
|
|
2467
|
-
"default": "''"
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"kind": "field",
|
|
2471
|
-
"name": "isInterpreting",
|
|
2472
|
-
"type": {
|
|
2473
|
-
"text": "boolean"
|
|
2474
|
-
},
|
|
2475
|
-
"default": "false"
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"kind": "field",
|
|
2479
|
-
"name": "lastValidCriteria",
|
|
2480
|
-
"type": {
|
|
2481
|
-
"text": "string | null"
|
|
2482
|
-
},
|
|
2483
|
-
"default": "null"
|
|
2484
|
-
},
|
|
2485
|
-
{
|
|
2486
|
-
"kind": "field",
|
|
2487
|
-
"name": "activeGroups",
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "CriteriaGroup[]"
|
|
2490
|
-
},
|
|
2491
|
-
"default": "[]"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"kind": "field",
|
|
2495
|
-
"name": "showingChips",
|
|
2496
|
-
"type": {
|
|
2497
|
-
"text": "boolean"
|
|
2498
|
-
},
|
|
2499
|
-
"default": "false"
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
"kind": "field",
|
|
2503
|
-
"name": "fieldMetadata",
|
|
2504
|
-
"type": {
|
|
2505
|
-
"text": "MetadataDetail[] | string[]"
|
|
2506
|
-
},
|
|
2507
|
-
"default": "[]"
|
|
2508
|
-
},
|
|
2509
|
-
{
|
|
2510
|
-
"kind": "field",
|
|
2511
|
-
"name": "isRecording",
|
|
2512
2613
|
"type": {
|
|
2513
2614
|
"text": "boolean"
|
|
2514
2615
|
},
|
|
2515
|
-
"default": "false"
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
"
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
},
|
|
2523
|
-
"privacy": "public"
|
|
2616
|
+
"default": "false",
|
|
2617
|
+
"description": "Expands or collapses the item.",
|
|
2618
|
+
"fieldName": "expanded",
|
|
2619
|
+
"inheritedFrom": {
|
|
2620
|
+
"name": "AccordionItem",
|
|
2621
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2622
|
+
}
|
|
2524
2623
|
},
|
|
2525
2624
|
{
|
|
2526
|
-
"
|
|
2527
|
-
"name": "stopRecording",
|
|
2625
|
+
"name": "id",
|
|
2528
2626
|
"type": {
|
|
2529
|
-
"text": "
|
|
2627
|
+
"text": "string"
|
|
2530
2628
|
},
|
|
2531
|
-
"
|
|
2532
|
-
"
|
|
2533
|
-
|
|
2629
|
+
"description": "The item ID",
|
|
2630
|
+
"fieldName": "id",
|
|
2631
|
+
"inheritedFrom": {
|
|
2632
|
+
"name": "AccordionItem",
|
|
2633
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
],
|
|
2637
|
+
"members": [
|
|
2534
2638
|
{
|
|
2535
2639
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2640
|
+
"name": "headinglevel",
|
|
2537
2641
|
"type": {
|
|
2538
|
-
"text": "
|
|
2642
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2539
2643
|
},
|
|
2540
|
-
"privacy": "
|
|
2541
|
-
"default": "
|
|
2644
|
+
"privacy": "public",
|
|
2645
|
+
"default": "2",
|
|
2646
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2647
|
+
"inheritedFrom": {
|
|
2648
|
+
"name": "AccordionItem",
|
|
2649
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2650
|
+
}
|
|
2542
2651
|
},
|
|
2543
2652
|
{
|
|
2544
2653
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2654
|
+
"name": "expanded",
|
|
2546
2655
|
"type": {
|
|
2547
2656
|
"text": "boolean"
|
|
2548
2657
|
},
|
|
2549
|
-
"
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
"
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
"text": "CriteriaChip[]"
|
|
2556
|
-
},
|
|
2557
|
-
"readonly": true
|
|
2558
|
-
},
|
|
2559
|
-
{
|
|
2560
|
-
"kind": "method",
|
|
2561
|
-
"name": "getFieldLabel",
|
|
2562
|
-
"privacy": "private",
|
|
2563
|
-
"return": {
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "string"
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
"parameters": [
|
|
2569
|
-
{
|
|
2570
|
-
"name": "fieldName",
|
|
2571
|
-
"type": {
|
|
2572
|
-
"text": "string"
|
|
2573
|
-
}
|
|
2574
|
-
}
|
|
2575
|
-
]
|
|
2576
|
-
},
|
|
2577
|
-
{
|
|
2578
|
-
"kind": "method",
|
|
2579
|
-
"name": "toggleCriteriaView",
|
|
2580
|
-
"return": {
|
|
2581
|
-
"type": {
|
|
2582
|
-
"text": "void"
|
|
2583
|
-
}
|
|
2584
|
-
}
|
|
2585
|
-
},
|
|
2586
|
-
{
|
|
2587
|
-
"kind": "method",
|
|
2588
|
-
"name": "removeChip",
|
|
2589
|
-
"return": {
|
|
2590
|
-
"type": {
|
|
2591
|
-
"text": "void"
|
|
2592
|
-
}
|
|
2593
|
-
},
|
|
2594
|
-
"parameters": [
|
|
2595
|
-
{
|
|
2596
|
-
"name": "groupIndex",
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "number"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"name": "clauseIndex",
|
|
2603
|
-
"type": {
|
|
2604
|
-
"text": "number"
|
|
2605
|
-
}
|
|
2606
|
-
}
|
|
2607
|
-
]
|
|
2608
|
-
},
|
|
2609
|
-
{
|
|
2610
|
-
"kind": "method",
|
|
2611
|
-
"name": "clearChips",
|
|
2612
|
-
"return": {
|
|
2613
|
-
"type": {
|
|
2614
|
-
"text": "void"
|
|
2615
|
-
}
|
|
2658
|
+
"privacy": "public",
|
|
2659
|
+
"default": "false",
|
|
2660
|
+
"description": "Expands or collapses the item.",
|
|
2661
|
+
"inheritedFrom": {
|
|
2662
|
+
"name": "AccordionItem",
|
|
2663
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2616
2664
|
}
|
|
2617
2665
|
},
|
|
2618
2666
|
{
|
|
2619
|
-
"kind": "
|
|
2620
|
-
"name": "
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
"
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
{
|
|
2631
|
-
"kind": "method",
|
|
2632
|
-
"name": "toggleSpeechInput"
|
|
2667
|
+
"kind": "field",
|
|
2668
|
+
"name": "id",
|
|
2669
|
+
"type": {
|
|
2670
|
+
"text": "string"
|
|
2671
|
+
},
|
|
2672
|
+
"privacy": "public",
|
|
2673
|
+
"description": "The item ID",
|
|
2674
|
+
"inheritedFrom": {
|
|
2675
|
+
"name": "AccordionItem",
|
|
2676
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2677
|
+
}
|
|
2633
2678
|
},
|
|
2634
2679
|
{
|
|
2635
|
-
"kind": "
|
|
2636
|
-
"name": "
|
|
2637
|
-
"privacy": "private"
|
|
2680
|
+
"kind": "field",
|
|
2681
|
+
"name": "change",
|
|
2682
|
+
"privacy": "private",
|
|
2683
|
+
"inheritedFrom": {
|
|
2684
|
+
"name": "AccordionItem",
|
|
2685
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2686
|
+
}
|
|
2638
2687
|
},
|
|
2639
2688
|
{
|
|
2640
2689
|
"kind": "field",
|
|
@@ -2750,152 +2799,84 @@
|
|
|
2750
2799
|
],
|
|
2751
2800
|
"events": [
|
|
2752
2801
|
{
|
|
2753
|
-
"description": "
|
|
2754
|
-
"name": "
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
}
|
|
2760
|
-
],
|
|
2761
|
-
"attributes": [
|
|
2762
|
-
{
|
|
2763
|
-
"name": "placeholder",
|
|
2764
|
-
"type": {
|
|
2765
|
-
"text": "string"
|
|
2766
|
-
},
|
|
2767
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2768
|
-
"fieldName": "placeholder"
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"type": {
|
|
2772
|
-
"text": "boolean"
|
|
2773
|
-
},
|
|
2774
|
-
"fieldName": "disabled"
|
|
2802
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2803
|
+
"name": "change",
|
|
2804
|
+
"inheritedFrom": {
|
|
2805
|
+
"name": "AccordionItem",
|
|
2806
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2807
|
+
}
|
|
2775
2808
|
}
|
|
2776
|
-
]
|
|
2777
|
-
"superclass": {
|
|
2778
|
-
"name": "FoundationElement",
|
|
2779
|
-
"package": "@microsoft/fast-foundation"
|
|
2780
|
-
},
|
|
2781
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2782
|
-
"customElement": true
|
|
2809
|
+
]
|
|
2783
2810
|
},
|
|
2784
2811
|
{
|
|
2785
2812
|
"kind": "variable",
|
|
2786
|
-
"name": "
|
|
2813
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2787
2814
|
"type": {
|
|
2788
2815
|
"text": "ShadowRootInit"
|
|
2789
2816
|
},
|
|
2790
|
-
"default": "
|
|
2817
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2791
2818
|
},
|
|
2792
2819
|
{
|
|
2793
2820
|
"kind": "variable",
|
|
2794
|
-
"name": "
|
|
2821
|
+
"name": "defaultAccordionItemConfig",
|
|
2795
2822
|
"type": {
|
|
2796
2823
|
"text": "object"
|
|
2797
2824
|
},
|
|
2798
|
-
"default": "{}"
|
|
2825
|
+
"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}"
|
|
2799
2826
|
},
|
|
2800
2827
|
{
|
|
2801
2828
|
"kind": "variable",
|
|
2802
|
-
"name": "
|
|
2829
|
+
"name": "foundationAccordionItem",
|
|
2830
|
+
"description": "The Foundation Accordion Item",
|
|
2831
|
+
"privacy": "public"
|
|
2803
2832
|
}
|
|
2804
2833
|
],
|
|
2805
2834
|
"exports": [
|
|
2806
2835
|
{
|
|
2807
2836
|
"kind": "js",
|
|
2808
|
-
"name": "
|
|
2837
|
+
"name": "AccordionItem",
|
|
2809
2838
|
"declaration": {
|
|
2810
|
-
"name": "
|
|
2811
|
-
"module": "src/
|
|
2839
|
+
"name": "AccordionItem",
|
|
2840
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2812
2841
|
}
|
|
2813
2842
|
},
|
|
2814
2843
|
{
|
|
2815
2844
|
"kind": "js",
|
|
2816
|
-
"name": "
|
|
2845
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2817
2846
|
"declaration": {
|
|
2818
|
-
"name": "
|
|
2819
|
-
"module": "src/
|
|
2847
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2848
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2820
2849
|
}
|
|
2821
2850
|
},
|
|
2822
2851
|
{
|
|
2823
2852
|
"kind": "js",
|
|
2824
|
-
"name": "
|
|
2853
|
+
"name": "defaultAccordionItemConfig",
|
|
2825
2854
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/
|
|
2855
|
+
"name": "defaultAccordionItemConfig",
|
|
2856
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2828
2857
|
}
|
|
2829
2858
|
},
|
|
2830
2859
|
{
|
|
2831
2860
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2861
|
+
"name": "foundationAccordionItem",
|
|
2833
2862
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationAccordionItem",
|
|
2864
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2836
2865
|
}
|
|
2837
2866
|
}
|
|
2838
2867
|
]
|
|
2839
2868
|
},
|
|
2840
2869
|
{
|
|
2841
2870
|
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/
|
|
2871
|
+
"path": "src/accordion-item/index.ts",
|
|
2843
2872
|
"declarations": [],
|
|
2844
2873
|
"exports": [
|
|
2845
|
-
{
|
|
2846
|
-
"kind": "js",
|
|
2847
|
-
"name": "AiCriteriaSearch",
|
|
2848
|
-
"declaration": {
|
|
2849
|
-
"name": "AiCriteriaSearch",
|
|
2850
|
-
"module": "./ai-criteria-search"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "foundationAiCriteriaSearch",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "foundationAiCriteriaSearch",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2872
|
-
"declaration": {
|
|
2873
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2874
|
-
"module": "./ai-criteria-search"
|
|
2875
|
-
}
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2882
|
-
"module": "./ai-criteria-search.styles"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "js",
|
|
2887
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2888
|
-
"declaration": {
|
|
2889
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2890
|
-
"module": "./ai-criteria-search.template"
|
|
2891
|
-
}
|
|
2892
|
-
},
|
|
2893
2874
|
{
|
|
2894
2875
|
"kind": "js",
|
|
2895
2876
|
"name": "*",
|
|
2896
2877
|
"declaration": {
|
|
2897
2878
|
"name": "*",
|
|
2898
|
-
"package": "./
|
|
2879
|
+
"package": "./accordion-item.template"
|
|
2899
2880
|
}
|
|
2900
2881
|
},
|
|
2901
2882
|
{
|
|
@@ -2903,165 +2884,72 @@
|
|
|
2903
2884
|
"name": "*",
|
|
2904
2885
|
"declaration": {
|
|
2905
2886
|
"name": "*",
|
|
2906
|
-
"package": "./
|
|
2887
|
+
"package": "./accordion-item.styles"
|
|
2907
2888
|
}
|
|
2908
2889
|
},
|
|
2909
2890
|
{
|
|
2910
2891
|
"kind": "js",
|
|
2911
2892
|
"name": "*",
|
|
2912
2893
|
"declaration": {
|
|
2913
|
-
"name": "*",
|
|
2914
|
-
"package": "./
|
|
2915
|
-
}
|
|
2916
|
-
}
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/
|
|
2922
|
-
"declarations": [
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "
|
|
2925
|
-
"name": "
|
|
2926
|
-
"
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string"
|
|
2929
|
-
}
|
|
2930
|
-
},
|
|
2931
|
-
"parameters": [
|
|
2932
|
-
{
|
|
2933
|
-
"name": "errors",
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "ValidationError[]"
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
],
|
|
2939
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "function",
|
|
2943
|
-
"name": "showCriteriaError",
|
|
2944
|
-
"return": {
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "void"
|
|
2947
|
-
}
|
|
2948
|
-
},
|
|
2949
|
-
"parameters": [
|
|
2950
|
-
{
|
|
2951
|
-
"name": "title",
|
|
2952
|
-
"type": {
|
|
2953
|
-
"text": "string"
|
|
2954
|
-
},
|
|
2955
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "body",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Error message to display"
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "tagName",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "string"
|
|
2968
|
-
},
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "js",
|
|
2978
|
-
"name": "formatValidationErrors",
|
|
2979
|
-
"declaration": {
|
|
2980
|
-
"name": "formatValidationErrors",
|
|
2981
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "js",
|
|
2986
|
-
"name": "showCriteriaError",
|
|
2987
|
-
"declaration": {
|
|
2988
|
-
"name": "showCriteriaError",
|
|
2989
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
]
|
|
2993
|
-
},
|
|
2994
|
-
{
|
|
2995
|
-
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2997
|
-
"declarations": [
|
|
2998
|
-
{
|
|
2999
|
-
"kind": "function",
|
|
3000
|
-
"name": "foundationAiIndicatorStyles",
|
|
3001
|
-
"return": {
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
"parameters": [
|
|
3007
|
-
{
|
|
3008
|
-
"name": "context",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "ElementDefinitionContext"
|
|
3011
|
-
}
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "definition",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "FoundationElementDefinition"
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
]
|
|
2894
|
+
"name": "*",
|
|
2895
|
+
"package": "./accordion-item"
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
]
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"kind": "javascript-module",
|
|
2902
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2903
|
+
"declarations": [
|
|
2904
|
+
{
|
|
2905
|
+
"kind": "variable",
|
|
2906
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2907
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3020
2908
|
}
|
|
3021
2909
|
],
|
|
3022
2910
|
"exports": [
|
|
3023
2911
|
{
|
|
3024
2912
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2913
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3026
2914
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/ai-
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3029
2917
|
}
|
|
3030
2918
|
}
|
|
3031
2919
|
]
|
|
3032
2920
|
},
|
|
3033
2921
|
{
|
|
3034
2922
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-
|
|
2923
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3036
2924
|
"declarations": [
|
|
3037
2925
|
{
|
|
3038
2926
|
"kind": "variable",
|
|
3039
|
-
"name": "
|
|
2927
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3040
2928
|
"type": {
|
|
3041
|
-
"text": "ViewTemplate<
|
|
2929
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3042
2930
|
},
|
|
3043
|
-
"default": "html`\n ${(x) =>
|
|
2931
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3044
2932
|
}
|
|
3045
2933
|
],
|
|
3046
2934
|
"exports": [
|
|
3047
2935
|
{
|
|
3048
2936
|
"kind": "js",
|
|
3049
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3050
2938
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "src/ai-
|
|
2939
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3053
2941
|
}
|
|
3054
2942
|
}
|
|
3055
2943
|
]
|
|
3056
2944
|
},
|
|
3057
2945
|
{
|
|
3058
2946
|
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/ai-
|
|
2947
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3060
2948
|
"declarations": [
|
|
3061
2949
|
{
|
|
3062
2950
|
"kind": "class",
|
|
3063
|
-
"description": "",
|
|
3064
|
-
"name": "
|
|
2951
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2952
|
+
"name": "AiCriteriaSearch",
|
|
3065
2953
|
"members": [
|
|
3066
2954
|
{
|
|
3067
2955
|
"kind": "field",
|
|
@@ -3072,25 +2960,54 @@
|
|
|
3072
2960
|
},
|
|
3073
2961
|
{
|
|
3074
2962
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2963
|
+
"name": "placeholder",
|
|
3076
2964
|
"type": {
|
|
3077
|
-
"text": "
|
|
2965
|
+
"text": "string"
|
|
3078
2966
|
},
|
|
3079
|
-
"
|
|
3080
|
-
"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.",
|
|
3081
|
-
"readonly": true
|
|
2967
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3082
2968
|
},
|
|
3083
2969
|
{
|
|
3084
2970
|
"kind": "field",
|
|
3085
|
-
"name": "
|
|
2971
|
+
"name": "disabled",
|
|
3086
2972
|
"type": {
|
|
3087
|
-
"text": "
|
|
2973
|
+
"text": "boolean"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "field",
|
|
2978
|
+
"name": "inputValue",
|
|
2979
|
+
"type": {
|
|
2980
|
+
"text": "string"
|
|
2981
|
+
},
|
|
2982
|
+
"default": "''"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "field",
|
|
2986
|
+
"name": "isInterpreting",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "boolean"
|
|
2989
|
+
},
|
|
2990
|
+
"default": "false"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "lastValidCriteria",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "string | null"
|
|
3088
2997
|
},
|
|
3089
2998
|
"default": "null"
|
|
3090
2999
|
},
|
|
3091
3000
|
{
|
|
3092
3001
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
3002
|
+
"name": "activeGroups",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaGroup[]"
|
|
3005
|
+
},
|
|
3006
|
+
"default": "[]"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "field",
|
|
3010
|
+
"name": "showingChips",
|
|
3094
3011
|
"type": {
|
|
3095
3012
|
"text": "boolean"
|
|
3096
3013
|
},
|
|
@@ -3098,15 +3015,15 @@
|
|
|
3098
3015
|
},
|
|
3099
3016
|
{
|
|
3100
3017
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
3018
|
+
"name": "fieldMetadata",
|
|
3102
3019
|
"type": {
|
|
3103
|
-
"text": "
|
|
3020
|
+
"text": "MetadataDetail[] | string[]"
|
|
3104
3021
|
},
|
|
3105
|
-
"default": "
|
|
3022
|
+
"default": "[]"
|
|
3106
3023
|
},
|
|
3107
3024
|
{
|
|
3108
3025
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
3026
|
+
"name": "isRecording",
|
|
3110
3027
|
"type": {
|
|
3111
3028
|
"text": "boolean"
|
|
3112
3029
|
},
|
|
@@ -3114,29 +3031,33 @@
|
|
|
3114
3031
|
},
|
|
3115
3032
|
{
|
|
3116
3033
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
3034
|
+
"name": "textAreaRef",
|
|
3118
3035
|
"type": {
|
|
3119
|
-
"text": "
|
|
3036
|
+
"text": "HTMLTextAreaElement"
|
|
3120
3037
|
},
|
|
3121
|
-
"privacy": "
|
|
3122
|
-
"default": "null"
|
|
3038
|
+
"privacy": "public"
|
|
3123
3039
|
},
|
|
3124
3040
|
{
|
|
3125
3041
|
"kind": "field",
|
|
3126
|
-
"name": "
|
|
3127
|
-
"
|
|
3042
|
+
"name": "stopRecording",
|
|
3043
|
+
"type": {
|
|
3044
|
+
"text": "(() => void) | null"
|
|
3045
|
+
},
|
|
3046
|
+
"privacy": "private",
|
|
3047
|
+
"default": "null"
|
|
3128
3048
|
},
|
|
3129
3049
|
{
|
|
3130
3050
|
"kind": "field",
|
|
3131
|
-
"name": "
|
|
3051
|
+
"name": "speechApplyDebounceTimer",
|
|
3132
3052
|
"type": {
|
|
3133
|
-
"text": "
|
|
3053
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3134
3054
|
},
|
|
3135
|
-
"
|
|
3055
|
+
"privacy": "private",
|
|
3056
|
+
"default": "null"
|
|
3136
3057
|
},
|
|
3137
3058
|
{
|
|
3138
3059
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
3060
|
+
"name": "speechAvailable",
|
|
3140
3061
|
"type": {
|
|
3141
3062
|
"text": "boolean"
|
|
3142
3063
|
},
|
|
@@ -3144,69 +3065,65 @@
|
|
|
3144
3065
|
},
|
|
3145
3066
|
{
|
|
3146
3067
|
"kind": "field",
|
|
3147
|
-
"name": "
|
|
3068
|
+
"name": "criteriaChips",
|
|
3148
3069
|
"type": {
|
|
3149
|
-
"text": "
|
|
3070
|
+
"text": "CriteriaChip[]"
|
|
3150
3071
|
},
|
|
3151
3072
|
"readonly": true
|
|
3152
3073
|
},
|
|
3153
3074
|
{
|
|
3154
3075
|
"kind": "method",
|
|
3155
|
-
"name": "
|
|
3076
|
+
"name": "getFieldLabel",
|
|
3077
|
+
"privacy": "private",
|
|
3156
3078
|
"return": {
|
|
3157
3079
|
"type": {
|
|
3158
|
-
"text": "
|
|
3080
|
+
"text": "string"
|
|
3159
3081
|
}
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
{
|
|
3163
|
-
"kind": "method",
|
|
3164
|
-
"name": "handleClickOutside",
|
|
3165
|
-
"privacy": "private",
|
|
3082
|
+
},
|
|
3166
3083
|
"parameters": [
|
|
3167
3084
|
{
|
|
3168
|
-
"name": "
|
|
3085
|
+
"name": "fieldName",
|
|
3169
3086
|
"type": {
|
|
3170
|
-
"text": "
|
|
3087
|
+
"text": "string"
|
|
3171
3088
|
}
|
|
3172
3089
|
}
|
|
3173
3090
|
]
|
|
3174
3091
|
},
|
|
3175
3092
|
{
|
|
3176
3093
|
"kind": "method",
|
|
3177
|
-
"name": "
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "method",
|
|
3181
|
-
"name": "refreshStatus",
|
|
3094
|
+
"name": "toggleCriteriaView",
|
|
3182
3095
|
"return": {
|
|
3183
3096
|
"type": {
|
|
3184
|
-
"text": "
|
|
3097
|
+
"text": "void"
|
|
3185
3098
|
}
|
|
3186
3099
|
}
|
|
3187
3100
|
},
|
|
3188
3101
|
{
|
|
3189
3102
|
"kind": "method",
|
|
3190
|
-
"name": "
|
|
3191
|
-
"privacy": "private",
|
|
3103
|
+
"name": "removeChip",
|
|
3192
3104
|
"return": {
|
|
3193
3105
|
"type": {
|
|
3194
|
-
"text": "
|
|
3106
|
+
"text": "void"
|
|
3195
3107
|
}
|
|
3196
3108
|
},
|
|
3197
3109
|
"parameters": [
|
|
3198
3110
|
{
|
|
3199
|
-
"name": "
|
|
3111
|
+
"name": "groupIndex",
|
|
3200
3112
|
"type": {
|
|
3201
|
-
"text": "
|
|
3113
|
+
"text": "number"
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "clauseIndex",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "number"
|
|
3202
3120
|
}
|
|
3203
3121
|
}
|
|
3204
3122
|
]
|
|
3205
3123
|
},
|
|
3206
3124
|
{
|
|
3207
3125
|
"kind": "method",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"privacy": "private",
|
|
3126
|
+
"name": "clearChips",
|
|
3210
3127
|
"return": {
|
|
3211
3128
|
"type": {
|
|
3212
3129
|
"text": "void"
|
|
@@ -3215,32 +3132,24 @@
|
|
|
3215
3132
|
},
|
|
3216
3133
|
{
|
|
3217
3134
|
"kind": "method",
|
|
3218
|
-
"name": "
|
|
3219
|
-
"privacy": "private",
|
|
3220
|
-
"return": {
|
|
3221
|
-
"type": {
|
|
3222
|
-
"text": "void"
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3135
|
+
"name": "handleSubmit"
|
|
3225
3136
|
},
|
|
3226
3137
|
{
|
|
3227
3138
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3229
|
-
"privacy": "private",
|
|
3230
|
-
"return": {
|
|
3231
|
-
"type": {
|
|
3232
|
-
"text": "void"
|
|
3233
|
-
}
|
|
3234
|
-
}
|
|
3139
|
+
"name": "handleBlur"
|
|
3235
3140
|
},
|
|
3236
3141
|
{
|
|
3237
3142
|
"kind": "method",
|
|
3238
|
-
"name": "
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3143
|
+
"name": "clear"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "method",
|
|
3147
|
+
"name": "toggleSpeechInput"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "method",
|
|
3151
|
+
"name": "clearSpeechApplyDebounce",
|
|
3152
|
+
"privacy": "private"
|
|
3244
3153
|
},
|
|
3245
3154
|
{
|
|
3246
3155
|
"kind": "field",
|
|
@@ -3354,141 +3263,259 @@
|
|
|
3354
3263
|
}
|
|
3355
3264
|
}
|
|
3356
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
|
+
],
|
|
3357
3292
|
"superclass": {
|
|
3358
3293
|
"name": "FoundationElement",
|
|
3359
3294
|
"package": "@microsoft/fast-foundation"
|
|
3360
3295
|
},
|
|
3361
|
-
"tagName": "%%prefix%%-ai-
|
|
3296
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3362
3297
|
"customElement": true
|
|
3363
3298
|
},
|
|
3364
|
-
{
|
|
3365
|
-
"kind": "variable",
|
|
3366
|
-
"name": "
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3299
|
+
{
|
|
3300
|
+
"kind": "variable",
|
|
3301
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "ShadowRootInit"
|
|
3304
|
+
},
|
|
3305
|
+
"default": "undefined"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "variable",
|
|
3309
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
+
"type": {
|
|
3311
|
+
"text": "object"
|
|
3312
|
+
},
|
|
3313
|
+
"default": "{}"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "variable",
|
|
3317
|
+
"name": "foundationAiCriteriaSearch"
|
|
3318
|
+
}
|
|
3319
|
+
],
|
|
3320
|
+
"exports": [
|
|
3321
|
+
{
|
|
3322
|
+
"kind": "js",
|
|
3323
|
+
"name": "AiCriteriaSearch",
|
|
3324
|
+
"declaration": {
|
|
3325
|
+
"name": "AiCriteriaSearch",
|
|
3326
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
{
|
|
3330
|
+
"kind": "js",
|
|
3331
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
+
"declaration": {
|
|
3333
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3370
3337
|
{
|
|
3371
3338
|
"kind": "js",
|
|
3372
|
-
"name": "
|
|
3339
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
3340
|
"declaration": {
|
|
3374
|
-
"name": "
|
|
3375
|
-
"module": "src/ai-
|
|
3341
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
3343
|
}
|
|
3377
3344
|
},
|
|
3378
3345
|
{
|
|
3379
3346
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3347
|
+
"name": "foundationAiCriteriaSearch",
|
|
3381
3348
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/ai-
|
|
3349
|
+
"name": "foundationAiCriteriaSearch",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3384
3351
|
}
|
|
3385
3352
|
}
|
|
3386
3353
|
]
|
|
3387
3354
|
},
|
|
3388
3355
|
{
|
|
3389
3356
|
"kind": "javascript-module",
|
|
3390
|
-
"path": "src/ai-
|
|
3357
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3391
3358
|
"declarations": [],
|
|
3392
3359
|
"exports": [
|
|
3393
3360
|
{
|
|
3394
3361
|
"kind": "js",
|
|
3395
|
-
"name": "
|
|
3362
|
+
"name": "AiCriteriaSearch",
|
|
3396
3363
|
"declaration": {
|
|
3397
|
-
"name": "
|
|
3398
|
-
"module": "./ai-
|
|
3364
|
+
"name": "AiCriteriaSearch",
|
|
3365
|
+
"module": "./ai-criteria-search"
|
|
3399
3366
|
}
|
|
3400
3367
|
},
|
|
3401
3368
|
{
|
|
3402
3369
|
"kind": "js",
|
|
3403
|
-
"name": "
|
|
3370
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3404
3371
|
"declaration": {
|
|
3405
|
-
"name": "
|
|
3406
|
-
"module": "./ai-
|
|
3372
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
+
"module": "./ai-criteria-search"
|
|
3407
3374
|
}
|
|
3408
3375
|
},
|
|
3409
3376
|
{
|
|
3410
3377
|
"kind": "js",
|
|
3411
|
-
"name": "
|
|
3378
|
+
"name": "foundationAiCriteriaSearch",
|
|
3412
3379
|
"declaration": {
|
|
3413
|
-
"name": "
|
|
3414
|
-
"module": "./ai-
|
|
3380
|
+
"name": "foundationAiCriteriaSearch",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3415
3382
|
}
|
|
3416
3383
|
},
|
|
3417
3384
|
{
|
|
3418
3385
|
"kind": "js",
|
|
3419
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3420
3387
|
"declaration": {
|
|
3421
|
-
"name": "
|
|
3422
|
-
"module": "./ai-
|
|
3388
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3423
3390
|
}
|
|
3424
3391
|
},
|
|
3425
3392
|
{
|
|
3426
3393
|
"kind": "js",
|
|
3427
|
-
"name": "
|
|
3394
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3428
3395
|
"declaration": {
|
|
3429
|
-
"name": "
|
|
3430
|
-
"module": "./ai-
|
|
3396
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3397
|
+
"module": "./ai-criteria-search.styles"
|
|
3431
3398
|
}
|
|
3432
3399
|
},
|
|
3433
3400
|
{
|
|
3434
3401
|
"kind": "js",
|
|
3435
|
-
"name": "
|
|
3402
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3436
3403
|
"declaration": {
|
|
3437
|
-
"name": "
|
|
3438
|
-
"module": "./ai-
|
|
3404
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3405
|
+
"module": "./ai-criteria-search.template"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "js",
|
|
3410
|
+
"name": "*",
|
|
3411
|
+
"declaration": {
|
|
3412
|
+
"name": "*",
|
|
3413
|
+
"package": "./validation/criteria-ir"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "js",
|
|
3418
|
+
"name": "*",
|
|
3419
|
+
"declaration": {
|
|
3420
|
+
"name": "*",
|
|
3421
|
+
"package": "./validation/operator-map"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"kind": "js",
|
|
3426
|
+
"name": "*",
|
|
3427
|
+
"declaration": {
|
|
3428
|
+
"name": "*",
|
|
3429
|
+
"package": "./validation/schema-validator"
|
|
3439
3430
|
}
|
|
3440
3431
|
}
|
|
3441
3432
|
]
|
|
3442
3433
|
},
|
|
3443
3434
|
{
|
|
3444
3435
|
"kind": "javascript-module",
|
|
3445
|
-
"path": "src/
|
|
3436
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3446
3437
|
"declarations": [
|
|
3447
3438
|
{
|
|
3448
3439
|
"kind": "function",
|
|
3449
|
-
"name": "
|
|
3440
|
+
"name": "formatValidationErrors",
|
|
3450
3441
|
"return": {
|
|
3451
3442
|
"type": {
|
|
3452
|
-
"text": "
|
|
3443
|
+
"text": "string"
|
|
3453
3444
|
}
|
|
3454
3445
|
},
|
|
3455
3446
|
"parameters": [
|
|
3456
3447
|
{
|
|
3457
|
-
"name": "
|
|
3448
|
+
"name": "errors",
|
|
3458
3449
|
"type": {
|
|
3459
|
-
"text": "
|
|
3450
|
+
"text": "ValidationError[]"
|
|
3460
3451
|
}
|
|
3452
|
+
}
|
|
3453
|
+
],
|
|
3454
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
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\")"
|
|
3461
3471
|
},
|
|
3462
3472
|
{
|
|
3463
|
-
"name": "
|
|
3473
|
+
"name": "body",
|
|
3464
3474
|
"type": {
|
|
3465
|
-
"text": "
|
|
3466
|
-
}
|
|
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\")"
|
|
3467
3485
|
}
|
|
3468
|
-
]
|
|
3486
|
+
],
|
|
3487
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3469
3488
|
}
|
|
3470
3489
|
],
|
|
3471
3490
|
"exports": [
|
|
3472
3491
|
{
|
|
3473
3492
|
"kind": "js",
|
|
3474
|
-
"name": "
|
|
3493
|
+
"name": "formatValidationErrors",
|
|
3475
3494
|
"declaration": {
|
|
3476
|
-
"name": "
|
|
3477
|
-
"module": "src/
|
|
3495
|
+
"name": "formatValidationErrors",
|
|
3496
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "showCriteriaError",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "showCriteriaError",
|
|
3504
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3478
3505
|
}
|
|
3479
3506
|
}
|
|
3480
3507
|
]
|
|
3481
3508
|
},
|
|
3482
3509
|
{
|
|
3483
3510
|
"kind": "javascript-module",
|
|
3484
|
-
"path": "src/
|
|
3511
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3485
3512
|
"declarations": [
|
|
3486
3513
|
{
|
|
3487
3514
|
"kind": "function",
|
|
3488
|
-
"name": "
|
|
3515
|
+
"name": "foundationAiIndicatorStyles",
|
|
3489
3516
|
"return": {
|
|
3490
3517
|
"type": {
|
|
3491
|
-
"text": "
|
|
3518
|
+
"text": "ElementStyles"
|
|
3492
3519
|
}
|
|
3493
3520
|
},
|
|
3494
3521
|
"parameters": [
|
|
@@ -3510,237 +3537,224 @@
|
|
|
3510
3537
|
"exports": [
|
|
3511
3538
|
{
|
|
3512
3539
|
"kind": "js",
|
|
3513
|
-
"name": "
|
|
3540
|
+
"name": "foundationAiIndicatorStyles",
|
|
3514
3541
|
"declaration": {
|
|
3515
|
-
"name": "
|
|
3516
|
-
"module": "src/
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3543
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3517
3544
|
}
|
|
3518
3545
|
}
|
|
3519
3546
|
]
|
|
3520
3547
|
},
|
|
3521
3548
|
{
|
|
3522
3549
|
"kind": "javascript-module",
|
|
3523
|
-
"path": "src/
|
|
3550
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3551
|
+
"declarations": [
|
|
3552
|
+
{
|
|
3553
|
+
"kind": "variable",
|
|
3554
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3555
|
+
"type": {
|
|
3556
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3557
|
+
},
|
|
3558
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"exports": [
|
|
3562
|
+
{
|
|
3563
|
+
"kind": "js",
|
|
3564
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3565
|
+
"declaration": {
|
|
3566
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3567
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
]
|
|
3571
|
+
},
|
|
3572
|
+
{
|
|
3573
|
+
"kind": "javascript-module",
|
|
3574
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3524
3575
|
"declarations": [
|
|
3525
3576
|
{
|
|
3526
3577
|
"kind": "class",
|
|
3527
3578
|
"description": "",
|
|
3528
|
-
"name": "
|
|
3529
|
-
"
|
|
3530
|
-
"name": "FASTAccordion",
|
|
3531
|
-
"package": "@microsoft/fast-foundation"
|
|
3532
|
-
},
|
|
3533
|
-
"tagName": "%%prefix%%-accordion",
|
|
3534
|
-
"customElement": true,
|
|
3535
|
-
"attributes": [
|
|
3579
|
+
"name": "AiIndicator",
|
|
3580
|
+
"members": [
|
|
3536
3581
|
{
|
|
3537
|
-
"
|
|
3582
|
+
"kind": "field",
|
|
3583
|
+
"name": "providerRegistry",
|
|
3538
3584
|
"type": {
|
|
3539
|
-
"text": "
|
|
3540
|
-
},
|
|
3541
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3542
|
-
"fieldName": "expandmode",
|
|
3543
|
-
"inheritedFrom": {
|
|
3544
|
-
"name": "Accordion",
|
|
3545
|
-
"module": "src/accordion/accordion.ts"
|
|
3585
|
+
"text": "AIProviderRegistry"
|
|
3546
3586
|
}
|
|
3547
|
-
}
|
|
3548
|
-
],
|
|
3549
|
-
"members": [
|
|
3587
|
+
},
|
|
3550
3588
|
{
|
|
3551
3589
|
"kind": "field",
|
|
3552
|
-
"name": "
|
|
3590
|
+
"name": "aiProvider",
|
|
3553
3591
|
"type": {
|
|
3554
|
-
"text": "
|
|
3592
|
+
"text": "AIProvider | undefined"
|
|
3555
3593
|
},
|
|
3556
|
-
"privacy": "
|
|
3557
|
-
"description": "
|
|
3558
|
-
"
|
|
3559
|
-
"name": "Accordion",
|
|
3560
|
-
"module": "src/accordion/accordion.ts"
|
|
3561
|
-
}
|
|
3594
|
+
"privacy": "private",
|
|
3595
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3596
|
+
"readonly": true
|
|
3562
3597
|
},
|
|
3563
3598
|
{
|
|
3564
3599
|
"kind": "field",
|
|
3565
|
-
"name": "
|
|
3600
|
+
"name": "status",
|
|
3566
3601
|
"type": {
|
|
3567
|
-
"text": "
|
|
3602
|
+
"text": "AIStatus | null"
|
|
3568
3603
|
},
|
|
3569
|
-
"
|
|
3570
|
-
"inheritedFrom": {
|
|
3571
|
-
"name": "Accordion",
|
|
3572
|
-
"module": "src/accordion/accordion.ts"
|
|
3573
|
-
}
|
|
3604
|
+
"default": "null"
|
|
3574
3605
|
},
|
|
3575
3606
|
{
|
|
3576
3607
|
"kind": "field",
|
|
3577
|
-
"name": "
|
|
3608
|
+
"name": "open",
|
|
3578
3609
|
"type": {
|
|
3579
|
-
"text": "
|
|
3610
|
+
"text": "boolean"
|
|
3580
3611
|
},
|
|
3581
|
-
"
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3612
|
+
"default": "false"
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"kind": "field",
|
|
3616
|
+
"name": "state",
|
|
3617
|
+
"type": {
|
|
3618
|
+
"text": "AIIndicatorState"
|
|
3619
|
+
},
|
|
3620
|
+
"default": "'none'"
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"kind": "field",
|
|
3624
|
+
"name": "isInstalling",
|
|
3625
|
+
"type": {
|
|
3626
|
+
"text": "boolean"
|
|
3627
|
+
},
|
|
3628
|
+
"default": "false"
|
|
3587
3629
|
},
|
|
3588
3630
|
{
|
|
3589
3631
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3632
|
+
"name": "pollTimer",
|
|
3591
3633
|
"type": {
|
|
3592
|
-
"text": "
|
|
3634
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3593
3635
|
},
|
|
3594
3636
|
"privacy": "private",
|
|
3595
|
-
"
|
|
3596
|
-
"name": "Accordion",
|
|
3597
|
-
"module": "src/accordion/accordion.ts"
|
|
3598
|
-
}
|
|
3637
|
+
"default": "null"
|
|
3599
3638
|
},
|
|
3600
3639
|
{
|
|
3601
3640
|
"kind": "field",
|
|
3602
|
-
"name": "
|
|
3603
|
-
"privacy": "private"
|
|
3604
|
-
"inheritedFrom": {
|
|
3605
|
-
"name": "Accordion",
|
|
3606
|
-
"module": "src/accordion/accordion.ts"
|
|
3607
|
-
}
|
|
3641
|
+
"name": "clickOutside",
|
|
3642
|
+
"privacy": "private"
|
|
3608
3643
|
},
|
|
3609
3644
|
{
|
|
3610
|
-
"kind": "
|
|
3611
|
-
"name": "
|
|
3612
|
-
"
|
|
3613
|
-
|
|
3614
|
-
"type": {
|
|
3615
|
-
"text": "AccordionItem | null"
|
|
3616
|
-
}
|
|
3645
|
+
"kind": "field",
|
|
3646
|
+
"name": "chromeStatusLabel",
|
|
3647
|
+
"type": {
|
|
3648
|
+
"text": "string | null"
|
|
3617
3649
|
},
|
|
3618
|
-
"
|
|
3619
|
-
"name": "Accordion",
|
|
3620
|
-
"module": "src/accordion/accordion.ts"
|
|
3621
|
-
}
|
|
3650
|
+
"readonly": true
|
|
3622
3651
|
},
|
|
3623
3652
|
{
|
|
3624
3653
|
"kind": "field",
|
|
3625
|
-
"name": "
|
|
3626
|
-
"
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3654
|
+
"name": "canInstall",
|
|
3655
|
+
"type": {
|
|
3656
|
+
"text": "boolean"
|
|
3657
|
+
},
|
|
3658
|
+
"readonly": true
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"kind": "field",
|
|
3662
|
+
"name": "isDownloading",
|
|
3663
|
+
"type": {
|
|
3664
|
+
"text": "boolean"
|
|
3665
|
+
},
|
|
3666
|
+
"readonly": true
|
|
3631
3667
|
},
|
|
3632
3668
|
{
|
|
3633
3669
|
"kind": "method",
|
|
3634
|
-
"name": "
|
|
3635
|
-
"privacy": "private",
|
|
3670
|
+
"name": "openChanged",
|
|
3636
3671
|
"return": {
|
|
3637
3672
|
"type": {
|
|
3638
3673
|
"text": "void"
|
|
3639
3674
|
}
|
|
3640
|
-
},
|
|
3641
|
-
"inheritedFrom": {
|
|
3642
|
-
"name": "Accordion",
|
|
3643
|
-
"module": "src/accordion/accordion.ts"
|
|
3644
3675
|
}
|
|
3645
3676
|
},
|
|
3646
3677
|
{
|
|
3647
|
-
"kind": "
|
|
3648
|
-
"name": "
|
|
3678
|
+
"kind": "method",
|
|
3679
|
+
"name": "handleClickOutside",
|
|
3649
3680
|
"privacy": "private",
|
|
3650
|
-
"
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3681
|
+
"parameters": [
|
|
3682
|
+
{
|
|
3683
|
+
"name": "event",
|
|
3684
|
+
"type": {
|
|
3685
|
+
"text": "MouseEvent"
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
]
|
|
3654
3689
|
},
|
|
3655
3690
|
{
|
|
3656
|
-
"kind": "
|
|
3657
|
-
"name": "
|
|
3658
|
-
"privacy": "private",
|
|
3659
|
-
"inheritedFrom": {
|
|
3660
|
-
"name": "Accordion",
|
|
3661
|
-
"module": "src/accordion/accordion.ts"
|
|
3662
|
-
}
|
|
3691
|
+
"kind": "method",
|
|
3692
|
+
"name": "toggleDropdown"
|
|
3663
3693
|
},
|
|
3664
3694
|
{
|
|
3665
3695
|
"kind": "method",
|
|
3666
|
-
"name": "
|
|
3667
|
-
"privacy": "private",
|
|
3696
|
+
"name": "refreshStatus",
|
|
3668
3697
|
"return": {
|
|
3669
3698
|
"type": {
|
|
3670
|
-
"text": "
|
|
3699
|
+
"text": "Promise<void>"
|
|
3671
3700
|
}
|
|
3672
|
-
},
|
|
3673
|
-
"inheritedFrom": {
|
|
3674
|
-
"name": "Accordion",
|
|
3675
|
-
"module": "src/accordion/accordion.ts"
|
|
3676
3701
|
}
|
|
3677
3702
|
},
|
|
3678
3703
|
{
|
|
3679
3704
|
"kind": "method",
|
|
3680
|
-
"name": "
|
|
3705
|
+
"name": "deriveState",
|
|
3681
3706
|
"privacy": "private",
|
|
3682
3707
|
"return": {
|
|
3683
3708
|
"type": {
|
|
3684
|
-
"text": "
|
|
3709
|
+
"text": "AIIndicatorState"
|
|
3685
3710
|
}
|
|
3686
3711
|
},
|
|
3687
|
-
"
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3712
|
+
"parameters": [
|
|
3713
|
+
{
|
|
3714
|
+
"name": "s",
|
|
3715
|
+
"type": {
|
|
3716
|
+
"text": "AIStatus | null"
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
]
|
|
3691
3720
|
},
|
|
3692
3721
|
{
|
|
3693
|
-
"kind": "
|
|
3694
|
-
"name": "
|
|
3722
|
+
"kind": "method",
|
|
3723
|
+
"name": "maybeStartPolling",
|
|
3695
3724
|
"privacy": "private",
|
|
3696
|
-
"
|
|
3697
|
-
"
|
|
3698
|
-
|
|
3725
|
+
"return": {
|
|
3726
|
+
"type": {
|
|
3727
|
+
"text": "void"
|
|
3728
|
+
}
|
|
3699
3729
|
}
|
|
3700
3730
|
},
|
|
3701
3731
|
{
|
|
3702
|
-
"kind": "
|
|
3703
|
-
"name": "
|
|
3732
|
+
"kind": "method",
|
|
3733
|
+
"name": "startPolling",
|
|
3704
3734
|
"privacy": "private",
|
|
3705
|
-
"
|
|
3706
|
-
"
|
|
3707
|
-
|
|
3735
|
+
"return": {
|
|
3736
|
+
"type": {
|
|
3737
|
+
"text": "void"
|
|
3738
|
+
}
|
|
3708
3739
|
}
|
|
3709
3740
|
},
|
|
3710
3741
|
{
|
|
3711
3742
|
"kind": "method",
|
|
3712
|
-
"name": "
|
|
3743
|
+
"name": "stopPolling",
|
|
3713
3744
|
"privacy": "private",
|
|
3714
3745
|
"return": {
|
|
3715
3746
|
"type": {
|
|
3716
3747
|
"text": "void"
|
|
3717
3748
|
}
|
|
3718
|
-
},
|
|
3719
|
-
"parameters": [
|
|
3720
|
-
{
|
|
3721
|
-
"name": "adjustment",
|
|
3722
|
-
"type": {
|
|
3723
|
-
"text": "number"
|
|
3724
|
-
}
|
|
3725
|
-
}
|
|
3726
|
-
],
|
|
3727
|
-
"inheritedFrom": {
|
|
3728
|
-
"name": "Accordion",
|
|
3729
|
-
"module": "src/accordion/accordion.ts"
|
|
3730
3749
|
}
|
|
3731
3750
|
},
|
|
3732
3751
|
{
|
|
3733
3752
|
"kind": "method",
|
|
3734
|
-
"name": "
|
|
3735
|
-
"privacy": "private",
|
|
3753
|
+
"name": "onInstall",
|
|
3736
3754
|
"return": {
|
|
3737
3755
|
"type": {
|
|
3738
|
-
"text": "void"
|
|
3756
|
+
"text": "Promise<void>"
|
|
3739
3757
|
}
|
|
3740
|
-
},
|
|
3741
|
-
"inheritedFrom": {
|
|
3742
|
-
"name": "Accordion",
|
|
3743
|
-
"module": "src/accordion/accordion.ts"
|
|
3744
3758
|
}
|
|
3745
3759
|
},
|
|
3746
3760
|
{
|
|
@@ -3855,102 +3869,88 @@
|
|
|
3855
3869
|
}
|
|
3856
3870
|
}
|
|
3857
3871
|
],
|
|
3858
|
-
"
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
"name": "change",
|
|
3862
|
-
"inheritedFrom": {
|
|
3863
|
-
"name": "Accordion",
|
|
3864
|
-
"module": "src/accordion/accordion.ts"
|
|
3865
|
-
}
|
|
3866
|
-
}
|
|
3867
|
-
]
|
|
3868
|
-
},
|
|
3869
|
-
{
|
|
3870
|
-
"kind": "variable",
|
|
3871
|
-
"name": "foundationAccordionShadowOptions",
|
|
3872
|
-
"type": {
|
|
3873
|
-
"text": "ShadowRootInit"
|
|
3874
|
-
},
|
|
3875
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3876
|
-
},
|
|
3877
|
-
{
|
|
3878
|
-
"kind": "variable",
|
|
3879
|
-
"name": "defaultAccordionConfig",
|
|
3880
|
-
"type": {
|
|
3881
|
-
"text": "object"
|
|
3872
|
+
"superclass": {
|
|
3873
|
+
"name": "FoundationElement",
|
|
3874
|
+
"package": "@microsoft/fast-foundation"
|
|
3882
3875
|
},
|
|
3883
|
-
"
|
|
3876
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3877
|
+
"customElement": true
|
|
3884
3878
|
},
|
|
3885
3879
|
{
|
|
3886
3880
|
"kind": "variable",
|
|
3887
|
-
"name": "
|
|
3888
|
-
"description": "The Foundation Accordion",
|
|
3889
|
-
"privacy": "public"
|
|
3881
|
+
"name": "foundationAiIndicator"
|
|
3890
3882
|
}
|
|
3891
3883
|
],
|
|
3892
3884
|
"exports": [
|
|
3893
3885
|
{
|
|
3894
3886
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3887
|
+
"name": "AiIndicator",
|
|
3896
3888
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
3889
|
+
"name": "AiIndicator",
|
|
3890
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3899
3891
|
}
|
|
3900
3892
|
},
|
|
3901
3893
|
{
|
|
3902
3894
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
3895
|
+
"name": "foundationAiIndicator",
|
|
3904
3896
|
"declaration": {
|
|
3905
|
-
"name": "
|
|
3906
|
-
"module": "src/
|
|
3897
|
+
"name": "foundationAiIndicator",
|
|
3898
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3899
|
+
}
|
|
3900
|
+
}
|
|
3901
|
+
]
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"kind": "javascript-module",
|
|
3905
|
+
"path": "src/ai-indicator/index.ts",
|
|
3906
|
+
"declarations": [],
|
|
3907
|
+
"exports": [
|
|
3908
|
+
{
|
|
3909
|
+
"kind": "js",
|
|
3910
|
+
"name": "AiIndicator",
|
|
3911
|
+
"declaration": {
|
|
3912
|
+
"name": "AiIndicator",
|
|
3913
|
+
"module": "./ai-indicator"
|
|
3907
3914
|
}
|
|
3908
3915
|
},
|
|
3909
3916
|
{
|
|
3910
3917
|
"kind": "js",
|
|
3911
|
-
"name": "
|
|
3918
|
+
"name": "foundationAiIndicator",
|
|
3912
3919
|
"declaration": {
|
|
3913
|
-
"name": "
|
|
3914
|
-
"module": "
|
|
3920
|
+
"name": "foundationAiIndicator",
|
|
3921
|
+
"module": "./ai-indicator"
|
|
3915
3922
|
}
|
|
3916
3923
|
},
|
|
3917
3924
|
{
|
|
3918
3925
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3926
|
+
"name": "type",
|
|
3920
3927
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "
|
|
3928
|
+
"name": "type",
|
|
3929
|
+
"module": "./ai-indicator"
|
|
3923
3930
|
}
|
|
3924
|
-
}
|
|
3925
|
-
]
|
|
3926
|
-
},
|
|
3927
|
-
{
|
|
3928
|
-
"kind": "javascript-module",
|
|
3929
|
-
"path": "src/accordion/index.ts",
|
|
3930
|
-
"declarations": [],
|
|
3931
|
-
"exports": [
|
|
3931
|
+
},
|
|
3932
3932
|
{
|
|
3933
3933
|
"kind": "js",
|
|
3934
|
-
"name": "
|
|
3934
|
+
"name": "AIIndicatorState",
|
|
3935
3935
|
"declaration": {
|
|
3936
|
-
"name": "
|
|
3937
|
-
"
|
|
3936
|
+
"name": "AIIndicatorState",
|
|
3937
|
+
"module": "./ai-indicator"
|
|
3938
3938
|
}
|
|
3939
3939
|
},
|
|
3940
3940
|
{
|
|
3941
3941
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3942
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3943
3943
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3944
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3945
|
+
"module": "./ai-indicator.template"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "foundationAiIndicatorStyles",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3952
|
+
"name": "foundationAiIndicatorStyles",
|
|
3953
|
+
"module": "./ai-indicator.styles"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|