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