@genesislcap/foundation-ui 14.443.1-alpha-3fbf238.0 → 14.444.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +947 -947
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +19 -19
|
@@ -1400,65 +1400,11 @@
|
|
|
1400
1400
|
},
|
|
1401
1401
|
{
|
|
1402
1402
|
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/
|
|
1404
|
-
"declarations": [],
|
|
1405
|
-
"exports": [
|
|
1406
|
-
{
|
|
1407
|
-
"kind": "js",
|
|
1408
|
-
"name": "*",
|
|
1409
|
-
"declaration": {
|
|
1410
|
-
"name": "*",
|
|
1411
|
-
"package": "./styles"
|
|
1412
|
-
}
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "js",
|
|
1416
|
-
"name": "*",
|
|
1417
|
-
"declaration": {
|
|
1418
|
-
"name": "*",
|
|
1419
|
-
"package": "./tokens"
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"kind": "js",
|
|
1424
|
-
"name": "*",
|
|
1425
|
-
"declaration": {
|
|
1426
|
-
"name": "*",
|
|
1427
|
-
"package": "./values"
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
]
|
|
1431
|
-
},
|
|
1432
|
-
{
|
|
1433
|
-
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1403
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1435
1404
|
"declarations": [
|
|
1436
1405
|
{
|
|
1437
1406
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1439
|
-
"return": {
|
|
1440
|
-
"type": {
|
|
1441
|
-
"text": "ElementStyles"
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
"parameters": [
|
|
1445
|
-
{
|
|
1446
|
-
"name": "context",
|
|
1447
|
-
"type": {
|
|
1448
|
-
"text": "ElementDefinitionContext"
|
|
1449
|
-
}
|
|
1450
|
-
},
|
|
1451
|
-
{
|
|
1452
|
-
"name": "definition",
|
|
1453
|
-
"type": {
|
|
1454
|
-
"text": "FoundationElementDefinition"
|
|
1455
|
-
}
|
|
1456
|
-
}
|
|
1457
|
-
]
|
|
1458
|
-
},
|
|
1459
|
-
{
|
|
1460
|
-
"kind": "function",
|
|
1461
|
-
"name": "foundationActionsMenuStyles",
|
|
1407
|
+
"name": "foundationAccordionStyles",
|
|
1462
1408
|
"return": {
|
|
1463
1409
|
"type": {
|
|
1464
1410
|
"text": "ElementStyles"
|
|
@@ -1483,269 +1429,277 @@
|
|
|
1483
1429
|
"exports": [
|
|
1484
1430
|
{
|
|
1485
1431
|
"kind": "js",
|
|
1486
|
-
"name": "
|
|
1487
|
-
"declaration": {
|
|
1488
|
-
"name": "actionsMenuBaseStyles",
|
|
1489
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1490
|
-
}
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
"kind": "js",
|
|
1494
|
-
"name": "foundationActionsMenuStyles",
|
|
1432
|
+
"name": "foundationAccordionStyles",
|
|
1495
1433
|
"declaration": {
|
|
1496
|
-
"name": "
|
|
1497
|
-
"module": "src/
|
|
1434
|
+
"name": "foundationAccordionStyles",
|
|
1435
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1498
1436
|
}
|
|
1499
1437
|
}
|
|
1500
1438
|
]
|
|
1501
1439
|
},
|
|
1502
1440
|
{
|
|
1503
1441
|
"kind": "javascript-module",
|
|
1504
|
-
"path": "src/
|
|
1442
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1505
1443
|
"declarations": [
|
|
1506
1444
|
{
|
|
1507
1445
|
"kind": "function",
|
|
1508
|
-
"name": "
|
|
1446
|
+
"name": "foundationAccordionTemplate",
|
|
1447
|
+
"return": {
|
|
1448
|
+
"type": {
|
|
1449
|
+
"text": "ViewTemplate<Accordion>"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1509
1452
|
"parameters": [
|
|
1510
1453
|
{
|
|
1511
|
-
"name": "
|
|
1454
|
+
"name": "context",
|
|
1512
1455
|
"type": {
|
|
1513
|
-
"text": "
|
|
1456
|
+
"text": "ElementDefinitionContext"
|
|
1514
1457
|
}
|
|
1515
|
-
}
|
|
1516
|
-
]
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
"kind": "function",
|
|
1520
|
-
"name": "singleOptionTemplate",
|
|
1521
|
-
"parameters": [
|
|
1458
|
+
},
|
|
1522
1459
|
{
|
|
1523
|
-
"name": "
|
|
1460
|
+
"name": "definition",
|
|
1524
1461
|
"type": {
|
|
1525
|
-
"text": "
|
|
1462
|
+
"text": "FoundationElementDefinition"
|
|
1526
1463
|
}
|
|
1527
1464
|
}
|
|
1528
1465
|
]
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
"kind": "variable",
|
|
1532
|
-
"name": "foundationActionsMenuTemplate",
|
|
1533
|
-
"type": {
|
|
1534
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1535
|
-
},
|
|
1536
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1537
1466
|
}
|
|
1538
1467
|
],
|
|
1539
1468
|
"exports": [
|
|
1540
1469
|
{
|
|
1541
1470
|
"kind": "js",
|
|
1542
|
-
"name": "
|
|
1543
|
-
"declaration": {
|
|
1544
|
-
"name": "menuTemplate",
|
|
1545
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1546
|
-
}
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"kind": "js",
|
|
1550
|
-
"name": "singleOptionTemplate",
|
|
1551
|
-
"declaration": {
|
|
1552
|
-
"name": "singleOptionTemplate",
|
|
1553
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "js",
|
|
1558
|
-
"name": "foundationActionsMenuTemplate",
|
|
1471
|
+
"name": "foundationAccordionTemplate",
|
|
1559
1472
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/
|
|
1473
|
+
"name": "foundationAccordionTemplate",
|
|
1474
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1562
1475
|
}
|
|
1563
1476
|
}
|
|
1564
1477
|
]
|
|
1565
1478
|
},
|
|
1566
1479
|
{
|
|
1567
1480
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/
|
|
1481
|
+
"path": "src/accordion/accordion.ts",
|
|
1569
1482
|
"declarations": [
|
|
1570
1483
|
{
|
|
1571
1484
|
"kind": "class",
|
|
1572
1485
|
"description": "",
|
|
1573
|
-
"name": "
|
|
1574
|
-
"
|
|
1486
|
+
"name": "Accordion",
|
|
1487
|
+
"superclass": {
|
|
1488
|
+
"name": "FASTAccordion",
|
|
1489
|
+
"package": "@microsoft/fast-foundation"
|
|
1490
|
+
},
|
|
1491
|
+
"tagName": "%%prefix%%-accordion",
|
|
1492
|
+
"customElement": true,
|
|
1493
|
+
"attributes": [
|
|
1575
1494
|
{
|
|
1576
|
-
"
|
|
1577
|
-
"name": "actions",
|
|
1495
|
+
"name": "expand-mode",
|
|
1578
1496
|
"type": {
|
|
1579
|
-
"text": "
|
|
1497
|
+
"text": "AccordionExpandMode"
|
|
1498
|
+
},
|
|
1499
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1500
|
+
"fieldName": "expandmode",
|
|
1501
|
+
"inheritedFrom": {
|
|
1502
|
+
"name": "Accordion",
|
|
1503
|
+
"module": "src/accordion/accordion.ts"
|
|
1580
1504
|
}
|
|
1581
|
-
}
|
|
1505
|
+
}
|
|
1506
|
+
],
|
|
1507
|
+
"members": [
|
|
1582
1508
|
{
|
|
1583
1509
|
"kind": "field",
|
|
1584
|
-
"name": "
|
|
1510
|
+
"name": "expandmode",
|
|
1585
1511
|
"type": {
|
|
1586
|
-
"text": "
|
|
1512
|
+
"text": "AccordionExpandMode"
|
|
1587
1513
|
},
|
|
1588
|
-
"
|
|
1514
|
+
"privacy": "public",
|
|
1515
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1516
|
+
"inheritedFrom": {
|
|
1517
|
+
"name": "Accordion",
|
|
1518
|
+
"module": "src/accordion/accordion.ts"
|
|
1519
|
+
}
|
|
1589
1520
|
},
|
|
1590
1521
|
{
|
|
1591
1522
|
"kind": "field",
|
|
1592
|
-
"name": "
|
|
1523
|
+
"name": "activeid",
|
|
1593
1524
|
"type": {
|
|
1594
|
-
"text": "
|
|
1525
|
+
"text": "string | null"
|
|
1595
1526
|
},
|
|
1596
|
-
"
|
|
1527
|
+
"privacy": "private",
|
|
1528
|
+
"inheritedFrom": {
|
|
1529
|
+
"name": "Accordion",
|
|
1530
|
+
"module": "src/accordion/accordion.ts"
|
|
1531
|
+
}
|
|
1597
1532
|
},
|
|
1598
1533
|
{
|
|
1599
1534
|
"kind": "field",
|
|
1600
|
-
"name": "
|
|
1535
|
+
"name": "activeItemIndex",
|
|
1601
1536
|
"type": {
|
|
1602
|
-
"text": "
|
|
1537
|
+
"text": "number"
|
|
1603
1538
|
},
|
|
1604
|
-
"
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
"type": {
|
|
1610
|
-
"text": "string"
|
|
1539
|
+
"privacy": "private",
|
|
1540
|
+
"default": "0",
|
|
1541
|
+
"inheritedFrom": {
|
|
1542
|
+
"name": "Accordion",
|
|
1543
|
+
"module": "src/accordion/accordion.ts"
|
|
1611
1544
|
}
|
|
1612
1545
|
},
|
|
1613
1546
|
{
|
|
1614
1547
|
"kind": "field",
|
|
1615
|
-
"name": "
|
|
1548
|
+
"name": "accordionIds",
|
|
1616
1549
|
"type": {
|
|
1617
|
-
"text": "
|
|
1550
|
+
"text": "Array<string | null>"
|
|
1551
|
+
},
|
|
1552
|
+
"privacy": "private",
|
|
1553
|
+
"inheritedFrom": {
|
|
1554
|
+
"name": "Accordion",
|
|
1555
|
+
"module": "src/accordion/accordion.ts"
|
|
1618
1556
|
}
|
|
1619
1557
|
},
|
|
1620
1558
|
{
|
|
1621
1559
|
"kind": "field",
|
|
1622
|
-
"name": "
|
|
1623
|
-
"
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1560
|
+
"name": "change",
|
|
1561
|
+
"privacy": "private",
|
|
1562
|
+
"inheritedFrom": {
|
|
1563
|
+
"name": "Accordion",
|
|
1564
|
+
"module": "src/accordion/accordion.ts"
|
|
1565
|
+
}
|
|
1627
1566
|
},
|
|
1628
1567
|
{
|
|
1629
|
-
"kind": "
|
|
1630
|
-
"name": "
|
|
1631
|
-
"
|
|
1632
|
-
|
|
1568
|
+
"kind": "method",
|
|
1569
|
+
"name": "findExpandedItem",
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"return": {
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "AccordionItem | null"
|
|
1574
|
+
}
|
|
1633
1575
|
},
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
"kind": "field",
|
|
1638
|
-
"name": "buttonAppearance",
|
|
1639
|
-
"type": {
|
|
1640
|
-
"text": "string"
|
|
1576
|
+
"inheritedFrom": {
|
|
1577
|
+
"name": "Accordion",
|
|
1578
|
+
"module": "src/accordion/accordion.ts"
|
|
1641
1579
|
}
|
|
1642
1580
|
},
|
|
1643
1581
|
{
|
|
1644
1582
|
"kind": "field",
|
|
1645
|
-
"name": "
|
|
1646
|
-
"
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1583
|
+
"name": "setItems",
|
|
1584
|
+
"privacy": "private",
|
|
1585
|
+
"inheritedFrom": {
|
|
1586
|
+
"name": "Accordion",
|
|
1587
|
+
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
}
|
|
1650
1589
|
},
|
|
1651
1590
|
{
|
|
1652
|
-
"kind": "
|
|
1653
|
-
"name": "
|
|
1654
|
-
"
|
|
1655
|
-
|
|
1591
|
+
"kind": "method",
|
|
1592
|
+
"name": "resetItems",
|
|
1593
|
+
"privacy": "private",
|
|
1594
|
+
"return": {
|
|
1595
|
+
"type": {
|
|
1596
|
+
"text": "void"
|
|
1597
|
+
}
|
|
1656
1598
|
},
|
|
1657
|
-
"
|
|
1599
|
+
"inheritedFrom": {
|
|
1600
|
+
"name": "Accordion",
|
|
1601
|
+
"module": "src/accordion/accordion.ts"
|
|
1602
|
+
}
|
|
1658
1603
|
},
|
|
1659
1604
|
{
|
|
1660
1605
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
1662
|
-
"
|
|
1663
|
-
|
|
1606
|
+
"name": "removeItemListeners",
|
|
1607
|
+
"privacy": "private",
|
|
1608
|
+
"inheritedFrom": {
|
|
1609
|
+
"name": "Accordion",
|
|
1610
|
+
"module": "src/accordion/accordion.ts"
|
|
1664
1611
|
}
|
|
1665
1612
|
},
|
|
1666
1613
|
{
|
|
1667
1614
|
"kind": "field",
|
|
1668
|
-
"name": "
|
|
1669
|
-
"
|
|
1670
|
-
|
|
1615
|
+
"name": "activeItemChange",
|
|
1616
|
+
"privacy": "private",
|
|
1617
|
+
"inheritedFrom": {
|
|
1618
|
+
"name": "Accordion",
|
|
1619
|
+
"module": "src/accordion/accordion.ts"
|
|
1671
1620
|
}
|
|
1672
1621
|
},
|
|
1673
1622
|
{
|
|
1674
1623
|
"kind": "method",
|
|
1675
|
-
"name": "
|
|
1676
|
-
"privacy": "
|
|
1677
|
-
"
|
|
1678
|
-
{
|
|
1679
|
-
"
|
|
1680
|
-
"type": {
|
|
1681
|
-
"text": "any"
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
"name": "newValue",
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "any"
|
|
1688
|
-
}
|
|
1624
|
+
"name": "getItemIds",
|
|
1625
|
+
"privacy": "private",
|
|
1626
|
+
"return": {
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "Array<string | null>"
|
|
1689
1629
|
}
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
"privacy": "protected"
|
|
1696
|
-
},
|
|
1697
|
-
{
|
|
1698
|
-
"kind": "method",
|
|
1699
|
-
"name": "toggleActionsMenuVisibility"
|
|
1630
|
+
},
|
|
1631
|
+
"inheritedFrom": {
|
|
1632
|
+
"name": "Accordion",
|
|
1633
|
+
"module": "src/accordion/accordion.ts"
|
|
1634
|
+
}
|
|
1700
1635
|
},
|
|
1701
1636
|
{
|
|
1702
1637
|
"kind": "method",
|
|
1703
|
-
"name": "
|
|
1704
|
-
"
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
"
|
|
1708
|
-
"text": "(rowData) => void | any"
|
|
1709
|
-
}
|
|
1638
|
+
"name": "isSingleExpandMode",
|
|
1639
|
+
"privacy": "private",
|
|
1640
|
+
"return": {
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "boolean"
|
|
1710
1643
|
}
|
|
1711
|
-
|
|
1644
|
+
},
|
|
1645
|
+
"inheritedFrom": {
|
|
1646
|
+
"name": "Accordion",
|
|
1647
|
+
"module": "src/accordion/accordion.ts"
|
|
1648
|
+
}
|
|
1712
1649
|
},
|
|
1713
1650
|
{
|
|
1714
1651
|
"kind": "field",
|
|
1715
|
-
"name": "
|
|
1716
|
-
"
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1652
|
+
"name": "handleItemKeyDown",
|
|
1653
|
+
"privacy": "private",
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1657
|
+
}
|
|
1720
1658
|
},
|
|
1721
1659
|
{
|
|
1722
1660
|
"kind": "field",
|
|
1723
|
-
"name": "
|
|
1724
|
-
"
|
|
1661
|
+
"name": "handleItemFocus",
|
|
1662
|
+
"privacy": "private",
|
|
1663
|
+
"inheritedFrom": {
|
|
1664
|
+
"name": "Accordion",
|
|
1665
|
+
"module": "src/accordion/accordion.ts"
|
|
1666
|
+
}
|
|
1725
1667
|
},
|
|
1726
1668
|
{
|
|
1727
1669
|
"kind": "method",
|
|
1728
|
-
"name": "
|
|
1670
|
+
"name": "adjust",
|
|
1671
|
+
"privacy": "private",
|
|
1672
|
+
"return": {
|
|
1673
|
+
"type": {
|
|
1674
|
+
"text": "void"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1729
1677
|
"parameters": [
|
|
1730
1678
|
{
|
|
1731
|
-
"name": "
|
|
1679
|
+
"name": "adjustment",
|
|
1732
1680
|
"type": {
|
|
1733
|
-
"text": "
|
|
1681
|
+
"text": "number"
|
|
1734
1682
|
}
|
|
1735
1683
|
}
|
|
1736
|
-
]
|
|
1684
|
+
],
|
|
1685
|
+
"inheritedFrom": {
|
|
1686
|
+
"name": "Accordion",
|
|
1687
|
+
"module": "src/accordion/accordion.ts"
|
|
1688
|
+
}
|
|
1737
1689
|
},
|
|
1738
1690
|
{
|
|
1739
1691
|
"kind": "method",
|
|
1740
|
-
"name": "
|
|
1741
|
-
"
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
"
|
|
1745
|
-
"text": "string"
|
|
1746
|
-
}
|
|
1692
|
+
"name": "focusItem",
|
|
1693
|
+
"privacy": "private",
|
|
1694
|
+
"return": {
|
|
1695
|
+
"type": {
|
|
1696
|
+
"text": "void"
|
|
1747
1697
|
}
|
|
1748
|
-
|
|
1698
|
+
},
|
|
1699
|
+
"inheritedFrom": {
|
|
1700
|
+
"name": "Accordion",
|
|
1701
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
|
+
}
|
|
1749
1703
|
},
|
|
1750
1704
|
{
|
|
1751
1705
|
"kind": "field",
|
|
@@ -1859,107 +1813,78 @@
|
|
|
1859
1813
|
}
|
|
1860
1814
|
}
|
|
1861
1815
|
],
|
|
1862
|
-
"
|
|
1863
|
-
{
|
|
1864
|
-
"name": "is-vertical",
|
|
1865
|
-
"type": {
|
|
1866
|
-
"text": "boolean"
|
|
1867
|
-
},
|
|
1868
|
-
"default": "false",
|
|
1869
|
-
"fieldName": "isVertical"
|
|
1870
|
-
},
|
|
1871
|
-
{
|
|
1872
|
-
"name": "add-default-actions",
|
|
1873
|
-
"type": {
|
|
1874
|
-
"text": "boolean"
|
|
1875
|
-
},
|
|
1876
|
-
"default": "true",
|
|
1877
|
-
"fieldName": "addDefaultActions"
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"name": "auto-close-on-action",
|
|
1881
|
-
"type": {
|
|
1882
|
-
"text": "boolean"
|
|
1883
|
-
},
|
|
1884
|
-
"default": "true",
|
|
1885
|
-
"fieldName": "autoCloseOnAction"
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"name": "name",
|
|
1889
|
-
"type": {
|
|
1890
|
-
"text": "string"
|
|
1891
|
-
},
|
|
1892
|
-
"default": "'Actions'",
|
|
1893
|
-
"fieldName": "name"
|
|
1894
|
-
},
|
|
1895
|
-
{
|
|
1896
|
-
"name": "open",
|
|
1897
|
-
"type": {
|
|
1898
|
-
"text": "boolean"
|
|
1899
|
-
},
|
|
1900
|
-
"default": "false",
|
|
1901
|
-
"fieldName": "open"
|
|
1902
|
-
},
|
|
1903
|
-
{
|
|
1904
|
-
"name": "buttonAppearance",
|
|
1905
|
-
"type": {
|
|
1906
|
-
"text": "string"
|
|
1907
|
-
},
|
|
1908
|
-
"fieldName": "buttonAppearance"
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"name": "hide-disabled",
|
|
1912
|
-
"type": {
|
|
1913
|
-
"text": "boolean"
|
|
1914
|
-
},
|
|
1915
|
-
"default": "false",
|
|
1916
|
-
"fieldName": "hideDisabled"
|
|
1917
|
-
},
|
|
1816
|
+
"events": [
|
|
1918
1817
|
{
|
|
1919
|
-
"
|
|
1920
|
-
"
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
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"
|
|
1823
|
+
}
|
|
1925
1824
|
}
|
|
1926
|
-
]
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1825
|
+
]
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"kind": "variable",
|
|
1829
|
+
"name": "foundationAccordionShadowOptions",
|
|
1830
|
+
"type": {
|
|
1831
|
+
"text": "ShadowRootInit"
|
|
1930
1832
|
},
|
|
1931
|
-
"
|
|
1932
|
-
"customElement": true
|
|
1833
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1933
1834
|
},
|
|
1934
1835
|
{
|
|
1935
1836
|
"kind": "variable",
|
|
1936
|
-
"name": "
|
|
1937
|
-
"
|
|
1837
|
+
"name": "defaultAccordionConfig",
|
|
1838
|
+
"type": {
|
|
1839
|
+
"text": "object"
|
|
1840
|
+
},
|
|
1841
|
+
"default": "{}"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "variable",
|
|
1845
|
+
"name": "foundationAccordion",
|
|
1846
|
+
"description": "The Foundation Accordion",
|
|
1938
1847
|
"privacy": "public"
|
|
1939
1848
|
}
|
|
1940
1849
|
],
|
|
1941
1850
|
"exports": [
|
|
1942
1851
|
{
|
|
1943
1852
|
"kind": "js",
|
|
1944
|
-
"name": "
|
|
1853
|
+
"name": "Accordion",
|
|
1945
1854
|
"declaration": {
|
|
1946
|
-
"name": "
|
|
1947
|
-
"module": "src/
|
|
1855
|
+
"name": "Accordion",
|
|
1856
|
+
"module": "src/accordion/accordion.ts"
|
|
1948
1857
|
}
|
|
1949
1858
|
},
|
|
1950
1859
|
{
|
|
1951
1860
|
"kind": "js",
|
|
1952
|
-
"name": "
|
|
1861
|
+
"name": "foundationAccordionShadowOptions",
|
|
1953
1862
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/
|
|
1863
|
+
"name": "foundationAccordionShadowOptions",
|
|
1864
|
+
"module": "src/accordion/accordion.ts"
|
|
1865
|
+
}
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "js",
|
|
1869
|
+
"name": "defaultAccordionConfig",
|
|
1870
|
+
"declaration": {
|
|
1871
|
+
"name": "defaultAccordionConfig",
|
|
1872
|
+
"module": "src/accordion/accordion.ts"
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "js",
|
|
1877
|
+
"name": "foundationAccordion",
|
|
1878
|
+
"declaration": {
|
|
1879
|
+
"name": "foundationAccordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1956
1881
|
}
|
|
1957
1882
|
}
|
|
1958
1883
|
]
|
|
1959
1884
|
},
|
|
1960
1885
|
{
|
|
1961
1886
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/
|
|
1887
|
+
"path": "src/accordion/index.ts",
|
|
1963
1888
|
"declarations": [],
|
|
1964
1889
|
"exports": [
|
|
1965
1890
|
{
|
|
@@ -1967,7 +1892,7 @@
|
|
|
1967
1892
|
"name": "*",
|
|
1968
1893
|
"declaration": {
|
|
1969
1894
|
"name": "*",
|
|
1970
|
-
"package": "./
|
|
1895
|
+
"package": "./accordion.template"
|
|
1971
1896
|
}
|
|
1972
1897
|
},
|
|
1973
1898
|
{
|
|
@@ -1975,7 +1900,7 @@
|
|
|
1975
1900
|
"name": "*",
|
|
1976
1901
|
"declaration": {
|
|
1977
1902
|
"name": "*",
|
|
1978
|
-
"package": "./
|
|
1903
|
+
"package": "./accordion.styles"
|
|
1979
1904
|
}
|
|
1980
1905
|
},
|
|
1981
1906
|
{
|
|
@@ -1983,7 +1908,38 @@
|
|
|
1983
1908
|
"name": "*",
|
|
1984
1909
|
"declaration": {
|
|
1985
1910
|
"name": "*",
|
|
1986
|
-
"package": "./
|
|
1911
|
+
"package": "./accordion"
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
]
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"kind": "javascript-module",
|
|
1918
|
+
"path": "src/_config/index.ts",
|
|
1919
|
+
"declarations": [],
|
|
1920
|
+
"exports": [
|
|
1921
|
+
{
|
|
1922
|
+
"kind": "js",
|
|
1923
|
+
"name": "*",
|
|
1924
|
+
"declaration": {
|
|
1925
|
+
"name": "*",
|
|
1926
|
+
"package": "./styles"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"kind": "js",
|
|
1931
|
+
"name": "*",
|
|
1932
|
+
"declaration": {
|
|
1933
|
+
"name": "*",
|
|
1934
|
+
"package": "./tokens"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"kind": "js",
|
|
1939
|
+
"name": "*",
|
|
1940
|
+
"declaration": {
|
|
1941
|
+
"name": "*",
|
|
1942
|
+
"package": "./values"
|
|
1987
1943
|
}
|
|
1988
1944
|
}
|
|
1989
1945
|
]
|
|
@@ -2368,147 +2324,219 @@
|
|
|
2368
2324
|
"kind": "js",
|
|
2369
2325
|
"name": "*",
|
|
2370
2326
|
"declaration": {
|
|
2371
|
-
"name": "*",
|
|
2372
|
-
"package": "./accordion-item.styles"
|
|
2327
|
+
"name": "*",
|
|
2328
|
+
"package": "./accordion-item.styles"
|
|
2329
|
+
}
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"kind": "js",
|
|
2333
|
+
"name": "*",
|
|
2334
|
+
"declaration": {
|
|
2335
|
+
"name": "*",
|
|
2336
|
+
"package": "./accordion-item"
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
]
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"kind": "javascript-module",
|
|
2343
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2344
|
+
"declarations": [
|
|
2345
|
+
{
|
|
2346
|
+
"kind": "function",
|
|
2347
|
+
"name": "actionsMenuBaseStyles",
|
|
2348
|
+
"return": {
|
|
2349
|
+
"type": {
|
|
2350
|
+
"text": "ElementStyles"
|
|
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
|
+
]
|
|
2367
|
+
},
|
|
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
|
+
{
|
|
2394
|
+
"kind": "js",
|
|
2395
|
+
"name": "actionsMenuBaseStyles",
|
|
2396
|
+
"declaration": {
|
|
2397
|
+
"name": "actionsMenuBaseStyles",
|
|
2398
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2373
2399
|
}
|
|
2374
2400
|
},
|
|
2375
2401
|
{
|
|
2376
2402
|
"kind": "js",
|
|
2377
|
-
"name": "
|
|
2403
|
+
"name": "foundationActionsMenuStyles",
|
|
2378
2404
|
"declaration": {
|
|
2379
|
-
"name": "
|
|
2380
|
-
"
|
|
2405
|
+
"name": "foundationActionsMenuStyles",
|
|
2406
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2381
2407
|
}
|
|
2382
2408
|
}
|
|
2383
2409
|
]
|
|
2384
2410
|
},
|
|
2385
2411
|
{
|
|
2386
2412
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/
|
|
2413
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2388
2414
|
"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
|
+
},
|
|
2389
2439
|
{
|
|
2390
2440
|
"kind": "variable",
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2441
|
+
"name": "foundationActionsMenuTemplate",
|
|
2442
|
+
"type": {
|
|
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`"
|
|
2393
2446
|
}
|
|
2394
2447
|
],
|
|
2395
2448
|
"exports": [
|
|
2396
2449
|
{
|
|
2397
2450
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2451
|
+
"name": "menuTemplate",
|
|
2399
2452
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/
|
|
2453
|
+
"name": "menuTemplate",
|
|
2454
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2402
2455
|
}
|
|
2403
|
-
}
|
|
2404
|
-
]
|
|
2405
|
-
},
|
|
2406
|
-
{
|
|
2407
|
-
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2409
|
-
"declarations": [
|
|
2456
|
+
},
|
|
2410
2457
|
{
|
|
2411
|
-
"kind": "
|
|
2412
|
-
"name": "
|
|
2413
|
-
"
|
|
2414
|
-
"
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
}
|
|
2418
|
-
],
|
|
2419
|
-
"exports": [
|
|
2458
|
+
"kind": "js",
|
|
2459
|
+
"name": "singleOptionTemplate",
|
|
2460
|
+
"declaration": {
|
|
2461
|
+
"name": "singleOptionTemplate",
|
|
2462
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2420
2465
|
{
|
|
2421
2466
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2467
|
+
"name": "foundationActionsMenuTemplate",
|
|
2423
2468
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/
|
|
2469
|
+
"name": "foundationActionsMenuTemplate",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2426
2471
|
}
|
|
2427
2472
|
}
|
|
2428
2473
|
]
|
|
2429
2474
|
},
|
|
2430
2475
|
{
|
|
2431
2476
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/
|
|
2477
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2433
2478
|
"declarations": [
|
|
2434
2479
|
{
|
|
2435
2480
|
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2481
|
+
"description": "",
|
|
2482
|
+
"name": "ActionsMenu",
|
|
2438
2483
|
"members": [
|
|
2439
2484
|
{
|
|
2440
2485
|
"kind": "field",
|
|
2441
|
-
"name": "
|
|
2486
|
+
"name": "actions",
|
|
2442
2487
|
"type": {
|
|
2443
|
-
"text": "
|
|
2488
|
+
"text": "ActionMenuItem[]"
|
|
2444
2489
|
}
|
|
2445
2490
|
},
|
|
2446
2491
|
{
|
|
2447
2492
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "string"
|
|
2451
|
-
},
|
|
2452
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"kind": "field",
|
|
2456
|
-
"name": "disabled",
|
|
2493
|
+
"name": "isVertical",
|
|
2457
2494
|
"type": {
|
|
2458
2495
|
"text": "boolean"
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
"kind": "field",
|
|
2463
|
-
"name": "inputValue",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "string"
|
|
2466
2496
|
},
|
|
2467
|
-
"default": "
|
|
2497
|
+
"default": "false"
|
|
2468
2498
|
},
|
|
2469
2499
|
{
|
|
2470
2500
|
"kind": "field",
|
|
2471
|
-
"name": "
|
|
2501
|
+
"name": "addDefaultActions",
|
|
2472
2502
|
"type": {
|
|
2473
2503
|
"text": "boolean"
|
|
2474
2504
|
},
|
|
2475
|
-
"default": "
|
|
2505
|
+
"default": "true"
|
|
2476
2506
|
},
|
|
2477
2507
|
{
|
|
2478
2508
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2509
|
+
"name": "autoCloseOnAction",
|
|
2480
2510
|
"type": {
|
|
2481
|
-
"text": "
|
|
2511
|
+
"text": "boolean"
|
|
2482
2512
|
},
|
|
2483
|
-
"default": "
|
|
2513
|
+
"default": "true"
|
|
2484
2514
|
},
|
|
2485
2515
|
{
|
|
2486
2516
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2517
|
+
"name": "classNames",
|
|
2488
2518
|
"type": {
|
|
2489
|
-
"text": "
|
|
2490
|
-
}
|
|
2491
|
-
"default": "[]"
|
|
2519
|
+
"text": "string"
|
|
2520
|
+
}
|
|
2492
2521
|
},
|
|
2493
2522
|
{
|
|
2494
2523
|
"kind": "field",
|
|
2495
|
-
"name": "
|
|
2524
|
+
"name": "definition",
|
|
2496
2525
|
"type": {
|
|
2497
|
-
"text": "
|
|
2498
|
-
}
|
|
2499
|
-
"default": "false"
|
|
2526
|
+
"text": "any"
|
|
2527
|
+
}
|
|
2500
2528
|
},
|
|
2501
2529
|
{
|
|
2502
2530
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2531
|
+
"name": "name",
|
|
2504
2532
|
"type": {
|
|
2505
|
-
"text": "
|
|
2533
|
+
"text": "string"
|
|
2506
2534
|
},
|
|
2507
|
-
"default": "
|
|
2535
|
+
"default": "'Actions'"
|
|
2508
2536
|
},
|
|
2509
2537
|
{
|
|
2510
2538
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2539
|
+
"name": "open",
|
|
2512
2540
|
"type": {
|
|
2513
2541
|
"text": "boolean"
|
|
2514
2542
|
},
|
|
@@ -2516,125 +2544,117 @@
|
|
|
2516
2544
|
},
|
|
2517
2545
|
{
|
|
2518
2546
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2547
|
+
"name": "buttonAppearance",
|
|
2520
2548
|
"type": {
|
|
2521
|
-
"text": "
|
|
2522
|
-
}
|
|
2523
|
-
"privacy": "public"
|
|
2549
|
+
"text": "string"
|
|
2550
|
+
}
|
|
2524
2551
|
},
|
|
2525
2552
|
{
|
|
2526
2553
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2554
|
+
"name": "hideDisabled",
|
|
2528
2555
|
"type": {
|
|
2529
|
-
"text": "
|
|
2556
|
+
"text": "boolean"
|
|
2530
2557
|
},
|
|
2531
|
-
"
|
|
2532
|
-
"default": "null"
|
|
2558
|
+
"default": "false"
|
|
2533
2559
|
},
|
|
2534
2560
|
{
|
|
2535
2561
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2562
|
+
"name": "hideMenuSingleOption",
|
|
2537
2563
|
"type": {
|
|
2538
|
-
"text": "
|
|
2564
|
+
"text": "boolean"
|
|
2539
2565
|
},
|
|
2540
|
-
"
|
|
2541
|
-
"default": "null"
|
|
2566
|
+
"default": "false"
|
|
2542
2567
|
},
|
|
2543
2568
|
{
|
|
2544
2569
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2570
|
+
"name": "singleOption",
|
|
2546
2571
|
"type": {
|
|
2547
|
-
"text": "
|
|
2548
|
-
}
|
|
2549
|
-
"readonly": true
|
|
2572
|
+
"text": "ActionMenuItem"
|
|
2573
|
+
}
|
|
2550
2574
|
},
|
|
2551
2575
|
{
|
|
2552
2576
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2577
|
+
"name": "actionsMenu",
|
|
2554
2578
|
"type": {
|
|
2555
|
-
"text": "
|
|
2556
|
-
},
|
|
2557
|
-
"readonly": true
|
|
2558
|
-
},
|
|
2559
|
-
{
|
|
2560
|
-
"kind": "method",
|
|
2561
|
-
"name": "getFieldLabel",
|
|
2562
|
-
"privacy": "private",
|
|
2563
|
-
"return": {
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "string"
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
"parameters": [
|
|
2569
|
-
{
|
|
2570
|
-
"name": "fieldName",
|
|
2571
|
-
"type": {
|
|
2572
|
-
"text": "string"
|
|
2573
|
-
}
|
|
2574
|
-
}
|
|
2575
|
-
]
|
|
2576
|
-
},
|
|
2577
|
-
{
|
|
2578
|
-
"kind": "method",
|
|
2579
|
-
"name": "toggleCriteriaView",
|
|
2580
|
-
"return": {
|
|
2581
|
-
"type": {
|
|
2582
|
-
"text": "void"
|
|
2583
|
-
}
|
|
2579
|
+
"text": "HTMLElement"
|
|
2584
2580
|
}
|
|
2585
2581
|
},
|
|
2586
2582
|
{
|
|
2587
2583
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2589
|
-
"
|
|
2590
|
-
"type": {
|
|
2591
|
-
"text": "void"
|
|
2592
|
-
}
|
|
2593
|
-
},
|
|
2584
|
+
"name": "definitionChanged",
|
|
2585
|
+
"privacy": "protected",
|
|
2594
2586
|
"parameters": [
|
|
2595
2587
|
{
|
|
2596
|
-
"name": "
|
|
2588
|
+
"name": "oldValue",
|
|
2597
2589
|
"type": {
|
|
2598
|
-
"text": "
|
|
2590
|
+
"text": "any"
|
|
2599
2591
|
}
|
|
2600
2592
|
},
|
|
2601
2593
|
{
|
|
2602
|
-
"name": "
|
|
2594
|
+
"name": "newValue",
|
|
2603
2595
|
"type": {
|
|
2604
|
-
"text": "
|
|
2596
|
+
"text": "any"
|
|
2605
2597
|
}
|
|
2606
2598
|
}
|
|
2607
2599
|
]
|
|
2608
2600
|
},
|
|
2609
2601
|
{
|
|
2610
2602
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2612
|
-
"
|
|
2613
|
-
"type": {
|
|
2614
|
-
"text": "void"
|
|
2615
|
-
}
|
|
2616
|
-
}
|
|
2603
|
+
"name": "openChanged",
|
|
2604
|
+
"privacy": "protected"
|
|
2617
2605
|
},
|
|
2618
2606
|
{
|
|
2619
2607
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2608
|
+
"name": "toggleActionsMenuVisibility"
|
|
2621
2609
|
},
|
|
2622
2610
|
{
|
|
2623
2611
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2612
|
+
"name": "onActionMenuItemClick",
|
|
2613
|
+
"parameters": [
|
|
2614
|
+
{
|
|
2615
|
+
"name": "callback",
|
|
2616
|
+
"type": {
|
|
2617
|
+
"text": "(rowData) => void | any"
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
]
|
|
2625
2621
|
},
|
|
2626
2622
|
{
|
|
2627
|
-
"kind": "
|
|
2628
|
-
"name": "
|
|
2623
|
+
"kind": "field",
|
|
2624
|
+
"name": "allActions",
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "ActionMenuItem[]"
|
|
2627
|
+
},
|
|
2628
|
+
"readonly": true
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"kind": "field",
|
|
2632
|
+
"name": "rowData",
|
|
2633
|
+
"readonly": true
|
|
2629
2634
|
},
|
|
2630
2635
|
{
|
|
2631
2636
|
"kind": "method",
|
|
2632
|
-
"name": "
|
|
2637
|
+
"name": "getLabel",
|
|
2638
|
+
"parameters": [
|
|
2639
|
+
{
|
|
2640
|
+
"name": "name",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "string | ((rowData: any) => string)"
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
]
|
|
2633
2646
|
},
|
|
2634
2647
|
{
|
|
2635
2648
|
"kind": "method",
|
|
2636
|
-
"name": "
|
|
2637
|
-
"
|
|
2649
|
+
"name": "getTemplate",
|
|
2650
|
+
"parameters": [
|
|
2651
|
+
{
|
|
2652
|
+
"name": "prefix",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "string"
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
]
|
|
2638
2658
|
},
|
|
2639
2659
|
{
|
|
2640
2660
|
"kind": "field",
|
|
@@ -2748,162 +2768,115 @@
|
|
|
2748
2768
|
}
|
|
2749
2769
|
}
|
|
2750
2770
|
],
|
|
2751
|
-
"
|
|
2771
|
+
"attributes": [
|
|
2752
2772
|
{
|
|
2753
|
-
"
|
|
2754
|
-
"
|
|
2773
|
+
"name": "is-vertical",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"default": "false",
|
|
2778
|
+
"fieldName": "isVertical"
|
|
2755
2779
|
},
|
|
2756
2780
|
{
|
|
2757
|
-
"
|
|
2758
|
-
"
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2781
|
+
"name": "add-default-actions",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "boolean"
|
|
2784
|
+
},
|
|
2785
|
+
"default": "true",
|
|
2786
|
+
"fieldName": "addDefaultActions"
|
|
2787
|
+
},
|
|
2762
2788
|
{
|
|
2763
|
-
"name": "
|
|
2789
|
+
"name": "auto-close-on-action",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "true",
|
|
2794
|
+
"fieldName": "autoCloseOnAction"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "name",
|
|
2764
2798
|
"type": {
|
|
2765
2799
|
"text": "string"
|
|
2766
2800
|
},
|
|
2767
|
-
"default": "'
|
|
2768
|
-
"fieldName": "
|
|
2801
|
+
"default": "'Actions'",
|
|
2802
|
+
"fieldName": "name"
|
|
2769
2803
|
},
|
|
2770
2804
|
{
|
|
2805
|
+
"name": "open",
|
|
2771
2806
|
"type": {
|
|
2772
2807
|
"text": "boolean"
|
|
2773
2808
|
},
|
|
2774
|
-
"
|
|
2809
|
+
"default": "false",
|
|
2810
|
+
"fieldName": "open"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "buttonAppearance",
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "string"
|
|
2816
|
+
},
|
|
2817
|
+
"fieldName": "buttonAppearance"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"name": "hide-disabled",
|
|
2821
|
+
"type": {
|
|
2822
|
+
"text": "boolean"
|
|
2823
|
+
},
|
|
2824
|
+
"default": "false",
|
|
2825
|
+
"fieldName": "hideDisabled"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "hide-menu-single-option",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "boolean"
|
|
2831
|
+
},
|
|
2832
|
+
"default": "false",
|
|
2833
|
+
"fieldName": "hideMenuSingleOption"
|
|
2775
2834
|
}
|
|
2776
2835
|
],
|
|
2777
2836
|
"superclass": {
|
|
2778
2837
|
"name": "FoundationElement",
|
|
2779
2838
|
"package": "@microsoft/fast-foundation"
|
|
2780
2839
|
},
|
|
2781
|
-
"tagName": "%%prefix%%-
|
|
2840
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2782
2841
|
"customElement": true
|
|
2783
2842
|
},
|
|
2784
2843
|
{
|
|
2785
2844
|
"kind": "variable",
|
|
2786
|
-
"name": "
|
|
2787
|
-
"
|
|
2788
|
-
|
|
2789
|
-
},
|
|
2790
|
-
"default": "undefined"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"kind": "variable",
|
|
2794
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "object"
|
|
2797
|
-
},
|
|
2798
|
-
"default": "{}"
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"kind": "variable",
|
|
2802
|
-
"name": "foundationAiCriteriaSearch"
|
|
2845
|
+
"name": "foundationActionsMenu",
|
|
2846
|
+
"description": "The Foundation Actions Menu",
|
|
2847
|
+
"privacy": "public"
|
|
2803
2848
|
}
|
|
2804
2849
|
],
|
|
2805
2850
|
"exports": [
|
|
2806
2851
|
{
|
|
2807
2852
|
"kind": "js",
|
|
2808
|
-
"name": "
|
|
2809
|
-
"declaration": {
|
|
2810
|
-
"name": "AiCriteriaSearch",
|
|
2811
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "js",
|
|
2816
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2817
|
-
"declaration": {
|
|
2818
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2853
|
+
"name": "ActionsMenu",
|
|
2825
2854
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/
|
|
2855
|
+
"name": "ActionsMenu",
|
|
2856
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2828
2857
|
}
|
|
2829
2858
|
},
|
|
2830
2859
|
{
|
|
2831
2860
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2861
|
+
"name": "foundationActionsMenu",
|
|
2833
2862
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationActionsMenu",
|
|
2864
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2836
2865
|
}
|
|
2837
2866
|
}
|
|
2838
2867
|
]
|
|
2839
2868
|
},
|
|
2840
2869
|
{
|
|
2841
2870
|
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/
|
|
2871
|
+
"path": "src/actions-menu/index.ts",
|
|
2843
2872
|
"declarations": [],
|
|
2844
2873
|
"exports": [
|
|
2845
|
-
{
|
|
2846
|
-
"kind": "js",
|
|
2847
|
-
"name": "AiCriteriaSearch",
|
|
2848
|
-
"declaration": {
|
|
2849
|
-
"name": "AiCriteriaSearch",
|
|
2850
|
-
"module": "./ai-criteria-search"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "foundationAiCriteriaSearch",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "foundationAiCriteriaSearch",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2872
|
-
"declaration": {
|
|
2873
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2874
|
-
"module": "./ai-criteria-search"
|
|
2875
|
-
}
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2882
|
-
"module": "./ai-criteria-search.styles"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "js",
|
|
2887
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2888
|
-
"declaration": {
|
|
2889
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2890
|
-
"module": "./ai-criteria-search.template"
|
|
2891
|
-
}
|
|
2892
|
-
},
|
|
2893
|
-
{
|
|
2894
|
-
"kind": "js",
|
|
2895
|
-
"name": "*",
|
|
2896
|
-
"declaration": {
|
|
2897
|
-
"name": "*",
|
|
2898
|
-
"package": "./validation/criteria-ir"
|
|
2899
|
-
}
|
|
2900
|
-
},
|
|
2901
2874
|
{
|
|
2902
2875
|
"kind": "js",
|
|
2903
2876
|
"name": "*",
|
|
2904
2877
|
"declaration": {
|
|
2905
2878
|
"name": "*",
|
|
2906
|
-
"package": "./
|
|
2879
|
+
"package": "./actions-menu.styles"
|
|
2907
2880
|
}
|
|
2908
2881
|
},
|
|
2909
2882
|
{
|
|
@@ -2911,157 +2884,72 @@
|
|
|
2911
2884
|
"name": "*",
|
|
2912
2885
|
"declaration": {
|
|
2913
2886
|
"name": "*",
|
|
2914
|
-
"package": "./
|
|
2915
|
-
}
|
|
2916
|
-
}
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2922
|
-
"declarations": [
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "function",
|
|
2925
|
-
"name": "formatValidationErrors",
|
|
2926
|
-
"return": {
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string"
|
|
2929
|
-
}
|
|
2930
|
-
},
|
|
2931
|
-
"parameters": [
|
|
2932
|
-
{
|
|
2933
|
-
"name": "errors",
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "ValidationError[]"
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
],
|
|
2939
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "function",
|
|
2943
|
-
"name": "showCriteriaError",
|
|
2944
|
-
"return": {
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "void"
|
|
2947
|
-
}
|
|
2948
|
-
},
|
|
2949
|
-
"parameters": [
|
|
2950
|
-
{
|
|
2951
|
-
"name": "title",
|
|
2952
|
-
"type": {
|
|
2953
|
-
"text": "string"
|
|
2954
|
-
},
|
|
2955
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "body",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Error message to display"
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "tagName",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "string"
|
|
2968
|
-
},
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "js",
|
|
2978
|
-
"name": "formatValidationErrors",
|
|
2979
|
-
"declaration": {
|
|
2980
|
-
"name": "formatValidationErrors",
|
|
2981
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2887
|
+
"package": "./actions-menu.template"
|
|
2982
2888
|
}
|
|
2983
2889
|
},
|
|
2984
2890
|
{
|
|
2985
2891
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
2892
|
+
"name": "*",
|
|
2987
2893
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"
|
|
2894
|
+
"name": "*",
|
|
2895
|
+
"package": "./actions-menu"
|
|
2990
2896
|
}
|
|
2991
2897
|
}
|
|
2992
2898
|
]
|
|
2993
2899
|
},
|
|
2994
2900
|
{
|
|
2995
2901
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/ai-
|
|
2902
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2997
2903
|
"declarations": [
|
|
2998
2904
|
{
|
|
2999
|
-
"kind": "
|
|
3000
|
-
"name": "
|
|
3001
|
-
"
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
"parameters": [
|
|
3007
|
-
{
|
|
3008
|
-
"name": "context",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "ElementDefinitionContext"
|
|
3011
|
-
}
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "definition",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "FoundationElementDefinition"
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
]
|
|
2905
|
+
"kind": "variable",
|
|
2906
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2907
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3020
2908
|
}
|
|
3021
2909
|
],
|
|
3022
2910
|
"exports": [
|
|
3023
2911
|
{
|
|
3024
2912
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2913
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3026
2914
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/ai-
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3029
2917
|
}
|
|
3030
2918
|
}
|
|
3031
2919
|
]
|
|
3032
2920
|
},
|
|
3033
2921
|
{
|
|
3034
2922
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-
|
|
2923
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3036
2924
|
"declarations": [
|
|
3037
2925
|
{
|
|
3038
2926
|
"kind": "variable",
|
|
3039
|
-
"name": "
|
|
2927
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3040
2928
|
"type": {
|
|
3041
|
-
"text": "ViewTemplate<
|
|
2929
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3042
2930
|
},
|
|
3043
|
-
"default": "html`\n ${(x) =>
|
|
2931
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3044
2932
|
}
|
|
3045
2933
|
],
|
|
3046
2934
|
"exports": [
|
|
3047
2935
|
{
|
|
3048
2936
|
"kind": "js",
|
|
3049
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3050
2938
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "src/ai-
|
|
2939
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3053
2941
|
}
|
|
3054
2942
|
}
|
|
3055
2943
|
]
|
|
3056
2944
|
},
|
|
3057
2945
|
{
|
|
3058
2946
|
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/ai-
|
|
2947
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3060
2948
|
"declarations": [
|
|
3061
2949
|
{
|
|
3062
2950
|
"kind": "class",
|
|
3063
|
-
"description": "",
|
|
3064
|
-
"name": "
|
|
2951
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2952
|
+
"name": "AiCriteriaSearch",
|
|
3065
2953
|
"members": [
|
|
3066
2954
|
{
|
|
3067
2955
|
"kind": "field",
|
|
@@ -3072,15 +2960,54 @@
|
|
|
3072
2960
|
},
|
|
3073
2961
|
{
|
|
3074
2962
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2963
|
+
"name": "placeholder",
|
|
3076
2964
|
"type": {
|
|
3077
|
-
"text": "
|
|
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",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "boolean"
|
|
2989
|
+
},
|
|
2990
|
+
"default": "false"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "lastValidCriteria",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "string | null"
|
|
3078
2997
|
},
|
|
3079
2998
|
"default": "null"
|
|
3080
2999
|
},
|
|
3081
3000
|
{
|
|
3082
3001
|
"kind": "field",
|
|
3083
|
-
"name": "
|
|
3002
|
+
"name": "activeGroups",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaGroup[]"
|
|
3005
|
+
},
|
|
3006
|
+
"default": "[]"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "field",
|
|
3010
|
+
"name": "showingChips",
|
|
3084
3011
|
"type": {
|
|
3085
3012
|
"text": "boolean"
|
|
3086
3013
|
},
|
|
@@ -3088,15 +3015,15 @@
|
|
|
3088
3015
|
},
|
|
3089
3016
|
{
|
|
3090
3017
|
"kind": "field",
|
|
3091
|
-
"name": "
|
|
3018
|
+
"name": "fieldMetadata",
|
|
3092
3019
|
"type": {
|
|
3093
|
-
"text": "
|
|
3020
|
+
"text": "MetadataDetail[] | string[]"
|
|
3094
3021
|
},
|
|
3095
|
-
"default": "
|
|
3022
|
+
"default": "[]"
|
|
3096
3023
|
},
|
|
3097
3024
|
{
|
|
3098
3025
|
"kind": "field",
|
|
3099
|
-
"name": "
|
|
3026
|
+
"name": "isRecording",
|
|
3100
3027
|
"type": {
|
|
3101
3028
|
"text": "boolean"
|
|
3102
3029
|
},
|
|
@@ -3104,29 +3031,33 @@
|
|
|
3104
3031
|
},
|
|
3105
3032
|
{
|
|
3106
3033
|
"kind": "field",
|
|
3107
|
-
"name": "
|
|
3034
|
+
"name": "textAreaRef",
|
|
3108
3035
|
"type": {
|
|
3109
|
-
"text": "
|
|
3036
|
+
"text": "HTMLTextAreaElement"
|
|
3110
3037
|
},
|
|
3111
|
-
"privacy": "
|
|
3112
|
-
"default": "null"
|
|
3038
|
+
"privacy": "public"
|
|
3113
3039
|
},
|
|
3114
3040
|
{
|
|
3115
3041
|
"kind": "field",
|
|
3116
|
-
"name": "
|
|
3117
|
-
"
|
|
3042
|
+
"name": "stopRecording",
|
|
3043
|
+
"type": {
|
|
3044
|
+
"text": "(() => void) | null"
|
|
3045
|
+
},
|
|
3046
|
+
"privacy": "private",
|
|
3047
|
+
"default": "null"
|
|
3118
3048
|
},
|
|
3119
3049
|
{
|
|
3120
3050
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
3051
|
+
"name": "speechApplyDebounceTimer",
|
|
3122
3052
|
"type": {
|
|
3123
|
-
"text": "
|
|
3053
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3124
3054
|
},
|
|
3125
|
-
"
|
|
3055
|
+
"privacy": "private",
|
|
3056
|
+
"default": "null"
|
|
3126
3057
|
},
|
|
3127
3058
|
{
|
|
3128
3059
|
"kind": "field",
|
|
3129
|
-
"name": "
|
|
3060
|
+
"name": "speechAvailable",
|
|
3130
3061
|
"type": {
|
|
3131
3062
|
"text": "boolean"
|
|
3132
3063
|
},
|
|
@@ -3134,69 +3065,65 @@
|
|
|
3134
3065
|
},
|
|
3135
3066
|
{
|
|
3136
3067
|
"kind": "field",
|
|
3137
|
-
"name": "
|
|
3068
|
+
"name": "criteriaChips",
|
|
3138
3069
|
"type": {
|
|
3139
|
-
"text": "
|
|
3070
|
+
"text": "CriteriaChip[]"
|
|
3140
3071
|
},
|
|
3141
3072
|
"readonly": true
|
|
3142
3073
|
},
|
|
3143
3074
|
{
|
|
3144
3075
|
"kind": "method",
|
|
3145
|
-
"name": "
|
|
3076
|
+
"name": "getFieldLabel",
|
|
3077
|
+
"privacy": "private",
|
|
3146
3078
|
"return": {
|
|
3147
3079
|
"type": {
|
|
3148
|
-
"text": "
|
|
3080
|
+
"text": "string"
|
|
3149
3081
|
}
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"kind": "method",
|
|
3154
|
-
"name": "handleClickOutside",
|
|
3155
|
-
"privacy": "private",
|
|
3082
|
+
},
|
|
3156
3083
|
"parameters": [
|
|
3157
3084
|
{
|
|
3158
|
-
"name": "
|
|
3085
|
+
"name": "fieldName",
|
|
3159
3086
|
"type": {
|
|
3160
|
-
"text": "
|
|
3087
|
+
"text": "string"
|
|
3161
3088
|
}
|
|
3162
3089
|
}
|
|
3163
3090
|
]
|
|
3164
3091
|
},
|
|
3165
3092
|
{
|
|
3166
3093
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "method",
|
|
3171
|
-
"name": "refreshStatus",
|
|
3094
|
+
"name": "toggleCriteriaView",
|
|
3172
3095
|
"return": {
|
|
3173
3096
|
"type": {
|
|
3174
|
-
"text": "
|
|
3097
|
+
"text": "void"
|
|
3175
3098
|
}
|
|
3176
3099
|
}
|
|
3177
3100
|
},
|
|
3178
3101
|
{
|
|
3179
3102
|
"kind": "method",
|
|
3180
|
-
"name": "
|
|
3181
|
-
"privacy": "private",
|
|
3103
|
+
"name": "removeChip",
|
|
3182
3104
|
"return": {
|
|
3183
3105
|
"type": {
|
|
3184
|
-
"text": "
|
|
3106
|
+
"text": "void"
|
|
3185
3107
|
}
|
|
3186
3108
|
},
|
|
3187
3109
|
"parameters": [
|
|
3188
3110
|
{
|
|
3189
|
-
"name": "
|
|
3111
|
+
"name": "groupIndex",
|
|
3190
3112
|
"type": {
|
|
3191
|
-
"text": "
|
|
3113
|
+
"text": "number"
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "clauseIndex",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "number"
|
|
3192
3120
|
}
|
|
3193
3121
|
}
|
|
3194
3122
|
]
|
|
3195
3123
|
},
|
|
3196
3124
|
{
|
|
3197
3125
|
"kind": "method",
|
|
3198
|
-
"name": "
|
|
3199
|
-
"privacy": "private",
|
|
3126
|
+
"name": "clearChips",
|
|
3200
3127
|
"return": {
|
|
3201
3128
|
"type": {
|
|
3202
3129
|
"text": "void"
|
|
@@ -3205,32 +3132,24 @@
|
|
|
3205
3132
|
},
|
|
3206
3133
|
{
|
|
3207
3134
|
"kind": "method",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"privacy": "private",
|
|
3210
|
-
"return": {
|
|
3211
|
-
"type": {
|
|
3212
|
-
"text": "void"
|
|
3213
|
-
}
|
|
3214
|
-
}
|
|
3135
|
+
"name": "handleSubmit"
|
|
3215
3136
|
},
|
|
3216
3137
|
{
|
|
3217
3138
|
"kind": "method",
|
|
3218
|
-
"name": "
|
|
3219
|
-
"privacy": "private",
|
|
3220
|
-
"return": {
|
|
3221
|
-
"type": {
|
|
3222
|
-
"text": "void"
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3139
|
+
"name": "handleBlur"
|
|
3225
3140
|
},
|
|
3226
3141
|
{
|
|
3227
3142
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3143
|
+
"name": "clear"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "method",
|
|
3147
|
+
"name": "toggleSpeechInput"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "method",
|
|
3151
|
+
"name": "clearSpeechApplyDebounce",
|
|
3152
|
+
"privacy": "private"
|
|
3234
3153
|
},
|
|
3235
3154
|
{
|
|
3236
3155
|
"kind": "field",
|
|
@@ -3344,141 +3263,259 @@
|
|
|
3344
3263
|
}
|
|
3345
3264
|
}
|
|
3346
3265
|
],
|
|
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
|
+
],
|
|
3347
3292
|
"superclass": {
|
|
3348
3293
|
"name": "FoundationElement",
|
|
3349
3294
|
"package": "@microsoft/fast-foundation"
|
|
3350
3295
|
},
|
|
3351
|
-
"tagName": "%%prefix%%-ai-
|
|
3352
|
-
"customElement": true
|
|
3296
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
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": "{}"
|
|
3353
3314
|
},
|
|
3354
3315
|
{
|
|
3355
3316
|
"kind": "variable",
|
|
3356
|
-
"name": "
|
|
3317
|
+
"name": "foundationAiCriteriaSearch"
|
|
3357
3318
|
}
|
|
3358
3319
|
],
|
|
3359
3320
|
"exports": [
|
|
3360
3321
|
{
|
|
3361
3322
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3323
|
+
"name": "AiCriteriaSearch",
|
|
3363
3324
|
"declaration": {
|
|
3364
|
-
"name": "
|
|
3365
|
-
"module": "src/ai-
|
|
3325
|
+
"name": "AiCriteriaSearch",
|
|
3326
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3366
3327
|
}
|
|
3367
3328
|
},
|
|
3368
3329
|
{
|
|
3369
3330
|
"kind": "js",
|
|
3370
|
-
"name": "
|
|
3331
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3371
3332
|
"declaration": {
|
|
3372
|
-
"name": "
|
|
3373
|
-
"module": "src/ai-
|
|
3333
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"kind": "js",
|
|
3339
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3340
|
+
"declaration": {
|
|
3341
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"kind": "js",
|
|
3347
|
+
"name": "foundationAiCriteriaSearch",
|
|
3348
|
+
"declaration": {
|
|
3349
|
+
"name": "foundationAiCriteriaSearch",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3374
3351
|
}
|
|
3375
3352
|
}
|
|
3376
3353
|
]
|
|
3377
3354
|
},
|
|
3378
3355
|
{
|
|
3379
3356
|
"kind": "javascript-module",
|
|
3380
|
-
"path": "src/ai-
|
|
3357
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3381
3358
|
"declarations": [],
|
|
3382
3359
|
"exports": [
|
|
3383
3360
|
{
|
|
3384
3361
|
"kind": "js",
|
|
3385
|
-
"name": "
|
|
3362
|
+
"name": "AiCriteriaSearch",
|
|
3386
3363
|
"declaration": {
|
|
3387
|
-
"name": "
|
|
3388
|
-
"module": "./ai-
|
|
3364
|
+
"name": "AiCriteriaSearch",
|
|
3365
|
+
"module": "./ai-criteria-search"
|
|
3389
3366
|
}
|
|
3390
3367
|
},
|
|
3391
3368
|
{
|
|
3392
3369
|
"kind": "js",
|
|
3393
|
-
"name": "
|
|
3370
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3394
3371
|
"declaration": {
|
|
3395
|
-
"name": "
|
|
3396
|
-
"module": "./ai-
|
|
3372
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
+
"module": "./ai-criteria-search"
|
|
3397
3374
|
}
|
|
3398
3375
|
},
|
|
3399
3376
|
{
|
|
3400
3377
|
"kind": "js",
|
|
3401
|
-
"name": "
|
|
3378
|
+
"name": "foundationAiCriteriaSearch",
|
|
3402
3379
|
"declaration": {
|
|
3403
|
-
"name": "
|
|
3404
|
-
"module": "./ai-
|
|
3380
|
+
"name": "foundationAiCriteriaSearch",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3405
3382
|
}
|
|
3406
3383
|
},
|
|
3407
3384
|
{
|
|
3408
3385
|
"kind": "js",
|
|
3409
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3410
3387
|
"declaration": {
|
|
3411
|
-
"name": "
|
|
3412
|
-
"module": "./ai-
|
|
3388
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3413
3390
|
}
|
|
3414
3391
|
},
|
|
3415
3392
|
{
|
|
3416
3393
|
"kind": "js",
|
|
3417
|
-
"name": "
|
|
3394
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3418
3395
|
"declaration": {
|
|
3419
|
-
"name": "
|
|
3420
|
-
"module": "./ai-
|
|
3396
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3397
|
+
"module": "./ai-criteria-search.styles"
|
|
3421
3398
|
}
|
|
3422
3399
|
},
|
|
3423
3400
|
{
|
|
3424
3401
|
"kind": "js",
|
|
3425
|
-
"name": "
|
|
3402
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3426
3403
|
"declaration": {
|
|
3427
|
-
"name": "
|
|
3428
|
-
"module": "./ai-
|
|
3404
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3405
|
+
"module": "./ai-criteria-search.template"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "js",
|
|
3410
|
+
"name": "*",
|
|
3411
|
+
"declaration": {
|
|
3412
|
+
"name": "*",
|
|
3413
|
+
"package": "./validation/criteria-ir"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "js",
|
|
3418
|
+
"name": "*",
|
|
3419
|
+
"declaration": {
|
|
3420
|
+
"name": "*",
|
|
3421
|
+
"package": "./validation/operator-map"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"kind": "js",
|
|
3426
|
+
"name": "*",
|
|
3427
|
+
"declaration": {
|
|
3428
|
+
"name": "*",
|
|
3429
|
+
"package": "./validation/schema-validator"
|
|
3429
3430
|
}
|
|
3430
3431
|
}
|
|
3431
3432
|
]
|
|
3432
3433
|
},
|
|
3433
3434
|
{
|
|
3434
3435
|
"kind": "javascript-module",
|
|
3435
|
-
"path": "src/
|
|
3436
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3436
3437
|
"declarations": [
|
|
3437
3438
|
{
|
|
3438
3439
|
"kind": "function",
|
|
3439
|
-
"name": "
|
|
3440
|
+
"name": "formatValidationErrors",
|
|
3440
3441
|
"return": {
|
|
3441
3442
|
"type": {
|
|
3442
|
-
"text": "
|
|
3443
|
+
"text": "string"
|
|
3443
3444
|
}
|
|
3444
3445
|
},
|
|
3445
3446
|
"parameters": [
|
|
3446
3447
|
{
|
|
3447
|
-
"name": "
|
|
3448
|
+
"name": "errors",
|
|
3448
3449
|
"type": {
|
|
3449
|
-
"text": "
|
|
3450
|
+
"text": "ValidationError[]"
|
|
3450
3451
|
}
|
|
3452
|
+
}
|
|
3453
|
+
],
|
|
3454
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3455
|
+
},
|
|
3456
|
+
{
|
|
3457
|
+
"kind": "function",
|
|
3458
|
+
"name": "showCriteriaError",
|
|
3459
|
+
"return": {
|
|
3460
|
+
"type": {
|
|
3461
|
+
"text": "void"
|
|
3462
|
+
}
|
|
3463
|
+
},
|
|
3464
|
+
"parameters": [
|
|
3465
|
+
{
|
|
3466
|
+
"name": "title",
|
|
3467
|
+
"type": {
|
|
3468
|
+
"text": "string"
|
|
3469
|
+
},
|
|
3470
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3451
3471
|
},
|
|
3452
3472
|
{
|
|
3453
|
-
"name": "
|
|
3473
|
+
"name": "body",
|
|
3454
3474
|
"type": {
|
|
3455
|
-
"text": "
|
|
3456
|
-
}
|
|
3475
|
+
"text": "string"
|
|
3476
|
+
},
|
|
3477
|
+
"description": "Error message to display"
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "tagName",
|
|
3481
|
+
"type": {
|
|
3482
|
+
"text": "string"
|
|
3483
|
+
},
|
|
3484
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3457
3485
|
}
|
|
3458
|
-
]
|
|
3486
|
+
],
|
|
3487
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3459
3488
|
}
|
|
3460
3489
|
],
|
|
3461
3490
|
"exports": [
|
|
3462
3491
|
{
|
|
3463
3492
|
"kind": "js",
|
|
3464
|
-
"name": "
|
|
3493
|
+
"name": "formatValidationErrors",
|
|
3465
3494
|
"declaration": {
|
|
3466
|
-
"name": "
|
|
3467
|
-
"module": "src/
|
|
3495
|
+
"name": "formatValidationErrors",
|
|
3496
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "showCriteriaError",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "showCriteriaError",
|
|
3504
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3468
3505
|
}
|
|
3469
3506
|
}
|
|
3470
3507
|
]
|
|
3471
3508
|
},
|
|
3472
3509
|
{
|
|
3473
3510
|
"kind": "javascript-module",
|
|
3474
|
-
"path": "src/
|
|
3511
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3475
3512
|
"declarations": [
|
|
3476
3513
|
{
|
|
3477
3514
|
"kind": "function",
|
|
3478
|
-
"name": "
|
|
3515
|
+
"name": "foundationAiIndicatorStyles",
|
|
3479
3516
|
"return": {
|
|
3480
3517
|
"type": {
|
|
3481
|
-
"text": "
|
|
3518
|
+
"text": "ElementStyles"
|
|
3482
3519
|
}
|
|
3483
3520
|
},
|
|
3484
3521
|
"parameters": [
|
|
@@ -3500,237 +3537,214 @@
|
|
|
3500
3537
|
"exports": [
|
|
3501
3538
|
{
|
|
3502
3539
|
"kind": "js",
|
|
3503
|
-
"name": "
|
|
3540
|
+
"name": "foundationAiIndicatorStyles",
|
|
3504
3541
|
"declaration": {
|
|
3505
|
-
"name": "
|
|
3506
|
-
"module": "src/
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3543
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3507
3544
|
}
|
|
3508
3545
|
}
|
|
3509
3546
|
]
|
|
3510
3547
|
},
|
|
3511
3548
|
{
|
|
3512
3549
|
"kind": "javascript-module",
|
|
3513
|
-
"path": "src/
|
|
3550
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3551
|
+
"declarations": [
|
|
3552
|
+
{
|
|
3553
|
+
"kind": "variable",
|
|
3554
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3555
|
+
"type": {
|
|
3556
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3557
|
+
},
|
|
3558
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"exports": [
|
|
3562
|
+
{
|
|
3563
|
+
"kind": "js",
|
|
3564
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3565
|
+
"declaration": {
|
|
3566
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3567
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
]
|
|
3571
|
+
},
|
|
3572
|
+
{
|
|
3573
|
+
"kind": "javascript-module",
|
|
3574
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3514
3575
|
"declarations": [
|
|
3515
3576
|
{
|
|
3516
3577
|
"kind": "class",
|
|
3517
3578
|
"description": "",
|
|
3518
|
-
"name": "
|
|
3519
|
-
"
|
|
3520
|
-
"name": "FASTAccordion",
|
|
3521
|
-
"package": "@microsoft/fast-foundation"
|
|
3522
|
-
},
|
|
3523
|
-
"tagName": "%%prefix%%-accordion",
|
|
3524
|
-
"customElement": true,
|
|
3525
|
-
"attributes": [
|
|
3579
|
+
"name": "AiIndicator",
|
|
3580
|
+
"members": [
|
|
3526
3581
|
{
|
|
3527
|
-
"
|
|
3582
|
+
"kind": "field",
|
|
3583
|
+
"name": "aiProvider",
|
|
3528
3584
|
"type": {
|
|
3529
|
-
"text": "
|
|
3530
|
-
},
|
|
3531
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3532
|
-
"fieldName": "expandmode",
|
|
3533
|
-
"inheritedFrom": {
|
|
3534
|
-
"name": "Accordion",
|
|
3535
|
-
"module": "src/accordion/accordion.ts"
|
|
3585
|
+
"text": "AIProvider"
|
|
3536
3586
|
}
|
|
3537
|
-
}
|
|
3538
|
-
],
|
|
3539
|
-
"members": [
|
|
3587
|
+
},
|
|
3540
3588
|
{
|
|
3541
3589
|
"kind": "field",
|
|
3542
|
-
"name": "
|
|
3590
|
+
"name": "status",
|
|
3543
3591
|
"type": {
|
|
3544
|
-
"text": "
|
|
3592
|
+
"text": "AIStatus | null"
|
|
3545
3593
|
},
|
|
3546
|
-
"
|
|
3547
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3548
|
-
"inheritedFrom": {
|
|
3549
|
-
"name": "Accordion",
|
|
3550
|
-
"module": "src/accordion/accordion.ts"
|
|
3551
|
-
}
|
|
3594
|
+
"default": "null"
|
|
3552
3595
|
},
|
|
3553
3596
|
{
|
|
3554
3597
|
"kind": "field",
|
|
3555
|
-
"name": "
|
|
3598
|
+
"name": "open",
|
|
3556
3599
|
"type": {
|
|
3557
|
-
"text": "
|
|
3600
|
+
"text": "boolean"
|
|
3558
3601
|
},
|
|
3559
|
-
"
|
|
3560
|
-
"inheritedFrom": {
|
|
3561
|
-
"name": "Accordion",
|
|
3562
|
-
"module": "src/accordion/accordion.ts"
|
|
3563
|
-
}
|
|
3602
|
+
"default": "false"
|
|
3564
3603
|
},
|
|
3565
3604
|
{
|
|
3566
3605
|
"kind": "field",
|
|
3567
|
-
"name": "
|
|
3606
|
+
"name": "state",
|
|
3568
3607
|
"type": {
|
|
3569
|
-
"text": "
|
|
3608
|
+
"text": "AIIndicatorState"
|
|
3570
3609
|
},
|
|
3571
|
-
"
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3610
|
+
"default": "'none'"
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
"kind": "field",
|
|
3614
|
+
"name": "isInstalling",
|
|
3615
|
+
"type": {
|
|
3616
|
+
"text": "boolean"
|
|
3617
|
+
},
|
|
3618
|
+
"default": "false"
|
|
3577
3619
|
},
|
|
3578
3620
|
{
|
|
3579
3621
|
"kind": "field",
|
|
3580
|
-
"name": "
|
|
3622
|
+
"name": "pollTimer",
|
|
3581
3623
|
"type": {
|
|
3582
|
-
"text": "
|
|
3624
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3583
3625
|
},
|
|
3584
3626
|
"privacy": "private",
|
|
3585
|
-
"
|
|
3586
|
-
"name": "Accordion",
|
|
3587
|
-
"module": "src/accordion/accordion.ts"
|
|
3588
|
-
}
|
|
3627
|
+
"default": "null"
|
|
3589
3628
|
},
|
|
3590
3629
|
{
|
|
3591
3630
|
"kind": "field",
|
|
3592
|
-
"name": "
|
|
3593
|
-
"privacy": "private"
|
|
3594
|
-
"inheritedFrom": {
|
|
3595
|
-
"name": "Accordion",
|
|
3596
|
-
"module": "src/accordion/accordion.ts"
|
|
3597
|
-
}
|
|
3631
|
+
"name": "clickOutside",
|
|
3632
|
+
"privacy": "private"
|
|
3598
3633
|
},
|
|
3599
3634
|
{
|
|
3600
|
-
"kind": "
|
|
3601
|
-
"name": "
|
|
3602
|
-
"
|
|
3603
|
-
|
|
3604
|
-
"type": {
|
|
3605
|
-
"text": "AccordionItem | null"
|
|
3606
|
-
}
|
|
3635
|
+
"kind": "field",
|
|
3636
|
+
"name": "chromeStatusLabel",
|
|
3637
|
+
"type": {
|
|
3638
|
+
"text": "string | null"
|
|
3607
3639
|
},
|
|
3608
|
-
"
|
|
3609
|
-
"name": "Accordion",
|
|
3610
|
-
"module": "src/accordion/accordion.ts"
|
|
3611
|
-
}
|
|
3640
|
+
"readonly": true
|
|
3612
3641
|
},
|
|
3613
3642
|
{
|
|
3614
3643
|
"kind": "field",
|
|
3615
|
-
"name": "
|
|
3616
|
-
"
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3644
|
+
"name": "canInstall",
|
|
3645
|
+
"type": {
|
|
3646
|
+
"text": "boolean"
|
|
3647
|
+
},
|
|
3648
|
+
"readonly": true
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"kind": "field",
|
|
3652
|
+
"name": "isDownloading",
|
|
3653
|
+
"type": {
|
|
3654
|
+
"text": "boolean"
|
|
3655
|
+
},
|
|
3656
|
+
"readonly": true
|
|
3621
3657
|
},
|
|
3622
3658
|
{
|
|
3623
3659
|
"kind": "method",
|
|
3624
|
-
"name": "
|
|
3625
|
-
"privacy": "private",
|
|
3660
|
+
"name": "openChanged",
|
|
3626
3661
|
"return": {
|
|
3627
3662
|
"type": {
|
|
3628
3663
|
"text": "void"
|
|
3629
3664
|
}
|
|
3630
|
-
},
|
|
3631
|
-
"inheritedFrom": {
|
|
3632
|
-
"name": "Accordion",
|
|
3633
|
-
"module": "src/accordion/accordion.ts"
|
|
3634
3665
|
}
|
|
3635
3666
|
},
|
|
3636
3667
|
{
|
|
3637
|
-
"kind": "
|
|
3638
|
-
"name": "
|
|
3668
|
+
"kind": "method",
|
|
3669
|
+
"name": "handleClickOutside",
|
|
3639
3670
|
"privacy": "private",
|
|
3640
|
-
"
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3671
|
+
"parameters": [
|
|
3672
|
+
{
|
|
3673
|
+
"name": "event",
|
|
3674
|
+
"type": {
|
|
3675
|
+
"text": "MouseEvent"
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
]
|
|
3644
3679
|
},
|
|
3645
3680
|
{
|
|
3646
|
-
"kind": "
|
|
3647
|
-
"name": "
|
|
3648
|
-
"privacy": "private",
|
|
3649
|
-
"inheritedFrom": {
|
|
3650
|
-
"name": "Accordion",
|
|
3651
|
-
"module": "src/accordion/accordion.ts"
|
|
3652
|
-
}
|
|
3681
|
+
"kind": "method",
|
|
3682
|
+
"name": "toggleDropdown"
|
|
3653
3683
|
},
|
|
3654
3684
|
{
|
|
3655
3685
|
"kind": "method",
|
|
3656
|
-
"name": "
|
|
3657
|
-
"privacy": "private",
|
|
3686
|
+
"name": "refreshStatus",
|
|
3658
3687
|
"return": {
|
|
3659
3688
|
"type": {
|
|
3660
|
-
"text": "
|
|
3689
|
+
"text": "Promise<void>"
|
|
3661
3690
|
}
|
|
3662
|
-
},
|
|
3663
|
-
"inheritedFrom": {
|
|
3664
|
-
"name": "Accordion",
|
|
3665
|
-
"module": "src/accordion/accordion.ts"
|
|
3666
3691
|
}
|
|
3667
3692
|
},
|
|
3668
3693
|
{
|
|
3669
3694
|
"kind": "method",
|
|
3670
|
-
"name": "
|
|
3695
|
+
"name": "deriveState",
|
|
3671
3696
|
"privacy": "private",
|
|
3672
3697
|
"return": {
|
|
3673
3698
|
"type": {
|
|
3674
|
-
"text": "
|
|
3699
|
+
"text": "AIIndicatorState"
|
|
3675
3700
|
}
|
|
3676
3701
|
},
|
|
3677
|
-
"
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3702
|
+
"parameters": [
|
|
3703
|
+
{
|
|
3704
|
+
"name": "s",
|
|
3705
|
+
"type": {
|
|
3706
|
+
"text": "AIStatus | null"
|
|
3707
|
+
}
|
|
3708
|
+
}
|
|
3709
|
+
]
|
|
3681
3710
|
},
|
|
3682
3711
|
{
|
|
3683
|
-
"kind": "
|
|
3684
|
-
"name": "
|
|
3712
|
+
"kind": "method",
|
|
3713
|
+
"name": "maybeStartPolling",
|
|
3685
3714
|
"privacy": "private",
|
|
3686
|
-
"
|
|
3687
|
-
"
|
|
3688
|
-
|
|
3715
|
+
"return": {
|
|
3716
|
+
"type": {
|
|
3717
|
+
"text": "void"
|
|
3718
|
+
}
|
|
3689
3719
|
}
|
|
3690
3720
|
},
|
|
3691
3721
|
{
|
|
3692
|
-
"kind": "
|
|
3693
|
-
"name": "
|
|
3722
|
+
"kind": "method",
|
|
3723
|
+
"name": "startPolling",
|
|
3694
3724
|
"privacy": "private",
|
|
3695
|
-
"
|
|
3696
|
-
"
|
|
3697
|
-
|
|
3725
|
+
"return": {
|
|
3726
|
+
"type": {
|
|
3727
|
+
"text": "void"
|
|
3728
|
+
}
|
|
3698
3729
|
}
|
|
3699
3730
|
},
|
|
3700
3731
|
{
|
|
3701
3732
|
"kind": "method",
|
|
3702
|
-
"name": "
|
|
3733
|
+
"name": "stopPolling",
|
|
3703
3734
|
"privacy": "private",
|
|
3704
3735
|
"return": {
|
|
3705
3736
|
"type": {
|
|
3706
3737
|
"text": "void"
|
|
3707
3738
|
}
|
|
3708
|
-
},
|
|
3709
|
-
"parameters": [
|
|
3710
|
-
{
|
|
3711
|
-
"name": "adjustment",
|
|
3712
|
-
"type": {
|
|
3713
|
-
"text": "number"
|
|
3714
|
-
}
|
|
3715
|
-
}
|
|
3716
|
-
],
|
|
3717
|
-
"inheritedFrom": {
|
|
3718
|
-
"name": "Accordion",
|
|
3719
|
-
"module": "src/accordion/accordion.ts"
|
|
3720
3739
|
}
|
|
3721
3740
|
},
|
|
3722
3741
|
{
|
|
3723
3742
|
"kind": "method",
|
|
3724
|
-
"name": "
|
|
3725
|
-
"privacy": "private",
|
|
3743
|
+
"name": "onInstall",
|
|
3726
3744
|
"return": {
|
|
3727
3745
|
"type": {
|
|
3728
|
-
"text": "void"
|
|
3746
|
+
"text": "Promise<void>"
|
|
3729
3747
|
}
|
|
3730
|
-
},
|
|
3731
|
-
"inheritedFrom": {
|
|
3732
|
-
"name": "Accordion",
|
|
3733
|
-
"module": "src/accordion/accordion.ts"
|
|
3734
3748
|
}
|
|
3735
3749
|
},
|
|
3736
3750
|
{
|
|
@@ -3845,102 +3859,88 @@
|
|
|
3845
3859
|
}
|
|
3846
3860
|
}
|
|
3847
3861
|
],
|
|
3848
|
-
"
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
"name": "change",
|
|
3852
|
-
"inheritedFrom": {
|
|
3853
|
-
"name": "Accordion",
|
|
3854
|
-
"module": "src/accordion/accordion.ts"
|
|
3855
|
-
}
|
|
3856
|
-
}
|
|
3857
|
-
]
|
|
3858
|
-
},
|
|
3859
|
-
{
|
|
3860
|
-
"kind": "variable",
|
|
3861
|
-
"name": "foundationAccordionShadowOptions",
|
|
3862
|
-
"type": {
|
|
3863
|
-
"text": "ShadowRootInit"
|
|
3864
|
-
},
|
|
3865
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3866
|
-
},
|
|
3867
|
-
{
|
|
3868
|
-
"kind": "variable",
|
|
3869
|
-
"name": "defaultAccordionConfig",
|
|
3870
|
-
"type": {
|
|
3871
|
-
"text": "object"
|
|
3862
|
+
"superclass": {
|
|
3863
|
+
"name": "FoundationElement",
|
|
3864
|
+
"package": "@microsoft/fast-foundation"
|
|
3872
3865
|
},
|
|
3873
|
-
"
|
|
3866
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3867
|
+
"customElement": true
|
|
3874
3868
|
},
|
|
3875
3869
|
{
|
|
3876
3870
|
"kind": "variable",
|
|
3877
|
-
"name": "
|
|
3878
|
-
"description": "The Foundation Accordion",
|
|
3879
|
-
"privacy": "public"
|
|
3871
|
+
"name": "foundationAiIndicator"
|
|
3880
3872
|
}
|
|
3881
3873
|
],
|
|
3882
3874
|
"exports": [
|
|
3883
3875
|
{
|
|
3884
3876
|
"kind": "js",
|
|
3885
|
-
"name": "
|
|
3877
|
+
"name": "AiIndicator",
|
|
3886
3878
|
"declaration": {
|
|
3887
|
-
"name": "
|
|
3888
|
-
"module": "src/
|
|
3879
|
+
"name": "AiIndicator",
|
|
3880
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3889
3881
|
}
|
|
3890
3882
|
},
|
|
3891
3883
|
{
|
|
3892
3884
|
"kind": "js",
|
|
3893
|
-
"name": "
|
|
3885
|
+
"name": "foundationAiIndicator",
|
|
3894
3886
|
"declaration": {
|
|
3895
|
-
"name": "
|
|
3896
|
-
"module": "src/
|
|
3887
|
+
"name": "foundationAiIndicator",
|
|
3888
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
]
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"kind": "javascript-module",
|
|
3895
|
+
"path": "src/ai-indicator/index.ts",
|
|
3896
|
+
"declarations": [],
|
|
3897
|
+
"exports": [
|
|
3898
|
+
{
|
|
3899
|
+
"kind": "js",
|
|
3900
|
+
"name": "AiIndicator",
|
|
3901
|
+
"declaration": {
|
|
3902
|
+
"name": "AiIndicator",
|
|
3903
|
+
"module": "./ai-indicator"
|
|
3897
3904
|
}
|
|
3898
3905
|
},
|
|
3899
3906
|
{
|
|
3900
3907
|
"kind": "js",
|
|
3901
|
-
"name": "
|
|
3908
|
+
"name": "foundationAiIndicator",
|
|
3902
3909
|
"declaration": {
|
|
3903
|
-
"name": "
|
|
3904
|
-
"module": "
|
|
3910
|
+
"name": "foundationAiIndicator",
|
|
3911
|
+
"module": "./ai-indicator"
|
|
3905
3912
|
}
|
|
3906
3913
|
},
|
|
3907
3914
|
{
|
|
3908
3915
|
"kind": "js",
|
|
3909
|
-
"name": "
|
|
3916
|
+
"name": "type",
|
|
3910
3917
|
"declaration": {
|
|
3911
|
-
"name": "
|
|
3912
|
-
"module": "
|
|
3918
|
+
"name": "type",
|
|
3919
|
+
"module": "./ai-indicator"
|
|
3913
3920
|
}
|
|
3914
|
-
}
|
|
3915
|
-
]
|
|
3916
|
-
},
|
|
3917
|
-
{
|
|
3918
|
-
"kind": "javascript-module",
|
|
3919
|
-
"path": "src/accordion/index.ts",
|
|
3920
|
-
"declarations": [],
|
|
3921
|
-
"exports": [
|
|
3921
|
+
},
|
|
3922
3922
|
{
|
|
3923
3923
|
"kind": "js",
|
|
3924
|
-
"name": "
|
|
3924
|
+
"name": "AIIndicatorState",
|
|
3925
3925
|
"declaration": {
|
|
3926
|
-
"name": "
|
|
3927
|
-
"
|
|
3926
|
+
"name": "AIIndicatorState",
|
|
3927
|
+
"module": "./ai-indicator"
|
|
3928
3928
|
}
|
|
3929
3929
|
},
|
|
3930
3930
|
{
|
|
3931
3931
|
"kind": "js",
|
|
3932
|
-
"name": "
|
|
3932
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3933
3933
|
"declaration": {
|
|
3934
|
-
"name": "
|
|
3935
|
-
"
|
|
3934
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3935
|
+
"module": "./ai-indicator.template"
|
|
3936
3936
|
}
|
|
3937
3937
|
},
|
|
3938
3938
|
{
|
|
3939
3939
|
"kind": "js",
|
|
3940
|
-
"name": "
|
|
3940
|
+
"name": "foundationAiIndicatorStyles",
|
|
3941
3941
|
"declaration": {
|
|
3942
|
-
"name": "
|
|
3943
|
-
"
|
|
3942
|
+
"name": "foundationAiIndicatorStyles",
|
|
3943
|
+
"module": "./ai-indicator.styles"
|
|
3944
3944
|
}
|
|
3945
3945
|
}
|
|
3946
3946
|
]
|