@genesislcap/foundation-ui 14.445.0 → 14.445.2
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 +1063 -1063
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +19 -19
|
@@ -1400,42 +1400,11 @@
|
|
|
1400
1400
|
},
|
|
1401
1401
|
{
|
|
1402
1402
|
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/
|
|
1404
|
-
"declarations": [],
|
|
1405
|
-
"exports": [
|
|
1406
|
-
{
|
|
1407
|
-
"kind": "js",
|
|
1408
|
-
"name": "*",
|
|
1409
|
-
"declaration": {
|
|
1410
|
-
"name": "*",
|
|
1411
|
-
"package": "./styles"
|
|
1412
|
-
}
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "js",
|
|
1416
|
-
"name": "*",
|
|
1417
|
-
"declaration": {
|
|
1418
|
-
"name": "*",
|
|
1419
|
-
"package": "./tokens"
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"kind": "js",
|
|
1424
|
-
"name": "*",
|
|
1425
|
-
"declaration": {
|
|
1426
|
-
"name": "*",
|
|
1427
|
-
"package": "./values"
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
]
|
|
1431
|
-
},
|
|
1432
|
-
{
|
|
1433
|
-
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1403
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1435
1404
|
"declarations": [
|
|
1436
1405
|
{
|
|
1437
1406
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1407
|
+
"name": "foundationAccordionStyles",
|
|
1439
1408
|
"return": {
|
|
1440
1409
|
"type": {
|
|
1441
1410
|
"text": "ElementStyles"
|
|
@@ -1460,24 +1429,24 @@
|
|
|
1460
1429
|
"exports": [
|
|
1461
1430
|
{
|
|
1462
1431
|
"kind": "js",
|
|
1463
|
-
"name": "
|
|
1432
|
+
"name": "foundationAccordionStyles",
|
|
1464
1433
|
"declaration": {
|
|
1465
|
-
"name": "
|
|
1466
|
-
"module": "src/accordion
|
|
1434
|
+
"name": "foundationAccordionStyles",
|
|
1435
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1467
1436
|
}
|
|
1468
1437
|
}
|
|
1469
1438
|
]
|
|
1470
1439
|
},
|
|
1471
1440
|
{
|
|
1472
1441
|
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/accordion
|
|
1442
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1474
1443
|
"declarations": [
|
|
1475
1444
|
{
|
|
1476
1445
|
"kind": "function",
|
|
1477
|
-
"name": "
|
|
1446
|
+
"name": "foundationAccordionTemplate",
|
|
1478
1447
|
"return": {
|
|
1479
1448
|
"type": {
|
|
1480
|
-
"text": "ViewTemplate<
|
|
1449
|
+
"text": "ViewTemplate<Accordion>"
|
|
1481
1450
|
}
|
|
1482
1451
|
},
|
|
1483
1452
|
"parameters": [
|
|
@@ -1499,244 +1468,365 @@
|
|
|
1499
1468
|
"exports": [
|
|
1500
1469
|
{
|
|
1501
1470
|
"kind": "js",
|
|
1502
|
-
"name": "
|
|
1471
|
+
"name": "foundationAccordionTemplate",
|
|
1503
1472
|
"declaration": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"module": "src/accordion
|
|
1473
|
+
"name": "foundationAccordionTemplate",
|
|
1474
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1506
1475
|
}
|
|
1507
1476
|
}
|
|
1508
1477
|
]
|
|
1509
1478
|
},
|
|
1510
1479
|
{
|
|
1511
1480
|
"kind": "javascript-module",
|
|
1512
|
-
"path": "src/accordion
|
|
1481
|
+
"path": "src/accordion/accordion.ts",
|
|
1513
1482
|
"declarations": [
|
|
1514
1483
|
{
|
|
1515
1484
|
"kind": "class",
|
|
1516
1485
|
"description": "",
|
|
1517
|
-
"name": "
|
|
1486
|
+
"name": "Accordion",
|
|
1518
1487
|
"superclass": {
|
|
1519
|
-
"name": "
|
|
1520
|
-
"package": "@microsoft/fast-
|
|
1488
|
+
"name": "FASTAccordion",
|
|
1489
|
+
"package": "@microsoft/fast-foundation"
|
|
1521
1490
|
},
|
|
1522
|
-
"tagName": "%%prefix%%-accordion
|
|
1491
|
+
"tagName": "%%prefix%%-accordion",
|
|
1523
1492
|
"customElement": true,
|
|
1524
1493
|
"attributes": [
|
|
1525
1494
|
{
|
|
1526
|
-
"name": "
|
|
1527
|
-
"type": {
|
|
1528
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1529
|
-
},
|
|
1530
|
-
"default": "2",
|
|
1531
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1532
|
-
"fieldName": "headinglevel",
|
|
1533
|
-
"inheritedFrom": {
|
|
1534
|
-
"name": "AccordionItem",
|
|
1535
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1536
|
-
}
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
"type": {
|
|
1540
|
-
"text": "boolean"
|
|
1541
|
-
},
|
|
1542
|
-
"default": "false",
|
|
1543
|
-
"description": "Expands or collapses the item.",
|
|
1544
|
-
"fieldName": "expanded",
|
|
1545
|
-
"inheritedFrom": {
|
|
1546
|
-
"name": "AccordionItem",
|
|
1547
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1548
|
-
}
|
|
1549
|
-
},
|
|
1550
|
-
{
|
|
1551
|
-
"name": "id",
|
|
1495
|
+
"name": "expand-mode",
|
|
1552
1496
|
"type": {
|
|
1553
|
-
"text": "
|
|
1497
|
+
"text": "AccordionExpandMode"
|
|
1554
1498
|
},
|
|
1555
|
-
"description": "
|
|
1556
|
-
"fieldName": "
|
|
1499
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1500
|
+
"fieldName": "expandmode",
|
|
1557
1501
|
"inheritedFrom": {
|
|
1558
|
-
"name": "
|
|
1559
|
-
"module": "src/accordion
|
|
1502
|
+
"name": "Accordion",
|
|
1503
|
+
"module": "src/accordion/accordion.ts"
|
|
1560
1504
|
}
|
|
1561
1505
|
}
|
|
1562
1506
|
],
|
|
1563
1507
|
"members": [
|
|
1564
1508
|
{
|
|
1565
1509
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1510
|
+
"name": "expandmode",
|
|
1567
1511
|
"type": {
|
|
1568
|
-
"text": "
|
|
1512
|
+
"text": "AccordionExpandMode"
|
|
1569
1513
|
},
|
|
1570
1514
|
"privacy": "public",
|
|
1571
|
-
"
|
|
1572
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1515
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1573
1516
|
"inheritedFrom": {
|
|
1574
|
-
"name": "
|
|
1575
|
-
"module": "src/accordion
|
|
1517
|
+
"name": "Accordion",
|
|
1518
|
+
"module": "src/accordion/accordion.ts"
|
|
1576
1519
|
}
|
|
1577
1520
|
},
|
|
1578
1521
|
{
|
|
1579
1522
|
"kind": "field",
|
|
1580
|
-
"name": "
|
|
1523
|
+
"name": "activeid",
|
|
1581
1524
|
"type": {
|
|
1582
|
-
"text": "
|
|
1525
|
+
"text": "string | null"
|
|
1583
1526
|
},
|
|
1584
|
-
"privacy": "
|
|
1585
|
-
"default": "false",
|
|
1586
|
-
"description": "Expands or collapses the item.",
|
|
1527
|
+
"privacy": "private",
|
|
1587
1528
|
"inheritedFrom": {
|
|
1588
|
-
"name": "
|
|
1589
|
-
"module": "src/accordion
|
|
1529
|
+
"name": "Accordion",
|
|
1530
|
+
"module": "src/accordion/accordion.ts"
|
|
1590
1531
|
}
|
|
1591
1532
|
},
|
|
1592
1533
|
{
|
|
1593
1534
|
"kind": "field",
|
|
1594
|
-
"name": "
|
|
1535
|
+
"name": "activeItemIndex",
|
|
1595
1536
|
"type": {
|
|
1596
|
-
"text": "
|
|
1537
|
+
"text": "number"
|
|
1597
1538
|
},
|
|
1598
|
-
"privacy": "
|
|
1599
|
-
"
|
|
1539
|
+
"privacy": "private",
|
|
1540
|
+
"default": "0",
|
|
1600
1541
|
"inheritedFrom": {
|
|
1601
|
-
"name": "
|
|
1602
|
-
"module": "src/accordion
|
|
1542
|
+
"name": "Accordion",
|
|
1543
|
+
"module": "src/accordion/accordion.ts"
|
|
1603
1544
|
}
|
|
1604
1545
|
},
|
|
1605
1546
|
{
|
|
1606
1547
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1548
|
+
"name": "accordionIds",
|
|
1549
|
+
"type": {
|
|
1550
|
+
"text": "Array<string | null>"
|
|
1551
|
+
},
|
|
1608
1552
|
"privacy": "private",
|
|
1609
1553
|
"inheritedFrom": {
|
|
1610
|
-
"name": "
|
|
1611
|
-
"module": "src/accordion
|
|
1554
|
+
"name": "Accordion",
|
|
1555
|
+
"module": "src/accordion/accordion.ts"
|
|
1612
1556
|
}
|
|
1613
1557
|
},
|
|
1614
1558
|
{
|
|
1615
1559
|
"kind": "field",
|
|
1616
|
-
"name": "
|
|
1617
|
-
"type": {
|
|
1618
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1619
|
-
},
|
|
1560
|
+
"name": "change",
|
|
1620
1561
|
"privacy": "private",
|
|
1621
|
-
"default": "void 0",
|
|
1622
1562
|
"inheritedFrom": {
|
|
1623
|
-
"name": "
|
|
1624
|
-
"module": "src/
|
|
1563
|
+
"name": "Accordion",
|
|
1564
|
+
"module": "src/accordion/accordion.ts"
|
|
1625
1565
|
}
|
|
1626
1566
|
},
|
|
1627
1567
|
{
|
|
1628
|
-
"kind": "
|
|
1629
|
-
"name": "
|
|
1630
|
-
"
|
|
1631
|
-
|
|
1568
|
+
"kind": "method",
|
|
1569
|
+
"name": "findExpandedItem",
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"return": {
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "AccordionItem | null"
|
|
1574
|
+
}
|
|
1632
1575
|
},
|
|
1633
|
-
"privacy": "public",
|
|
1634
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1635
1576
|
"inheritedFrom": {
|
|
1636
|
-
"name": "
|
|
1637
|
-
"module": "src/
|
|
1577
|
+
"name": "Accordion",
|
|
1578
|
+
"module": "src/accordion/accordion.ts"
|
|
1638
1579
|
}
|
|
1639
1580
|
},
|
|
1640
1581
|
{
|
|
1641
1582
|
"kind": "field",
|
|
1642
|
-
"name": "
|
|
1643
|
-
"
|
|
1644
|
-
"text": "ElementViewTemplate | void | null"
|
|
1645
|
-
},
|
|
1646
|
-
"privacy": "public",
|
|
1647
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1583
|
+
"name": "setItems",
|
|
1584
|
+
"privacy": "private",
|
|
1648
1585
|
"inheritedFrom": {
|
|
1649
|
-
"name": "
|
|
1650
|
-
"module": "src/
|
|
1586
|
+
"name": "Accordion",
|
|
1587
|
+
"module": "src/accordion/accordion.ts"
|
|
1651
1588
|
}
|
|
1652
1589
|
},
|
|
1653
1590
|
{
|
|
1654
1591
|
"kind": "method",
|
|
1655
|
-
"name": "
|
|
1656
|
-
"privacy": "
|
|
1592
|
+
"name": "resetItems",
|
|
1593
|
+
"privacy": "private",
|
|
1657
1594
|
"return": {
|
|
1658
1595
|
"type": {
|
|
1659
1596
|
"text": "void"
|
|
1660
1597
|
}
|
|
1661
1598
|
},
|
|
1662
1599
|
"inheritedFrom": {
|
|
1663
|
-
"name": "
|
|
1664
|
-
"module": "src/
|
|
1600
|
+
"name": "Accordion",
|
|
1601
|
+
"module": "src/accordion/accordion.ts"
|
|
1665
1602
|
}
|
|
1666
1603
|
},
|
|
1667
1604
|
{
|
|
1668
1605
|
"kind": "field",
|
|
1669
|
-
"name": "
|
|
1670
|
-
"
|
|
1671
|
-
"text": "ElementStyles | void | null"
|
|
1672
|
-
},
|
|
1673
|
-
"privacy": "public",
|
|
1674
|
-
"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.",
|
|
1606
|
+
"name": "removeItemListeners",
|
|
1607
|
+
"privacy": "private",
|
|
1675
1608
|
"inheritedFrom": {
|
|
1676
|
-
"name": "
|
|
1677
|
-
"module": "src/
|
|
1609
|
+
"name": "Accordion",
|
|
1610
|
+
"module": "src/accordion/accordion.ts"
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "field",
|
|
1615
|
+
"name": "activeItemChange",
|
|
1616
|
+
"privacy": "private",
|
|
1617
|
+
"inheritedFrom": {
|
|
1618
|
+
"name": "Accordion",
|
|
1619
|
+
"module": "src/accordion/accordion.ts"
|
|
1678
1620
|
}
|
|
1679
1621
|
},
|
|
1680
1622
|
{
|
|
1681
1623
|
"kind": "method",
|
|
1682
|
-
"name": "
|
|
1683
|
-
"privacy": "
|
|
1624
|
+
"name": "getItemIds",
|
|
1625
|
+
"privacy": "private",
|
|
1684
1626
|
"return": {
|
|
1685
1627
|
"type": {
|
|
1686
|
-
"text": "
|
|
1628
|
+
"text": "Array<string | null>"
|
|
1687
1629
|
}
|
|
1688
1630
|
},
|
|
1689
1631
|
"inheritedFrom": {
|
|
1690
|
-
"name": "
|
|
1691
|
-
"module": "src/
|
|
1632
|
+
"name": "Accordion",
|
|
1633
|
+
"module": "src/accordion/accordion.ts"
|
|
1692
1634
|
}
|
|
1693
1635
|
},
|
|
1694
1636
|
{
|
|
1695
1637
|
"kind": "method",
|
|
1696
|
-
"name": "
|
|
1697
|
-
"privacy": "
|
|
1698
|
-
"static": true,
|
|
1638
|
+
"name": "isSingleExpandMode",
|
|
1639
|
+
"privacy": "private",
|
|
1699
1640
|
"return": {
|
|
1700
1641
|
"type": {
|
|
1701
|
-
"text": "
|
|
1642
|
+
"text": "boolean"
|
|
1702
1643
|
}
|
|
1703
1644
|
},
|
|
1704
|
-
"parameters": [
|
|
1705
|
-
{
|
|
1706
|
-
"name": "this",
|
|
1707
|
-
"type": {
|
|
1708
|
-
"text": "K"
|
|
1709
|
-
}
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
"name": "elementDefinition",
|
|
1713
|
-
"type": {
|
|
1714
|
-
"text": "T"
|
|
1715
|
-
},
|
|
1716
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1717
|
-
}
|
|
1718
|
-
],
|
|
1719
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1720
1645
|
"inheritedFrom": {
|
|
1721
|
-
"name": "
|
|
1722
|
-
"module": "src/
|
|
1646
|
+
"name": "Accordion",
|
|
1647
|
+
"module": "src/accordion/accordion.ts"
|
|
1723
1648
|
}
|
|
1724
|
-
}
|
|
1725
|
-
],
|
|
1726
|
-
"events": [
|
|
1649
|
+
},
|
|
1727
1650
|
{
|
|
1728
|
-
"
|
|
1729
|
-
"name": "
|
|
1730
|
-
"
|
|
1731
|
-
|
|
1732
|
-
"
|
|
1651
|
+
"kind": "field",
|
|
1652
|
+
"name": "handleItemKeyDown",
|
|
1653
|
+
"privacy": "private",
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "field",
|
|
1661
|
+
"name": "handleItemFocus",
|
|
1662
|
+
"privacy": "private",
|
|
1663
|
+
"inheritedFrom": {
|
|
1664
|
+
"name": "Accordion",
|
|
1665
|
+
"module": "src/accordion/accordion.ts"
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"kind": "method",
|
|
1670
|
+
"name": "adjust",
|
|
1671
|
+
"privacy": "private",
|
|
1672
|
+
"return": {
|
|
1673
|
+
"type": {
|
|
1674
|
+
"text": "void"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
"parameters": [
|
|
1678
|
+
{
|
|
1679
|
+
"name": "adjustment",
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "number"
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
],
|
|
1685
|
+
"inheritedFrom": {
|
|
1686
|
+
"name": "Accordion",
|
|
1687
|
+
"module": "src/accordion/accordion.ts"
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"kind": "method",
|
|
1692
|
+
"name": "focusItem",
|
|
1693
|
+
"privacy": "private",
|
|
1694
|
+
"return": {
|
|
1695
|
+
"type": {
|
|
1696
|
+
"text": "void"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
"inheritedFrom": {
|
|
1700
|
+
"name": "Accordion",
|
|
1701
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"kind": "field",
|
|
1706
|
+
"name": "_presentation",
|
|
1707
|
+
"type": {
|
|
1708
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1709
|
+
},
|
|
1710
|
+
"privacy": "private",
|
|
1711
|
+
"default": "void 0",
|
|
1712
|
+
"inheritedFrom": {
|
|
1713
|
+
"name": "FoundationElement",
|
|
1714
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "field",
|
|
1719
|
+
"name": "$presentation",
|
|
1720
|
+
"type": {
|
|
1721
|
+
"text": "ComponentPresentation | null"
|
|
1722
|
+
},
|
|
1723
|
+
"privacy": "public",
|
|
1724
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1725
|
+
"inheritedFrom": {
|
|
1726
|
+
"name": "FoundationElement",
|
|
1727
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "field",
|
|
1732
|
+
"name": "template",
|
|
1733
|
+
"type": {
|
|
1734
|
+
"text": "ElementViewTemplate | void | null"
|
|
1735
|
+
},
|
|
1736
|
+
"privacy": "public",
|
|
1737
|
+
"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.",
|
|
1738
|
+
"inheritedFrom": {
|
|
1739
|
+
"name": "FoundationElement",
|
|
1740
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"kind": "method",
|
|
1745
|
+
"name": "templateChanged",
|
|
1746
|
+
"privacy": "protected",
|
|
1747
|
+
"return": {
|
|
1748
|
+
"type": {
|
|
1749
|
+
"text": "void"
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
"inheritedFrom": {
|
|
1753
|
+
"name": "FoundationElement",
|
|
1754
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"kind": "field",
|
|
1759
|
+
"name": "styles",
|
|
1760
|
+
"type": {
|
|
1761
|
+
"text": "ElementStyles | void | null"
|
|
1762
|
+
},
|
|
1763
|
+
"privacy": "public",
|
|
1764
|
+
"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.",
|
|
1765
|
+
"inheritedFrom": {
|
|
1766
|
+
"name": "FoundationElement",
|
|
1767
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"kind": "method",
|
|
1772
|
+
"name": "stylesChanged",
|
|
1773
|
+
"privacy": "protected",
|
|
1774
|
+
"return": {
|
|
1775
|
+
"type": {
|
|
1776
|
+
"text": "void"
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
"inheritedFrom": {
|
|
1780
|
+
"name": "FoundationElement",
|
|
1781
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "method",
|
|
1786
|
+
"name": "compose",
|
|
1787
|
+
"privacy": "public",
|
|
1788
|
+
"static": true,
|
|
1789
|
+
"return": {
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
"parameters": [
|
|
1795
|
+
{
|
|
1796
|
+
"name": "this",
|
|
1797
|
+
"type": {
|
|
1798
|
+
"text": "K"
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"name": "elementDefinition",
|
|
1803
|
+
"type": {
|
|
1804
|
+
"text": "T"
|
|
1805
|
+
},
|
|
1806
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1807
|
+
}
|
|
1808
|
+
],
|
|
1809
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1810
|
+
"inheritedFrom": {
|
|
1811
|
+
"name": "FoundationElement",
|
|
1812
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
],
|
|
1816
|
+
"events": [
|
|
1817
|
+
{
|
|
1818
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1819
|
+
"name": "change",
|
|
1820
|
+
"inheritedFrom": {
|
|
1821
|
+
"name": "Accordion",
|
|
1822
|
+
"module": "src/accordion/accordion.ts"
|
|
1733
1823
|
}
|
|
1734
1824
|
}
|
|
1735
1825
|
]
|
|
1736
1826
|
},
|
|
1737
1827
|
{
|
|
1738
1828
|
"kind": "variable",
|
|
1739
|
-
"name": "
|
|
1829
|
+
"name": "foundationAccordionShadowOptions",
|
|
1740
1830
|
"type": {
|
|
1741
1831
|
"text": "ShadowRootInit"
|
|
1742
1832
|
},
|
|
@@ -1744,57 +1834,57 @@
|
|
|
1744
1834
|
},
|
|
1745
1835
|
{
|
|
1746
1836
|
"kind": "variable",
|
|
1747
|
-
"name": "
|
|
1837
|
+
"name": "defaultAccordionConfig",
|
|
1748
1838
|
"type": {
|
|
1749
1839
|
"text": "object"
|
|
1750
1840
|
},
|
|
1751
|
-
"default": "{
|
|
1841
|
+
"default": "{}"
|
|
1752
1842
|
},
|
|
1753
1843
|
{
|
|
1754
1844
|
"kind": "variable",
|
|
1755
|
-
"name": "
|
|
1756
|
-
"description": "The Foundation Accordion
|
|
1845
|
+
"name": "foundationAccordion",
|
|
1846
|
+
"description": "The Foundation Accordion",
|
|
1757
1847
|
"privacy": "public"
|
|
1758
1848
|
}
|
|
1759
1849
|
],
|
|
1760
1850
|
"exports": [
|
|
1761
1851
|
{
|
|
1762
1852
|
"kind": "js",
|
|
1763
|
-
"name": "
|
|
1853
|
+
"name": "Accordion",
|
|
1764
1854
|
"declaration": {
|
|
1765
|
-
"name": "
|
|
1766
|
-
"module": "src/accordion
|
|
1855
|
+
"name": "Accordion",
|
|
1856
|
+
"module": "src/accordion/accordion.ts"
|
|
1767
1857
|
}
|
|
1768
1858
|
},
|
|
1769
1859
|
{
|
|
1770
1860
|
"kind": "js",
|
|
1771
|
-
"name": "
|
|
1861
|
+
"name": "foundationAccordionShadowOptions",
|
|
1772
1862
|
"declaration": {
|
|
1773
|
-
"name": "
|
|
1774
|
-
"module": "src/accordion
|
|
1863
|
+
"name": "foundationAccordionShadowOptions",
|
|
1864
|
+
"module": "src/accordion/accordion.ts"
|
|
1775
1865
|
}
|
|
1776
1866
|
},
|
|
1777
1867
|
{
|
|
1778
1868
|
"kind": "js",
|
|
1779
|
-
"name": "
|
|
1869
|
+
"name": "defaultAccordionConfig",
|
|
1780
1870
|
"declaration": {
|
|
1781
|
-
"name": "
|
|
1782
|
-
"module": "src/accordion
|
|
1871
|
+
"name": "defaultAccordionConfig",
|
|
1872
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
1873
|
}
|
|
1784
1874
|
},
|
|
1785
1875
|
{
|
|
1786
1876
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1877
|
+
"name": "foundationAccordion",
|
|
1788
1878
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/accordion
|
|
1879
|
+
"name": "foundationAccordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1791
1881
|
}
|
|
1792
1882
|
}
|
|
1793
1883
|
]
|
|
1794
1884
|
},
|
|
1795
1885
|
{
|
|
1796
1886
|
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/accordion
|
|
1887
|
+
"path": "src/accordion/index.ts",
|
|
1798
1888
|
"declarations": [],
|
|
1799
1889
|
"exports": [
|
|
1800
1890
|
{
|
|
@@ -1802,7 +1892,7 @@
|
|
|
1802
1892
|
"name": "*",
|
|
1803
1893
|
"declaration": {
|
|
1804
1894
|
"name": "*",
|
|
1805
|
-
"package": "./accordion
|
|
1895
|
+
"package": "./accordion.template"
|
|
1806
1896
|
}
|
|
1807
1897
|
},
|
|
1808
1898
|
{
|
|
@@ -1810,7 +1900,7 @@
|
|
|
1810
1900
|
"name": "*",
|
|
1811
1901
|
"declaration": {
|
|
1812
1902
|
"name": "*",
|
|
1813
|
-
"package": "./accordion
|
|
1903
|
+
"package": "./accordion.styles"
|
|
1814
1904
|
}
|
|
1815
1905
|
},
|
|
1816
1906
|
{
|
|
@@ -1818,18 +1908,18 @@
|
|
|
1818
1908
|
"name": "*",
|
|
1819
1909
|
"declaration": {
|
|
1820
1910
|
"name": "*",
|
|
1821
|
-
"package": "./accordion
|
|
1911
|
+
"package": "./accordion"
|
|
1822
1912
|
}
|
|
1823
1913
|
}
|
|
1824
1914
|
]
|
|
1825
1915
|
},
|
|
1826
1916
|
{
|
|
1827
1917
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
1918
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1829
1919
|
"declarations": [
|
|
1830
1920
|
{
|
|
1831
1921
|
"kind": "function",
|
|
1832
|
-
"name": "
|
|
1922
|
+
"name": "foundationAccordionItemStyles",
|
|
1833
1923
|
"return": {
|
|
1834
1924
|
"type": {
|
|
1835
1925
|
"text": "ElementStyles"
|
|
@@ -1854,24 +1944,24 @@
|
|
|
1854
1944
|
"exports": [
|
|
1855
1945
|
{
|
|
1856
1946
|
"kind": "js",
|
|
1857
|
-
"name": "
|
|
1947
|
+
"name": "foundationAccordionItemStyles",
|
|
1858
1948
|
"declaration": {
|
|
1859
|
-
"name": "
|
|
1860
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1949
|
+
"name": "foundationAccordionItemStyles",
|
|
1950
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1861
1951
|
}
|
|
1862
1952
|
}
|
|
1863
1953
|
]
|
|
1864
1954
|
},
|
|
1865
1955
|
{
|
|
1866
1956
|
"kind": "javascript-module",
|
|
1867
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1957
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1868
1958
|
"declarations": [
|
|
1869
1959
|
{
|
|
1870
1960
|
"kind": "function",
|
|
1871
|
-
"name": "
|
|
1961
|
+
"name": "foundationAccordionItemTemplate",
|
|
1872
1962
|
"return": {
|
|
1873
1963
|
"type": {
|
|
1874
|
-
"text": "ViewTemplate<
|
|
1964
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1875
1965
|
}
|
|
1876
1966
|
},
|
|
1877
1967
|
"parameters": [
|
|
@@ -1893,237 +1983,116 @@
|
|
|
1893
1983
|
"exports": [
|
|
1894
1984
|
{
|
|
1895
1985
|
"kind": "js",
|
|
1896
|
-
"name": "
|
|
1986
|
+
"name": "foundationAccordionItemTemplate",
|
|
1897
1987
|
"declaration": {
|
|
1898
|
-
"name": "
|
|
1899
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1988
|
+
"name": "foundationAccordionItemTemplate",
|
|
1989
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1900
1990
|
}
|
|
1901
1991
|
}
|
|
1902
1992
|
]
|
|
1903
1993
|
},
|
|
1904
1994
|
{
|
|
1905
1995
|
"kind": "javascript-module",
|
|
1906
|
-
"path": "src/accordion/accordion.ts",
|
|
1996
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1907
1997
|
"declarations": [
|
|
1908
1998
|
{
|
|
1909
1999
|
"kind": "class",
|
|
1910
2000
|
"description": "",
|
|
1911
|
-
"name": "
|
|
2001
|
+
"name": "AccordionItem",
|
|
1912
2002
|
"superclass": {
|
|
1913
|
-
"name": "
|
|
1914
|
-
"package": "@microsoft/fast-
|
|
2003
|
+
"name": "FASTAccordionItem",
|
|
2004
|
+
"package": "@microsoft/fast-components"
|
|
1915
2005
|
},
|
|
1916
|
-
"tagName": "%%prefix%%-accordion",
|
|
2006
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1917
2007
|
"customElement": true,
|
|
1918
2008
|
"attributes": [
|
|
1919
2009
|
{
|
|
1920
|
-
"name": "
|
|
2010
|
+
"name": "heading-level",
|
|
1921
2011
|
"type": {
|
|
1922
|
-
"text": "
|
|
2012
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1923
2013
|
},
|
|
1924
|
-
"
|
|
1925
|
-
"
|
|
1926
|
-
"
|
|
1927
|
-
"name": "Accordion",
|
|
1928
|
-
"module": "src/accordion/accordion.ts"
|
|
1929
|
-
}
|
|
1930
|
-
}
|
|
1931
|
-
],
|
|
1932
|
-
"members": [
|
|
1933
|
-
{
|
|
1934
|
-
"kind": "field",
|
|
1935
|
-
"name": "expandmode",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "AccordionExpandMode"
|
|
1938
|
-
},
|
|
1939
|
-
"privacy": "public",
|
|
1940
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2014
|
+
"default": "2",
|
|
2015
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2016
|
+
"fieldName": "headinglevel",
|
|
1941
2017
|
"inheritedFrom": {
|
|
1942
|
-
"name": "
|
|
1943
|
-
"module": "src/accordion/accordion.ts"
|
|
2018
|
+
"name": "AccordionItem",
|
|
2019
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1944
2020
|
}
|
|
1945
2021
|
},
|
|
1946
2022
|
{
|
|
1947
|
-
"kind": "field",
|
|
1948
|
-
"name": "activeid",
|
|
1949
2023
|
"type": {
|
|
1950
|
-
"text": "
|
|
2024
|
+
"text": "boolean"
|
|
1951
2025
|
},
|
|
1952
|
-
"
|
|
2026
|
+
"default": "false",
|
|
2027
|
+
"description": "Expands or collapses the item.",
|
|
2028
|
+
"fieldName": "expanded",
|
|
1953
2029
|
"inheritedFrom": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/accordion/accordion.ts"
|
|
2030
|
+
"name": "AccordionItem",
|
|
2031
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1956
2032
|
}
|
|
1957
2033
|
},
|
|
1958
2034
|
{
|
|
1959
|
-
"
|
|
1960
|
-
"name": "activeItemIndex",
|
|
2035
|
+
"name": "id",
|
|
1961
2036
|
"type": {
|
|
1962
|
-
"text": "
|
|
2037
|
+
"text": "string"
|
|
1963
2038
|
},
|
|
1964
|
-
"
|
|
1965
|
-
"
|
|
2039
|
+
"description": "The item ID",
|
|
2040
|
+
"fieldName": "id",
|
|
1966
2041
|
"inheritedFrom": {
|
|
1967
|
-
"name": "
|
|
1968
|
-
"module": "src/accordion/accordion.ts"
|
|
2042
|
+
"name": "AccordionItem",
|
|
2043
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1969
2044
|
}
|
|
1970
|
-
}
|
|
2045
|
+
}
|
|
2046
|
+
],
|
|
2047
|
+
"members": [
|
|
1971
2048
|
{
|
|
1972
2049
|
"kind": "field",
|
|
1973
|
-
"name": "
|
|
2050
|
+
"name": "headinglevel",
|
|
1974
2051
|
"type": {
|
|
1975
|
-
"text": "
|
|
1976
|
-
},
|
|
1977
|
-
"privacy": "private",
|
|
1978
|
-
"inheritedFrom": {
|
|
1979
|
-
"name": "Accordion",
|
|
1980
|
-
"module": "src/accordion/accordion.ts"
|
|
1981
|
-
}
|
|
1982
|
-
},
|
|
1983
|
-
{
|
|
1984
|
-
"kind": "field",
|
|
1985
|
-
"name": "change",
|
|
1986
|
-
"privacy": "private",
|
|
1987
|
-
"inheritedFrom": {
|
|
1988
|
-
"name": "Accordion",
|
|
1989
|
-
"module": "src/accordion/accordion.ts"
|
|
1990
|
-
}
|
|
1991
|
-
},
|
|
1992
|
-
{
|
|
1993
|
-
"kind": "method",
|
|
1994
|
-
"name": "findExpandedItem",
|
|
1995
|
-
"privacy": "private",
|
|
1996
|
-
"return": {
|
|
1997
|
-
"type": {
|
|
1998
|
-
"text": "AccordionItem | null"
|
|
1999
|
-
}
|
|
2052
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2000
2053
|
},
|
|
2054
|
+
"privacy": "public",
|
|
2055
|
+
"default": "2",
|
|
2056
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2001
2057
|
"inheritedFrom": {
|
|
2002
|
-
"name": "
|
|
2003
|
-
"module": "src/accordion/accordion.ts"
|
|
2058
|
+
"name": "AccordionItem",
|
|
2059
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2004
2060
|
}
|
|
2005
2061
|
},
|
|
2006
2062
|
{
|
|
2007
2063
|
"kind": "field",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2011
|
-
"name": "Accordion",
|
|
2012
|
-
"module": "src/accordion/accordion.ts"
|
|
2013
|
-
}
|
|
2014
|
-
},
|
|
2015
|
-
{
|
|
2016
|
-
"kind": "method",
|
|
2017
|
-
"name": "resetItems",
|
|
2018
|
-
"privacy": "private",
|
|
2019
|
-
"return": {
|
|
2020
|
-
"type": {
|
|
2021
|
-
"text": "void"
|
|
2022
|
-
}
|
|
2064
|
+
"name": "expanded",
|
|
2065
|
+
"type": {
|
|
2066
|
+
"text": "boolean"
|
|
2023
2067
|
},
|
|
2068
|
+
"privacy": "public",
|
|
2069
|
+
"default": "false",
|
|
2070
|
+
"description": "Expands or collapses the item.",
|
|
2024
2071
|
"inheritedFrom": {
|
|
2025
|
-
"name": "
|
|
2026
|
-
"module": "src/accordion/accordion.ts"
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "field",
|
|
2031
|
-
"name": "removeItemListeners",
|
|
2032
|
-
"privacy": "private",
|
|
2033
|
-
"inheritedFrom": {
|
|
2034
|
-
"name": "Accordion",
|
|
2035
|
-
"module": "src/accordion/accordion.ts"
|
|
2072
|
+
"name": "AccordionItem",
|
|
2073
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2036
2074
|
}
|
|
2037
2075
|
},
|
|
2038
2076
|
{
|
|
2039
2077
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2041
|
-
"
|
|
2042
|
-
|
|
2043
|
-
"name": "Accordion",
|
|
2044
|
-
"module": "src/accordion/accordion.ts"
|
|
2045
|
-
}
|
|
2046
|
-
},
|
|
2047
|
-
{
|
|
2048
|
-
"kind": "method",
|
|
2049
|
-
"name": "getItemIds",
|
|
2050
|
-
"privacy": "private",
|
|
2051
|
-
"return": {
|
|
2052
|
-
"type": {
|
|
2053
|
-
"text": "Array<string | null>"
|
|
2054
|
-
}
|
|
2055
|
-
},
|
|
2056
|
-
"inheritedFrom": {
|
|
2057
|
-
"name": "Accordion",
|
|
2058
|
-
"module": "src/accordion/accordion.ts"
|
|
2059
|
-
}
|
|
2060
|
-
},
|
|
2061
|
-
{
|
|
2062
|
-
"kind": "method",
|
|
2063
|
-
"name": "isSingleExpandMode",
|
|
2064
|
-
"privacy": "private",
|
|
2065
|
-
"return": {
|
|
2066
|
-
"type": {
|
|
2067
|
-
"text": "boolean"
|
|
2068
|
-
}
|
|
2078
|
+
"name": "id",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "string"
|
|
2069
2081
|
},
|
|
2082
|
+
"privacy": "public",
|
|
2083
|
+
"description": "The item ID",
|
|
2070
2084
|
"inheritedFrom": {
|
|
2071
|
-
"name": "
|
|
2072
|
-
"module": "src/accordion/accordion.ts"
|
|
2073
|
-
}
|
|
2074
|
-
},
|
|
2075
|
-
{
|
|
2076
|
-
"kind": "field",
|
|
2077
|
-
"name": "handleItemKeyDown",
|
|
2078
|
-
"privacy": "private",
|
|
2079
|
-
"inheritedFrom": {
|
|
2080
|
-
"name": "Accordion",
|
|
2081
|
-
"module": "src/accordion/accordion.ts"
|
|
2085
|
+
"name": "AccordionItem",
|
|
2086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2082
2087
|
}
|
|
2083
2088
|
},
|
|
2084
2089
|
{
|
|
2085
2090
|
"kind": "field",
|
|
2086
|
-
"name": "
|
|
2087
|
-
"privacy": "private",
|
|
2088
|
-
"inheritedFrom": {
|
|
2089
|
-
"name": "Accordion",
|
|
2090
|
-
"module": "src/accordion/accordion.ts"
|
|
2091
|
-
}
|
|
2092
|
-
},
|
|
2093
|
-
{
|
|
2094
|
-
"kind": "method",
|
|
2095
|
-
"name": "adjust",
|
|
2096
|
-
"privacy": "private",
|
|
2097
|
-
"return": {
|
|
2098
|
-
"type": {
|
|
2099
|
-
"text": "void"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
"parameters": [
|
|
2103
|
-
{
|
|
2104
|
-
"name": "adjustment",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "number"
|
|
2107
|
-
}
|
|
2108
|
-
}
|
|
2109
|
-
],
|
|
2110
|
-
"inheritedFrom": {
|
|
2111
|
-
"name": "Accordion",
|
|
2112
|
-
"module": "src/accordion/accordion.ts"
|
|
2113
|
-
}
|
|
2114
|
-
},
|
|
2115
|
-
{
|
|
2116
|
-
"kind": "method",
|
|
2117
|
-
"name": "focusItem",
|
|
2091
|
+
"name": "change",
|
|
2118
2092
|
"privacy": "private",
|
|
2119
|
-
"return": {
|
|
2120
|
-
"type": {
|
|
2121
|
-
"text": "void"
|
|
2122
|
-
}
|
|
2123
|
-
},
|
|
2124
2093
|
"inheritedFrom": {
|
|
2125
|
-
"name": "
|
|
2126
|
-
"module": "src/accordion/accordion.ts"
|
|
2094
|
+
"name": "AccordionItem",
|
|
2095
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2127
2096
|
}
|
|
2128
2097
|
},
|
|
2129
2098
|
{
|
|
@@ -2240,18 +2209,18 @@
|
|
|
2240
2209
|
],
|
|
2241
2210
|
"events": [
|
|
2242
2211
|
{
|
|
2243
|
-
"description": "Fires a custom 'change' event when the
|
|
2212
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2244
2213
|
"name": "change",
|
|
2245
2214
|
"inheritedFrom": {
|
|
2246
|
-
"name": "
|
|
2247
|
-
"module": "src/accordion/accordion.ts"
|
|
2215
|
+
"name": "AccordionItem",
|
|
2216
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2248
2217
|
}
|
|
2249
2218
|
}
|
|
2250
2219
|
]
|
|
2251
2220
|
},
|
|
2252
2221
|
{
|
|
2253
2222
|
"kind": "variable",
|
|
2254
|
-
"name": "
|
|
2223
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2255
2224
|
"type": {
|
|
2256
2225
|
"text": "ShadowRootInit"
|
|
2257
2226
|
},
|
|
@@ -2259,57 +2228,57 @@
|
|
|
2259
2228
|
},
|
|
2260
2229
|
{
|
|
2261
2230
|
"kind": "variable",
|
|
2262
|
-
"name": "
|
|
2231
|
+
"name": "defaultAccordionItemConfig",
|
|
2263
2232
|
"type": {
|
|
2264
2233
|
"text": "object"
|
|
2265
2234
|
},
|
|
2266
|
-
"default": "{}"
|
|
2235
|
+
"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}"
|
|
2267
2236
|
},
|
|
2268
2237
|
{
|
|
2269
2238
|
"kind": "variable",
|
|
2270
|
-
"name": "
|
|
2271
|
-
"description": "The Foundation Accordion",
|
|
2239
|
+
"name": "foundationAccordionItem",
|
|
2240
|
+
"description": "The Foundation Accordion Item",
|
|
2272
2241
|
"privacy": "public"
|
|
2273
2242
|
}
|
|
2274
2243
|
],
|
|
2275
2244
|
"exports": [
|
|
2276
2245
|
{
|
|
2277
2246
|
"kind": "js",
|
|
2278
|
-
"name": "
|
|
2247
|
+
"name": "AccordionItem",
|
|
2279
2248
|
"declaration": {
|
|
2280
|
-
"name": "
|
|
2281
|
-
"module": "src/accordion/accordion.ts"
|
|
2249
|
+
"name": "AccordionItem",
|
|
2250
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2282
2251
|
}
|
|
2283
2252
|
},
|
|
2284
2253
|
{
|
|
2285
2254
|
"kind": "js",
|
|
2286
|
-
"name": "
|
|
2255
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2287
2256
|
"declaration": {
|
|
2288
|
-
"name": "
|
|
2289
|
-
"module": "src/accordion/accordion.ts"
|
|
2257
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2258
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2290
2259
|
}
|
|
2291
2260
|
},
|
|
2292
2261
|
{
|
|
2293
2262
|
"kind": "js",
|
|
2294
|
-
"name": "
|
|
2263
|
+
"name": "defaultAccordionItemConfig",
|
|
2295
2264
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"module": "src/accordion/accordion.ts"
|
|
2265
|
+
"name": "defaultAccordionItemConfig",
|
|
2266
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2298
2267
|
}
|
|
2299
2268
|
},
|
|
2300
2269
|
{
|
|
2301
2270
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2271
|
+
"name": "foundationAccordionItem",
|
|
2303
2272
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/accordion/accordion.ts"
|
|
2273
|
+
"name": "foundationAccordionItem",
|
|
2274
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2306
2275
|
}
|
|
2307
2276
|
}
|
|
2308
2277
|
]
|
|
2309
2278
|
},
|
|
2310
2279
|
{
|
|
2311
2280
|
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/accordion/index.ts",
|
|
2281
|
+
"path": "src/accordion-item/index.ts",
|
|
2313
2282
|
"declarations": [],
|
|
2314
2283
|
"exports": [
|
|
2315
2284
|
{
|
|
@@ -2317,7 +2286,7 @@
|
|
|
2317
2286
|
"name": "*",
|
|
2318
2287
|
"declaration": {
|
|
2319
2288
|
"name": "*",
|
|
2320
|
-
"package": "./accordion.template"
|
|
2289
|
+
"package": "./accordion-item.template"
|
|
2321
2290
|
}
|
|
2322
2291
|
},
|
|
2323
2292
|
{
|
|
@@ -2325,7 +2294,7 @@
|
|
|
2325
2294
|
"name": "*",
|
|
2326
2295
|
"declaration": {
|
|
2327
2296
|
"name": "*",
|
|
2328
|
-
"package": "./accordion.styles"
|
|
2297
|
+
"package": "./accordion-item.styles"
|
|
2329
2298
|
}
|
|
2330
2299
|
},
|
|
2331
2300
|
{
|
|
@@ -2333,210 +2302,153 @@
|
|
|
2333
2302
|
"name": "*",
|
|
2334
2303
|
"declaration": {
|
|
2335
2304
|
"name": "*",
|
|
2336
|
-
"package": "./accordion"
|
|
2305
|
+
"package": "./accordion-item"
|
|
2337
2306
|
}
|
|
2338
2307
|
}
|
|
2339
2308
|
]
|
|
2340
2309
|
},
|
|
2341
2310
|
{
|
|
2342
2311
|
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/
|
|
2344
|
-
"declarations": [
|
|
2312
|
+
"path": "src/_config/index.ts",
|
|
2313
|
+
"declarations": [],
|
|
2314
|
+
"exports": [
|
|
2345
2315
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
2349
|
-
"
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
},
|
|
2353
|
-
"parameters": [
|
|
2354
|
-
{
|
|
2355
|
-
"name": "context",
|
|
2356
|
-
"type": {
|
|
2357
|
-
"text": "ElementDefinitionContext"
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "definition",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "FoundationElementDefinition"
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
]
|
|
2316
|
+
"kind": "js",
|
|
2317
|
+
"name": "*",
|
|
2318
|
+
"declaration": {
|
|
2319
|
+
"name": "*",
|
|
2320
|
+
"package": "./styles"
|
|
2321
|
+
}
|
|
2367
2322
|
},
|
|
2368
|
-
{
|
|
2369
|
-
"kind": "function",
|
|
2370
|
-
"name": "foundationActionsMenuStyles",
|
|
2371
|
-
"return": {
|
|
2372
|
-
"type": {
|
|
2373
|
-
"text": "ElementStyles"
|
|
2374
|
-
}
|
|
2375
|
-
},
|
|
2376
|
-
"parameters": [
|
|
2377
|
-
{
|
|
2378
|
-
"name": "context",
|
|
2379
|
-
"type": {
|
|
2380
|
-
"text": "ElementDefinitionContext"
|
|
2381
|
-
}
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"name": "definition",
|
|
2385
|
-
"type": {
|
|
2386
|
-
"text": "FoundationElementDefinition"
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
]
|
|
2390
|
-
}
|
|
2391
|
-
],
|
|
2392
|
-
"exports": [
|
|
2393
2323
|
{
|
|
2394
2324
|
"kind": "js",
|
|
2395
|
-
"name": "
|
|
2325
|
+
"name": "*",
|
|
2396
2326
|
"declaration": {
|
|
2397
|
-
"name": "
|
|
2398
|
-
"
|
|
2327
|
+
"name": "*",
|
|
2328
|
+
"package": "./tokens"
|
|
2399
2329
|
}
|
|
2400
2330
|
},
|
|
2401
2331
|
{
|
|
2402
2332
|
"kind": "js",
|
|
2403
|
-
"name": "
|
|
2333
|
+
"name": "*",
|
|
2404
2334
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"
|
|
2335
|
+
"name": "*",
|
|
2336
|
+
"package": "./values"
|
|
2407
2337
|
}
|
|
2408
2338
|
}
|
|
2409
2339
|
]
|
|
2410
2340
|
},
|
|
2411
2341
|
{
|
|
2412
2342
|
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/
|
|
2343
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2414
2344
|
"declarations": [
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "function",
|
|
2417
|
-
"name": "menuTemplate",
|
|
2418
|
-
"parameters": [
|
|
2419
|
-
{
|
|
2420
|
-
"name": "prefix",
|
|
2421
|
-
"type": {
|
|
2422
|
-
"text": "string"
|
|
2423
|
-
}
|
|
2424
|
-
}
|
|
2425
|
-
]
|
|
2426
|
-
},
|
|
2427
|
-
{
|
|
2428
|
-
"kind": "function",
|
|
2429
|
-
"name": "singleOptionTemplate",
|
|
2430
|
-
"parameters": [
|
|
2431
|
-
{
|
|
2432
|
-
"name": "prefix",
|
|
2433
|
-
"type": {
|
|
2434
|
-
"text": "string"
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
]
|
|
2438
|
-
},
|
|
2439
2345
|
{
|
|
2440
2346
|
"kind": "variable",
|
|
2441
|
-
"name": "
|
|
2442
|
-
"
|
|
2443
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2444
|
-
},
|
|
2445
|
-
"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`"
|
|
2347
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2348
|
+
"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`"
|
|
2446
2349
|
}
|
|
2447
2350
|
],
|
|
2448
2351
|
"exports": [
|
|
2449
2352
|
{
|
|
2450
2353
|
"kind": "js",
|
|
2451
|
-
"name": "
|
|
2354
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2452
2355
|
"declaration": {
|
|
2453
|
-
"name": "
|
|
2454
|
-
"module": "src/
|
|
2356
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2357
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2455
2358
|
}
|
|
2456
|
-
}
|
|
2359
|
+
}
|
|
2360
|
+
]
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
"kind": "javascript-module",
|
|
2364
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2365
|
+
"declarations": [
|
|
2457
2366
|
{
|
|
2458
|
-
"kind": "
|
|
2459
|
-
"name": "
|
|
2460
|
-
"
|
|
2461
|
-
"
|
|
2462
|
-
|
|
2463
|
-
}
|
|
2464
|
-
}
|
|
2367
|
+
"kind": "variable",
|
|
2368
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2369
|
+
"type": {
|
|
2370
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2371
|
+
},
|
|
2372
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2373
|
+
}
|
|
2374
|
+
],
|
|
2375
|
+
"exports": [
|
|
2465
2376
|
{
|
|
2466
2377
|
"kind": "js",
|
|
2467
|
-
"name": "
|
|
2378
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2468
2379
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "src/
|
|
2380
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2381
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2471
2382
|
}
|
|
2472
2383
|
}
|
|
2473
2384
|
]
|
|
2474
2385
|
},
|
|
2475
2386
|
{
|
|
2476
2387
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "src/
|
|
2388
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2478
2389
|
"declarations": [
|
|
2479
2390
|
{
|
|
2480
2391
|
"kind": "class",
|
|
2481
|
-
"description": "",
|
|
2482
|
-
"name": "
|
|
2392
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2393
|
+
"name": "AiCriteriaSearch",
|
|
2483
2394
|
"members": [
|
|
2484
2395
|
{
|
|
2485
2396
|
"kind": "field",
|
|
2486
|
-
"name": "
|
|
2397
|
+
"name": "providerRegistry",
|
|
2487
2398
|
"type": {
|
|
2488
|
-
"text": "
|
|
2399
|
+
"text": "AIProviderRegistry"
|
|
2489
2400
|
}
|
|
2490
2401
|
},
|
|
2491
2402
|
{
|
|
2492
2403
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2404
|
+
"name": "placeholder",
|
|
2494
2405
|
"type": {
|
|
2495
|
-
"text": "
|
|
2406
|
+
"text": "string"
|
|
2496
2407
|
},
|
|
2497
|
-
"default": "
|
|
2408
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2498
2409
|
},
|
|
2499
2410
|
{
|
|
2500
2411
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2412
|
+
"name": "disabled",
|
|
2502
2413
|
"type": {
|
|
2503
2414
|
"text": "boolean"
|
|
2504
|
-
}
|
|
2505
|
-
"default": "true"
|
|
2415
|
+
}
|
|
2506
2416
|
},
|
|
2507
2417
|
{
|
|
2508
2418
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2419
|
+
"name": "inputValue",
|
|
2510
2420
|
"type": {
|
|
2511
|
-
"text": "
|
|
2421
|
+
"text": "string"
|
|
2512
2422
|
},
|
|
2513
|
-
"default": "
|
|
2423
|
+
"default": "''"
|
|
2514
2424
|
},
|
|
2515
2425
|
{
|
|
2516
2426
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2427
|
+
"name": "isInterpreting",
|
|
2518
2428
|
"type": {
|
|
2519
|
-
"text": "
|
|
2520
|
-
}
|
|
2429
|
+
"text": "boolean"
|
|
2430
|
+
},
|
|
2431
|
+
"default": "false"
|
|
2521
2432
|
},
|
|
2522
2433
|
{
|
|
2523
2434
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2435
|
+
"name": "lastValidCriteria",
|
|
2525
2436
|
"type": {
|
|
2526
|
-
"text": "
|
|
2527
|
-
}
|
|
2437
|
+
"text": "string | null"
|
|
2438
|
+
},
|
|
2439
|
+
"default": "null"
|
|
2528
2440
|
},
|
|
2529
2441
|
{
|
|
2530
2442
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2443
|
+
"name": "activeGroups",
|
|
2532
2444
|
"type": {
|
|
2533
|
-
"text": "
|
|
2445
|
+
"text": "CriteriaGroup[]"
|
|
2534
2446
|
},
|
|
2535
|
-
"default": "
|
|
2447
|
+
"default": "[]"
|
|
2536
2448
|
},
|
|
2537
2449
|
{
|
|
2538
2450
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2451
|
+
"name": "showingChips",
|
|
2540
2452
|
"type": {
|
|
2541
2453
|
"text": "boolean"
|
|
2542
2454
|
},
|
|
@@ -2544,14 +2456,15 @@
|
|
|
2544
2456
|
},
|
|
2545
2457
|
{
|
|
2546
2458
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2459
|
+
"name": "fieldMetadata",
|
|
2548
2460
|
"type": {
|
|
2549
|
-
"text": "string"
|
|
2550
|
-
}
|
|
2461
|
+
"text": "MetadataDetail[] | string[]"
|
|
2462
|
+
},
|
|
2463
|
+
"default": "[]"
|
|
2551
2464
|
},
|
|
2552
2465
|
{
|
|
2553
2466
|
"kind": "field",
|
|
2554
|
-
"name": "
|
|
2467
|
+
"name": "isRecording",
|
|
2555
2468
|
"type": {
|
|
2556
2469
|
"text": "boolean"
|
|
2557
2470
|
},
|
|
@@ -2559,102 +2472,125 @@
|
|
|
2559
2472
|
},
|
|
2560
2473
|
{
|
|
2561
2474
|
"kind": "field",
|
|
2562
|
-
"name": "
|
|
2475
|
+
"name": "textAreaRef",
|
|
2563
2476
|
"type": {
|
|
2564
|
-
"text": "
|
|
2477
|
+
"text": "HTMLTextAreaElement"
|
|
2565
2478
|
},
|
|
2566
|
-
"
|
|
2479
|
+
"privacy": "public"
|
|
2567
2480
|
},
|
|
2568
2481
|
{
|
|
2569
2482
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2483
|
+
"name": "stopRecording",
|
|
2571
2484
|
"type": {
|
|
2572
|
-
"text": "
|
|
2573
|
-
}
|
|
2485
|
+
"text": "(() => void) | null"
|
|
2486
|
+
},
|
|
2487
|
+
"privacy": "private",
|
|
2488
|
+
"default": "null"
|
|
2574
2489
|
},
|
|
2575
2490
|
{
|
|
2576
2491
|
"kind": "field",
|
|
2577
|
-
"name": "
|
|
2492
|
+
"name": "speechApplyDebounceTimer",
|
|
2578
2493
|
"type": {
|
|
2579
|
-
"text": "
|
|
2580
|
-
}
|
|
2494
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2495
|
+
},
|
|
2496
|
+
"privacy": "private",
|
|
2497
|
+
"default": "null"
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"kind": "field",
|
|
2501
|
+
"name": "speechAvailable",
|
|
2502
|
+
"type": {
|
|
2503
|
+
"text": "boolean"
|
|
2504
|
+
},
|
|
2505
|
+
"readonly": true
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "field",
|
|
2509
|
+
"name": "criteriaChips",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "CriteriaChip[]"
|
|
2512
|
+
},
|
|
2513
|
+
"readonly": true
|
|
2581
2514
|
},
|
|
2582
2515
|
{
|
|
2583
2516
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"privacy": "
|
|
2517
|
+
"name": "getFieldLabel",
|
|
2518
|
+
"privacy": "private",
|
|
2519
|
+
"return": {
|
|
2520
|
+
"type": {
|
|
2521
|
+
"text": "string"
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2586
2524
|
"parameters": [
|
|
2587
2525
|
{
|
|
2588
|
-
"name": "
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "any"
|
|
2591
|
-
}
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"name": "newValue",
|
|
2526
|
+
"name": "fieldName",
|
|
2595
2527
|
"type": {
|
|
2596
|
-
"text": "
|
|
2528
|
+
"text": "string"
|
|
2597
2529
|
}
|
|
2598
2530
|
}
|
|
2599
2531
|
]
|
|
2600
2532
|
},
|
|
2601
2533
|
{
|
|
2602
2534
|
"kind": "method",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2535
|
+
"name": "toggleCriteriaView",
|
|
2536
|
+
"return": {
|
|
2537
|
+
"type": {
|
|
2538
|
+
"text": "void"
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2609
2541
|
},
|
|
2610
2542
|
{
|
|
2611
2543
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2544
|
+
"name": "removeChip",
|
|
2545
|
+
"return": {
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "void"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2613
2550
|
"parameters": [
|
|
2614
2551
|
{
|
|
2615
|
-
"name": "
|
|
2552
|
+
"name": "groupIndex",
|
|
2616
2553
|
"type": {
|
|
2617
|
-
"text": "
|
|
2554
|
+
"text": "number"
|
|
2555
|
+
}
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"name": "clauseIndex",
|
|
2559
|
+
"type": {
|
|
2560
|
+
"text": "number"
|
|
2618
2561
|
}
|
|
2619
2562
|
}
|
|
2620
2563
|
]
|
|
2621
2564
|
},
|
|
2622
2565
|
{
|
|
2623
|
-
"kind": "
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
"
|
|
2627
|
-
|
|
2628
|
-
|
|
2566
|
+
"kind": "method",
|
|
2567
|
+
"name": "clearChips",
|
|
2568
|
+
"return": {
|
|
2569
|
+
"type": {
|
|
2570
|
+
"text": "void"
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2629
2573
|
},
|
|
2630
2574
|
{
|
|
2631
|
-
"kind": "
|
|
2632
|
-
"name": "
|
|
2633
|
-
"readonly": true
|
|
2575
|
+
"kind": "method",
|
|
2576
|
+
"name": "handleSubmit"
|
|
2634
2577
|
},
|
|
2635
2578
|
{
|
|
2636
2579
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2638
|
-
"parameters": [
|
|
2639
|
-
{
|
|
2640
|
-
"name": "name",
|
|
2641
|
-
"type": {
|
|
2642
|
-
"text": "string | ((rowData: any) => string)"
|
|
2643
|
-
}
|
|
2644
|
-
}
|
|
2645
|
-
]
|
|
2580
|
+
"name": "handleBlur"
|
|
2646
2581
|
},
|
|
2647
2582
|
{
|
|
2648
2583
|
"kind": "method",
|
|
2649
|
-
"name": "
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2584
|
+
"name": "clear"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"kind": "method",
|
|
2588
|
+
"name": "toggleSpeechInput"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"kind": "method",
|
|
2592
|
+
"name": "clearSpeechApplyDebounce",
|
|
2593
|
+
"privacy": "private"
|
|
2658
2594
|
},
|
|
2659
2595
|
{
|
|
2660
2596
|
"kind": "field",
|
|
@@ -2768,115 +2704,154 @@
|
|
|
2768
2704
|
}
|
|
2769
2705
|
}
|
|
2770
2706
|
],
|
|
2771
|
-
"
|
|
2772
|
-
{
|
|
2773
|
-
"name": "is-vertical",
|
|
2774
|
-
"type": {
|
|
2775
|
-
"text": "boolean"
|
|
2776
|
-
},
|
|
2777
|
-
"default": "false",
|
|
2778
|
-
"fieldName": "isVertical"
|
|
2779
|
-
},
|
|
2780
|
-
{
|
|
2781
|
-
"name": "add-default-actions",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"default": "true",
|
|
2786
|
-
"fieldName": "addDefaultActions"
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "auto-close-on-action",
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "boolean"
|
|
2792
|
-
},
|
|
2793
|
-
"default": "true",
|
|
2794
|
-
"fieldName": "autoCloseOnAction"
|
|
2795
|
-
},
|
|
2707
|
+
"events": [
|
|
2796
2708
|
{
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2799
|
-
"text": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "'Actions'",
|
|
2802
|
-
"fieldName": "name"
|
|
2709
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2710
|
+
"name": "criteria-changed"
|
|
2803
2711
|
},
|
|
2804
2712
|
{
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
"fieldName": "open"
|
|
2811
|
-
},
|
|
2713
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2714
|
+
"name": "validation-errors"
|
|
2715
|
+
}
|
|
2716
|
+
],
|
|
2717
|
+
"attributes": [
|
|
2812
2718
|
{
|
|
2813
|
-
"name": "
|
|
2719
|
+
"name": "placeholder",
|
|
2814
2720
|
"type": {
|
|
2815
2721
|
"text": "string"
|
|
2816
2722
|
},
|
|
2817
|
-
"
|
|
2818
|
-
|
|
2819
|
-
{
|
|
2820
|
-
"name": "hide-disabled",
|
|
2821
|
-
"type": {
|
|
2822
|
-
"text": "boolean"
|
|
2823
|
-
},
|
|
2824
|
-
"default": "false",
|
|
2825
|
-
"fieldName": "hideDisabled"
|
|
2723
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2724
|
+
"fieldName": "placeholder"
|
|
2826
2725
|
},
|
|
2827
2726
|
{
|
|
2828
|
-
"name": "hide-menu-single-option",
|
|
2829
2727
|
"type": {
|
|
2830
2728
|
"text": "boolean"
|
|
2831
2729
|
},
|
|
2832
|
-
"
|
|
2833
|
-
"fieldName": "hideMenuSingleOption"
|
|
2730
|
+
"fieldName": "disabled"
|
|
2834
2731
|
}
|
|
2835
2732
|
],
|
|
2836
2733
|
"superclass": {
|
|
2837
2734
|
"name": "FoundationElement",
|
|
2838
2735
|
"package": "@microsoft/fast-foundation"
|
|
2839
2736
|
},
|
|
2840
|
-
"tagName": "%%prefix%%-
|
|
2737
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2841
2738
|
"customElement": true
|
|
2842
2739
|
},
|
|
2843
2740
|
{
|
|
2844
2741
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"
|
|
2847
|
-
|
|
2742
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2743
|
+
"type": {
|
|
2744
|
+
"text": "ShadowRootInit"
|
|
2745
|
+
},
|
|
2746
|
+
"default": "undefined"
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"kind": "variable",
|
|
2750
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "object"
|
|
2753
|
+
},
|
|
2754
|
+
"default": "{}"
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "variable",
|
|
2758
|
+
"name": "foundationAiCriteriaSearch"
|
|
2848
2759
|
}
|
|
2849
2760
|
],
|
|
2850
2761
|
"exports": [
|
|
2851
2762
|
{
|
|
2852
2763
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2764
|
+
"name": "AiCriteriaSearch",
|
|
2854
2765
|
"declaration": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "src/
|
|
2766
|
+
"name": "AiCriteriaSearch",
|
|
2767
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2857
2768
|
}
|
|
2858
2769
|
},
|
|
2859
2770
|
{
|
|
2860
2771
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
2772
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2862
2773
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2774
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2775
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "js",
|
|
2780
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2781
|
+
"declaration": {
|
|
2782
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2783
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "js",
|
|
2788
|
+
"name": "foundationAiCriteriaSearch",
|
|
2789
|
+
"declaration": {
|
|
2790
|
+
"name": "foundationAiCriteriaSearch",
|
|
2791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2865
2792
|
}
|
|
2866
2793
|
}
|
|
2867
2794
|
]
|
|
2868
2795
|
},
|
|
2869
2796
|
{
|
|
2870
2797
|
"kind": "javascript-module",
|
|
2871
|
-
"path": "src/
|
|
2798
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2872
2799
|
"declarations": [],
|
|
2873
2800
|
"exports": [
|
|
2801
|
+
{
|
|
2802
|
+
"kind": "js",
|
|
2803
|
+
"name": "AiCriteriaSearch",
|
|
2804
|
+
"declaration": {
|
|
2805
|
+
"name": "AiCriteriaSearch",
|
|
2806
|
+
"module": "./ai-criteria-search"
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"kind": "js",
|
|
2811
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2812
|
+
"declaration": {
|
|
2813
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2814
|
+
"module": "./ai-criteria-search"
|
|
2815
|
+
}
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
"kind": "js",
|
|
2819
|
+
"name": "foundationAiCriteriaSearch",
|
|
2820
|
+
"declaration": {
|
|
2821
|
+
"name": "foundationAiCriteriaSearch",
|
|
2822
|
+
"module": "./ai-criteria-search"
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"kind": "js",
|
|
2827
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2828
|
+
"declaration": {
|
|
2829
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2830
|
+
"module": "./ai-criteria-search"
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "js",
|
|
2835
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2836
|
+
"declaration": {
|
|
2837
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2838
|
+
"module": "./ai-criteria-search.styles"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"kind": "js",
|
|
2843
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2844
|
+
"declaration": {
|
|
2845
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2846
|
+
"module": "./ai-criteria-search.template"
|
|
2847
|
+
}
|
|
2848
|
+
},
|
|
2874
2849
|
{
|
|
2875
2850
|
"kind": "js",
|
|
2876
2851
|
"name": "*",
|
|
2877
2852
|
"declaration": {
|
|
2878
2853
|
"name": "*",
|
|
2879
|
-
"package": "./
|
|
2854
|
+
"package": "./validation/criteria-ir"
|
|
2880
2855
|
}
|
|
2881
2856
|
},
|
|
2882
2857
|
{
|
|
@@ -2884,7 +2859,7 @@
|
|
|
2884
2859
|
"name": "*",
|
|
2885
2860
|
"declaration": {
|
|
2886
2861
|
"name": "*",
|
|
2887
|
-
"package": "./
|
|
2862
|
+
"package": "./validation/operator-map"
|
|
2888
2863
|
}
|
|
2889
2864
|
},
|
|
2890
2865
|
{
|
|
@@ -2892,64 +2867,157 @@
|
|
|
2892
2867
|
"name": "*",
|
|
2893
2868
|
"declaration": {
|
|
2894
2869
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
2870
|
+
"package": "./validation/schema-validator"
|
|
2896
2871
|
}
|
|
2897
2872
|
}
|
|
2898
2873
|
]
|
|
2899
2874
|
},
|
|
2900
2875
|
{
|
|
2901
2876
|
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-criteria-search/
|
|
2877
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2903
2878
|
"declarations": [
|
|
2904
2879
|
{
|
|
2905
|
-
"kind": "
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2880
|
+
"kind": "function",
|
|
2881
|
+
"name": "formatValidationErrors",
|
|
2882
|
+
"return": {
|
|
2883
|
+
"type": {
|
|
2884
|
+
"text": "string"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
"parameters": [
|
|
2888
|
+
{
|
|
2889
|
+
"name": "errors",
|
|
2890
|
+
"type": {
|
|
2891
|
+
"text": "ValidationError[]"
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
],
|
|
2895
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "function",
|
|
2899
|
+
"name": "showCriteriaError",
|
|
2900
|
+
"return": {
|
|
2901
|
+
"type": {
|
|
2902
|
+
"text": "void"
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
"parameters": [
|
|
2906
|
+
{
|
|
2907
|
+
"name": "title",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "body",
|
|
2915
|
+
"type": {
|
|
2916
|
+
"text": "string"
|
|
2917
|
+
},
|
|
2918
|
+
"description": "Error message to display"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
"name": "tagName",
|
|
2922
|
+
"type": {
|
|
2923
|
+
"text": "string"
|
|
2924
|
+
},
|
|
2925
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2926
|
+
}
|
|
2927
|
+
],
|
|
2928
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2929
|
+
}
|
|
2930
|
+
],
|
|
2931
|
+
"exports": [
|
|
2932
|
+
{
|
|
2933
|
+
"kind": "js",
|
|
2934
|
+
"name": "formatValidationErrors",
|
|
2935
|
+
"declaration": {
|
|
2936
|
+
"name": "formatValidationErrors",
|
|
2937
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"kind": "js",
|
|
2942
|
+
"name": "showCriteriaError",
|
|
2943
|
+
"declaration": {
|
|
2944
|
+
"name": "showCriteriaError",
|
|
2945
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
]
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"kind": "javascript-module",
|
|
2952
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2953
|
+
"declarations": [
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "function",
|
|
2956
|
+
"name": "foundationAiIndicatorStyles",
|
|
2957
|
+
"return": {
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "ElementStyles"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
"parameters": [
|
|
2963
|
+
{
|
|
2964
|
+
"name": "context",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"text": "ElementDefinitionContext"
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"name": "definition",
|
|
2971
|
+
"type": {
|
|
2972
|
+
"text": "FoundationElementDefinition"
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
]
|
|
2908
2976
|
}
|
|
2909
2977
|
],
|
|
2910
2978
|
"exports": [
|
|
2911
2979
|
{
|
|
2912
2980
|
"kind": "js",
|
|
2913
|
-
"name": "
|
|
2981
|
+
"name": "foundationAiIndicatorStyles",
|
|
2914
2982
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"module": "src/ai-
|
|
2983
|
+
"name": "foundationAiIndicatorStyles",
|
|
2984
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2917
2985
|
}
|
|
2918
2986
|
}
|
|
2919
2987
|
]
|
|
2920
2988
|
},
|
|
2921
2989
|
{
|
|
2922
2990
|
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/ai-
|
|
2991
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2924
2992
|
"declarations": [
|
|
2925
2993
|
{
|
|
2926
2994
|
"kind": "variable",
|
|
2927
|
-
"name": "
|
|
2995
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2928
2996
|
"type": {
|
|
2929
|
-
"text": "ViewTemplate<
|
|
2997
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2930
2998
|
},
|
|
2931
|
-
"default": "html`\n ${(x) =>
|
|
2999
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2932
3000
|
}
|
|
2933
3001
|
],
|
|
2934
3002
|
"exports": [
|
|
2935
3003
|
{
|
|
2936
3004
|
"kind": "js",
|
|
2937
|
-
"name": "
|
|
3005
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2938
3006
|
"declaration": {
|
|
2939
|
-
"name": "
|
|
2940
|
-
"module": "src/ai-
|
|
3007
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3008
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2941
3009
|
}
|
|
2942
3010
|
}
|
|
2943
3011
|
]
|
|
2944
3012
|
},
|
|
2945
3013
|
{
|
|
2946
3014
|
"kind": "javascript-module",
|
|
2947
|
-
"path": "src/ai-
|
|
3015
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2948
3016
|
"declarations": [
|
|
2949
3017
|
{
|
|
2950
3018
|
"kind": "class",
|
|
2951
|
-
"description": "
|
|
2952
|
-
"name": "
|
|
3019
|
+
"description": "",
|
|
3020
|
+
"name": "AiIndicator",
|
|
2953
3021
|
"members": [
|
|
2954
3022
|
{
|
|
2955
3023
|
"kind": "field",
|
|
@@ -2960,54 +3028,25 @@
|
|
|
2960
3028
|
},
|
|
2961
3029
|
{
|
|
2962
3030
|
"kind": "field",
|
|
2963
|
-
"name": "
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "field",
|
|
2971
|
-
"name": "disabled",
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "boolean"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "field",
|
|
2978
|
-
"name": "inputValue",
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "string"
|
|
2981
|
-
},
|
|
2982
|
-
"default": "''"
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "field",
|
|
2986
|
-
"name": "isInterpreting",
|
|
3031
|
+
"name": "aiProvider",
|
|
2987
3032
|
"type": {
|
|
2988
|
-
"text": "
|
|
3033
|
+
"text": "AIProvider | undefined"
|
|
2989
3034
|
},
|
|
2990
|
-
"
|
|
3035
|
+
"privacy": "private",
|
|
3036
|
+
"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.",
|
|
3037
|
+
"readonly": true
|
|
2991
3038
|
},
|
|
2992
3039
|
{
|
|
2993
3040
|
"kind": "field",
|
|
2994
|
-
"name": "
|
|
3041
|
+
"name": "status",
|
|
2995
3042
|
"type": {
|
|
2996
|
-
"text": "
|
|
3043
|
+
"text": "AIStatus | null"
|
|
2997
3044
|
},
|
|
2998
3045
|
"default": "null"
|
|
2999
3046
|
},
|
|
3000
3047
|
{
|
|
3001
3048
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "CriteriaGroup[]"
|
|
3005
|
-
},
|
|
3006
|
-
"default": "[]"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "field",
|
|
3010
|
-
"name": "showingChips",
|
|
3049
|
+
"name": "open",
|
|
3011
3050
|
"type": {
|
|
3012
3051
|
"text": "boolean"
|
|
3013
3052
|
},
|
|
@@ -3015,15 +3054,15 @@
|
|
|
3015
3054
|
},
|
|
3016
3055
|
{
|
|
3017
3056
|
"kind": "field",
|
|
3018
|
-
"name": "
|
|
3057
|
+
"name": "state",
|
|
3019
3058
|
"type": {
|
|
3020
|
-
"text": "
|
|
3059
|
+
"text": "AIIndicatorState"
|
|
3021
3060
|
},
|
|
3022
|
-
"default": "
|
|
3061
|
+
"default": "'none'"
|
|
3023
3062
|
},
|
|
3024
3063
|
{
|
|
3025
3064
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3065
|
+
"name": "isInstalling",
|
|
3027
3066
|
"type": {
|
|
3028
3067
|
"text": "boolean"
|
|
3029
3068
|
},
|
|
@@ -3031,33 +3070,29 @@
|
|
|
3031
3070
|
},
|
|
3032
3071
|
{
|
|
3033
3072
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3073
|
+
"name": "pollTimer",
|
|
3035
3074
|
"type": {
|
|
3036
|
-
"text": "
|
|
3075
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3037
3076
|
},
|
|
3038
|
-
"privacy": "
|
|
3077
|
+
"privacy": "private",
|
|
3078
|
+
"default": "null"
|
|
3039
3079
|
},
|
|
3040
3080
|
{
|
|
3041
3081
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3043
|
-
"
|
|
3044
|
-
"text": "(() => void) | null"
|
|
3045
|
-
},
|
|
3046
|
-
"privacy": "private",
|
|
3047
|
-
"default": "null"
|
|
3082
|
+
"name": "clickOutside",
|
|
3083
|
+
"privacy": "private"
|
|
3048
3084
|
},
|
|
3049
3085
|
{
|
|
3050
3086
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3087
|
+
"name": "chromeStatusLabel",
|
|
3052
3088
|
"type": {
|
|
3053
|
-
"text": "
|
|
3089
|
+
"text": "string | null"
|
|
3054
3090
|
},
|
|
3055
|
-
"
|
|
3056
|
-
"default": "null"
|
|
3091
|
+
"readonly": true
|
|
3057
3092
|
},
|
|
3058
3093
|
{
|
|
3059
3094
|
"kind": "field",
|
|
3060
|
-
"name": "
|
|
3095
|
+
"name": "canInstall",
|
|
3061
3096
|
"type": {
|
|
3062
3097
|
"text": "boolean"
|
|
3063
3098
|
},
|
|
@@ -3065,65 +3100,69 @@
|
|
|
3065
3100
|
},
|
|
3066
3101
|
{
|
|
3067
3102
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3103
|
+
"name": "isDownloading",
|
|
3069
3104
|
"type": {
|
|
3070
|
-
"text": "
|
|
3105
|
+
"text": "boolean"
|
|
3071
3106
|
},
|
|
3072
3107
|
"readonly": true
|
|
3073
3108
|
},
|
|
3074
3109
|
{
|
|
3075
3110
|
"kind": "method",
|
|
3076
|
-
"name": "
|
|
3077
|
-
"privacy": "private",
|
|
3111
|
+
"name": "openChanged",
|
|
3078
3112
|
"return": {
|
|
3079
3113
|
"type": {
|
|
3080
|
-
"text": "
|
|
3114
|
+
"text": "void"
|
|
3081
3115
|
}
|
|
3082
|
-
}
|
|
3116
|
+
}
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
"kind": "method",
|
|
3120
|
+
"name": "handleClickOutside",
|
|
3121
|
+
"privacy": "private",
|
|
3083
3122
|
"parameters": [
|
|
3084
3123
|
{
|
|
3085
|
-
"name": "
|
|
3124
|
+
"name": "event",
|
|
3086
3125
|
"type": {
|
|
3087
|
-
"text": "
|
|
3126
|
+
"text": "MouseEvent"
|
|
3088
3127
|
}
|
|
3089
3128
|
}
|
|
3090
3129
|
]
|
|
3091
3130
|
},
|
|
3092
3131
|
{
|
|
3093
3132
|
"kind": "method",
|
|
3094
|
-
"name": "
|
|
3133
|
+
"name": "toggleDropdown"
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"kind": "method",
|
|
3137
|
+
"name": "refreshStatus",
|
|
3095
3138
|
"return": {
|
|
3096
3139
|
"type": {
|
|
3097
|
-
"text": "void"
|
|
3140
|
+
"text": "Promise<void>"
|
|
3098
3141
|
}
|
|
3099
3142
|
}
|
|
3100
3143
|
},
|
|
3101
3144
|
{
|
|
3102
3145
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3146
|
+
"name": "deriveState",
|
|
3147
|
+
"privacy": "private",
|
|
3104
3148
|
"return": {
|
|
3105
3149
|
"type": {
|
|
3106
|
-
"text": "
|
|
3150
|
+
"text": "AIIndicatorState"
|
|
3107
3151
|
}
|
|
3108
3152
|
},
|
|
3109
3153
|
"parameters": [
|
|
3110
3154
|
{
|
|
3111
|
-
"name": "
|
|
3112
|
-
"type": {
|
|
3113
|
-
"text": "number"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
"name": "clauseIndex",
|
|
3155
|
+
"name": "s",
|
|
3118
3156
|
"type": {
|
|
3119
|
-
"text": "
|
|
3157
|
+
"text": "AIStatus | null"
|
|
3120
3158
|
}
|
|
3121
3159
|
}
|
|
3122
3160
|
]
|
|
3123
3161
|
},
|
|
3124
3162
|
{
|
|
3125
3163
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3164
|
+
"name": "maybeStartPolling",
|
|
3165
|
+
"privacy": "private",
|
|
3127
3166
|
"return": {
|
|
3128
3167
|
"type": {
|
|
3129
3168
|
"text": "void"
|
|
@@ -3132,24 +3171,32 @@
|
|
|
3132
3171
|
},
|
|
3133
3172
|
{
|
|
3134
3173
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
"kind": "method",
|
|
3143
|
-
"name": "clear"
|
|
3174
|
+
"name": "startPolling",
|
|
3175
|
+
"privacy": "private",
|
|
3176
|
+
"return": {
|
|
3177
|
+
"type": {
|
|
3178
|
+
"text": "void"
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3144
3181
|
},
|
|
3145
3182
|
{
|
|
3146
3183
|
"kind": "method",
|
|
3147
|
-
"name": "
|
|
3184
|
+
"name": "stopPolling",
|
|
3185
|
+
"privacy": "private",
|
|
3186
|
+
"return": {
|
|
3187
|
+
"type": {
|
|
3188
|
+
"text": "void"
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3148
3191
|
},
|
|
3149
3192
|
{
|
|
3150
3193
|
"kind": "method",
|
|
3151
|
-
"name": "
|
|
3152
|
-
"
|
|
3194
|
+
"name": "onInstall",
|
|
3195
|
+
"return": {
|
|
3196
|
+
"type": {
|
|
3197
|
+
"text": "Promise<void>"
|
|
3198
|
+
}
|
|
3199
|
+
}
|
|
3153
3200
|
},
|
|
3154
3201
|
{
|
|
3155
3202
|
"kind": "field",
|
|
@@ -3263,499 +3310,409 @@
|
|
|
3263
3310
|
}
|
|
3264
3311
|
}
|
|
3265
3312
|
],
|
|
3266
|
-
"events": [
|
|
3267
|
-
{
|
|
3268
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3269
|
-
"name": "criteria-changed"
|
|
3270
|
-
},
|
|
3271
|
-
{
|
|
3272
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
-
"name": "validation-errors"
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"attributes": [
|
|
3277
|
-
{
|
|
3278
|
-
"name": "placeholder",
|
|
3279
|
-
"type": {
|
|
3280
|
-
"text": "string"
|
|
3281
|
-
},
|
|
3282
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
-
"fieldName": "placeholder"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"type": {
|
|
3287
|
-
"text": "boolean"
|
|
3288
|
-
},
|
|
3289
|
-
"fieldName": "disabled"
|
|
3290
|
-
}
|
|
3291
|
-
],
|
|
3292
3313
|
"superclass": {
|
|
3293
3314
|
"name": "FoundationElement",
|
|
3294
3315
|
"package": "@microsoft/fast-foundation"
|
|
3295
|
-
},
|
|
3296
|
-
"tagName": "%%prefix%%-ai-
|
|
3297
|
-
"customElement": true
|
|
3298
|
-
},
|
|
3299
|
-
{
|
|
3300
|
-
"kind": "variable",
|
|
3301
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3302
|
-
"type": {
|
|
3303
|
-
"text": "ShadowRootInit"
|
|
3304
|
-
},
|
|
3305
|
-
"default": "undefined"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "variable",
|
|
3309
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
-
"type": {
|
|
3311
|
-
"text": "object"
|
|
3312
|
-
},
|
|
3313
|
-
"default": "{}"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "variable",
|
|
3317
|
-
"name": "foundationAiCriteriaSearch"
|
|
3318
|
-
}
|
|
3319
|
-
],
|
|
3320
|
-
"exports": [
|
|
3321
|
-
{
|
|
3322
|
-
"kind": "js",
|
|
3323
|
-
"name": "AiCriteriaSearch",
|
|
3324
|
-
"declaration": {
|
|
3325
|
-
"name": "AiCriteriaSearch",
|
|
3326
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
{
|
|
3330
|
-
"kind": "js",
|
|
3331
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
-
"declaration": {
|
|
3333
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
-
}
|
|
3316
|
+
},
|
|
3317
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3318
|
+
"customElement": true
|
|
3336
3319
|
},
|
|
3320
|
+
{
|
|
3321
|
+
"kind": "variable",
|
|
3322
|
+
"name": "foundationAiIndicator"
|
|
3323
|
+
}
|
|
3324
|
+
],
|
|
3325
|
+
"exports": [
|
|
3337
3326
|
{
|
|
3338
3327
|
"kind": "js",
|
|
3339
|
-
"name": "
|
|
3328
|
+
"name": "AiIndicator",
|
|
3340
3329
|
"declaration": {
|
|
3341
|
-
"name": "
|
|
3342
|
-
"module": "src/ai-
|
|
3330
|
+
"name": "AiIndicator",
|
|
3331
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3343
3332
|
}
|
|
3344
3333
|
},
|
|
3345
3334
|
{
|
|
3346
3335
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3336
|
+
"name": "foundationAiIndicator",
|
|
3348
3337
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/ai-
|
|
3338
|
+
"name": "foundationAiIndicator",
|
|
3339
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3351
3340
|
}
|
|
3352
3341
|
}
|
|
3353
3342
|
]
|
|
3354
3343
|
},
|
|
3355
3344
|
{
|
|
3356
3345
|
"kind": "javascript-module",
|
|
3357
|
-
"path": "src/ai-
|
|
3346
|
+
"path": "src/ai-indicator/index.ts",
|
|
3358
3347
|
"declarations": [],
|
|
3359
3348
|
"exports": [
|
|
3360
3349
|
{
|
|
3361
3350
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3363
|
-
"declaration": {
|
|
3364
|
-
"name": "AiCriteriaSearch",
|
|
3365
|
-
"module": "./ai-criteria-search"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "js",
|
|
3370
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "foundationAiCriteriaSearch",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "foundationAiCriteriaSearch",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3351
|
+
"name": "AiIndicator",
|
|
3387
3352
|
"declaration": {
|
|
3388
|
-
"name": "
|
|
3389
|
-
"module": "./ai-
|
|
3353
|
+
"name": "AiIndicator",
|
|
3354
|
+
"module": "./ai-indicator"
|
|
3390
3355
|
}
|
|
3391
3356
|
},
|
|
3392
3357
|
{
|
|
3393
3358
|
"kind": "js",
|
|
3394
|
-
"name": "
|
|
3359
|
+
"name": "foundationAiIndicator",
|
|
3395
3360
|
"declaration": {
|
|
3396
|
-
"name": "
|
|
3397
|
-
"module": "./ai-
|
|
3361
|
+
"name": "foundationAiIndicator",
|
|
3362
|
+
"module": "./ai-indicator"
|
|
3398
3363
|
}
|
|
3399
3364
|
},
|
|
3400
3365
|
{
|
|
3401
3366
|
"kind": "js",
|
|
3402
|
-
"name": "
|
|
3367
|
+
"name": "type",
|
|
3403
3368
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "./ai-
|
|
3369
|
+
"name": "type",
|
|
3370
|
+
"module": "./ai-indicator"
|
|
3406
3371
|
}
|
|
3407
3372
|
},
|
|
3408
3373
|
{
|
|
3409
3374
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3375
|
+
"name": "AIIndicatorState",
|
|
3411
3376
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"
|
|
3377
|
+
"name": "AIIndicatorState",
|
|
3378
|
+
"module": "./ai-indicator"
|
|
3414
3379
|
}
|
|
3415
3380
|
},
|
|
3416
3381
|
{
|
|
3417
3382
|
"kind": "js",
|
|
3418
|
-
"name": "
|
|
3383
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3419
3384
|
"declaration": {
|
|
3420
|
-
"name": "
|
|
3421
|
-
"
|
|
3385
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3386
|
+
"module": "./ai-indicator.template"
|
|
3422
3387
|
}
|
|
3423
3388
|
},
|
|
3424
3389
|
{
|
|
3425
3390
|
"kind": "js",
|
|
3426
|
-
"name": "
|
|
3391
|
+
"name": "foundationAiIndicatorStyles",
|
|
3427
3392
|
"declaration": {
|
|
3428
|
-
"name": "
|
|
3429
|
-
"
|
|
3393
|
+
"name": "foundationAiIndicatorStyles",
|
|
3394
|
+
"module": "./ai-indicator.styles"
|
|
3430
3395
|
}
|
|
3431
3396
|
}
|
|
3432
3397
|
]
|
|
3433
3398
|
},
|
|
3434
3399
|
{
|
|
3435
3400
|
"kind": "javascript-module",
|
|
3436
|
-
"path": "src/
|
|
3401
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
3437
3402
|
"declarations": [
|
|
3438
3403
|
{
|
|
3439
3404
|
"kind": "function",
|
|
3440
|
-
"name": "
|
|
3405
|
+
"name": "actionsMenuBaseStyles",
|
|
3441
3406
|
"return": {
|
|
3442
3407
|
"type": {
|
|
3443
|
-
"text": "
|
|
3408
|
+
"text": "ElementStyles"
|
|
3444
3409
|
}
|
|
3445
3410
|
},
|
|
3446
3411
|
"parameters": [
|
|
3447
3412
|
{
|
|
3448
|
-
"name": "
|
|
3413
|
+
"name": "context",
|
|
3449
3414
|
"type": {
|
|
3450
|
-
"text": "
|
|
3415
|
+
"text": "ElementDefinitionContext"
|
|
3416
|
+
}
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"name": "definition",
|
|
3420
|
+
"type": {
|
|
3421
|
+
"text": "FoundationElementDefinition"
|
|
3451
3422
|
}
|
|
3452
3423
|
}
|
|
3453
|
-
]
|
|
3454
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3424
|
+
]
|
|
3455
3425
|
},
|
|
3456
3426
|
{
|
|
3457
3427
|
"kind": "function",
|
|
3458
|
-
"name": "
|
|
3428
|
+
"name": "foundationActionsMenuStyles",
|
|
3459
3429
|
"return": {
|
|
3460
3430
|
"type": {
|
|
3461
|
-
"text": "
|
|
3431
|
+
"text": "ElementStyles"
|
|
3462
3432
|
}
|
|
3463
3433
|
},
|
|
3464
3434
|
"parameters": [
|
|
3465
3435
|
{
|
|
3466
|
-
"name": "
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "string"
|
|
3469
|
-
},
|
|
3470
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"name": "body",
|
|
3436
|
+
"name": "context",
|
|
3474
3437
|
"type": {
|
|
3475
|
-
"text": "
|
|
3476
|
-
}
|
|
3477
|
-
"description": "Error message to display"
|
|
3438
|
+
"text": "ElementDefinitionContext"
|
|
3439
|
+
}
|
|
3478
3440
|
},
|
|
3479
3441
|
{
|
|
3480
|
-
"name": "
|
|
3442
|
+
"name": "definition",
|
|
3481
3443
|
"type": {
|
|
3482
|
-
"text": "
|
|
3483
|
-
}
|
|
3484
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3444
|
+
"text": "FoundationElementDefinition"
|
|
3445
|
+
}
|
|
3485
3446
|
}
|
|
3486
|
-
]
|
|
3487
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3447
|
+
]
|
|
3488
3448
|
}
|
|
3489
3449
|
],
|
|
3490
3450
|
"exports": [
|
|
3491
3451
|
{
|
|
3492
3452
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3453
|
+
"name": "actionsMenuBaseStyles",
|
|
3494
3454
|
"declaration": {
|
|
3495
|
-
"name": "
|
|
3496
|
-
"module": "src/
|
|
3455
|
+
"name": "actionsMenuBaseStyles",
|
|
3456
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3497
3457
|
}
|
|
3498
3458
|
},
|
|
3499
3459
|
{
|
|
3500
3460
|
"kind": "js",
|
|
3501
|
-
"name": "
|
|
3461
|
+
"name": "foundationActionsMenuStyles",
|
|
3502
3462
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"module": "src/
|
|
3463
|
+
"name": "foundationActionsMenuStyles",
|
|
3464
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3505
3465
|
}
|
|
3506
3466
|
}
|
|
3507
3467
|
]
|
|
3508
3468
|
},
|
|
3509
3469
|
{
|
|
3510
3470
|
"kind": "javascript-module",
|
|
3511
|
-
"path": "src/
|
|
3471
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
3512
3472
|
"declarations": [
|
|
3513
3473
|
{
|
|
3514
3474
|
"kind": "function",
|
|
3515
|
-
"name": "
|
|
3516
|
-
"return": {
|
|
3517
|
-
"type": {
|
|
3518
|
-
"text": "ElementStyles"
|
|
3519
|
-
}
|
|
3520
|
-
},
|
|
3475
|
+
"name": "menuTemplate",
|
|
3521
3476
|
"parameters": [
|
|
3522
3477
|
{
|
|
3523
|
-
"name": "
|
|
3478
|
+
"name": "prefix",
|
|
3524
3479
|
"type": {
|
|
3525
|
-
"text": "
|
|
3480
|
+
"text": "string"
|
|
3526
3481
|
}
|
|
3527
|
-
}
|
|
3482
|
+
}
|
|
3483
|
+
]
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
"kind": "function",
|
|
3487
|
+
"name": "singleOptionTemplate",
|
|
3488
|
+
"parameters": [
|
|
3528
3489
|
{
|
|
3529
|
-
"name": "
|
|
3490
|
+
"name": "prefix",
|
|
3530
3491
|
"type": {
|
|
3531
|
-
"text": "
|
|
3492
|
+
"text": "string"
|
|
3532
3493
|
}
|
|
3533
3494
|
}
|
|
3534
3495
|
]
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"kind": "variable",
|
|
3499
|
+
"name": "foundationActionsMenuTemplate",
|
|
3500
|
+
"type": {
|
|
3501
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3502
|
+
},
|
|
3503
|
+
"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`"
|
|
3535
3504
|
}
|
|
3536
3505
|
],
|
|
3537
3506
|
"exports": [
|
|
3538
3507
|
{
|
|
3539
3508
|
"kind": "js",
|
|
3540
|
-
"name": "
|
|
3509
|
+
"name": "menuTemplate",
|
|
3541
3510
|
"declaration": {
|
|
3542
|
-
"name": "
|
|
3543
|
-
"module": "src/
|
|
3511
|
+
"name": "menuTemplate",
|
|
3512
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3544
3513
|
}
|
|
3545
|
-
}
|
|
3546
|
-
]
|
|
3547
|
-
},
|
|
3548
|
-
{
|
|
3549
|
-
"kind": "javascript-module",
|
|
3550
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3551
|
-
"declarations": [
|
|
3514
|
+
},
|
|
3552
3515
|
{
|
|
3553
|
-
"kind": "
|
|
3554
|
-
"name": "
|
|
3555
|
-
"
|
|
3556
|
-
"
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"exports": [
|
|
3516
|
+
"kind": "js",
|
|
3517
|
+
"name": "singleOptionTemplate",
|
|
3518
|
+
"declaration": {
|
|
3519
|
+
"name": "singleOptionTemplate",
|
|
3520
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3562
3523
|
{
|
|
3563
3524
|
"kind": "js",
|
|
3564
|
-
"name": "
|
|
3525
|
+
"name": "foundationActionsMenuTemplate",
|
|
3565
3526
|
"declaration": {
|
|
3566
|
-
"name": "
|
|
3567
|
-
"module": "src/
|
|
3527
|
+
"name": "foundationActionsMenuTemplate",
|
|
3528
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3568
3529
|
}
|
|
3569
3530
|
}
|
|
3570
3531
|
]
|
|
3571
3532
|
},
|
|
3572
3533
|
{
|
|
3573
3534
|
"kind": "javascript-module",
|
|
3574
|
-
"path": "src/
|
|
3535
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
3575
3536
|
"declarations": [
|
|
3576
3537
|
{
|
|
3577
3538
|
"kind": "class",
|
|
3578
3539
|
"description": "",
|
|
3579
|
-
"name": "
|
|
3540
|
+
"name": "ActionsMenu",
|
|
3580
3541
|
"members": [
|
|
3581
3542
|
{
|
|
3582
3543
|
"kind": "field",
|
|
3583
|
-
"name": "
|
|
3544
|
+
"name": "actions",
|
|
3584
3545
|
"type": {
|
|
3585
|
-
"text": "
|
|
3546
|
+
"text": "ActionMenuItem[]"
|
|
3586
3547
|
}
|
|
3587
3548
|
},
|
|
3588
3549
|
{
|
|
3589
3550
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3551
|
+
"name": "isVertical",
|
|
3591
3552
|
"type": {
|
|
3592
|
-
"text": "
|
|
3553
|
+
"text": "boolean"
|
|
3593
3554
|
},
|
|
3594
|
-
"
|
|
3595
|
-
"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.",
|
|
3596
|
-
"readonly": true
|
|
3555
|
+
"default": "false"
|
|
3597
3556
|
},
|
|
3598
3557
|
{
|
|
3599
3558
|
"kind": "field",
|
|
3600
|
-
"name": "
|
|
3559
|
+
"name": "addDefaultActions",
|
|
3601
3560
|
"type": {
|
|
3602
|
-
"text": "
|
|
3561
|
+
"text": "boolean"
|
|
3603
3562
|
},
|
|
3604
|
-
"default": "
|
|
3563
|
+
"default": "true"
|
|
3605
3564
|
},
|
|
3606
3565
|
{
|
|
3607
3566
|
"kind": "field",
|
|
3608
|
-
"name": "
|
|
3567
|
+
"name": "autoCloseOnAction",
|
|
3609
3568
|
"type": {
|
|
3610
3569
|
"text": "boolean"
|
|
3611
3570
|
},
|
|
3612
|
-
"default": "
|
|
3571
|
+
"default": "true"
|
|
3613
3572
|
},
|
|
3614
3573
|
{
|
|
3615
3574
|
"kind": "field",
|
|
3616
|
-
"name": "
|
|
3575
|
+
"name": "classNames",
|
|
3617
3576
|
"type": {
|
|
3618
|
-
"text": "
|
|
3619
|
-
}
|
|
3620
|
-
"default": "'none'"
|
|
3577
|
+
"text": "string"
|
|
3578
|
+
}
|
|
3621
3579
|
},
|
|
3622
3580
|
{
|
|
3623
3581
|
"kind": "field",
|
|
3624
|
-
"name": "
|
|
3582
|
+
"name": "definition",
|
|
3625
3583
|
"type": {
|
|
3626
|
-
"text": "
|
|
3584
|
+
"text": "any"
|
|
3585
|
+
}
|
|
3586
|
+
},
|
|
3587
|
+
{
|
|
3588
|
+
"kind": "field",
|
|
3589
|
+
"name": "name",
|
|
3590
|
+
"type": {
|
|
3591
|
+
"text": "string"
|
|
3627
3592
|
},
|
|
3628
|
-
"default": "
|
|
3593
|
+
"default": "'Actions'"
|
|
3629
3594
|
},
|
|
3630
3595
|
{
|
|
3631
3596
|
"kind": "field",
|
|
3632
|
-
"name": "
|
|
3597
|
+
"name": "open",
|
|
3633
3598
|
"type": {
|
|
3634
|
-
"text": "
|
|
3599
|
+
"text": "boolean"
|
|
3635
3600
|
},
|
|
3636
|
-
"
|
|
3637
|
-
"default": "null"
|
|
3601
|
+
"default": "false"
|
|
3638
3602
|
},
|
|
3639
3603
|
{
|
|
3640
3604
|
"kind": "field",
|
|
3641
|
-
"name": "
|
|
3642
|
-
"
|
|
3605
|
+
"name": "buttonAppearance",
|
|
3606
|
+
"type": {
|
|
3607
|
+
"text": "string"
|
|
3608
|
+
}
|
|
3643
3609
|
},
|
|
3644
3610
|
{
|
|
3645
3611
|
"kind": "field",
|
|
3646
|
-
"name": "
|
|
3612
|
+
"name": "hideDisabled",
|
|
3647
3613
|
"type": {
|
|
3648
|
-
"text": "
|
|
3614
|
+
"text": "boolean"
|
|
3649
3615
|
},
|
|
3650
|
-
"
|
|
3616
|
+
"default": "false"
|
|
3651
3617
|
},
|
|
3652
3618
|
{
|
|
3653
3619
|
"kind": "field",
|
|
3654
|
-
"name": "
|
|
3620
|
+
"name": "hideMenuSingleOption",
|
|
3655
3621
|
"type": {
|
|
3656
3622
|
"text": "boolean"
|
|
3657
3623
|
},
|
|
3658
|
-
"
|
|
3624
|
+
"default": "false"
|
|
3659
3625
|
},
|
|
3660
3626
|
{
|
|
3661
3627
|
"kind": "field",
|
|
3662
|
-
"name": "
|
|
3628
|
+
"name": "singleOption",
|
|
3663
3629
|
"type": {
|
|
3664
|
-
"text": "
|
|
3665
|
-
}
|
|
3666
|
-
"readonly": true
|
|
3630
|
+
"text": "ActionMenuItem"
|
|
3631
|
+
}
|
|
3667
3632
|
},
|
|
3668
3633
|
{
|
|
3669
|
-
"kind": "
|
|
3670
|
-
"name": "
|
|
3671
|
-
"
|
|
3672
|
-
"
|
|
3673
|
-
"text": "void"
|
|
3674
|
-
}
|
|
3634
|
+
"kind": "field",
|
|
3635
|
+
"name": "actionsMenu",
|
|
3636
|
+
"type": {
|
|
3637
|
+
"text": "HTMLElement"
|
|
3675
3638
|
}
|
|
3676
3639
|
},
|
|
3677
3640
|
{
|
|
3678
3641
|
"kind": "method",
|
|
3679
|
-
"name": "
|
|
3680
|
-
"privacy": "
|
|
3642
|
+
"name": "definitionChanged",
|
|
3643
|
+
"privacy": "protected",
|
|
3681
3644
|
"parameters": [
|
|
3682
3645
|
{
|
|
3683
|
-
"name": "
|
|
3646
|
+
"name": "oldValue",
|
|
3684
3647
|
"type": {
|
|
3685
|
-
"text": "
|
|
3648
|
+
"text": "any"
|
|
3649
|
+
}
|
|
3650
|
+
},
|
|
3651
|
+
{
|
|
3652
|
+
"name": "newValue",
|
|
3653
|
+
"type": {
|
|
3654
|
+
"text": "any"
|
|
3686
3655
|
}
|
|
3687
3656
|
}
|
|
3688
3657
|
]
|
|
3689
3658
|
},
|
|
3690
3659
|
{
|
|
3691
3660
|
"kind": "method",
|
|
3692
|
-
"name": "
|
|
3661
|
+
"name": "openChanged",
|
|
3662
|
+
"privacy": "protected"
|
|
3693
3663
|
},
|
|
3694
3664
|
{
|
|
3695
3665
|
"kind": "method",
|
|
3696
|
-
"name": "
|
|
3697
|
-
"return": {
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "Promise<void>"
|
|
3700
|
-
}
|
|
3701
|
-
}
|
|
3666
|
+
"name": "toggleActionsMenuVisibility"
|
|
3702
3667
|
},
|
|
3703
3668
|
{
|
|
3704
3669
|
"kind": "method",
|
|
3705
|
-
"name": "
|
|
3706
|
-
"privacy": "private",
|
|
3707
|
-
"return": {
|
|
3708
|
-
"type": {
|
|
3709
|
-
"text": "AIIndicatorState"
|
|
3710
|
-
}
|
|
3711
|
-
},
|
|
3670
|
+
"name": "onActionMenuItemClick",
|
|
3712
3671
|
"parameters": [
|
|
3713
3672
|
{
|
|
3714
|
-
"name": "
|
|
3673
|
+
"name": "callback",
|
|
3715
3674
|
"type": {
|
|
3716
|
-
"text": "
|
|
3675
|
+
"text": "(rowData) => void | any"
|
|
3717
3676
|
}
|
|
3718
3677
|
}
|
|
3719
3678
|
]
|
|
3720
3679
|
},
|
|
3721
3680
|
{
|
|
3722
|
-
"kind": "
|
|
3723
|
-
"name": "
|
|
3724
|
-
"
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
}
|
|
3729
|
-
}
|
|
3681
|
+
"kind": "field",
|
|
3682
|
+
"name": "allActions",
|
|
3683
|
+
"type": {
|
|
3684
|
+
"text": "ActionMenuItem[]"
|
|
3685
|
+
},
|
|
3686
|
+
"readonly": true
|
|
3730
3687
|
},
|
|
3731
3688
|
{
|
|
3732
|
-
"kind": "
|
|
3733
|
-
"name": "
|
|
3734
|
-
"
|
|
3735
|
-
"return": {
|
|
3736
|
-
"type": {
|
|
3737
|
-
"text": "void"
|
|
3738
|
-
}
|
|
3739
|
-
}
|
|
3689
|
+
"kind": "field",
|
|
3690
|
+
"name": "rowData",
|
|
3691
|
+
"readonly": true
|
|
3740
3692
|
},
|
|
3741
3693
|
{
|
|
3742
3694
|
"kind": "method",
|
|
3743
|
-
"name": "
|
|
3744
|
-
"
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
"
|
|
3695
|
+
"name": "getLabel",
|
|
3696
|
+
"parameters": [
|
|
3697
|
+
{
|
|
3698
|
+
"name": "name",
|
|
3699
|
+
"type": {
|
|
3700
|
+
"text": "string | ((rowData: any) => string)"
|
|
3701
|
+
}
|
|
3748
3702
|
}
|
|
3749
|
-
|
|
3703
|
+
]
|
|
3750
3704
|
},
|
|
3751
3705
|
{
|
|
3752
3706
|
"kind": "method",
|
|
3753
|
-
"name": "
|
|
3754
|
-
"
|
|
3755
|
-
|
|
3756
|
-
"
|
|
3707
|
+
"name": "getTemplate",
|
|
3708
|
+
"parameters": [
|
|
3709
|
+
{
|
|
3710
|
+
"name": "prefix",
|
|
3711
|
+
"type": {
|
|
3712
|
+
"text": "string"
|
|
3713
|
+
}
|
|
3757
3714
|
}
|
|
3758
|
-
|
|
3715
|
+
]
|
|
3759
3716
|
},
|
|
3760
3717
|
{
|
|
3761
3718
|
"kind": "field",
|
|
@@ -3869,88 +3826,131 @@
|
|
|
3869
3826
|
}
|
|
3870
3827
|
}
|
|
3871
3828
|
],
|
|
3829
|
+
"attributes": [
|
|
3830
|
+
{
|
|
3831
|
+
"name": "is-vertical",
|
|
3832
|
+
"type": {
|
|
3833
|
+
"text": "boolean"
|
|
3834
|
+
},
|
|
3835
|
+
"default": "false",
|
|
3836
|
+
"fieldName": "isVertical"
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"name": "add-default-actions",
|
|
3840
|
+
"type": {
|
|
3841
|
+
"text": "boolean"
|
|
3842
|
+
},
|
|
3843
|
+
"default": "true",
|
|
3844
|
+
"fieldName": "addDefaultActions"
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"name": "auto-close-on-action",
|
|
3848
|
+
"type": {
|
|
3849
|
+
"text": "boolean"
|
|
3850
|
+
},
|
|
3851
|
+
"default": "true",
|
|
3852
|
+
"fieldName": "autoCloseOnAction"
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"name": "name",
|
|
3856
|
+
"type": {
|
|
3857
|
+
"text": "string"
|
|
3858
|
+
},
|
|
3859
|
+
"default": "'Actions'",
|
|
3860
|
+
"fieldName": "name"
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"name": "open",
|
|
3864
|
+
"type": {
|
|
3865
|
+
"text": "boolean"
|
|
3866
|
+
},
|
|
3867
|
+
"default": "false",
|
|
3868
|
+
"fieldName": "open"
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"name": "buttonAppearance",
|
|
3872
|
+
"type": {
|
|
3873
|
+
"text": "string"
|
|
3874
|
+
},
|
|
3875
|
+
"fieldName": "buttonAppearance"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"name": "hide-disabled",
|
|
3879
|
+
"type": {
|
|
3880
|
+
"text": "boolean"
|
|
3881
|
+
},
|
|
3882
|
+
"default": "false",
|
|
3883
|
+
"fieldName": "hideDisabled"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"name": "hide-menu-single-option",
|
|
3887
|
+
"type": {
|
|
3888
|
+
"text": "boolean"
|
|
3889
|
+
},
|
|
3890
|
+
"default": "false",
|
|
3891
|
+
"fieldName": "hideMenuSingleOption"
|
|
3892
|
+
}
|
|
3893
|
+
],
|
|
3872
3894
|
"superclass": {
|
|
3873
3895
|
"name": "FoundationElement",
|
|
3874
3896
|
"package": "@microsoft/fast-foundation"
|
|
3875
3897
|
},
|
|
3876
|
-
"tagName": "%%prefix%%-
|
|
3898
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3877
3899
|
"customElement": true
|
|
3878
3900
|
},
|
|
3879
3901
|
{
|
|
3880
3902
|
"kind": "variable",
|
|
3881
|
-
"name": "
|
|
3903
|
+
"name": "foundationActionsMenu",
|
|
3904
|
+
"description": "The Foundation Actions Menu",
|
|
3905
|
+
"privacy": "public"
|
|
3882
3906
|
}
|
|
3883
3907
|
],
|
|
3884
3908
|
"exports": [
|
|
3885
3909
|
{
|
|
3886
3910
|
"kind": "js",
|
|
3887
|
-
"name": "
|
|
3911
|
+
"name": "ActionsMenu",
|
|
3888
3912
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/
|
|
3913
|
+
"name": "ActionsMenu",
|
|
3914
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3891
3915
|
}
|
|
3892
3916
|
},
|
|
3893
3917
|
{
|
|
3894
3918
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3919
|
+
"name": "foundationActionsMenu",
|
|
3896
3920
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
3921
|
+
"name": "foundationActionsMenu",
|
|
3922
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3899
3923
|
}
|
|
3900
3924
|
}
|
|
3901
3925
|
]
|
|
3902
3926
|
},
|
|
3903
3927
|
{
|
|
3904
3928
|
"kind": "javascript-module",
|
|
3905
|
-
"path": "src/
|
|
3929
|
+
"path": "src/actions-menu/index.ts",
|
|
3906
3930
|
"declarations": [],
|
|
3907
3931
|
"exports": [
|
|
3908
3932
|
{
|
|
3909
3933
|
"kind": "js",
|
|
3910
|
-
"name": "
|
|
3911
|
-
"declaration": {
|
|
3912
|
-
"name": "AiIndicator",
|
|
3913
|
-
"module": "./ai-indicator"
|
|
3914
|
-
}
|
|
3915
|
-
},
|
|
3916
|
-
{
|
|
3917
|
-
"kind": "js",
|
|
3918
|
-
"name": "foundationAiIndicator",
|
|
3919
|
-
"declaration": {
|
|
3920
|
-
"name": "foundationAiIndicator",
|
|
3921
|
-
"module": "./ai-indicator"
|
|
3922
|
-
}
|
|
3923
|
-
},
|
|
3924
|
-
{
|
|
3925
|
-
"kind": "js",
|
|
3926
|
-
"name": "type",
|
|
3927
|
-
"declaration": {
|
|
3928
|
-
"name": "type",
|
|
3929
|
-
"module": "./ai-indicator"
|
|
3930
|
-
}
|
|
3931
|
-
},
|
|
3932
|
-
{
|
|
3933
|
-
"kind": "js",
|
|
3934
|
-
"name": "AIIndicatorState",
|
|
3934
|
+
"name": "*",
|
|
3935
3935
|
"declaration": {
|
|
3936
|
-
"name": "
|
|
3937
|
-
"
|
|
3936
|
+
"name": "*",
|
|
3937
|
+
"package": "./actions-menu.styles"
|
|
3938
3938
|
}
|
|
3939
3939
|
},
|
|
3940
3940
|
{
|
|
3941
3941
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3942
|
+
"name": "*",
|
|
3943
3943
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3944
|
+
"name": "*",
|
|
3945
|
+
"package": "./actions-menu.template"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "*",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3952
|
+
"name": "*",
|
|
3953
|
+
"package": "./actions-menu"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|