@genesislcap/foundation-ui 15.8.1-PTC-0.1 → 15.8.2-FUI-0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1080 -1142
- package/dist/dts/icon/icon.d.ts +0 -14
- package/dist/dts/icon/icon.d.ts.map +1 -1
- package/dist/dts/icon/icon.styles.d.ts +0 -15
- package/dist/dts/icon/icon.styles.d.ts.map +1 -1
- package/dist/dts/icon/icon.template.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/dts/search-bar/search-bar.d.ts.map +1 -1
- package/dist/esm/icon/icon.js +1 -76
- package/dist/esm/icon/icon.styles.js +13 -30
- package/dist/esm/icon/icon.template.js +8 -1
- package/dist/esm/search-bar/search-bar.js +3 -0
- package/dist/foundation-ui.api.json +0 -85
- package/dist/foundation-ui.d.ts +0 -31
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1424,11 +1424,42 @@
|
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
1426
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
1427
|
+
"path": "src/_config/index.ts",
|
|
1428
|
+
"declarations": [],
|
|
1429
|
+
"exports": [
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "*",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "*",
|
|
1435
|
+
"package": "./styles"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "*",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "*",
|
|
1443
|
+
"package": "./tokens"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"kind": "js",
|
|
1448
|
+
"name": "*",
|
|
1449
|
+
"declaration": {
|
|
1450
|
+
"name": "*",
|
|
1451
|
+
"package": "./values"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"kind": "javascript-module",
|
|
1458
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1428
1459
|
"declarations": [
|
|
1429
1460
|
{
|
|
1430
1461
|
"kind": "function",
|
|
1431
|
-
"name": "
|
|
1462
|
+
"name": "foundationAccordionItemStyles",
|
|
1432
1463
|
"return": {
|
|
1433
1464
|
"type": {
|
|
1434
1465
|
"text": "ElementStyles"
|
|
@@ -1453,24 +1484,24 @@
|
|
|
1453
1484
|
"exports": [
|
|
1454
1485
|
{
|
|
1455
1486
|
"kind": "js",
|
|
1456
|
-
"name": "
|
|
1487
|
+
"name": "foundationAccordionItemStyles",
|
|
1457
1488
|
"declaration": {
|
|
1458
|
-
"name": "
|
|
1459
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1489
|
+
"name": "foundationAccordionItemStyles",
|
|
1490
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1460
1491
|
}
|
|
1461
1492
|
}
|
|
1462
1493
|
]
|
|
1463
1494
|
},
|
|
1464
1495
|
{
|
|
1465
1496
|
"kind": "javascript-module",
|
|
1466
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1497
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1467
1498
|
"declarations": [
|
|
1468
1499
|
{
|
|
1469
1500
|
"kind": "function",
|
|
1470
|
-
"name": "
|
|
1501
|
+
"name": "foundationAccordionItemTemplate",
|
|
1471
1502
|
"return": {
|
|
1472
1503
|
"type": {
|
|
1473
|
-
"text": "ViewTemplate<
|
|
1504
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1474
1505
|
}
|
|
1475
1506
|
},
|
|
1476
1507
|
"parameters": [
|
|
@@ -1492,365 +1523,244 @@
|
|
|
1492
1523
|
"exports": [
|
|
1493
1524
|
{
|
|
1494
1525
|
"kind": "js",
|
|
1495
|
-
"name": "
|
|
1526
|
+
"name": "foundationAccordionItemTemplate",
|
|
1496
1527
|
"declaration": {
|
|
1497
|
-
"name": "
|
|
1498
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1528
|
+
"name": "foundationAccordionItemTemplate",
|
|
1529
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1499
1530
|
}
|
|
1500
1531
|
}
|
|
1501
1532
|
]
|
|
1502
1533
|
},
|
|
1503
1534
|
{
|
|
1504
1535
|
"kind": "javascript-module",
|
|
1505
|
-
"path": "src/accordion/accordion.ts",
|
|
1536
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1506
1537
|
"declarations": [
|
|
1507
1538
|
{
|
|
1508
1539
|
"kind": "class",
|
|
1509
1540
|
"description": "",
|
|
1510
|
-
"name": "
|
|
1541
|
+
"name": "AccordionItem",
|
|
1511
1542
|
"superclass": {
|
|
1512
|
-
"name": "
|
|
1513
|
-
"package": "@microsoft/fast-
|
|
1543
|
+
"name": "FASTAccordionItem",
|
|
1544
|
+
"package": "@microsoft/fast-components"
|
|
1514
1545
|
},
|
|
1515
|
-
"tagName": "%%prefix%%-accordion",
|
|
1546
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1516
1547
|
"customElement": true,
|
|
1517
1548
|
"attributes": [
|
|
1518
1549
|
{
|
|
1519
|
-
"name": "
|
|
1550
|
+
"name": "heading-level",
|
|
1520
1551
|
"type": {
|
|
1521
|
-
"text": "
|
|
1552
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1522
1553
|
},
|
|
1523
|
-
"
|
|
1524
|
-
"
|
|
1554
|
+
"default": "2",
|
|
1555
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1556
|
+
"fieldName": "headinglevel",
|
|
1525
1557
|
"inheritedFrom": {
|
|
1526
|
-
"name": "
|
|
1527
|
-
"module": "src/accordion/accordion.ts"
|
|
1558
|
+
"name": "AccordionItem",
|
|
1559
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"type": {
|
|
1564
|
+
"text": "boolean"
|
|
1565
|
+
},
|
|
1566
|
+
"default": "false",
|
|
1567
|
+
"description": "Expands or collapses the item.",
|
|
1568
|
+
"fieldName": "expanded",
|
|
1569
|
+
"inheritedFrom": {
|
|
1570
|
+
"name": "AccordionItem",
|
|
1571
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "id",
|
|
1576
|
+
"type": {
|
|
1577
|
+
"text": "string"
|
|
1578
|
+
},
|
|
1579
|
+
"description": "The item ID",
|
|
1580
|
+
"fieldName": "id",
|
|
1581
|
+
"inheritedFrom": {
|
|
1582
|
+
"name": "AccordionItem",
|
|
1583
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1528
1584
|
}
|
|
1529
1585
|
}
|
|
1530
1586
|
],
|
|
1531
1587
|
"members": [
|
|
1532
1588
|
{
|
|
1533
1589
|
"kind": "field",
|
|
1534
|
-
"name": "
|
|
1590
|
+
"name": "headinglevel",
|
|
1535
1591
|
"type": {
|
|
1536
|
-
"text": "
|
|
1592
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1537
1593
|
},
|
|
1538
1594
|
"privacy": "public",
|
|
1539
|
-
"
|
|
1595
|
+
"default": "2",
|
|
1596
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1540
1597
|
"inheritedFrom": {
|
|
1541
|
-
"name": "
|
|
1542
|
-
"module": "src/accordion/accordion.ts"
|
|
1598
|
+
"name": "AccordionItem",
|
|
1599
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1543
1600
|
}
|
|
1544
1601
|
},
|
|
1545
1602
|
{
|
|
1546
1603
|
"kind": "field",
|
|
1547
|
-
"name": "
|
|
1604
|
+
"name": "expanded",
|
|
1548
1605
|
"type": {
|
|
1549
|
-
"text": "
|
|
1606
|
+
"text": "boolean"
|
|
1550
1607
|
},
|
|
1551
|
-
"privacy": "
|
|
1608
|
+
"privacy": "public",
|
|
1609
|
+
"default": "false",
|
|
1610
|
+
"description": "Expands or collapses the item.",
|
|
1552
1611
|
"inheritedFrom": {
|
|
1553
|
-
"name": "
|
|
1554
|
-
"module": "src/accordion/accordion.ts"
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1555
1614
|
}
|
|
1556
1615
|
},
|
|
1557
1616
|
{
|
|
1558
1617
|
"kind": "field",
|
|
1559
|
-
"name": "
|
|
1618
|
+
"name": "id",
|
|
1560
1619
|
"type": {
|
|
1561
|
-
"text": "
|
|
1620
|
+
"text": "string"
|
|
1562
1621
|
},
|
|
1563
|
-
"privacy": "
|
|
1564
|
-
"
|
|
1622
|
+
"privacy": "public",
|
|
1623
|
+
"description": "The item ID",
|
|
1565
1624
|
"inheritedFrom": {
|
|
1566
|
-
"name": "
|
|
1567
|
-
"module": "src/accordion/accordion.ts"
|
|
1625
|
+
"name": "AccordionItem",
|
|
1626
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1568
1627
|
}
|
|
1569
1628
|
},
|
|
1570
1629
|
{
|
|
1571
1630
|
"kind": "field",
|
|
1572
|
-
"name": "
|
|
1573
|
-
"type": {
|
|
1574
|
-
"text": "Array<string | null>"
|
|
1575
|
-
},
|
|
1631
|
+
"name": "change",
|
|
1576
1632
|
"privacy": "private",
|
|
1577
1633
|
"inheritedFrom": {
|
|
1578
|
-
"name": "
|
|
1579
|
-
"module": "src/accordion/accordion.ts"
|
|
1634
|
+
"name": "AccordionItem",
|
|
1635
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1580
1636
|
}
|
|
1581
1637
|
},
|
|
1582
1638
|
{
|
|
1583
1639
|
"kind": "field",
|
|
1584
|
-
"name": "
|
|
1640
|
+
"name": "_presentation",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1643
|
+
},
|
|
1585
1644
|
"privacy": "private",
|
|
1645
|
+
"default": "void 0",
|
|
1586
1646
|
"inheritedFrom": {
|
|
1587
|
-
"name": "
|
|
1588
|
-
"module": "src/
|
|
1647
|
+
"name": "FoundationElement",
|
|
1648
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1589
1649
|
}
|
|
1590
1650
|
},
|
|
1591
1651
|
{
|
|
1592
|
-
"kind": "
|
|
1593
|
-
"name": "
|
|
1594
|
-
"
|
|
1595
|
-
|
|
1596
|
-
"type": {
|
|
1597
|
-
"text": "AccordionItem | null"
|
|
1598
|
-
}
|
|
1652
|
+
"kind": "field",
|
|
1653
|
+
"name": "$presentation",
|
|
1654
|
+
"type": {
|
|
1655
|
+
"text": "ComponentPresentation | null"
|
|
1599
1656
|
},
|
|
1657
|
+
"privacy": "public",
|
|
1658
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1600
1659
|
"inheritedFrom": {
|
|
1601
|
-
"name": "
|
|
1602
|
-
"module": "src/
|
|
1660
|
+
"name": "FoundationElement",
|
|
1661
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1603
1662
|
}
|
|
1604
1663
|
},
|
|
1605
1664
|
{
|
|
1606
1665
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1608
|
-
"
|
|
1666
|
+
"name": "template",
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "ElementViewTemplate | void | null"
|
|
1669
|
+
},
|
|
1670
|
+
"privacy": "public",
|
|
1671
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1609
1672
|
"inheritedFrom": {
|
|
1610
|
-
"name": "
|
|
1611
|
-
"module": "src/
|
|
1673
|
+
"name": "FoundationElement",
|
|
1674
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1612
1675
|
}
|
|
1613
1676
|
},
|
|
1614
1677
|
{
|
|
1615
1678
|
"kind": "method",
|
|
1616
|
-
"name": "
|
|
1617
|
-
"privacy": "
|
|
1679
|
+
"name": "templateChanged",
|
|
1680
|
+
"privacy": "protected",
|
|
1618
1681
|
"return": {
|
|
1619
1682
|
"type": {
|
|
1620
1683
|
"text": "void"
|
|
1621
1684
|
}
|
|
1622
1685
|
},
|
|
1623
1686
|
"inheritedFrom": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/
|
|
1626
|
-
}
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"kind": "field",
|
|
1630
|
-
"name": "removeItemListeners",
|
|
1631
|
-
"privacy": "private",
|
|
1632
|
-
"inheritedFrom": {
|
|
1633
|
-
"name": "Accordion",
|
|
1634
|
-
"module": "src/accordion/accordion.ts"
|
|
1687
|
+
"name": "FoundationElement",
|
|
1688
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1635
1689
|
}
|
|
1636
1690
|
},
|
|
1637
1691
|
{
|
|
1638
1692
|
"kind": "field",
|
|
1639
|
-
"name": "
|
|
1640
|
-
"
|
|
1693
|
+
"name": "styles",
|
|
1694
|
+
"type": {
|
|
1695
|
+
"text": "ElementStyles | void | null"
|
|
1696
|
+
},
|
|
1697
|
+
"privacy": "public",
|
|
1698
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1641
1699
|
"inheritedFrom": {
|
|
1642
|
-
"name": "
|
|
1643
|
-
"module": "src/
|
|
1700
|
+
"name": "FoundationElement",
|
|
1701
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1644
1702
|
}
|
|
1645
1703
|
},
|
|
1646
1704
|
{
|
|
1647
1705
|
"kind": "method",
|
|
1648
|
-
"name": "
|
|
1649
|
-
"privacy": "
|
|
1706
|
+
"name": "stylesChanged",
|
|
1707
|
+
"privacy": "protected",
|
|
1650
1708
|
"return": {
|
|
1651
1709
|
"type": {
|
|
1652
|
-
"text": "
|
|
1710
|
+
"text": "void"
|
|
1653
1711
|
}
|
|
1654
1712
|
},
|
|
1655
1713
|
"inheritedFrom": {
|
|
1656
|
-
"name": "
|
|
1657
|
-
"module": "src/
|
|
1714
|
+
"name": "FoundationElement",
|
|
1715
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1658
1716
|
}
|
|
1659
1717
|
},
|
|
1660
1718
|
{
|
|
1661
1719
|
"kind": "method",
|
|
1662
|
-
"name": "
|
|
1663
|
-
"privacy": "
|
|
1720
|
+
"name": "compose",
|
|
1721
|
+
"privacy": "public",
|
|
1722
|
+
"static": true,
|
|
1664
1723
|
"return": {
|
|
1665
1724
|
"type": {
|
|
1666
|
-
"text": "
|
|
1725
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1667
1726
|
}
|
|
1668
1727
|
},
|
|
1728
|
+
"parameters": [
|
|
1729
|
+
{
|
|
1730
|
+
"name": "this",
|
|
1731
|
+
"type": {
|
|
1732
|
+
"text": "K"
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"name": "elementDefinition",
|
|
1737
|
+
"type": {
|
|
1738
|
+
"text": "T"
|
|
1739
|
+
},
|
|
1740
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1741
|
+
}
|
|
1742
|
+
],
|
|
1743
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1669
1744
|
"inheritedFrom": {
|
|
1670
|
-
"name": "
|
|
1671
|
-
"module": "src/
|
|
1745
|
+
"name": "FoundationElement",
|
|
1746
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1672
1747
|
}
|
|
1673
|
-
}
|
|
1748
|
+
}
|
|
1749
|
+
],
|
|
1750
|
+
"events": [
|
|
1674
1751
|
{
|
|
1675
|
-
"
|
|
1676
|
-
"name": "handleItemKeyDown",
|
|
1677
|
-
"privacy": "private",
|
|
1678
|
-
"inheritedFrom": {
|
|
1679
|
-
"name": "Accordion",
|
|
1680
|
-
"module": "src/accordion/accordion.ts"
|
|
1681
|
-
}
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"kind": "field",
|
|
1685
|
-
"name": "handleItemFocus",
|
|
1686
|
-
"privacy": "private",
|
|
1687
|
-
"inheritedFrom": {
|
|
1688
|
-
"name": "Accordion",
|
|
1689
|
-
"module": "src/accordion/accordion.ts"
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1692
|
-
{
|
|
1693
|
-
"kind": "method",
|
|
1694
|
-
"name": "adjust",
|
|
1695
|
-
"privacy": "private",
|
|
1696
|
-
"return": {
|
|
1697
|
-
"type": {
|
|
1698
|
-
"text": "void"
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
"parameters": [
|
|
1702
|
-
{
|
|
1703
|
-
"name": "adjustment",
|
|
1704
|
-
"type": {
|
|
1705
|
-
"text": "number"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
],
|
|
1709
|
-
"inheritedFrom": {
|
|
1710
|
-
"name": "Accordion",
|
|
1711
|
-
"module": "src/accordion/accordion.ts"
|
|
1712
|
-
}
|
|
1713
|
-
},
|
|
1714
|
-
{
|
|
1715
|
-
"kind": "method",
|
|
1716
|
-
"name": "focusItem",
|
|
1717
|
-
"privacy": "private",
|
|
1718
|
-
"return": {
|
|
1719
|
-
"type": {
|
|
1720
|
-
"text": "void"
|
|
1721
|
-
}
|
|
1722
|
-
},
|
|
1723
|
-
"inheritedFrom": {
|
|
1724
|
-
"name": "Accordion",
|
|
1725
|
-
"module": "src/accordion/accordion.ts"
|
|
1726
|
-
}
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
"kind": "field",
|
|
1730
|
-
"name": "_presentation",
|
|
1731
|
-
"type": {
|
|
1732
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1733
|
-
},
|
|
1734
|
-
"privacy": "private",
|
|
1735
|
-
"default": "void 0",
|
|
1736
|
-
"inheritedFrom": {
|
|
1737
|
-
"name": "FoundationElement",
|
|
1738
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"kind": "field",
|
|
1743
|
-
"name": "$presentation",
|
|
1744
|
-
"type": {
|
|
1745
|
-
"text": "ComponentPresentation | null"
|
|
1746
|
-
},
|
|
1747
|
-
"privacy": "public",
|
|
1748
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1749
|
-
"inheritedFrom": {
|
|
1750
|
-
"name": "FoundationElement",
|
|
1751
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1752
|
-
}
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "field",
|
|
1756
|
-
"name": "template",
|
|
1757
|
-
"type": {
|
|
1758
|
-
"text": "ElementViewTemplate | void | null"
|
|
1759
|
-
},
|
|
1760
|
-
"privacy": "public",
|
|
1761
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1762
|
-
"inheritedFrom": {
|
|
1763
|
-
"name": "FoundationElement",
|
|
1764
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1765
|
-
}
|
|
1766
|
-
},
|
|
1767
|
-
{
|
|
1768
|
-
"kind": "method",
|
|
1769
|
-
"name": "templateChanged",
|
|
1770
|
-
"privacy": "protected",
|
|
1771
|
-
"return": {
|
|
1772
|
-
"type": {
|
|
1773
|
-
"text": "void"
|
|
1774
|
-
}
|
|
1775
|
-
},
|
|
1776
|
-
"inheritedFrom": {
|
|
1777
|
-
"name": "FoundationElement",
|
|
1778
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1779
|
-
}
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"kind": "field",
|
|
1783
|
-
"name": "styles",
|
|
1784
|
-
"type": {
|
|
1785
|
-
"text": "ElementStyles | void | null"
|
|
1786
|
-
},
|
|
1787
|
-
"privacy": "public",
|
|
1788
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1789
|
-
"inheritedFrom": {
|
|
1790
|
-
"name": "FoundationElement",
|
|
1791
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
"kind": "method",
|
|
1796
|
-
"name": "stylesChanged",
|
|
1797
|
-
"privacy": "protected",
|
|
1798
|
-
"return": {
|
|
1799
|
-
"type": {
|
|
1800
|
-
"text": "void"
|
|
1801
|
-
}
|
|
1802
|
-
},
|
|
1803
|
-
"inheritedFrom": {
|
|
1804
|
-
"name": "FoundationElement",
|
|
1805
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "method",
|
|
1810
|
-
"name": "compose",
|
|
1811
|
-
"privacy": "public",
|
|
1812
|
-
"static": true,
|
|
1813
|
-
"return": {
|
|
1814
|
-
"type": {
|
|
1815
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
"parameters": [
|
|
1819
|
-
{
|
|
1820
|
-
"name": "this",
|
|
1821
|
-
"type": {
|
|
1822
|
-
"text": "K"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"name": "elementDefinition",
|
|
1827
|
-
"type": {
|
|
1828
|
-
"text": "T"
|
|
1829
|
-
},
|
|
1830
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1831
|
-
}
|
|
1832
|
-
],
|
|
1833
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1834
|
-
"inheritedFrom": {
|
|
1835
|
-
"name": "FoundationElement",
|
|
1836
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1837
|
-
}
|
|
1838
|
-
}
|
|
1839
|
-
],
|
|
1840
|
-
"events": [
|
|
1841
|
-
{
|
|
1842
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
1752
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1843
1753
|
"name": "change",
|
|
1844
1754
|
"inheritedFrom": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "src/accordion/accordion.ts"
|
|
1755
|
+
"name": "AccordionItem",
|
|
1756
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1847
1757
|
}
|
|
1848
1758
|
}
|
|
1849
1759
|
]
|
|
1850
1760
|
},
|
|
1851
1761
|
{
|
|
1852
1762
|
"kind": "variable",
|
|
1853
|
-
"name": "
|
|
1763
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1854
1764
|
"type": {
|
|
1855
1765
|
"text": "ShadowRootInit"
|
|
1856
1766
|
},
|
|
@@ -1858,88 +1768,57 @@
|
|
|
1858
1768
|
},
|
|
1859
1769
|
{
|
|
1860
1770
|
"kind": "variable",
|
|
1861
|
-
"name": "
|
|
1771
|
+
"name": "defaultAccordionItemConfig",
|
|
1862
1772
|
"type": {
|
|
1863
1773
|
"text": "object"
|
|
1864
1774
|
},
|
|
1865
|
-
"default": "{}"
|
|
1775
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1866
1776
|
},
|
|
1867
1777
|
{
|
|
1868
1778
|
"kind": "variable",
|
|
1869
|
-
"name": "
|
|
1870
|
-
"description": "The Foundation Accordion",
|
|
1779
|
+
"name": "foundationAccordionItem",
|
|
1780
|
+
"description": "The Foundation Accordion Item",
|
|
1871
1781
|
"privacy": "public"
|
|
1872
1782
|
}
|
|
1873
1783
|
],
|
|
1874
1784
|
"exports": [
|
|
1875
1785
|
{
|
|
1876
1786
|
"kind": "js",
|
|
1877
|
-
"name": "
|
|
1878
|
-
"declaration": {
|
|
1879
|
-
"name": "Accordion",
|
|
1880
|
-
"module": "src/accordion/accordion.ts"
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"kind": "js",
|
|
1885
|
-
"name": "foundationAccordionShadowOptions",
|
|
1886
|
-
"declaration": {
|
|
1887
|
-
"name": "foundationAccordionShadowOptions",
|
|
1888
|
-
"module": "src/accordion/accordion.ts"
|
|
1889
|
-
}
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
"kind": "js",
|
|
1893
|
-
"name": "defaultAccordionConfig",
|
|
1787
|
+
"name": "AccordionItem",
|
|
1894
1788
|
"declaration": {
|
|
1895
|
-
"name": "
|
|
1896
|
-
"module": "src/accordion/accordion.ts"
|
|
1789
|
+
"name": "AccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1897
1791
|
}
|
|
1898
1792
|
},
|
|
1899
1793
|
{
|
|
1900
1794
|
"kind": "js",
|
|
1901
|
-
"name": "
|
|
1902
|
-
"declaration": {
|
|
1903
|
-
"name": "foundationAccordion",
|
|
1904
|
-
"module": "src/accordion/accordion.ts"
|
|
1905
|
-
}
|
|
1906
|
-
}
|
|
1907
|
-
]
|
|
1908
|
-
},
|
|
1909
|
-
{
|
|
1910
|
-
"kind": "javascript-module",
|
|
1911
|
-
"path": "src/accordion/index.ts",
|
|
1912
|
-
"declarations": [],
|
|
1913
|
-
"exports": [
|
|
1914
|
-
{
|
|
1915
|
-
"kind": "js",
|
|
1916
|
-
"name": "*",
|
|
1795
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1917
1796
|
"declaration": {
|
|
1918
|
-
"name": "
|
|
1919
|
-
"
|
|
1797
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1798
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1920
1799
|
}
|
|
1921
1800
|
},
|
|
1922
1801
|
{
|
|
1923
1802
|
"kind": "js",
|
|
1924
|
-
"name": "
|
|
1803
|
+
"name": "defaultAccordionItemConfig",
|
|
1925
1804
|
"declaration": {
|
|
1926
|
-
"name": "
|
|
1927
|
-
"
|
|
1805
|
+
"name": "defaultAccordionItemConfig",
|
|
1806
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1928
1807
|
}
|
|
1929
1808
|
},
|
|
1930
1809
|
{
|
|
1931
1810
|
"kind": "js",
|
|
1932
|
-
"name": "
|
|
1811
|
+
"name": "foundationAccordionItem",
|
|
1933
1812
|
"declaration": {
|
|
1934
|
-
"name": "
|
|
1935
|
-
"
|
|
1813
|
+
"name": "foundationAccordionItem",
|
|
1814
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1936
1815
|
}
|
|
1937
1816
|
}
|
|
1938
1817
|
]
|
|
1939
1818
|
},
|
|
1940
1819
|
{
|
|
1941
1820
|
"kind": "javascript-module",
|
|
1942
|
-
"path": "src/
|
|
1821
|
+
"path": "src/accordion-item/index.ts",
|
|
1943
1822
|
"declarations": [],
|
|
1944
1823
|
"exports": [
|
|
1945
1824
|
{
|
|
@@ -1947,7 +1826,7 @@
|
|
|
1947
1826
|
"name": "*",
|
|
1948
1827
|
"declaration": {
|
|
1949
1828
|
"name": "*",
|
|
1950
|
-
"package": "./
|
|
1829
|
+
"package": "./accordion-item.template"
|
|
1951
1830
|
}
|
|
1952
1831
|
},
|
|
1953
1832
|
{
|
|
@@ -1955,7 +1834,7 @@
|
|
|
1955
1834
|
"name": "*",
|
|
1956
1835
|
"declaration": {
|
|
1957
1836
|
"name": "*",
|
|
1958
|
-
"package": "./
|
|
1837
|
+
"package": "./accordion-item.styles"
|
|
1959
1838
|
}
|
|
1960
1839
|
},
|
|
1961
1840
|
{
|
|
@@ -1963,18 +1842,18 @@
|
|
|
1963
1842
|
"name": "*",
|
|
1964
1843
|
"declaration": {
|
|
1965
1844
|
"name": "*",
|
|
1966
|
-
"package": "./
|
|
1845
|
+
"package": "./accordion-item"
|
|
1967
1846
|
}
|
|
1968
1847
|
}
|
|
1969
1848
|
]
|
|
1970
1849
|
},
|
|
1971
1850
|
{
|
|
1972
1851
|
"kind": "javascript-module",
|
|
1973
|
-
"path": "src/
|
|
1852
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1974
1853
|
"declarations": [
|
|
1975
1854
|
{
|
|
1976
1855
|
"kind": "function",
|
|
1977
|
-
"name": "
|
|
1856
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
1857
|
"return": {
|
|
1979
1858
|
"type": {
|
|
1980
1859
|
"text": "ElementStyles"
|
|
@@ -1994,29 +1873,13 @@
|
|
|
1994
1873
|
}
|
|
1995
1874
|
}
|
|
1996
1875
|
]
|
|
1997
|
-
}
|
|
1998
|
-
],
|
|
1999
|
-
"exports": [
|
|
2000
|
-
{
|
|
2001
|
-
"kind": "js",
|
|
2002
|
-
"name": "foundationAccordionItemStyles",
|
|
2003
|
-
"declaration": {
|
|
2004
|
-
"name": "foundationAccordionItemStyles",
|
|
2005
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
]
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"kind": "javascript-module",
|
|
2012
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2013
|
-
"declarations": [
|
|
1876
|
+
},
|
|
2014
1877
|
{
|
|
2015
1878
|
"kind": "function",
|
|
2016
|
-
"name": "
|
|
1879
|
+
"name": "foundationActionsMenuStyles",
|
|
2017
1880
|
"return": {
|
|
2018
1881
|
"type": {
|
|
2019
|
-
"text": "
|
|
1882
|
+
"text": "ElementStyles"
|
|
2020
1883
|
}
|
|
2021
1884
|
},
|
|
2022
1885
|
"parameters": [
|
|
@@ -2038,196 +1901,360 @@
|
|
|
2038
1901
|
"exports": [
|
|
2039
1902
|
{
|
|
2040
1903
|
"kind": "js",
|
|
2041
|
-
"name": "
|
|
1904
|
+
"name": "actionsMenuBaseStyles",
|
|
2042
1905
|
"declaration": {
|
|
2043
|
-
"name": "
|
|
2044
|
-
"module": "src/
|
|
1906
|
+
"name": "actionsMenuBaseStyles",
|
|
1907
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"kind": "js",
|
|
1912
|
+
"name": "foundationActionsMenuStyles",
|
|
1913
|
+
"declaration": {
|
|
1914
|
+
"name": "foundationActionsMenuStyles",
|
|
1915
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2045
1916
|
}
|
|
2046
1917
|
}
|
|
2047
1918
|
]
|
|
2048
1919
|
},
|
|
2049
1920
|
{
|
|
2050
1921
|
"kind": "javascript-module",
|
|
2051
|
-
"path": "src/
|
|
1922
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1923
|
+
"declarations": [
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "function",
|
|
1926
|
+
"name": "menuTemplate",
|
|
1927
|
+
"parameters": [
|
|
1928
|
+
{
|
|
1929
|
+
"name": "prefix",
|
|
1930
|
+
"type": {
|
|
1931
|
+
"text": "string"
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
]
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"kind": "function",
|
|
1938
|
+
"name": "singleOptionTemplate",
|
|
1939
|
+
"parameters": [
|
|
1940
|
+
{
|
|
1941
|
+
"name": "prefix",
|
|
1942
|
+
"type": {
|
|
1943
|
+
"text": "string"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"kind": "variable",
|
|
1950
|
+
"name": "foundationActionsMenuTemplate",
|
|
1951
|
+
"type": {
|
|
1952
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1953
|
+
},
|
|
1954
|
+
"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`"
|
|
1955
|
+
}
|
|
1956
|
+
],
|
|
1957
|
+
"exports": [
|
|
1958
|
+
{
|
|
1959
|
+
"kind": "js",
|
|
1960
|
+
"name": "menuTemplate",
|
|
1961
|
+
"declaration": {
|
|
1962
|
+
"name": "menuTemplate",
|
|
1963
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"kind": "js",
|
|
1968
|
+
"name": "singleOptionTemplate",
|
|
1969
|
+
"declaration": {
|
|
1970
|
+
"name": "singleOptionTemplate",
|
|
1971
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"kind": "js",
|
|
1976
|
+
"name": "foundationActionsMenuTemplate",
|
|
1977
|
+
"declaration": {
|
|
1978
|
+
"name": "foundationActionsMenuTemplate",
|
|
1979
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
]
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "javascript-module",
|
|
1986
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2052
1987
|
"declarations": [
|
|
2053
1988
|
{
|
|
2054
1989
|
"kind": "class",
|
|
2055
1990
|
"description": "",
|
|
2056
|
-
"name": "
|
|
2057
|
-
"
|
|
2058
|
-
"name": "FASTAccordionItem",
|
|
2059
|
-
"package": "@microsoft/fast-components"
|
|
2060
|
-
},
|
|
2061
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2062
|
-
"customElement": true,
|
|
2063
|
-
"attributes": [
|
|
1991
|
+
"name": "ActionsMenu",
|
|
1992
|
+
"members": [
|
|
2064
1993
|
{
|
|
2065
|
-
"
|
|
1994
|
+
"kind": "field",
|
|
1995
|
+
"name": "actions",
|
|
2066
1996
|
"type": {
|
|
2067
|
-
"text": "
|
|
2068
|
-
},
|
|
2069
|
-
"default": "2",
|
|
2070
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2071
|
-
"fieldName": "headinglevel",
|
|
2072
|
-
"inheritedFrom": {
|
|
2073
|
-
"name": "AccordionItem",
|
|
2074
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1997
|
+
"text": "ActionMenuItem[]"
|
|
2075
1998
|
}
|
|
2076
1999
|
},
|
|
2077
2000
|
{
|
|
2001
|
+
"kind": "field",
|
|
2002
|
+
"name": "isVertical",
|
|
2078
2003
|
"type": {
|
|
2079
2004
|
"text": "boolean"
|
|
2080
2005
|
},
|
|
2081
|
-
"default": "false"
|
|
2082
|
-
"description": "Expands or collapses the item.",
|
|
2083
|
-
"fieldName": "expanded",
|
|
2084
|
-
"inheritedFrom": {
|
|
2085
|
-
"name": "AccordionItem",
|
|
2086
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2087
|
-
}
|
|
2006
|
+
"default": "false"
|
|
2088
2007
|
},
|
|
2089
|
-
{
|
|
2090
|
-
"name": "id",
|
|
2091
|
-
"type": {
|
|
2092
|
-
"text": "string"
|
|
2093
|
-
},
|
|
2094
|
-
"description": "The item ID",
|
|
2095
|
-
"fieldName": "id",
|
|
2096
|
-
"inheritedFrom": {
|
|
2097
|
-
"name": "AccordionItem",
|
|
2098
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
],
|
|
2102
|
-
"members": [
|
|
2103
2008
|
{
|
|
2104
2009
|
"kind": "field",
|
|
2105
|
-
"name": "
|
|
2010
|
+
"name": "addDefaultActions",
|
|
2106
2011
|
"type": {
|
|
2107
|
-
"text": "
|
|
2012
|
+
"text": "boolean"
|
|
2108
2013
|
},
|
|
2109
|
-
"
|
|
2110
|
-
"default": "2",
|
|
2111
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2112
|
-
"inheritedFrom": {
|
|
2113
|
-
"name": "AccordionItem",
|
|
2114
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2115
|
-
}
|
|
2014
|
+
"default": "true"
|
|
2116
2015
|
},
|
|
2117
2016
|
{
|
|
2118
2017
|
"kind": "field",
|
|
2119
|
-
"name": "
|
|
2018
|
+
"name": "autoCloseOnAction",
|
|
2120
2019
|
"type": {
|
|
2121
2020
|
"text": "boolean"
|
|
2122
2021
|
},
|
|
2123
|
-
"
|
|
2124
|
-
"default": "false",
|
|
2125
|
-
"description": "Expands or collapses the item.",
|
|
2126
|
-
"inheritedFrom": {
|
|
2127
|
-
"name": "AccordionItem",
|
|
2128
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2129
|
-
}
|
|
2022
|
+
"default": "true"
|
|
2130
2023
|
},
|
|
2131
2024
|
{
|
|
2132
2025
|
"kind": "field",
|
|
2133
|
-
"name": "
|
|
2026
|
+
"name": "classNames",
|
|
2134
2027
|
"type": {
|
|
2135
2028
|
"text": "string"
|
|
2136
|
-
},
|
|
2137
|
-
"privacy": "public",
|
|
2138
|
-
"description": "The item ID",
|
|
2139
|
-
"inheritedFrom": {
|
|
2140
|
-
"name": "AccordionItem",
|
|
2141
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2142
2029
|
}
|
|
2143
2030
|
},
|
|
2144
2031
|
{
|
|
2145
2032
|
"kind": "field",
|
|
2146
|
-
"name": "
|
|
2147
|
-
"
|
|
2148
|
-
|
|
2149
|
-
"name": "AccordionItem",
|
|
2150
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2033
|
+
"name": "definition",
|
|
2034
|
+
"type": {
|
|
2035
|
+
"text": "any"
|
|
2151
2036
|
}
|
|
2152
2037
|
},
|
|
2153
2038
|
{
|
|
2154
2039
|
"kind": "field",
|
|
2155
|
-
"name": "
|
|
2040
|
+
"name": "name",
|
|
2156
2041
|
"type": {
|
|
2157
|
-
"text": "
|
|
2042
|
+
"text": "string"
|
|
2158
2043
|
},
|
|
2159
|
-
"
|
|
2160
|
-
"default": "void 0",
|
|
2161
|
-
"inheritedFrom": {
|
|
2162
|
-
"name": "FoundationElement",
|
|
2163
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2164
|
-
}
|
|
2044
|
+
"default": "'Actions'"
|
|
2165
2045
|
},
|
|
2166
2046
|
{
|
|
2167
2047
|
"kind": "field",
|
|
2168
|
-
"name": "
|
|
2048
|
+
"name": "open",
|
|
2169
2049
|
"type": {
|
|
2170
|
-
"text": "
|
|
2050
|
+
"text": "boolean"
|
|
2171
2051
|
},
|
|
2172
|
-
"
|
|
2173
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2174
|
-
"inheritedFrom": {
|
|
2175
|
-
"name": "FoundationElement",
|
|
2176
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2177
|
-
}
|
|
2052
|
+
"default": "false"
|
|
2178
2053
|
},
|
|
2179
2054
|
{
|
|
2180
2055
|
"kind": "field",
|
|
2181
|
-
"name": "
|
|
2056
|
+
"name": "buttonAppearance",
|
|
2182
2057
|
"type": {
|
|
2183
|
-
"text": "
|
|
2184
|
-
},
|
|
2185
|
-
"privacy": "public",
|
|
2186
|
-
"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.",
|
|
2187
|
-
"inheritedFrom": {
|
|
2188
|
-
"name": "FoundationElement",
|
|
2189
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2058
|
+
"text": "string"
|
|
2190
2059
|
}
|
|
2191
2060
|
},
|
|
2192
2061
|
{
|
|
2193
|
-
"kind": "
|
|
2194
|
-
"name": "
|
|
2195
|
-
"
|
|
2196
|
-
|
|
2197
|
-
"type": {
|
|
2198
|
-
"text": "void"
|
|
2199
|
-
}
|
|
2062
|
+
"kind": "field",
|
|
2063
|
+
"name": "hideDisabled",
|
|
2064
|
+
"type": {
|
|
2065
|
+
"text": "boolean"
|
|
2200
2066
|
},
|
|
2201
|
-
"
|
|
2202
|
-
"name": "FoundationElement",
|
|
2203
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2204
|
-
}
|
|
2067
|
+
"default": "false"
|
|
2205
2068
|
},
|
|
2206
2069
|
{
|
|
2207
2070
|
"kind": "field",
|
|
2208
|
-
"name": "
|
|
2071
|
+
"name": "hideMenuSingleOption",
|
|
2209
2072
|
"type": {
|
|
2210
|
-
"text": "
|
|
2073
|
+
"text": "boolean"
|
|
2211
2074
|
},
|
|
2212
|
-
"
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2075
|
+
"default": "false"
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"kind": "field",
|
|
2079
|
+
"name": "singleOption",
|
|
2080
|
+
"type": {
|
|
2081
|
+
"text": "ActionMenuItem"
|
|
2217
2082
|
}
|
|
2218
2083
|
},
|
|
2219
2084
|
{
|
|
2220
|
-
"kind": "
|
|
2221
|
-
"name": "
|
|
2222
|
-
"
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
"
|
|
2229
|
-
|
|
2230
|
-
"
|
|
2085
|
+
"kind": "field",
|
|
2086
|
+
"name": "actionsMenu",
|
|
2087
|
+
"type": {
|
|
2088
|
+
"text": "HTMLElement"
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "field",
|
|
2093
|
+
"name": "actionsOpener",
|
|
2094
|
+
"type": {
|
|
2095
|
+
"text": "HTMLElement"
|
|
2096
|
+
}
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"kind": "method",
|
|
2100
|
+
"name": "updateMenuPosition",
|
|
2101
|
+
"privacy": "private"
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
"kind": "method",
|
|
2105
|
+
"name": "definitionChanged",
|
|
2106
|
+
"privacy": "protected",
|
|
2107
|
+
"parameters": [
|
|
2108
|
+
{
|
|
2109
|
+
"name": "oldValue",
|
|
2110
|
+
"type": {
|
|
2111
|
+
"text": "any"
|
|
2112
|
+
}
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
"name": "newValue",
|
|
2116
|
+
"type": {
|
|
2117
|
+
"text": "any"
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
]
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"kind": "method",
|
|
2124
|
+
"name": "openChanged",
|
|
2125
|
+
"privacy": "protected"
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"kind": "method",
|
|
2129
|
+
"name": "toggleActionsMenuVisibility"
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"kind": "method",
|
|
2133
|
+
"name": "onActionMenuItemClick",
|
|
2134
|
+
"parameters": [
|
|
2135
|
+
{
|
|
2136
|
+
"name": "callback",
|
|
2137
|
+
"type": {
|
|
2138
|
+
"text": "(rowData) => void | any"
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
]
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
"kind": "field",
|
|
2145
|
+
"name": "allActions",
|
|
2146
|
+
"type": {
|
|
2147
|
+
"text": "ActionMenuItem[]"
|
|
2148
|
+
},
|
|
2149
|
+
"readonly": true
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"kind": "field",
|
|
2153
|
+
"name": "rowData",
|
|
2154
|
+
"readonly": true
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"kind": "method",
|
|
2158
|
+
"name": "getLabel",
|
|
2159
|
+
"parameters": [
|
|
2160
|
+
{
|
|
2161
|
+
"name": "name",
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "string | ((rowData: any) => string)"
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
]
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"kind": "method",
|
|
2170
|
+
"name": "getTemplate",
|
|
2171
|
+
"parameters": [
|
|
2172
|
+
{
|
|
2173
|
+
"name": "prefix",
|
|
2174
|
+
"type": {
|
|
2175
|
+
"text": "string"
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
]
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"kind": "field",
|
|
2182
|
+
"name": "_presentation",
|
|
2183
|
+
"type": {
|
|
2184
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2185
|
+
},
|
|
2186
|
+
"privacy": "private",
|
|
2187
|
+
"default": "void 0",
|
|
2188
|
+
"inheritedFrom": {
|
|
2189
|
+
"name": "FoundationElement",
|
|
2190
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"kind": "field",
|
|
2195
|
+
"name": "$presentation",
|
|
2196
|
+
"type": {
|
|
2197
|
+
"text": "ComponentPresentation | null"
|
|
2198
|
+
},
|
|
2199
|
+
"privacy": "public",
|
|
2200
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2201
|
+
"inheritedFrom": {
|
|
2202
|
+
"name": "FoundationElement",
|
|
2203
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"kind": "field",
|
|
2208
|
+
"name": "template",
|
|
2209
|
+
"type": {
|
|
2210
|
+
"text": "ElementViewTemplate | void | null"
|
|
2211
|
+
},
|
|
2212
|
+
"privacy": "public",
|
|
2213
|
+
"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.",
|
|
2214
|
+
"inheritedFrom": {
|
|
2215
|
+
"name": "FoundationElement",
|
|
2216
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2217
|
+
}
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"kind": "method",
|
|
2221
|
+
"name": "templateChanged",
|
|
2222
|
+
"privacy": "protected",
|
|
2223
|
+
"return": {
|
|
2224
|
+
"type": {
|
|
2225
|
+
"text": "void"
|
|
2226
|
+
}
|
|
2227
|
+
},
|
|
2228
|
+
"inheritedFrom": {
|
|
2229
|
+
"name": "FoundationElement",
|
|
2230
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
"kind": "field",
|
|
2235
|
+
"name": "styles",
|
|
2236
|
+
"type": {
|
|
2237
|
+
"text": "ElementStyles | void | null"
|
|
2238
|
+
},
|
|
2239
|
+
"privacy": "public",
|
|
2240
|
+
"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.",
|
|
2241
|
+
"inheritedFrom": {
|
|
2242
|
+
"name": "FoundationElement",
|
|
2243
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2244
|
+
}
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"kind": "method",
|
|
2248
|
+
"name": "stylesChanged",
|
|
2249
|
+
"privacy": "protected",
|
|
2250
|
+
"return": {
|
|
2251
|
+
"type": {
|
|
2252
|
+
"text": "void"
|
|
2253
|
+
}
|
|
2254
|
+
},
|
|
2255
|
+
"inheritedFrom": {
|
|
2256
|
+
"name": "FoundationElement",
|
|
2257
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2231
2258
|
}
|
|
2232
2259
|
},
|
|
2233
2260
|
{
|
|
@@ -2262,78 +2289,107 @@
|
|
|
2262
2289
|
}
|
|
2263
2290
|
}
|
|
2264
2291
|
],
|
|
2265
|
-
"
|
|
2292
|
+
"attributes": [
|
|
2266
2293
|
{
|
|
2267
|
-
"
|
|
2268
|
-
"
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2294
|
+
"name": "is-vertical",
|
|
2295
|
+
"type": {
|
|
2296
|
+
"text": "boolean"
|
|
2297
|
+
},
|
|
2298
|
+
"default": "false",
|
|
2299
|
+
"fieldName": "isVertical"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "add-default-actions",
|
|
2303
|
+
"type": {
|
|
2304
|
+
"text": "boolean"
|
|
2305
|
+
},
|
|
2306
|
+
"default": "true",
|
|
2307
|
+
"fieldName": "addDefaultActions"
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "auto-close-on-action",
|
|
2311
|
+
"type": {
|
|
2312
|
+
"text": "boolean"
|
|
2313
|
+
},
|
|
2314
|
+
"default": "true",
|
|
2315
|
+
"fieldName": "autoCloseOnAction"
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "name",
|
|
2319
|
+
"type": {
|
|
2320
|
+
"text": "string"
|
|
2321
|
+
},
|
|
2322
|
+
"default": "'Actions'",
|
|
2323
|
+
"fieldName": "name"
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"name": "open",
|
|
2327
|
+
"type": {
|
|
2328
|
+
"text": "boolean"
|
|
2329
|
+
},
|
|
2330
|
+
"default": "false",
|
|
2331
|
+
"fieldName": "open"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"name": "buttonAppearance",
|
|
2335
|
+
"type": {
|
|
2336
|
+
"text": "string"
|
|
2337
|
+
},
|
|
2338
|
+
"fieldName": "buttonAppearance"
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"name": "hide-disabled",
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "boolean"
|
|
2344
|
+
},
|
|
2345
|
+
"default": "false",
|
|
2346
|
+
"fieldName": "hideDisabled"
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"name": "hide-menu-single-option",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "boolean"
|
|
2352
|
+
},
|
|
2353
|
+
"default": "false",
|
|
2354
|
+
"fieldName": "hideMenuSingleOption"
|
|
2273
2355
|
}
|
|
2274
|
-
]
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2279
|
-
"type": {
|
|
2280
|
-
"text": "ShadowRootInit"
|
|
2281
|
-
},
|
|
2282
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2283
|
-
},
|
|
2284
|
-
{
|
|
2285
|
-
"kind": "variable",
|
|
2286
|
-
"name": "defaultAccordionItemConfig",
|
|
2287
|
-
"type": {
|
|
2288
|
-
"text": "object"
|
|
2356
|
+
],
|
|
2357
|
+
"superclass": {
|
|
2358
|
+
"name": "FoundationElement",
|
|
2359
|
+
"package": "@microsoft/fast-foundation"
|
|
2289
2360
|
},
|
|
2290
|
-
"
|
|
2361
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2362
|
+
"customElement": true
|
|
2291
2363
|
},
|
|
2292
2364
|
{
|
|
2293
2365
|
"kind": "variable",
|
|
2294
|
-
"name": "
|
|
2295
|
-
"description": "The Foundation
|
|
2366
|
+
"name": "foundationActionsMenu",
|
|
2367
|
+
"description": "The Foundation Actions Menu",
|
|
2296
2368
|
"privacy": "public"
|
|
2297
2369
|
}
|
|
2298
2370
|
],
|
|
2299
2371
|
"exports": [
|
|
2300
2372
|
{
|
|
2301
2373
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2303
|
-
"declaration": {
|
|
2304
|
-
"name": "AccordionItem",
|
|
2305
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2306
|
-
}
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"kind": "js",
|
|
2310
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2311
|
-
"declaration": {
|
|
2312
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2313
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2314
|
-
}
|
|
2315
|
-
},
|
|
2316
|
-
{
|
|
2317
|
-
"kind": "js",
|
|
2318
|
-
"name": "defaultAccordionItemConfig",
|
|
2374
|
+
"name": "ActionsMenu",
|
|
2319
2375
|
"declaration": {
|
|
2320
|
-
"name": "
|
|
2321
|
-
"module": "src/
|
|
2376
|
+
"name": "ActionsMenu",
|
|
2377
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2322
2378
|
}
|
|
2323
2379
|
},
|
|
2324
2380
|
{
|
|
2325
2381
|
"kind": "js",
|
|
2326
|
-
"name": "
|
|
2382
|
+
"name": "foundationActionsMenu",
|
|
2327
2383
|
"declaration": {
|
|
2328
|
-
"name": "
|
|
2329
|
-
"module": "src/
|
|
2384
|
+
"name": "foundationActionsMenu",
|
|
2385
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2330
2386
|
}
|
|
2331
2387
|
}
|
|
2332
2388
|
]
|
|
2333
2389
|
},
|
|
2334
2390
|
{
|
|
2335
2391
|
"kind": "javascript-module",
|
|
2336
|
-
"path": "src/
|
|
2392
|
+
"path": "src/actions-menu/index.ts",
|
|
2337
2393
|
"declarations": [],
|
|
2338
2394
|
"exports": [
|
|
2339
2395
|
{
|
|
@@ -2341,7 +2397,7 @@
|
|
|
2341
2397
|
"name": "*",
|
|
2342
2398
|
"declaration": {
|
|
2343
2399
|
"name": "*",
|
|
2344
|
-
"package": "./
|
|
2400
|
+
"package": "./actions-menu.styles"
|
|
2345
2401
|
}
|
|
2346
2402
|
},
|
|
2347
2403
|
{
|
|
@@ -2349,7 +2405,7 @@
|
|
|
2349
2405
|
"name": "*",
|
|
2350
2406
|
"declaration": {
|
|
2351
2407
|
"name": "*",
|
|
2352
|
-
"package": "./
|
|
2408
|
+
"package": "./actions-menu.template"
|
|
2353
2409
|
}
|
|
2354
2410
|
},
|
|
2355
2411
|
{
|
|
@@ -2357,210 +2413,122 @@
|
|
|
2357
2413
|
"name": "*",
|
|
2358
2414
|
"declaration": {
|
|
2359
2415
|
"name": "*",
|
|
2360
|
-
"package": "./
|
|
2416
|
+
"package": "./actions-menu"
|
|
2361
2417
|
}
|
|
2362
2418
|
}
|
|
2363
2419
|
]
|
|
2364
2420
|
},
|
|
2365
2421
|
{
|
|
2366
2422
|
"kind": "javascript-module",
|
|
2367
|
-
"path": "src/
|
|
2423
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2368
2424
|
"declarations": [
|
|
2369
2425
|
{
|
|
2370
|
-
"kind": "
|
|
2371
|
-
"name": "
|
|
2372
|
-
"
|
|
2373
|
-
"type": {
|
|
2374
|
-
"text": "ElementStyles"
|
|
2375
|
-
}
|
|
2376
|
-
},
|
|
2377
|
-
"parameters": [
|
|
2378
|
-
{
|
|
2379
|
-
"name": "context",
|
|
2380
|
-
"type": {
|
|
2381
|
-
"text": "ElementDefinitionContext"
|
|
2382
|
-
}
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"name": "definition",
|
|
2386
|
-
"type": {
|
|
2387
|
-
"text": "FoundationElementDefinition"
|
|
2388
|
-
}
|
|
2389
|
-
}
|
|
2390
|
-
]
|
|
2391
|
-
},
|
|
2392
|
-
{
|
|
2393
|
-
"kind": "function",
|
|
2394
|
-
"name": "foundationActionsMenuStyles",
|
|
2395
|
-
"return": {
|
|
2396
|
-
"type": {
|
|
2397
|
-
"text": "ElementStyles"
|
|
2398
|
-
}
|
|
2399
|
-
},
|
|
2400
|
-
"parameters": [
|
|
2401
|
-
{
|
|
2402
|
-
"name": "context",
|
|
2403
|
-
"type": {
|
|
2404
|
-
"text": "ElementDefinitionContext"
|
|
2405
|
-
}
|
|
2406
|
-
},
|
|
2407
|
-
{
|
|
2408
|
-
"name": "definition",
|
|
2409
|
-
"type": {
|
|
2410
|
-
"text": "FoundationElementDefinition"
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
]
|
|
2426
|
+
"kind": "variable",
|
|
2427
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2428
|
+
"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`"
|
|
2414
2429
|
}
|
|
2415
2430
|
],
|
|
2416
2431
|
"exports": [
|
|
2417
2432
|
{
|
|
2418
2433
|
"kind": "js",
|
|
2419
|
-
"name": "
|
|
2420
|
-
"declaration": {
|
|
2421
|
-
"name": "actionsMenuBaseStyles",
|
|
2422
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2423
|
-
}
|
|
2424
|
-
},
|
|
2425
|
-
{
|
|
2426
|
-
"kind": "js",
|
|
2427
|
-
"name": "foundationActionsMenuStyles",
|
|
2434
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2428
2435
|
"declaration": {
|
|
2429
|
-
"name": "
|
|
2430
|
-
"module": "src/
|
|
2436
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2437
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2431
2438
|
}
|
|
2432
2439
|
}
|
|
2433
2440
|
]
|
|
2434
2441
|
},
|
|
2435
2442
|
{
|
|
2436
2443
|
"kind": "javascript-module",
|
|
2437
|
-
"path": "src/
|
|
2444
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2438
2445
|
"declarations": [
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "function",
|
|
2441
|
-
"name": "menuTemplate",
|
|
2442
|
-
"parameters": [
|
|
2443
|
-
{
|
|
2444
|
-
"name": "prefix",
|
|
2445
|
-
"type": {
|
|
2446
|
-
"text": "string"
|
|
2447
|
-
}
|
|
2448
|
-
}
|
|
2449
|
-
]
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
"kind": "function",
|
|
2453
|
-
"name": "singleOptionTemplate",
|
|
2454
|
-
"parameters": [
|
|
2455
|
-
{
|
|
2456
|
-
"name": "prefix",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "string"
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
]
|
|
2462
|
-
},
|
|
2463
2446
|
{
|
|
2464
2447
|
"kind": "variable",
|
|
2465
|
-
"name": "
|
|
2448
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2466
2449
|
"type": {
|
|
2467
|
-
"text": "ViewTemplate<
|
|
2468
|
-
},
|
|
2469
|
-
"default": "html`\n
|
|
2470
|
-
}
|
|
2471
|
-
],
|
|
2472
|
-
"exports": [
|
|
2473
|
-
{
|
|
2474
|
-
"kind": "js",
|
|
2475
|
-
"name": "menuTemplate",
|
|
2476
|
-
"declaration": {
|
|
2477
|
-
"name": "menuTemplate",
|
|
2478
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
-
}
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"kind": "js",
|
|
2483
|
-
"name": "singleOptionTemplate",
|
|
2484
|
-
"declaration": {
|
|
2485
|
-
"name": "singleOptionTemplate",
|
|
2486
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
-
}
|
|
2488
|
-
},
|
|
2450
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2451
|
+
},
|
|
2452
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2453
|
+
}
|
|
2454
|
+
],
|
|
2455
|
+
"exports": [
|
|
2489
2456
|
{
|
|
2490
2457
|
"kind": "js",
|
|
2491
|
-
"name": "
|
|
2458
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2492
2459
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/
|
|
2460
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2461
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2495
2462
|
}
|
|
2496
2463
|
}
|
|
2497
2464
|
]
|
|
2498
2465
|
},
|
|
2499
2466
|
{
|
|
2500
2467
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/
|
|
2468
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2502
2469
|
"declarations": [
|
|
2503
2470
|
{
|
|
2504
2471
|
"kind": "class",
|
|
2505
|
-
"description": "",
|
|
2506
|
-
"name": "
|
|
2472
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2473
|
+
"name": "AiCriteriaSearch",
|
|
2507
2474
|
"members": [
|
|
2508
2475
|
{
|
|
2509
2476
|
"kind": "field",
|
|
2510
|
-
"name": "
|
|
2477
|
+
"name": "providerRegistry",
|
|
2511
2478
|
"type": {
|
|
2512
|
-
"text": "
|
|
2479
|
+
"text": "AIProviderRegistry"
|
|
2513
2480
|
}
|
|
2514
2481
|
},
|
|
2515
2482
|
{
|
|
2516
2483
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2484
|
+
"name": "placeholder",
|
|
2518
2485
|
"type": {
|
|
2519
|
-
"text": "
|
|
2486
|
+
"text": "string"
|
|
2520
2487
|
},
|
|
2521
|
-
"default": "
|
|
2488
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2522
2489
|
},
|
|
2523
2490
|
{
|
|
2524
2491
|
"kind": "field",
|
|
2525
|
-
"name": "
|
|
2492
|
+
"name": "disabled",
|
|
2526
2493
|
"type": {
|
|
2527
2494
|
"text": "boolean"
|
|
2528
|
-
}
|
|
2529
|
-
"default": "true"
|
|
2495
|
+
}
|
|
2530
2496
|
},
|
|
2531
2497
|
{
|
|
2532
2498
|
"kind": "field",
|
|
2533
|
-
"name": "
|
|
2499
|
+
"name": "inputValue",
|
|
2534
2500
|
"type": {
|
|
2535
|
-
"text": "
|
|
2501
|
+
"text": "string"
|
|
2536
2502
|
},
|
|
2537
|
-
"default": "
|
|
2503
|
+
"default": "''"
|
|
2538
2504
|
},
|
|
2539
2505
|
{
|
|
2540
2506
|
"kind": "field",
|
|
2541
|
-
"name": "
|
|
2507
|
+
"name": "isInterpreting",
|
|
2542
2508
|
"type": {
|
|
2543
|
-
"text": "
|
|
2544
|
-
}
|
|
2509
|
+
"text": "boolean"
|
|
2510
|
+
},
|
|
2511
|
+
"default": "false"
|
|
2545
2512
|
},
|
|
2546
2513
|
{
|
|
2547
2514
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2515
|
+
"name": "lastValidCriteria",
|
|
2549
2516
|
"type": {
|
|
2550
|
-
"text": "
|
|
2551
|
-
}
|
|
2517
|
+
"text": "string | null"
|
|
2518
|
+
},
|
|
2519
|
+
"default": "null"
|
|
2552
2520
|
},
|
|
2553
2521
|
{
|
|
2554
2522
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2523
|
+
"name": "activeGroups",
|
|
2556
2524
|
"type": {
|
|
2557
|
-
"text": "
|
|
2525
|
+
"text": "CriteriaGroup[]"
|
|
2558
2526
|
},
|
|
2559
|
-
"default": "
|
|
2527
|
+
"default": "[]"
|
|
2560
2528
|
},
|
|
2561
2529
|
{
|
|
2562
2530
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2531
|
+
"name": "showingChips",
|
|
2564
2532
|
"type": {
|
|
2565
2533
|
"text": "boolean"
|
|
2566
2534
|
},
|
|
@@ -2568,14 +2536,15 @@
|
|
|
2568
2536
|
},
|
|
2569
2537
|
{
|
|
2570
2538
|
"kind": "field",
|
|
2571
|
-
"name": "
|
|
2539
|
+
"name": "fieldMetadata",
|
|
2572
2540
|
"type": {
|
|
2573
|
-
"text": "string"
|
|
2574
|
-
}
|
|
2541
|
+
"text": "MetadataDetail[] | string[]"
|
|
2542
|
+
},
|
|
2543
|
+
"default": "[]"
|
|
2575
2544
|
},
|
|
2576
2545
|
{
|
|
2577
2546
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2547
|
+
"name": "isRecording",
|
|
2579
2548
|
"type": {
|
|
2580
2549
|
"text": "boolean"
|
|
2581
2550
|
},
|
|
@@ -2583,114 +2552,125 @@
|
|
|
2583
2552
|
},
|
|
2584
2553
|
{
|
|
2585
2554
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2555
|
+
"name": "textAreaRef",
|
|
2587
2556
|
"type": {
|
|
2588
|
-
"text": "
|
|
2557
|
+
"text": "HTMLTextAreaElement"
|
|
2589
2558
|
},
|
|
2590
|
-
"
|
|
2559
|
+
"privacy": "public"
|
|
2591
2560
|
},
|
|
2592
2561
|
{
|
|
2593
2562
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2563
|
+
"name": "stopRecording",
|
|
2595
2564
|
"type": {
|
|
2596
|
-
"text": "
|
|
2597
|
-
}
|
|
2565
|
+
"text": "(() => void) | null"
|
|
2566
|
+
},
|
|
2567
|
+
"privacy": "private",
|
|
2568
|
+
"default": "null"
|
|
2598
2569
|
},
|
|
2599
2570
|
{
|
|
2600
2571
|
"kind": "field",
|
|
2601
|
-
"name": "
|
|
2572
|
+
"name": "speechApplyDebounceTimer",
|
|
2602
2573
|
"type": {
|
|
2603
|
-
"text": "
|
|
2604
|
-
}
|
|
2574
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2575
|
+
},
|
|
2576
|
+
"privacy": "private",
|
|
2577
|
+
"default": "null"
|
|
2605
2578
|
},
|
|
2606
2579
|
{
|
|
2607
2580
|
"kind": "field",
|
|
2608
|
-
"name": "
|
|
2581
|
+
"name": "speechAvailable",
|
|
2609
2582
|
"type": {
|
|
2610
|
-
"text": "
|
|
2611
|
-
}
|
|
2583
|
+
"text": "boolean"
|
|
2584
|
+
},
|
|
2585
|
+
"readonly": true
|
|
2612
2586
|
},
|
|
2613
2587
|
{
|
|
2614
|
-
"kind": "
|
|
2615
|
-
"name": "
|
|
2616
|
-
"
|
|
2588
|
+
"kind": "field",
|
|
2589
|
+
"name": "criteriaChips",
|
|
2590
|
+
"type": {
|
|
2591
|
+
"text": "CriteriaChip[]"
|
|
2592
|
+
},
|
|
2593
|
+
"readonly": true
|
|
2617
2594
|
},
|
|
2618
2595
|
{
|
|
2619
2596
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2621
|
-
"privacy": "
|
|
2597
|
+
"name": "getFieldLabel",
|
|
2598
|
+
"privacy": "private",
|
|
2599
|
+
"return": {
|
|
2600
|
+
"type": {
|
|
2601
|
+
"text": "string"
|
|
2602
|
+
}
|
|
2603
|
+
},
|
|
2622
2604
|
"parameters": [
|
|
2623
2605
|
{
|
|
2624
|
-
"name": "
|
|
2625
|
-
"type": {
|
|
2626
|
-
"text": "any"
|
|
2627
|
-
}
|
|
2628
|
-
},
|
|
2629
|
-
{
|
|
2630
|
-
"name": "newValue",
|
|
2606
|
+
"name": "fieldName",
|
|
2631
2607
|
"type": {
|
|
2632
|
-
"text": "
|
|
2608
|
+
"text": "string"
|
|
2633
2609
|
}
|
|
2634
2610
|
}
|
|
2635
2611
|
]
|
|
2636
2612
|
},
|
|
2637
2613
|
{
|
|
2638
2614
|
"kind": "method",
|
|
2639
|
-
"name": "
|
|
2640
|
-
"
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2615
|
+
"name": "toggleCriteriaView",
|
|
2616
|
+
"return": {
|
|
2617
|
+
"type": {
|
|
2618
|
+
"text": "void"
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2645
2621
|
},
|
|
2646
2622
|
{
|
|
2647
2623
|
"kind": "method",
|
|
2648
|
-
"name": "
|
|
2624
|
+
"name": "removeChip",
|
|
2625
|
+
"return": {
|
|
2626
|
+
"type": {
|
|
2627
|
+
"text": "void"
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2649
2630
|
"parameters": [
|
|
2650
2631
|
{
|
|
2651
|
-
"name": "
|
|
2632
|
+
"name": "groupIndex",
|
|
2652
2633
|
"type": {
|
|
2653
|
-
"text": "
|
|
2634
|
+
"text": "number"
|
|
2635
|
+
}
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"name": "clauseIndex",
|
|
2639
|
+
"type": {
|
|
2640
|
+
"text": "number"
|
|
2654
2641
|
}
|
|
2655
2642
|
}
|
|
2656
2643
|
]
|
|
2657
2644
|
},
|
|
2658
2645
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
"
|
|
2663
|
-
|
|
2664
|
-
|
|
2646
|
+
"kind": "method",
|
|
2647
|
+
"name": "clearChips",
|
|
2648
|
+
"return": {
|
|
2649
|
+
"type": {
|
|
2650
|
+
"text": "void"
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2665
2653
|
},
|
|
2666
2654
|
{
|
|
2667
|
-
"kind": "
|
|
2668
|
-
"name": "
|
|
2669
|
-
"readonly": true
|
|
2655
|
+
"kind": "method",
|
|
2656
|
+
"name": "handleSubmit"
|
|
2670
2657
|
},
|
|
2671
2658
|
{
|
|
2672
2659
|
"kind": "method",
|
|
2673
|
-
"name": "
|
|
2674
|
-
"parameters": [
|
|
2675
|
-
{
|
|
2676
|
-
"name": "name",
|
|
2677
|
-
"type": {
|
|
2678
|
-
"text": "string | ((rowData: any) => string)"
|
|
2679
|
-
}
|
|
2680
|
-
}
|
|
2681
|
-
]
|
|
2660
|
+
"name": "handleBlur"
|
|
2682
2661
|
},
|
|
2683
2662
|
{
|
|
2684
2663
|
"kind": "method",
|
|
2685
|
-
"name": "
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2664
|
+
"name": "clear"
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "method",
|
|
2668
|
+
"name": "toggleSpeechInput"
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"kind": "method",
|
|
2672
|
+
"name": "clearSpeechApplyDebounce",
|
|
2673
|
+
"privacy": "private"
|
|
2694
2674
|
},
|
|
2695
2675
|
{
|
|
2696
2676
|
"kind": "field",
|
|
@@ -2804,115 +2784,154 @@
|
|
|
2804
2784
|
}
|
|
2805
2785
|
}
|
|
2806
2786
|
],
|
|
2807
|
-
"
|
|
2808
|
-
{
|
|
2809
|
-
"name": "is-vertical",
|
|
2810
|
-
"type": {
|
|
2811
|
-
"text": "boolean"
|
|
2812
|
-
},
|
|
2813
|
-
"default": "false",
|
|
2814
|
-
"fieldName": "isVertical"
|
|
2815
|
-
},
|
|
2816
|
-
{
|
|
2817
|
-
"name": "add-default-actions",
|
|
2818
|
-
"type": {
|
|
2819
|
-
"text": "boolean"
|
|
2820
|
-
},
|
|
2821
|
-
"default": "true",
|
|
2822
|
-
"fieldName": "addDefaultActions"
|
|
2823
|
-
},
|
|
2824
|
-
{
|
|
2825
|
-
"name": "auto-close-on-action",
|
|
2826
|
-
"type": {
|
|
2827
|
-
"text": "boolean"
|
|
2828
|
-
},
|
|
2829
|
-
"default": "true",
|
|
2830
|
-
"fieldName": "autoCloseOnAction"
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
"name": "name",
|
|
2834
|
-
"type": {
|
|
2835
|
-
"text": "string"
|
|
2836
|
-
},
|
|
2837
|
-
"default": "'Actions'",
|
|
2838
|
-
"fieldName": "name"
|
|
2839
|
-
},
|
|
2787
|
+
"events": [
|
|
2840
2788
|
{
|
|
2841
|
-
"
|
|
2842
|
-
"
|
|
2843
|
-
"text": "boolean"
|
|
2844
|
-
},
|
|
2845
|
-
"default": "false",
|
|
2846
|
-
"fieldName": "open"
|
|
2789
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2790
|
+
"name": "criteria-changed"
|
|
2847
2791
|
},
|
|
2848
2792
|
{
|
|
2849
|
-
"
|
|
2850
|
-
"
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
},
|
|
2793
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2794
|
+
"name": "validation-errors"
|
|
2795
|
+
}
|
|
2796
|
+
],
|
|
2797
|
+
"attributes": [
|
|
2855
2798
|
{
|
|
2856
|
-
"name": "
|
|
2799
|
+
"name": "placeholder",
|
|
2857
2800
|
"type": {
|
|
2858
|
-
"text": "
|
|
2801
|
+
"text": "string"
|
|
2859
2802
|
},
|
|
2860
|
-
"default": "
|
|
2861
|
-
"fieldName": "
|
|
2803
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2804
|
+
"fieldName": "placeholder"
|
|
2862
2805
|
},
|
|
2863
2806
|
{
|
|
2864
|
-
"name": "hide-menu-single-option",
|
|
2865
2807
|
"type": {
|
|
2866
2808
|
"text": "boolean"
|
|
2867
2809
|
},
|
|
2868
|
-
"
|
|
2869
|
-
"fieldName": "hideMenuSingleOption"
|
|
2810
|
+
"fieldName": "disabled"
|
|
2870
2811
|
}
|
|
2871
2812
|
],
|
|
2872
2813
|
"superclass": {
|
|
2873
2814
|
"name": "FoundationElement",
|
|
2874
2815
|
"package": "@microsoft/fast-foundation"
|
|
2875
2816
|
},
|
|
2876
|
-
"tagName": "%%prefix%%-
|
|
2817
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2877
2818
|
"customElement": true
|
|
2878
2819
|
},
|
|
2879
2820
|
{
|
|
2880
2821
|
"kind": "variable",
|
|
2881
|
-
"name": "
|
|
2882
|
-
"
|
|
2883
|
-
|
|
2822
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2823
|
+
"type": {
|
|
2824
|
+
"text": "ShadowRootInit"
|
|
2825
|
+
},
|
|
2826
|
+
"default": "undefined"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"kind": "variable",
|
|
2830
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2831
|
+
"type": {
|
|
2832
|
+
"text": "object"
|
|
2833
|
+
},
|
|
2834
|
+
"default": "{}"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"kind": "variable",
|
|
2838
|
+
"name": "foundationAiCriteriaSearch"
|
|
2884
2839
|
}
|
|
2885
2840
|
],
|
|
2886
2841
|
"exports": [
|
|
2887
2842
|
{
|
|
2888
2843
|
"kind": "js",
|
|
2889
|
-
"name": "
|
|
2844
|
+
"name": "AiCriteriaSearch",
|
|
2890
2845
|
"declaration": {
|
|
2891
|
-
"name": "
|
|
2892
|
-
"module": "src/
|
|
2846
|
+
"name": "AiCriteriaSearch",
|
|
2847
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2893
2848
|
}
|
|
2894
2849
|
},
|
|
2895
2850
|
{
|
|
2896
2851
|
"kind": "js",
|
|
2897
|
-
"name": "
|
|
2852
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2898
2853
|
"declaration": {
|
|
2899
|
-
"name": "
|
|
2900
|
-
"module": "src/
|
|
2854
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2855
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2856
|
+
}
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"kind": "js",
|
|
2860
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2861
|
+
"declaration": {
|
|
2862
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2863
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"kind": "js",
|
|
2868
|
+
"name": "foundationAiCriteriaSearch",
|
|
2869
|
+
"declaration": {
|
|
2870
|
+
"name": "foundationAiCriteriaSearch",
|
|
2871
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2901
2872
|
}
|
|
2902
2873
|
}
|
|
2903
2874
|
]
|
|
2904
2875
|
},
|
|
2905
2876
|
{
|
|
2906
2877
|
"kind": "javascript-module",
|
|
2907
|
-
"path": "src/
|
|
2878
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2908
2879
|
"declarations": [],
|
|
2909
2880
|
"exports": [
|
|
2881
|
+
{
|
|
2882
|
+
"kind": "js",
|
|
2883
|
+
"name": "AiCriteriaSearch",
|
|
2884
|
+
"declaration": {
|
|
2885
|
+
"name": "AiCriteriaSearch",
|
|
2886
|
+
"module": "./ai-criteria-search"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "js",
|
|
2891
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2892
|
+
"declaration": {
|
|
2893
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2894
|
+
"module": "./ai-criteria-search"
|
|
2895
|
+
}
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "js",
|
|
2899
|
+
"name": "foundationAiCriteriaSearch",
|
|
2900
|
+
"declaration": {
|
|
2901
|
+
"name": "foundationAiCriteriaSearch",
|
|
2902
|
+
"module": "./ai-criteria-search"
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"kind": "js",
|
|
2907
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2908
|
+
"declaration": {
|
|
2909
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2910
|
+
"module": "./ai-criteria-search"
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"kind": "js",
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"declaration": {
|
|
2917
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2918
|
+
"module": "./ai-criteria-search.styles"
|
|
2919
|
+
}
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"kind": "js",
|
|
2923
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2924
|
+
"declaration": {
|
|
2925
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2926
|
+
"module": "./ai-criteria-search.template"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2910
2929
|
{
|
|
2911
2930
|
"kind": "js",
|
|
2912
2931
|
"name": "*",
|
|
2913
2932
|
"declaration": {
|
|
2914
2933
|
"name": "*",
|
|
2915
|
-
"package": "./
|
|
2934
|
+
"package": "./validation/criteria-ir"
|
|
2916
2935
|
}
|
|
2917
2936
|
},
|
|
2918
2937
|
{
|
|
@@ -2920,7 +2939,7 @@
|
|
|
2920
2939
|
"name": "*",
|
|
2921
2940
|
"declaration": {
|
|
2922
2941
|
"name": "*",
|
|
2923
|
-
"package": "./
|
|
2942
|
+
"package": "./validation/operator-map"
|
|
2924
2943
|
}
|
|
2925
2944
|
},
|
|
2926
2945
|
{
|
|
@@ -2928,215 +2947,357 @@
|
|
|
2928
2947
|
"name": "*",
|
|
2929
2948
|
"declaration": {
|
|
2930
2949
|
"name": "*",
|
|
2931
|
-
"package": "./
|
|
2950
|
+
"package": "./validation/schema-validator"
|
|
2932
2951
|
}
|
|
2933
2952
|
}
|
|
2934
2953
|
]
|
|
2935
2954
|
},
|
|
2936
2955
|
{
|
|
2937
2956
|
"kind": "javascript-module",
|
|
2938
|
-
"path": "src/ai-criteria-search/
|
|
2957
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2939
2958
|
"declarations": [
|
|
2940
2959
|
{
|
|
2941
|
-
"kind": "
|
|
2942
|
-
"name": "
|
|
2943
|
-
"
|
|
2960
|
+
"kind": "function",
|
|
2961
|
+
"name": "formatValidationErrors",
|
|
2962
|
+
"return": {
|
|
2963
|
+
"type": {
|
|
2964
|
+
"text": "string"
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
"parameters": [
|
|
2968
|
+
{
|
|
2969
|
+
"name": "errors",
|
|
2970
|
+
"type": {
|
|
2971
|
+
"text": "ValidationError[]"
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
],
|
|
2975
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
"kind": "function",
|
|
2979
|
+
"name": "showCriteriaError",
|
|
2980
|
+
"return": {
|
|
2981
|
+
"type": {
|
|
2982
|
+
"text": "void"
|
|
2983
|
+
}
|
|
2984
|
+
},
|
|
2985
|
+
"parameters": [
|
|
2986
|
+
{
|
|
2987
|
+
"name": "title",
|
|
2988
|
+
"type": {
|
|
2989
|
+
"text": "string"
|
|
2990
|
+
},
|
|
2991
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"name": "body",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "string"
|
|
2997
|
+
},
|
|
2998
|
+
"description": "Error message to display"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"name": "tagName",
|
|
3002
|
+
"type": {
|
|
3003
|
+
"text": "string"
|
|
3004
|
+
},
|
|
3005
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3006
|
+
}
|
|
3007
|
+
],
|
|
3008
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2944
3009
|
}
|
|
2945
3010
|
],
|
|
2946
3011
|
"exports": [
|
|
2947
3012
|
{
|
|
2948
3013
|
"kind": "js",
|
|
2949
|
-
"name": "
|
|
3014
|
+
"name": "formatValidationErrors",
|
|
2950
3015
|
"declaration": {
|
|
2951
|
-
"name": "
|
|
2952
|
-
"module": "src/ai-criteria-search/
|
|
3016
|
+
"name": "formatValidationErrors",
|
|
3017
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"kind": "js",
|
|
3022
|
+
"name": "showCriteriaError",
|
|
3023
|
+
"declaration": {
|
|
3024
|
+
"name": "showCriteriaError",
|
|
3025
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2953
3026
|
}
|
|
2954
3027
|
}
|
|
2955
3028
|
]
|
|
2956
3029
|
},
|
|
2957
3030
|
{
|
|
2958
3031
|
"kind": "javascript-module",
|
|
2959
|
-
"path": "src/
|
|
3032
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2960
3033
|
"declarations": [
|
|
2961
3034
|
{
|
|
2962
|
-
"kind": "
|
|
2963
|
-
"name": "
|
|
2964
|
-
"
|
|
2965
|
-
"
|
|
3035
|
+
"kind": "function",
|
|
3036
|
+
"name": "foundationAccordionStyles",
|
|
3037
|
+
"return": {
|
|
3038
|
+
"type": {
|
|
3039
|
+
"text": "ElementStyles"
|
|
3040
|
+
}
|
|
2966
3041
|
},
|
|
2967
|
-
"
|
|
3042
|
+
"parameters": [
|
|
3043
|
+
{
|
|
3044
|
+
"name": "context",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"text": "ElementDefinitionContext"
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"name": "definition",
|
|
3051
|
+
"type": {
|
|
3052
|
+
"text": "FoundationElementDefinition"
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
]
|
|
2968
3056
|
}
|
|
2969
3057
|
],
|
|
2970
3058
|
"exports": [
|
|
2971
3059
|
{
|
|
2972
3060
|
"kind": "js",
|
|
2973
|
-
"name": "
|
|
3061
|
+
"name": "foundationAccordionStyles",
|
|
2974
3062
|
"declaration": {
|
|
2975
|
-
"name": "
|
|
2976
|
-
"module": "src/
|
|
3063
|
+
"name": "foundationAccordionStyles",
|
|
3064
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2977
3065
|
}
|
|
2978
3066
|
}
|
|
2979
3067
|
]
|
|
2980
3068
|
},
|
|
2981
3069
|
{
|
|
2982
3070
|
"kind": "javascript-module",
|
|
2983
|
-
"path": "src/
|
|
3071
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2984
3072
|
"declarations": [
|
|
2985
3073
|
{
|
|
2986
|
-
"kind": "
|
|
2987
|
-
"
|
|
2988
|
-
"
|
|
2989
|
-
|
|
3074
|
+
"kind": "function",
|
|
3075
|
+
"name": "foundationAccordionTemplate",
|
|
3076
|
+
"return": {
|
|
3077
|
+
"type": {
|
|
3078
|
+
"text": "ViewTemplate<Accordion>"
|
|
3079
|
+
}
|
|
3080
|
+
},
|
|
3081
|
+
"parameters": [
|
|
2990
3082
|
{
|
|
2991
|
-
"
|
|
2992
|
-
"name": "providerRegistry",
|
|
3083
|
+
"name": "context",
|
|
2993
3084
|
"type": {
|
|
2994
|
-
"text": "
|
|
3085
|
+
"text": "ElementDefinitionContext"
|
|
2995
3086
|
}
|
|
2996
3087
|
},
|
|
2997
3088
|
{
|
|
2998
|
-
"
|
|
2999
|
-
"
|
|
3089
|
+
"name": "definition",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "FoundationElementDefinition"
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
]
|
|
3095
|
+
}
|
|
3096
|
+
],
|
|
3097
|
+
"exports": [
|
|
3098
|
+
{
|
|
3099
|
+
"kind": "js",
|
|
3100
|
+
"name": "foundationAccordionTemplate",
|
|
3101
|
+
"declaration": {
|
|
3102
|
+
"name": "foundationAccordionTemplate",
|
|
3103
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
]
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "javascript-module",
|
|
3110
|
+
"path": "src/accordion/accordion.ts",
|
|
3111
|
+
"declarations": [
|
|
3112
|
+
{
|
|
3113
|
+
"kind": "class",
|
|
3114
|
+
"description": "",
|
|
3115
|
+
"name": "Accordion",
|
|
3116
|
+
"superclass": {
|
|
3117
|
+
"name": "FASTAccordion",
|
|
3118
|
+
"package": "@microsoft/fast-foundation"
|
|
3119
|
+
},
|
|
3120
|
+
"tagName": "%%prefix%%-accordion",
|
|
3121
|
+
"customElement": true,
|
|
3122
|
+
"attributes": [
|
|
3123
|
+
{
|
|
3124
|
+
"name": "expand-mode",
|
|
3000
3125
|
"type": {
|
|
3001
|
-
"text": "
|
|
3126
|
+
"text": "AccordionExpandMode"
|
|
3002
3127
|
},
|
|
3003
|
-
"
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
"type": {
|
|
3009
|
-
"text": "boolean"
|
|
3128
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3129
|
+
"fieldName": "expandmode",
|
|
3130
|
+
"inheritedFrom": {
|
|
3131
|
+
"name": "Accordion",
|
|
3132
|
+
"module": "src/accordion/accordion.ts"
|
|
3010
3133
|
}
|
|
3011
|
-
}
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
"name": "inputValue",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "string"
|
|
3017
|
-
},
|
|
3018
|
-
"default": "''"
|
|
3019
|
-
},
|
|
3134
|
+
}
|
|
3135
|
+
],
|
|
3136
|
+
"members": [
|
|
3020
3137
|
{
|
|
3021
3138
|
"kind": "field",
|
|
3022
|
-
"name": "
|
|
3139
|
+
"name": "expandmode",
|
|
3023
3140
|
"type": {
|
|
3024
|
-
"text": "
|
|
3141
|
+
"text": "AccordionExpandMode"
|
|
3025
3142
|
},
|
|
3026
|
-
"
|
|
3143
|
+
"privacy": "public",
|
|
3144
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3145
|
+
"inheritedFrom": {
|
|
3146
|
+
"name": "Accordion",
|
|
3147
|
+
"module": "src/accordion/accordion.ts"
|
|
3148
|
+
}
|
|
3027
3149
|
},
|
|
3028
3150
|
{
|
|
3029
3151
|
"kind": "field",
|
|
3030
|
-
"name": "
|
|
3152
|
+
"name": "activeid",
|
|
3031
3153
|
"type": {
|
|
3032
3154
|
"text": "string | null"
|
|
3033
3155
|
},
|
|
3034
|
-
"
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
"type": {
|
|
3040
|
-
"text": "CriteriaGroup[]"
|
|
3041
|
-
},
|
|
3042
|
-
"default": "[]"
|
|
3156
|
+
"privacy": "private",
|
|
3157
|
+
"inheritedFrom": {
|
|
3158
|
+
"name": "Accordion",
|
|
3159
|
+
"module": "src/accordion/accordion.ts"
|
|
3160
|
+
}
|
|
3043
3161
|
},
|
|
3044
3162
|
{
|
|
3045
3163
|
"kind": "field",
|
|
3046
|
-
"name": "
|
|
3164
|
+
"name": "activeItemIndex",
|
|
3047
3165
|
"type": {
|
|
3048
|
-
"text": "
|
|
3166
|
+
"text": "number"
|
|
3049
3167
|
},
|
|
3050
|
-
"
|
|
3168
|
+
"privacy": "private",
|
|
3169
|
+
"default": "0",
|
|
3170
|
+
"inheritedFrom": {
|
|
3171
|
+
"name": "Accordion",
|
|
3172
|
+
"module": "src/accordion/accordion.ts"
|
|
3173
|
+
}
|
|
3051
3174
|
},
|
|
3052
3175
|
{
|
|
3053
3176
|
"kind": "field",
|
|
3054
|
-
"name": "
|
|
3177
|
+
"name": "accordionIds",
|
|
3055
3178
|
"type": {
|
|
3056
|
-
"text": "
|
|
3179
|
+
"text": "Array<string | null>"
|
|
3057
3180
|
},
|
|
3058
|
-
"
|
|
3181
|
+
"privacy": "private",
|
|
3182
|
+
"inheritedFrom": {
|
|
3183
|
+
"name": "Accordion",
|
|
3184
|
+
"module": "src/accordion/accordion.ts"
|
|
3185
|
+
}
|
|
3059
3186
|
},
|
|
3060
3187
|
{
|
|
3061
3188
|
"kind": "field",
|
|
3062
|
-
"name": "
|
|
3063
|
-
"
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3189
|
+
"name": "change",
|
|
3190
|
+
"privacy": "private",
|
|
3191
|
+
"inheritedFrom": {
|
|
3192
|
+
"name": "Accordion",
|
|
3193
|
+
"module": "src/accordion/accordion.ts"
|
|
3194
|
+
}
|
|
3067
3195
|
},
|
|
3068
3196
|
{
|
|
3069
|
-
"kind": "
|
|
3070
|
-
"name": "
|
|
3071
|
-
"
|
|
3072
|
-
|
|
3197
|
+
"kind": "method",
|
|
3198
|
+
"name": "findExpandedItem",
|
|
3199
|
+
"privacy": "private",
|
|
3200
|
+
"return": {
|
|
3201
|
+
"type": {
|
|
3202
|
+
"text": "AccordionItem | null"
|
|
3203
|
+
}
|
|
3073
3204
|
},
|
|
3074
|
-
"
|
|
3205
|
+
"inheritedFrom": {
|
|
3206
|
+
"name": "Accordion",
|
|
3207
|
+
"module": "src/accordion/accordion.ts"
|
|
3208
|
+
}
|
|
3075
3209
|
},
|
|
3076
3210
|
{
|
|
3077
3211
|
"kind": "field",
|
|
3078
|
-
"name": "
|
|
3079
|
-
"type": {
|
|
3080
|
-
"text": "(() => void) | null"
|
|
3081
|
-
},
|
|
3212
|
+
"name": "setItems",
|
|
3082
3213
|
"privacy": "private",
|
|
3083
|
-
"
|
|
3214
|
+
"inheritedFrom": {
|
|
3215
|
+
"name": "Accordion",
|
|
3216
|
+
"module": "src/accordion/accordion.ts"
|
|
3217
|
+
}
|
|
3084
3218
|
},
|
|
3085
3219
|
{
|
|
3086
|
-
"kind": "
|
|
3087
|
-
"name": "
|
|
3088
|
-
"type": {
|
|
3089
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
3090
|
-
},
|
|
3220
|
+
"kind": "method",
|
|
3221
|
+
"name": "resetItems",
|
|
3091
3222
|
"privacy": "private",
|
|
3092
|
-
"
|
|
3223
|
+
"return": {
|
|
3224
|
+
"type": {
|
|
3225
|
+
"text": "void"
|
|
3226
|
+
}
|
|
3227
|
+
},
|
|
3228
|
+
"inheritedFrom": {
|
|
3229
|
+
"name": "Accordion",
|
|
3230
|
+
"module": "src/accordion/accordion.ts"
|
|
3231
|
+
}
|
|
3093
3232
|
},
|
|
3094
3233
|
{
|
|
3095
3234
|
"kind": "field",
|
|
3096
|
-
"name": "
|
|
3097
|
-
"
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3235
|
+
"name": "removeItemListeners",
|
|
3236
|
+
"privacy": "private",
|
|
3237
|
+
"inheritedFrom": {
|
|
3238
|
+
"name": "Accordion",
|
|
3239
|
+
"module": "src/accordion/accordion.ts"
|
|
3240
|
+
}
|
|
3101
3241
|
},
|
|
3102
3242
|
{
|
|
3103
3243
|
"kind": "field",
|
|
3104
|
-
"name": "
|
|
3105
|
-
"
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3244
|
+
"name": "activeItemChange",
|
|
3245
|
+
"privacy": "private",
|
|
3246
|
+
"inheritedFrom": {
|
|
3247
|
+
"name": "Accordion",
|
|
3248
|
+
"module": "src/accordion/accordion.ts"
|
|
3249
|
+
}
|
|
3109
3250
|
},
|
|
3110
3251
|
{
|
|
3111
3252
|
"kind": "method",
|
|
3112
|
-
"name": "
|
|
3253
|
+
"name": "getItemIds",
|
|
3113
3254
|
"privacy": "private",
|
|
3114
3255
|
"return": {
|
|
3115
3256
|
"type": {
|
|
3116
|
-
"text": "string"
|
|
3257
|
+
"text": "Array<string | null>"
|
|
3117
3258
|
}
|
|
3118
3259
|
},
|
|
3119
|
-
"
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
"text": "string"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3260
|
+
"inheritedFrom": {
|
|
3261
|
+
"name": "Accordion",
|
|
3262
|
+
"module": "src/accordion/accordion.ts"
|
|
3263
|
+
}
|
|
3127
3264
|
},
|
|
3128
3265
|
{
|
|
3129
3266
|
"kind": "method",
|
|
3130
|
-
"name": "
|
|
3267
|
+
"name": "isSingleExpandMode",
|
|
3268
|
+
"privacy": "private",
|
|
3131
3269
|
"return": {
|
|
3132
3270
|
"type": {
|
|
3133
|
-
"text": "
|
|
3271
|
+
"text": "boolean"
|
|
3134
3272
|
}
|
|
3273
|
+
},
|
|
3274
|
+
"inheritedFrom": {
|
|
3275
|
+
"name": "Accordion",
|
|
3276
|
+
"module": "src/accordion/accordion.ts"
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"kind": "field",
|
|
3281
|
+
"name": "handleItemKeyDown",
|
|
3282
|
+
"privacy": "private",
|
|
3283
|
+
"inheritedFrom": {
|
|
3284
|
+
"name": "Accordion",
|
|
3285
|
+
"module": "src/accordion/accordion.ts"
|
|
3286
|
+
}
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
"kind": "field",
|
|
3290
|
+
"name": "handleItemFocus",
|
|
3291
|
+
"privacy": "private",
|
|
3292
|
+
"inheritedFrom": {
|
|
3293
|
+
"name": "Accordion",
|
|
3294
|
+
"module": "src/accordion/accordion.ts"
|
|
3135
3295
|
}
|
|
3136
3296
|
},
|
|
3137
3297
|
{
|
|
3138
3298
|
"kind": "method",
|
|
3139
|
-
"name": "
|
|
3299
|
+
"name": "adjust",
|
|
3300
|
+
"privacy": "private",
|
|
3140
3301
|
"return": {
|
|
3141
3302
|
"type": {
|
|
3142
3303
|
"text": "void"
|
|
@@ -3144,48 +3305,30 @@
|
|
|
3144
3305
|
},
|
|
3145
3306
|
"parameters": [
|
|
3146
3307
|
{
|
|
3147
|
-
"name": "
|
|
3148
|
-
"type": {
|
|
3149
|
-
"text": "number"
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"name": "clauseIndex",
|
|
3308
|
+
"name": "adjustment",
|
|
3154
3309
|
"type": {
|
|
3155
3310
|
"text": "number"
|
|
3156
3311
|
}
|
|
3157
3312
|
}
|
|
3158
|
-
]
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
"name": "clearChips",
|
|
3163
|
-
"return": {
|
|
3164
|
-
"type": {
|
|
3165
|
-
"text": "void"
|
|
3166
|
-
}
|
|
3313
|
+
],
|
|
3314
|
+
"inheritedFrom": {
|
|
3315
|
+
"name": "Accordion",
|
|
3316
|
+
"module": "src/accordion/accordion.ts"
|
|
3167
3317
|
}
|
|
3168
3318
|
},
|
|
3169
3319
|
{
|
|
3170
3320
|
"kind": "method",
|
|
3171
|
-
"name": "
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
"
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
"kind": "method",
|
|
3183
|
-
"name": "toggleSpeechInput"
|
|
3184
|
-
},
|
|
3185
|
-
{
|
|
3186
|
-
"kind": "method",
|
|
3187
|
-
"name": "clearSpeechApplyDebounce",
|
|
3188
|
-
"privacy": "private"
|
|
3321
|
+
"name": "focusItem",
|
|
3322
|
+
"privacy": "private",
|
|
3323
|
+
"return": {
|
|
3324
|
+
"type": {
|
|
3325
|
+
"text": "void"
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
"inheritedFrom": {
|
|
3329
|
+
"name": "Accordion",
|
|
3330
|
+
"module": "src/accordion/accordion.ts"
|
|
3331
|
+
}
|
|
3189
3332
|
},
|
|
3190
3333
|
{
|
|
3191
3334
|
"kind": "field",
|
|
@@ -3301,48 +3444,26 @@
|
|
|
3301
3444
|
],
|
|
3302
3445
|
"events": [
|
|
3303
3446
|
{
|
|
3304
|
-
"description": "
|
|
3305
|
-
"name": "
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
}
|
|
3311
|
-
],
|
|
3312
|
-
"attributes": [
|
|
3313
|
-
{
|
|
3314
|
-
"name": "placeholder",
|
|
3315
|
-
"type": {
|
|
3316
|
-
"text": "string"
|
|
3317
|
-
},
|
|
3318
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3319
|
-
"fieldName": "placeholder"
|
|
3320
|
-
},
|
|
3321
|
-
{
|
|
3322
|
-
"type": {
|
|
3323
|
-
"text": "boolean"
|
|
3324
|
-
},
|
|
3325
|
-
"fieldName": "disabled"
|
|
3447
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3448
|
+
"name": "change",
|
|
3449
|
+
"inheritedFrom": {
|
|
3450
|
+
"name": "Accordion",
|
|
3451
|
+
"module": "src/accordion/accordion.ts"
|
|
3452
|
+
}
|
|
3326
3453
|
}
|
|
3327
|
-
]
|
|
3328
|
-
"superclass": {
|
|
3329
|
-
"name": "FoundationElement",
|
|
3330
|
-
"package": "@microsoft/fast-foundation"
|
|
3331
|
-
},
|
|
3332
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3333
|
-
"customElement": true
|
|
3454
|
+
]
|
|
3334
3455
|
},
|
|
3335
3456
|
{
|
|
3336
3457
|
"kind": "variable",
|
|
3337
|
-
"name": "
|
|
3458
|
+
"name": "foundationAccordionShadowOptions",
|
|
3338
3459
|
"type": {
|
|
3339
3460
|
"text": "ShadowRootInit"
|
|
3340
3461
|
},
|
|
3341
|
-
"default": "
|
|
3462
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3342
3463
|
},
|
|
3343
3464
|
{
|
|
3344
3465
|
"kind": "variable",
|
|
3345
|
-
"name": "
|
|
3466
|
+
"name": "defaultAccordionConfig",
|
|
3346
3467
|
"type": {
|
|
3347
3468
|
"text": "object"
|
|
3348
3469
|
},
|
|
@@ -3350,103 +3471,57 @@
|
|
|
3350
3471
|
},
|
|
3351
3472
|
{
|
|
3352
3473
|
"kind": "variable",
|
|
3353
|
-
"name": "
|
|
3474
|
+
"name": "foundationAccordion",
|
|
3475
|
+
"description": "The Foundation Accordion",
|
|
3476
|
+
"privacy": "public"
|
|
3354
3477
|
}
|
|
3355
3478
|
],
|
|
3356
3479
|
"exports": [
|
|
3357
3480
|
{
|
|
3358
3481
|
"kind": "js",
|
|
3359
|
-
"name": "
|
|
3482
|
+
"name": "Accordion",
|
|
3360
3483
|
"declaration": {
|
|
3361
|
-
"name": "
|
|
3362
|
-
"module": "src/
|
|
3484
|
+
"name": "Accordion",
|
|
3485
|
+
"module": "src/accordion/accordion.ts"
|
|
3363
3486
|
}
|
|
3364
3487
|
},
|
|
3365
3488
|
{
|
|
3366
3489
|
"kind": "js",
|
|
3367
|
-
"name": "
|
|
3490
|
+
"name": "foundationAccordionShadowOptions",
|
|
3368
3491
|
"declaration": {
|
|
3369
|
-
"name": "
|
|
3370
|
-
"module": "src/
|
|
3492
|
+
"name": "foundationAccordionShadowOptions",
|
|
3493
|
+
"module": "src/accordion/accordion.ts"
|
|
3371
3494
|
}
|
|
3372
3495
|
},
|
|
3373
3496
|
{
|
|
3374
3497
|
"kind": "js",
|
|
3375
|
-
"name": "
|
|
3498
|
+
"name": "defaultAccordionConfig",
|
|
3376
3499
|
"declaration": {
|
|
3377
|
-
"name": "
|
|
3378
|
-
"module": "src/
|
|
3500
|
+
"name": "defaultAccordionConfig",
|
|
3501
|
+
"module": "src/accordion/accordion.ts"
|
|
3379
3502
|
}
|
|
3380
3503
|
},
|
|
3381
3504
|
{
|
|
3382
3505
|
"kind": "js",
|
|
3383
|
-
"name": "
|
|
3506
|
+
"name": "foundationAccordion",
|
|
3384
3507
|
"declaration": {
|
|
3385
|
-
"name": "
|
|
3386
|
-
"module": "src/
|
|
3508
|
+
"name": "foundationAccordion",
|
|
3509
|
+
"module": "src/accordion/accordion.ts"
|
|
3387
3510
|
}
|
|
3388
3511
|
}
|
|
3389
3512
|
]
|
|
3390
3513
|
},
|
|
3391
3514
|
{
|
|
3392
3515
|
"kind": "javascript-module",
|
|
3393
|
-
"path": "src/
|
|
3516
|
+
"path": "src/accordion/index.ts",
|
|
3394
3517
|
"declarations": [],
|
|
3395
3518
|
"exports": [
|
|
3396
|
-
{
|
|
3397
|
-
"kind": "js",
|
|
3398
|
-
"name": "AiCriteriaSearch",
|
|
3399
|
-
"declaration": {
|
|
3400
|
-
"name": "AiCriteriaSearch",
|
|
3401
|
-
"module": "./ai-criteria-search"
|
|
3402
|
-
}
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"kind": "js",
|
|
3406
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
-
"declaration": {
|
|
3408
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
-
"module": "./ai-criteria-search"
|
|
3410
|
-
}
|
|
3411
|
-
},
|
|
3412
|
-
{
|
|
3413
|
-
"kind": "js",
|
|
3414
|
-
"name": "foundationAiCriteriaSearch",
|
|
3415
|
-
"declaration": {
|
|
3416
|
-
"name": "foundationAiCriteriaSearch",
|
|
3417
|
-
"module": "./ai-criteria-search"
|
|
3418
|
-
}
|
|
3419
|
-
},
|
|
3420
|
-
{
|
|
3421
|
-
"kind": "js",
|
|
3422
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
|
-
"declaration": {
|
|
3424
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
-
"module": "./ai-criteria-search"
|
|
3426
|
-
}
|
|
3427
|
-
},
|
|
3428
|
-
{
|
|
3429
|
-
"kind": "js",
|
|
3430
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3431
|
-
"declaration": {
|
|
3432
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
-
"module": "./ai-criteria-search.styles"
|
|
3434
|
-
}
|
|
3435
|
-
},
|
|
3436
|
-
{
|
|
3437
|
-
"kind": "js",
|
|
3438
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3439
|
-
"declaration": {
|
|
3440
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
-
"module": "./ai-criteria-search.template"
|
|
3442
|
-
}
|
|
3443
|
-
},
|
|
3444
3519
|
{
|
|
3445
3520
|
"kind": "js",
|
|
3446
3521
|
"name": "*",
|
|
3447
3522
|
"declaration": {
|
|
3448
3523
|
"name": "*",
|
|
3449
|
-
"package": "./
|
|
3524
|
+
"package": "./accordion.template"
|
|
3450
3525
|
}
|
|
3451
3526
|
},
|
|
3452
3527
|
{
|
|
@@ -3454,7 +3529,7 @@
|
|
|
3454
3529
|
"name": "*",
|
|
3455
3530
|
"declaration": {
|
|
3456
3531
|
"name": "*",
|
|
3457
|
-
"package": "./
|
|
3532
|
+
"package": "./accordion.styles"
|
|
3458
3533
|
}
|
|
3459
3534
|
},
|
|
3460
3535
|
{
|
|
@@ -3462,82 +3537,7 @@
|
|
|
3462
3537
|
"name": "*",
|
|
3463
3538
|
"declaration": {
|
|
3464
3539
|
"name": "*",
|
|
3465
|
-
"package": "./
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
3469
|
-
},
|
|
3470
|
-
{
|
|
3471
|
-
"kind": "javascript-module",
|
|
3472
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3473
|
-
"declarations": [
|
|
3474
|
-
{
|
|
3475
|
-
"kind": "function",
|
|
3476
|
-
"name": "formatValidationErrors",
|
|
3477
|
-
"return": {
|
|
3478
|
-
"type": {
|
|
3479
|
-
"text": "string"
|
|
3480
|
-
}
|
|
3481
|
-
},
|
|
3482
|
-
"parameters": [
|
|
3483
|
-
{
|
|
3484
|
-
"name": "errors",
|
|
3485
|
-
"type": {
|
|
3486
|
-
"text": "ValidationError[]"
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
],
|
|
3490
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
-
},
|
|
3492
|
-
{
|
|
3493
|
-
"kind": "function",
|
|
3494
|
-
"name": "showCriteriaError",
|
|
3495
|
-
"return": {
|
|
3496
|
-
"type": {
|
|
3497
|
-
"text": "void"
|
|
3498
|
-
}
|
|
3499
|
-
},
|
|
3500
|
-
"parameters": [
|
|
3501
|
-
{
|
|
3502
|
-
"name": "title",
|
|
3503
|
-
"type": {
|
|
3504
|
-
"text": "string"
|
|
3505
|
-
},
|
|
3506
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
-
},
|
|
3508
|
-
{
|
|
3509
|
-
"name": "body",
|
|
3510
|
-
"type": {
|
|
3511
|
-
"text": "string"
|
|
3512
|
-
},
|
|
3513
|
-
"description": "Error message to display"
|
|
3514
|
-
},
|
|
3515
|
-
{
|
|
3516
|
-
"name": "tagName",
|
|
3517
|
-
"type": {
|
|
3518
|
-
"text": "string"
|
|
3519
|
-
},
|
|
3520
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3521
|
-
}
|
|
3522
|
-
],
|
|
3523
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3524
|
-
}
|
|
3525
|
-
],
|
|
3526
|
-
"exports": [
|
|
3527
|
-
{
|
|
3528
|
-
"kind": "js",
|
|
3529
|
-
"name": "formatValidationErrors",
|
|
3530
|
-
"declaration": {
|
|
3531
|
-
"name": "formatValidationErrors",
|
|
3532
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
-
}
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "js",
|
|
3537
|
-
"name": "showCriteriaError",
|
|
3538
|
-
"declaration": {
|
|
3539
|
-
"name": "showCriteriaError",
|
|
3540
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3540
|
+
"package": "./accordion"
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
]
|
|
@@ -28711,23 +28711,6 @@
|
|
|
28711
28711
|
}
|
|
28712
28712
|
}
|
|
28713
28713
|
]
|
|
28714
|
-
},
|
|
28715
|
-
{
|
|
28716
|
-
"kind": "variable",
|
|
28717
|
-
"name": "iconTooltipPortalClassName",
|
|
28718
|
-
"type": {
|
|
28719
|
-
"text": "string"
|
|
28720
|
-
},
|
|
28721
|
-
"default": "'foundation-icon-tooltip'",
|
|
28722
|
-
"description": "Class name marking icon tooltips portaled to `document.body`.",
|
|
28723
|
-
"privacy": "public"
|
|
28724
|
-
},
|
|
28725
|
-
{
|
|
28726
|
-
"kind": "variable",
|
|
28727
|
-
"name": "iconTooltipPortalStyles",
|
|
28728
|
-
"default": "`\n .${iconTooltipPortalClassName} {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 999;\n width: 300px;\n contain: unset;\n }\n\n .${iconTooltipPortalClassName}::part(tooltip) {\n padding: calc(var(--design-unit) * 4px);\n background-color: color-mix(in srgb, var(--neutral-layer-4), #000 10%);\n border: 1px solid var(--neutral-layer-3);\n text-align: left;\n color: var(--neutral-foreground-hint);\n box-shadow: 0 4px 10px rgb(0 0 0 / 35%);\n font-size: var(--type-ramp-minus-1-font-size);\n }\n\n .${iconTooltipPortalClassName} .tooltip-title {\n color: var(--neutral-fill-strong-hover);\n margin: 0;\n }\n\n .${iconTooltipPortalClassName} .tooltip-description {\n margin-top: calc(var(--design-unit) * 2px);\n margin-bottom: 0;\n font-size: var(--type-ramp-base-font-size);\n }\n\n .${iconTooltipPortalClassName} .tooltip-second-title-margin {\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .${iconTooltipPortalClassName} .tooltip-list-padding {\n margin: 0;\n padding: 0 0 0 calc(var(--design-unit) * 4px);\n }\n\n .${iconTooltipPortalClassName} a,\n .${iconTooltipPortalClassName} a:active,\n .${iconTooltipPortalClassName} a:visited {\n color: var(--accent-foreground-rest);\n text-decoration: none;\n }\n\n .${iconTooltipPortalClassName} .warning {\n background: var(--warning-color);\n color: #000;\n }\n\n .${iconTooltipPortalClassName} .info {\n margin-top: calc(var(--design-unit) * 2px);\n padding: 20px;\n margin-bottom: 20px;\n height: auto;\n box-sizing: border-box;\n }\n`",
|
|
28729
|
-
"description": "Document-level styles for icon tooltips. The icon portals its tooltip element to\n`document.body` (so it cannot be painted over by absolutely-positioned siblings of\nits host, e.g. virtualized grid rows), which places the tooltip and its content\noutside the icon's shadow root — these rules therefore target it from the document.",
|
|
28730
|
-
"privacy": "public"
|
|
28731
28714
|
}
|
|
28732
28715
|
],
|
|
28733
28716
|
"exports": [
|
|
@@ -28738,22 +28721,6 @@
|
|
|
28738
28721
|
"name": "foundationIconStyles",
|
|
28739
28722
|
"module": "src/icon/icon.styles.ts"
|
|
28740
28723
|
}
|
|
28741
|
-
},
|
|
28742
|
-
{
|
|
28743
|
-
"kind": "js",
|
|
28744
|
-
"name": "iconTooltipPortalClassName",
|
|
28745
|
-
"declaration": {
|
|
28746
|
-
"name": "iconTooltipPortalClassName",
|
|
28747
|
-
"module": "src/icon/icon.styles.ts"
|
|
28748
|
-
}
|
|
28749
|
-
},
|
|
28750
|
-
{
|
|
28751
|
-
"kind": "js",
|
|
28752
|
-
"name": "iconTooltipPortalStyles",
|
|
28753
|
-
"declaration": {
|
|
28754
|
-
"name": "iconTooltipPortalStyles",
|
|
28755
|
-
"module": "src/icon/icon.styles.ts"
|
|
28756
|
-
}
|
|
28757
28724
|
}
|
|
28758
28725
|
]
|
|
28759
28726
|
},
|
|
@@ -28872,10 +28839,6 @@
|
|
|
28872
28839
|
"text": "string"
|
|
28873
28840
|
}
|
|
28874
28841
|
},
|
|
28875
|
-
{
|
|
28876
|
-
"kind": "method",
|
|
28877
|
-
"name": "tooltipChanged"
|
|
28878
|
-
},
|
|
28879
28842
|
{
|
|
28880
28843
|
"kind": "field",
|
|
28881
28844
|
"name": "isError",
|
|
@@ -28884,16 +28847,6 @@
|
|
|
28884
28847
|
},
|
|
28885
28848
|
"default": "false"
|
|
28886
28849
|
},
|
|
28887
|
-
{
|
|
28888
|
-
"kind": "field",
|
|
28889
|
-
"name": "tooltipElement",
|
|
28890
|
-
"type": {
|
|
28891
|
-
"text": "Tooltip | null"
|
|
28892
|
-
},
|
|
28893
|
-
"privacy": "private",
|
|
28894
|
-
"default": "null",
|
|
28895
|
-
"description": "The tooltip element is portaled to `document.body` rather than rendered inside this\ncomponent. In place, it inherits the stacking context of whatever hosts the icon — in\nvirtualized lists (e.g. AG Grid rows are absolutely-positioned, transformed siblings)\nthe next sibling paints over the tooltip no matter its z-index. The host is positioned\nfrom the anchor's `getBoundingClientRect()` (see Icon.positionTooltipElement);\nthe tooltip's internal anchored region cannot be relied on for placement because\n`tagFor(AnchoredRegion)` does not resolve for the subclassed genesis components."
|
|
28896
|
-
},
|
|
28897
28850
|
{
|
|
28898
28851
|
"kind": "field",
|
|
28899
28852
|
"name": "name",
|
|
@@ -28980,21 +28933,6 @@
|
|
|
28980
28933
|
"name": "loadIcon",
|
|
28981
28934
|
"privacy": "public"
|
|
28982
28935
|
},
|
|
28983
|
-
{
|
|
28984
|
-
"kind": "method",
|
|
28985
|
-
"name": "ensureTooltipElement",
|
|
28986
|
-
"privacy": "private"
|
|
28987
|
-
},
|
|
28988
|
-
{
|
|
28989
|
-
"kind": "field",
|
|
28990
|
-
"name": "positionTooltipElement",
|
|
28991
|
-
"privacy": "private"
|
|
28992
|
-
},
|
|
28993
|
-
{
|
|
28994
|
-
"kind": "method",
|
|
28995
|
-
"name": "removeTooltipElement",
|
|
28996
|
-
"privacy": "private"
|
|
28997
|
-
},
|
|
28998
28936
|
{
|
|
28999
28937
|
"kind": "field",
|
|
29000
28938
|
"name": "_presentation",
|