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