@genesislcap/foundation-ui 15.3.2 → 15.3.3-alpha-4899ddd.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 +1057 -1057
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +9 -9
- package/package.json +19 -19
|
@@ -1424,34 +1424,42 @@
|
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
1426
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
1428
|
-
"declarations": [
|
|
1427
|
+
"path": "src/_config/index.ts",
|
|
1428
|
+
"declarations": [],
|
|
1429
|
+
"exports": [
|
|
1429
1430
|
{
|
|
1430
|
-
"kind": "
|
|
1431
|
-
"name": "
|
|
1432
|
-
"
|
|
1433
|
-
"
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
},
|
|
1437
|
-
"parameters": [
|
|
1438
|
-
{
|
|
1439
|
-
"name": "context",
|
|
1440
|
-
"type": {
|
|
1441
|
-
"text": "ElementDefinitionContext"
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
"name": "definition",
|
|
1446
|
-
"type": {
|
|
1447
|
-
"text": "FoundationElementDefinition"
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
]
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "*",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "*",
|
|
1435
|
+
"package": "./styles"
|
|
1436
|
+
}
|
|
1451
1437
|
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "*",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "*",
|
|
1443
|
+
"package": "./tokens"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"kind": "js",
|
|
1448
|
+
"name": "*",
|
|
1449
|
+
"declaration": {
|
|
1450
|
+
"name": "*",
|
|
1451
|
+
"package": "./values"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"kind": "javascript-module",
|
|
1458
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1459
|
+
"declarations": [
|
|
1452
1460
|
{
|
|
1453
1461
|
"kind": "function",
|
|
1454
|
-
"name": "
|
|
1462
|
+
"name": "foundationAccordionItemStyles",
|
|
1455
1463
|
"return": {
|
|
1456
1464
|
"type": {
|
|
1457
1465
|
"text": "ElementStyles"
|
|
@@ -1476,320 +1484,195 @@
|
|
|
1476
1484
|
"exports": [
|
|
1477
1485
|
{
|
|
1478
1486
|
"kind": "js",
|
|
1479
|
-
"name": "
|
|
1480
|
-
"declaration": {
|
|
1481
|
-
"name": "actionsMenuBaseStyles",
|
|
1482
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
"kind": "js",
|
|
1487
|
-
"name": "foundationActionsMenuStyles",
|
|
1487
|
+
"name": "foundationAccordionItemStyles",
|
|
1488
1488
|
"declaration": {
|
|
1489
|
-
"name": "
|
|
1490
|
-
"module": "src/
|
|
1489
|
+
"name": "foundationAccordionItemStyles",
|
|
1490
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
1493
1493
|
]
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
1496
|
"kind": "javascript-module",
|
|
1497
|
-
"path": "src/
|
|
1497
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1498
1498
|
"declarations": [
|
|
1499
1499
|
{
|
|
1500
1500
|
"kind": "function",
|
|
1501
|
-
"name": "
|
|
1501
|
+
"name": "foundationAccordionItemTemplate",
|
|
1502
|
+
"return": {
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1502
1507
|
"parameters": [
|
|
1503
1508
|
{
|
|
1504
|
-
"name": "
|
|
1509
|
+
"name": "context",
|
|
1505
1510
|
"type": {
|
|
1506
|
-
"text": "
|
|
1511
|
+
"text": "ElementDefinitionContext"
|
|
1507
1512
|
}
|
|
1508
|
-
}
|
|
1509
|
-
]
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"kind": "function",
|
|
1513
|
-
"name": "singleOptionTemplate",
|
|
1514
|
-
"parameters": [
|
|
1513
|
+
},
|
|
1515
1514
|
{
|
|
1516
|
-
"name": "
|
|
1515
|
+
"name": "definition",
|
|
1517
1516
|
"type": {
|
|
1518
|
-
"text": "
|
|
1517
|
+
"text": "FoundationElementDefinition"
|
|
1519
1518
|
}
|
|
1520
1519
|
}
|
|
1521
1520
|
]
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"kind": "variable",
|
|
1525
|
-
"name": "foundationActionsMenuTemplate",
|
|
1526
|
-
"type": {
|
|
1527
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1528
|
-
},
|
|
1529
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1530
1521
|
}
|
|
1531
1522
|
],
|
|
1532
1523
|
"exports": [
|
|
1533
1524
|
{
|
|
1534
1525
|
"kind": "js",
|
|
1535
|
-
"name": "
|
|
1536
|
-
"declaration": {
|
|
1537
|
-
"name": "menuTemplate",
|
|
1538
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1539
|
-
}
|
|
1540
|
-
},
|
|
1541
|
-
{
|
|
1542
|
-
"kind": "js",
|
|
1543
|
-
"name": "singleOptionTemplate",
|
|
1544
|
-
"declaration": {
|
|
1545
|
-
"name": "singleOptionTemplate",
|
|
1546
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1547
|
-
}
|
|
1548
|
-
},
|
|
1549
|
-
{
|
|
1550
|
-
"kind": "js",
|
|
1551
|
-
"name": "foundationActionsMenuTemplate",
|
|
1526
|
+
"name": "foundationAccordionItemTemplate",
|
|
1552
1527
|
"declaration": {
|
|
1553
|
-
"name": "
|
|
1554
|
-
"module": "src/
|
|
1528
|
+
"name": "foundationAccordionItemTemplate",
|
|
1529
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1555
1530
|
}
|
|
1556
1531
|
}
|
|
1557
1532
|
]
|
|
1558
1533
|
},
|
|
1559
1534
|
{
|
|
1560
1535
|
"kind": "javascript-module",
|
|
1561
|
-
"path": "src/
|
|
1536
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1562
1537
|
"declarations": [
|
|
1563
1538
|
{
|
|
1564
1539
|
"kind": "class",
|
|
1565
1540
|
"description": "",
|
|
1566
|
-
"name": "
|
|
1567
|
-
"
|
|
1541
|
+
"name": "AccordionItem",
|
|
1542
|
+
"superclass": {
|
|
1543
|
+
"name": "FASTAccordionItem",
|
|
1544
|
+
"package": "@microsoft/fast-components"
|
|
1545
|
+
},
|
|
1546
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1547
|
+
"customElement": true,
|
|
1548
|
+
"attributes": [
|
|
1568
1549
|
{
|
|
1569
|
-
"
|
|
1570
|
-
"name": "actions",
|
|
1550
|
+
"name": "heading-level",
|
|
1571
1551
|
"type": {
|
|
1572
|
-
"text": "
|
|
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"
|
|
1573
1560
|
}
|
|
1574
1561
|
},
|
|
1575
1562
|
{
|
|
1576
|
-
"kind": "field",
|
|
1577
|
-
"name": "isVertical",
|
|
1578
1563
|
"type": {
|
|
1579
1564
|
"text": "boolean"
|
|
1580
1565
|
},
|
|
1581
|
-
"default": "false"
|
|
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
|
+
}
|
|
1582
1573
|
},
|
|
1583
1574
|
{
|
|
1584
|
-
"
|
|
1585
|
-
"name": "addDefaultActions",
|
|
1575
|
+
"name": "id",
|
|
1586
1576
|
"type": {
|
|
1587
|
-
"text": "
|
|
1577
|
+
"text": "string"
|
|
1588
1578
|
},
|
|
1589
|
-
"
|
|
1590
|
-
|
|
1579
|
+
"description": "The item ID",
|
|
1580
|
+
"fieldName": "id",
|
|
1581
|
+
"inheritedFrom": {
|
|
1582
|
+
"name": "AccordionItem",
|
|
1583
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
],
|
|
1587
|
+
"members": [
|
|
1591
1588
|
{
|
|
1592
1589
|
"kind": "field",
|
|
1593
|
-
"name": "
|
|
1590
|
+
"name": "headinglevel",
|
|
1594
1591
|
"type": {
|
|
1595
|
-
"text": "
|
|
1592
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1596
1593
|
},
|
|
1597
|
-
"
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
"
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
"text": "string"
|
|
1594
|
+
"privacy": "public",
|
|
1595
|
+
"default": "2",
|
|
1596
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1597
|
+
"inheritedFrom": {
|
|
1598
|
+
"name": "AccordionItem",
|
|
1599
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1604
1600
|
}
|
|
1605
1601
|
},
|
|
1606
1602
|
{
|
|
1607
1603
|
"kind": "field",
|
|
1608
|
-
"name": "
|
|
1604
|
+
"name": "expanded",
|
|
1609
1605
|
"type": {
|
|
1610
|
-
"text": "
|
|
1606
|
+
"text": "boolean"
|
|
1607
|
+
},
|
|
1608
|
+
"privacy": "public",
|
|
1609
|
+
"default": "false",
|
|
1610
|
+
"description": "Expands or collapses the item.",
|
|
1611
|
+
"inheritedFrom": {
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1611
1614
|
}
|
|
1612
1615
|
},
|
|
1613
1616
|
{
|
|
1614
1617
|
"kind": "field",
|
|
1615
|
-
"name": "
|
|
1618
|
+
"name": "id",
|
|
1616
1619
|
"type": {
|
|
1617
1620
|
"text": "string"
|
|
1618
1621
|
},
|
|
1619
|
-
"
|
|
1622
|
+
"privacy": "public",
|
|
1623
|
+
"description": "The item ID",
|
|
1624
|
+
"inheritedFrom": {
|
|
1625
|
+
"name": "AccordionItem",
|
|
1626
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1627
|
+
}
|
|
1620
1628
|
},
|
|
1621
1629
|
{
|
|
1622
1630
|
"kind": "field",
|
|
1623
|
-
"name": "
|
|
1624
|
-
"
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1631
|
+
"name": "change",
|
|
1632
|
+
"privacy": "private",
|
|
1633
|
+
"inheritedFrom": {
|
|
1634
|
+
"name": "AccordionItem",
|
|
1635
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1636
|
+
}
|
|
1628
1637
|
},
|
|
1629
1638
|
{
|
|
1630
1639
|
"kind": "field",
|
|
1631
|
-
"name": "
|
|
1640
|
+
"name": "_presentation",
|
|
1632
1641
|
"type": {
|
|
1633
|
-
"text": "
|
|
1642
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1643
|
+
},
|
|
1644
|
+
"privacy": "private",
|
|
1645
|
+
"default": "void 0",
|
|
1646
|
+
"inheritedFrom": {
|
|
1647
|
+
"name": "FoundationElement",
|
|
1648
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1634
1649
|
}
|
|
1635
1650
|
},
|
|
1636
1651
|
{
|
|
1637
1652
|
"kind": "field",
|
|
1638
|
-
"name": "
|
|
1653
|
+
"name": "$presentation",
|
|
1639
1654
|
"type": {
|
|
1640
|
-
"text": "
|
|
1655
|
+
"text": "ComponentPresentation | null"
|
|
1641
1656
|
},
|
|
1642
|
-
"
|
|
1657
|
+
"privacy": "public",
|
|
1658
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1659
|
+
"inheritedFrom": {
|
|
1660
|
+
"name": "FoundationElement",
|
|
1661
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1662
|
+
}
|
|
1643
1663
|
},
|
|
1644
1664
|
{
|
|
1645
1665
|
"kind": "field",
|
|
1646
|
-
"name": "
|
|
1666
|
+
"name": "template",
|
|
1647
1667
|
"type": {
|
|
1648
|
-
"text": "
|
|
1668
|
+
"text": "ElementViewTemplate | void | null"
|
|
1649
1669
|
},
|
|
1650
|
-
"
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
"text": "ActionMenuItem"
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
|
-
{
|
|
1660
|
-
"kind": "field",
|
|
1661
|
-
"name": "actionsMenu",
|
|
1662
|
-
"type": {
|
|
1663
|
-
"text": "HTMLElement"
|
|
1664
|
-
}
|
|
1665
|
-
},
|
|
1666
|
-
{
|
|
1667
|
-
"kind": "field",
|
|
1668
|
-
"name": "actionsOpener",
|
|
1669
|
-
"type": {
|
|
1670
|
-
"text": "HTMLElement"
|
|
1671
|
-
}
|
|
1672
|
-
},
|
|
1673
|
-
{
|
|
1674
|
-
"kind": "method",
|
|
1675
|
-
"name": "updateMenuPosition",
|
|
1676
|
-
"privacy": "private"
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
"kind": "method",
|
|
1680
|
-
"name": "definitionChanged",
|
|
1681
|
-
"privacy": "protected",
|
|
1682
|
-
"parameters": [
|
|
1683
|
-
{
|
|
1684
|
-
"name": "oldValue",
|
|
1685
|
-
"type": {
|
|
1686
|
-
"text": "any"
|
|
1687
|
-
}
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
"name": "newValue",
|
|
1691
|
-
"type": {
|
|
1692
|
-
"text": "any"
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
]
|
|
1696
|
-
},
|
|
1697
|
-
{
|
|
1698
|
-
"kind": "method",
|
|
1699
|
-
"name": "openChanged",
|
|
1700
|
-
"privacy": "protected"
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"kind": "method",
|
|
1704
|
-
"name": "toggleActionsMenuVisibility"
|
|
1705
|
-
},
|
|
1706
|
-
{
|
|
1707
|
-
"kind": "method",
|
|
1708
|
-
"name": "onActionMenuItemClick",
|
|
1709
|
-
"parameters": [
|
|
1710
|
-
{
|
|
1711
|
-
"name": "callback",
|
|
1712
|
-
"type": {
|
|
1713
|
-
"text": "(rowData) => void | any"
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
]
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "field",
|
|
1720
|
-
"name": "allActions",
|
|
1721
|
-
"type": {
|
|
1722
|
-
"text": "ActionMenuItem[]"
|
|
1723
|
-
},
|
|
1724
|
-
"readonly": true
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
"kind": "field",
|
|
1728
|
-
"name": "rowData",
|
|
1729
|
-
"readonly": true
|
|
1730
|
-
},
|
|
1731
|
-
{
|
|
1732
|
-
"kind": "method",
|
|
1733
|
-
"name": "getLabel",
|
|
1734
|
-
"parameters": [
|
|
1735
|
-
{
|
|
1736
|
-
"name": "name",
|
|
1737
|
-
"type": {
|
|
1738
|
-
"text": "string | ((rowData: any) => string)"
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
]
|
|
1742
|
-
},
|
|
1743
|
-
{
|
|
1744
|
-
"kind": "method",
|
|
1745
|
-
"name": "getTemplate",
|
|
1746
|
-
"parameters": [
|
|
1747
|
-
{
|
|
1748
|
-
"name": "prefix",
|
|
1749
|
-
"type": {
|
|
1750
|
-
"text": "string"
|
|
1751
|
-
}
|
|
1752
|
-
}
|
|
1753
|
-
]
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
"kind": "field",
|
|
1757
|
-
"name": "_presentation",
|
|
1758
|
-
"type": {
|
|
1759
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1760
|
-
},
|
|
1761
|
-
"privacy": "private",
|
|
1762
|
-
"default": "void 0",
|
|
1763
|
-
"inheritedFrom": {
|
|
1764
|
-
"name": "FoundationElement",
|
|
1765
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1766
|
-
}
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"kind": "field",
|
|
1770
|
-
"name": "$presentation",
|
|
1771
|
-
"type": {
|
|
1772
|
-
"text": "ComponentPresentation | null"
|
|
1773
|
-
},
|
|
1774
|
-
"privacy": "public",
|
|
1775
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1776
|
-
"inheritedFrom": {
|
|
1777
|
-
"name": "FoundationElement",
|
|
1778
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1779
|
-
}
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"kind": "field",
|
|
1783
|
-
"name": "template",
|
|
1784
|
-
"type": {
|
|
1785
|
-
"text": "ElementViewTemplate | void | null"
|
|
1786
|
-
},
|
|
1787
|
-
"privacy": "public",
|
|
1788
|
-
"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.",
|
|
1789
|
-
"inheritedFrom": {
|
|
1790
|
-
"name": "FoundationElement",
|
|
1791
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1792
|
-
}
|
|
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.",
|
|
1672
|
+
"inheritedFrom": {
|
|
1673
|
+
"name": "FoundationElement",
|
|
1674
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1675
|
+
}
|
|
1793
1676
|
},
|
|
1794
1677
|
{
|
|
1795
1678
|
"kind": "method",
|
|
@@ -1864,138 +1747,78 @@
|
|
|
1864
1747
|
}
|
|
1865
1748
|
}
|
|
1866
1749
|
],
|
|
1867
|
-
"
|
|
1868
|
-
{
|
|
1869
|
-
"name": "is-vertical",
|
|
1870
|
-
"type": {
|
|
1871
|
-
"text": "boolean"
|
|
1872
|
-
},
|
|
1873
|
-
"default": "false",
|
|
1874
|
-
"fieldName": "isVertical"
|
|
1875
|
-
},
|
|
1876
|
-
{
|
|
1877
|
-
"name": "add-default-actions",
|
|
1878
|
-
"type": {
|
|
1879
|
-
"text": "boolean"
|
|
1880
|
-
},
|
|
1881
|
-
"default": "true",
|
|
1882
|
-
"fieldName": "addDefaultActions"
|
|
1883
|
-
},
|
|
1884
|
-
{
|
|
1885
|
-
"name": "auto-close-on-action",
|
|
1886
|
-
"type": {
|
|
1887
|
-
"text": "boolean"
|
|
1888
|
-
},
|
|
1889
|
-
"default": "true",
|
|
1890
|
-
"fieldName": "autoCloseOnAction"
|
|
1891
|
-
},
|
|
1892
|
-
{
|
|
1893
|
-
"name": "name",
|
|
1894
|
-
"type": {
|
|
1895
|
-
"text": "string"
|
|
1896
|
-
},
|
|
1897
|
-
"default": "'Actions'",
|
|
1898
|
-
"fieldName": "name"
|
|
1899
|
-
},
|
|
1900
|
-
{
|
|
1901
|
-
"name": "open",
|
|
1902
|
-
"type": {
|
|
1903
|
-
"text": "boolean"
|
|
1904
|
-
},
|
|
1905
|
-
"default": "false",
|
|
1906
|
-
"fieldName": "open"
|
|
1907
|
-
},
|
|
1908
|
-
{
|
|
1909
|
-
"name": "buttonAppearance",
|
|
1910
|
-
"type": {
|
|
1911
|
-
"text": "string"
|
|
1912
|
-
},
|
|
1913
|
-
"fieldName": "buttonAppearance"
|
|
1914
|
-
},
|
|
1915
|
-
{
|
|
1916
|
-
"name": "hide-disabled",
|
|
1917
|
-
"type": {
|
|
1918
|
-
"text": "boolean"
|
|
1919
|
-
},
|
|
1920
|
-
"default": "false",
|
|
1921
|
-
"fieldName": "hideDisabled"
|
|
1922
|
-
},
|
|
1750
|
+
"events": [
|
|
1923
1751
|
{
|
|
1924
|
-
"
|
|
1925
|
-
"
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1752
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1753
|
+
"name": "change",
|
|
1754
|
+
"inheritedFrom": {
|
|
1755
|
+
"name": "AccordionItem",
|
|
1756
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1757
|
+
}
|
|
1930
1758
|
}
|
|
1931
|
-
]
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"kind": "variable",
|
|
1763
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "ShadowRootInit"
|
|
1935
1766
|
},
|
|
1936
|
-
"
|
|
1937
|
-
"customElement": true
|
|
1767
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1938
1768
|
},
|
|
1939
1769
|
{
|
|
1940
1770
|
"kind": "variable",
|
|
1941
|
-
"name": "
|
|
1942
|
-
"
|
|
1771
|
+
"name": "defaultAccordionItemConfig",
|
|
1772
|
+
"type": {
|
|
1773
|
+
"text": "object"
|
|
1774
|
+
},
|
|
1775
|
+
"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}"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "variable",
|
|
1779
|
+
"name": "foundationAccordionItem",
|
|
1780
|
+
"description": "The Foundation Accordion Item",
|
|
1943
1781
|
"privacy": "public"
|
|
1944
1782
|
}
|
|
1945
1783
|
],
|
|
1946
1784
|
"exports": [
|
|
1947
1785
|
{
|
|
1948
1786
|
"kind": "js",
|
|
1949
|
-
"name": "
|
|
1787
|
+
"name": "AccordionItem",
|
|
1950
1788
|
"declaration": {
|
|
1951
|
-
"name": "
|
|
1952
|
-
"module": "src/
|
|
1789
|
+
"name": "AccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1953
1791
|
}
|
|
1954
1792
|
},
|
|
1955
1793
|
{
|
|
1956
1794
|
"kind": "js",
|
|
1957
|
-
"name": "
|
|
1795
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1958
1796
|
"declaration": {
|
|
1959
|
-
"name": "
|
|
1960
|
-
"module": "src/
|
|
1961
|
-
}
|
|
1962
|
-
}
|
|
1963
|
-
]
|
|
1964
|
-
},
|
|
1965
|
-
{
|
|
1966
|
-
"kind": "javascript-module",
|
|
1967
|
-
"path": "src/actions-menu/index.ts",
|
|
1968
|
-
"declarations": [],
|
|
1969
|
-
"exports": [
|
|
1970
|
-
{
|
|
1971
|
-
"kind": "js",
|
|
1972
|
-
"name": "*",
|
|
1973
|
-
"declaration": {
|
|
1974
|
-
"name": "*",
|
|
1975
|
-
"package": "./actions-menu.styles"
|
|
1797
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1798
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1976
1799
|
}
|
|
1977
1800
|
},
|
|
1978
1801
|
{
|
|
1979
1802
|
"kind": "js",
|
|
1980
|
-
"name": "
|
|
1803
|
+
"name": "defaultAccordionItemConfig",
|
|
1981
1804
|
"declaration": {
|
|
1982
|
-
"name": "
|
|
1983
|
-
"
|
|
1805
|
+
"name": "defaultAccordionItemConfig",
|
|
1806
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1984
1807
|
}
|
|
1985
1808
|
},
|
|
1986
1809
|
{
|
|
1987
1810
|
"kind": "js",
|
|
1988
|
-
"name": "
|
|
1811
|
+
"name": "foundationAccordionItem",
|
|
1989
1812
|
"declaration": {
|
|
1990
|
-
"name": "
|
|
1991
|
-
"
|
|
1813
|
+
"name": "foundationAccordionItem",
|
|
1814
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1992
1815
|
}
|
|
1993
1816
|
}
|
|
1994
1817
|
]
|
|
1995
1818
|
},
|
|
1996
1819
|
{
|
|
1997
1820
|
"kind": "javascript-module",
|
|
1998
|
-
"path": "src/
|
|
1821
|
+
"path": "src/accordion-item/index.ts",
|
|
1999
1822
|
"declarations": [],
|
|
2000
1823
|
"exports": [
|
|
2001
1824
|
{
|
|
@@ -2003,7 +1826,7 @@
|
|
|
2003
1826
|
"name": "*",
|
|
2004
1827
|
"declaration": {
|
|
2005
1828
|
"name": "*",
|
|
2006
|
-
"package": "./
|
|
1829
|
+
"package": "./accordion-item.template"
|
|
2007
1830
|
}
|
|
2008
1831
|
},
|
|
2009
1832
|
{
|
|
@@ -2011,7 +1834,7 @@
|
|
|
2011
1834
|
"name": "*",
|
|
2012
1835
|
"declaration": {
|
|
2013
1836
|
"name": "*",
|
|
2014
|
-
"package": "./
|
|
1837
|
+
"package": "./accordion-item.styles"
|
|
2015
1838
|
}
|
|
2016
1839
|
},
|
|
2017
1840
|
{
|
|
@@ -2019,18 +1842,18 @@
|
|
|
2019
1842
|
"name": "*",
|
|
2020
1843
|
"declaration": {
|
|
2021
1844
|
"name": "*",
|
|
2022
|
-
"package": "./
|
|
1845
|
+
"package": "./accordion-item"
|
|
2023
1846
|
}
|
|
2024
1847
|
}
|
|
2025
1848
|
]
|
|
2026
1849
|
},
|
|
2027
1850
|
{
|
|
2028
1851
|
"kind": "javascript-module",
|
|
2029
|
-
"path": "src/accordion
|
|
1852
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2030
1853
|
"declarations": [
|
|
2031
1854
|
{
|
|
2032
1855
|
"kind": "function",
|
|
2033
|
-
"name": "
|
|
1856
|
+
"name": "foundationAccordionStyles",
|
|
2034
1857
|
"return": {
|
|
2035
1858
|
"type": {
|
|
2036
1859
|
"text": "ElementStyles"
|
|
@@ -2055,24 +1878,24 @@
|
|
|
2055
1878
|
"exports": [
|
|
2056
1879
|
{
|
|
2057
1880
|
"kind": "js",
|
|
2058
|
-
"name": "
|
|
1881
|
+
"name": "foundationAccordionStyles",
|
|
2059
1882
|
"declaration": {
|
|
2060
|
-
"name": "
|
|
2061
|
-
"module": "src/accordion
|
|
1883
|
+
"name": "foundationAccordionStyles",
|
|
1884
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2062
1885
|
}
|
|
2063
1886
|
}
|
|
2064
1887
|
]
|
|
2065
1888
|
},
|
|
2066
1889
|
{
|
|
2067
1890
|
"kind": "javascript-module",
|
|
2068
|
-
"path": "src/accordion
|
|
1891
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2069
1892
|
"declarations": [
|
|
2070
1893
|
{
|
|
2071
1894
|
"kind": "function",
|
|
2072
|
-
"name": "
|
|
1895
|
+
"name": "foundationAccordionTemplate",
|
|
2073
1896
|
"return": {
|
|
2074
1897
|
"type": {
|
|
2075
|
-
"text": "ViewTemplate<
|
|
1898
|
+
"text": "ViewTemplate<Accordion>"
|
|
2076
1899
|
}
|
|
2077
1900
|
},
|
|
2078
1901
|
"parameters": [
|
|
@@ -2094,244 +1917,365 @@
|
|
|
2094
1917
|
"exports": [
|
|
2095
1918
|
{
|
|
2096
1919
|
"kind": "js",
|
|
2097
|
-
"name": "
|
|
1920
|
+
"name": "foundationAccordionTemplate",
|
|
2098
1921
|
"declaration": {
|
|
2099
|
-
"name": "
|
|
2100
|
-
"module": "src/accordion
|
|
1922
|
+
"name": "foundationAccordionTemplate",
|
|
1923
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2101
1924
|
}
|
|
2102
1925
|
}
|
|
2103
1926
|
]
|
|
2104
1927
|
},
|
|
2105
1928
|
{
|
|
2106
1929
|
"kind": "javascript-module",
|
|
2107
|
-
"path": "src/accordion
|
|
1930
|
+
"path": "src/accordion/accordion.ts",
|
|
2108
1931
|
"declarations": [
|
|
2109
1932
|
{
|
|
2110
1933
|
"kind": "class",
|
|
2111
1934
|
"description": "",
|
|
2112
|
-
"name": "
|
|
1935
|
+
"name": "Accordion",
|
|
2113
1936
|
"superclass": {
|
|
2114
|
-
"name": "
|
|
2115
|
-
"package": "@microsoft/fast-
|
|
1937
|
+
"name": "FASTAccordion",
|
|
1938
|
+
"package": "@microsoft/fast-foundation"
|
|
2116
1939
|
},
|
|
2117
|
-
"tagName": "%%prefix%%-accordion
|
|
1940
|
+
"tagName": "%%prefix%%-accordion",
|
|
2118
1941
|
"customElement": true,
|
|
2119
1942
|
"attributes": [
|
|
2120
1943
|
{
|
|
2121
|
-
"name": "
|
|
2122
|
-
"type": {
|
|
2123
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2124
|
-
},
|
|
2125
|
-
"default": "2",
|
|
2126
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2127
|
-
"fieldName": "headinglevel",
|
|
2128
|
-
"inheritedFrom": {
|
|
2129
|
-
"name": "AccordionItem",
|
|
2130
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2131
|
-
}
|
|
2132
|
-
},
|
|
2133
|
-
{
|
|
2134
|
-
"type": {
|
|
2135
|
-
"text": "boolean"
|
|
2136
|
-
},
|
|
2137
|
-
"default": "false",
|
|
2138
|
-
"description": "Expands or collapses the item.",
|
|
2139
|
-
"fieldName": "expanded",
|
|
2140
|
-
"inheritedFrom": {
|
|
2141
|
-
"name": "AccordionItem",
|
|
2142
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2143
|
-
}
|
|
2144
|
-
},
|
|
2145
|
-
{
|
|
2146
|
-
"name": "id",
|
|
1944
|
+
"name": "expand-mode",
|
|
2147
1945
|
"type": {
|
|
2148
|
-
"text": "
|
|
1946
|
+
"text": "AccordionExpandMode"
|
|
2149
1947
|
},
|
|
2150
|
-
"description": "
|
|
2151
|
-
"fieldName": "
|
|
1948
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1949
|
+
"fieldName": "expandmode",
|
|
2152
1950
|
"inheritedFrom": {
|
|
2153
|
-
"name": "
|
|
2154
|
-
"module": "src/accordion
|
|
1951
|
+
"name": "Accordion",
|
|
1952
|
+
"module": "src/accordion/accordion.ts"
|
|
2155
1953
|
}
|
|
2156
1954
|
}
|
|
2157
1955
|
],
|
|
2158
1956
|
"members": [
|
|
2159
1957
|
{
|
|
2160
1958
|
"kind": "field",
|
|
2161
|
-
"name": "
|
|
1959
|
+
"name": "expandmode",
|
|
2162
1960
|
"type": {
|
|
2163
|
-
"text": "
|
|
1961
|
+
"text": "AccordionExpandMode"
|
|
2164
1962
|
},
|
|
2165
1963
|
"privacy": "public",
|
|
2166
|
-
"
|
|
2167
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1964
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2168
1965
|
"inheritedFrom": {
|
|
2169
|
-
"name": "
|
|
2170
|
-
"module": "src/accordion
|
|
1966
|
+
"name": "Accordion",
|
|
1967
|
+
"module": "src/accordion/accordion.ts"
|
|
2171
1968
|
}
|
|
2172
1969
|
},
|
|
2173
1970
|
{
|
|
2174
1971
|
"kind": "field",
|
|
2175
|
-
"name": "
|
|
1972
|
+
"name": "activeid",
|
|
2176
1973
|
"type": {
|
|
2177
|
-
"text": "
|
|
1974
|
+
"text": "string | null"
|
|
2178
1975
|
},
|
|
2179
|
-
"privacy": "
|
|
2180
|
-
"default": "false",
|
|
2181
|
-
"description": "Expands or collapses the item.",
|
|
1976
|
+
"privacy": "private",
|
|
2182
1977
|
"inheritedFrom": {
|
|
2183
|
-
"name": "
|
|
2184
|
-
"module": "src/accordion
|
|
1978
|
+
"name": "Accordion",
|
|
1979
|
+
"module": "src/accordion/accordion.ts"
|
|
2185
1980
|
}
|
|
2186
1981
|
},
|
|
2187
1982
|
{
|
|
2188
1983
|
"kind": "field",
|
|
2189
|
-
"name": "
|
|
1984
|
+
"name": "activeItemIndex",
|
|
2190
1985
|
"type": {
|
|
2191
|
-
"text": "
|
|
1986
|
+
"text": "number"
|
|
2192
1987
|
},
|
|
2193
|
-
"privacy": "
|
|
2194
|
-
"
|
|
1988
|
+
"privacy": "private",
|
|
1989
|
+
"default": "0",
|
|
2195
1990
|
"inheritedFrom": {
|
|
2196
|
-
"name": "
|
|
2197
|
-
"module": "src/accordion
|
|
1991
|
+
"name": "Accordion",
|
|
1992
|
+
"module": "src/accordion/accordion.ts"
|
|
2198
1993
|
}
|
|
2199
1994
|
},
|
|
2200
1995
|
{
|
|
2201
1996
|
"kind": "field",
|
|
2202
|
-
"name": "
|
|
1997
|
+
"name": "accordionIds",
|
|
1998
|
+
"type": {
|
|
1999
|
+
"text": "Array<string | null>"
|
|
2000
|
+
},
|
|
2203
2001
|
"privacy": "private",
|
|
2204
2002
|
"inheritedFrom": {
|
|
2205
|
-
"name": "
|
|
2206
|
-
"module": "src/accordion
|
|
2003
|
+
"name": "Accordion",
|
|
2004
|
+
"module": "src/accordion/accordion.ts"
|
|
2207
2005
|
}
|
|
2208
2006
|
},
|
|
2209
2007
|
{
|
|
2210
2008
|
"kind": "field",
|
|
2211
|
-
"name": "
|
|
2212
|
-
"type": {
|
|
2213
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2214
|
-
},
|
|
2009
|
+
"name": "change",
|
|
2215
2010
|
"privacy": "private",
|
|
2216
|
-
"default": "void 0",
|
|
2217
2011
|
"inheritedFrom": {
|
|
2218
|
-
"name": "
|
|
2219
|
-
"module": "src/
|
|
2012
|
+
"name": "Accordion",
|
|
2013
|
+
"module": "src/accordion/accordion.ts"
|
|
2220
2014
|
}
|
|
2221
2015
|
},
|
|
2222
2016
|
{
|
|
2223
|
-
"kind": "
|
|
2224
|
-
"name": "
|
|
2225
|
-
"
|
|
2226
|
-
|
|
2017
|
+
"kind": "method",
|
|
2018
|
+
"name": "findExpandedItem",
|
|
2019
|
+
"privacy": "private",
|
|
2020
|
+
"return": {
|
|
2021
|
+
"type": {
|
|
2022
|
+
"text": "AccordionItem | null"
|
|
2023
|
+
}
|
|
2227
2024
|
},
|
|
2228
|
-
"privacy": "public",
|
|
2229
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2230
2025
|
"inheritedFrom": {
|
|
2231
|
-
"name": "
|
|
2232
|
-
"module": "src/
|
|
2026
|
+
"name": "Accordion",
|
|
2027
|
+
"module": "src/accordion/accordion.ts"
|
|
2233
2028
|
}
|
|
2234
2029
|
},
|
|
2235
2030
|
{
|
|
2236
2031
|
"kind": "field",
|
|
2237
|
-
"name": "
|
|
2238
|
-
"
|
|
2239
|
-
"text": "ElementViewTemplate | void | null"
|
|
2240
|
-
},
|
|
2241
|
-
"privacy": "public",
|
|
2242
|
-
"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.",
|
|
2032
|
+
"name": "setItems",
|
|
2033
|
+
"privacy": "private",
|
|
2243
2034
|
"inheritedFrom": {
|
|
2244
|
-
"name": "
|
|
2245
|
-
"module": "src/
|
|
2035
|
+
"name": "Accordion",
|
|
2036
|
+
"module": "src/accordion/accordion.ts"
|
|
2246
2037
|
}
|
|
2247
2038
|
},
|
|
2248
2039
|
{
|
|
2249
2040
|
"kind": "method",
|
|
2250
|
-
"name": "
|
|
2251
|
-
"privacy": "
|
|
2041
|
+
"name": "resetItems",
|
|
2042
|
+
"privacy": "private",
|
|
2252
2043
|
"return": {
|
|
2253
2044
|
"type": {
|
|
2254
2045
|
"text": "void"
|
|
2255
2046
|
}
|
|
2256
2047
|
},
|
|
2257
2048
|
"inheritedFrom": {
|
|
2258
|
-
"name": "
|
|
2259
|
-
"module": "src/
|
|
2049
|
+
"name": "Accordion",
|
|
2050
|
+
"module": "src/accordion/accordion.ts"
|
|
2260
2051
|
}
|
|
2261
2052
|
},
|
|
2262
2053
|
{
|
|
2263
2054
|
"kind": "field",
|
|
2264
|
-
"name": "
|
|
2265
|
-
"
|
|
2266
|
-
"text": "ElementStyles | void | null"
|
|
2267
|
-
},
|
|
2268
|
-
"privacy": "public",
|
|
2269
|
-
"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.",
|
|
2055
|
+
"name": "removeItemListeners",
|
|
2056
|
+
"privacy": "private",
|
|
2270
2057
|
"inheritedFrom": {
|
|
2271
|
-
"name": "
|
|
2272
|
-
"module": "src/
|
|
2058
|
+
"name": "Accordion",
|
|
2059
|
+
"module": "src/accordion/accordion.ts"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"kind": "field",
|
|
2064
|
+
"name": "activeItemChange",
|
|
2065
|
+
"privacy": "private",
|
|
2066
|
+
"inheritedFrom": {
|
|
2067
|
+
"name": "Accordion",
|
|
2068
|
+
"module": "src/accordion/accordion.ts"
|
|
2273
2069
|
}
|
|
2274
2070
|
},
|
|
2275
2071
|
{
|
|
2276
2072
|
"kind": "method",
|
|
2277
|
-
"name": "
|
|
2278
|
-
"privacy": "
|
|
2073
|
+
"name": "getItemIds",
|
|
2074
|
+
"privacy": "private",
|
|
2279
2075
|
"return": {
|
|
2280
2076
|
"type": {
|
|
2281
|
-
"text": "
|
|
2077
|
+
"text": "Array<string | null>"
|
|
2282
2078
|
}
|
|
2283
2079
|
},
|
|
2284
2080
|
"inheritedFrom": {
|
|
2285
|
-
"name": "
|
|
2286
|
-
"module": "src/
|
|
2081
|
+
"name": "Accordion",
|
|
2082
|
+
"module": "src/accordion/accordion.ts"
|
|
2287
2083
|
}
|
|
2288
2084
|
},
|
|
2289
2085
|
{
|
|
2290
2086
|
"kind": "method",
|
|
2291
|
-
"name": "
|
|
2292
|
-
"privacy": "
|
|
2293
|
-
"static": true,
|
|
2087
|
+
"name": "isSingleExpandMode",
|
|
2088
|
+
"privacy": "private",
|
|
2294
2089
|
"return": {
|
|
2295
2090
|
"type": {
|
|
2296
|
-
"text": "
|
|
2091
|
+
"text": "boolean"
|
|
2297
2092
|
}
|
|
2298
2093
|
},
|
|
2299
|
-
"parameters": [
|
|
2300
|
-
{
|
|
2301
|
-
"name": "this",
|
|
2302
|
-
"type": {
|
|
2303
|
-
"text": "K"
|
|
2304
|
-
}
|
|
2305
|
-
},
|
|
2306
|
-
{
|
|
2307
|
-
"name": "elementDefinition",
|
|
2308
|
-
"type": {
|
|
2309
|
-
"text": "T"
|
|
2310
|
-
},
|
|
2311
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2312
|
-
}
|
|
2313
|
-
],
|
|
2314
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2315
2094
|
"inheritedFrom": {
|
|
2316
|
-
"name": "
|
|
2317
|
-
"module": "src/
|
|
2095
|
+
"name": "Accordion",
|
|
2096
|
+
"module": "src/accordion/accordion.ts"
|
|
2318
2097
|
}
|
|
2319
|
-
}
|
|
2320
|
-
],
|
|
2321
|
-
"events": [
|
|
2098
|
+
},
|
|
2322
2099
|
{
|
|
2323
|
-
"
|
|
2324
|
-
"name": "
|
|
2100
|
+
"kind": "field",
|
|
2101
|
+
"name": "handleItemKeyDown",
|
|
2102
|
+
"privacy": "private",
|
|
2325
2103
|
"inheritedFrom": {
|
|
2326
|
-
"name": "
|
|
2327
|
-
"module": "src/accordion
|
|
2104
|
+
"name": "Accordion",
|
|
2105
|
+
"module": "src/accordion/accordion.ts"
|
|
2106
|
+
}
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"kind": "field",
|
|
2110
|
+
"name": "handleItemFocus",
|
|
2111
|
+
"privacy": "private",
|
|
2112
|
+
"inheritedFrom": {
|
|
2113
|
+
"name": "Accordion",
|
|
2114
|
+
"module": "src/accordion/accordion.ts"
|
|
2115
|
+
}
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"kind": "method",
|
|
2119
|
+
"name": "adjust",
|
|
2120
|
+
"privacy": "private",
|
|
2121
|
+
"return": {
|
|
2122
|
+
"type": {
|
|
2123
|
+
"text": "void"
|
|
2124
|
+
}
|
|
2125
|
+
},
|
|
2126
|
+
"parameters": [
|
|
2127
|
+
{
|
|
2128
|
+
"name": "adjustment",
|
|
2129
|
+
"type": {
|
|
2130
|
+
"text": "number"
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
],
|
|
2134
|
+
"inheritedFrom": {
|
|
2135
|
+
"name": "Accordion",
|
|
2136
|
+
"module": "src/accordion/accordion.ts"
|
|
2137
|
+
}
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"kind": "method",
|
|
2141
|
+
"name": "focusItem",
|
|
2142
|
+
"privacy": "private",
|
|
2143
|
+
"return": {
|
|
2144
|
+
"type": {
|
|
2145
|
+
"text": "void"
|
|
2146
|
+
}
|
|
2147
|
+
},
|
|
2148
|
+
"inheritedFrom": {
|
|
2149
|
+
"name": "Accordion",
|
|
2150
|
+
"module": "src/accordion/accordion.ts"
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
"kind": "field",
|
|
2155
|
+
"name": "_presentation",
|
|
2156
|
+
"type": {
|
|
2157
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2158
|
+
},
|
|
2159
|
+
"privacy": "private",
|
|
2160
|
+
"default": "void 0",
|
|
2161
|
+
"inheritedFrom": {
|
|
2162
|
+
"name": "FoundationElement",
|
|
2163
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2164
|
+
}
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"kind": "field",
|
|
2168
|
+
"name": "$presentation",
|
|
2169
|
+
"type": {
|
|
2170
|
+
"text": "ComponentPresentation | null"
|
|
2171
|
+
},
|
|
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
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"kind": "field",
|
|
2181
|
+
"name": "template",
|
|
2182
|
+
"type": {
|
|
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"
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
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"
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"kind": "field",
|
|
2208
|
+
"name": "styles",
|
|
2209
|
+
"type": {
|
|
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"
|
|
2217
|
+
}
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"kind": "method",
|
|
2221
|
+
"name": "stylesChanged",
|
|
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": "method",
|
|
2235
|
+
"name": "compose",
|
|
2236
|
+
"privacy": "public",
|
|
2237
|
+
"static": true,
|
|
2238
|
+
"return": {
|
|
2239
|
+
"type": {
|
|
2240
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2241
|
+
}
|
|
2242
|
+
},
|
|
2243
|
+
"parameters": [
|
|
2244
|
+
{
|
|
2245
|
+
"name": "this",
|
|
2246
|
+
"type": {
|
|
2247
|
+
"text": "K"
|
|
2248
|
+
}
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "elementDefinition",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "T"
|
|
2254
|
+
},
|
|
2255
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2256
|
+
}
|
|
2257
|
+
],
|
|
2258
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2259
|
+
"inheritedFrom": {
|
|
2260
|
+
"name": "FoundationElement",
|
|
2261
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
],
|
|
2265
|
+
"events": [
|
|
2266
|
+
{
|
|
2267
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2268
|
+
"name": "change",
|
|
2269
|
+
"inheritedFrom": {
|
|
2270
|
+
"name": "Accordion",
|
|
2271
|
+
"module": "src/accordion/accordion.ts"
|
|
2328
2272
|
}
|
|
2329
2273
|
}
|
|
2330
2274
|
]
|
|
2331
2275
|
},
|
|
2332
2276
|
{
|
|
2333
2277
|
"kind": "variable",
|
|
2334
|
-
"name": "
|
|
2278
|
+
"name": "foundationAccordionShadowOptions",
|
|
2335
2279
|
"type": {
|
|
2336
2280
|
"text": "ShadowRootInit"
|
|
2337
2281
|
},
|
|
@@ -2339,57 +2283,57 @@
|
|
|
2339
2283
|
},
|
|
2340
2284
|
{
|
|
2341
2285
|
"kind": "variable",
|
|
2342
|
-
"name": "
|
|
2286
|
+
"name": "defaultAccordionConfig",
|
|
2343
2287
|
"type": {
|
|
2344
2288
|
"text": "object"
|
|
2345
2289
|
},
|
|
2346
|
-
"default": "{
|
|
2290
|
+
"default": "{}"
|
|
2347
2291
|
},
|
|
2348
2292
|
{
|
|
2349
2293
|
"kind": "variable",
|
|
2350
|
-
"name": "
|
|
2351
|
-
"description": "The Foundation Accordion
|
|
2294
|
+
"name": "foundationAccordion",
|
|
2295
|
+
"description": "The Foundation Accordion",
|
|
2352
2296
|
"privacy": "public"
|
|
2353
2297
|
}
|
|
2354
2298
|
],
|
|
2355
2299
|
"exports": [
|
|
2356
2300
|
{
|
|
2357
2301
|
"kind": "js",
|
|
2358
|
-
"name": "
|
|
2302
|
+
"name": "Accordion",
|
|
2359
2303
|
"declaration": {
|
|
2360
|
-
"name": "
|
|
2361
|
-
"module": "src/accordion
|
|
2304
|
+
"name": "Accordion",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2362
2306
|
}
|
|
2363
2307
|
},
|
|
2364
2308
|
{
|
|
2365
2309
|
"kind": "js",
|
|
2366
|
-
"name": "
|
|
2310
|
+
"name": "foundationAccordionShadowOptions",
|
|
2367
2311
|
"declaration": {
|
|
2368
|
-
"name": "
|
|
2369
|
-
"module": "src/accordion
|
|
2312
|
+
"name": "foundationAccordionShadowOptions",
|
|
2313
|
+
"module": "src/accordion/accordion.ts"
|
|
2370
2314
|
}
|
|
2371
2315
|
},
|
|
2372
2316
|
{
|
|
2373
2317
|
"kind": "js",
|
|
2374
|
-
"name": "
|
|
2318
|
+
"name": "defaultAccordionConfig",
|
|
2375
2319
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"module": "src/accordion
|
|
2320
|
+
"name": "defaultAccordionConfig",
|
|
2321
|
+
"module": "src/accordion/accordion.ts"
|
|
2378
2322
|
}
|
|
2379
2323
|
},
|
|
2380
2324
|
{
|
|
2381
2325
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2326
|
+
"name": "foundationAccordion",
|
|
2383
2327
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/accordion
|
|
2328
|
+
"name": "foundationAccordion",
|
|
2329
|
+
"module": "src/accordion/accordion.ts"
|
|
2386
2330
|
}
|
|
2387
2331
|
}
|
|
2388
2332
|
]
|
|
2389
2333
|
},
|
|
2390
2334
|
{
|
|
2391
2335
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/accordion
|
|
2336
|
+
"path": "src/accordion/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": "./accordion
|
|
2344
|
+
"package": "./accordion.template"
|
|
2401
2345
|
}
|
|
2402
2346
|
},
|
|
2403
2347
|
{
|
|
@@ -2405,7 +2349,7 @@
|
|
|
2405
2349
|
"name": "*",
|
|
2406
2350
|
"declaration": {
|
|
2407
2351
|
"name": "*",
|
|
2408
|
-
"package": "./accordion
|
|
2352
|
+
"package": "./accordion.styles"
|
|
2409
2353
|
}
|
|
2410
2354
|
},
|
|
2411
2355
|
{
|
|
@@ -2413,138 +2357,210 @@
|
|
|
2413
2357
|
"name": "*",
|
|
2414
2358
|
"declaration": {
|
|
2415
2359
|
"name": "*",
|
|
2416
|
-
"package": "./accordion
|
|
2417
|
-
}
|
|
2418
|
-
}
|
|
2419
|
-
]
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2424
|
-
"declarations": [
|
|
2425
|
-
{
|
|
2426
|
-
"kind": "variable",
|
|
2427
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2428
|
-
"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`"
|
|
2429
|
-
}
|
|
2430
|
-
],
|
|
2431
|
-
"exports": [
|
|
2432
|
-
{
|
|
2433
|
-
"kind": "js",
|
|
2434
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2435
|
-
"declaration": {
|
|
2436
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2437
|
-
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2360
|
+
"package": "./accordion"
|
|
2438
2361
|
}
|
|
2439
2362
|
}
|
|
2440
2363
|
]
|
|
2441
2364
|
},
|
|
2442
2365
|
{
|
|
2443
2366
|
"kind": "javascript-module",
|
|
2444
|
-
"path": "src/
|
|
2367
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2445
2368
|
"declarations": [
|
|
2446
2369
|
{
|
|
2447
|
-
"kind": "
|
|
2448
|
-
"name": "
|
|
2449
|
-
"
|
|
2450
|
-
"
|
|
2370
|
+
"kind": "function",
|
|
2371
|
+
"name": "actionsMenuBaseStyles",
|
|
2372
|
+
"return": {
|
|
2373
|
+
"type": {
|
|
2374
|
+
"text": "ElementStyles"
|
|
2375
|
+
}
|
|
2451
2376
|
},
|
|
2452
|
-
"
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
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
|
+
]
|
|
2414
|
+
}
|
|
2415
|
+
],
|
|
2416
|
+
"exports": [
|
|
2417
|
+
{
|
|
2418
|
+
"kind": "js",
|
|
2419
|
+
"name": "actionsMenuBaseStyles",
|
|
2420
|
+
"declaration": {
|
|
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"
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
]
|
|
2465
2434
|
},
|
|
2466
2435
|
{
|
|
2467
2436
|
"kind": "javascript-module",
|
|
2468
|
-
"path": "src/
|
|
2437
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2469
2438
|
"declarations": [
|
|
2470
2439
|
{
|
|
2471
|
-
"kind": "
|
|
2472
|
-
"
|
|
2473
|
-
"
|
|
2474
|
-
"members": [
|
|
2440
|
+
"kind": "function",
|
|
2441
|
+
"name": "menuTemplate",
|
|
2442
|
+
"parameters": [
|
|
2475
2443
|
{
|
|
2476
|
-
"
|
|
2477
|
-
"name": "providerRegistry",
|
|
2444
|
+
"name": "prefix",
|
|
2478
2445
|
"type": {
|
|
2479
|
-
"text": "
|
|
2446
|
+
"text": "string"
|
|
2480
2447
|
}
|
|
2481
|
-
}
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "function",
|
|
2453
|
+
"name": "singleOptionTemplate",
|
|
2454
|
+
"parameters": [
|
|
2482
2455
|
{
|
|
2483
|
-
"
|
|
2484
|
-
"name": "placeholder",
|
|
2456
|
+
"name": "prefix",
|
|
2485
2457
|
"type": {
|
|
2486
2458
|
"text": "string"
|
|
2487
|
-
}
|
|
2488
|
-
|
|
2489
|
-
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "variable",
|
|
2465
|
+
"name": "foundationActionsMenuTemplate",
|
|
2466
|
+
"type": {
|
|
2467
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2468
|
+
},
|
|
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`"
|
|
2470
|
+
}
|
|
2471
|
+
],
|
|
2472
|
+
"exports": [
|
|
2473
|
+
{
|
|
2474
|
+
"kind": "js",
|
|
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",
|
|
2484
|
+
"declaration": {
|
|
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"
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
]
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"kind": "javascript-module",
|
|
2501
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2502
|
+
"declarations": [
|
|
2503
|
+
{
|
|
2504
|
+
"kind": "class",
|
|
2505
|
+
"description": "",
|
|
2506
|
+
"name": "ActionsMenu",
|
|
2507
|
+
"members": [
|
|
2490
2508
|
{
|
|
2491
2509
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2510
|
+
"name": "actions",
|
|
2493
2511
|
"type": {
|
|
2494
|
-
"text": "
|
|
2512
|
+
"text": "ActionMenuItem[]"
|
|
2495
2513
|
}
|
|
2496
2514
|
},
|
|
2497
2515
|
{
|
|
2498
2516
|
"kind": "field",
|
|
2499
|
-
"name": "
|
|
2517
|
+
"name": "isVertical",
|
|
2500
2518
|
"type": {
|
|
2501
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2502
2520
|
},
|
|
2503
|
-
"default": "
|
|
2521
|
+
"default": "false"
|
|
2504
2522
|
},
|
|
2505
2523
|
{
|
|
2506
2524
|
"kind": "field",
|
|
2507
|
-
"name": "
|
|
2525
|
+
"name": "addDefaultActions",
|
|
2508
2526
|
"type": {
|
|
2509
2527
|
"text": "boolean"
|
|
2510
2528
|
},
|
|
2511
|
-
"default": "
|
|
2529
|
+
"default": "true"
|
|
2512
2530
|
},
|
|
2513
2531
|
{
|
|
2514
2532
|
"kind": "field",
|
|
2515
|
-
"name": "
|
|
2533
|
+
"name": "autoCloseOnAction",
|
|
2516
2534
|
"type": {
|
|
2517
|
-
"text": "
|
|
2535
|
+
"text": "boolean"
|
|
2518
2536
|
},
|
|
2519
|
-
"default": "
|
|
2537
|
+
"default": "true"
|
|
2520
2538
|
},
|
|
2521
2539
|
{
|
|
2522
2540
|
"kind": "field",
|
|
2523
|
-
"name": "
|
|
2541
|
+
"name": "classNames",
|
|
2524
2542
|
"type": {
|
|
2525
|
-
"text": "
|
|
2526
|
-
}
|
|
2527
|
-
"default": "[]"
|
|
2543
|
+
"text": "string"
|
|
2544
|
+
}
|
|
2528
2545
|
},
|
|
2529
2546
|
{
|
|
2530
2547
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2548
|
+
"name": "definition",
|
|
2532
2549
|
"type": {
|
|
2533
|
-
"text": "
|
|
2534
|
-
}
|
|
2535
|
-
"default": "false"
|
|
2550
|
+
"text": "any"
|
|
2551
|
+
}
|
|
2536
2552
|
},
|
|
2537
2553
|
{
|
|
2538
2554
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2555
|
+
"name": "name",
|
|
2540
2556
|
"type": {
|
|
2541
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2542
2558
|
},
|
|
2543
|
-
"default": "
|
|
2559
|
+
"default": "'Actions'"
|
|
2544
2560
|
},
|
|
2545
2561
|
{
|
|
2546
2562
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2563
|
+
"name": "open",
|
|
2548
2564
|
"type": {
|
|
2549
2565
|
"text": "boolean"
|
|
2550
2566
|
},
|
|
@@ -2552,125 +2568,129 @@
|
|
|
2552
2568
|
},
|
|
2553
2569
|
{
|
|
2554
2570
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2571
|
+
"name": "buttonAppearance",
|
|
2556
2572
|
"type": {
|
|
2557
|
-
"text": "
|
|
2558
|
-
}
|
|
2559
|
-
"privacy": "public"
|
|
2573
|
+
"text": "string"
|
|
2574
|
+
}
|
|
2560
2575
|
},
|
|
2561
2576
|
{
|
|
2562
2577
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2578
|
+
"name": "hideDisabled",
|
|
2564
2579
|
"type": {
|
|
2565
|
-
"text": "
|
|
2580
|
+
"text": "boolean"
|
|
2566
2581
|
},
|
|
2567
|
-
"
|
|
2568
|
-
"default": "null"
|
|
2582
|
+
"default": "false"
|
|
2569
2583
|
},
|
|
2570
2584
|
{
|
|
2571
2585
|
"kind": "field",
|
|
2572
|
-
"name": "
|
|
2586
|
+
"name": "hideMenuSingleOption",
|
|
2573
2587
|
"type": {
|
|
2574
|
-
"text": "
|
|
2588
|
+
"text": "boolean"
|
|
2575
2589
|
},
|
|
2576
|
-
"
|
|
2577
|
-
"default": "null"
|
|
2590
|
+
"default": "false"
|
|
2578
2591
|
},
|
|
2579
2592
|
{
|
|
2580
2593
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2594
|
+
"name": "singleOption",
|
|
2582
2595
|
"type": {
|
|
2583
|
-
"text": "
|
|
2584
|
-
}
|
|
2585
|
-
"readonly": true
|
|
2596
|
+
"text": "ActionMenuItem"
|
|
2597
|
+
}
|
|
2586
2598
|
},
|
|
2587
2599
|
{
|
|
2588
2600
|
"kind": "field",
|
|
2589
|
-
"name": "
|
|
2601
|
+
"name": "actionsMenu",
|
|
2590
2602
|
"type": {
|
|
2591
|
-
"text": "
|
|
2592
|
-
}
|
|
2593
|
-
"readonly": true
|
|
2603
|
+
"text": "HTMLElement"
|
|
2604
|
+
}
|
|
2594
2605
|
},
|
|
2595
2606
|
{
|
|
2596
|
-
"kind": "
|
|
2597
|
-
"name": "
|
|
2598
|
-
"
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
"text": "string"
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
|
-
"parameters": [
|
|
2605
|
-
{
|
|
2606
|
-
"name": "fieldName",
|
|
2607
|
-
"type": {
|
|
2608
|
-
"text": "string"
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
]
|
|
2607
|
+
"kind": "field",
|
|
2608
|
+
"name": "actionsOpener",
|
|
2609
|
+
"type": {
|
|
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
|
+
},
|
|
2798
2824
|
{
|
|
2799
|
-
"name": "
|
|
2825
|
+
"name": "auto-close-on-action",
|
|
2826
|
+
"type": {
|
|
2827
|
+
"text": "boolean"
|
|
2828
|
+
},
|
|
2829
|
+
"default": "true",
|
|
2830
|
+
"fieldName": "autoCloseOnAction"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "name",
|
|
2800
2834
|
"type": {
|
|
2801
2835
|
"text": "string"
|
|
2802
2836
|
},
|
|
2803
|
-
"default": "'
|
|
2804
|
-
"fieldName": "
|
|
2837
|
+
"default": "'Actions'",
|
|
2838
|
+
"fieldName": "name"
|
|
2805
2839
|
},
|
|
2806
2840
|
{
|
|
2841
|
+
"name": "open",
|
|
2807
2842
|
"type": {
|
|
2808
2843
|
"text": "boolean"
|
|
2809
2844
|
},
|
|
2810
|
-
"
|
|
2845
|
+
"default": "false",
|
|
2846
|
+
"fieldName": "open"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "buttonAppearance",
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "string"
|
|
2852
|
+
},
|
|
2853
|
+
"fieldName": "buttonAppearance"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "hide-disabled",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"text": "boolean"
|
|
2859
|
+
},
|
|
2860
|
+
"default": "false",
|
|
2861
|
+
"fieldName": "hideDisabled"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "hide-menu-single-option",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "boolean"
|
|
2867
|
+
},
|
|
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
|
-
{
|
|
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
|
-
]
|
|
2940
|
+
{
|
|
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": "
|
|
3236
|
-
"
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
}
|
|
3070
|
+
"name": "textAreaRef",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"text": "HTMLTextAreaElement"
|
|
3073
|
+
},
|
|
3074
|
+
"privacy": "public"
|
|
3241
3075
|
},
|
|
3242
3076
|
{
|
|
3243
3077
|
"kind": "field",
|
|
3244
|
-
"name": "
|
|
3078
|
+
"name": "stopRecording",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "(() => void) | null"
|
|
3081
|
+
},
|
|
3245
3082
|
"privacy": "private",
|
|
3246
|
-
"
|
|
3247
|
-
"name": "Accordion",
|
|
3248
|
-
"module": "src/accordion/accordion.ts"
|
|
3249
|
-
}
|
|
3083
|
+
"default": "null"
|
|
3250
3084
|
},
|
|
3251
3085
|
{
|
|
3252
|
-
"kind": "
|
|
3253
|
-
"name": "
|
|
3254
|
-
"
|
|
3255
|
-
|
|
3256
|
-
"type": {
|
|
3257
|
-
"text": "Array<string | null>"
|
|
3258
|
-
}
|
|
3086
|
+
"kind": "field",
|
|
3087
|
+
"name": "speechApplyDebounceTimer",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3259
3090
|
},
|
|
3260
|
-
"
|
|
3261
|
-
|
|
3262
|
-
"module": "src/accordion/accordion.ts"
|
|
3263
|
-
}
|
|
3091
|
+
"privacy": "private",
|
|
3092
|
+
"default": "null"
|
|
3264
3093
|
},
|
|
3265
3094
|
{
|
|
3266
|
-
"kind": "
|
|
3267
|
-
"name": "
|
|
3268
|
-
"
|
|
3269
|
-
|
|
3270
|
-
"type": {
|
|
3271
|
-
"text": "boolean"
|
|
3272
|
-
}
|
|
3095
|
+
"kind": "field",
|
|
3096
|
+
"name": "speechAvailable",
|
|
3097
|
+
"type": {
|
|
3098
|
+
"text": "boolean"
|
|
3273
3099
|
},
|
|
3274
|
-
"
|
|
3275
|
-
"name": "Accordion",
|
|
3276
|
-
"module": "src/accordion/accordion.ts"
|
|
3277
|
-
}
|
|
3100
|
+
"readonly": true
|
|
3278
3101
|
},
|
|
3279
3102
|
{
|
|
3280
3103
|
"kind": "field",
|
|
3281
|
-
"name": "
|
|
3282
|
-
"
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
}
|
|
3104
|
+
"name": "criteriaChips",
|
|
3105
|
+
"type": {
|
|
3106
|
+
"text": "CriteriaChip[]"
|
|
3107
|
+
},
|
|
3108
|
+
"readonly": true
|
|
3287
3109
|
},
|
|
3288
3110
|
{
|
|
3289
|
-
"kind": "
|
|
3290
|
-
"name": "
|
|
3111
|
+
"kind": "method",
|
|
3112
|
+
"name": "getFieldLabel",
|
|
3291
3113
|
"privacy": "private",
|
|
3292
|
-
"
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3114
|
+
"return": {
|
|
3115
|
+
"type": {
|
|
3116
|
+
"text": "string"
|
|
3117
|
+
}
|
|
3118
|
+
},
|
|
3119
|
+
"parameters": [
|
|
3120
|
+
{
|
|
3121
|
+
"name": "fieldName",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "string"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
"kind": "method",
|
|
3130
|
+
"name": "toggleCriteriaView",
|
|
3131
|
+
"return": {
|
|
3132
|
+
"type": {
|
|
3133
|
+
"text": "void"
|
|
3134
|
+
}
|
|
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
|
]
|