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