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