@genesislcap/foundation-ui 14.458.1-GENC-0.2 → 14.458.1-GENC-0.3
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,42 +1400,34 @@
|
|
|
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
|
-
},
|
|
1403
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1404
|
+
"declarations": [
|
|
1414
1405
|
{
|
|
1415
|
-
"kind": "
|
|
1416
|
-
"name": "
|
|
1417
|
-
"
|
|
1418
|
-
"
|
|
1419
|
-
|
|
1420
|
-
|
|
1406
|
+
"kind": "function",
|
|
1407
|
+
"name": "actionsMenuBaseStyles",
|
|
1408
|
+
"return": {
|
|
1409
|
+
"type": {
|
|
1410
|
+
"text": "ElementStyles"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
"parameters": [
|
|
1414
|
+
{
|
|
1415
|
+
"name": "context",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "ElementDefinitionContext"
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "definition",
|
|
1422
|
+
"type": {
|
|
1423
|
+
"text": "FoundationElementDefinition"
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
]
|
|
1421
1427
|
},
|
|
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/accordion-item/accordion-item.styles.ts",
|
|
1435
|
-
"declarations": [
|
|
1436
1428
|
{
|
|
1437
1429
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1430
|
+
"name": "foundationActionsMenuStyles",
|
|
1439
1431
|
"return": {
|
|
1440
1432
|
"type": {
|
|
1441
1433
|
"text": "ElementStyles"
|
|
@@ -1460,198 +1452,311 @@
|
|
|
1460
1452
|
"exports": [
|
|
1461
1453
|
{
|
|
1462
1454
|
"kind": "js",
|
|
1463
|
-
"name": "
|
|
1455
|
+
"name": "actionsMenuBaseStyles",
|
|
1464
1456
|
"declaration": {
|
|
1465
|
-
"name": "
|
|
1466
|
-
"module": "src/
|
|
1457
|
+
"name": "actionsMenuBaseStyles",
|
|
1458
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"kind": "js",
|
|
1463
|
+
"name": "foundationActionsMenuStyles",
|
|
1464
|
+
"declaration": {
|
|
1465
|
+
"name": "foundationActionsMenuStyles",
|
|
1466
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
]
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
1472
|
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/
|
|
1473
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1474
1474
|
"declarations": [
|
|
1475
1475
|
{
|
|
1476
1476
|
"kind": "function",
|
|
1477
|
-
"name": "
|
|
1478
|
-
"return": {
|
|
1479
|
-
"type": {
|
|
1480
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1481
|
-
}
|
|
1482
|
-
},
|
|
1477
|
+
"name": "menuTemplate",
|
|
1483
1478
|
"parameters": [
|
|
1484
1479
|
{
|
|
1485
|
-
"name": "
|
|
1480
|
+
"name": "prefix",
|
|
1486
1481
|
"type": {
|
|
1487
|
-
"text": "
|
|
1482
|
+
"text": "string"
|
|
1488
1483
|
}
|
|
1489
|
-
}
|
|
1484
|
+
}
|
|
1485
|
+
]
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"kind": "function",
|
|
1489
|
+
"name": "singleOptionTemplate",
|
|
1490
|
+
"parameters": [
|
|
1490
1491
|
{
|
|
1491
|
-
"name": "
|
|
1492
|
+
"name": "prefix",
|
|
1492
1493
|
"type": {
|
|
1493
|
-
"text": "
|
|
1494
|
+
"text": "string"
|
|
1494
1495
|
}
|
|
1495
1496
|
}
|
|
1496
1497
|
]
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"kind": "variable",
|
|
1501
|
+
"name": "foundationActionsMenuTemplate",
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1504
|
+
},
|
|
1505
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1497
1506
|
}
|
|
1498
1507
|
],
|
|
1499
1508
|
"exports": [
|
|
1500
1509
|
{
|
|
1501
1510
|
"kind": "js",
|
|
1502
|
-
"name": "
|
|
1511
|
+
"name": "menuTemplate",
|
|
1503
1512
|
"declaration": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"module": "src/
|
|
1513
|
+
"name": "menuTemplate",
|
|
1514
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "singleOptionTemplate",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "singleOptionTemplate",
|
|
1522
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"kind": "js",
|
|
1527
|
+
"name": "foundationActionsMenuTemplate",
|
|
1528
|
+
"declaration": {
|
|
1529
|
+
"name": "foundationActionsMenuTemplate",
|
|
1530
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1506
1531
|
}
|
|
1507
1532
|
}
|
|
1508
1533
|
]
|
|
1509
1534
|
},
|
|
1510
1535
|
{
|
|
1511
1536
|
"kind": "javascript-module",
|
|
1512
|
-
"path": "src/
|
|
1537
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1513
1538
|
"declarations": [
|
|
1514
1539
|
{
|
|
1515
1540
|
"kind": "class",
|
|
1516
1541
|
"description": "",
|
|
1517
|
-
"name": "
|
|
1518
|
-
"
|
|
1519
|
-
"name": "FASTAccordionItem",
|
|
1520
|
-
"package": "@microsoft/fast-components"
|
|
1521
|
-
},
|
|
1522
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1523
|
-
"customElement": true,
|
|
1524
|
-
"attributes": [
|
|
1542
|
+
"name": "ActionsMenu",
|
|
1543
|
+
"members": [
|
|
1525
1544
|
{
|
|
1526
|
-
"
|
|
1545
|
+
"kind": "field",
|
|
1546
|
+
"name": "actions",
|
|
1527
1547
|
"type": {
|
|
1528
|
-
"text": "
|
|
1529
|
-
},
|
|
1530
|
-
"default": "2",
|
|
1531
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1532
|
-
"fieldName": "headinglevel",
|
|
1533
|
-
"inheritedFrom": {
|
|
1534
|
-
"name": "AccordionItem",
|
|
1535
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1548
|
+
"text": "ActionMenuItem[]"
|
|
1536
1549
|
}
|
|
1537
1550
|
},
|
|
1538
1551
|
{
|
|
1552
|
+
"kind": "field",
|
|
1553
|
+
"name": "isVertical",
|
|
1539
1554
|
"type": {
|
|
1540
1555
|
"text": "boolean"
|
|
1541
1556
|
},
|
|
1542
|
-
"default": "false"
|
|
1543
|
-
"description": "Expands or collapses the item.",
|
|
1544
|
-
"fieldName": "expanded",
|
|
1545
|
-
"inheritedFrom": {
|
|
1546
|
-
"name": "AccordionItem",
|
|
1547
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1548
|
-
}
|
|
1557
|
+
"default": "false"
|
|
1549
1558
|
},
|
|
1550
1559
|
{
|
|
1551
|
-
"
|
|
1560
|
+
"kind": "field",
|
|
1561
|
+
"name": "addDefaultActions",
|
|
1552
1562
|
"type": {
|
|
1553
|
-
"text": "
|
|
1563
|
+
"text": "boolean"
|
|
1554
1564
|
},
|
|
1555
|
-
"
|
|
1556
|
-
|
|
1557
|
-
"inheritedFrom": {
|
|
1558
|
-
"name": "AccordionItem",
|
|
1559
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
],
|
|
1563
|
-
"members": [
|
|
1565
|
+
"default": "true"
|
|
1566
|
+
},
|
|
1564
1567
|
{
|
|
1565
1568
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1569
|
+
"name": "autoCloseOnAction",
|
|
1567
1570
|
"type": {
|
|
1568
|
-
"text": "
|
|
1571
|
+
"text": "boolean"
|
|
1569
1572
|
},
|
|
1570
|
-
"
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
"
|
|
1574
|
-
|
|
1575
|
-
|
|
1573
|
+
"default": "true"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"kind": "field",
|
|
1577
|
+
"name": "classNames",
|
|
1578
|
+
"type": {
|
|
1579
|
+
"text": "string"
|
|
1576
1580
|
}
|
|
1577
1581
|
},
|
|
1578
1582
|
{
|
|
1579
1583
|
"kind": "field",
|
|
1580
|
-
"name": "
|
|
1584
|
+
"name": "definition",
|
|
1581
1585
|
"type": {
|
|
1582
|
-
"text": "
|
|
1583
|
-
},
|
|
1584
|
-
"privacy": "public",
|
|
1585
|
-
"default": "false",
|
|
1586
|
-
"description": "Expands or collapses the item.",
|
|
1587
|
-
"inheritedFrom": {
|
|
1588
|
-
"name": "AccordionItem",
|
|
1589
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1586
|
+
"text": "any"
|
|
1590
1587
|
}
|
|
1591
1588
|
},
|
|
1592
1589
|
{
|
|
1593
1590
|
"kind": "field",
|
|
1594
|
-
"name": "
|
|
1591
|
+
"name": "name",
|
|
1595
1592
|
"type": {
|
|
1596
1593
|
"text": "string"
|
|
1597
1594
|
},
|
|
1598
|
-
"
|
|
1599
|
-
"description": "The item ID",
|
|
1600
|
-
"inheritedFrom": {
|
|
1601
|
-
"name": "AccordionItem",
|
|
1602
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1603
|
-
}
|
|
1595
|
+
"default": "'Actions'"
|
|
1604
1596
|
},
|
|
1605
1597
|
{
|
|
1606
1598
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1608
|
-
"
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
}
|
|
1599
|
+
"name": "open",
|
|
1600
|
+
"type": {
|
|
1601
|
+
"text": "boolean"
|
|
1602
|
+
},
|
|
1603
|
+
"default": "false"
|
|
1613
1604
|
},
|
|
1614
1605
|
{
|
|
1615
1606
|
"kind": "field",
|
|
1616
|
-
"name": "
|
|
1607
|
+
"name": "buttonAppearance",
|
|
1617
1608
|
"type": {
|
|
1618
|
-
"text": "
|
|
1619
|
-
},
|
|
1620
|
-
"privacy": "private",
|
|
1621
|
-
"default": "void 0",
|
|
1622
|
-
"inheritedFrom": {
|
|
1623
|
-
"name": "FoundationElement",
|
|
1624
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1609
|
+
"text": "string"
|
|
1625
1610
|
}
|
|
1626
1611
|
},
|
|
1627
1612
|
{
|
|
1628
1613
|
"kind": "field",
|
|
1629
|
-
"name": "
|
|
1614
|
+
"name": "hideDisabled",
|
|
1630
1615
|
"type": {
|
|
1631
|
-
"text": "
|
|
1616
|
+
"text": "boolean"
|
|
1632
1617
|
},
|
|
1633
|
-
"
|
|
1634
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1635
|
-
"inheritedFrom": {
|
|
1636
|
-
"name": "FoundationElement",
|
|
1637
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1638
|
-
}
|
|
1618
|
+
"default": "false"
|
|
1639
1619
|
},
|
|
1640
1620
|
{
|
|
1641
1621
|
"kind": "field",
|
|
1642
|
-
"name": "
|
|
1622
|
+
"name": "hideMenuSingleOption",
|
|
1643
1623
|
"type": {
|
|
1644
|
-
"text": "
|
|
1624
|
+
"text": "boolean"
|
|
1645
1625
|
},
|
|
1646
|
-
"
|
|
1647
|
-
"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.",
|
|
1648
|
-
"inheritedFrom": {
|
|
1649
|
-
"name": "FoundationElement",
|
|
1650
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1651
|
-
}
|
|
1626
|
+
"default": "false"
|
|
1652
1627
|
},
|
|
1653
1628
|
{
|
|
1654
|
-
"kind": "
|
|
1629
|
+
"kind": "field",
|
|
1630
|
+
"name": "singleOption",
|
|
1631
|
+
"type": {
|
|
1632
|
+
"text": "ActionMenuItem"
|
|
1633
|
+
}
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"kind": "field",
|
|
1637
|
+
"name": "actionsMenu",
|
|
1638
|
+
"type": {
|
|
1639
|
+
"text": "HTMLElement"
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"kind": "method",
|
|
1644
|
+
"name": "definitionChanged",
|
|
1645
|
+
"privacy": "protected",
|
|
1646
|
+
"parameters": [
|
|
1647
|
+
{
|
|
1648
|
+
"name": "oldValue",
|
|
1649
|
+
"type": {
|
|
1650
|
+
"text": "any"
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"name": "newValue",
|
|
1655
|
+
"type": {
|
|
1656
|
+
"text": "any"
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
]
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"kind": "method",
|
|
1663
|
+
"name": "openChanged",
|
|
1664
|
+
"privacy": "protected"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"kind": "method",
|
|
1668
|
+
"name": "toggleActionsMenuVisibility"
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"kind": "method",
|
|
1672
|
+
"name": "onActionMenuItemClick",
|
|
1673
|
+
"parameters": [
|
|
1674
|
+
{
|
|
1675
|
+
"name": "callback",
|
|
1676
|
+
"type": {
|
|
1677
|
+
"text": "(rowData) => void | any"
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
]
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "field",
|
|
1684
|
+
"name": "allActions",
|
|
1685
|
+
"type": {
|
|
1686
|
+
"text": "ActionMenuItem[]"
|
|
1687
|
+
},
|
|
1688
|
+
"readonly": true
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"kind": "field",
|
|
1692
|
+
"name": "rowData",
|
|
1693
|
+
"readonly": true
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"kind": "method",
|
|
1697
|
+
"name": "getLabel",
|
|
1698
|
+
"parameters": [
|
|
1699
|
+
{
|
|
1700
|
+
"name": "name",
|
|
1701
|
+
"type": {
|
|
1702
|
+
"text": "string | ((rowData: any) => string)"
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
]
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"kind": "method",
|
|
1709
|
+
"name": "getTemplate",
|
|
1710
|
+
"parameters": [
|
|
1711
|
+
{
|
|
1712
|
+
"name": "prefix",
|
|
1713
|
+
"type": {
|
|
1714
|
+
"text": "string"
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
]
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"kind": "field",
|
|
1721
|
+
"name": "_presentation",
|
|
1722
|
+
"type": {
|
|
1723
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1724
|
+
},
|
|
1725
|
+
"privacy": "private",
|
|
1726
|
+
"default": "void 0",
|
|
1727
|
+
"inheritedFrom": {
|
|
1728
|
+
"name": "FoundationElement",
|
|
1729
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"kind": "field",
|
|
1734
|
+
"name": "$presentation",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "ComponentPresentation | null"
|
|
1737
|
+
},
|
|
1738
|
+
"privacy": "public",
|
|
1739
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1740
|
+
"inheritedFrom": {
|
|
1741
|
+
"name": "FoundationElement",
|
|
1742
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "field",
|
|
1747
|
+
"name": "template",
|
|
1748
|
+
"type": {
|
|
1749
|
+
"text": "ElementViewTemplate | void | null"
|
|
1750
|
+
},
|
|
1751
|
+
"privacy": "public",
|
|
1752
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1753
|
+
"inheritedFrom": {
|
|
1754
|
+
"name": "FoundationElement",
|
|
1755
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"kind": "method",
|
|
1655
1760
|
"name": "templateChanged",
|
|
1656
1761
|
"privacy": "protected",
|
|
1657
1762
|
"return": {
|
|
@@ -1723,78 +1828,107 @@
|
|
|
1723
1828
|
}
|
|
1724
1829
|
}
|
|
1725
1830
|
],
|
|
1726
|
-
"
|
|
1831
|
+
"attributes": [
|
|
1727
1832
|
{
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1833
|
+
"name": "is-vertical",
|
|
1834
|
+
"type": {
|
|
1835
|
+
"text": "boolean"
|
|
1836
|
+
},
|
|
1837
|
+
"default": "false",
|
|
1838
|
+
"fieldName": "isVertical"
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"name": "add-default-actions",
|
|
1842
|
+
"type": {
|
|
1843
|
+
"text": "boolean"
|
|
1844
|
+
},
|
|
1845
|
+
"default": "true",
|
|
1846
|
+
"fieldName": "addDefaultActions"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"name": "auto-close-on-action",
|
|
1850
|
+
"type": {
|
|
1851
|
+
"text": "boolean"
|
|
1852
|
+
},
|
|
1853
|
+
"default": "true",
|
|
1854
|
+
"fieldName": "autoCloseOnAction"
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"name": "name",
|
|
1858
|
+
"type": {
|
|
1859
|
+
"text": "string"
|
|
1860
|
+
},
|
|
1861
|
+
"default": "'Actions'",
|
|
1862
|
+
"fieldName": "name"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "open",
|
|
1866
|
+
"type": {
|
|
1867
|
+
"text": "boolean"
|
|
1868
|
+
},
|
|
1869
|
+
"default": "false",
|
|
1870
|
+
"fieldName": "open"
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"name": "buttonAppearance",
|
|
1874
|
+
"type": {
|
|
1875
|
+
"text": "string"
|
|
1876
|
+
},
|
|
1877
|
+
"fieldName": "buttonAppearance"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "hide-disabled",
|
|
1881
|
+
"type": {
|
|
1882
|
+
"text": "boolean"
|
|
1883
|
+
},
|
|
1884
|
+
"default": "false",
|
|
1885
|
+
"fieldName": "hideDisabled"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"name": "hide-menu-single-option",
|
|
1889
|
+
"type": {
|
|
1890
|
+
"text": "boolean"
|
|
1891
|
+
},
|
|
1892
|
+
"default": "false",
|
|
1893
|
+
"fieldName": "hideMenuSingleOption"
|
|
1734
1894
|
}
|
|
1735
|
-
]
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1740
|
-
"type": {
|
|
1741
|
-
"text": "ShadowRootInit"
|
|
1742
|
-
},
|
|
1743
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "variable",
|
|
1747
|
-
"name": "defaultAccordionItemConfig",
|
|
1748
|
-
"type": {
|
|
1749
|
-
"text": "object"
|
|
1895
|
+
],
|
|
1896
|
+
"superclass": {
|
|
1897
|
+
"name": "FoundationElement",
|
|
1898
|
+
"package": "@microsoft/fast-foundation"
|
|
1750
1899
|
},
|
|
1751
|
-
"
|
|
1900
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1901
|
+
"customElement": true
|
|
1752
1902
|
},
|
|
1753
1903
|
{
|
|
1754
1904
|
"kind": "variable",
|
|
1755
|
-
"name": "
|
|
1756
|
-
"description": "The Foundation
|
|
1905
|
+
"name": "foundationActionsMenu",
|
|
1906
|
+
"description": "The Foundation Actions Menu",
|
|
1757
1907
|
"privacy": "public"
|
|
1758
1908
|
}
|
|
1759
1909
|
],
|
|
1760
1910
|
"exports": [
|
|
1761
1911
|
{
|
|
1762
1912
|
"kind": "js",
|
|
1763
|
-
"name": "
|
|
1764
|
-
"declaration": {
|
|
1765
|
-
"name": "AccordionItem",
|
|
1766
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1767
|
-
}
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"kind": "js",
|
|
1771
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1772
|
-
"declaration": {
|
|
1773
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1774
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1775
|
-
}
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"kind": "js",
|
|
1779
|
-
"name": "defaultAccordionItemConfig",
|
|
1913
|
+
"name": "ActionsMenu",
|
|
1780
1914
|
"declaration": {
|
|
1781
|
-
"name": "
|
|
1782
|
-
"module": "src/
|
|
1915
|
+
"name": "ActionsMenu",
|
|
1916
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1783
1917
|
}
|
|
1784
1918
|
},
|
|
1785
1919
|
{
|
|
1786
1920
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1921
|
+
"name": "foundationActionsMenu",
|
|
1788
1922
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/
|
|
1923
|
+
"name": "foundationActionsMenu",
|
|
1924
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1791
1925
|
}
|
|
1792
1926
|
}
|
|
1793
1927
|
]
|
|
1794
1928
|
},
|
|
1795
1929
|
{
|
|
1796
1930
|
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/
|
|
1931
|
+
"path": "src/actions-menu/index.ts",
|
|
1798
1932
|
"declarations": [],
|
|
1799
1933
|
"exports": [
|
|
1800
1934
|
{
|
|
@@ -1802,7 +1936,7 @@
|
|
|
1802
1936
|
"name": "*",
|
|
1803
1937
|
"declaration": {
|
|
1804
1938
|
"name": "*",
|
|
1805
|
-
"package": "./
|
|
1939
|
+
"package": "./actions-menu.styles"
|
|
1806
1940
|
}
|
|
1807
1941
|
},
|
|
1808
1942
|
{
|
|
@@ -1810,7 +1944,7 @@
|
|
|
1810
1944
|
"name": "*",
|
|
1811
1945
|
"declaration": {
|
|
1812
1946
|
"name": "*",
|
|
1813
|
-
"package": "./
|
|
1947
|
+
"package": "./actions-menu.template"
|
|
1814
1948
|
}
|
|
1815
1949
|
},
|
|
1816
1950
|
{
|
|
@@ -1818,41 +1952,49 @@
|
|
|
1818
1952
|
"name": "*",
|
|
1819
1953
|
"declaration": {
|
|
1820
1954
|
"name": "*",
|
|
1821
|
-
"package": "./
|
|
1955
|
+
"package": "./actions-menu"
|
|
1822
1956
|
}
|
|
1823
1957
|
}
|
|
1824
1958
|
]
|
|
1825
1959
|
},
|
|
1826
1960
|
{
|
|
1827
1961
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/
|
|
1829
|
-
"declarations": [
|
|
1962
|
+
"path": "src/_config/index.ts",
|
|
1963
|
+
"declarations": [],
|
|
1964
|
+
"exports": [
|
|
1830
1965
|
{
|
|
1831
|
-
"kind": "
|
|
1832
|
-
"name": "
|
|
1833
|
-
"
|
|
1834
|
-
"
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
{
|
|
1846
|
-
"name": "definition",
|
|
1847
|
-
"type": {
|
|
1848
|
-
"text": "FoundationElementDefinition"
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
]
|
|
1966
|
+
"kind": "js",
|
|
1967
|
+
"name": "*",
|
|
1968
|
+
"declaration": {
|
|
1969
|
+
"name": "*",
|
|
1970
|
+
"package": "./styles"
|
|
1971
|
+
}
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"kind": "js",
|
|
1975
|
+
"name": "*",
|
|
1976
|
+
"declaration": {
|
|
1977
|
+
"name": "*",
|
|
1978
|
+
"package": "./tokens"
|
|
1979
|
+
}
|
|
1852
1980
|
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "*",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "*",
|
|
1986
|
+
"package": "./values"
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
]
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"kind": "javascript-module",
|
|
1993
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1994
|
+
"declarations": [
|
|
1853
1995
|
{
|
|
1854
1996
|
"kind": "function",
|
|
1855
|
-
"name": "
|
|
1997
|
+
"name": "foundationAccordionItemStyles",
|
|
1856
1998
|
"return": {
|
|
1857
1999
|
"type": {
|
|
1858
2000
|
"text": "ElementStyles"
|
|
@@ -1877,269 +2019,156 @@
|
|
|
1877
2019
|
"exports": [
|
|
1878
2020
|
{
|
|
1879
2021
|
"kind": "js",
|
|
1880
|
-
"name": "
|
|
1881
|
-
"declaration": {
|
|
1882
|
-
"name": "actionsMenuBaseStyles",
|
|
1883
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1884
|
-
}
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"kind": "js",
|
|
1888
|
-
"name": "foundationActionsMenuStyles",
|
|
2022
|
+
"name": "foundationAccordionItemStyles",
|
|
1889
2023
|
"declaration": {
|
|
1890
|
-
"name": "
|
|
1891
|
-
"module": "src/
|
|
2024
|
+
"name": "foundationAccordionItemStyles",
|
|
2025
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1892
2026
|
}
|
|
1893
2027
|
}
|
|
1894
2028
|
]
|
|
1895
2029
|
},
|
|
1896
2030
|
{
|
|
1897
2031
|
"kind": "javascript-module",
|
|
1898
|
-
"path": "src/
|
|
2032
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1899
2033
|
"declarations": [
|
|
1900
2034
|
{
|
|
1901
2035
|
"kind": "function",
|
|
1902
|
-
"name": "
|
|
2036
|
+
"name": "foundationAccordionItemTemplate",
|
|
2037
|
+
"return": {
|
|
2038
|
+
"type": {
|
|
2039
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
1903
2042
|
"parameters": [
|
|
1904
2043
|
{
|
|
1905
|
-
"name": "
|
|
2044
|
+
"name": "context",
|
|
1906
2045
|
"type": {
|
|
1907
|
-
"text": "
|
|
2046
|
+
"text": "ElementDefinitionContext"
|
|
1908
2047
|
}
|
|
1909
|
-
}
|
|
1910
|
-
]
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
"kind": "function",
|
|
1914
|
-
"name": "singleOptionTemplate",
|
|
1915
|
-
"parameters": [
|
|
2048
|
+
},
|
|
1916
2049
|
{
|
|
1917
|
-
"name": "
|
|
2050
|
+
"name": "definition",
|
|
1918
2051
|
"type": {
|
|
1919
|
-
"text": "
|
|
2052
|
+
"text": "FoundationElementDefinition"
|
|
1920
2053
|
}
|
|
1921
2054
|
}
|
|
1922
2055
|
]
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"kind": "variable",
|
|
1926
|
-
"name": "foundationActionsMenuTemplate",
|
|
1927
|
-
"type": {
|
|
1928
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1929
|
-
},
|
|
1930
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1931
2056
|
}
|
|
1932
2057
|
],
|
|
1933
2058
|
"exports": [
|
|
1934
2059
|
{
|
|
1935
2060
|
"kind": "js",
|
|
1936
|
-
"name": "
|
|
1937
|
-
"declaration": {
|
|
1938
|
-
"name": "menuTemplate",
|
|
1939
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1940
|
-
}
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"kind": "js",
|
|
1944
|
-
"name": "singleOptionTemplate",
|
|
1945
|
-
"declaration": {
|
|
1946
|
-
"name": "singleOptionTemplate",
|
|
1947
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1948
|
-
}
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "js",
|
|
1952
|
-
"name": "foundationActionsMenuTemplate",
|
|
2061
|
+
"name": "foundationAccordionItemTemplate",
|
|
1953
2062
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/
|
|
2063
|
+
"name": "foundationAccordionItemTemplate",
|
|
2064
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1956
2065
|
}
|
|
1957
2066
|
}
|
|
1958
2067
|
]
|
|
1959
2068
|
},
|
|
1960
2069
|
{
|
|
1961
2070
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/
|
|
2071
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1963
2072
|
"declarations": [
|
|
1964
2073
|
{
|
|
1965
2074
|
"kind": "class",
|
|
1966
2075
|
"description": "",
|
|
1967
|
-
"name": "
|
|
1968
|
-
"
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
},
|
|
1976
|
-
{
|
|
1977
|
-
"kind": "field",
|
|
1978
|
-
"name": "isVertical",
|
|
1979
|
-
"type": {
|
|
1980
|
-
"text": "boolean"
|
|
1981
|
-
},
|
|
1982
|
-
"default": "false"
|
|
1983
|
-
},
|
|
2076
|
+
"name": "AccordionItem",
|
|
2077
|
+
"superclass": {
|
|
2078
|
+
"name": "FASTAccordionItem",
|
|
2079
|
+
"package": "@microsoft/fast-components"
|
|
2080
|
+
},
|
|
2081
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2082
|
+
"customElement": true,
|
|
2083
|
+
"attributes": [
|
|
1984
2084
|
{
|
|
1985
|
-
"
|
|
1986
|
-
"name": "addDefaultActions",
|
|
2085
|
+
"name": "heading-level",
|
|
1987
2086
|
"type": {
|
|
1988
|
-
"text": "
|
|
2087
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1989
2088
|
},
|
|
1990
|
-
"default": "
|
|
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"
|
|
2095
|
+
}
|
|
1991
2096
|
},
|
|
1992
2097
|
{
|
|
1993
|
-
"kind": "field",
|
|
1994
|
-
"name": "autoCloseOnAction",
|
|
1995
2098
|
"type": {
|
|
1996
2099
|
"text": "boolean"
|
|
1997
2100
|
},
|
|
1998
|
-
"default": "
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
"
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
"text": "string"
|
|
2005
|
-
}
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "field",
|
|
2009
|
-
"name": "definition",
|
|
2010
|
-
"type": {
|
|
2011
|
-
"text": "any"
|
|
2101
|
+
"default": "false",
|
|
2102
|
+
"description": "Expands or collapses the item.",
|
|
2103
|
+
"fieldName": "expanded",
|
|
2104
|
+
"inheritedFrom": {
|
|
2105
|
+
"name": "AccordionItem",
|
|
2106
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2012
2107
|
}
|
|
2013
2108
|
},
|
|
2014
2109
|
{
|
|
2015
|
-
"
|
|
2016
|
-
"name": "name",
|
|
2110
|
+
"name": "id",
|
|
2017
2111
|
"type": {
|
|
2018
2112
|
"text": "string"
|
|
2019
2113
|
},
|
|
2020
|
-
"
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
"type": {
|
|
2026
|
-
"text": "boolean"
|
|
2027
|
-
},
|
|
2028
|
-
"default": "false"
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
"kind": "field",
|
|
2032
|
-
"name": "buttonAppearance",
|
|
2033
|
-
"type": {
|
|
2034
|
-
"text": "string"
|
|
2114
|
+
"description": "The item ID",
|
|
2115
|
+
"fieldName": "id",
|
|
2116
|
+
"inheritedFrom": {
|
|
2117
|
+
"name": "AccordionItem",
|
|
2118
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2035
2119
|
}
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
"name": "hideDisabled",
|
|
2040
|
-
"type": {
|
|
2041
|
-
"text": "boolean"
|
|
2042
|
-
},
|
|
2043
|
-
"default": "false"
|
|
2044
|
-
},
|
|
2120
|
+
}
|
|
2121
|
+
],
|
|
2122
|
+
"members": [
|
|
2045
2123
|
{
|
|
2046
2124
|
"kind": "field",
|
|
2047
|
-
"name": "
|
|
2125
|
+
"name": "headinglevel",
|
|
2048
2126
|
"type": {
|
|
2049
|
-
"text": "
|
|
2127
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2050
2128
|
},
|
|
2051
|
-
"
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
"
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
"text": "ActionMenuItem"
|
|
2129
|
+
"privacy": "public",
|
|
2130
|
+
"default": "2",
|
|
2131
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2132
|
+
"inheritedFrom": {
|
|
2133
|
+
"name": "AccordionItem",
|
|
2134
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2058
2135
|
}
|
|
2059
2136
|
},
|
|
2060
2137
|
{
|
|
2061
2138
|
"kind": "field",
|
|
2062
|
-
"name": "
|
|
2139
|
+
"name": "expanded",
|
|
2063
2140
|
"type": {
|
|
2064
|
-
"text": "
|
|
2065
|
-
}
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
"
|
|
2069
|
-
"
|
|
2070
|
-
|
|
2071
|
-
|
|
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
|
-
]
|
|
2141
|
+
"text": "boolean"
|
|
2142
|
+
},
|
|
2143
|
+
"privacy": "public",
|
|
2144
|
+
"default": "false",
|
|
2145
|
+
"description": "Expands or collapses the item.",
|
|
2146
|
+
"inheritedFrom": {
|
|
2147
|
+
"name": "AccordionItem",
|
|
2148
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2149
|
+
}
|
|
2106
2150
|
},
|
|
2107
2151
|
{
|
|
2108
2152
|
"kind": "field",
|
|
2109
|
-
"name": "
|
|
2153
|
+
"name": "id",
|
|
2110
2154
|
"type": {
|
|
2111
|
-
"text": "
|
|
2155
|
+
"text": "string"
|
|
2112
2156
|
},
|
|
2113
|
-
"
|
|
2157
|
+
"privacy": "public",
|
|
2158
|
+
"description": "The item ID",
|
|
2159
|
+
"inheritedFrom": {
|
|
2160
|
+
"name": "AccordionItem",
|
|
2161
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2162
|
+
}
|
|
2114
2163
|
},
|
|
2115
2164
|
{
|
|
2116
2165
|
"kind": "field",
|
|
2117
|
-
"name": "
|
|
2118
|
-
"
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
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
|
-
]
|
|
2166
|
+
"name": "change",
|
|
2167
|
+
"privacy": "private",
|
|
2168
|
+
"inheritedFrom": {
|
|
2169
|
+
"name": "AccordionItem",
|
|
2170
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2171
|
+
}
|
|
2143
2172
|
},
|
|
2144
2173
|
{
|
|
2145
2174
|
"kind": "field",
|
|
@@ -2253,107 +2282,78 @@
|
|
|
2253
2282
|
}
|
|
2254
2283
|
}
|
|
2255
2284
|
],
|
|
2256
|
-
"
|
|
2257
|
-
{
|
|
2258
|
-
"name": "is-vertical",
|
|
2259
|
-
"type": {
|
|
2260
|
-
"text": "boolean"
|
|
2261
|
-
},
|
|
2262
|
-
"default": "false",
|
|
2263
|
-
"fieldName": "isVertical"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"name": "add-default-actions",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "boolean"
|
|
2269
|
-
},
|
|
2270
|
-
"default": "true",
|
|
2271
|
-
"fieldName": "addDefaultActions"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "auto-close-on-action",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "boolean"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "true",
|
|
2279
|
-
"fieldName": "autoCloseOnAction"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "name",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "string"
|
|
2285
|
-
},
|
|
2286
|
-
"default": "'Actions'",
|
|
2287
|
-
"fieldName": "name"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"name": "open",
|
|
2291
|
-
"type": {
|
|
2292
|
-
"text": "boolean"
|
|
2293
|
-
},
|
|
2294
|
-
"default": "false",
|
|
2295
|
-
"fieldName": "open"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"name": "buttonAppearance",
|
|
2299
|
-
"type": {
|
|
2300
|
-
"text": "string"
|
|
2301
|
-
},
|
|
2302
|
-
"fieldName": "buttonAppearance"
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"name": "hide-disabled",
|
|
2306
|
-
"type": {
|
|
2307
|
-
"text": "boolean"
|
|
2308
|
-
},
|
|
2309
|
-
"default": "false",
|
|
2310
|
-
"fieldName": "hideDisabled"
|
|
2311
|
-
},
|
|
2285
|
+
"events": [
|
|
2312
2286
|
{
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2287
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2288
|
+
"name": "change",
|
|
2289
|
+
"inheritedFrom": {
|
|
2290
|
+
"name": "AccordionItem",
|
|
2291
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2292
|
+
}
|
|
2319
2293
|
}
|
|
2320
|
-
]
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2294
|
+
]
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"kind": "variable",
|
|
2298
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2299
|
+
"type": {
|
|
2300
|
+
"text": "ShadowRootInit"
|
|
2324
2301
|
},
|
|
2325
|
-
"
|
|
2326
|
-
"customElement": true
|
|
2302
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2327
2303
|
},
|
|
2328
2304
|
{
|
|
2329
2305
|
"kind": "variable",
|
|
2330
|
-
"name": "
|
|
2331
|
-
"
|
|
2306
|
+
"name": "defaultAccordionItemConfig",
|
|
2307
|
+
"type": {
|
|
2308
|
+
"text": "object"
|
|
2309
|
+
},
|
|
2310
|
+
"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}"
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
"kind": "variable",
|
|
2314
|
+
"name": "foundationAccordionItem",
|
|
2315
|
+
"description": "The Foundation Accordion Item",
|
|
2332
2316
|
"privacy": "public"
|
|
2333
2317
|
}
|
|
2334
2318
|
],
|
|
2335
2319
|
"exports": [
|
|
2336
2320
|
{
|
|
2337
2321
|
"kind": "js",
|
|
2338
|
-
"name": "
|
|
2322
|
+
"name": "AccordionItem",
|
|
2339
2323
|
"declaration": {
|
|
2340
|
-
"name": "
|
|
2341
|
-
"module": "src/
|
|
2324
|
+
"name": "AccordionItem",
|
|
2325
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2342
2326
|
}
|
|
2343
2327
|
},
|
|
2344
2328
|
{
|
|
2345
2329
|
"kind": "js",
|
|
2346
|
-
"name": "
|
|
2330
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2347
2331
|
"declaration": {
|
|
2348
|
-
"name": "
|
|
2349
|
-
"module": "src/
|
|
2332
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2333
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2334
|
+
}
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"kind": "js",
|
|
2338
|
+
"name": "defaultAccordionItemConfig",
|
|
2339
|
+
"declaration": {
|
|
2340
|
+
"name": "defaultAccordionItemConfig",
|
|
2341
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"kind": "js",
|
|
2346
|
+
"name": "foundationAccordionItem",
|
|
2347
|
+
"declaration": {
|
|
2348
|
+
"name": "foundationAccordionItem",
|
|
2349
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2350
2350
|
}
|
|
2351
2351
|
}
|
|
2352
2352
|
]
|
|
2353
2353
|
},
|
|
2354
2354
|
{
|
|
2355
2355
|
"kind": "javascript-module",
|
|
2356
|
-
"path": "src/
|
|
2356
|
+
"path": "src/accordion-item/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": "./accordion-item.template"
|
|
2365
2365
|
}
|
|
2366
2366
|
},
|
|
2367
2367
|
{
|
|
@@ -2369,7 +2369,7 @@
|
|
|
2369
2369
|
"name": "*",
|
|
2370
2370
|
"declaration": {
|
|
2371
2371
|
"name": "*",
|
|
2372
|
-
"package": "./
|
|
2372
|
+
"package": "./accordion-item.styles"
|
|
2373
2373
|
}
|
|
2374
2374
|
},
|
|
2375
2375
|
{
|
|
@@ -2377,122 +2377,111 @@
|
|
|
2377
2377
|
"name": "*",
|
|
2378
2378
|
"declaration": {
|
|
2379
2379
|
"name": "*",
|
|
2380
|
-
"package": "./
|
|
2380
|
+
"package": "./accordion-item"
|
|
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
|
]
|