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