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