@genesislcap/foundation-ui 15.7.0 → 15.7.2-FUI-2595.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1137 -1137
- package/dist/dts/dialog/dialog.styles.d.ts.map +1 -1
- package/dist/dts/react.d.ts +18 -18
- package/dist/esm/dialog/dialog.styles.js +6 -1
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +19 -19
|
@@ -1424,11 +1424,42 @@
|
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
1426
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
1427
|
+
"path": "src/_config/index.ts",
|
|
1428
|
+
"declarations": [],
|
|
1429
|
+
"exports": [
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "*",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "*",
|
|
1435
|
+
"package": "./styles"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "*",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "*",
|
|
1443
|
+
"package": "./tokens"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"kind": "js",
|
|
1448
|
+
"name": "*",
|
|
1449
|
+
"declaration": {
|
|
1450
|
+
"name": "*",
|
|
1451
|
+
"package": "./values"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"kind": "javascript-module",
|
|
1458
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1428
1459
|
"declarations": [
|
|
1429
1460
|
{
|
|
1430
1461
|
"kind": "function",
|
|
1431
|
-
"name": "
|
|
1462
|
+
"name": "foundationAccordionItemStyles",
|
|
1432
1463
|
"return": {
|
|
1433
1464
|
"type": {
|
|
1434
1465
|
"text": "ElementStyles"
|
|
@@ -1453,24 +1484,24 @@
|
|
|
1453
1484
|
"exports": [
|
|
1454
1485
|
{
|
|
1455
1486
|
"kind": "js",
|
|
1456
|
-
"name": "
|
|
1487
|
+
"name": "foundationAccordionItemStyles",
|
|
1457
1488
|
"declaration": {
|
|
1458
|
-
"name": "
|
|
1459
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1489
|
+
"name": "foundationAccordionItemStyles",
|
|
1490
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1460
1491
|
}
|
|
1461
1492
|
}
|
|
1462
1493
|
]
|
|
1463
1494
|
},
|
|
1464
1495
|
{
|
|
1465
1496
|
"kind": "javascript-module",
|
|
1466
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1497
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1467
1498
|
"declarations": [
|
|
1468
1499
|
{
|
|
1469
1500
|
"kind": "function",
|
|
1470
|
-
"name": "
|
|
1501
|
+
"name": "foundationAccordionItemTemplate",
|
|
1471
1502
|
"return": {
|
|
1472
1503
|
"type": {
|
|
1473
|
-
"text": "ViewTemplate<
|
|
1504
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1474
1505
|
}
|
|
1475
1506
|
},
|
|
1476
1507
|
"parameters": [
|
|
@@ -1492,365 +1523,244 @@
|
|
|
1492
1523
|
"exports": [
|
|
1493
1524
|
{
|
|
1494
1525
|
"kind": "js",
|
|
1495
|
-
"name": "
|
|
1526
|
+
"name": "foundationAccordionItemTemplate",
|
|
1496
1527
|
"declaration": {
|
|
1497
|
-
"name": "
|
|
1498
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1528
|
+
"name": "foundationAccordionItemTemplate",
|
|
1529
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1499
1530
|
}
|
|
1500
1531
|
}
|
|
1501
1532
|
]
|
|
1502
1533
|
},
|
|
1503
1534
|
{
|
|
1504
1535
|
"kind": "javascript-module",
|
|
1505
|
-
"path": "src/accordion/accordion.ts",
|
|
1536
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1506
1537
|
"declarations": [
|
|
1507
1538
|
{
|
|
1508
1539
|
"kind": "class",
|
|
1509
1540
|
"description": "",
|
|
1510
|
-
"name": "
|
|
1541
|
+
"name": "AccordionItem",
|
|
1511
1542
|
"superclass": {
|
|
1512
|
-
"name": "
|
|
1513
|
-
"package": "@microsoft/fast-
|
|
1543
|
+
"name": "FASTAccordionItem",
|
|
1544
|
+
"package": "@microsoft/fast-components"
|
|
1514
1545
|
},
|
|
1515
|
-
"tagName": "%%prefix%%-accordion",
|
|
1546
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1516
1547
|
"customElement": true,
|
|
1517
1548
|
"attributes": [
|
|
1518
1549
|
{
|
|
1519
|
-
"name": "
|
|
1550
|
+
"name": "heading-level",
|
|
1520
1551
|
"type": {
|
|
1521
|
-
"text": "
|
|
1552
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1522
1553
|
},
|
|
1523
|
-
"
|
|
1524
|
-
"
|
|
1554
|
+
"default": "2",
|
|
1555
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1556
|
+
"fieldName": "headinglevel",
|
|
1525
1557
|
"inheritedFrom": {
|
|
1526
|
-
"name": "
|
|
1527
|
-
"module": "src/accordion/accordion.ts"
|
|
1558
|
+
"name": "AccordionItem",
|
|
1559
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"type": {
|
|
1564
|
+
"text": "boolean"
|
|
1565
|
+
},
|
|
1566
|
+
"default": "false",
|
|
1567
|
+
"description": "Expands or collapses the item.",
|
|
1568
|
+
"fieldName": "expanded",
|
|
1569
|
+
"inheritedFrom": {
|
|
1570
|
+
"name": "AccordionItem",
|
|
1571
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "id",
|
|
1576
|
+
"type": {
|
|
1577
|
+
"text": "string"
|
|
1578
|
+
},
|
|
1579
|
+
"description": "The item ID",
|
|
1580
|
+
"fieldName": "id",
|
|
1581
|
+
"inheritedFrom": {
|
|
1582
|
+
"name": "AccordionItem",
|
|
1583
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1528
1584
|
}
|
|
1529
1585
|
}
|
|
1530
1586
|
],
|
|
1531
1587
|
"members": [
|
|
1532
1588
|
{
|
|
1533
1589
|
"kind": "field",
|
|
1534
|
-
"name": "
|
|
1590
|
+
"name": "headinglevel",
|
|
1535
1591
|
"type": {
|
|
1536
|
-
"text": "
|
|
1592
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1537
1593
|
},
|
|
1538
1594
|
"privacy": "public",
|
|
1539
|
-
"
|
|
1595
|
+
"default": "2",
|
|
1596
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1540
1597
|
"inheritedFrom": {
|
|
1541
|
-
"name": "
|
|
1542
|
-
"module": "src/accordion/accordion.ts"
|
|
1598
|
+
"name": "AccordionItem",
|
|
1599
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1543
1600
|
}
|
|
1544
1601
|
},
|
|
1545
1602
|
{
|
|
1546
1603
|
"kind": "field",
|
|
1547
|
-
"name": "
|
|
1604
|
+
"name": "expanded",
|
|
1548
1605
|
"type": {
|
|
1549
|
-
"text": "
|
|
1606
|
+
"text": "boolean"
|
|
1550
1607
|
},
|
|
1551
|
-
"privacy": "
|
|
1608
|
+
"privacy": "public",
|
|
1609
|
+
"default": "false",
|
|
1610
|
+
"description": "Expands or collapses the item.",
|
|
1552
1611
|
"inheritedFrom": {
|
|
1553
|
-
"name": "
|
|
1554
|
-
"module": "src/accordion/accordion.ts"
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1555
1614
|
}
|
|
1556
1615
|
},
|
|
1557
1616
|
{
|
|
1558
1617
|
"kind": "field",
|
|
1559
|
-
"name": "
|
|
1618
|
+
"name": "id",
|
|
1560
1619
|
"type": {
|
|
1561
|
-
"text": "
|
|
1620
|
+
"text": "string"
|
|
1562
1621
|
},
|
|
1563
|
-
"privacy": "
|
|
1564
|
-
"
|
|
1622
|
+
"privacy": "public",
|
|
1623
|
+
"description": "The item ID",
|
|
1565
1624
|
"inheritedFrom": {
|
|
1566
|
-
"name": "
|
|
1567
|
-
"module": "src/accordion/accordion.ts"
|
|
1625
|
+
"name": "AccordionItem",
|
|
1626
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1568
1627
|
}
|
|
1569
1628
|
},
|
|
1570
1629
|
{
|
|
1571
1630
|
"kind": "field",
|
|
1572
|
-
"name": "
|
|
1573
|
-
"type": {
|
|
1574
|
-
"text": "Array<string | null>"
|
|
1575
|
-
},
|
|
1631
|
+
"name": "change",
|
|
1576
1632
|
"privacy": "private",
|
|
1577
1633
|
"inheritedFrom": {
|
|
1578
|
-
"name": "
|
|
1579
|
-
"module": "src/accordion/accordion.ts"
|
|
1634
|
+
"name": "AccordionItem",
|
|
1635
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1580
1636
|
}
|
|
1581
1637
|
},
|
|
1582
1638
|
{
|
|
1583
1639
|
"kind": "field",
|
|
1584
|
-
"name": "
|
|
1640
|
+
"name": "_presentation",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1643
|
+
},
|
|
1585
1644
|
"privacy": "private",
|
|
1645
|
+
"default": "void 0",
|
|
1586
1646
|
"inheritedFrom": {
|
|
1587
|
-
"name": "
|
|
1588
|
-
"module": "src/
|
|
1647
|
+
"name": "FoundationElement",
|
|
1648
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1589
1649
|
}
|
|
1590
1650
|
},
|
|
1591
1651
|
{
|
|
1592
|
-
"kind": "
|
|
1593
|
-
"name": "
|
|
1594
|
-
"
|
|
1595
|
-
|
|
1596
|
-
"type": {
|
|
1597
|
-
"text": "AccordionItem | null"
|
|
1598
|
-
}
|
|
1652
|
+
"kind": "field",
|
|
1653
|
+
"name": "$presentation",
|
|
1654
|
+
"type": {
|
|
1655
|
+
"text": "ComponentPresentation | null"
|
|
1599
1656
|
},
|
|
1657
|
+
"privacy": "public",
|
|
1658
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1600
1659
|
"inheritedFrom": {
|
|
1601
|
-
"name": "
|
|
1602
|
-
"module": "src/
|
|
1660
|
+
"name": "FoundationElement",
|
|
1661
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1603
1662
|
}
|
|
1604
1663
|
},
|
|
1605
1664
|
{
|
|
1606
1665
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1608
|
-
"
|
|
1666
|
+
"name": "template",
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "ElementViewTemplate | void | null"
|
|
1669
|
+
},
|
|
1670
|
+
"privacy": "public",
|
|
1671
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1609
1672
|
"inheritedFrom": {
|
|
1610
|
-
"name": "
|
|
1611
|
-
"module": "src/
|
|
1673
|
+
"name": "FoundationElement",
|
|
1674
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1612
1675
|
}
|
|
1613
1676
|
},
|
|
1614
1677
|
{
|
|
1615
1678
|
"kind": "method",
|
|
1616
|
-
"name": "
|
|
1617
|
-
"privacy": "
|
|
1679
|
+
"name": "templateChanged",
|
|
1680
|
+
"privacy": "protected",
|
|
1618
1681
|
"return": {
|
|
1619
1682
|
"type": {
|
|
1620
1683
|
"text": "void"
|
|
1621
1684
|
}
|
|
1622
1685
|
},
|
|
1623
1686
|
"inheritedFrom": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/
|
|
1626
|
-
}
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"kind": "field",
|
|
1630
|
-
"name": "removeItemListeners",
|
|
1631
|
-
"privacy": "private",
|
|
1632
|
-
"inheritedFrom": {
|
|
1633
|
-
"name": "Accordion",
|
|
1634
|
-
"module": "src/accordion/accordion.ts"
|
|
1687
|
+
"name": "FoundationElement",
|
|
1688
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1635
1689
|
}
|
|
1636
1690
|
},
|
|
1637
1691
|
{
|
|
1638
1692
|
"kind": "field",
|
|
1639
|
-
"name": "
|
|
1640
|
-
"
|
|
1693
|
+
"name": "styles",
|
|
1694
|
+
"type": {
|
|
1695
|
+
"text": "ElementStyles | void | null"
|
|
1696
|
+
},
|
|
1697
|
+
"privacy": "public",
|
|
1698
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1641
1699
|
"inheritedFrom": {
|
|
1642
|
-
"name": "
|
|
1643
|
-
"module": "src/
|
|
1700
|
+
"name": "FoundationElement",
|
|
1701
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1644
1702
|
}
|
|
1645
1703
|
},
|
|
1646
1704
|
{
|
|
1647
1705
|
"kind": "method",
|
|
1648
|
-
"name": "
|
|
1649
|
-
"privacy": "
|
|
1706
|
+
"name": "stylesChanged",
|
|
1707
|
+
"privacy": "protected",
|
|
1650
1708
|
"return": {
|
|
1651
1709
|
"type": {
|
|
1652
|
-
"text": "
|
|
1710
|
+
"text": "void"
|
|
1653
1711
|
}
|
|
1654
1712
|
},
|
|
1655
1713
|
"inheritedFrom": {
|
|
1656
|
-
"name": "
|
|
1657
|
-
"module": "src/
|
|
1714
|
+
"name": "FoundationElement",
|
|
1715
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1658
1716
|
}
|
|
1659
1717
|
},
|
|
1660
1718
|
{
|
|
1661
1719
|
"kind": "method",
|
|
1662
|
-
"name": "
|
|
1663
|
-
"privacy": "
|
|
1720
|
+
"name": "compose",
|
|
1721
|
+
"privacy": "public",
|
|
1722
|
+
"static": true,
|
|
1664
1723
|
"return": {
|
|
1665
1724
|
"type": {
|
|
1666
|
-
"text": "
|
|
1725
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1667
1726
|
}
|
|
1668
1727
|
},
|
|
1728
|
+
"parameters": [
|
|
1729
|
+
{
|
|
1730
|
+
"name": "this",
|
|
1731
|
+
"type": {
|
|
1732
|
+
"text": "K"
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"name": "elementDefinition",
|
|
1737
|
+
"type": {
|
|
1738
|
+
"text": "T"
|
|
1739
|
+
},
|
|
1740
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1741
|
+
}
|
|
1742
|
+
],
|
|
1743
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1669
1744
|
"inheritedFrom": {
|
|
1670
|
-
"name": "
|
|
1671
|
-
"module": "src/
|
|
1745
|
+
"name": "FoundationElement",
|
|
1746
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1672
1747
|
}
|
|
1673
|
-
}
|
|
1748
|
+
}
|
|
1749
|
+
],
|
|
1750
|
+
"events": [
|
|
1674
1751
|
{
|
|
1675
|
-
"
|
|
1676
|
-
"name": "handleItemKeyDown",
|
|
1677
|
-
"privacy": "private",
|
|
1678
|
-
"inheritedFrom": {
|
|
1679
|
-
"name": "Accordion",
|
|
1680
|
-
"module": "src/accordion/accordion.ts"
|
|
1681
|
-
}
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"kind": "field",
|
|
1685
|
-
"name": "handleItemFocus",
|
|
1686
|
-
"privacy": "private",
|
|
1687
|
-
"inheritedFrom": {
|
|
1688
|
-
"name": "Accordion",
|
|
1689
|
-
"module": "src/accordion/accordion.ts"
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1692
|
-
{
|
|
1693
|
-
"kind": "method",
|
|
1694
|
-
"name": "adjust",
|
|
1695
|
-
"privacy": "private",
|
|
1696
|
-
"return": {
|
|
1697
|
-
"type": {
|
|
1698
|
-
"text": "void"
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
"parameters": [
|
|
1702
|
-
{
|
|
1703
|
-
"name": "adjustment",
|
|
1704
|
-
"type": {
|
|
1705
|
-
"text": "number"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
],
|
|
1709
|
-
"inheritedFrom": {
|
|
1710
|
-
"name": "Accordion",
|
|
1711
|
-
"module": "src/accordion/accordion.ts"
|
|
1712
|
-
}
|
|
1713
|
-
},
|
|
1714
|
-
{
|
|
1715
|
-
"kind": "method",
|
|
1716
|
-
"name": "focusItem",
|
|
1717
|
-
"privacy": "private",
|
|
1718
|
-
"return": {
|
|
1719
|
-
"type": {
|
|
1720
|
-
"text": "void"
|
|
1721
|
-
}
|
|
1722
|
-
},
|
|
1723
|
-
"inheritedFrom": {
|
|
1724
|
-
"name": "Accordion",
|
|
1725
|
-
"module": "src/accordion/accordion.ts"
|
|
1726
|
-
}
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
"kind": "field",
|
|
1730
|
-
"name": "_presentation",
|
|
1731
|
-
"type": {
|
|
1732
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1733
|
-
},
|
|
1734
|
-
"privacy": "private",
|
|
1735
|
-
"default": "void 0",
|
|
1736
|
-
"inheritedFrom": {
|
|
1737
|
-
"name": "FoundationElement",
|
|
1738
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"kind": "field",
|
|
1743
|
-
"name": "$presentation",
|
|
1744
|
-
"type": {
|
|
1745
|
-
"text": "ComponentPresentation | null"
|
|
1746
|
-
},
|
|
1747
|
-
"privacy": "public",
|
|
1748
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1749
|
-
"inheritedFrom": {
|
|
1750
|
-
"name": "FoundationElement",
|
|
1751
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1752
|
-
}
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "field",
|
|
1756
|
-
"name": "template",
|
|
1757
|
-
"type": {
|
|
1758
|
-
"text": "ElementViewTemplate | void | null"
|
|
1759
|
-
},
|
|
1760
|
-
"privacy": "public",
|
|
1761
|
-
"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.",
|
|
1762
|
-
"inheritedFrom": {
|
|
1763
|
-
"name": "FoundationElement",
|
|
1764
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1765
|
-
}
|
|
1766
|
-
},
|
|
1767
|
-
{
|
|
1768
|
-
"kind": "method",
|
|
1769
|
-
"name": "templateChanged",
|
|
1770
|
-
"privacy": "protected",
|
|
1771
|
-
"return": {
|
|
1772
|
-
"type": {
|
|
1773
|
-
"text": "void"
|
|
1774
|
-
}
|
|
1775
|
-
},
|
|
1776
|
-
"inheritedFrom": {
|
|
1777
|
-
"name": "FoundationElement",
|
|
1778
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1779
|
-
}
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"kind": "field",
|
|
1783
|
-
"name": "styles",
|
|
1784
|
-
"type": {
|
|
1785
|
-
"text": "ElementStyles | void | null"
|
|
1786
|
-
},
|
|
1787
|
-
"privacy": "public",
|
|
1788
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1789
|
-
"inheritedFrom": {
|
|
1790
|
-
"name": "FoundationElement",
|
|
1791
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
"kind": "method",
|
|
1796
|
-
"name": "stylesChanged",
|
|
1797
|
-
"privacy": "protected",
|
|
1798
|
-
"return": {
|
|
1799
|
-
"type": {
|
|
1800
|
-
"text": "void"
|
|
1801
|
-
}
|
|
1802
|
-
},
|
|
1803
|
-
"inheritedFrom": {
|
|
1804
|
-
"name": "FoundationElement",
|
|
1805
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "method",
|
|
1810
|
-
"name": "compose",
|
|
1811
|
-
"privacy": "public",
|
|
1812
|
-
"static": true,
|
|
1813
|
-
"return": {
|
|
1814
|
-
"type": {
|
|
1815
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
"parameters": [
|
|
1819
|
-
{
|
|
1820
|
-
"name": "this",
|
|
1821
|
-
"type": {
|
|
1822
|
-
"text": "K"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"name": "elementDefinition",
|
|
1827
|
-
"type": {
|
|
1828
|
-
"text": "T"
|
|
1829
|
-
},
|
|
1830
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1831
|
-
}
|
|
1832
|
-
],
|
|
1833
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1834
|
-
"inheritedFrom": {
|
|
1835
|
-
"name": "FoundationElement",
|
|
1836
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1837
|
-
}
|
|
1838
|
-
}
|
|
1839
|
-
],
|
|
1840
|
-
"events": [
|
|
1841
|
-
{
|
|
1842
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
1752
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1843
1753
|
"name": "change",
|
|
1844
1754
|
"inheritedFrom": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "src/accordion/accordion.ts"
|
|
1755
|
+
"name": "AccordionItem",
|
|
1756
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1847
1757
|
}
|
|
1848
1758
|
}
|
|
1849
1759
|
]
|
|
1850
1760
|
},
|
|
1851
1761
|
{
|
|
1852
1762
|
"kind": "variable",
|
|
1853
|
-
"name": "
|
|
1763
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1854
1764
|
"type": {
|
|
1855
1765
|
"text": "ShadowRootInit"
|
|
1856
1766
|
},
|
|
@@ -1858,57 +1768,57 @@
|
|
|
1858
1768
|
},
|
|
1859
1769
|
{
|
|
1860
1770
|
"kind": "variable",
|
|
1861
|
-
"name": "
|
|
1771
|
+
"name": "defaultAccordionItemConfig",
|
|
1862
1772
|
"type": {
|
|
1863
1773
|
"text": "object"
|
|
1864
1774
|
},
|
|
1865
|
-
"default": "{}"
|
|
1775
|
+
"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}"
|
|
1866
1776
|
},
|
|
1867
1777
|
{
|
|
1868
1778
|
"kind": "variable",
|
|
1869
|
-
"name": "
|
|
1870
|
-
"description": "The Foundation Accordion",
|
|
1779
|
+
"name": "foundationAccordionItem",
|
|
1780
|
+
"description": "The Foundation Accordion Item",
|
|
1871
1781
|
"privacy": "public"
|
|
1872
1782
|
}
|
|
1873
1783
|
],
|
|
1874
1784
|
"exports": [
|
|
1875
1785
|
{
|
|
1876
1786
|
"kind": "js",
|
|
1877
|
-
"name": "
|
|
1787
|
+
"name": "AccordionItem",
|
|
1878
1788
|
"declaration": {
|
|
1879
|
-
"name": "
|
|
1880
|
-
"module": "src/accordion/accordion.ts"
|
|
1789
|
+
"name": "AccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1881
1791
|
}
|
|
1882
1792
|
},
|
|
1883
1793
|
{
|
|
1884
1794
|
"kind": "js",
|
|
1885
|
-
"name": "
|
|
1795
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1886
1796
|
"declaration": {
|
|
1887
|
-
"name": "
|
|
1888
|
-
"module": "src/accordion/accordion.ts"
|
|
1797
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1798
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1889
1799
|
}
|
|
1890
1800
|
},
|
|
1891
1801
|
{
|
|
1892
1802
|
"kind": "js",
|
|
1893
|
-
"name": "
|
|
1803
|
+
"name": "defaultAccordionItemConfig",
|
|
1894
1804
|
"declaration": {
|
|
1895
|
-
"name": "
|
|
1896
|
-
"module": "src/accordion/accordion.ts"
|
|
1805
|
+
"name": "defaultAccordionItemConfig",
|
|
1806
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1897
1807
|
}
|
|
1898
1808
|
},
|
|
1899
1809
|
{
|
|
1900
1810
|
"kind": "js",
|
|
1901
|
-
"name": "
|
|
1811
|
+
"name": "foundationAccordionItem",
|
|
1902
1812
|
"declaration": {
|
|
1903
|
-
"name": "
|
|
1904
|
-
"module": "src/accordion/accordion.ts"
|
|
1813
|
+
"name": "foundationAccordionItem",
|
|
1814
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1905
1815
|
}
|
|
1906
1816
|
}
|
|
1907
1817
|
]
|
|
1908
1818
|
},
|
|
1909
1819
|
{
|
|
1910
1820
|
"kind": "javascript-module",
|
|
1911
|
-
"path": "src/accordion/index.ts",
|
|
1821
|
+
"path": "src/accordion-item/index.ts",
|
|
1912
1822
|
"declarations": [],
|
|
1913
1823
|
"exports": [
|
|
1914
1824
|
{
|
|
@@ -1916,7 +1826,7 @@
|
|
|
1916
1826
|
"name": "*",
|
|
1917
1827
|
"declaration": {
|
|
1918
1828
|
"name": "*",
|
|
1919
|
-
"package": "./accordion.template"
|
|
1829
|
+
"package": "./accordion-item.template"
|
|
1920
1830
|
}
|
|
1921
1831
|
},
|
|
1922
1832
|
{
|
|
@@ -1924,7 +1834,7 @@
|
|
|
1924
1834
|
"name": "*",
|
|
1925
1835
|
"declaration": {
|
|
1926
1836
|
"name": "*",
|
|
1927
|
-
"package": "./accordion.styles"
|
|
1837
|
+
"package": "./accordion-item.styles"
|
|
1928
1838
|
}
|
|
1929
1839
|
},
|
|
1930
1840
|
{
|
|
@@ -1932,193 +1842,265 @@
|
|
|
1932
1842
|
"name": "*",
|
|
1933
1843
|
"declaration": {
|
|
1934
1844
|
"name": "*",
|
|
1935
|
-
"package": "./accordion"
|
|
1845
|
+
"package": "./accordion-item"
|
|
1936
1846
|
}
|
|
1937
1847
|
}
|
|
1938
1848
|
]
|
|
1939
1849
|
},
|
|
1940
1850
|
{
|
|
1941
1851
|
"kind": "javascript-module",
|
|
1942
|
-
"path": "src/
|
|
1852
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
1943
1853
|
"declarations": [
|
|
1944
1854
|
{
|
|
1945
|
-
"kind": "
|
|
1946
|
-
"name": "
|
|
1947
|
-
"
|
|
1948
|
-
"type": {
|
|
1949
|
-
"text": "ElementStyles"
|
|
1950
|
-
}
|
|
1951
|
-
},
|
|
1952
|
-
"parameters": [
|
|
1953
|
-
{
|
|
1954
|
-
"name": "context",
|
|
1955
|
-
"type": {
|
|
1956
|
-
"text": "ElementDefinitionContext"
|
|
1957
|
-
}
|
|
1958
|
-
},
|
|
1959
|
-
{
|
|
1960
|
-
"name": "definition",
|
|
1961
|
-
"type": {
|
|
1962
|
-
"text": "FoundationElementDefinition"
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
]
|
|
1855
|
+
"kind": "variable",
|
|
1856
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1857
|
+
"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`"
|
|
1966
1858
|
}
|
|
1967
1859
|
],
|
|
1968
1860
|
"exports": [
|
|
1969
1861
|
{
|
|
1970
1862
|
"kind": "js",
|
|
1971
|
-
"name": "
|
|
1863
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1972
1864
|
"declaration": {
|
|
1973
|
-
"name": "
|
|
1974
|
-
"module": "src/
|
|
1865
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1866
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
1975
1867
|
}
|
|
1976
1868
|
}
|
|
1977
1869
|
]
|
|
1978
1870
|
},
|
|
1979
1871
|
{
|
|
1980
1872
|
"kind": "javascript-module",
|
|
1981
|
-
"path": "src/
|
|
1873
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1982
1874
|
"declarations": [
|
|
1983
1875
|
{
|
|
1984
|
-
"kind": "
|
|
1985
|
-
"name": "
|
|
1986
|
-
"
|
|
1987
|
-
"
|
|
1988
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1989
|
-
}
|
|
1876
|
+
"kind": "variable",
|
|
1877
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1878
|
+
"type": {
|
|
1879
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
1990
1880
|
},
|
|
1991
|
-
"
|
|
1992
|
-
{
|
|
1993
|
-
"name": "context",
|
|
1994
|
-
"type": {
|
|
1995
|
-
"text": "ElementDefinitionContext"
|
|
1996
|
-
}
|
|
1997
|
-
},
|
|
1998
|
-
{
|
|
1999
|
-
"name": "definition",
|
|
2000
|
-
"type": {
|
|
2001
|
-
"text": "FoundationElementDefinition"
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
]
|
|
1881
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2005
1882
|
}
|
|
2006
1883
|
],
|
|
2007
1884
|
"exports": [
|
|
2008
1885
|
{
|
|
2009
1886
|
"kind": "js",
|
|
2010
|
-
"name": "
|
|
1887
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2011
1888
|
"declaration": {
|
|
2012
|
-
"name": "
|
|
2013
|
-
"module": "src/
|
|
1889
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1890
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2014
1891
|
}
|
|
2015
1892
|
}
|
|
2016
1893
|
]
|
|
2017
1894
|
},
|
|
2018
1895
|
{
|
|
2019
1896
|
"kind": "javascript-module",
|
|
2020
|
-
"path": "src/
|
|
1897
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2021
1898
|
"declarations": [
|
|
2022
1899
|
{
|
|
2023
1900
|
"kind": "class",
|
|
2024
|
-
"description": "",
|
|
2025
|
-
"name": "
|
|
2026
|
-
"
|
|
2027
|
-
"name": "FASTAccordionItem",
|
|
2028
|
-
"package": "@microsoft/fast-components"
|
|
2029
|
-
},
|
|
2030
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2031
|
-
"customElement": true,
|
|
2032
|
-
"attributes": [
|
|
1901
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
1902
|
+
"name": "AiCriteriaSearch",
|
|
1903
|
+
"members": [
|
|
2033
1904
|
{
|
|
2034
|
-
"
|
|
1905
|
+
"kind": "field",
|
|
1906
|
+
"name": "providerRegistry",
|
|
2035
1907
|
"type": {
|
|
2036
|
-
"text": "
|
|
2037
|
-
},
|
|
2038
|
-
"default": "2",
|
|
2039
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2040
|
-
"fieldName": "headinglevel",
|
|
2041
|
-
"inheritedFrom": {
|
|
2042
|
-
"name": "AccordionItem",
|
|
2043
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1908
|
+
"text": "AIProviderRegistry"
|
|
2044
1909
|
}
|
|
2045
1910
|
},
|
|
2046
1911
|
{
|
|
1912
|
+
"kind": "field",
|
|
1913
|
+
"name": "placeholder",
|
|
1914
|
+
"type": {
|
|
1915
|
+
"text": "string"
|
|
1916
|
+
},
|
|
1917
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"kind": "field",
|
|
1921
|
+
"name": "disabled",
|
|
2047
1922
|
"type": {
|
|
2048
1923
|
"text": "boolean"
|
|
2049
|
-
},
|
|
2050
|
-
"default": "false",
|
|
2051
|
-
"description": "Expands or collapses the item.",
|
|
2052
|
-
"fieldName": "expanded",
|
|
2053
|
-
"inheritedFrom": {
|
|
2054
|
-
"name": "AccordionItem",
|
|
2055
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2056
1924
|
}
|
|
2057
1925
|
},
|
|
2058
1926
|
{
|
|
2059
|
-
"
|
|
1927
|
+
"kind": "field",
|
|
1928
|
+
"name": "inputValue",
|
|
2060
1929
|
"type": {
|
|
2061
1930
|
"text": "string"
|
|
2062
1931
|
},
|
|
2063
|
-
"
|
|
2064
|
-
|
|
2065
|
-
"inheritedFrom": {
|
|
2066
|
-
"name": "AccordionItem",
|
|
2067
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
|
-
],
|
|
2071
|
-
"members": [
|
|
1932
|
+
"default": "''"
|
|
1933
|
+
},
|
|
2072
1934
|
{
|
|
2073
1935
|
"kind": "field",
|
|
2074
|
-
"name": "
|
|
1936
|
+
"name": "isInterpreting",
|
|
2075
1937
|
"type": {
|
|
2076
|
-
"text": "
|
|
1938
|
+
"text": "boolean"
|
|
2077
1939
|
},
|
|
2078
|
-
"
|
|
2079
|
-
"default": "2",
|
|
2080
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2081
|
-
"inheritedFrom": {
|
|
2082
|
-
"name": "AccordionItem",
|
|
2083
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2084
|
-
}
|
|
1940
|
+
"default": "false"
|
|
2085
1941
|
},
|
|
2086
1942
|
{
|
|
2087
1943
|
"kind": "field",
|
|
2088
|
-
"name": "
|
|
1944
|
+
"name": "lastValidCriteria",
|
|
1945
|
+
"type": {
|
|
1946
|
+
"text": "string | null"
|
|
1947
|
+
},
|
|
1948
|
+
"default": "null"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "field",
|
|
1952
|
+
"name": "activeGroups",
|
|
1953
|
+
"type": {
|
|
1954
|
+
"text": "CriteriaGroup[]"
|
|
1955
|
+
},
|
|
1956
|
+
"default": "[]"
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"kind": "field",
|
|
1960
|
+
"name": "showingChips",
|
|
2089
1961
|
"type": {
|
|
2090
1962
|
"text": "boolean"
|
|
2091
1963
|
},
|
|
2092
|
-
"
|
|
2093
|
-
"default": "false",
|
|
2094
|
-
"description": "Expands or collapses the item.",
|
|
2095
|
-
"inheritedFrom": {
|
|
2096
|
-
"name": "AccordionItem",
|
|
2097
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2098
|
-
}
|
|
1964
|
+
"default": "false"
|
|
2099
1965
|
},
|
|
2100
1966
|
{
|
|
2101
1967
|
"kind": "field",
|
|
2102
|
-
"name": "
|
|
1968
|
+
"name": "fieldMetadata",
|
|
2103
1969
|
"type": {
|
|
2104
|
-
"text": "string"
|
|
1970
|
+
"text": "MetadataDetail[] | string[]"
|
|
2105
1971
|
},
|
|
2106
|
-
"
|
|
2107
|
-
"description": "The item ID",
|
|
2108
|
-
"inheritedFrom": {
|
|
2109
|
-
"name": "AccordionItem",
|
|
2110
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2111
|
-
}
|
|
1972
|
+
"default": "[]"
|
|
2112
1973
|
},
|
|
2113
1974
|
{
|
|
2114
1975
|
"kind": "field",
|
|
2115
|
-
"name": "
|
|
1976
|
+
"name": "isRecording",
|
|
1977
|
+
"type": {
|
|
1978
|
+
"text": "boolean"
|
|
1979
|
+
},
|
|
1980
|
+
"default": "false"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"kind": "field",
|
|
1984
|
+
"name": "textAreaRef",
|
|
1985
|
+
"type": {
|
|
1986
|
+
"text": "HTMLTextAreaElement"
|
|
1987
|
+
},
|
|
1988
|
+
"privacy": "public"
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"kind": "field",
|
|
1992
|
+
"name": "stopRecording",
|
|
1993
|
+
"type": {
|
|
1994
|
+
"text": "(() => void) | null"
|
|
1995
|
+
},
|
|
2116
1996
|
"privacy": "private",
|
|
2117
|
-
"
|
|
2118
|
-
|
|
2119
|
-
|
|
1997
|
+
"default": "null"
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "field",
|
|
2001
|
+
"name": "speechApplyDebounceTimer",
|
|
2002
|
+
"type": {
|
|
2003
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2004
|
+
},
|
|
2005
|
+
"privacy": "private",
|
|
2006
|
+
"default": "null"
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"kind": "field",
|
|
2010
|
+
"name": "speechAvailable",
|
|
2011
|
+
"type": {
|
|
2012
|
+
"text": "boolean"
|
|
2013
|
+
},
|
|
2014
|
+
"readonly": true
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "field",
|
|
2018
|
+
"name": "criteriaChips",
|
|
2019
|
+
"type": {
|
|
2020
|
+
"text": "CriteriaChip[]"
|
|
2021
|
+
},
|
|
2022
|
+
"readonly": true
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"kind": "method",
|
|
2026
|
+
"name": "getFieldLabel",
|
|
2027
|
+
"privacy": "private",
|
|
2028
|
+
"return": {
|
|
2029
|
+
"type": {
|
|
2030
|
+
"text": "string"
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
"parameters": [
|
|
2034
|
+
{
|
|
2035
|
+
"name": "fieldName",
|
|
2036
|
+
"type": {
|
|
2037
|
+
"text": "string"
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
]
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"kind": "method",
|
|
2044
|
+
"name": "toggleCriteriaView",
|
|
2045
|
+
"return": {
|
|
2046
|
+
"type": {
|
|
2047
|
+
"text": "void"
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"kind": "method",
|
|
2053
|
+
"name": "removeChip",
|
|
2054
|
+
"return": {
|
|
2055
|
+
"type": {
|
|
2056
|
+
"text": "void"
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
"parameters": [
|
|
2060
|
+
{
|
|
2061
|
+
"name": "groupIndex",
|
|
2062
|
+
"type": {
|
|
2063
|
+
"text": "number"
|
|
2064
|
+
}
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "clauseIndex",
|
|
2068
|
+
"type": {
|
|
2069
|
+
"text": "number"
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
]
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"kind": "method",
|
|
2076
|
+
"name": "clearChips",
|
|
2077
|
+
"return": {
|
|
2078
|
+
"type": {
|
|
2079
|
+
"text": "void"
|
|
2080
|
+
}
|
|
2120
2081
|
}
|
|
2121
2082
|
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "method",
|
|
2085
|
+
"name": "handleSubmit"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"kind": "method",
|
|
2089
|
+
"name": "handleBlur"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "method",
|
|
2093
|
+
"name": "clear"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"kind": "method",
|
|
2097
|
+
"name": "toggleSpeechInput"
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"kind": "method",
|
|
2101
|
+
"name": "clearSpeechApplyDebounce",
|
|
2102
|
+
"privacy": "private"
|
|
2103
|
+
},
|
|
2122
2104
|
{
|
|
2123
2105
|
"kind": "field",
|
|
2124
2106
|
"name": "_presentation",
|
|
@@ -2233,115 +2215,152 @@
|
|
|
2233
2215
|
],
|
|
2234
2216
|
"events": [
|
|
2235
2217
|
{
|
|
2236
|
-
"description": "
|
|
2237
|
-
"name": "
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2218
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2219
|
+
"name": "criteria-changed"
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2223
|
+
"name": "validation-errors"
|
|
2242
2224
|
}
|
|
2243
|
-
]
|
|
2225
|
+
],
|
|
2226
|
+
"attributes": [
|
|
2227
|
+
{
|
|
2228
|
+
"name": "placeholder",
|
|
2229
|
+
"type": {
|
|
2230
|
+
"text": "string"
|
|
2231
|
+
},
|
|
2232
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2233
|
+
"fieldName": "placeholder"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"type": {
|
|
2237
|
+
"text": "boolean"
|
|
2238
|
+
},
|
|
2239
|
+
"fieldName": "disabled"
|
|
2240
|
+
}
|
|
2241
|
+
],
|
|
2242
|
+
"superclass": {
|
|
2243
|
+
"name": "FoundationElement",
|
|
2244
|
+
"package": "@microsoft/fast-foundation"
|
|
2245
|
+
},
|
|
2246
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2247
|
+
"customElement": true
|
|
2244
2248
|
},
|
|
2245
2249
|
{
|
|
2246
2250
|
"kind": "variable",
|
|
2247
|
-
"name": "
|
|
2251
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2248
2252
|
"type": {
|
|
2249
2253
|
"text": "ShadowRootInit"
|
|
2250
2254
|
},
|
|
2251
|
-
"default": "
|
|
2255
|
+
"default": "undefined"
|
|
2252
2256
|
},
|
|
2253
2257
|
{
|
|
2254
2258
|
"kind": "variable",
|
|
2255
|
-
"name": "
|
|
2259
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2256
2260
|
"type": {
|
|
2257
2261
|
"text": "object"
|
|
2258
2262
|
},
|
|
2259
|
-
"default": "{
|
|
2263
|
+
"default": "{}"
|
|
2260
2264
|
},
|
|
2261
2265
|
{
|
|
2262
2266
|
"kind": "variable",
|
|
2263
|
-
"name": "
|
|
2264
|
-
"description": "The Foundation Accordion Item",
|
|
2265
|
-
"privacy": "public"
|
|
2267
|
+
"name": "foundationAiCriteriaSearch"
|
|
2266
2268
|
}
|
|
2267
2269
|
],
|
|
2268
2270
|
"exports": [
|
|
2269
2271
|
{
|
|
2270
2272
|
"kind": "js",
|
|
2271
|
-
"name": "
|
|
2273
|
+
"name": "AiCriteriaSearch",
|
|
2272
2274
|
"declaration": {
|
|
2273
|
-
"name": "
|
|
2274
|
-
"module": "src/
|
|
2275
|
+
"name": "AiCriteriaSearch",
|
|
2276
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2275
2277
|
}
|
|
2276
2278
|
},
|
|
2277
2279
|
{
|
|
2278
2280
|
"kind": "js",
|
|
2279
|
-
"name": "
|
|
2281
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2280
2282
|
"declaration": {
|
|
2281
|
-
"name": "
|
|
2282
|
-
"module": "src/
|
|
2283
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2284
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2283
2285
|
}
|
|
2284
2286
|
},
|
|
2285
2287
|
{
|
|
2286
2288
|
"kind": "js",
|
|
2287
|
-
"name": "
|
|
2289
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2288
2290
|
"declaration": {
|
|
2289
|
-
"name": "
|
|
2290
|
-
"module": "src/
|
|
2291
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2292
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2291
2293
|
}
|
|
2292
2294
|
},
|
|
2293
2295
|
{
|
|
2294
2296
|
"kind": "js",
|
|
2295
|
-
"name": "
|
|
2297
|
+
"name": "foundationAiCriteriaSearch",
|
|
2296
2298
|
"declaration": {
|
|
2297
|
-
"name": "
|
|
2298
|
-
"module": "src/
|
|
2299
|
+
"name": "foundationAiCriteriaSearch",
|
|
2300
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2299
2301
|
}
|
|
2300
2302
|
}
|
|
2301
2303
|
]
|
|
2302
2304
|
},
|
|
2303
2305
|
{
|
|
2304
2306
|
"kind": "javascript-module",
|
|
2305
|
-
"path": "src/
|
|
2307
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2306
2308
|
"declarations": [],
|
|
2307
2309
|
"exports": [
|
|
2308
2310
|
{
|
|
2309
2311
|
"kind": "js",
|
|
2310
|
-
"name": "
|
|
2312
|
+
"name": "AiCriteriaSearch",
|
|
2311
2313
|
"declaration": {
|
|
2312
|
-
"name": "
|
|
2313
|
-
"
|
|
2314
|
+
"name": "AiCriteriaSearch",
|
|
2315
|
+
"module": "./ai-criteria-search"
|
|
2314
2316
|
}
|
|
2315
2317
|
},
|
|
2316
2318
|
{
|
|
2317
2319
|
"kind": "js",
|
|
2318
|
-
"name": "
|
|
2320
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2319
2321
|
"declaration": {
|
|
2320
|
-
"name": "
|
|
2321
|
-
"
|
|
2322
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2323
|
+
"module": "./ai-criteria-search"
|
|
2322
2324
|
}
|
|
2323
2325
|
},
|
|
2324
2326
|
{
|
|
2325
2327
|
"kind": "js",
|
|
2326
|
-
"name": "
|
|
2328
|
+
"name": "foundationAiCriteriaSearch",
|
|
2327
2329
|
"declaration": {
|
|
2328
|
-
"name": "
|
|
2329
|
-
"
|
|
2330
|
+
"name": "foundationAiCriteriaSearch",
|
|
2331
|
+
"module": "./ai-criteria-search"
|
|
2330
2332
|
}
|
|
2331
|
-
}
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"kind": "js",
|
|
2336
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2337
|
+
"declaration": {
|
|
2338
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2339
|
+
"module": "./ai-criteria-search"
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"kind": "js",
|
|
2344
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2345
|
+
"declaration": {
|
|
2346
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2347
|
+
"module": "./ai-criteria-search.styles"
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"kind": "js",
|
|
2352
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2353
|
+
"declaration": {
|
|
2354
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2355
|
+
"module": "./ai-criteria-search.template"
|
|
2356
|
+
}
|
|
2357
|
+
},
|
|
2339
2358
|
{
|
|
2340
2359
|
"kind": "js",
|
|
2341
2360
|
"name": "*",
|
|
2342
2361
|
"declaration": {
|
|
2343
2362
|
"name": "*",
|
|
2344
|
-
"package": "./
|
|
2363
|
+
"package": "./validation/criteria-ir"
|
|
2345
2364
|
}
|
|
2346
2365
|
},
|
|
2347
2366
|
{
|
|
@@ -2349,7 +2368,7 @@
|
|
|
2349
2368
|
"name": "*",
|
|
2350
2369
|
"declaration": {
|
|
2351
2370
|
"name": "*",
|
|
2352
|
-
"package": "./
|
|
2371
|
+
"package": "./validation/operator-map"
|
|
2353
2372
|
}
|
|
2354
2373
|
},
|
|
2355
2374
|
{
|
|
@@ -2357,206 +2376,182 @@
|
|
|
2357
2376
|
"name": "*",
|
|
2358
2377
|
"declaration": {
|
|
2359
2378
|
"name": "*",
|
|
2360
|
-
"package": "./
|
|
2379
|
+
"package": "./validation/schema-validator"
|
|
2361
2380
|
}
|
|
2362
2381
|
}
|
|
2363
2382
|
]
|
|
2364
2383
|
},
|
|
2365
2384
|
{
|
|
2366
2385
|
"kind": "javascript-module",
|
|
2367
|
-
"path": "src/
|
|
2386
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2368
2387
|
"declarations": [
|
|
2369
2388
|
{
|
|
2370
2389
|
"kind": "function",
|
|
2371
|
-
"name": "
|
|
2390
|
+
"name": "formatValidationErrors",
|
|
2372
2391
|
"return": {
|
|
2373
2392
|
"type": {
|
|
2374
|
-
"text": "
|
|
2393
|
+
"text": "string"
|
|
2375
2394
|
}
|
|
2376
2395
|
},
|
|
2377
2396
|
"parameters": [
|
|
2378
2397
|
{
|
|
2379
|
-
"name": "
|
|
2380
|
-
"type": {
|
|
2381
|
-
"text": "ElementDefinitionContext"
|
|
2382
|
-
}
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"name": "definition",
|
|
2398
|
+
"name": "errors",
|
|
2386
2399
|
"type": {
|
|
2387
|
-
"text": "
|
|
2400
|
+
"text": "ValidationError[]"
|
|
2388
2401
|
}
|
|
2389
2402
|
}
|
|
2390
|
-
]
|
|
2403
|
+
],
|
|
2404
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2391
2405
|
},
|
|
2392
2406
|
{
|
|
2393
2407
|
"kind": "function",
|
|
2394
|
-
"name": "
|
|
2408
|
+
"name": "showCriteriaError",
|
|
2395
2409
|
"return": {
|
|
2396
2410
|
"type": {
|
|
2397
|
-
"text": "
|
|
2411
|
+
"text": "void"
|
|
2398
2412
|
}
|
|
2399
2413
|
},
|
|
2400
2414
|
"parameters": [
|
|
2401
2415
|
{
|
|
2402
|
-
"name": "
|
|
2416
|
+
"name": "title",
|
|
2403
2417
|
"type": {
|
|
2404
|
-
"text": "
|
|
2405
|
-
}
|
|
2418
|
+
"text": "string"
|
|
2419
|
+
},
|
|
2420
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2406
2421
|
},
|
|
2407
2422
|
{
|
|
2408
|
-
"name": "
|
|
2423
|
+
"name": "body",
|
|
2409
2424
|
"type": {
|
|
2410
|
-
"text": "
|
|
2411
|
-
}
|
|
2425
|
+
"text": "string"
|
|
2426
|
+
},
|
|
2427
|
+
"description": "Error message to display"
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"name": "tagName",
|
|
2431
|
+
"type": {
|
|
2432
|
+
"text": "string"
|
|
2433
|
+
},
|
|
2434
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2412
2435
|
}
|
|
2413
|
-
]
|
|
2436
|
+
],
|
|
2437
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2414
2438
|
}
|
|
2415
2439
|
],
|
|
2416
2440
|
"exports": [
|
|
2417
2441
|
{
|
|
2418
2442
|
"kind": "js",
|
|
2419
|
-
"name": "
|
|
2443
|
+
"name": "formatValidationErrors",
|
|
2420
2444
|
"declaration": {
|
|
2421
|
-
"name": "
|
|
2422
|
-
"module": "src/
|
|
2445
|
+
"name": "formatValidationErrors",
|
|
2446
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2423
2447
|
}
|
|
2424
2448
|
},
|
|
2425
2449
|
{
|
|
2426
2450
|
"kind": "js",
|
|
2427
|
-
"name": "
|
|
2451
|
+
"name": "showCriteriaError",
|
|
2428
2452
|
"declaration": {
|
|
2429
|
-
"name": "
|
|
2430
|
-
"module": "src/
|
|
2453
|
+
"name": "showCriteriaError",
|
|
2454
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2431
2455
|
}
|
|
2432
2456
|
}
|
|
2433
2457
|
]
|
|
2434
2458
|
},
|
|
2435
2459
|
{
|
|
2436
2460
|
"kind": "javascript-module",
|
|
2437
|
-
"path": "src/
|
|
2461
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2438
2462
|
"declarations": [
|
|
2439
2463
|
{
|
|
2440
2464
|
"kind": "function",
|
|
2441
|
-
"name": "
|
|
2465
|
+
"name": "foundationAiIndicatorStyles",
|
|
2466
|
+
"return": {
|
|
2467
|
+
"type": {
|
|
2468
|
+
"text": "ElementStyles"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2442
2471
|
"parameters": [
|
|
2443
2472
|
{
|
|
2444
|
-
"name": "
|
|
2473
|
+
"name": "context",
|
|
2445
2474
|
"type": {
|
|
2446
|
-
"text": "
|
|
2475
|
+
"text": "ElementDefinitionContext"
|
|
2447
2476
|
}
|
|
2448
|
-
}
|
|
2449
|
-
]
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
"kind": "function",
|
|
2453
|
-
"name": "singleOptionTemplate",
|
|
2454
|
-
"parameters": [
|
|
2477
|
+
},
|
|
2455
2478
|
{
|
|
2456
|
-
"name": "
|
|
2479
|
+
"name": "definition",
|
|
2457
2480
|
"type": {
|
|
2458
|
-
"text": "
|
|
2481
|
+
"text": "FoundationElementDefinition"
|
|
2459
2482
|
}
|
|
2460
2483
|
}
|
|
2461
2484
|
]
|
|
2462
|
-
},
|
|
2463
|
-
{
|
|
2464
|
-
"kind": "variable",
|
|
2465
|
-
"name": "foundationActionsMenuTemplate",
|
|
2466
|
-
"type": {
|
|
2467
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2468
|
-
},
|
|
2469
|
-
"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`"
|
|
2470
2485
|
}
|
|
2471
2486
|
],
|
|
2472
2487
|
"exports": [
|
|
2473
2488
|
{
|
|
2474
2489
|
"kind": "js",
|
|
2475
|
-
"name": "
|
|
2476
|
-
"declaration": {
|
|
2477
|
-
"name": "menuTemplate",
|
|
2478
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
-
}
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"kind": "js",
|
|
2483
|
-
"name": "singleOptionTemplate",
|
|
2484
|
-
"declaration": {
|
|
2485
|
-
"name": "singleOptionTemplate",
|
|
2486
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
-
}
|
|
2488
|
-
},
|
|
2489
|
-
{
|
|
2490
|
-
"kind": "js",
|
|
2491
|
-
"name": "foundationActionsMenuTemplate",
|
|
2490
|
+
"name": "foundationAiIndicatorStyles",
|
|
2492
2491
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/
|
|
2492
|
+
"name": "foundationAiIndicatorStyles",
|
|
2493
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2495
2494
|
}
|
|
2496
2495
|
}
|
|
2497
2496
|
]
|
|
2498
2497
|
},
|
|
2499
2498
|
{
|
|
2500
2499
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/
|
|
2500
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2502
2501
|
"declarations": [
|
|
2503
2502
|
{
|
|
2504
|
-
"kind": "
|
|
2505
|
-
"
|
|
2506
|
-
"
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
"kind": "field",
|
|
2533
|
-
"name": "autoCloseOnAction",
|
|
2534
|
-
"type": {
|
|
2535
|
-
"text": "boolean"
|
|
2536
|
-
},
|
|
2537
|
-
"default": "true"
|
|
2538
|
-
},
|
|
2503
|
+
"kind": "variable",
|
|
2504
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2505
|
+
"type": {
|
|
2506
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2507
|
+
},
|
|
2508
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
"exports": [
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "js",
|
|
2514
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2515
|
+
"declaration": {
|
|
2516
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2517
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"kind": "javascript-module",
|
|
2524
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2525
|
+
"declarations": [
|
|
2526
|
+
{
|
|
2527
|
+
"kind": "class",
|
|
2528
|
+
"description": "",
|
|
2529
|
+
"name": "AiIndicator",
|
|
2530
|
+
"members": [
|
|
2539
2531
|
{
|
|
2540
2532
|
"kind": "field",
|
|
2541
|
-
"name": "
|
|
2533
|
+
"name": "providerRegistry",
|
|
2542
2534
|
"type": {
|
|
2543
|
-
"text": "
|
|
2535
|
+
"text": "AIProviderRegistry"
|
|
2544
2536
|
}
|
|
2545
2537
|
},
|
|
2546
2538
|
{
|
|
2547
2539
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2540
|
+
"name": "aiProvider",
|
|
2549
2541
|
"type": {
|
|
2550
|
-
"text": "
|
|
2551
|
-
}
|
|
2542
|
+
"text": "AIProvider | undefined"
|
|
2543
|
+
},
|
|
2544
|
+
"privacy": "private",
|
|
2545
|
+
"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.",
|
|
2546
|
+
"readonly": true
|
|
2552
2547
|
},
|
|
2553
2548
|
{
|
|
2554
2549
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2550
|
+
"name": "status",
|
|
2556
2551
|
"type": {
|
|
2557
|
-
"text": "
|
|
2552
|
+
"text": "AIStatus | null"
|
|
2558
2553
|
},
|
|
2559
|
-
"default": "
|
|
2554
|
+
"default": "null"
|
|
2560
2555
|
},
|
|
2561
2556
|
{
|
|
2562
2557
|
"kind": "field",
|
|
@@ -2568,14 +2563,15 @@
|
|
|
2568
2563
|
},
|
|
2569
2564
|
{
|
|
2570
2565
|
"kind": "field",
|
|
2571
|
-
"name": "
|
|
2566
|
+
"name": "state",
|
|
2572
2567
|
"type": {
|
|
2573
|
-
"text": "
|
|
2574
|
-
}
|
|
2568
|
+
"text": "AIIndicatorState"
|
|
2569
|
+
},
|
|
2570
|
+
"default": "'none'"
|
|
2575
2571
|
},
|
|
2576
2572
|
{
|
|
2577
2573
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2574
|
+
"name": "isInstalling",
|
|
2579
2575
|
"type": {
|
|
2580
2576
|
"text": "boolean"
|
|
2581
2577
|
},
|
|
@@ -2583,114 +2579,133 @@
|
|
|
2583
2579
|
},
|
|
2584
2580
|
{
|
|
2585
2581
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2582
|
+
"name": "pollTimer",
|
|
2587
2583
|
"type": {
|
|
2588
|
-
"text": "
|
|
2584
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2589
2585
|
},
|
|
2590
|
-
"
|
|
2586
|
+
"privacy": "private",
|
|
2587
|
+
"default": "null"
|
|
2591
2588
|
},
|
|
2592
2589
|
{
|
|
2593
2590
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2591
|
+
"name": "clickOutside",
|
|
2592
|
+
"privacy": "private"
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
"kind": "field",
|
|
2596
|
+
"name": "chromeStatusLabel",
|
|
2595
2597
|
"type": {
|
|
2596
|
-
"text": "
|
|
2597
|
-
}
|
|
2598
|
+
"text": "string | null"
|
|
2599
|
+
},
|
|
2600
|
+
"readonly": true
|
|
2598
2601
|
},
|
|
2599
2602
|
{
|
|
2600
2603
|
"kind": "field",
|
|
2601
|
-
"name": "
|
|
2604
|
+
"name": "canInstall",
|
|
2602
2605
|
"type": {
|
|
2603
|
-
"text": "
|
|
2604
|
-
}
|
|
2606
|
+
"text": "boolean"
|
|
2607
|
+
},
|
|
2608
|
+
"readonly": true
|
|
2605
2609
|
},
|
|
2606
2610
|
{
|
|
2607
2611
|
"kind": "field",
|
|
2608
|
-
"name": "
|
|
2612
|
+
"name": "isDownloading",
|
|
2609
2613
|
"type": {
|
|
2610
|
-
"text": "
|
|
2611
|
-
}
|
|
2614
|
+
"text": "boolean"
|
|
2615
|
+
},
|
|
2616
|
+
"readonly": true
|
|
2612
2617
|
},
|
|
2613
2618
|
{
|
|
2614
2619
|
"kind": "method",
|
|
2615
|
-
"name": "
|
|
2616
|
-
"
|
|
2620
|
+
"name": "openChanged",
|
|
2621
|
+
"return": {
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "void"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2617
2626
|
},
|
|
2618
2627
|
{
|
|
2619
2628
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2621
|
-
"privacy": "
|
|
2629
|
+
"name": "handleClickOutside",
|
|
2630
|
+
"privacy": "private",
|
|
2622
2631
|
"parameters": [
|
|
2623
2632
|
{
|
|
2624
|
-
"name": "
|
|
2625
|
-
"type": {
|
|
2626
|
-
"text": "any"
|
|
2627
|
-
}
|
|
2628
|
-
},
|
|
2629
|
-
{
|
|
2630
|
-
"name": "newValue",
|
|
2633
|
+
"name": "event",
|
|
2631
2634
|
"type": {
|
|
2632
|
-
"text": "
|
|
2635
|
+
"text": "MouseEvent"
|
|
2633
2636
|
}
|
|
2634
2637
|
}
|
|
2635
2638
|
]
|
|
2636
2639
|
},
|
|
2637
2640
|
{
|
|
2638
2641
|
"kind": "method",
|
|
2639
|
-
"name": "
|
|
2640
|
-
"privacy": "protected"
|
|
2642
|
+
"name": "toggleDropdown"
|
|
2641
2643
|
},
|
|
2642
2644
|
{
|
|
2643
2645
|
"kind": "method",
|
|
2644
|
-
"name": "
|
|
2646
|
+
"name": "refreshStatus",
|
|
2647
|
+
"return": {
|
|
2648
|
+
"type": {
|
|
2649
|
+
"text": "Promise<void>"
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2645
2652
|
},
|
|
2646
2653
|
{
|
|
2647
2654
|
"kind": "method",
|
|
2648
|
-
"name": "
|
|
2655
|
+
"name": "deriveState",
|
|
2656
|
+
"privacy": "private",
|
|
2657
|
+
"return": {
|
|
2658
|
+
"type": {
|
|
2659
|
+
"text": "AIIndicatorState"
|
|
2660
|
+
}
|
|
2661
|
+
},
|
|
2649
2662
|
"parameters": [
|
|
2650
2663
|
{
|
|
2651
|
-
"name": "
|
|
2664
|
+
"name": "s",
|
|
2652
2665
|
"type": {
|
|
2653
|
-
"text": "
|
|
2666
|
+
"text": "AIStatus | null"
|
|
2654
2667
|
}
|
|
2655
2668
|
}
|
|
2656
2669
|
]
|
|
2657
2670
|
},
|
|
2658
2671
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2672
|
+
"kind": "method",
|
|
2673
|
+
"name": "maybeStartPolling",
|
|
2674
|
+
"privacy": "private",
|
|
2675
|
+
"return": {
|
|
2676
|
+
"type": {
|
|
2677
|
+
"text": "void"
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2665
2680
|
},
|
|
2666
2681
|
{
|
|
2667
|
-
"kind": "
|
|
2668
|
-
"name": "
|
|
2669
|
-
"
|
|
2682
|
+
"kind": "method",
|
|
2683
|
+
"name": "startPolling",
|
|
2684
|
+
"privacy": "private",
|
|
2685
|
+
"return": {
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "void"
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2670
2690
|
},
|
|
2671
2691
|
{
|
|
2672
2692
|
"kind": "method",
|
|
2673
|
-
"name": "
|
|
2674
|
-
"
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
"
|
|
2678
|
-
"text": "string | ((rowData: any) => string)"
|
|
2679
|
-
}
|
|
2693
|
+
"name": "stopPolling",
|
|
2694
|
+
"privacy": "private",
|
|
2695
|
+
"return": {
|
|
2696
|
+
"type": {
|
|
2697
|
+
"text": "void"
|
|
2680
2698
|
}
|
|
2681
|
-
|
|
2699
|
+
}
|
|
2682
2700
|
},
|
|
2683
2701
|
{
|
|
2684
2702
|
"kind": "method",
|
|
2685
|
-
"name": "
|
|
2686
|
-
"
|
|
2687
|
-
{
|
|
2688
|
-
"
|
|
2689
|
-
"type": {
|
|
2690
|
-
"text": "string"
|
|
2691
|
-
}
|
|
2703
|
+
"name": "onInstall",
|
|
2704
|
+
"return": {
|
|
2705
|
+
"type": {
|
|
2706
|
+
"text": "Promise<void>"
|
|
2692
2707
|
}
|
|
2693
|
-
|
|
2708
|
+
}
|
|
2694
2709
|
},
|
|
2695
2710
|
{
|
|
2696
2711
|
"kind": "field",
|
|
@@ -2804,262 +2819,291 @@
|
|
|
2804
2819
|
}
|
|
2805
2820
|
}
|
|
2806
2821
|
],
|
|
2807
|
-
"attributes": [
|
|
2808
|
-
{
|
|
2809
|
-
"name": "is-vertical",
|
|
2810
|
-
"type": {
|
|
2811
|
-
"text": "boolean"
|
|
2812
|
-
},
|
|
2813
|
-
"default": "false",
|
|
2814
|
-
"fieldName": "isVertical"
|
|
2815
|
-
},
|
|
2816
|
-
{
|
|
2817
|
-
"name": "add-default-actions",
|
|
2818
|
-
"type": {
|
|
2819
|
-
"text": "boolean"
|
|
2820
|
-
},
|
|
2821
|
-
"default": "true",
|
|
2822
|
-
"fieldName": "addDefaultActions"
|
|
2823
|
-
},
|
|
2824
|
-
{
|
|
2825
|
-
"name": "auto-close-on-action",
|
|
2826
|
-
"type": {
|
|
2827
|
-
"text": "boolean"
|
|
2828
|
-
},
|
|
2829
|
-
"default": "true",
|
|
2830
|
-
"fieldName": "autoCloseOnAction"
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
"name": "name",
|
|
2834
|
-
"type": {
|
|
2835
|
-
"text": "string"
|
|
2836
|
-
},
|
|
2837
|
-
"default": "'Actions'",
|
|
2838
|
-
"fieldName": "name"
|
|
2839
|
-
},
|
|
2840
|
-
{
|
|
2841
|
-
"name": "open",
|
|
2842
|
-
"type": {
|
|
2843
|
-
"text": "boolean"
|
|
2844
|
-
},
|
|
2845
|
-
"default": "false",
|
|
2846
|
-
"fieldName": "open"
|
|
2847
|
-
},
|
|
2848
|
-
{
|
|
2849
|
-
"name": "buttonAppearance",
|
|
2850
|
-
"type": {
|
|
2851
|
-
"text": "string"
|
|
2852
|
-
},
|
|
2853
|
-
"fieldName": "buttonAppearance"
|
|
2854
|
-
},
|
|
2855
|
-
{
|
|
2856
|
-
"name": "hide-disabled",
|
|
2857
|
-
"type": {
|
|
2858
|
-
"text": "boolean"
|
|
2859
|
-
},
|
|
2860
|
-
"default": "false",
|
|
2861
|
-
"fieldName": "hideDisabled"
|
|
2862
|
-
},
|
|
2863
|
-
{
|
|
2864
|
-
"name": "hide-menu-single-option",
|
|
2865
|
-
"type": {
|
|
2866
|
-
"text": "boolean"
|
|
2867
|
-
},
|
|
2868
|
-
"default": "false",
|
|
2869
|
-
"fieldName": "hideMenuSingleOption"
|
|
2870
|
-
}
|
|
2871
|
-
],
|
|
2872
2822
|
"superclass": {
|
|
2873
2823
|
"name": "FoundationElement",
|
|
2874
2824
|
"package": "@microsoft/fast-foundation"
|
|
2875
2825
|
},
|
|
2876
|
-
"tagName": "%%prefix%%-
|
|
2826
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2877
2827
|
"customElement": true
|
|
2878
2828
|
},
|
|
2879
2829
|
{
|
|
2880
2830
|
"kind": "variable",
|
|
2881
|
-
"name": "
|
|
2882
|
-
"description": "The Foundation Actions Menu",
|
|
2883
|
-
"privacy": "public"
|
|
2831
|
+
"name": "foundationAiIndicator"
|
|
2884
2832
|
}
|
|
2885
2833
|
],
|
|
2886
2834
|
"exports": [
|
|
2887
2835
|
{
|
|
2888
2836
|
"kind": "js",
|
|
2889
|
-
"name": "
|
|
2837
|
+
"name": "AiIndicator",
|
|
2890
2838
|
"declaration": {
|
|
2891
|
-
"name": "
|
|
2892
|
-
"module": "src/
|
|
2839
|
+
"name": "AiIndicator",
|
|
2840
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2893
2841
|
}
|
|
2894
2842
|
},
|
|
2895
2843
|
{
|
|
2896
2844
|
"kind": "js",
|
|
2897
|
-
"name": "
|
|
2845
|
+
"name": "foundationAiIndicator",
|
|
2898
2846
|
"declaration": {
|
|
2899
|
-
"name": "
|
|
2900
|
-
"module": "src/
|
|
2847
|
+
"name": "foundationAiIndicator",
|
|
2848
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2901
2849
|
}
|
|
2902
2850
|
}
|
|
2903
2851
|
]
|
|
2904
2852
|
},
|
|
2905
2853
|
{
|
|
2906
2854
|
"kind": "javascript-module",
|
|
2907
|
-
"path": "src/
|
|
2855
|
+
"path": "src/ai-indicator/index.ts",
|
|
2908
2856
|
"declarations": [],
|
|
2909
2857
|
"exports": [
|
|
2910
2858
|
{
|
|
2911
2859
|
"kind": "js",
|
|
2912
|
-
"name": "
|
|
2860
|
+
"name": "AiIndicator",
|
|
2913
2861
|
"declaration": {
|
|
2914
|
-
"name": "
|
|
2915
|
-
"
|
|
2862
|
+
"name": "AiIndicator",
|
|
2863
|
+
"module": "./ai-indicator"
|
|
2916
2864
|
}
|
|
2917
2865
|
},
|
|
2918
2866
|
{
|
|
2919
2867
|
"kind": "js",
|
|
2920
|
-
"name": "
|
|
2868
|
+
"name": "foundationAiIndicator",
|
|
2921
2869
|
"declaration": {
|
|
2922
|
-
"name": "
|
|
2923
|
-
"
|
|
2870
|
+
"name": "foundationAiIndicator",
|
|
2871
|
+
"module": "./ai-indicator"
|
|
2924
2872
|
}
|
|
2925
2873
|
},
|
|
2926
2874
|
{
|
|
2927
2875
|
"kind": "js",
|
|
2928
|
-
"name": "
|
|
2876
|
+
"name": "type",
|
|
2929
2877
|
"declaration": {
|
|
2930
|
-
"name": "
|
|
2931
|
-
"
|
|
2878
|
+
"name": "type",
|
|
2879
|
+
"module": "./ai-indicator"
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"kind": "js",
|
|
2884
|
+
"name": "AIIndicatorState",
|
|
2885
|
+
"declaration": {
|
|
2886
|
+
"name": "AIIndicatorState",
|
|
2887
|
+
"module": "./ai-indicator"
|
|
2888
|
+
}
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"kind": "js",
|
|
2892
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2893
|
+
"declaration": {
|
|
2894
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2895
|
+
"module": "./ai-indicator.template"
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"kind": "js",
|
|
2900
|
+
"name": "foundationAiIndicatorStyles",
|
|
2901
|
+
"declaration": {
|
|
2902
|
+
"name": "foundationAiIndicatorStyles",
|
|
2903
|
+
"module": "./ai-indicator.styles"
|
|
2932
2904
|
}
|
|
2933
2905
|
}
|
|
2934
2906
|
]
|
|
2935
2907
|
},
|
|
2936
2908
|
{
|
|
2937
2909
|
"kind": "javascript-module",
|
|
2938
|
-
"path": "src/
|
|
2910
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2939
2911
|
"declarations": [
|
|
2940
2912
|
{
|
|
2941
|
-
"kind": "
|
|
2942
|
-
"name": "
|
|
2943
|
-
"
|
|
2913
|
+
"kind": "function",
|
|
2914
|
+
"name": "actionsMenuBaseStyles",
|
|
2915
|
+
"return": {
|
|
2916
|
+
"type": {
|
|
2917
|
+
"text": "ElementStyles"
|
|
2918
|
+
}
|
|
2919
|
+
},
|
|
2920
|
+
"parameters": [
|
|
2921
|
+
{
|
|
2922
|
+
"name": "context",
|
|
2923
|
+
"type": {
|
|
2924
|
+
"text": "ElementDefinitionContext"
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"name": "definition",
|
|
2929
|
+
"type": {
|
|
2930
|
+
"text": "FoundationElementDefinition"
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
]
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"kind": "function",
|
|
2937
|
+
"name": "foundationActionsMenuStyles",
|
|
2938
|
+
"return": {
|
|
2939
|
+
"type": {
|
|
2940
|
+
"text": "ElementStyles"
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2943
|
+
"parameters": [
|
|
2944
|
+
{
|
|
2945
|
+
"name": "context",
|
|
2946
|
+
"type": {
|
|
2947
|
+
"text": "ElementDefinitionContext"
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "definition",
|
|
2952
|
+
"type": {
|
|
2953
|
+
"text": "FoundationElementDefinition"
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
]
|
|
2944
2957
|
}
|
|
2945
2958
|
],
|
|
2946
2959
|
"exports": [
|
|
2947
2960
|
{
|
|
2948
2961
|
"kind": "js",
|
|
2949
|
-
"name": "
|
|
2962
|
+
"name": "actionsMenuBaseStyles",
|
|
2950
2963
|
"declaration": {
|
|
2951
|
-
"name": "
|
|
2952
|
-
"module": "src/
|
|
2964
|
+
"name": "actionsMenuBaseStyles",
|
|
2965
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"kind": "js",
|
|
2970
|
+
"name": "foundationActionsMenuStyles",
|
|
2971
|
+
"declaration": {
|
|
2972
|
+
"name": "foundationActionsMenuStyles",
|
|
2973
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2953
2974
|
}
|
|
2954
2975
|
}
|
|
2955
2976
|
]
|
|
2956
2977
|
},
|
|
2957
2978
|
{
|
|
2958
2979
|
"kind": "javascript-module",
|
|
2959
|
-
"path": "src/
|
|
2980
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2960
2981
|
"declarations": [
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "function",
|
|
2984
|
+
"name": "menuTemplate",
|
|
2985
|
+
"parameters": [
|
|
2986
|
+
{
|
|
2987
|
+
"name": "prefix",
|
|
2988
|
+
"type": {
|
|
2989
|
+
"text": "string"
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
]
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"kind": "function",
|
|
2996
|
+
"name": "singleOptionTemplate",
|
|
2997
|
+
"parameters": [
|
|
2998
|
+
{
|
|
2999
|
+
"name": "prefix",
|
|
3000
|
+
"type": {
|
|
3001
|
+
"text": "string"
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
3005
|
+
},
|
|
2961
3006
|
{
|
|
2962
3007
|
"kind": "variable",
|
|
2963
|
-
"name": "
|
|
3008
|
+
"name": "foundationActionsMenuTemplate",
|
|
2964
3009
|
"type": {
|
|
2965
|
-
"text": "ViewTemplate<
|
|
3010
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2966
3011
|
},
|
|
2967
|
-
"default": "html`\n ${(x) =>
|
|
3012
|
+
"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`"
|
|
2968
3013
|
}
|
|
2969
3014
|
],
|
|
2970
3015
|
"exports": [
|
|
2971
3016
|
{
|
|
2972
3017
|
"kind": "js",
|
|
2973
|
-
"name": "
|
|
3018
|
+
"name": "menuTemplate",
|
|
2974
3019
|
"declaration": {
|
|
2975
|
-
"name": "
|
|
2976
|
-
"module": "src/
|
|
3020
|
+
"name": "menuTemplate",
|
|
3021
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"kind": "js",
|
|
3026
|
+
"name": "singleOptionTemplate",
|
|
3027
|
+
"declaration": {
|
|
3028
|
+
"name": "singleOptionTemplate",
|
|
3029
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3030
|
+
}
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"kind": "js",
|
|
3034
|
+
"name": "foundationActionsMenuTemplate",
|
|
3035
|
+
"declaration": {
|
|
3036
|
+
"name": "foundationActionsMenuTemplate",
|
|
3037
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2977
3038
|
}
|
|
2978
3039
|
}
|
|
2979
3040
|
]
|
|
2980
3041
|
},
|
|
2981
3042
|
{
|
|
2982
3043
|
"kind": "javascript-module",
|
|
2983
|
-
"path": "src/
|
|
3044
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2984
3045
|
"declarations": [
|
|
2985
3046
|
{
|
|
2986
3047
|
"kind": "class",
|
|
2987
|
-
"description": "
|
|
2988
|
-
"name": "
|
|
3048
|
+
"description": "",
|
|
3049
|
+
"name": "ActionsMenu",
|
|
2989
3050
|
"members": [
|
|
2990
3051
|
{
|
|
2991
3052
|
"kind": "field",
|
|
2992
|
-
"name": "
|
|
2993
|
-
"type": {
|
|
2994
|
-
"text": "AIProviderRegistry"
|
|
2995
|
-
}
|
|
2996
|
-
},
|
|
2997
|
-
{
|
|
2998
|
-
"kind": "field",
|
|
2999
|
-
"name": "placeholder",
|
|
3000
|
-
"type": {
|
|
3001
|
-
"text": "string"
|
|
3002
|
-
},
|
|
3003
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"kind": "field",
|
|
3007
|
-
"name": "disabled",
|
|
3053
|
+
"name": "actions",
|
|
3008
3054
|
"type": {
|
|
3009
|
-
"text": "
|
|
3055
|
+
"text": "ActionMenuItem[]"
|
|
3010
3056
|
}
|
|
3011
3057
|
},
|
|
3012
3058
|
{
|
|
3013
3059
|
"kind": "field",
|
|
3014
|
-
"name": "
|
|
3060
|
+
"name": "isVertical",
|
|
3015
3061
|
"type": {
|
|
3016
|
-
"text": "
|
|
3062
|
+
"text": "boolean"
|
|
3017
3063
|
},
|
|
3018
|
-
"default": "
|
|
3064
|
+
"default": "false"
|
|
3019
3065
|
},
|
|
3020
3066
|
{
|
|
3021
3067
|
"kind": "field",
|
|
3022
|
-
"name": "
|
|
3068
|
+
"name": "addDefaultActions",
|
|
3023
3069
|
"type": {
|
|
3024
3070
|
"text": "boolean"
|
|
3025
3071
|
},
|
|
3026
|
-
"default": "
|
|
3072
|
+
"default": "true"
|
|
3027
3073
|
},
|
|
3028
3074
|
{
|
|
3029
3075
|
"kind": "field",
|
|
3030
|
-
"name": "
|
|
3076
|
+
"name": "autoCloseOnAction",
|
|
3031
3077
|
"type": {
|
|
3032
|
-
"text": "
|
|
3078
|
+
"text": "boolean"
|
|
3033
3079
|
},
|
|
3034
|
-
"default": "
|
|
3080
|
+
"default": "true"
|
|
3035
3081
|
},
|
|
3036
3082
|
{
|
|
3037
3083
|
"kind": "field",
|
|
3038
|
-
"name": "
|
|
3084
|
+
"name": "classNames",
|
|
3039
3085
|
"type": {
|
|
3040
|
-
"text": "
|
|
3041
|
-
}
|
|
3042
|
-
"default": "[]"
|
|
3086
|
+
"text": "string"
|
|
3087
|
+
}
|
|
3043
3088
|
},
|
|
3044
3089
|
{
|
|
3045
3090
|
"kind": "field",
|
|
3046
|
-
"name": "
|
|
3091
|
+
"name": "definition",
|
|
3047
3092
|
"type": {
|
|
3048
|
-
"text": "
|
|
3049
|
-
}
|
|
3050
|
-
"default": "false"
|
|
3093
|
+
"text": "any"
|
|
3094
|
+
}
|
|
3051
3095
|
},
|
|
3052
3096
|
{
|
|
3053
3097
|
"kind": "field",
|
|
3054
|
-
"name": "
|
|
3098
|
+
"name": "name",
|
|
3055
3099
|
"type": {
|
|
3056
|
-
"text": "
|
|
3100
|
+
"text": "string"
|
|
3057
3101
|
},
|
|
3058
|
-
"default": "
|
|
3102
|
+
"default": "'Actions'"
|
|
3059
3103
|
},
|
|
3060
3104
|
{
|
|
3061
3105
|
"kind": "field",
|
|
3062
|
-
"name": "
|
|
3106
|
+
"name": "open",
|
|
3063
3107
|
"type": {
|
|
3064
3108
|
"text": "boolean"
|
|
3065
3109
|
},
|
|
@@ -3067,125 +3111,129 @@
|
|
|
3067
3111
|
},
|
|
3068
3112
|
{
|
|
3069
3113
|
"kind": "field",
|
|
3070
|
-
"name": "
|
|
3114
|
+
"name": "buttonAppearance",
|
|
3071
3115
|
"type": {
|
|
3072
|
-
"text": "
|
|
3073
|
-
}
|
|
3074
|
-
"privacy": "public"
|
|
3116
|
+
"text": "string"
|
|
3117
|
+
}
|
|
3075
3118
|
},
|
|
3076
3119
|
{
|
|
3077
3120
|
"kind": "field",
|
|
3078
|
-
"name": "
|
|
3121
|
+
"name": "hideDisabled",
|
|
3079
3122
|
"type": {
|
|
3080
|
-
"text": "
|
|
3123
|
+
"text": "boolean"
|
|
3081
3124
|
},
|
|
3082
|
-
"
|
|
3083
|
-
"default": "null"
|
|
3125
|
+
"default": "false"
|
|
3084
3126
|
},
|
|
3085
3127
|
{
|
|
3086
3128
|
"kind": "field",
|
|
3087
|
-
"name": "
|
|
3129
|
+
"name": "hideMenuSingleOption",
|
|
3088
3130
|
"type": {
|
|
3089
|
-
"text": "
|
|
3131
|
+
"text": "boolean"
|
|
3090
3132
|
},
|
|
3091
|
-
"
|
|
3092
|
-
"default": "null"
|
|
3133
|
+
"default": "false"
|
|
3093
3134
|
},
|
|
3094
3135
|
{
|
|
3095
3136
|
"kind": "field",
|
|
3096
|
-
"name": "
|
|
3137
|
+
"name": "singleOption",
|
|
3097
3138
|
"type": {
|
|
3098
|
-
"text": "
|
|
3099
|
-
}
|
|
3100
|
-
"readonly": true
|
|
3139
|
+
"text": "ActionMenuItem"
|
|
3140
|
+
}
|
|
3101
3141
|
},
|
|
3102
3142
|
{
|
|
3103
3143
|
"kind": "field",
|
|
3104
|
-
"name": "
|
|
3144
|
+
"name": "actionsMenu",
|
|
3105
3145
|
"type": {
|
|
3106
|
-
"text": "
|
|
3107
|
-
}
|
|
3108
|
-
"readonly": true
|
|
3146
|
+
"text": "HTMLElement"
|
|
3147
|
+
}
|
|
3109
3148
|
},
|
|
3110
3149
|
{
|
|
3111
|
-
"kind": "
|
|
3112
|
-
"name": "
|
|
3113
|
-
"
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
"text": "string"
|
|
3117
|
-
}
|
|
3118
|
-
},
|
|
3119
|
-
"parameters": [
|
|
3120
|
-
{
|
|
3121
|
-
"name": "fieldName",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "string"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3150
|
+
"kind": "field",
|
|
3151
|
+
"name": "actionsOpener",
|
|
3152
|
+
"type": {
|
|
3153
|
+
"text": "HTMLElement"
|
|
3154
|
+
}
|
|
3127
3155
|
},
|
|
3128
3156
|
{
|
|
3129
3157
|
"kind": "method",
|
|
3130
|
-
"name": "
|
|
3131
|
-
"
|
|
3132
|
-
"type": {
|
|
3133
|
-
"text": "void"
|
|
3134
|
-
}
|
|
3135
|
-
}
|
|
3158
|
+
"name": "updateMenuPosition",
|
|
3159
|
+
"privacy": "private"
|
|
3136
3160
|
},
|
|
3137
3161
|
{
|
|
3138
3162
|
"kind": "method",
|
|
3139
|
-
"name": "
|
|
3140
|
-
"
|
|
3141
|
-
"type": {
|
|
3142
|
-
"text": "void"
|
|
3143
|
-
}
|
|
3144
|
-
},
|
|
3163
|
+
"name": "definitionChanged",
|
|
3164
|
+
"privacy": "protected",
|
|
3145
3165
|
"parameters": [
|
|
3146
3166
|
{
|
|
3147
|
-
"name": "
|
|
3167
|
+
"name": "oldValue",
|
|
3148
3168
|
"type": {
|
|
3149
|
-
"text": "
|
|
3169
|
+
"text": "any"
|
|
3150
3170
|
}
|
|
3151
3171
|
},
|
|
3152
3172
|
{
|
|
3153
|
-
"name": "
|
|
3173
|
+
"name": "newValue",
|
|
3154
3174
|
"type": {
|
|
3155
|
-
"text": "
|
|
3175
|
+
"text": "any"
|
|
3156
3176
|
}
|
|
3157
3177
|
}
|
|
3158
3178
|
]
|
|
3159
3179
|
},
|
|
3160
3180
|
{
|
|
3161
3181
|
"kind": "method",
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3164
|
-
"type": {
|
|
3165
|
-
"text": "void"
|
|
3166
|
-
}
|
|
3167
|
-
}
|
|
3182
|
+
"name": "openChanged",
|
|
3183
|
+
"privacy": "protected"
|
|
3168
3184
|
},
|
|
3169
3185
|
{
|
|
3170
3186
|
"kind": "method",
|
|
3171
|
-
"name": "
|
|
3187
|
+
"name": "toggleActionsMenuVisibility"
|
|
3172
3188
|
},
|
|
3173
3189
|
{
|
|
3174
3190
|
"kind": "method",
|
|
3175
|
-
"name": "
|
|
3191
|
+
"name": "onActionMenuItemClick",
|
|
3192
|
+
"parameters": [
|
|
3193
|
+
{
|
|
3194
|
+
"name": "callback",
|
|
3195
|
+
"type": {
|
|
3196
|
+
"text": "(rowData) => void | any"
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
]
|
|
3176
3200
|
},
|
|
3177
3201
|
{
|
|
3178
|
-
"kind": "
|
|
3179
|
-
"name": "
|
|
3202
|
+
"kind": "field",
|
|
3203
|
+
"name": "allActions",
|
|
3204
|
+
"type": {
|
|
3205
|
+
"text": "ActionMenuItem[]"
|
|
3206
|
+
},
|
|
3207
|
+
"readonly": true
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
"kind": "field",
|
|
3211
|
+
"name": "rowData",
|
|
3212
|
+
"readonly": true
|
|
3180
3213
|
},
|
|
3181
3214
|
{
|
|
3182
3215
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3216
|
+
"name": "getLabel",
|
|
3217
|
+
"parameters": [
|
|
3218
|
+
{
|
|
3219
|
+
"name": "name",
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "string | ((rowData: any) => string)"
|
|
3222
|
+
}
|
|
3223
|
+
}
|
|
3224
|
+
]
|
|
3184
3225
|
},
|
|
3185
3226
|
{
|
|
3186
3227
|
"kind": "method",
|
|
3187
|
-
"name": "
|
|
3188
|
-
"
|
|
3228
|
+
"name": "getTemplate",
|
|
3229
|
+
"parameters": [
|
|
3230
|
+
{
|
|
3231
|
+
"name": "prefix",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"text": "string"
|
|
3234
|
+
}
|
|
3235
|
+
}
|
|
3236
|
+
]
|
|
3189
3237
|
},
|
|
3190
3238
|
{
|
|
3191
3239
|
"kind": "field",
|
|
@@ -3299,154 +3347,115 @@
|
|
|
3299
3347
|
}
|
|
3300
3348
|
}
|
|
3301
3349
|
],
|
|
3302
|
-
"
|
|
3350
|
+
"attributes": [
|
|
3303
3351
|
{
|
|
3304
|
-
"
|
|
3305
|
-
"
|
|
3352
|
+
"name": "is-vertical",
|
|
3353
|
+
"type": {
|
|
3354
|
+
"text": "boolean"
|
|
3355
|
+
},
|
|
3356
|
+
"default": "false",
|
|
3357
|
+
"fieldName": "isVertical"
|
|
3306
3358
|
},
|
|
3307
3359
|
{
|
|
3308
|
-
"
|
|
3309
|
-
"
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3360
|
+
"name": "add-default-actions",
|
|
3361
|
+
"type": {
|
|
3362
|
+
"text": "boolean"
|
|
3363
|
+
},
|
|
3364
|
+
"default": "true",
|
|
3365
|
+
"fieldName": "addDefaultActions"
|
|
3366
|
+
},
|
|
3313
3367
|
{
|
|
3314
|
-
"name": "
|
|
3368
|
+
"name": "auto-close-on-action",
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "boolean"
|
|
3371
|
+
},
|
|
3372
|
+
"default": "true",
|
|
3373
|
+
"fieldName": "autoCloseOnAction"
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"name": "name",
|
|
3315
3377
|
"type": {
|
|
3316
3378
|
"text": "string"
|
|
3317
3379
|
},
|
|
3318
|
-
"default": "'
|
|
3319
|
-
"fieldName": "
|
|
3380
|
+
"default": "'Actions'",
|
|
3381
|
+
"fieldName": "name"
|
|
3320
3382
|
},
|
|
3321
3383
|
{
|
|
3384
|
+
"name": "open",
|
|
3322
3385
|
"type": {
|
|
3323
3386
|
"text": "boolean"
|
|
3324
3387
|
},
|
|
3325
|
-
"
|
|
3388
|
+
"default": "false",
|
|
3389
|
+
"fieldName": "open"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "buttonAppearance",
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "string"
|
|
3395
|
+
},
|
|
3396
|
+
"fieldName": "buttonAppearance"
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"name": "hide-disabled",
|
|
3400
|
+
"type": {
|
|
3401
|
+
"text": "boolean"
|
|
3402
|
+
},
|
|
3403
|
+
"default": "false",
|
|
3404
|
+
"fieldName": "hideDisabled"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"name": "hide-menu-single-option",
|
|
3408
|
+
"type": {
|
|
3409
|
+
"text": "boolean"
|
|
3410
|
+
},
|
|
3411
|
+
"default": "false",
|
|
3412
|
+
"fieldName": "hideMenuSingleOption"
|
|
3326
3413
|
}
|
|
3327
3414
|
],
|
|
3328
3415
|
"superclass": {
|
|
3329
3416
|
"name": "FoundationElement",
|
|
3330
3417
|
"package": "@microsoft/fast-foundation"
|
|
3331
3418
|
},
|
|
3332
|
-
"tagName": "%%prefix%%-
|
|
3419
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3333
3420
|
"customElement": true
|
|
3334
3421
|
},
|
|
3335
3422
|
{
|
|
3336
3423
|
"kind": "variable",
|
|
3337
|
-
"name": "
|
|
3338
|
-
"
|
|
3339
|
-
|
|
3340
|
-
},
|
|
3341
|
-
"default": "undefined"
|
|
3342
|
-
},
|
|
3343
|
-
{
|
|
3344
|
-
"kind": "variable",
|
|
3345
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3346
|
-
"type": {
|
|
3347
|
-
"text": "object"
|
|
3348
|
-
},
|
|
3349
|
-
"default": "{}"
|
|
3350
|
-
},
|
|
3351
|
-
{
|
|
3352
|
-
"kind": "variable",
|
|
3353
|
-
"name": "foundationAiCriteriaSearch"
|
|
3424
|
+
"name": "foundationActionsMenu",
|
|
3425
|
+
"description": "The Foundation Actions Menu",
|
|
3426
|
+
"privacy": "public"
|
|
3354
3427
|
}
|
|
3355
3428
|
],
|
|
3356
3429
|
"exports": [
|
|
3357
3430
|
{
|
|
3358
3431
|
"kind": "js",
|
|
3359
|
-
"name": "
|
|
3360
|
-
"declaration": {
|
|
3361
|
-
"name": "AiCriteriaSearch",
|
|
3362
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3363
|
-
}
|
|
3364
|
-
},
|
|
3365
|
-
{
|
|
3366
|
-
"kind": "js",
|
|
3367
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3368
|
-
"declaration": {
|
|
3369
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3371
|
-
}
|
|
3372
|
-
},
|
|
3373
|
-
{
|
|
3374
|
-
"kind": "js",
|
|
3375
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3432
|
+
"name": "ActionsMenu",
|
|
3376
3433
|
"declaration": {
|
|
3377
|
-
"name": "
|
|
3378
|
-
"module": "src/
|
|
3434
|
+
"name": "ActionsMenu",
|
|
3435
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3379
3436
|
}
|
|
3380
3437
|
},
|
|
3381
3438
|
{
|
|
3382
3439
|
"kind": "js",
|
|
3383
|
-
"name": "
|
|
3440
|
+
"name": "foundationActionsMenu",
|
|
3384
3441
|
"declaration": {
|
|
3385
|
-
"name": "
|
|
3386
|
-
"module": "src/
|
|
3442
|
+
"name": "foundationActionsMenu",
|
|
3443
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3387
3444
|
}
|
|
3388
3445
|
}
|
|
3389
3446
|
]
|
|
3390
3447
|
},
|
|
3391
3448
|
{
|
|
3392
3449
|
"kind": "javascript-module",
|
|
3393
|
-
"path": "src/
|
|
3450
|
+
"path": "src/actions-menu/index.ts",
|
|
3394
3451
|
"declarations": [],
|
|
3395
3452
|
"exports": [
|
|
3396
|
-
{
|
|
3397
|
-
"kind": "js",
|
|
3398
|
-
"name": "AiCriteriaSearch",
|
|
3399
|
-
"declaration": {
|
|
3400
|
-
"name": "AiCriteriaSearch",
|
|
3401
|
-
"module": "./ai-criteria-search"
|
|
3402
|
-
}
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"kind": "js",
|
|
3406
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
-
"declaration": {
|
|
3408
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
-
"module": "./ai-criteria-search"
|
|
3410
|
-
}
|
|
3411
|
-
},
|
|
3412
|
-
{
|
|
3413
|
-
"kind": "js",
|
|
3414
|
-
"name": "foundationAiCriteriaSearch",
|
|
3415
|
-
"declaration": {
|
|
3416
|
-
"name": "foundationAiCriteriaSearch",
|
|
3417
|
-
"module": "./ai-criteria-search"
|
|
3418
|
-
}
|
|
3419
|
-
},
|
|
3420
|
-
{
|
|
3421
|
-
"kind": "js",
|
|
3422
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
|
-
"declaration": {
|
|
3424
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
-
"module": "./ai-criteria-search"
|
|
3426
|
-
}
|
|
3427
|
-
},
|
|
3428
|
-
{
|
|
3429
|
-
"kind": "js",
|
|
3430
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3431
|
-
"declaration": {
|
|
3432
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
-
"module": "./ai-criteria-search.styles"
|
|
3434
|
-
}
|
|
3435
|
-
},
|
|
3436
|
-
{
|
|
3437
|
-
"kind": "js",
|
|
3438
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3439
|
-
"declaration": {
|
|
3440
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
-
"module": "./ai-criteria-search.template"
|
|
3442
|
-
}
|
|
3443
|
-
},
|
|
3444
3453
|
{
|
|
3445
3454
|
"kind": "js",
|
|
3446
3455
|
"name": "*",
|
|
3447
3456
|
"declaration": {
|
|
3448
3457
|
"name": "*",
|
|
3449
|
-
"package": "./
|
|
3458
|
+
"package": "./actions-menu.styles"
|
|
3450
3459
|
}
|
|
3451
3460
|
},
|
|
3452
3461
|
{
|
|
@@ -3454,7 +3463,7 @@
|
|
|
3454
3463
|
"name": "*",
|
|
3455
3464
|
"declaration": {
|
|
3456
3465
|
"name": "*",
|
|
3457
|
-
"package": "./
|
|
3466
|
+
"package": "./actions-menu.template"
|
|
3458
3467
|
}
|
|
3459
3468
|
},
|
|
3460
3469
|
{
|
|
@@ -3462,96 +3471,60 @@
|
|
|
3462
3471
|
"name": "*",
|
|
3463
3472
|
"declaration": {
|
|
3464
3473
|
"name": "*",
|
|
3465
|
-
"package": "./
|
|
3474
|
+
"package": "./actions-menu"
|
|
3466
3475
|
}
|
|
3467
3476
|
}
|
|
3468
3477
|
]
|
|
3469
3478
|
},
|
|
3470
3479
|
{
|
|
3471
3480
|
"kind": "javascript-module",
|
|
3472
|
-
"path": "src/
|
|
3481
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3473
3482
|
"declarations": [
|
|
3474
3483
|
{
|
|
3475
3484
|
"kind": "function",
|
|
3476
|
-
"name": "
|
|
3485
|
+
"name": "foundationAccordionStyles",
|
|
3477
3486
|
"return": {
|
|
3478
3487
|
"type": {
|
|
3479
|
-
"text": "
|
|
3488
|
+
"text": "ElementStyles"
|
|
3480
3489
|
}
|
|
3481
3490
|
},
|
|
3482
3491
|
"parameters": [
|
|
3483
3492
|
{
|
|
3484
|
-
"name": "
|
|
3493
|
+
"name": "context",
|
|
3485
3494
|
"type": {
|
|
3486
|
-
"text": "
|
|
3495
|
+
"text": "ElementDefinitionContext"
|
|
3487
3496
|
}
|
|
3488
|
-
}
|
|
3489
|
-
],
|
|
3490
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
-
},
|
|
3492
|
-
{
|
|
3493
|
-
"kind": "function",
|
|
3494
|
-
"name": "showCriteriaError",
|
|
3495
|
-
"return": {
|
|
3496
|
-
"type": {
|
|
3497
|
-
"text": "void"
|
|
3498
|
-
}
|
|
3499
|
-
},
|
|
3500
|
-
"parameters": [
|
|
3501
|
-
{
|
|
3502
|
-
"name": "title",
|
|
3503
|
-
"type": {
|
|
3504
|
-
"text": "string"
|
|
3505
|
-
},
|
|
3506
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
-
},
|
|
3508
|
-
{
|
|
3509
|
-
"name": "body",
|
|
3510
|
-
"type": {
|
|
3511
|
-
"text": "string"
|
|
3512
|
-
},
|
|
3513
|
-
"description": "Error message to display"
|
|
3514
3497
|
},
|
|
3515
3498
|
{
|
|
3516
|
-
"name": "
|
|
3499
|
+
"name": "definition",
|
|
3517
3500
|
"type": {
|
|
3518
|
-
"text": "
|
|
3519
|
-
}
|
|
3520
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3501
|
+
"text": "FoundationElementDefinition"
|
|
3502
|
+
}
|
|
3521
3503
|
}
|
|
3522
|
-
]
|
|
3523
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3504
|
+
]
|
|
3524
3505
|
}
|
|
3525
3506
|
],
|
|
3526
3507
|
"exports": [
|
|
3527
3508
|
{
|
|
3528
3509
|
"kind": "js",
|
|
3529
|
-
"name": "
|
|
3530
|
-
"declaration": {
|
|
3531
|
-
"name": "formatValidationErrors",
|
|
3532
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
-
}
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "js",
|
|
3537
|
-
"name": "showCriteriaError",
|
|
3510
|
+
"name": "foundationAccordionStyles",
|
|
3538
3511
|
"declaration": {
|
|
3539
|
-
"name": "
|
|
3540
|
-
"module": "src/
|
|
3512
|
+
"name": "foundationAccordionStyles",
|
|
3513
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3541
3514
|
}
|
|
3542
3515
|
}
|
|
3543
3516
|
]
|
|
3544
3517
|
},
|
|
3545
3518
|
{
|
|
3546
3519
|
"kind": "javascript-module",
|
|
3547
|
-
"path": "src/
|
|
3520
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3548
3521
|
"declarations": [
|
|
3549
3522
|
{
|
|
3550
3523
|
"kind": "function",
|
|
3551
|
-
"name": "
|
|
3524
|
+
"name": "foundationAccordionTemplate",
|
|
3552
3525
|
"return": {
|
|
3553
3526
|
"type": {
|
|
3554
|
-
"text": "
|
|
3527
|
+
"text": "ViewTemplate<Accordion>"
|
|
3555
3528
|
}
|
|
3556
3529
|
},
|
|
3557
3530
|
"parameters": [
|
|
@@ -3573,224 +3546,237 @@
|
|
|
3573
3546
|
"exports": [
|
|
3574
3547
|
{
|
|
3575
3548
|
"kind": "js",
|
|
3576
|
-
"name": "
|
|
3577
|
-
"declaration": {
|
|
3578
|
-
"name": "foundationAiIndicatorStyles",
|
|
3579
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3580
|
-
}
|
|
3581
|
-
}
|
|
3582
|
-
]
|
|
3583
|
-
},
|
|
3584
|
-
{
|
|
3585
|
-
"kind": "javascript-module",
|
|
3586
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3587
|
-
"declarations": [
|
|
3588
|
-
{
|
|
3589
|
-
"kind": "variable",
|
|
3590
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3591
|
-
"type": {
|
|
3592
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3593
|
-
},
|
|
3594
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3595
|
-
}
|
|
3596
|
-
],
|
|
3597
|
-
"exports": [
|
|
3598
|
-
{
|
|
3599
|
-
"kind": "js",
|
|
3600
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3549
|
+
"name": "foundationAccordionTemplate",
|
|
3601
3550
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"module": "src/
|
|
3551
|
+
"name": "foundationAccordionTemplate",
|
|
3552
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3604
3553
|
}
|
|
3605
3554
|
}
|
|
3606
3555
|
]
|
|
3607
3556
|
},
|
|
3608
3557
|
{
|
|
3609
3558
|
"kind": "javascript-module",
|
|
3610
|
-
"path": "src/
|
|
3559
|
+
"path": "src/accordion/accordion.ts",
|
|
3611
3560
|
"declarations": [
|
|
3612
3561
|
{
|
|
3613
3562
|
"kind": "class",
|
|
3614
3563
|
"description": "",
|
|
3615
|
-
"name": "
|
|
3616
|
-
"
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
},
|
|
3624
|
-
{
|
|
3625
|
-
"kind": "field",
|
|
3626
|
-
"name": "aiProvider",
|
|
3627
|
-
"type": {
|
|
3628
|
-
"text": "AIProvider | undefined"
|
|
3629
|
-
},
|
|
3630
|
-
"privacy": "private",
|
|
3631
|
-
"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.",
|
|
3632
|
-
"readonly": true
|
|
3633
|
-
},
|
|
3564
|
+
"name": "Accordion",
|
|
3565
|
+
"superclass": {
|
|
3566
|
+
"name": "FASTAccordion",
|
|
3567
|
+
"package": "@microsoft/fast-foundation"
|
|
3568
|
+
},
|
|
3569
|
+
"tagName": "%%prefix%%-accordion",
|
|
3570
|
+
"customElement": true,
|
|
3571
|
+
"attributes": [
|
|
3634
3572
|
{
|
|
3635
|
-
"
|
|
3636
|
-
"name": "status",
|
|
3573
|
+
"name": "expand-mode",
|
|
3637
3574
|
"type": {
|
|
3638
|
-
"text": "
|
|
3575
|
+
"text": "AccordionExpandMode"
|
|
3639
3576
|
},
|
|
3640
|
-
"
|
|
3641
|
-
|
|
3577
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3578
|
+
"fieldName": "expandmode",
|
|
3579
|
+
"inheritedFrom": {
|
|
3580
|
+
"name": "Accordion",
|
|
3581
|
+
"module": "src/accordion/accordion.ts"
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
],
|
|
3585
|
+
"members": [
|
|
3642
3586
|
{
|
|
3643
3587
|
"kind": "field",
|
|
3644
|
-
"name": "
|
|
3588
|
+
"name": "expandmode",
|
|
3645
3589
|
"type": {
|
|
3646
|
-
"text": "
|
|
3590
|
+
"text": "AccordionExpandMode"
|
|
3647
3591
|
},
|
|
3648
|
-
"
|
|
3592
|
+
"privacy": "public",
|
|
3593
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3594
|
+
"inheritedFrom": {
|
|
3595
|
+
"name": "Accordion",
|
|
3596
|
+
"module": "src/accordion/accordion.ts"
|
|
3597
|
+
}
|
|
3649
3598
|
},
|
|
3650
3599
|
{
|
|
3651
3600
|
"kind": "field",
|
|
3652
|
-
"name": "
|
|
3601
|
+
"name": "activeid",
|
|
3653
3602
|
"type": {
|
|
3654
|
-
"text": "
|
|
3603
|
+
"text": "string | null"
|
|
3655
3604
|
},
|
|
3656
|
-
"
|
|
3605
|
+
"privacy": "private",
|
|
3606
|
+
"inheritedFrom": {
|
|
3607
|
+
"name": "Accordion",
|
|
3608
|
+
"module": "src/accordion/accordion.ts"
|
|
3609
|
+
}
|
|
3657
3610
|
},
|
|
3658
3611
|
{
|
|
3659
3612
|
"kind": "field",
|
|
3660
|
-
"name": "
|
|
3613
|
+
"name": "activeItemIndex",
|
|
3661
3614
|
"type": {
|
|
3662
|
-
"text": "
|
|
3615
|
+
"text": "number"
|
|
3663
3616
|
},
|
|
3664
|
-
"
|
|
3617
|
+
"privacy": "private",
|
|
3618
|
+
"default": "0",
|
|
3619
|
+
"inheritedFrom": {
|
|
3620
|
+
"name": "Accordion",
|
|
3621
|
+
"module": "src/accordion/accordion.ts"
|
|
3622
|
+
}
|
|
3665
3623
|
},
|
|
3666
3624
|
{
|
|
3667
3625
|
"kind": "field",
|
|
3668
|
-
"name": "
|
|
3626
|
+
"name": "accordionIds",
|
|
3669
3627
|
"type": {
|
|
3670
|
-
"text": "
|
|
3628
|
+
"text": "Array<string | null>"
|
|
3671
3629
|
},
|
|
3672
3630
|
"privacy": "private",
|
|
3673
|
-
"
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
"name": "clickOutside",
|
|
3678
|
-
"privacy": "private"
|
|
3631
|
+
"inheritedFrom": {
|
|
3632
|
+
"name": "Accordion",
|
|
3633
|
+
"module": "src/accordion/accordion.ts"
|
|
3634
|
+
}
|
|
3679
3635
|
},
|
|
3680
3636
|
{
|
|
3681
3637
|
"kind": "field",
|
|
3682
|
-
"name": "
|
|
3683
|
-
"
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3638
|
+
"name": "change",
|
|
3639
|
+
"privacy": "private",
|
|
3640
|
+
"inheritedFrom": {
|
|
3641
|
+
"name": "Accordion",
|
|
3642
|
+
"module": "src/accordion/accordion.ts"
|
|
3643
|
+
}
|
|
3687
3644
|
},
|
|
3688
3645
|
{
|
|
3689
|
-
"kind": "
|
|
3690
|
-
"name": "
|
|
3691
|
-
"
|
|
3692
|
-
|
|
3646
|
+
"kind": "method",
|
|
3647
|
+
"name": "findExpandedItem",
|
|
3648
|
+
"privacy": "private",
|
|
3649
|
+
"return": {
|
|
3650
|
+
"type": {
|
|
3651
|
+
"text": "AccordionItem | null"
|
|
3652
|
+
}
|
|
3693
3653
|
},
|
|
3694
|
-
"
|
|
3654
|
+
"inheritedFrom": {
|
|
3655
|
+
"name": "Accordion",
|
|
3656
|
+
"module": "src/accordion/accordion.ts"
|
|
3657
|
+
}
|
|
3695
3658
|
},
|
|
3696
3659
|
{
|
|
3697
3660
|
"kind": "field",
|
|
3698
|
-
"name": "
|
|
3699
|
-
"
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3661
|
+
"name": "setItems",
|
|
3662
|
+
"privacy": "private",
|
|
3663
|
+
"inheritedFrom": {
|
|
3664
|
+
"name": "Accordion",
|
|
3665
|
+
"module": "src/accordion/accordion.ts"
|
|
3666
|
+
}
|
|
3703
3667
|
},
|
|
3704
3668
|
{
|
|
3705
3669
|
"kind": "method",
|
|
3706
|
-
"name": "
|
|
3670
|
+
"name": "resetItems",
|
|
3671
|
+
"privacy": "private",
|
|
3707
3672
|
"return": {
|
|
3708
3673
|
"type": {
|
|
3709
3674
|
"text": "void"
|
|
3710
3675
|
}
|
|
3676
|
+
},
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3711
3680
|
}
|
|
3712
3681
|
},
|
|
3713
3682
|
{
|
|
3714
|
-
"kind": "
|
|
3715
|
-
"name": "
|
|
3683
|
+
"kind": "field",
|
|
3684
|
+
"name": "removeItemListeners",
|
|
3716
3685
|
"privacy": "private",
|
|
3717
|
-
"
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
"text": "MouseEvent"
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
3724
|
-
]
|
|
3686
|
+
"inheritedFrom": {
|
|
3687
|
+
"name": "Accordion",
|
|
3688
|
+
"module": "src/accordion/accordion.ts"
|
|
3689
|
+
}
|
|
3725
3690
|
},
|
|
3726
3691
|
{
|
|
3727
|
-
"kind": "
|
|
3728
|
-
"name": "
|
|
3692
|
+
"kind": "field",
|
|
3693
|
+
"name": "activeItemChange",
|
|
3694
|
+
"privacy": "private",
|
|
3695
|
+
"inheritedFrom": {
|
|
3696
|
+
"name": "Accordion",
|
|
3697
|
+
"module": "src/accordion/accordion.ts"
|
|
3698
|
+
}
|
|
3729
3699
|
},
|
|
3730
3700
|
{
|
|
3731
3701
|
"kind": "method",
|
|
3732
|
-
"name": "
|
|
3702
|
+
"name": "getItemIds",
|
|
3703
|
+
"privacy": "private",
|
|
3733
3704
|
"return": {
|
|
3734
3705
|
"type": {
|
|
3735
|
-
"text": "
|
|
3706
|
+
"text": "Array<string | null>"
|
|
3736
3707
|
}
|
|
3708
|
+
},
|
|
3709
|
+
"inheritedFrom": {
|
|
3710
|
+
"name": "Accordion",
|
|
3711
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
3712
|
}
|
|
3738
3713
|
},
|
|
3739
3714
|
{
|
|
3740
3715
|
"kind": "method",
|
|
3741
|
-
"name": "
|
|
3716
|
+
"name": "isSingleExpandMode",
|
|
3742
3717
|
"privacy": "private",
|
|
3743
3718
|
"return": {
|
|
3744
3719
|
"type": {
|
|
3745
|
-
"text": "
|
|
3720
|
+
"text": "boolean"
|
|
3746
3721
|
}
|
|
3747
3722
|
},
|
|
3748
|
-
"
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
"text": "AIStatus | null"
|
|
3753
|
-
}
|
|
3754
|
-
}
|
|
3755
|
-
]
|
|
3723
|
+
"inheritedFrom": {
|
|
3724
|
+
"name": "Accordion",
|
|
3725
|
+
"module": "src/accordion/accordion.ts"
|
|
3726
|
+
}
|
|
3756
3727
|
},
|
|
3757
3728
|
{
|
|
3758
|
-
"kind": "
|
|
3759
|
-
"name": "
|
|
3729
|
+
"kind": "field",
|
|
3730
|
+
"name": "handleItemKeyDown",
|
|
3760
3731
|
"privacy": "private",
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3764
|
-
}
|
|
3732
|
+
"inheritedFrom": {
|
|
3733
|
+
"name": "Accordion",
|
|
3734
|
+
"module": "src/accordion/accordion.ts"
|
|
3765
3735
|
}
|
|
3766
3736
|
},
|
|
3767
3737
|
{
|
|
3768
|
-
"kind": "
|
|
3769
|
-
"name": "
|
|
3738
|
+
"kind": "field",
|
|
3739
|
+
"name": "handleItemFocus",
|
|
3770
3740
|
"privacy": "private",
|
|
3771
|
-
"
|
|
3772
|
-
"
|
|
3773
|
-
|
|
3774
|
-
}
|
|
3741
|
+
"inheritedFrom": {
|
|
3742
|
+
"name": "Accordion",
|
|
3743
|
+
"module": "src/accordion/accordion.ts"
|
|
3775
3744
|
}
|
|
3776
3745
|
},
|
|
3777
3746
|
{
|
|
3778
3747
|
"kind": "method",
|
|
3779
|
-
"name": "
|
|
3748
|
+
"name": "adjust",
|
|
3780
3749
|
"privacy": "private",
|
|
3781
3750
|
"return": {
|
|
3782
3751
|
"type": {
|
|
3783
3752
|
"text": "void"
|
|
3784
3753
|
}
|
|
3754
|
+
},
|
|
3755
|
+
"parameters": [
|
|
3756
|
+
{
|
|
3757
|
+
"name": "adjustment",
|
|
3758
|
+
"type": {
|
|
3759
|
+
"text": "number"
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
],
|
|
3763
|
+
"inheritedFrom": {
|
|
3764
|
+
"name": "Accordion",
|
|
3765
|
+
"module": "src/accordion/accordion.ts"
|
|
3785
3766
|
}
|
|
3786
3767
|
},
|
|
3787
3768
|
{
|
|
3788
3769
|
"kind": "method",
|
|
3789
|
-
"name": "
|
|
3770
|
+
"name": "focusItem",
|
|
3771
|
+
"privacy": "private",
|
|
3790
3772
|
"return": {
|
|
3791
3773
|
"type": {
|
|
3792
|
-
"text": "
|
|
3774
|
+
"text": "void"
|
|
3793
3775
|
}
|
|
3776
|
+
},
|
|
3777
|
+
"inheritedFrom": {
|
|
3778
|
+
"name": "Accordion",
|
|
3779
|
+
"module": "src/accordion/accordion.ts"
|
|
3794
3780
|
}
|
|
3795
3781
|
},
|
|
3796
3782
|
{
|
|
@@ -3905,88 +3891,102 @@
|
|
|
3905
3891
|
}
|
|
3906
3892
|
}
|
|
3907
3893
|
],
|
|
3908
|
-
"
|
|
3909
|
-
|
|
3910
|
-
|
|
3894
|
+
"events": [
|
|
3895
|
+
{
|
|
3896
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3897
|
+
"name": "change",
|
|
3898
|
+
"inheritedFrom": {
|
|
3899
|
+
"name": "Accordion",
|
|
3900
|
+
"module": "src/accordion/accordion.ts"
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
]
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "variable",
|
|
3907
|
+
"name": "foundationAccordionShadowOptions",
|
|
3908
|
+
"type": {
|
|
3909
|
+
"text": "ShadowRootInit"
|
|
3911
3910
|
},
|
|
3912
|
-
"
|
|
3913
|
-
"customElement": true
|
|
3911
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3914
3912
|
},
|
|
3915
3913
|
{
|
|
3916
3914
|
"kind": "variable",
|
|
3917
|
-
"name": "
|
|
3915
|
+
"name": "defaultAccordionConfig",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "object"
|
|
3918
|
+
},
|
|
3919
|
+
"default": "{}"
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"kind": "variable",
|
|
3923
|
+
"name": "foundationAccordion",
|
|
3924
|
+
"description": "The Foundation Accordion",
|
|
3925
|
+
"privacy": "public"
|
|
3918
3926
|
}
|
|
3919
3927
|
],
|
|
3920
3928
|
"exports": [
|
|
3921
3929
|
{
|
|
3922
3930
|
"kind": "js",
|
|
3923
|
-
"name": "
|
|
3931
|
+
"name": "Accordion",
|
|
3924
3932
|
"declaration": {
|
|
3925
|
-
"name": "
|
|
3926
|
-
"module": "src/
|
|
3933
|
+
"name": "Accordion",
|
|
3934
|
+
"module": "src/accordion/accordion.ts"
|
|
3927
3935
|
}
|
|
3928
3936
|
},
|
|
3929
3937
|
{
|
|
3930
3938
|
"kind": "js",
|
|
3931
|
-
"name": "
|
|
3932
|
-
"declaration": {
|
|
3933
|
-
"name": "foundationAiIndicator",
|
|
3934
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3935
|
-
}
|
|
3936
|
-
}
|
|
3937
|
-
]
|
|
3938
|
-
},
|
|
3939
|
-
{
|
|
3940
|
-
"kind": "javascript-module",
|
|
3941
|
-
"path": "src/ai-indicator/index.ts",
|
|
3942
|
-
"declarations": [],
|
|
3943
|
-
"exports": [
|
|
3944
|
-
{
|
|
3945
|
-
"kind": "js",
|
|
3946
|
-
"name": "AiIndicator",
|
|
3939
|
+
"name": "foundationAccordionShadowOptions",
|
|
3947
3940
|
"declaration": {
|
|
3948
|
-
"name": "
|
|
3949
|
-
"module": "
|
|
3941
|
+
"name": "foundationAccordionShadowOptions",
|
|
3942
|
+
"module": "src/accordion/accordion.ts"
|
|
3950
3943
|
}
|
|
3951
3944
|
},
|
|
3952
3945
|
{
|
|
3953
3946
|
"kind": "js",
|
|
3954
|
-
"name": "
|
|
3947
|
+
"name": "defaultAccordionConfig",
|
|
3955
3948
|
"declaration": {
|
|
3956
|
-
"name": "
|
|
3957
|
-
"module": "
|
|
3949
|
+
"name": "defaultAccordionConfig",
|
|
3950
|
+
"module": "src/accordion/accordion.ts"
|
|
3958
3951
|
}
|
|
3959
3952
|
},
|
|
3960
3953
|
{
|
|
3961
3954
|
"kind": "js",
|
|
3962
|
-
"name": "
|
|
3955
|
+
"name": "foundationAccordion",
|
|
3963
3956
|
"declaration": {
|
|
3964
|
-
"name": "
|
|
3965
|
-
"module": "
|
|
3957
|
+
"name": "foundationAccordion",
|
|
3958
|
+
"module": "src/accordion/accordion.ts"
|
|
3966
3959
|
}
|
|
3967
|
-
}
|
|
3960
|
+
}
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
"kind": "javascript-module",
|
|
3965
|
+
"path": "src/accordion/index.ts",
|
|
3966
|
+
"declarations": [],
|
|
3967
|
+
"exports": [
|
|
3968
3968
|
{
|
|
3969
3969
|
"kind": "js",
|
|
3970
|
-
"name": "
|
|
3970
|
+
"name": "*",
|
|
3971
3971
|
"declaration": {
|
|
3972
|
-
"name": "
|
|
3973
|
-
"
|
|
3972
|
+
"name": "*",
|
|
3973
|
+
"package": "./accordion.template"
|
|
3974
3974
|
}
|
|
3975
3975
|
},
|
|
3976
3976
|
{
|
|
3977
3977
|
"kind": "js",
|
|
3978
|
-
"name": "
|
|
3978
|
+
"name": "*",
|
|
3979
3979
|
"declaration": {
|
|
3980
|
-
"name": "
|
|
3981
|
-
"
|
|
3980
|
+
"name": "*",
|
|
3981
|
+
"package": "./accordion.styles"
|
|
3982
3982
|
}
|
|
3983
3983
|
},
|
|
3984
3984
|
{
|
|
3985
3985
|
"kind": "js",
|
|
3986
|
-
"name": "
|
|
3986
|
+
"name": "*",
|
|
3987
3987
|
"declaration": {
|
|
3988
|
-
"name": "
|
|
3989
|
-
"
|
|
3988
|
+
"name": "*",
|
|
3989
|
+
"package": "./accordion"
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
]
|
|
@@ -17024,7 +17024,7 @@
|
|
|
17024
17024
|
"type": {
|
|
17025
17025
|
"text": "ElementStyles"
|
|
17026
17026
|
},
|
|
17027
|
-
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n z-index: var(--dialog-z-index,
|
|
17027
|
+
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n /* The inner element is position:fixed, so it is never CLIPPED — but an 'auto' default leaves it\n in the normal paint tree at its tree position, where any later-in-DOM sibling paints over it\n (e.g. a non-modal dialog inside one FlexLayout tile disappears under the tiles below).\n 1001 clears app headers (999) and FlexLayout's drag chrome (1000) while staying under Flyout\n (2000/2001). Modal is unaffected: showModal() puts it in the top layer, above all of this. */\n z-index: var(--dialog-z-index, 1001);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
|
|
17028
17028
|
}
|
|
17029
17029
|
],
|
|
17030
17030
|
"exports": [
|