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