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