@genesislcap/foundation-ui 15.7.3-alpha-e7d4aa5.0 → 15.8.1-PTC-0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1125 -1063
- package/dist/dts/icon/icon.d.ts +14 -0
- package/dist/dts/icon/icon.d.ts.map +1 -1
- package/dist/dts/icon/icon.styles.d.ts +15 -0
- package/dist/dts/icon/icon.styles.d.ts.map +1 -1
- package/dist/dts/icon/icon.template.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/esm/icon/icon.js +76 -1
- package/dist/esm/icon/icon.styles.js +30 -13
- package/dist/esm/icon/icon.template.js +1 -8
- package/dist/foundation-ui.api.json +85 -0
- package/dist/foundation-ui.d.ts +31 -0
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1424,42 +1424,11 @@
|
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
1426
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
1428
|
-
"declarations": [],
|
|
1429
|
-
"exports": [
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "js",
|
|
1432
|
-
"name": "*",
|
|
1433
|
-
"declaration": {
|
|
1434
|
-
"name": "*",
|
|
1435
|
-
"package": "./styles"
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"kind": "js",
|
|
1440
|
-
"name": "*",
|
|
1441
|
-
"declaration": {
|
|
1442
|
-
"name": "*",
|
|
1443
|
-
"package": "./tokens"
|
|
1444
|
-
}
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"kind": "js",
|
|
1448
|
-
"name": "*",
|
|
1449
|
-
"declaration": {
|
|
1450
|
-
"name": "*",
|
|
1451
|
-
"package": "./values"
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
]
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"kind": "javascript-module",
|
|
1458
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1427
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1459
1428
|
"declarations": [
|
|
1460
1429
|
{
|
|
1461
1430
|
"kind": "function",
|
|
1462
|
-
"name": "
|
|
1431
|
+
"name": "foundationAccordionStyles",
|
|
1463
1432
|
"return": {
|
|
1464
1433
|
"type": {
|
|
1465
1434
|
"text": "ElementStyles"
|
|
@@ -1484,24 +1453,24 @@
|
|
|
1484
1453
|
"exports": [
|
|
1485
1454
|
{
|
|
1486
1455
|
"kind": "js",
|
|
1487
|
-
"name": "
|
|
1456
|
+
"name": "foundationAccordionStyles",
|
|
1488
1457
|
"declaration": {
|
|
1489
|
-
"name": "
|
|
1490
|
-
"module": "src/accordion
|
|
1458
|
+
"name": "foundationAccordionStyles",
|
|
1459
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1491
1460
|
}
|
|
1492
1461
|
}
|
|
1493
1462
|
]
|
|
1494
1463
|
},
|
|
1495
1464
|
{
|
|
1496
1465
|
"kind": "javascript-module",
|
|
1497
|
-
"path": "src/accordion
|
|
1466
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1498
1467
|
"declarations": [
|
|
1499
1468
|
{
|
|
1500
1469
|
"kind": "function",
|
|
1501
|
-
"name": "
|
|
1470
|
+
"name": "foundationAccordionTemplate",
|
|
1502
1471
|
"return": {
|
|
1503
1472
|
"type": {
|
|
1504
|
-
"text": "ViewTemplate<
|
|
1473
|
+
"text": "ViewTemplate<Accordion>"
|
|
1505
1474
|
}
|
|
1506
1475
|
},
|
|
1507
1476
|
"parameters": [
|
|
@@ -1523,244 +1492,365 @@
|
|
|
1523
1492
|
"exports": [
|
|
1524
1493
|
{
|
|
1525
1494
|
"kind": "js",
|
|
1526
|
-
"name": "
|
|
1495
|
+
"name": "foundationAccordionTemplate",
|
|
1527
1496
|
"declaration": {
|
|
1528
|
-
"name": "
|
|
1529
|
-
"module": "src/accordion
|
|
1497
|
+
"name": "foundationAccordionTemplate",
|
|
1498
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1530
1499
|
}
|
|
1531
1500
|
}
|
|
1532
1501
|
]
|
|
1533
1502
|
},
|
|
1534
1503
|
{
|
|
1535
1504
|
"kind": "javascript-module",
|
|
1536
|
-
"path": "src/accordion
|
|
1505
|
+
"path": "src/accordion/accordion.ts",
|
|
1537
1506
|
"declarations": [
|
|
1538
1507
|
{
|
|
1539
1508
|
"kind": "class",
|
|
1540
1509
|
"description": "",
|
|
1541
|
-
"name": "
|
|
1510
|
+
"name": "Accordion",
|
|
1542
1511
|
"superclass": {
|
|
1543
|
-
"name": "
|
|
1544
|
-
"package": "@microsoft/fast-
|
|
1512
|
+
"name": "FASTAccordion",
|
|
1513
|
+
"package": "@microsoft/fast-foundation"
|
|
1545
1514
|
},
|
|
1546
|
-
"tagName": "%%prefix%%-accordion
|
|
1515
|
+
"tagName": "%%prefix%%-accordion",
|
|
1547
1516
|
"customElement": true,
|
|
1548
1517
|
"attributes": [
|
|
1549
1518
|
{
|
|
1550
|
-
"name": "
|
|
1551
|
-
"type": {
|
|
1552
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1553
|
-
},
|
|
1554
|
-
"default": "2",
|
|
1555
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1556
|
-
"fieldName": "headinglevel",
|
|
1557
|
-
"inheritedFrom": {
|
|
1558
|
-
"name": "AccordionItem",
|
|
1559
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"type": {
|
|
1564
|
-
"text": "boolean"
|
|
1565
|
-
},
|
|
1566
|
-
"default": "false",
|
|
1567
|
-
"description": "Expands or collapses the item.",
|
|
1568
|
-
"fieldName": "expanded",
|
|
1569
|
-
"inheritedFrom": {
|
|
1570
|
-
"name": "AccordionItem",
|
|
1571
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1572
|
-
}
|
|
1573
|
-
},
|
|
1574
|
-
{
|
|
1575
|
-
"name": "id",
|
|
1519
|
+
"name": "expand-mode",
|
|
1576
1520
|
"type": {
|
|
1577
|
-
"text": "
|
|
1521
|
+
"text": "AccordionExpandMode"
|
|
1578
1522
|
},
|
|
1579
|
-
"description": "
|
|
1580
|
-
"fieldName": "
|
|
1523
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1524
|
+
"fieldName": "expandmode",
|
|
1581
1525
|
"inheritedFrom": {
|
|
1582
|
-
"name": "
|
|
1583
|
-
"module": "src/accordion
|
|
1526
|
+
"name": "Accordion",
|
|
1527
|
+
"module": "src/accordion/accordion.ts"
|
|
1584
1528
|
}
|
|
1585
1529
|
}
|
|
1586
1530
|
],
|
|
1587
1531
|
"members": [
|
|
1588
1532
|
{
|
|
1589
1533
|
"kind": "field",
|
|
1590
|
-
"name": "
|
|
1534
|
+
"name": "expandmode",
|
|
1591
1535
|
"type": {
|
|
1592
|
-
"text": "
|
|
1536
|
+
"text": "AccordionExpandMode"
|
|
1593
1537
|
},
|
|
1594
1538
|
"privacy": "public",
|
|
1595
|
-
"
|
|
1596
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1539
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1597
1540
|
"inheritedFrom": {
|
|
1598
|
-
"name": "
|
|
1599
|
-
"module": "src/accordion
|
|
1541
|
+
"name": "Accordion",
|
|
1542
|
+
"module": "src/accordion/accordion.ts"
|
|
1600
1543
|
}
|
|
1601
1544
|
},
|
|
1602
1545
|
{
|
|
1603
1546
|
"kind": "field",
|
|
1604
|
-
"name": "
|
|
1547
|
+
"name": "activeid",
|
|
1605
1548
|
"type": {
|
|
1606
|
-
"text": "
|
|
1549
|
+
"text": "string | null"
|
|
1607
1550
|
},
|
|
1608
|
-
"privacy": "
|
|
1609
|
-
"default": "false",
|
|
1610
|
-
"description": "Expands or collapses the item.",
|
|
1551
|
+
"privacy": "private",
|
|
1611
1552
|
"inheritedFrom": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/accordion
|
|
1553
|
+
"name": "Accordion",
|
|
1554
|
+
"module": "src/accordion/accordion.ts"
|
|
1614
1555
|
}
|
|
1615
1556
|
},
|
|
1616
1557
|
{
|
|
1617
1558
|
"kind": "field",
|
|
1618
|
-
"name": "
|
|
1559
|
+
"name": "activeItemIndex",
|
|
1619
1560
|
"type": {
|
|
1620
|
-
"text": "
|
|
1561
|
+
"text": "number"
|
|
1621
1562
|
},
|
|
1622
|
-
"privacy": "
|
|
1623
|
-
"
|
|
1563
|
+
"privacy": "private",
|
|
1564
|
+
"default": "0",
|
|
1624
1565
|
"inheritedFrom": {
|
|
1625
|
-
"name": "
|
|
1626
|
-
"module": "src/accordion
|
|
1566
|
+
"name": "Accordion",
|
|
1567
|
+
"module": "src/accordion/accordion.ts"
|
|
1627
1568
|
}
|
|
1628
1569
|
},
|
|
1629
1570
|
{
|
|
1630
1571
|
"kind": "field",
|
|
1631
|
-
"name": "
|
|
1572
|
+
"name": "accordionIds",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"text": "Array<string | null>"
|
|
1575
|
+
},
|
|
1632
1576
|
"privacy": "private",
|
|
1633
1577
|
"inheritedFrom": {
|
|
1634
|
-
"name": "
|
|
1635
|
-
"module": "src/accordion
|
|
1578
|
+
"name": "Accordion",
|
|
1579
|
+
"module": "src/accordion/accordion.ts"
|
|
1636
1580
|
}
|
|
1637
1581
|
},
|
|
1638
1582
|
{
|
|
1639
1583
|
"kind": "field",
|
|
1640
|
-
"name": "
|
|
1641
|
-
"type": {
|
|
1642
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1643
|
-
},
|
|
1584
|
+
"name": "change",
|
|
1644
1585
|
"privacy": "private",
|
|
1645
|
-
"default": "void 0",
|
|
1646
1586
|
"inheritedFrom": {
|
|
1647
|
-
"name": "
|
|
1648
|
-
"module": "src/
|
|
1587
|
+
"name": "Accordion",
|
|
1588
|
+
"module": "src/accordion/accordion.ts"
|
|
1649
1589
|
}
|
|
1650
1590
|
},
|
|
1651
1591
|
{
|
|
1652
|
-
"kind": "
|
|
1653
|
-
"name": "
|
|
1654
|
-
"
|
|
1655
|
-
|
|
1592
|
+
"kind": "method",
|
|
1593
|
+
"name": "findExpandedItem",
|
|
1594
|
+
"privacy": "private",
|
|
1595
|
+
"return": {
|
|
1596
|
+
"type": {
|
|
1597
|
+
"text": "AccordionItem | null"
|
|
1598
|
+
}
|
|
1656
1599
|
},
|
|
1657
|
-
"privacy": "public",
|
|
1658
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1659
1600
|
"inheritedFrom": {
|
|
1660
|
-
"name": "
|
|
1661
|
-
"module": "src/
|
|
1601
|
+
"name": "Accordion",
|
|
1602
|
+
"module": "src/accordion/accordion.ts"
|
|
1662
1603
|
}
|
|
1663
1604
|
},
|
|
1664
1605
|
{
|
|
1665
1606
|
"kind": "field",
|
|
1666
|
-
"name": "
|
|
1667
|
-
"
|
|
1668
|
-
"text": "ElementViewTemplate | void | null"
|
|
1669
|
-
},
|
|
1670
|
-
"privacy": "public",
|
|
1671
|
-
"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.",
|
|
1607
|
+
"name": "setItems",
|
|
1608
|
+
"privacy": "private",
|
|
1672
1609
|
"inheritedFrom": {
|
|
1673
|
-
"name": "
|
|
1674
|
-
"module": "src/
|
|
1610
|
+
"name": "Accordion",
|
|
1611
|
+
"module": "src/accordion/accordion.ts"
|
|
1675
1612
|
}
|
|
1676
1613
|
},
|
|
1677
1614
|
{
|
|
1678
1615
|
"kind": "method",
|
|
1679
|
-
"name": "
|
|
1680
|
-
"privacy": "
|
|
1616
|
+
"name": "resetItems",
|
|
1617
|
+
"privacy": "private",
|
|
1681
1618
|
"return": {
|
|
1682
1619
|
"type": {
|
|
1683
1620
|
"text": "void"
|
|
1684
1621
|
}
|
|
1685
1622
|
},
|
|
1686
1623
|
"inheritedFrom": {
|
|
1687
|
-
"name": "
|
|
1688
|
-
"module": "src/
|
|
1624
|
+
"name": "Accordion",
|
|
1625
|
+
"module": "src/accordion/accordion.ts"
|
|
1689
1626
|
}
|
|
1690
1627
|
},
|
|
1691
1628
|
{
|
|
1692
1629
|
"kind": "field",
|
|
1693
|
-
"name": "
|
|
1694
|
-
"
|
|
1695
|
-
"text": "ElementStyles | void | null"
|
|
1696
|
-
},
|
|
1697
|
-
"privacy": "public",
|
|
1698
|
-
"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.",
|
|
1630
|
+
"name": "removeItemListeners",
|
|
1631
|
+
"privacy": "private",
|
|
1699
1632
|
"inheritedFrom": {
|
|
1700
|
-
"name": "
|
|
1701
|
-
"module": "src/
|
|
1633
|
+
"name": "Accordion",
|
|
1634
|
+
"module": "src/accordion/accordion.ts"
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"kind": "field",
|
|
1639
|
+
"name": "activeItemChange",
|
|
1640
|
+
"privacy": "private",
|
|
1641
|
+
"inheritedFrom": {
|
|
1642
|
+
"name": "Accordion",
|
|
1643
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
1644
|
}
|
|
1703
1645
|
},
|
|
1704
1646
|
{
|
|
1705
1647
|
"kind": "method",
|
|
1706
|
-
"name": "
|
|
1707
|
-
"privacy": "
|
|
1648
|
+
"name": "getItemIds",
|
|
1649
|
+
"privacy": "private",
|
|
1708
1650
|
"return": {
|
|
1709
1651
|
"type": {
|
|
1710
|
-
"text": "
|
|
1652
|
+
"text": "Array<string | null>"
|
|
1711
1653
|
}
|
|
1712
1654
|
},
|
|
1713
1655
|
"inheritedFrom": {
|
|
1714
|
-
"name": "
|
|
1715
|
-
"module": "src/
|
|
1656
|
+
"name": "Accordion",
|
|
1657
|
+
"module": "src/accordion/accordion.ts"
|
|
1716
1658
|
}
|
|
1717
1659
|
},
|
|
1718
1660
|
{
|
|
1719
1661
|
"kind": "method",
|
|
1720
|
-
"name": "
|
|
1721
|
-
"privacy": "
|
|
1722
|
-
"static": true,
|
|
1662
|
+
"name": "isSingleExpandMode",
|
|
1663
|
+
"privacy": "private",
|
|
1723
1664
|
"return": {
|
|
1724
1665
|
"type": {
|
|
1725
|
-
"text": "
|
|
1666
|
+
"text": "boolean"
|
|
1726
1667
|
}
|
|
1727
1668
|
},
|
|
1728
|
-
"parameters": [
|
|
1729
|
-
{
|
|
1730
|
-
"name": "this",
|
|
1731
|
-
"type": {
|
|
1732
|
-
"text": "K"
|
|
1733
|
-
}
|
|
1734
|
-
},
|
|
1735
|
-
{
|
|
1736
|
-
"name": "elementDefinition",
|
|
1737
|
-
"type": {
|
|
1738
|
-
"text": "T"
|
|
1739
|
-
},
|
|
1740
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1741
|
-
}
|
|
1742
|
-
],
|
|
1743
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1744
1669
|
"inheritedFrom": {
|
|
1745
|
-
"name": "
|
|
1746
|
-
"module": "src/
|
|
1670
|
+
"name": "Accordion",
|
|
1671
|
+
"module": "src/accordion/accordion.ts"
|
|
1747
1672
|
}
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1750
|
-
"events": [
|
|
1673
|
+
},
|
|
1751
1674
|
{
|
|
1752
|
-
"
|
|
1753
|
-
"name": "
|
|
1754
|
-
"
|
|
1755
|
-
|
|
1756
|
-
"
|
|
1675
|
+
"kind": "field",
|
|
1676
|
+
"name": "handleItemKeyDown",
|
|
1677
|
+
"privacy": "private",
|
|
1678
|
+
"inheritedFrom": {
|
|
1679
|
+
"name": "Accordion",
|
|
1680
|
+
"module": "src/accordion/accordion.ts"
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "field",
|
|
1685
|
+
"name": "handleItemFocus",
|
|
1686
|
+
"privacy": "private",
|
|
1687
|
+
"inheritedFrom": {
|
|
1688
|
+
"name": "Accordion",
|
|
1689
|
+
"module": "src/accordion/accordion.ts"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"kind": "method",
|
|
1694
|
+
"name": "adjust",
|
|
1695
|
+
"privacy": "private",
|
|
1696
|
+
"return": {
|
|
1697
|
+
"type": {
|
|
1698
|
+
"text": "void"
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
"parameters": [
|
|
1702
|
+
{
|
|
1703
|
+
"name": "adjustment",
|
|
1704
|
+
"type": {
|
|
1705
|
+
"text": "number"
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
],
|
|
1709
|
+
"inheritedFrom": {
|
|
1710
|
+
"name": "Accordion",
|
|
1711
|
+
"module": "src/accordion/accordion.ts"
|
|
1712
|
+
}
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"kind": "method",
|
|
1716
|
+
"name": "focusItem",
|
|
1717
|
+
"privacy": "private",
|
|
1718
|
+
"return": {
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "void"
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
"inheritedFrom": {
|
|
1724
|
+
"name": "Accordion",
|
|
1725
|
+
"module": "src/accordion/accordion.ts"
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"kind": "field",
|
|
1730
|
+
"name": "_presentation",
|
|
1731
|
+
"type": {
|
|
1732
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1733
|
+
},
|
|
1734
|
+
"privacy": "private",
|
|
1735
|
+
"default": "void 0",
|
|
1736
|
+
"inheritedFrom": {
|
|
1737
|
+
"name": "FoundationElement",
|
|
1738
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"kind": "field",
|
|
1743
|
+
"name": "$presentation",
|
|
1744
|
+
"type": {
|
|
1745
|
+
"text": "ComponentPresentation | null"
|
|
1746
|
+
},
|
|
1747
|
+
"privacy": "public",
|
|
1748
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1749
|
+
"inheritedFrom": {
|
|
1750
|
+
"name": "FoundationElement",
|
|
1751
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "field",
|
|
1756
|
+
"name": "template",
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "ElementViewTemplate | void | null"
|
|
1759
|
+
},
|
|
1760
|
+
"privacy": "public",
|
|
1761
|
+
"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.",
|
|
1762
|
+
"inheritedFrom": {
|
|
1763
|
+
"name": "FoundationElement",
|
|
1764
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"kind": "method",
|
|
1769
|
+
"name": "templateChanged",
|
|
1770
|
+
"privacy": "protected",
|
|
1771
|
+
"return": {
|
|
1772
|
+
"type": {
|
|
1773
|
+
"text": "void"
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
"inheritedFrom": {
|
|
1777
|
+
"name": "FoundationElement",
|
|
1778
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1779
|
+
}
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"kind": "field",
|
|
1783
|
+
"name": "styles",
|
|
1784
|
+
"type": {
|
|
1785
|
+
"text": "ElementStyles | void | null"
|
|
1786
|
+
},
|
|
1787
|
+
"privacy": "public",
|
|
1788
|
+
"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.",
|
|
1789
|
+
"inheritedFrom": {
|
|
1790
|
+
"name": "FoundationElement",
|
|
1791
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"kind": "method",
|
|
1796
|
+
"name": "stylesChanged",
|
|
1797
|
+
"privacy": "protected",
|
|
1798
|
+
"return": {
|
|
1799
|
+
"type": {
|
|
1800
|
+
"text": "void"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"inheritedFrom": {
|
|
1804
|
+
"name": "FoundationElement",
|
|
1805
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"kind": "method",
|
|
1810
|
+
"name": "compose",
|
|
1811
|
+
"privacy": "public",
|
|
1812
|
+
"static": true,
|
|
1813
|
+
"return": {
|
|
1814
|
+
"type": {
|
|
1815
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"parameters": [
|
|
1819
|
+
{
|
|
1820
|
+
"name": "this",
|
|
1821
|
+
"type": {
|
|
1822
|
+
"text": "K"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"name": "elementDefinition",
|
|
1827
|
+
"type": {
|
|
1828
|
+
"text": "T"
|
|
1829
|
+
},
|
|
1830
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1831
|
+
}
|
|
1832
|
+
],
|
|
1833
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1834
|
+
"inheritedFrom": {
|
|
1835
|
+
"name": "FoundationElement",
|
|
1836
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
],
|
|
1840
|
+
"events": [
|
|
1841
|
+
{
|
|
1842
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1843
|
+
"name": "change",
|
|
1844
|
+
"inheritedFrom": {
|
|
1845
|
+
"name": "Accordion",
|
|
1846
|
+
"module": "src/accordion/accordion.ts"
|
|
1757
1847
|
}
|
|
1758
1848
|
}
|
|
1759
1849
|
]
|
|
1760
1850
|
},
|
|
1761
1851
|
{
|
|
1762
1852
|
"kind": "variable",
|
|
1763
|
-
"name": "
|
|
1853
|
+
"name": "foundationAccordionShadowOptions",
|
|
1764
1854
|
"type": {
|
|
1765
1855
|
"text": "ShadowRootInit"
|
|
1766
1856
|
},
|
|
@@ -1768,57 +1858,57 @@
|
|
|
1768
1858
|
},
|
|
1769
1859
|
{
|
|
1770
1860
|
"kind": "variable",
|
|
1771
|
-
"name": "
|
|
1861
|
+
"name": "defaultAccordionConfig",
|
|
1772
1862
|
"type": {
|
|
1773
1863
|
"text": "object"
|
|
1774
1864
|
},
|
|
1775
|
-
"default": "{
|
|
1865
|
+
"default": "{}"
|
|
1776
1866
|
},
|
|
1777
1867
|
{
|
|
1778
1868
|
"kind": "variable",
|
|
1779
|
-
"name": "
|
|
1780
|
-
"description": "The Foundation Accordion
|
|
1869
|
+
"name": "foundationAccordion",
|
|
1870
|
+
"description": "The Foundation Accordion",
|
|
1781
1871
|
"privacy": "public"
|
|
1782
1872
|
}
|
|
1783
1873
|
],
|
|
1784
1874
|
"exports": [
|
|
1785
1875
|
{
|
|
1786
1876
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1877
|
+
"name": "Accordion",
|
|
1788
1878
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/accordion
|
|
1879
|
+
"name": "Accordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1791
1881
|
}
|
|
1792
1882
|
},
|
|
1793
1883
|
{
|
|
1794
1884
|
"kind": "js",
|
|
1795
|
-
"name": "
|
|
1885
|
+
"name": "foundationAccordionShadowOptions",
|
|
1796
1886
|
"declaration": {
|
|
1797
|
-
"name": "
|
|
1798
|
-
"module": "src/accordion
|
|
1887
|
+
"name": "foundationAccordionShadowOptions",
|
|
1888
|
+
"module": "src/accordion/accordion.ts"
|
|
1799
1889
|
}
|
|
1800
1890
|
},
|
|
1801
1891
|
{
|
|
1802
1892
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1893
|
+
"name": "defaultAccordionConfig",
|
|
1804
1894
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/accordion
|
|
1895
|
+
"name": "defaultAccordionConfig",
|
|
1896
|
+
"module": "src/accordion/accordion.ts"
|
|
1807
1897
|
}
|
|
1808
1898
|
},
|
|
1809
1899
|
{
|
|
1810
1900
|
"kind": "js",
|
|
1811
|
-
"name": "
|
|
1901
|
+
"name": "foundationAccordion",
|
|
1812
1902
|
"declaration": {
|
|
1813
|
-
"name": "
|
|
1814
|
-
"module": "src/accordion
|
|
1903
|
+
"name": "foundationAccordion",
|
|
1904
|
+
"module": "src/accordion/accordion.ts"
|
|
1815
1905
|
}
|
|
1816
1906
|
}
|
|
1817
1907
|
]
|
|
1818
1908
|
},
|
|
1819
1909
|
{
|
|
1820
1910
|
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/accordion
|
|
1911
|
+
"path": "src/accordion/index.ts",
|
|
1822
1912
|
"declarations": [],
|
|
1823
1913
|
"exports": [
|
|
1824
1914
|
{
|
|
@@ -1826,7 +1916,7 @@
|
|
|
1826
1916
|
"name": "*",
|
|
1827
1917
|
"declaration": {
|
|
1828
1918
|
"name": "*",
|
|
1829
|
-
"package": "./accordion
|
|
1919
|
+
"package": "./accordion.template"
|
|
1830
1920
|
}
|
|
1831
1921
|
},
|
|
1832
1922
|
{
|
|
@@ -1834,7 +1924,7 @@
|
|
|
1834
1924
|
"name": "*",
|
|
1835
1925
|
"declaration": {
|
|
1836
1926
|
"name": "*",
|
|
1837
|
-
"package": "./accordion
|
|
1927
|
+
"package": "./accordion.styles"
|
|
1838
1928
|
}
|
|
1839
1929
|
},
|
|
1840
1930
|
{
|
|
@@ -1842,18 +1932,49 @@
|
|
|
1842
1932
|
"name": "*",
|
|
1843
1933
|
"declaration": {
|
|
1844
1934
|
"name": "*",
|
|
1845
|
-
"package": "./accordion
|
|
1935
|
+
"package": "./accordion"
|
|
1846
1936
|
}
|
|
1847
1937
|
}
|
|
1848
1938
|
]
|
|
1849
1939
|
},
|
|
1850
1940
|
{
|
|
1851
1941
|
"kind": "javascript-module",
|
|
1852
|
-
"path": "src/
|
|
1942
|
+
"path": "src/_config/index.ts",
|
|
1943
|
+
"declarations": [],
|
|
1944
|
+
"exports": [
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "js",
|
|
1947
|
+
"name": "*",
|
|
1948
|
+
"declaration": {
|
|
1949
|
+
"name": "*",
|
|
1950
|
+
"package": "./styles"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "js",
|
|
1955
|
+
"name": "*",
|
|
1956
|
+
"declaration": {
|
|
1957
|
+
"name": "*",
|
|
1958
|
+
"package": "./tokens"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "js",
|
|
1963
|
+
"name": "*",
|
|
1964
|
+
"declaration": {
|
|
1965
|
+
"name": "*",
|
|
1966
|
+
"package": "./values"
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
]
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"kind": "javascript-module",
|
|
1973
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1853
1974
|
"declarations": [
|
|
1854
1975
|
{
|
|
1855
1976
|
"kind": "function",
|
|
1856
|
-
"name": "
|
|
1977
|
+
"name": "foundationAccordionItemStyles",
|
|
1857
1978
|
"return": {
|
|
1858
1979
|
"type": {
|
|
1859
1980
|
"text": "ElementStyles"
|
|
@@ -1873,374 +1994,226 @@
|
|
|
1873
1994
|
}
|
|
1874
1995
|
}
|
|
1875
1996
|
]
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
"name": "foundationActionsMenuStyles",
|
|
1880
|
-
"return": {
|
|
1881
|
-
"type": {
|
|
1882
|
-
"text": "ElementStyles"
|
|
1883
|
-
}
|
|
1884
|
-
},
|
|
1885
|
-
"parameters": [
|
|
1886
|
-
{
|
|
1887
|
-
"name": "context",
|
|
1888
|
-
"type": {
|
|
1889
|
-
"text": "ElementDefinitionContext"
|
|
1890
|
-
}
|
|
1891
|
-
},
|
|
1892
|
-
{
|
|
1893
|
-
"name": "definition",
|
|
1894
|
-
"type": {
|
|
1895
|
-
"text": "FoundationElementDefinition"
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
]
|
|
1899
|
-
}
|
|
1900
|
-
],
|
|
1901
|
-
"exports": [
|
|
1902
|
-
{
|
|
1903
|
-
"kind": "js",
|
|
1904
|
-
"name": "actionsMenuBaseStyles",
|
|
1905
|
-
"declaration": {
|
|
1906
|
-
"name": "actionsMenuBaseStyles",
|
|
1907
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1997
|
+
}
|
|
1998
|
+
],
|
|
1999
|
+
"exports": [
|
|
1910
2000
|
{
|
|
1911
2001
|
"kind": "js",
|
|
1912
|
-
"name": "
|
|
2002
|
+
"name": "foundationAccordionItemStyles",
|
|
1913
2003
|
"declaration": {
|
|
1914
|
-
"name": "
|
|
1915
|
-
"module": "src/
|
|
2004
|
+
"name": "foundationAccordionItemStyles",
|
|
2005
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1916
2006
|
}
|
|
1917
2007
|
}
|
|
1918
2008
|
]
|
|
1919
2009
|
},
|
|
1920
2010
|
{
|
|
1921
2011
|
"kind": "javascript-module",
|
|
1922
|
-
"path": "src/
|
|
2012
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1923
2013
|
"declarations": [
|
|
1924
2014
|
{
|
|
1925
2015
|
"kind": "function",
|
|
1926
|
-
"name": "
|
|
2016
|
+
"name": "foundationAccordionItemTemplate",
|
|
2017
|
+
"return": {
|
|
2018
|
+
"type": {
|
|
2019
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
1927
2022
|
"parameters": [
|
|
1928
2023
|
{
|
|
1929
|
-
"name": "
|
|
2024
|
+
"name": "context",
|
|
1930
2025
|
"type": {
|
|
1931
|
-
"text": "
|
|
2026
|
+
"text": "ElementDefinitionContext"
|
|
1932
2027
|
}
|
|
1933
|
-
}
|
|
1934
|
-
]
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
"kind": "function",
|
|
1938
|
-
"name": "singleOptionTemplate",
|
|
1939
|
-
"parameters": [
|
|
2028
|
+
},
|
|
1940
2029
|
{
|
|
1941
|
-
"name": "
|
|
2030
|
+
"name": "definition",
|
|
1942
2031
|
"type": {
|
|
1943
|
-
"text": "
|
|
2032
|
+
"text": "FoundationElementDefinition"
|
|
1944
2033
|
}
|
|
1945
2034
|
}
|
|
1946
2035
|
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "variable",
|
|
1950
|
-
"name": "foundationActionsMenuTemplate",
|
|
1951
|
-
"type": {
|
|
1952
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1953
|
-
},
|
|
1954
|
-
"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`"
|
|
1955
2036
|
}
|
|
1956
2037
|
],
|
|
1957
2038
|
"exports": [
|
|
1958
2039
|
{
|
|
1959
2040
|
"kind": "js",
|
|
1960
|
-
"name": "
|
|
1961
|
-
"declaration": {
|
|
1962
|
-
"name": "menuTemplate",
|
|
1963
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "js",
|
|
1968
|
-
"name": "singleOptionTemplate",
|
|
1969
|
-
"declaration": {
|
|
1970
|
-
"name": "singleOptionTemplate",
|
|
1971
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"kind": "js",
|
|
1976
|
-
"name": "foundationActionsMenuTemplate",
|
|
2041
|
+
"name": "foundationAccordionItemTemplate",
|
|
1977
2042
|
"declaration": {
|
|
1978
|
-
"name": "
|
|
1979
|
-
"module": "src/
|
|
2043
|
+
"name": "foundationAccordionItemTemplate",
|
|
2044
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1980
2045
|
}
|
|
1981
2046
|
}
|
|
1982
2047
|
]
|
|
1983
2048
|
},
|
|
1984
2049
|
{
|
|
1985
2050
|
"kind": "javascript-module",
|
|
1986
|
-
"path": "src/
|
|
2051
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1987
2052
|
"declarations": [
|
|
1988
2053
|
{
|
|
1989
2054
|
"kind": "class",
|
|
1990
2055
|
"description": "",
|
|
1991
|
-
"name": "
|
|
1992
|
-
"
|
|
2056
|
+
"name": "AccordionItem",
|
|
2057
|
+
"superclass": {
|
|
2058
|
+
"name": "FASTAccordionItem",
|
|
2059
|
+
"package": "@microsoft/fast-components"
|
|
2060
|
+
},
|
|
2061
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2062
|
+
"customElement": true,
|
|
2063
|
+
"attributes": [
|
|
1993
2064
|
{
|
|
1994
|
-
"
|
|
1995
|
-
"name": "actions",
|
|
2065
|
+
"name": "heading-level",
|
|
1996
2066
|
"type": {
|
|
1997
|
-
"text": "
|
|
2067
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2068
|
+
},
|
|
2069
|
+
"default": "2",
|
|
2070
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2071
|
+
"fieldName": "headinglevel",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "AccordionItem",
|
|
2074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1998
2075
|
}
|
|
1999
2076
|
},
|
|
2000
2077
|
{
|
|
2001
|
-
"kind": "field",
|
|
2002
|
-
"name": "isVertical",
|
|
2003
2078
|
"type": {
|
|
2004
2079
|
"text": "boolean"
|
|
2005
2080
|
},
|
|
2006
|
-
"default": "false"
|
|
2081
|
+
"default": "false",
|
|
2082
|
+
"description": "Expands or collapses the item.",
|
|
2083
|
+
"fieldName": "expanded",
|
|
2084
|
+
"inheritedFrom": {
|
|
2085
|
+
"name": "AccordionItem",
|
|
2086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2087
|
+
}
|
|
2007
2088
|
},
|
|
2008
2089
|
{
|
|
2009
|
-
"
|
|
2010
|
-
"name": "addDefaultActions",
|
|
2090
|
+
"name": "id",
|
|
2011
2091
|
"type": {
|
|
2012
|
-
"text": "
|
|
2092
|
+
"text": "string"
|
|
2013
2093
|
},
|
|
2014
|
-
"
|
|
2015
|
-
|
|
2094
|
+
"description": "The item ID",
|
|
2095
|
+
"fieldName": "id",
|
|
2096
|
+
"inheritedFrom": {
|
|
2097
|
+
"name": "AccordionItem",
|
|
2098
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
],
|
|
2102
|
+
"members": [
|
|
2016
2103
|
{
|
|
2017
2104
|
"kind": "field",
|
|
2018
|
-
"name": "
|
|
2105
|
+
"name": "headinglevel",
|
|
2019
2106
|
"type": {
|
|
2020
|
-
"text": "
|
|
2107
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2021
2108
|
},
|
|
2022
|
-
"
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
"
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
"text": "string"
|
|
2109
|
+
"privacy": "public",
|
|
2110
|
+
"default": "2",
|
|
2111
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2112
|
+
"inheritedFrom": {
|
|
2113
|
+
"name": "AccordionItem",
|
|
2114
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2029
2115
|
}
|
|
2030
2116
|
},
|
|
2031
2117
|
{
|
|
2032
2118
|
"kind": "field",
|
|
2033
|
-
"name": "
|
|
2119
|
+
"name": "expanded",
|
|
2034
2120
|
"type": {
|
|
2035
|
-
"text": "
|
|
2121
|
+
"text": "boolean"
|
|
2122
|
+
},
|
|
2123
|
+
"privacy": "public",
|
|
2124
|
+
"default": "false",
|
|
2125
|
+
"description": "Expands or collapses the item.",
|
|
2126
|
+
"inheritedFrom": {
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2036
2129
|
}
|
|
2037
2130
|
},
|
|
2038
2131
|
{
|
|
2039
2132
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2133
|
+
"name": "id",
|
|
2041
2134
|
"type": {
|
|
2042
2135
|
"text": "string"
|
|
2043
2136
|
},
|
|
2044
|
-
"
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
"text": "boolean"
|
|
2051
|
-
},
|
|
2052
|
-
"default": "false"
|
|
2137
|
+
"privacy": "public",
|
|
2138
|
+
"description": "The item ID",
|
|
2139
|
+
"inheritedFrom": {
|
|
2140
|
+
"name": "AccordionItem",
|
|
2141
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2142
|
+
}
|
|
2053
2143
|
},
|
|
2054
2144
|
{
|
|
2055
2145
|
"kind": "field",
|
|
2056
|
-
"name": "
|
|
2057
|
-
"
|
|
2058
|
-
|
|
2146
|
+
"name": "change",
|
|
2147
|
+
"privacy": "private",
|
|
2148
|
+
"inheritedFrom": {
|
|
2149
|
+
"name": "AccordionItem",
|
|
2150
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2059
2151
|
}
|
|
2060
2152
|
},
|
|
2061
2153
|
{
|
|
2062
2154
|
"kind": "field",
|
|
2063
|
-
"name": "
|
|
2155
|
+
"name": "_presentation",
|
|
2064
2156
|
"type": {
|
|
2065
|
-
"text": "
|
|
2157
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2066
2158
|
},
|
|
2067
|
-
"
|
|
2159
|
+
"privacy": "private",
|
|
2160
|
+
"default": "void 0",
|
|
2161
|
+
"inheritedFrom": {
|
|
2162
|
+
"name": "FoundationElement",
|
|
2163
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2164
|
+
}
|
|
2068
2165
|
},
|
|
2069
2166
|
{
|
|
2070
2167
|
"kind": "field",
|
|
2071
|
-
"name": "
|
|
2168
|
+
"name": "$presentation",
|
|
2072
2169
|
"type": {
|
|
2073
|
-
"text": "
|
|
2170
|
+
"text": "ComponentPresentation | null"
|
|
2074
2171
|
},
|
|
2075
|
-
"
|
|
2172
|
+
"privacy": "public",
|
|
2173
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2174
|
+
"inheritedFrom": {
|
|
2175
|
+
"name": "FoundationElement",
|
|
2176
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2177
|
+
}
|
|
2076
2178
|
},
|
|
2077
2179
|
{
|
|
2078
2180
|
"kind": "field",
|
|
2079
|
-
"name": "
|
|
2181
|
+
"name": "template",
|
|
2080
2182
|
"type": {
|
|
2081
|
-
"text": "
|
|
2183
|
+
"text": "ElementViewTemplate | void | null"
|
|
2184
|
+
},
|
|
2185
|
+
"privacy": "public",
|
|
2186
|
+
"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.",
|
|
2187
|
+
"inheritedFrom": {
|
|
2188
|
+
"name": "FoundationElement",
|
|
2189
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2082
2190
|
}
|
|
2083
2191
|
},
|
|
2084
2192
|
{
|
|
2085
|
-
"kind": "
|
|
2086
|
-
"name": "
|
|
2087
|
-
"
|
|
2088
|
-
|
|
2193
|
+
"kind": "method",
|
|
2194
|
+
"name": "templateChanged",
|
|
2195
|
+
"privacy": "protected",
|
|
2196
|
+
"return": {
|
|
2197
|
+
"type": {
|
|
2198
|
+
"text": "void"
|
|
2199
|
+
}
|
|
2200
|
+
},
|
|
2201
|
+
"inheritedFrom": {
|
|
2202
|
+
"name": "FoundationElement",
|
|
2203
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2089
2204
|
}
|
|
2090
2205
|
},
|
|
2091
2206
|
{
|
|
2092
2207
|
"kind": "field",
|
|
2093
|
-
"name": "
|
|
2208
|
+
"name": "styles",
|
|
2094
2209
|
"type": {
|
|
2095
|
-
"text": "
|
|
2096
|
-
}
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
"
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
},
|
|
2103
|
-
{
|
|
2104
|
-
"kind": "method",
|
|
2105
|
-
"name": "definitionChanged",
|
|
2106
|
-
"privacy": "protected",
|
|
2107
|
-
"parameters": [
|
|
2108
|
-
{
|
|
2109
|
-
"name": "oldValue",
|
|
2110
|
-
"type": {
|
|
2111
|
-
"text": "any"
|
|
2112
|
-
}
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
"name": "newValue",
|
|
2116
|
-
"type": {
|
|
2117
|
-
"text": "any"
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
|
-
]
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
"kind": "method",
|
|
2124
|
-
"name": "openChanged",
|
|
2125
|
-
"privacy": "protected"
|
|
2126
|
-
},
|
|
2127
|
-
{
|
|
2128
|
-
"kind": "method",
|
|
2129
|
-
"name": "toggleActionsMenuVisibility"
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"kind": "method",
|
|
2133
|
-
"name": "onActionMenuItemClick",
|
|
2134
|
-
"parameters": [
|
|
2135
|
-
{
|
|
2136
|
-
"name": "callback",
|
|
2137
|
-
"type": {
|
|
2138
|
-
"text": "(rowData) => void | any"
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
]
|
|
2142
|
-
},
|
|
2143
|
-
{
|
|
2144
|
-
"kind": "field",
|
|
2145
|
-
"name": "allActions",
|
|
2146
|
-
"type": {
|
|
2147
|
-
"text": "ActionMenuItem[]"
|
|
2148
|
-
},
|
|
2149
|
-
"readonly": true
|
|
2150
|
-
},
|
|
2151
|
-
{
|
|
2152
|
-
"kind": "field",
|
|
2153
|
-
"name": "rowData",
|
|
2154
|
-
"readonly": true
|
|
2155
|
-
},
|
|
2156
|
-
{
|
|
2157
|
-
"kind": "method",
|
|
2158
|
-
"name": "getLabel",
|
|
2159
|
-
"parameters": [
|
|
2160
|
-
{
|
|
2161
|
-
"name": "name",
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "string | ((rowData: any) => string)"
|
|
2164
|
-
}
|
|
2165
|
-
}
|
|
2166
|
-
]
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"kind": "method",
|
|
2170
|
-
"name": "getTemplate",
|
|
2171
|
-
"parameters": [
|
|
2172
|
-
{
|
|
2173
|
-
"name": "prefix",
|
|
2174
|
-
"type": {
|
|
2175
|
-
"text": "string"
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
|
-
]
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
"kind": "field",
|
|
2182
|
-
"name": "_presentation",
|
|
2183
|
-
"type": {
|
|
2184
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2185
|
-
},
|
|
2186
|
-
"privacy": "private",
|
|
2187
|
-
"default": "void 0",
|
|
2188
|
-
"inheritedFrom": {
|
|
2189
|
-
"name": "FoundationElement",
|
|
2190
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2191
|
-
}
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"kind": "field",
|
|
2195
|
-
"name": "$presentation",
|
|
2196
|
-
"type": {
|
|
2197
|
-
"text": "ComponentPresentation | null"
|
|
2198
|
-
},
|
|
2199
|
-
"privacy": "public",
|
|
2200
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2201
|
-
"inheritedFrom": {
|
|
2202
|
-
"name": "FoundationElement",
|
|
2203
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2204
|
-
}
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"kind": "field",
|
|
2208
|
-
"name": "template",
|
|
2209
|
-
"type": {
|
|
2210
|
-
"text": "ElementViewTemplate | void | null"
|
|
2211
|
-
},
|
|
2212
|
-
"privacy": "public",
|
|
2213
|
-
"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.",
|
|
2214
|
-
"inheritedFrom": {
|
|
2215
|
-
"name": "FoundationElement",
|
|
2216
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2217
|
-
}
|
|
2218
|
-
},
|
|
2219
|
-
{
|
|
2220
|
-
"kind": "method",
|
|
2221
|
-
"name": "templateChanged",
|
|
2222
|
-
"privacy": "protected",
|
|
2223
|
-
"return": {
|
|
2224
|
-
"type": {
|
|
2225
|
-
"text": "void"
|
|
2226
|
-
}
|
|
2227
|
-
},
|
|
2228
|
-
"inheritedFrom": {
|
|
2229
|
-
"name": "FoundationElement",
|
|
2230
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2231
|
-
}
|
|
2232
|
-
},
|
|
2233
|
-
{
|
|
2234
|
-
"kind": "field",
|
|
2235
|
-
"name": "styles",
|
|
2236
|
-
"type": {
|
|
2237
|
-
"text": "ElementStyles | void | null"
|
|
2238
|
-
},
|
|
2239
|
-
"privacy": "public",
|
|
2240
|
-
"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.",
|
|
2241
|
-
"inheritedFrom": {
|
|
2242
|
-
"name": "FoundationElement",
|
|
2243
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2210
|
+
"text": "ElementStyles | void | null"
|
|
2211
|
+
},
|
|
2212
|
+
"privacy": "public",
|
|
2213
|
+
"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.",
|
|
2214
|
+
"inheritedFrom": {
|
|
2215
|
+
"name": "FoundationElement",
|
|
2216
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2244
2217
|
}
|
|
2245
2218
|
},
|
|
2246
2219
|
{
|
|
@@ -2289,107 +2262,78 @@
|
|
|
2289
2262
|
}
|
|
2290
2263
|
}
|
|
2291
2264
|
],
|
|
2292
|
-
"
|
|
2293
|
-
{
|
|
2294
|
-
"name": "is-vertical",
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "boolean"
|
|
2297
|
-
},
|
|
2298
|
-
"default": "false",
|
|
2299
|
-
"fieldName": "isVertical"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "add-default-actions",
|
|
2303
|
-
"type": {
|
|
2304
|
-
"text": "boolean"
|
|
2305
|
-
},
|
|
2306
|
-
"default": "true",
|
|
2307
|
-
"fieldName": "addDefaultActions"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"name": "auto-close-on-action",
|
|
2311
|
-
"type": {
|
|
2312
|
-
"text": "boolean"
|
|
2313
|
-
},
|
|
2314
|
-
"default": "true",
|
|
2315
|
-
"fieldName": "autoCloseOnAction"
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"name": "name",
|
|
2319
|
-
"type": {
|
|
2320
|
-
"text": "string"
|
|
2321
|
-
},
|
|
2322
|
-
"default": "'Actions'",
|
|
2323
|
-
"fieldName": "name"
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"name": "open",
|
|
2327
|
-
"type": {
|
|
2328
|
-
"text": "boolean"
|
|
2329
|
-
},
|
|
2330
|
-
"default": "false",
|
|
2331
|
-
"fieldName": "open"
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"name": "buttonAppearance",
|
|
2335
|
-
"type": {
|
|
2336
|
-
"text": "string"
|
|
2337
|
-
},
|
|
2338
|
-
"fieldName": "buttonAppearance"
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"name": "hide-disabled",
|
|
2342
|
-
"type": {
|
|
2343
|
-
"text": "boolean"
|
|
2344
|
-
},
|
|
2345
|
-
"default": "false",
|
|
2346
|
-
"fieldName": "hideDisabled"
|
|
2347
|
-
},
|
|
2265
|
+
"events": [
|
|
2348
2266
|
{
|
|
2349
|
-
"
|
|
2350
|
-
"
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2267
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2268
|
+
"name": "change",
|
|
2269
|
+
"inheritedFrom": {
|
|
2270
|
+
"name": "AccordionItem",
|
|
2271
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2272
|
+
}
|
|
2355
2273
|
}
|
|
2356
|
-
]
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2274
|
+
]
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "variable",
|
|
2278
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "ShadowRootInit"
|
|
2360
2281
|
},
|
|
2361
|
-
"
|
|
2362
|
-
"customElement": true
|
|
2282
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2363
2283
|
},
|
|
2364
2284
|
{
|
|
2365
2285
|
"kind": "variable",
|
|
2366
|
-
"name": "
|
|
2367
|
-
"
|
|
2286
|
+
"name": "defaultAccordionItemConfig",
|
|
2287
|
+
"type": {
|
|
2288
|
+
"text": "object"
|
|
2289
|
+
},
|
|
2290
|
+
"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}"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "variable",
|
|
2294
|
+
"name": "foundationAccordionItem",
|
|
2295
|
+
"description": "The Foundation Accordion Item",
|
|
2368
2296
|
"privacy": "public"
|
|
2369
2297
|
}
|
|
2370
2298
|
],
|
|
2371
2299
|
"exports": [
|
|
2372
2300
|
{
|
|
2373
2301
|
"kind": "js",
|
|
2374
|
-
"name": "
|
|
2302
|
+
"name": "AccordionItem",
|
|
2375
2303
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"module": "src/
|
|
2304
|
+
"name": "AccordionItem",
|
|
2305
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2378
2306
|
}
|
|
2379
2307
|
},
|
|
2380
2308
|
{
|
|
2381
2309
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2310
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2383
2311
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/
|
|
2312
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2313
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "js",
|
|
2318
|
+
"name": "defaultAccordionItemConfig",
|
|
2319
|
+
"declaration": {
|
|
2320
|
+
"name": "defaultAccordionItemConfig",
|
|
2321
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"kind": "js",
|
|
2326
|
+
"name": "foundationAccordionItem",
|
|
2327
|
+
"declaration": {
|
|
2328
|
+
"name": "foundationAccordionItem",
|
|
2329
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2386
2330
|
}
|
|
2387
2331
|
}
|
|
2388
2332
|
]
|
|
2389
2333
|
},
|
|
2390
2334
|
{
|
|
2391
2335
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2336
|
+
"path": "src/accordion-item/index.ts",
|
|
2393
2337
|
"declarations": [],
|
|
2394
2338
|
"exports": [
|
|
2395
2339
|
{
|
|
@@ -2397,7 +2341,7 @@
|
|
|
2397
2341
|
"name": "*",
|
|
2398
2342
|
"declaration": {
|
|
2399
2343
|
"name": "*",
|
|
2400
|
-
"package": "./
|
|
2344
|
+
"package": "./accordion-item.template"
|
|
2401
2345
|
}
|
|
2402
2346
|
},
|
|
2403
2347
|
{
|
|
@@ -2405,7 +2349,7 @@
|
|
|
2405
2349
|
"name": "*",
|
|
2406
2350
|
"declaration": {
|
|
2407
2351
|
"name": "*",
|
|
2408
|
-
"package": "./
|
|
2352
|
+
"package": "./accordion-item.styles"
|
|
2409
2353
|
}
|
|
2410
2354
|
},
|
|
2411
2355
|
{
|
|
@@ -2413,122 +2357,210 @@
|
|
|
2413
2357
|
"name": "*",
|
|
2414
2358
|
"declaration": {
|
|
2415
2359
|
"name": "*",
|
|
2416
|
-
"package": "./
|
|
2360
|
+
"package": "./accordion-item"
|
|
2417
2361
|
}
|
|
2418
2362
|
}
|
|
2419
2363
|
]
|
|
2420
2364
|
},
|
|
2421
2365
|
{
|
|
2422
2366
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/
|
|
2367
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2424
2368
|
"declarations": [
|
|
2425
2369
|
{
|
|
2426
|
-
"kind": "
|
|
2427
|
-
"name": "
|
|
2428
|
-
"
|
|
2370
|
+
"kind": "function",
|
|
2371
|
+
"name": "actionsMenuBaseStyles",
|
|
2372
|
+
"return": {
|
|
2373
|
+
"type": {
|
|
2374
|
+
"text": "ElementStyles"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
"parameters": [
|
|
2378
|
+
{
|
|
2379
|
+
"name": "context",
|
|
2380
|
+
"type": {
|
|
2381
|
+
"text": "ElementDefinitionContext"
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"name": "definition",
|
|
2386
|
+
"type": {
|
|
2387
|
+
"text": "FoundationElementDefinition"
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
]
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"kind": "function",
|
|
2394
|
+
"name": "foundationActionsMenuStyles",
|
|
2395
|
+
"return": {
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "ElementStyles"
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
"parameters": [
|
|
2401
|
+
{
|
|
2402
|
+
"name": "context",
|
|
2403
|
+
"type": {
|
|
2404
|
+
"text": "ElementDefinitionContext"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"name": "definition",
|
|
2409
|
+
"type": {
|
|
2410
|
+
"text": "FoundationElementDefinition"
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
]
|
|
2429
2414
|
}
|
|
2430
2415
|
],
|
|
2431
2416
|
"exports": [
|
|
2432
2417
|
{
|
|
2433
2418
|
"kind": "js",
|
|
2434
|
-
"name": "
|
|
2419
|
+
"name": "actionsMenuBaseStyles",
|
|
2435
2420
|
"declaration": {
|
|
2436
|
-
"name": "
|
|
2437
|
-
"module": "src/
|
|
2421
|
+
"name": "actionsMenuBaseStyles",
|
|
2422
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "js",
|
|
2427
|
+
"name": "foundationActionsMenuStyles",
|
|
2428
|
+
"declaration": {
|
|
2429
|
+
"name": "foundationActionsMenuStyles",
|
|
2430
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2438
2431
|
}
|
|
2439
2432
|
}
|
|
2440
2433
|
]
|
|
2441
2434
|
},
|
|
2442
2435
|
{
|
|
2443
2436
|
"kind": "javascript-module",
|
|
2444
|
-
"path": "src/
|
|
2437
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2445
2438
|
"declarations": [
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "function",
|
|
2441
|
+
"name": "menuTemplate",
|
|
2442
|
+
"parameters": [
|
|
2443
|
+
{
|
|
2444
|
+
"name": "prefix",
|
|
2445
|
+
"type": {
|
|
2446
|
+
"text": "string"
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "function",
|
|
2453
|
+
"name": "singleOptionTemplate",
|
|
2454
|
+
"parameters": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "prefix",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "string"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2446
2463
|
{
|
|
2447
2464
|
"kind": "variable",
|
|
2448
|
-
"name": "
|
|
2465
|
+
"name": "foundationActionsMenuTemplate",
|
|
2449
2466
|
"type": {
|
|
2450
|
-
"text": "ViewTemplate<
|
|
2467
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2451
2468
|
},
|
|
2452
|
-
"default": "html`\n ${(x) =>
|
|
2469
|
+
"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`"
|
|
2453
2470
|
}
|
|
2454
2471
|
],
|
|
2455
2472
|
"exports": [
|
|
2456
2473
|
{
|
|
2457
2474
|
"kind": "js",
|
|
2458
|
-
"name": "
|
|
2475
|
+
"name": "menuTemplate",
|
|
2476
|
+
"declaration": {
|
|
2477
|
+
"name": "menuTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "singleOptionTemplate",
|
|
2459
2484
|
"declaration": {
|
|
2460
|
-
"name": "
|
|
2461
|
-
"module": "src/
|
|
2485
|
+
"name": "singleOptionTemplate",
|
|
2486
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"kind": "js",
|
|
2491
|
+
"name": "foundationActionsMenuTemplate",
|
|
2492
|
+
"declaration": {
|
|
2493
|
+
"name": "foundationActionsMenuTemplate",
|
|
2494
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2462
2495
|
}
|
|
2463
2496
|
}
|
|
2464
2497
|
]
|
|
2465
2498
|
},
|
|
2466
2499
|
{
|
|
2467
2500
|
"kind": "javascript-module",
|
|
2468
|
-
"path": "src/
|
|
2501
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2469
2502
|
"declarations": [
|
|
2470
2503
|
{
|
|
2471
2504
|
"kind": "class",
|
|
2472
|
-
"description": "
|
|
2473
|
-
"name": "
|
|
2505
|
+
"description": "",
|
|
2506
|
+
"name": "ActionsMenu",
|
|
2474
2507
|
"members": [
|
|
2475
2508
|
{
|
|
2476
2509
|
"kind": "field",
|
|
2477
|
-
"name": "
|
|
2510
|
+
"name": "actions",
|
|
2478
2511
|
"type": {
|
|
2479
|
-
"text": "
|
|
2512
|
+
"text": "ActionMenuItem[]"
|
|
2480
2513
|
}
|
|
2481
2514
|
},
|
|
2482
2515
|
{
|
|
2483
2516
|
"kind": "field",
|
|
2484
|
-
"name": "
|
|
2517
|
+
"name": "isVertical",
|
|
2485
2518
|
"type": {
|
|
2486
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2487
2520
|
},
|
|
2488
|
-
"default": "
|
|
2521
|
+
"default": "false"
|
|
2489
2522
|
},
|
|
2490
2523
|
{
|
|
2491
2524
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2525
|
+
"name": "addDefaultActions",
|
|
2493
2526
|
"type": {
|
|
2494
2527
|
"text": "boolean"
|
|
2495
|
-
}
|
|
2528
|
+
},
|
|
2529
|
+
"default": "true"
|
|
2496
2530
|
},
|
|
2497
2531
|
{
|
|
2498
2532
|
"kind": "field",
|
|
2499
|
-
"name": "
|
|
2533
|
+
"name": "autoCloseOnAction",
|
|
2500
2534
|
"type": {
|
|
2501
|
-
"text": "
|
|
2535
|
+
"text": "boolean"
|
|
2502
2536
|
},
|
|
2503
|
-
"default": "
|
|
2537
|
+
"default": "true"
|
|
2504
2538
|
},
|
|
2505
2539
|
{
|
|
2506
2540
|
"kind": "field",
|
|
2507
|
-
"name": "
|
|
2541
|
+
"name": "classNames",
|
|
2508
2542
|
"type": {
|
|
2509
|
-
"text": "
|
|
2510
|
-
}
|
|
2511
|
-
"default": "false"
|
|
2543
|
+
"text": "string"
|
|
2544
|
+
}
|
|
2512
2545
|
},
|
|
2513
2546
|
{
|
|
2514
2547
|
"kind": "field",
|
|
2515
|
-
"name": "
|
|
2548
|
+
"name": "definition",
|
|
2516
2549
|
"type": {
|
|
2517
|
-
"text": "
|
|
2518
|
-
}
|
|
2519
|
-
"default": "null"
|
|
2550
|
+
"text": "any"
|
|
2551
|
+
}
|
|
2520
2552
|
},
|
|
2521
2553
|
{
|
|
2522
2554
|
"kind": "field",
|
|
2523
|
-
"name": "
|
|
2555
|
+
"name": "name",
|
|
2524
2556
|
"type": {
|
|
2525
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2526
2558
|
},
|
|
2527
|
-
"default": "
|
|
2559
|
+
"default": "'Actions'"
|
|
2528
2560
|
},
|
|
2529
2561
|
{
|
|
2530
2562
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2563
|
+
"name": "open",
|
|
2532
2564
|
"type": {
|
|
2533
2565
|
"text": "boolean"
|
|
2534
2566
|
},
|
|
@@ -2536,15 +2568,14 @@
|
|
|
2536
2568
|
},
|
|
2537
2569
|
{
|
|
2538
2570
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2571
|
+
"name": "buttonAppearance",
|
|
2540
2572
|
"type": {
|
|
2541
|
-
"text": "
|
|
2542
|
-
}
|
|
2543
|
-
"default": "[]"
|
|
2573
|
+
"text": "string"
|
|
2574
|
+
}
|
|
2544
2575
|
},
|
|
2545
2576
|
{
|
|
2546
2577
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2578
|
+
"name": "hideDisabled",
|
|
2548
2579
|
"type": {
|
|
2549
2580
|
"text": "boolean"
|
|
2550
2581
|
},
|
|
@@ -2552,125 +2583,114 @@
|
|
|
2552
2583
|
},
|
|
2553
2584
|
{
|
|
2554
2585
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "HTMLTextAreaElement"
|
|
2558
|
-
},
|
|
2559
|
-
"privacy": "public"
|
|
2560
|
-
},
|
|
2561
|
-
{
|
|
2562
|
-
"kind": "field",
|
|
2563
|
-
"name": "stopRecording",
|
|
2586
|
+
"name": "hideMenuSingleOption",
|
|
2564
2587
|
"type": {
|
|
2565
|
-
"text": "
|
|
2588
|
+
"text": "boolean"
|
|
2566
2589
|
},
|
|
2567
|
-
"
|
|
2568
|
-
"default": "null"
|
|
2590
|
+
"default": "false"
|
|
2569
2591
|
},
|
|
2570
2592
|
{
|
|
2571
2593
|
"kind": "field",
|
|
2572
|
-
"name": "
|
|
2594
|
+
"name": "singleOption",
|
|
2573
2595
|
"type": {
|
|
2574
|
-
"text": "
|
|
2575
|
-
}
|
|
2576
|
-
"privacy": "private",
|
|
2577
|
-
"default": "null"
|
|
2596
|
+
"text": "ActionMenuItem"
|
|
2597
|
+
}
|
|
2578
2598
|
},
|
|
2579
2599
|
{
|
|
2580
2600
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2601
|
+
"name": "actionsMenu",
|
|
2582
2602
|
"type": {
|
|
2583
|
-
"text": "
|
|
2584
|
-
}
|
|
2585
|
-
"readonly": true
|
|
2603
|
+
"text": "HTMLElement"
|
|
2604
|
+
}
|
|
2586
2605
|
},
|
|
2587
2606
|
{
|
|
2588
2607
|
"kind": "field",
|
|
2589
|
-
"name": "
|
|
2608
|
+
"name": "actionsOpener",
|
|
2590
2609
|
"type": {
|
|
2591
|
-
"text": "
|
|
2592
|
-
}
|
|
2593
|
-
"readonly": true
|
|
2594
|
-
},
|
|
2595
|
-
{
|
|
2596
|
-
"kind": "method",
|
|
2597
|
-
"name": "getFieldLabel",
|
|
2598
|
-
"privacy": "private",
|
|
2599
|
-
"return": {
|
|
2600
|
-
"type": {
|
|
2601
|
-
"text": "string"
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
|
-
"parameters": [
|
|
2605
|
-
{
|
|
2606
|
-
"name": "fieldName",
|
|
2607
|
-
"type": {
|
|
2608
|
-
"text": "string"
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
]
|
|
2610
|
+
"text": "HTMLElement"
|
|
2611
|
+
}
|
|
2612
2612
|
},
|
|
2613
2613
|
{
|
|
2614
2614
|
"kind": "method",
|
|
2615
|
-
"name": "
|
|
2616
|
-
"
|
|
2617
|
-
"type": {
|
|
2618
|
-
"text": "void"
|
|
2619
|
-
}
|
|
2620
|
-
}
|
|
2615
|
+
"name": "updateMenuPosition",
|
|
2616
|
+
"privacy": "private"
|
|
2621
2617
|
},
|
|
2622
2618
|
{
|
|
2623
2619
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
"type": {
|
|
2627
|
-
"text": "void"
|
|
2628
|
-
}
|
|
2629
|
-
},
|
|
2620
|
+
"name": "definitionChanged",
|
|
2621
|
+
"privacy": "protected",
|
|
2630
2622
|
"parameters": [
|
|
2631
2623
|
{
|
|
2632
|
-
"name": "
|
|
2624
|
+
"name": "oldValue",
|
|
2633
2625
|
"type": {
|
|
2634
|
-
"text": "
|
|
2626
|
+
"text": "any"
|
|
2635
2627
|
}
|
|
2636
2628
|
},
|
|
2637
2629
|
{
|
|
2638
|
-
"name": "
|
|
2630
|
+
"name": "newValue",
|
|
2639
2631
|
"type": {
|
|
2640
|
-
"text": "
|
|
2632
|
+
"text": "any"
|
|
2641
2633
|
}
|
|
2642
2634
|
}
|
|
2643
2635
|
]
|
|
2644
2636
|
},
|
|
2645
2637
|
{
|
|
2646
2638
|
"kind": "method",
|
|
2647
|
-
"name": "
|
|
2648
|
-
"
|
|
2649
|
-
"type": {
|
|
2650
|
-
"text": "void"
|
|
2651
|
-
}
|
|
2652
|
-
}
|
|
2639
|
+
"name": "openChanged",
|
|
2640
|
+
"privacy": "protected"
|
|
2653
2641
|
},
|
|
2654
2642
|
{
|
|
2655
2643
|
"kind": "method",
|
|
2656
|
-
"name": "
|
|
2644
|
+
"name": "toggleActionsMenuVisibility"
|
|
2657
2645
|
},
|
|
2658
2646
|
{
|
|
2659
2647
|
"kind": "method",
|
|
2660
|
-
"name": "
|
|
2648
|
+
"name": "onActionMenuItemClick",
|
|
2649
|
+
"parameters": [
|
|
2650
|
+
{
|
|
2651
|
+
"name": "callback",
|
|
2652
|
+
"type": {
|
|
2653
|
+
"text": "(rowData) => void | any"
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
]
|
|
2661
2657
|
},
|
|
2662
2658
|
{
|
|
2663
|
-
"kind": "
|
|
2664
|
-
"name": "
|
|
2659
|
+
"kind": "field",
|
|
2660
|
+
"name": "allActions",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "ActionMenuItem[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "field",
|
|
2668
|
+
"name": "rowData",
|
|
2669
|
+
"readonly": true
|
|
2665
2670
|
},
|
|
2666
2671
|
{
|
|
2667
2672
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2673
|
+
"name": "getLabel",
|
|
2674
|
+
"parameters": [
|
|
2675
|
+
{
|
|
2676
|
+
"name": "name",
|
|
2677
|
+
"type": {
|
|
2678
|
+
"text": "string | ((rowData: any) => string)"
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
]
|
|
2669
2682
|
},
|
|
2670
2683
|
{
|
|
2671
2684
|
"kind": "method",
|
|
2672
|
-
"name": "
|
|
2673
|
-
"
|
|
2685
|
+
"name": "getTemplate",
|
|
2686
|
+
"parameters": [
|
|
2687
|
+
{
|
|
2688
|
+
"name": "prefix",
|
|
2689
|
+
"type": {
|
|
2690
|
+
"text": "string"
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
]
|
|
2674
2694
|
},
|
|
2675
2695
|
{
|
|
2676
2696
|
"kind": "field",
|
|
@@ -2784,154 +2804,115 @@
|
|
|
2784
2804
|
}
|
|
2785
2805
|
}
|
|
2786
2806
|
],
|
|
2787
|
-
"
|
|
2807
|
+
"attributes": [
|
|
2788
2808
|
{
|
|
2789
|
-
"
|
|
2790
|
-
"
|
|
2809
|
+
"name": "is-vertical",
|
|
2810
|
+
"type": {
|
|
2811
|
+
"text": "boolean"
|
|
2812
|
+
},
|
|
2813
|
+
"default": "false",
|
|
2814
|
+
"fieldName": "isVertical"
|
|
2791
2815
|
},
|
|
2792
2816
|
{
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2817
|
+
"name": "add-default-actions",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "boolean"
|
|
2820
|
+
},
|
|
2821
|
+
"default": "true",
|
|
2822
|
+
"fieldName": "addDefaultActions"
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
"name": "auto-close-on-action",
|
|
2826
|
+
"type": {
|
|
2827
|
+
"text": "boolean"
|
|
2828
|
+
},
|
|
2829
|
+
"default": "true",
|
|
2830
|
+
"fieldName": "autoCloseOnAction"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "name",
|
|
2834
|
+
"type": {
|
|
2835
|
+
"text": "string"
|
|
2836
|
+
},
|
|
2837
|
+
"default": "'Actions'",
|
|
2838
|
+
"fieldName": "name"
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"name": "open",
|
|
2842
|
+
"type": {
|
|
2843
|
+
"text": "boolean"
|
|
2844
|
+
},
|
|
2845
|
+
"default": "false",
|
|
2846
|
+
"fieldName": "open"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "buttonAppearance",
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "string"
|
|
2852
|
+
},
|
|
2853
|
+
"fieldName": "buttonAppearance"
|
|
2854
|
+
},
|
|
2798
2855
|
{
|
|
2799
|
-
"name": "
|
|
2856
|
+
"name": "hide-disabled",
|
|
2800
2857
|
"type": {
|
|
2801
|
-
"text": "
|
|
2858
|
+
"text": "boolean"
|
|
2802
2859
|
},
|
|
2803
|
-
"default": "
|
|
2804
|
-
"fieldName": "
|
|
2860
|
+
"default": "false",
|
|
2861
|
+
"fieldName": "hideDisabled"
|
|
2805
2862
|
},
|
|
2806
2863
|
{
|
|
2864
|
+
"name": "hide-menu-single-option",
|
|
2807
2865
|
"type": {
|
|
2808
2866
|
"text": "boolean"
|
|
2809
2867
|
},
|
|
2810
|
-
"
|
|
2868
|
+
"default": "false",
|
|
2869
|
+
"fieldName": "hideMenuSingleOption"
|
|
2811
2870
|
}
|
|
2812
2871
|
],
|
|
2813
2872
|
"superclass": {
|
|
2814
2873
|
"name": "FoundationElement",
|
|
2815
2874
|
"package": "@microsoft/fast-foundation"
|
|
2816
2875
|
},
|
|
2817
|
-
"tagName": "%%prefix%%-
|
|
2876
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2818
2877
|
"customElement": true
|
|
2819
2878
|
},
|
|
2820
2879
|
{
|
|
2821
2880
|
"kind": "variable",
|
|
2822
|
-
"name": "
|
|
2823
|
-
"
|
|
2824
|
-
|
|
2825
|
-
},
|
|
2826
|
-
"default": "undefined"
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "variable",
|
|
2830
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2831
|
-
"type": {
|
|
2832
|
-
"text": "object"
|
|
2833
|
-
},
|
|
2834
|
-
"default": "{}"
|
|
2835
|
-
},
|
|
2836
|
-
{
|
|
2837
|
-
"kind": "variable",
|
|
2838
|
-
"name": "foundationAiCriteriaSearch"
|
|
2881
|
+
"name": "foundationActionsMenu",
|
|
2882
|
+
"description": "The Foundation Actions Menu",
|
|
2883
|
+
"privacy": "public"
|
|
2839
2884
|
}
|
|
2840
2885
|
],
|
|
2841
2886
|
"exports": [
|
|
2842
2887
|
{
|
|
2843
2888
|
"kind": "js",
|
|
2844
|
-
"name": "
|
|
2845
|
-
"declaration": {
|
|
2846
|
-
"name": "AiCriteriaSearch",
|
|
2847
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
{
|
|
2851
|
-
"kind": "js",
|
|
2852
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2853
|
-
"declaration": {
|
|
2854
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2855
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2856
|
-
}
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
"kind": "js",
|
|
2860
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2889
|
+
"name": "ActionsMenu",
|
|
2861
2890
|
"declaration": {
|
|
2862
|
-
"name": "
|
|
2863
|
-
"module": "src/
|
|
2891
|
+
"name": "ActionsMenu",
|
|
2892
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2864
2893
|
}
|
|
2865
2894
|
},
|
|
2866
2895
|
{
|
|
2867
2896
|
"kind": "js",
|
|
2868
|
-
"name": "
|
|
2897
|
+
"name": "foundationActionsMenu",
|
|
2869
2898
|
"declaration": {
|
|
2870
|
-
"name": "
|
|
2871
|
-
"module": "src/
|
|
2899
|
+
"name": "foundationActionsMenu",
|
|
2900
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2872
2901
|
}
|
|
2873
2902
|
}
|
|
2874
2903
|
]
|
|
2875
2904
|
},
|
|
2876
2905
|
{
|
|
2877
2906
|
"kind": "javascript-module",
|
|
2878
|
-
"path": "src/
|
|
2907
|
+
"path": "src/actions-menu/index.ts",
|
|
2879
2908
|
"declarations": [],
|
|
2880
2909
|
"exports": [
|
|
2881
|
-
{
|
|
2882
|
-
"kind": "js",
|
|
2883
|
-
"name": "AiCriteriaSearch",
|
|
2884
|
-
"declaration": {
|
|
2885
|
-
"name": "AiCriteriaSearch",
|
|
2886
|
-
"module": "./ai-criteria-search"
|
|
2887
|
-
}
|
|
2888
|
-
},
|
|
2889
|
-
{
|
|
2890
|
-
"kind": "js",
|
|
2891
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2892
|
-
"declaration": {
|
|
2893
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2894
|
-
"module": "./ai-criteria-search"
|
|
2895
|
-
}
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"kind": "js",
|
|
2899
|
-
"name": "foundationAiCriteriaSearch",
|
|
2900
|
-
"declaration": {
|
|
2901
|
-
"name": "foundationAiCriteriaSearch",
|
|
2902
|
-
"module": "./ai-criteria-search"
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
{
|
|
2906
|
-
"kind": "js",
|
|
2907
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2908
|
-
"declaration": {
|
|
2909
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2910
|
-
"module": "./ai-criteria-search"
|
|
2911
|
-
}
|
|
2912
|
-
},
|
|
2913
|
-
{
|
|
2914
|
-
"kind": "js",
|
|
2915
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
-
"declaration": {
|
|
2917
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2918
|
-
"module": "./ai-criteria-search.styles"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2926
|
-
"module": "./ai-criteria-search.template"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
2910
|
{
|
|
2930
2911
|
"kind": "js",
|
|
2931
2912
|
"name": "*",
|
|
2932
2913
|
"declaration": {
|
|
2933
2914
|
"name": "*",
|
|
2934
|
-
"package": "./
|
|
2915
|
+
"package": "./actions-menu.styles"
|
|
2935
2916
|
}
|
|
2936
2917
|
},
|
|
2937
2918
|
{
|
|
@@ -2939,7 +2920,7 @@
|
|
|
2939
2920
|
"name": "*",
|
|
2940
2921
|
"declaration": {
|
|
2941
2922
|
"name": "*",
|
|
2942
|
-
"package": "./
|
|
2923
|
+
"package": "./actions-menu.template"
|
|
2943
2924
|
}
|
|
2944
2925
|
},
|
|
2945
2926
|
{
|
|
@@ -2947,357 +2928,215 @@
|
|
|
2947
2928
|
"name": "*",
|
|
2948
2929
|
"declaration": {
|
|
2949
2930
|
"name": "*",
|
|
2950
|
-
"package": "./
|
|
2951
|
-
}
|
|
2952
|
-
}
|
|
2953
|
-
]
|
|
2954
|
-
},
|
|
2955
|
-
{
|
|
2956
|
-
"kind": "javascript-module",
|
|
2957
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2958
|
-
"declarations": [
|
|
2959
|
-
{
|
|
2960
|
-
"kind": "function",
|
|
2961
|
-
"name": "formatValidationErrors",
|
|
2962
|
-
"return": {
|
|
2963
|
-
"type": {
|
|
2964
|
-
"text": "string"
|
|
2965
|
-
}
|
|
2966
|
-
},
|
|
2967
|
-
"parameters": [
|
|
2968
|
-
{
|
|
2969
|
-
"name": "errors",
|
|
2970
|
-
"type": {
|
|
2971
|
-
"text": "ValidationError[]"
|
|
2972
|
-
}
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2976
|
-
},
|
|
2977
|
-
{
|
|
2978
|
-
"kind": "function",
|
|
2979
|
-
"name": "showCriteriaError",
|
|
2980
|
-
"return": {
|
|
2981
|
-
"type": {
|
|
2982
|
-
"text": "void"
|
|
2983
|
-
}
|
|
2984
|
-
},
|
|
2985
|
-
"parameters": [
|
|
2986
|
-
{
|
|
2987
|
-
"name": "title",
|
|
2988
|
-
"type": {
|
|
2989
|
-
"text": "string"
|
|
2990
|
-
},
|
|
2991
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2992
|
-
},
|
|
2993
|
-
{
|
|
2994
|
-
"name": "body",
|
|
2995
|
-
"type": {
|
|
2996
|
-
"text": "string"
|
|
2997
|
-
},
|
|
2998
|
-
"description": "Error message to display"
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"name": "tagName",
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "string"
|
|
3004
|
-
},
|
|
3005
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3006
|
-
}
|
|
3007
|
-
],
|
|
3008
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3009
|
-
}
|
|
3010
|
-
],
|
|
3011
|
-
"exports": [
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "js",
|
|
3014
|
-
"name": "formatValidationErrors",
|
|
3015
|
-
"declaration": {
|
|
3016
|
-
"name": "formatValidationErrors",
|
|
3017
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3018
|
-
}
|
|
3019
|
-
},
|
|
3020
|
-
{
|
|
3021
|
-
"kind": "js",
|
|
3022
|
-
"name": "showCriteriaError",
|
|
3023
|
-
"declaration": {
|
|
3024
|
-
"name": "showCriteriaError",
|
|
3025
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2931
|
+
"package": "./actions-menu"
|
|
3026
2932
|
}
|
|
3027
2933
|
}
|
|
3028
2934
|
]
|
|
3029
2935
|
},
|
|
3030
2936
|
{
|
|
3031
2937
|
"kind": "javascript-module",
|
|
3032
|
-
"path": "src/
|
|
2938
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3033
2939
|
"declarations": [
|
|
3034
2940
|
{
|
|
3035
|
-
"kind": "
|
|
3036
|
-
"name": "
|
|
3037
|
-
"
|
|
3038
|
-
"type": {
|
|
3039
|
-
"text": "ElementStyles"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3042
|
-
"parameters": [
|
|
3043
|
-
{
|
|
3044
|
-
"name": "context",
|
|
3045
|
-
"type": {
|
|
3046
|
-
"text": "ElementDefinitionContext"
|
|
3047
|
-
}
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"name": "definition",
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "FoundationElementDefinition"
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
|
-
]
|
|
2941
|
+
"kind": "variable",
|
|
2942
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2943
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3056
2944
|
}
|
|
3057
2945
|
],
|
|
3058
2946
|
"exports": [
|
|
3059
2947
|
{
|
|
3060
2948
|
"kind": "js",
|
|
3061
|
-
"name": "
|
|
2949
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3062
2950
|
"declaration": {
|
|
3063
|
-
"name": "
|
|
3064
|
-
"module": "src/
|
|
2951
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2952
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3065
2953
|
}
|
|
3066
2954
|
}
|
|
3067
2955
|
]
|
|
3068
2956
|
},
|
|
3069
2957
|
{
|
|
3070
2958
|
"kind": "javascript-module",
|
|
3071
|
-
"path": "src/
|
|
2959
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3072
2960
|
"declarations": [
|
|
3073
2961
|
{
|
|
3074
|
-
"kind": "
|
|
3075
|
-
"name": "
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
3078
|
-
"text": "ViewTemplate<Accordion>"
|
|
3079
|
-
}
|
|
2962
|
+
"kind": "variable",
|
|
2963
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2964
|
+
"type": {
|
|
2965
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3080
2966
|
},
|
|
3081
|
-
"
|
|
3082
|
-
{
|
|
3083
|
-
"name": "context",
|
|
3084
|
-
"type": {
|
|
3085
|
-
"text": "ElementDefinitionContext"
|
|
3086
|
-
}
|
|
3087
|
-
},
|
|
3088
|
-
{
|
|
3089
|
-
"name": "definition",
|
|
3090
|
-
"type": {
|
|
3091
|
-
"text": "FoundationElementDefinition"
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
]
|
|
2967
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3095
2968
|
}
|
|
3096
2969
|
],
|
|
3097
2970
|
"exports": [
|
|
3098
2971
|
{
|
|
3099
2972
|
"kind": "js",
|
|
3100
|
-
"name": "
|
|
2973
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3101
2974
|
"declaration": {
|
|
3102
|
-
"name": "
|
|
3103
|
-
"module": "src/
|
|
2975
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2976
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3104
2977
|
}
|
|
3105
2978
|
}
|
|
3106
2979
|
]
|
|
3107
2980
|
},
|
|
3108
2981
|
{
|
|
3109
2982
|
"kind": "javascript-module",
|
|
3110
|
-
"path": "src/
|
|
2983
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3111
2984
|
"declarations": [
|
|
3112
2985
|
{
|
|
3113
2986
|
"kind": "class",
|
|
3114
|
-
"description": "",
|
|
3115
|
-
"name": "
|
|
3116
|
-
"
|
|
3117
|
-
"name": "FASTAccordion",
|
|
3118
|
-
"package": "@microsoft/fast-foundation"
|
|
3119
|
-
},
|
|
3120
|
-
"tagName": "%%prefix%%-accordion",
|
|
3121
|
-
"customElement": true,
|
|
3122
|
-
"attributes": [
|
|
2987
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2988
|
+
"name": "AiCriteriaSearch",
|
|
2989
|
+
"members": [
|
|
3123
2990
|
{
|
|
3124
|
-
"
|
|
2991
|
+
"kind": "field",
|
|
2992
|
+
"name": "providerRegistry",
|
|
3125
2993
|
"type": {
|
|
3126
|
-
"text": "
|
|
3127
|
-
},
|
|
3128
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3129
|
-
"fieldName": "expandmode",
|
|
3130
|
-
"inheritedFrom": {
|
|
3131
|
-
"name": "Accordion",
|
|
3132
|
-
"module": "src/accordion/accordion.ts"
|
|
2994
|
+
"text": "AIProviderRegistry"
|
|
3133
2995
|
}
|
|
3134
|
-
}
|
|
3135
|
-
],
|
|
3136
|
-
"members": [
|
|
2996
|
+
},
|
|
3137
2997
|
{
|
|
3138
2998
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
2999
|
+
"name": "placeholder",
|
|
3140
3000
|
"type": {
|
|
3141
|
-
"text": "
|
|
3001
|
+
"text": "string"
|
|
3142
3002
|
},
|
|
3143
|
-
"
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3003
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "field",
|
|
3007
|
+
"name": "disabled",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "boolean"
|
|
3148
3010
|
}
|
|
3149
3011
|
},
|
|
3150
3012
|
{
|
|
3151
3013
|
"kind": "field",
|
|
3152
|
-
"name": "
|
|
3014
|
+
"name": "inputValue",
|
|
3153
3015
|
"type": {
|
|
3154
|
-
"text": "string
|
|
3016
|
+
"text": "string"
|
|
3155
3017
|
},
|
|
3156
|
-
"
|
|
3157
|
-
"inheritedFrom": {
|
|
3158
|
-
"name": "Accordion",
|
|
3159
|
-
"module": "src/accordion/accordion.ts"
|
|
3160
|
-
}
|
|
3018
|
+
"default": "''"
|
|
3161
3019
|
},
|
|
3162
3020
|
{
|
|
3163
3021
|
"kind": "field",
|
|
3164
|
-
"name": "
|
|
3022
|
+
"name": "isInterpreting",
|
|
3165
3023
|
"type": {
|
|
3166
|
-
"text": "
|
|
3024
|
+
"text": "boolean"
|
|
3167
3025
|
},
|
|
3168
|
-
"
|
|
3169
|
-
"default": "0",
|
|
3170
|
-
"inheritedFrom": {
|
|
3171
|
-
"name": "Accordion",
|
|
3172
|
-
"module": "src/accordion/accordion.ts"
|
|
3173
|
-
}
|
|
3026
|
+
"default": "false"
|
|
3174
3027
|
},
|
|
3175
3028
|
{
|
|
3176
3029
|
"kind": "field",
|
|
3177
|
-
"name": "
|
|
3030
|
+
"name": "lastValidCriteria",
|
|
3178
3031
|
"type": {
|
|
3179
|
-
"text": "
|
|
3032
|
+
"text": "string | null"
|
|
3180
3033
|
},
|
|
3181
|
-
"
|
|
3182
|
-
"inheritedFrom": {
|
|
3183
|
-
"name": "Accordion",
|
|
3184
|
-
"module": "src/accordion/accordion.ts"
|
|
3185
|
-
}
|
|
3034
|
+
"default": "null"
|
|
3186
3035
|
},
|
|
3187
3036
|
{
|
|
3188
3037
|
"kind": "field",
|
|
3189
|
-
"name": "
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
}
|
|
3038
|
+
"name": "activeGroups",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "CriteriaGroup[]"
|
|
3041
|
+
},
|
|
3042
|
+
"default": "[]"
|
|
3195
3043
|
},
|
|
3196
3044
|
{
|
|
3197
|
-
"kind": "
|
|
3198
|
-
"name": "
|
|
3199
|
-
"
|
|
3200
|
-
|
|
3201
|
-
"type": {
|
|
3202
|
-
"text": "AccordionItem | null"
|
|
3203
|
-
}
|
|
3045
|
+
"kind": "field",
|
|
3046
|
+
"name": "showingChips",
|
|
3047
|
+
"type": {
|
|
3048
|
+
"text": "boolean"
|
|
3204
3049
|
},
|
|
3205
|
-
"
|
|
3206
|
-
"name": "Accordion",
|
|
3207
|
-
"module": "src/accordion/accordion.ts"
|
|
3208
|
-
}
|
|
3050
|
+
"default": "false"
|
|
3209
3051
|
},
|
|
3210
3052
|
{
|
|
3211
3053
|
"kind": "field",
|
|
3212
|
-
"name": "
|
|
3213
|
-
"
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
}
|
|
3054
|
+
"name": "fieldMetadata",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "MetadataDetail[] | string[]"
|
|
3057
|
+
},
|
|
3058
|
+
"default": "[]"
|
|
3218
3059
|
},
|
|
3219
3060
|
{
|
|
3220
|
-
"kind": "
|
|
3221
|
-
"name": "
|
|
3222
|
-
"
|
|
3223
|
-
|
|
3224
|
-
"type": {
|
|
3225
|
-
"text": "void"
|
|
3226
|
-
}
|
|
3061
|
+
"kind": "field",
|
|
3062
|
+
"name": "isRecording",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"text": "boolean"
|
|
3227
3065
|
},
|
|
3228
|
-
"
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3066
|
+
"default": "false"
|
|
3232
3067
|
},
|
|
3233
3068
|
{
|
|
3234
3069
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3070
|
+
"name": "textAreaRef",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"text": "HTMLTextAreaElement"
|
|
3073
|
+
},
|
|
3074
|
+
"privacy": "public"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "field",
|
|
3078
|
+
"name": "stopRecording",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "(() => void) | null"
|
|
3081
|
+
},
|
|
3236
3082
|
"privacy": "private",
|
|
3237
|
-
"
|
|
3238
|
-
"name": "Accordion",
|
|
3239
|
-
"module": "src/accordion/accordion.ts"
|
|
3240
|
-
}
|
|
3083
|
+
"default": "null"
|
|
3241
3084
|
},
|
|
3242
3085
|
{
|
|
3243
3086
|
"kind": "field",
|
|
3244
|
-
"name": "
|
|
3087
|
+
"name": "speechApplyDebounceTimer",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3090
|
+
},
|
|
3245
3091
|
"privacy": "private",
|
|
3246
|
-
"
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3092
|
+
"default": "null"
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"kind": "field",
|
|
3096
|
+
"name": "speechAvailable",
|
|
3097
|
+
"type": {
|
|
3098
|
+
"text": "boolean"
|
|
3099
|
+
},
|
|
3100
|
+
"readonly": true
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
"kind": "field",
|
|
3104
|
+
"name": "criteriaChips",
|
|
3105
|
+
"type": {
|
|
3106
|
+
"text": "CriteriaChip[]"
|
|
3107
|
+
},
|
|
3108
|
+
"readonly": true
|
|
3250
3109
|
},
|
|
3251
3110
|
{
|
|
3252
3111
|
"kind": "method",
|
|
3253
|
-
"name": "
|
|
3112
|
+
"name": "getFieldLabel",
|
|
3254
3113
|
"privacy": "private",
|
|
3255
3114
|
"return": {
|
|
3256
3115
|
"type": {
|
|
3257
|
-
"text": "
|
|
3116
|
+
"text": "string"
|
|
3258
3117
|
}
|
|
3259
3118
|
},
|
|
3260
|
-
"
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3119
|
+
"parameters": [
|
|
3120
|
+
{
|
|
3121
|
+
"name": "fieldName",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "string"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3264
3127
|
},
|
|
3265
3128
|
{
|
|
3266
3129
|
"kind": "method",
|
|
3267
|
-
"name": "
|
|
3268
|
-
"privacy": "private",
|
|
3130
|
+
"name": "toggleCriteriaView",
|
|
3269
3131
|
"return": {
|
|
3270
3132
|
"type": {
|
|
3271
|
-
"text": "
|
|
3133
|
+
"text": "void"
|
|
3272
3134
|
}
|
|
3273
|
-
},
|
|
3274
|
-
"inheritedFrom": {
|
|
3275
|
-
"name": "Accordion",
|
|
3276
|
-
"module": "src/accordion/accordion.ts"
|
|
3277
|
-
}
|
|
3278
|
-
},
|
|
3279
|
-
{
|
|
3280
|
-
"kind": "field",
|
|
3281
|
-
"name": "handleItemKeyDown",
|
|
3282
|
-
"privacy": "private",
|
|
3283
|
-
"inheritedFrom": {
|
|
3284
|
-
"name": "Accordion",
|
|
3285
|
-
"module": "src/accordion/accordion.ts"
|
|
3286
|
-
}
|
|
3287
|
-
},
|
|
3288
|
-
{
|
|
3289
|
-
"kind": "field",
|
|
3290
|
-
"name": "handleItemFocus",
|
|
3291
|
-
"privacy": "private",
|
|
3292
|
-
"inheritedFrom": {
|
|
3293
|
-
"name": "Accordion",
|
|
3294
|
-
"module": "src/accordion/accordion.ts"
|
|
3295
3135
|
}
|
|
3296
3136
|
},
|
|
3297
3137
|
{
|
|
3298
3138
|
"kind": "method",
|
|
3299
|
-
"name": "
|
|
3300
|
-
"privacy": "private",
|
|
3139
|
+
"name": "removeChip",
|
|
3301
3140
|
"return": {
|
|
3302
3141
|
"type": {
|
|
3303
3142
|
"text": "void"
|
|
@@ -3305,31 +3144,49 @@
|
|
|
3305
3144
|
},
|
|
3306
3145
|
"parameters": [
|
|
3307
3146
|
{
|
|
3308
|
-
"name": "
|
|
3147
|
+
"name": "groupIndex",
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "number"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "clauseIndex",
|
|
3309
3154
|
"type": {
|
|
3310
3155
|
"text": "number"
|
|
3311
3156
|
}
|
|
3312
3157
|
}
|
|
3313
|
-
]
|
|
3314
|
-
"inheritedFrom": {
|
|
3315
|
-
"name": "Accordion",
|
|
3316
|
-
"module": "src/accordion/accordion.ts"
|
|
3317
|
-
}
|
|
3158
|
+
]
|
|
3318
3159
|
},
|
|
3319
3160
|
{
|
|
3320
3161
|
"kind": "method",
|
|
3321
|
-
"name": "
|
|
3322
|
-
"privacy": "private",
|
|
3162
|
+
"name": "clearChips",
|
|
3323
3163
|
"return": {
|
|
3324
3164
|
"type": {
|
|
3325
3165
|
"text": "void"
|
|
3326
3166
|
}
|
|
3327
|
-
},
|
|
3328
|
-
"inheritedFrom": {
|
|
3329
|
-
"name": "Accordion",
|
|
3330
|
-
"module": "src/accordion/accordion.ts"
|
|
3331
3167
|
}
|
|
3332
3168
|
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "method",
|
|
3171
|
+
"name": "handleSubmit"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "method",
|
|
3175
|
+
"name": "handleBlur"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"kind": "method",
|
|
3179
|
+
"name": "clear"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "method",
|
|
3183
|
+
"name": "toggleSpeechInput"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "method",
|
|
3187
|
+
"name": "clearSpeechApplyDebounce",
|
|
3188
|
+
"privacy": "private"
|
|
3189
|
+
},
|
|
3333
3190
|
{
|
|
3334
3191
|
"kind": "field",
|
|
3335
3192
|
"name": "_presentation",
|
|
@@ -3444,26 +3301,48 @@
|
|
|
3444
3301
|
],
|
|
3445
3302
|
"events": [
|
|
3446
3303
|
{
|
|
3447
|
-
"description": "
|
|
3448
|
-
"name": "
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3304
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3305
|
+
"name": "criteria-changed"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3309
|
+
"name": "validation-errors"
|
|
3453
3310
|
}
|
|
3454
|
-
]
|
|
3311
|
+
],
|
|
3312
|
+
"attributes": [
|
|
3313
|
+
{
|
|
3314
|
+
"name": "placeholder",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "string"
|
|
3317
|
+
},
|
|
3318
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3319
|
+
"fieldName": "placeholder"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"fieldName": "disabled"
|
|
3326
|
+
}
|
|
3327
|
+
],
|
|
3328
|
+
"superclass": {
|
|
3329
|
+
"name": "FoundationElement",
|
|
3330
|
+
"package": "@microsoft/fast-foundation"
|
|
3331
|
+
},
|
|
3332
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3333
|
+
"customElement": true
|
|
3455
3334
|
},
|
|
3456
3335
|
{
|
|
3457
3336
|
"kind": "variable",
|
|
3458
|
-
"name": "
|
|
3337
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3459
3338
|
"type": {
|
|
3460
3339
|
"text": "ShadowRootInit"
|
|
3461
3340
|
},
|
|
3462
|
-
"default": "
|
|
3341
|
+
"default": "undefined"
|
|
3463
3342
|
},
|
|
3464
3343
|
{
|
|
3465
3344
|
"kind": "variable",
|
|
3466
|
-
"name": "
|
|
3345
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3467
3346
|
"type": {
|
|
3468
3347
|
"text": "object"
|
|
3469
3348
|
},
|
|
@@ -3471,57 +3350,103 @@
|
|
|
3471
3350
|
},
|
|
3472
3351
|
{
|
|
3473
3352
|
"kind": "variable",
|
|
3474
|
-
"name": "
|
|
3475
|
-
"description": "The Foundation Accordion",
|
|
3476
|
-
"privacy": "public"
|
|
3353
|
+
"name": "foundationAiCriteriaSearch"
|
|
3477
3354
|
}
|
|
3478
3355
|
],
|
|
3479
3356
|
"exports": [
|
|
3480
3357
|
{
|
|
3481
3358
|
"kind": "js",
|
|
3482
|
-
"name": "
|
|
3359
|
+
"name": "AiCriteriaSearch",
|
|
3483
3360
|
"declaration": {
|
|
3484
|
-
"name": "
|
|
3485
|
-
"module": "src/
|
|
3361
|
+
"name": "AiCriteriaSearch",
|
|
3362
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3486
3363
|
}
|
|
3487
3364
|
},
|
|
3488
3365
|
{
|
|
3489
3366
|
"kind": "js",
|
|
3490
|
-
"name": "
|
|
3367
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3491
3368
|
"declaration": {
|
|
3492
|
-
"name": "
|
|
3493
|
-
"module": "src/
|
|
3369
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3494
3371
|
}
|
|
3495
3372
|
},
|
|
3496
3373
|
{
|
|
3497
3374
|
"kind": "js",
|
|
3498
|
-
"name": "
|
|
3375
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3499
3376
|
"declaration": {
|
|
3500
|
-
"name": "
|
|
3501
|
-
"module": "src/
|
|
3377
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3378
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3502
3379
|
}
|
|
3503
3380
|
},
|
|
3504
3381
|
{
|
|
3505
3382
|
"kind": "js",
|
|
3506
|
-
"name": "
|
|
3383
|
+
"name": "foundationAiCriteriaSearch",
|
|
3507
3384
|
"declaration": {
|
|
3508
|
-
"name": "
|
|
3509
|
-
"module": "src/
|
|
3385
|
+
"name": "foundationAiCriteriaSearch",
|
|
3386
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3510
3387
|
}
|
|
3511
3388
|
}
|
|
3512
3389
|
]
|
|
3513
3390
|
},
|
|
3514
3391
|
{
|
|
3515
3392
|
"kind": "javascript-module",
|
|
3516
|
-
"path": "src/
|
|
3393
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3517
3394
|
"declarations": [],
|
|
3518
3395
|
"exports": [
|
|
3396
|
+
{
|
|
3397
|
+
"kind": "js",
|
|
3398
|
+
"name": "AiCriteriaSearch",
|
|
3399
|
+
"declaration": {
|
|
3400
|
+
"name": "AiCriteriaSearch",
|
|
3401
|
+
"module": "./ai-criteria-search"
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "js",
|
|
3406
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
+
"declaration": {
|
|
3408
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
+
"module": "./ai-criteria-search"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"kind": "js",
|
|
3414
|
+
"name": "foundationAiCriteriaSearch",
|
|
3415
|
+
"declaration": {
|
|
3416
|
+
"name": "foundationAiCriteriaSearch",
|
|
3417
|
+
"module": "./ai-criteria-search"
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"kind": "js",
|
|
3422
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
|
+
"declaration": {
|
|
3424
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
+
"module": "./ai-criteria-search"
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"kind": "js",
|
|
3430
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3431
|
+
"declaration": {
|
|
3432
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
+
"module": "./ai-criteria-search.styles"
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"kind": "js",
|
|
3438
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3439
|
+
"declaration": {
|
|
3440
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
+
"module": "./ai-criteria-search.template"
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3519
3444
|
{
|
|
3520
3445
|
"kind": "js",
|
|
3521
3446
|
"name": "*",
|
|
3522
3447
|
"declaration": {
|
|
3523
3448
|
"name": "*",
|
|
3524
|
-
"package": "./
|
|
3449
|
+
"package": "./validation/criteria-ir"
|
|
3525
3450
|
}
|
|
3526
3451
|
},
|
|
3527
3452
|
{
|
|
@@ -3529,7 +3454,7 @@
|
|
|
3529
3454
|
"name": "*",
|
|
3530
3455
|
"declaration": {
|
|
3531
3456
|
"name": "*",
|
|
3532
|
-
"package": "./
|
|
3457
|
+
"package": "./validation/operator-map"
|
|
3533
3458
|
}
|
|
3534
3459
|
},
|
|
3535
3460
|
{
|
|
@@ -3537,7 +3462,82 @@
|
|
|
3537
3462
|
"name": "*",
|
|
3538
3463
|
"declaration": {
|
|
3539
3464
|
"name": "*",
|
|
3540
|
-
"package": "./
|
|
3465
|
+
"package": "./validation/schema-validator"
|
|
3466
|
+
}
|
|
3467
|
+
}
|
|
3468
|
+
]
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"kind": "javascript-module",
|
|
3472
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3473
|
+
"declarations": [
|
|
3474
|
+
{
|
|
3475
|
+
"kind": "function",
|
|
3476
|
+
"name": "formatValidationErrors",
|
|
3477
|
+
"return": {
|
|
3478
|
+
"type": {
|
|
3479
|
+
"text": "string"
|
|
3480
|
+
}
|
|
3481
|
+
},
|
|
3482
|
+
"parameters": [
|
|
3483
|
+
{
|
|
3484
|
+
"name": "errors",
|
|
3485
|
+
"type": {
|
|
3486
|
+
"text": "ValidationError[]"
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "function",
|
|
3494
|
+
"name": "showCriteriaError",
|
|
3495
|
+
"return": {
|
|
3496
|
+
"type": {
|
|
3497
|
+
"text": "void"
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"parameters": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "title",
|
|
3503
|
+
"type": {
|
|
3504
|
+
"text": "string"
|
|
3505
|
+
},
|
|
3506
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"name": "body",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "string"
|
|
3512
|
+
},
|
|
3513
|
+
"description": "Error message to display"
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "tagName",
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "string"
|
|
3519
|
+
},
|
|
3520
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3521
|
+
}
|
|
3522
|
+
],
|
|
3523
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3524
|
+
}
|
|
3525
|
+
],
|
|
3526
|
+
"exports": [
|
|
3527
|
+
{
|
|
3528
|
+
"kind": "js",
|
|
3529
|
+
"name": "formatValidationErrors",
|
|
3530
|
+
"declaration": {
|
|
3531
|
+
"name": "formatValidationErrors",
|
|
3532
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
+
}
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"kind": "js",
|
|
3537
|
+
"name": "showCriteriaError",
|
|
3538
|
+
"declaration": {
|
|
3539
|
+
"name": "showCriteriaError",
|
|
3540
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
]
|
|
@@ -28711,6 +28711,23 @@
|
|
|
28711
28711
|
}
|
|
28712
28712
|
}
|
|
28713
28713
|
]
|
|
28714
|
+
},
|
|
28715
|
+
{
|
|
28716
|
+
"kind": "variable",
|
|
28717
|
+
"name": "iconTooltipPortalClassName",
|
|
28718
|
+
"type": {
|
|
28719
|
+
"text": "string"
|
|
28720
|
+
},
|
|
28721
|
+
"default": "'foundation-icon-tooltip'",
|
|
28722
|
+
"description": "Class name marking icon tooltips portaled to `document.body`.",
|
|
28723
|
+
"privacy": "public"
|
|
28724
|
+
},
|
|
28725
|
+
{
|
|
28726
|
+
"kind": "variable",
|
|
28727
|
+
"name": "iconTooltipPortalStyles",
|
|
28728
|
+
"default": "`\n .${iconTooltipPortalClassName} {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 999;\n width: 300px;\n contain: unset;\n }\n\n .${iconTooltipPortalClassName}::part(tooltip) {\n padding: calc(var(--design-unit) * 4px);\n background-color: color-mix(in srgb, var(--neutral-layer-4), #000 10%);\n border: 1px solid var(--neutral-layer-3);\n text-align: left;\n color: var(--neutral-foreground-hint);\n box-shadow: 0 4px 10px rgb(0 0 0 / 35%);\n font-size: var(--type-ramp-minus-1-font-size);\n }\n\n .${iconTooltipPortalClassName} .tooltip-title {\n color: var(--neutral-fill-strong-hover);\n margin: 0;\n }\n\n .${iconTooltipPortalClassName} .tooltip-description {\n margin-top: calc(var(--design-unit) * 2px);\n margin-bottom: 0;\n font-size: var(--type-ramp-base-font-size);\n }\n\n .${iconTooltipPortalClassName} .tooltip-second-title-margin {\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .${iconTooltipPortalClassName} .tooltip-list-padding {\n margin: 0;\n padding: 0 0 0 calc(var(--design-unit) * 4px);\n }\n\n .${iconTooltipPortalClassName} a,\n .${iconTooltipPortalClassName} a:active,\n .${iconTooltipPortalClassName} a:visited {\n color: var(--accent-foreground-rest);\n text-decoration: none;\n }\n\n .${iconTooltipPortalClassName} .warning {\n background: var(--warning-color);\n color: #000;\n }\n\n .${iconTooltipPortalClassName} .info {\n margin-top: calc(var(--design-unit) * 2px);\n padding: 20px;\n margin-bottom: 20px;\n height: auto;\n box-sizing: border-box;\n }\n`",
|
|
28729
|
+
"description": "Document-level styles for icon tooltips. The icon portals its tooltip element to\n`document.body` (so it cannot be painted over by absolutely-positioned siblings of\nits host, e.g. virtualized grid rows), which places the tooltip and its content\noutside the icon's shadow root — these rules therefore target it from the document.",
|
|
28730
|
+
"privacy": "public"
|
|
28714
28731
|
}
|
|
28715
28732
|
],
|
|
28716
28733
|
"exports": [
|
|
@@ -28721,6 +28738,22 @@
|
|
|
28721
28738
|
"name": "foundationIconStyles",
|
|
28722
28739
|
"module": "src/icon/icon.styles.ts"
|
|
28723
28740
|
}
|
|
28741
|
+
},
|
|
28742
|
+
{
|
|
28743
|
+
"kind": "js",
|
|
28744
|
+
"name": "iconTooltipPortalClassName",
|
|
28745
|
+
"declaration": {
|
|
28746
|
+
"name": "iconTooltipPortalClassName",
|
|
28747
|
+
"module": "src/icon/icon.styles.ts"
|
|
28748
|
+
}
|
|
28749
|
+
},
|
|
28750
|
+
{
|
|
28751
|
+
"kind": "js",
|
|
28752
|
+
"name": "iconTooltipPortalStyles",
|
|
28753
|
+
"declaration": {
|
|
28754
|
+
"name": "iconTooltipPortalStyles",
|
|
28755
|
+
"module": "src/icon/icon.styles.ts"
|
|
28756
|
+
}
|
|
28724
28757
|
}
|
|
28725
28758
|
]
|
|
28726
28759
|
},
|
|
@@ -28839,6 +28872,10 @@
|
|
|
28839
28872
|
"text": "string"
|
|
28840
28873
|
}
|
|
28841
28874
|
},
|
|
28875
|
+
{
|
|
28876
|
+
"kind": "method",
|
|
28877
|
+
"name": "tooltipChanged"
|
|
28878
|
+
},
|
|
28842
28879
|
{
|
|
28843
28880
|
"kind": "field",
|
|
28844
28881
|
"name": "isError",
|
|
@@ -28847,6 +28884,16 @@
|
|
|
28847
28884
|
},
|
|
28848
28885
|
"default": "false"
|
|
28849
28886
|
},
|
|
28887
|
+
{
|
|
28888
|
+
"kind": "field",
|
|
28889
|
+
"name": "tooltipElement",
|
|
28890
|
+
"type": {
|
|
28891
|
+
"text": "Tooltip | null"
|
|
28892
|
+
},
|
|
28893
|
+
"privacy": "private",
|
|
28894
|
+
"default": "null",
|
|
28895
|
+
"description": "The tooltip element is portaled to `document.body` rather than rendered inside this\ncomponent. In place, it inherits the stacking context of whatever hosts the icon — in\nvirtualized lists (e.g. AG Grid rows are absolutely-positioned, transformed siblings)\nthe next sibling paints over the tooltip no matter its z-index. The host is positioned\nfrom the anchor's `getBoundingClientRect()` (see Icon.positionTooltipElement);\nthe tooltip's internal anchored region cannot be relied on for placement because\n`tagFor(AnchoredRegion)` does not resolve for the subclassed genesis components."
|
|
28896
|
+
},
|
|
28850
28897
|
{
|
|
28851
28898
|
"kind": "field",
|
|
28852
28899
|
"name": "name",
|
|
@@ -28933,6 +28980,21 @@
|
|
|
28933
28980
|
"name": "loadIcon",
|
|
28934
28981
|
"privacy": "public"
|
|
28935
28982
|
},
|
|
28983
|
+
{
|
|
28984
|
+
"kind": "method",
|
|
28985
|
+
"name": "ensureTooltipElement",
|
|
28986
|
+
"privacy": "private"
|
|
28987
|
+
},
|
|
28988
|
+
{
|
|
28989
|
+
"kind": "field",
|
|
28990
|
+
"name": "positionTooltipElement",
|
|
28991
|
+
"privacy": "private"
|
|
28992
|
+
},
|
|
28993
|
+
{
|
|
28994
|
+
"kind": "method",
|
|
28995
|
+
"name": "removeTooltipElement",
|
|
28996
|
+
"privacy": "private"
|
|
28997
|
+
},
|
|
28936
28998
|
{
|
|
28937
28999
|
"kind": "field",
|
|
28938
29000
|
"name": "_presentation",
|