@genesislcap/foundation-ui 15.15.1 → 15.15.2-FUI-2603.6
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 +777 -777
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +19 -19
|
@@ -1424,42 +1424,11 @@
|
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
1426
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
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",
|
|
1427
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1459
1428
|
"declarations": [
|
|
1460
1429
|
{
|
|
1461
1430
|
"kind": "function",
|
|
1462
|
-
"name": "
|
|
1431
|
+
"name": "foundationAccordionStyles",
|
|
1463
1432
|
"return": {
|
|
1464
1433
|
"type": {
|
|
1465
1434
|
"text": "ElementStyles"
|
|
@@ -1484,24 +1453,24 @@
|
|
|
1484
1453
|
"exports": [
|
|
1485
1454
|
{
|
|
1486
1455
|
"kind": "js",
|
|
1487
|
-
"name": "
|
|
1456
|
+
"name": "foundationAccordionStyles",
|
|
1488
1457
|
"declaration": {
|
|
1489
|
-
"name": "
|
|
1490
|
-
"module": "src/accordion
|
|
1458
|
+
"name": "foundationAccordionStyles",
|
|
1459
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1491
1460
|
}
|
|
1492
1461
|
}
|
|
1493
1462
|
]
|
|
1494
1463
|
},
|
|
1495
1464
|
{
|
|
1496
1465
|
"kind": "javascript-module",
|
|
1497
|
-
"path": "src/accordion
|
|
1466
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1498
1467
|
"declarations": [
|
|
1499
1468
|
{
|
|
1500
1469
|
"kind": "function",
|
|
1501
|
-
"name": "
|
|
1470
|
+
"name": "foundationAccordionTemplate",
|
|
1502
1471
|
"return": {
|
|
1503
1472
|
"type": {
|
|
1504
|
-
"text": "ViewTemplate<
|
|
1473
|
+
"text": "ViewTemplate<Accordion>"
|
|
1505
1474
|
}
|
|
1506
1475
|
},
|
|
1507
1476
|
"parameters": [
|
|
@@ -1523,244 +1492,365 @@
|
|
|
1523
1492
|
"exports": [
|
|
1524
1493
|
{
|
|
1525
1494
|
"kind": "js",
|
|
1526
|
-
"name": "
|
|
1495
|
+
"name": "foundationAccordionTemplate",
|
|
1527
1496
|
"declaration": {
|
|
1528
|
-
"name": "
|
|
1529
|
-
"module": "src/accordion
|
|
1497
|
+
"name": "foundationAccordionTemplate",
|
|
1498
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1530
1499
|
}
|
|
1531
1500
|
}
|
|
1532
1501
|
]
|
|
1533
1502
|
},
|
|
1534
1503
|
{
|
|
1535
1504
|
"kind": "javascript-module",
|
|
1536
|
-
"path": "src/accordion
|
|
1505
|
+
"path": "src/accordion/accordion.ts",
|
|
1537
1506
|
"declarations": [
|
|
1538
1507
|
{
|
|
1539
1508
|
"kind": "class",
|
|
1540
1509
|
"description": "",
|
|
1541
|
-
"name": "
|
|
1510
|
+
"name": "Accordion",
|
|
1542
1511
|
"superclass": {
|
|
1543
|
-
"name": "
|
|
1544
|
-
"package": "@microsoft/fast-
|
|
1512
|
+
"name": "FASTAccordion",
|
|
1513
|
+
"package": "@microsoft/fast-foundation"
|
|
1545
1514
|
},
|
|
1546
|
-
"tagName": "%%prefix%%-accordion
|
|
1515
|
+
"tagName": "%%prefix%%-accordion",
|
|
1547
1516
|
"customElement": true,
|
|
1548
1517
|
"attributes": [
|
|
1549
1518
|
{
|
|
1550
|
-
"name": "
|
|
1551
|
-
"type": {
|
|
1552
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1553
|
-
},
|
|
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",
|
|
1557
|
-
"inheritedFrom": {
|
|
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",
|
|
1519
|
+
"name": "expand-mode",
|
|
1576
1520
|
"type": {
|
|
1577
|
-
"text": "
|
|
1521
|
+
"text": "AccordionExpandMode"
|
|
1578
1522
|
},
|
|
1579
|
-
"description": "
|
|
1580
|
-
"fieldName": "
|
|
1523
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1524
|
+
"fieldName": "expandmode",
|
|
1581
1525
|
"inheritedFrom": {
|
|
1582
|
-
"name": "
|
|
1583
|
-
"module": "src/accordion
|
|
1526
|
+
"name": "Accordion",
|
|
1527
|
+
"module": "src/accordion/accordion.ts"
|
|
1584
1528
|
}
|
|
1585
1529
|
}
|
|
1586
1530
|
],
|
|
1587
1531
|
"members": [
|
|
1588
1532
|
{
|
|
1589
1533
|
"kind": "field",
|
|
1590
|
-
"name": "
|
|
1534
|
+
"name": "expandmode",
|
|
1591
1535
|
"type": {
|
|
1592
|
-
"text": "
|
|
1536
|
+
"text": "AccordionExpandMode"
|
|
1593
1537
|
},
|
|
1594
1538
|
"privacy": "public",
|
|
1595
|
-
"
|
|
1596
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1539
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1597
1540
|
"inheritedFrom": {
|
|
1598
|
-
"name": "
|
|
1599
|
-
"module": "src/accordion
|
|
1541
|
+
"name": "Accordion",
|
|
1542
|
+
"module": "src/accordion/accordion.ts"
|
|
1600
1543
|
}
|
|
1601
1544
|
},
|
|
1602
1545
|
{
|
|
1603
1546
|
"kind": "field",
|
|
1604
|
-
"name": "
|
|
1547
|
+
"name": "activeid",
|
|
1605
1548
|
"type": {
|
|
1606
|
-
"text": "
|
|
1549
|
+
"text": "string | null"
|
|
1607
1550
|
},
|
|
1608
|
-
"privacy": "
|
|
1609
|
-
"default": "false",
|
|
1610
|
-
"description": "Expands or collapses the item.",
|
|
1551
|
+
"privacy": "private",
|
|
1611
1552
|
"inheritedFrom": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/accordion
|
|
1553
|
+
"name": "Accordion",
|
|
1554
|
+
"module": "src/accordion/accordion.ts"
|
|
1614
1555
|
}
|
|
1615
1556
|
},
|
|
1616
1557
|
{
|
|
1617
1558
|
"kind": "field",
|
|
1618
|
-
"name": "
|
|
1559
|
+
"name": "activeItemIndex",
|
|
1619
1560
|
"type": {
|
|
1620
|
-
"text": "
|
|
1561
|
+
"text": "number"
|
|
1621
1562
|
},
|
|
1622
|
-
"privacy": "
|
|
1623
|
-
"
|
|
1563
|
+
"privacy": "private",
|
|
1564
|
+
"default": "0",
|
|
1624
1565
|
"inheritedFrom": {
|
|
1625
|
-
"name": "
|
|
1626
|
-
"module": "src/accordion
|
|
1566
|
+
"name": "Accordion",
|
|
1567
|
+
"module": "src/accordion/accordion.ts"
|
|
1627
1568
|
}
|
|
1628
1569
|
},
|
|
1629
1570
|
{
|
|
1630
1571
|
"kind": "field",
|
|
1631
|
-
"name": "
|
|
1572
|
+
"name": "accordionIds",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"text": "Array<string | null>"
|
|
1575
|
+
},
|
|
1632
1576
|
"privacy": "private",
|
|
1633
1577
|
"inheritedFrom": {
|
|
1634
|
-
"name": "
|
|
1635
|
-
"module": "src/accordion
|
|
1578
|
+
"name": "Accordion",
|
|
1579
|
+
"module": "src/accordion/accordion.ts"
|
|
1636
1580
|
}
|
|
1637
1581
|
},
|
|
1638
1582
|
{
|
|
1639
1583
|
"kind": "field",
|
|
1640
|
-
"name": "
|
|
1641
|
-
"type": {
|
|
1642
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1643
|
-
},
|
|
1584
|
+
"name": "change",
|
|
1644
1585
|
"privacy": "private",
|
|
1645
|
-
"default": "void 0",
|
|
1646
1586
|
"inheritedFrom": {
|
|
1647
|
-
"name": "
|
|
1648
|
-
"module": "src/
|
|
1587
|
+
"name": "Accordion",
|
|
1588
|
+
"module": "src/accordion/accordion.ts"
|
|
1649
1589
|
}
|
|
1650
1590
|
},
|
|
1651
1591
|
{
|
|
1652
|
-
"kind": "
|
|
1653
|
-
"name": "
|
|
1654
|
-
"
|
|
1655
|
-
|
|
1592
|
+
"kind": "method",
|
|
1593
|
+
"name": "findExpandedItem",
|
|
1594
|
+
"privacy": "private",
|
|
1595
|
+
"return": {
|
|
1596
|
+
"type": {
|
|
1597
|
+
"text": "AccordionItem | null"
|
|
1598
|
+
}
|
|
1656
1599
|
},
|
|
1657
|
-
"privacy": "public",
|
|
1658
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1659
1600
|
"inheritedFrom": {
|
|
1660
|
-
"name": "
|
|
1661
|
-
"module": "src/
|
|
1601
|
+
"name": "Accordion",
|
|
1602
|
+
"module": "src/accordion/accordion.ts"
|
|
1662
1603
|
}
|
|
1663
1604
|
},
|
|
1664
1605
|
{
|
|
1665
1606
|
"kind": "field",
|
|
1666
|
-
"name": "
|
|
1667
|
-
"
|
|
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.",
|
|
1607
|
+
"name": "setItems",
|
|
1608
|
+
"privacy": "private",
|
|
1672
1609
|
"inheritedFrom": {
|
|
1673
|
-
"name": "
|
|
1674
|
-
"module": "src/
|
|
1610
|
+
"name": "Accordion",
|
|
1611
|
+
"module": "src/accordion/accordion.ts"
|
|
1675
1612
|
}
|
|
1676
1613
|
},
|
|
1677
1614
|
{
|
|
1678
1615
|
"kind": "method",
|
|
1679
|
-
"name": "
|
|
1680
|
-
"privacy": "
|
|
1616
|
+
"name": "resetItems",
|
|
1617
|
+
"privacy": "private",
|
|
1681
1618
|
"return": {
|
|
1682
1619
|
"type": {
|
|
1683
1620
|
"text": "void"
|
|
1684
1621
|
}
|
|
1685
1622
|
},
|
|
1686
1623
|
"inheritedFrom": {
|
|
1687
|
-
"name": "
|
|
1688
|
-
"module": "src/
|
|
1624
|
+
"name": "Accordion",
|
|
1625
|
+
"module": "src/accordion/accordion.ts"
|
|
1689
1626
|
}
|
|
1690
1627
|
},
|
|
1691
1628
|
{
|
|
1692
1629
|
"kind": "field",
|
|
1693
|
-
"name": "
|
|
1694
|
-
"
|
|
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.",
|
|
1630
|
+
"name": "removeItemListeners",
|
|
1631
|
+
"privacy": "private",
|
|
1699
1632
|
"inheritedFrom": {
|
|
1700
|
-
"name": "
|
|
1701
|
-
"module": "src/
|
|
1633
|
+
"name": "Accordion",
|
|
1634
|
+
"module": "src/accordion/accordion.ts"
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"kind": "field",
|
|
1639
|
+
"name": "activeItemChange",
|
|
1640
|
+
"privacy": "private",
|
|
1641
|
+
"inheritedFrom": {
|
|
1642
|
+
"name": "Accordion",
|
|
1643
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
1644
|
}
|
|
1703
1645
|
},
|
|
1704
1646
|
{
|
|
1705
1647
|
"kind": "method",
|
|
1706
|
-
"name": "
|
|
1707
|
-
"privacy": "
|
|
1648
|
+
"name": "getItemIds",
|
|
1649
|
+
"privacy": "private",
|
|
1708
1650
|
"return": {
|
|
1709
1651
|
"type": {
|
|
1710
|
-
"text": "
|
|
1652
|
+
"text": "Array<string | null>"
|
|
1711
1653
|
}
|
|
1712
1654
|
},
|
|
1713
1655
|
"inheritedFrom": {
|
|
1714
|
-
"name": "
|
|
1715
|
-
"module": "src/
|
|
1656
|
+
"name": "Accordion",
|
|
1657
|
+
"module": "src/accordion/accordion.ts"
|
|
1716
1658
|
}
|
|
1717
1659
|
},
|
|
1718
1660
|
{
|
|
1719
1661
|
"kind": "method",
|
|
1720
|
-
"name": "
|
|
1721
|
-
"privacy": "
|
|
1722
|
-
"static": true,
|
|
1662
|
+
"name": "isSingleExpandMode",
|
|
1663
|
+
"privacy": "private",
|
|
1723
1664
|
"return": {
|
|
1724
1665
|
"type": {
|
|
1725
|
-
"text": "
|
|
1666
|
+
"text": "boolean"
|
|
1726
1667
|
}
|
|
1727
1668
|
},
|
|
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.",
|
|
1744
1669
|
"inheritedFrom": {
|
|
1745
|
-
"name": "
|
|
1746
|
-
"module": "src/
|
|
1670
|
+
"name": "Accordion",
|
|
1671
|
+
"module": "src/accordion/accordion.ts"
|
|
1747
1672
|
}
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1750
|
-
"events": [
|
|
1673
|
+
},
|
|
1751
1674
|
{
|
|
1752
|
-
"
|
|
1753
|
-
"name": "
|
|
1754
|
-
"
|
|
1755
|
-
|
|
1756
|
-
"
|
|
1675
|
+
"kind": "field",
|
|
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",
|
|
1843
|
+
"name": "change",
|
|
1844
|
+
"inheritedFrom": {
|
|
1845
|
+
"name": "Accordion",
|
|
1846
|
+
"module": "src/accordion/accordion.ts"
|
|
1757
1847
|
}
|
|
1758
1848
|
}
|
|
1759
1849
|
]
|
|
1760
1850
|
},
|
|
1761
1851
|
{
|
|
1762
1852
|
"kind": "variable",
|
|
1763
|
-
"name": "
|
|
1853
|
+
"name": "foundationAccordionShadowOptions",
|
|
1764
1854
|
"type": {
|
|
1765
1855
|
"text": "ShadowRootInit"
|
|
1766
1856
|
},
|
|
@@ -1768,57 +1858,57 @@
|
|
|
1768
1858
|
},
|
|
1769
1859
|
{
|
|
1770
1860
|
"kind": "variable",
|
|
1771
|
-
"name": "
|
|
1861
|
+
"name": "defaultAccordionConfig",
|
|
1772
1862
|
"type": {
|
|
1773
1863
|
"text": "object"
|
|
1774
1864
|
},
|
|
1775
|
-
"default": "{
|
|
1865
|
+
"default": "{}"
|
|
1776
1866
|
},
|
|
1777
1867
|
{
|
|
1778
1868
|
"kind": "variable",
|
|
1779
|
-
"name": "
|
|
1780
|
-
"description": "The Foundation Accordion
|
|
1869
|
+
"name": "foundationAccordion",
|
|
1870
|
+
"description": "The Foundation Accordion",
|
|
1781
1871
|
"privacy": "public"
|
|
1782
1872
|
}
|
|
1783
1873
|
],
|
|
1784
1874
|
"exports": [
|
|
1785
1875
|
{
|
|
1786
1876
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1877
|
+
"name": "Accordion",
|
|
1788
1878
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/accordion
|
|
1879
|
+
"name": "Accordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1791
1881
|
}
|
|
1792
1882
|
},
|
|
1793
1883
|
{
|
|
1794
1884
|
"kind": "js",
|
|
1795
|
-
"name": "
|
|
1885
|
+
"name": "foundationAccordionShadowOptions",
|
|
1796
1886
|
"declaration": {
|
|
1797
|
-
"name": "
|
|
1798
|
-
"module": "src/accordion
|
|
1887
|
+
"name": "foundationAccordionShadowOptions",
|
|
1888
|
+
"module": "src/accordion/accordion.ts"
|
|
1799
1889
|
}
|
|
1800
1890
|
},
|
|
1801
1891
|
{
|
|
1802
1892
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1893
|
+
"name": "defaultAccordionConfig",
|
|
1804
1894
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/accordion
|
|
1895
|
+
"name": "defaultAccordionConfig",
|
|
1896
|
+
"module": "src/accordion/accordion.ts"
|
|
1807
1897
|
}
|
|
1808
1898
|
},
|
|
1809
1899
|
{
|
|
1810
1900
|
"kind": "js",
|
|
1811
|
-
"name": "
|
|
1901
|
+
"name": "foundationAccordion",
|
|
1812
1902
|
"declaration": {
|
|
1813
|
-
"name": "
|
|
1814
|
-
"module": "src/accordion
|
|
1903
|
+
"name": "foundationAccordion",
|
|
1904
|
+
"module": "src/accordion/accordion.ts"
|
|
1815
1905
|
}
|
|
1816
1906
|
}
|
|
1817
1907
|
]
|
|
1818
1908
|
},
|
|
1819
1909
|
{
|
|
1820
1910
|
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/accordion
|
|
1911
|
+
"path": "src/accordion/index.ts",
|
|
1822
1912
|
"declarations": [],
|
|
1823
1913
|
"exports": [
|
|
1824
1914
|
{
|
|
@@ -1826,7 +1916,7 @@
|
|
|
1826
1916
|
"name": "*",
|
|
1827
1917
|
"declaration": {
|
|
1828
1918
|
"name": "*",
|
|
1829
|
-
"package": "./accordion
|
|
1919
|
+
"package": "./accordion.template"
|
|
1830
1920
|
}
|
|
1831
1921
|
},
|
|
1832
1922
|
{
|
|
@@ -1834,7 +1924,7 @@
|
|
|
1834
1924
|
"name": "*",
|
|
1835
1925
|
"declaration": {
|
|
1836
1926
|
"name": "*",
|
|
1837
|
-
"package": "./accordion
|
|
1927
|
+
"package": "./accordion.styles"
|
|
1838
1928
|
}
|
|
1839
1929
|
},
|
|
1840
1930
|
{
|
|
@@ -1842,7 +1932,38 @@
|
|
|
1842
1932
|
"name": "*",
|
|
1843
1933
|
"declaration": {
|
|
1844
1934
|
"name": "*",
|
|
1845
|
-
"package": "./accordion
|
|
1935
|
+
"package": "./accordion"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"kind": "javascript-module",
|
|
1942
|
+
"path": "src/_config/index.ts",
|
|
1943
|
+
"declarations": [],
|
|
1944
|
+
"exports": [
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "js",
|
|
1947
|
+
"name": "*",
|
|
1948
|
+
"declaration": {
|
|
1949
|
+
"name": "*",
|
|
1950
|
+
"package": "./styles"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "js",
|
|
1955
|
+
"name": "*",
|
|
1956
|
+
"declaration": {
|
|
1957
|
+
"name": "*",
|
|
1958
|
+
"package": "./tokens"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "js",
|
|
1963
|
+
"name": "*",
|
|
1964
|
+
"declaration": {
|
|
1965
|
+
"name": "*",
|
|
1966
|
+
"package": "./values"
|
|
1846
1967
|
}
|
|
1847
1968
|
}
|
|
1848
1969
|
]
|
|
@@ -2420,275 +2541,208 @@
|
|
|
2420
2541
|
},
|
|
2421
2542
|
{
|
|
2422
2543
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/
|
|
2544
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2424
2545
|
"declarations": [
|
|
2425
2546
|
{
|
|
2426
|
-
"kind": "
|
|
2427
|
-
"name": "
|
|
2428
|
-
"
|
|
2429
|
-
"type": {
|
|
2430
|
-
"text": "ElementStyles"
|
|
2431
|
-
}
|
|
2432
|
-
},
|
|
2433
|
-
"parameters": [
|
|
2434
|
-
{
|
|
2435
|
-
"name": "context",
|
|
2436
|
-
"type": {
|
|
2437
|
-
"text": "ElementDefinitionContext"
|
|
2438
|
-
}
|
|
2439
|
-
},
|
|
2440
|
-
{
|
|
2441
|
-
"name": "definition",
|
|
2442
|
-
"type": {
|
|
2443
|
-
"text": "FoundationElementDefinition"
|
|
2444
|
-
}
|
|
2445
|
-
}
|
|
2446
|
-
]
|
|
2547
|
+
"kind": "variable",
|
|
2548
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2549
|
+
"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`"
|
|
2447
2550
|
}
|
|
2448
2551
|
],
|
|
2449
2552
|
"exports": [
|
|
2450
2553
|
{
|
|
2451
2554
|
"kind": "js",
|
|
2452
|
-
"name": "
|
|
2555
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2453
2556
|
"declaration": {
|
|
2454
|
-
"name": "
|
|
2455
|
-
"module": "src/
|
|
2557
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2558
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2456
2559
|
}
|
|
2457
2560
|
}
|
|
2458
2561
|
]
|
|
2459
2562
|
},
|
|
2460
2563
|
{
|
|
2461
2564
|
"kind": "javascript-module",
|
|
2462
|
-
"path": "src/
|
|
2565
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2463
2566
|
"declarations": [
|
|
2464
2567
|
{
|
|
2465
|
-
"kind": "
|
|
2466
|
-
"name": "
|
|
2467
|
-
"
|
|
2468
|
-
"
|
|
2469
|
-
"text": "ViewTemplate<Accordion>"
|
|
2470
|
-
}
|
|
2568
|
+
"kind": "variable",
|
|
2569
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2570
|
+
"type": {
|
|
2571
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2471
2572
|
},
|
|
2472
|
-
"
|
|
2473
|
-
{
|
|
2474
|
-
"name": "context",
|
|
2475
|
-
"type": {
|
|
2476
|
-
"text": "ElementDefinitionContext"
|
|
2477
|
-
}
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
"name": "definition",
|
|
2481
|
-
"type": {
|
|
2482
|
-
"text": "FoundationElementDefinition"
|
|
2483
|
-
}
|
|
2484
|
-
}
|
|
2485
|
-
]
|
|
2573
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2486
2574
|
}
|
|
2487
2575
|
],
|
|
2488
2576
|
"exports": [
|
|
2489
2577
|
{
|
|
2490
2578
|
"kind": "js",
|
|
2491
|
-
"name": "
|
|
2579
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2492
2580
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/
|
|
2581
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2582
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2495
2583
|
}
|
|
2496
2584
|
}
|
|
2497
2585
|
]
|
|
2498
2586
|
},
|
|
2499
2587
|
{
|
|
2500
2588
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/
|
|
2589
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2502
2590
|
"declarations": [
|
|
2503
2591
|
{
|
|
2504
2592
|
"kind": "class",
|
|
2505
|
-
"description": "",
|
|
2506
|
-
"name": "
|
|
2507
|
-
"
|
|
2508
|
-
"name": "FASTAccordion",
|
|
2509
|
-
"package": "@microsoft/fast-foundation"
|
|
2510
|
-
},
|
|
2511
|
-
"tagName": "%%prefix%%-accordion",
|
|
2512
|
-
"customElement": true,
|
|
2513
|
-
"attributes": [
|
|
2593
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2594
|
+
"name": "AiCriteriaSearch",
|
|
2595
|
+
"members": [
|
|
2514
2596
|
{
|
|
2515
|
-
"
|
|
2597
|
+
"kind": "field",
|
|
2598
|
+
"name": "providerRegistry",
|
|
2516
2599
|
"type": {
|
|
2517
|
-
"text": "
|
|
2518
|
-
},
|
|
2519
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2520
|
-
"fieldName": "expandmode",
|
|
2521
|
-
"inheritedFrom": {
|
|
2522
|
-
"name": "Accordion",
|
|
2523
|
-
"module": "src/accordion/accordion.ts"
|
|
2600
|
+
"text": "AIProviderRegistry"
|
|
2524
2601
|
}
|
|
2525
|
-
}
|
|
2526
|
-
],
|
|
2527
|
-
"members": [
|
|
2602
|
+
},
|
|
2528
2603
|
{
|
|
2529
2604
|
"kind": "field",
|
|
2530
|
-
"name": "
|
|
2605
|
+
"name": "placeholder",
|
|
2531
2606
|
"type": {
|
|
2532
|
-
"text": "
|
|
2607
|
+
"text": "string"
|
|
2533
2608
|
},
|
|
2534
|
-
"
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2609
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"kind": "field",
|
|
2613
|
+
"name": "disabled",
|
|
2614
|
+
"type": {
|
|
2615
|
+
"text": "boolean"
|
|
2539
2616
|
}
|
|
2540
2617
|
},
|
|
2541
2618
|
{
|
|
2542
2619
|
"kind": "field",
|
|
2543
|
-
"name": "
|
|
2620
|
+
"name": "inputValue",
|
|
2544
2621
|
"type": {
|
|
2545
|
-
"text": "string
|
|
2622
|
+
"text": "string"
|
|
2546
2623
|
},
|
|
2547
|
-
"
|
|
2548
|
-
"inheritedFrom": {
|
|
2549
|
-
"name": "Accordion",
|
|
2550
|
-
"module": "src/accordion/accordion.ts"
|
|
2551
|
-
}
|
|
2624
|
+
"default": "''"
|
|
2552
2625
|
},
|
|
2553
2626
|
{
|
|
2554
2627
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2628
|
+
"name": "isInterpreting",
|
|
2556
2629
|
"type": {
|
|
2557
|
-
"text": "
|
|
2630
|
+
"text": "boolean"
|
|
2558
2631
|
},
|
|
2559
|
-
"
|
|
2560
|
-
"default": "0",
|
|
2561
|
-
"inheritedFrom": {
|
|
2562
|
-
"name": "Accordion",
|
|
2563
|
-
"module": "src/accordion/accordion.ts"
|
|
2564
|
-
}
|
|
2632
|
+
"default": "false"
|
|
2565
2633
|
},
|
|
2566
2634
|
{
|
|
2567
2635
|
"kind": "field",
|
|
2568
|
-
"name": "
|
|
2636
|
+
"name": "lastValidCriteria",
|
|
2569
2637
|
"type": {
|
|
2570
|
-
"text": "
|
|
2638
|
+
"text": "string | null"
|
|
2571
2639
|
},
|
|
2572
|
-
"
|
|
2573
|
-
"inheritedFrom": {
|
|
2574
|
-
"name": "Accordion",
|
|
2575
|
-
"module": "src/accordion/accordion.ts"
|
|
2576
|
-
}
|
|
2640
|
+
"default": "null"
|
|
2577
2641
|
},
|
|
2578
2642
|
{
|
|
2579
2643
|
"kind": "field",
|
|
2580
|
-
"name": "
|
|
2581
|
-
"
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
}
|
|
2644
|
+
"name": "activeGroups",
|
|
2645
|
+
"type": {
|
|
2646
|
+
"text": "CriteriaGroup[]"
|
|
2647
|
+
},
|
|
2648
|
+
"default": "[]"
|
|
2586
2649
|
},
|
|
2587
2650
|
{
|
|
2588
|
-
"kind": "
|
|
2589
|
-
"name": "
|
|
2590
|
-
"
|
|
2591
|
-
|
|
2592
|
-
"type": {
|
|
2593
|
-
"text": "AccordionItem | null"
|
|
2594
|
-
}
|
|
2651
|
+
"kind": "field",
|
|
2652
|
+
"name": "showingChips",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "boolean"
|
|
2595
2655
|
},
|
|
2596
|
-
"
|
|
2597
|
-
"name": "Accordion",
|
|
2598
|
-
"module": "src/accordion/accordion.ts"
|
|
2599
|
-
}
|
|
2656
|
+
"default": "false"
|
|
2600
2657
|
},
|
|
2601
2658
|
{
|
|
2602
2659
|
"kind": "field",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
}
|
|
2660
|
+
"name": "fieldMetadata",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "MetadataDetail[] | string[]"
|
|
2663
|
+
},
|
|
2664
|
+
"default": "[]"
|
|
2609
2665
|
},
|
|
2610
2666
|
{
|
|
2611
|
-
"kind": "
|
|
2612
|
-
"name": "
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2615
|
-
"type": {
|
|
2616
|
-
"text": "void"
|
|
2617
|
-
}
|
|
2667
|
+
"kind": "field",
|
|
2668
|
+
"name": "isRecording",
|
|
2669
|
+
"type": {
|
|
2670
|
+
"text": "boolean"
|
|
2618
2671
|
},
|
|
2619
|
-
"
|
|
2620
|
-
"name": "Accordion",
|
|
2621
|
-
"module": "src/accordion/accordion.ts"
|
|
2622
|
-
}
|
|
2672
|
+
"default": "false"
|
|
2623
2673
|
},
|
|
2624
2674
|
{
|
|
2625
2675
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2676
|
+
"name": "textAreaRef",
|
|
2677
|
+
"type": {
|
|
2678
|
+
"text": "HTMLTextAreaElement"
|
|
2679
|
+
},
|
|
2680
|
+
"privacy": "public"
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"kind": "field",
|
|
2684
|
+
"name": "stopRecording",
|
|
2685
|
+
"type": {
|
|
2686
|
+
"text": "(() => void) | null"
|
|
2687
|
+
},
|
|
2627
2688
|
"privacy": "private",
|
|
2628
|
-
"
|
|
2629
|
-
"name": "Accordion",
|
|
2630
|
-
"module": "src/accordion/accordion.ts"
|
|
2631
|
-
}
|
|
2689
|
+
"default": "null"
|
|
2632
2690
|
},
|
|
2633
2691
|
{
|
|
2634
2692
|
"kind": "field",
|
|
2635
|
-
"name": "
|
|
2693
|
+
"name": "speechApplyDebounceTimer",
|
|
2694
|
+
"type": {
|
|
2695
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2696
|
+
},
|
|
2636
2697
|
"privacy": "private",
|
|
2637
|
-
"
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2698
|
+
"default": "null"
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"kind": "field",
|
|
2702
|
+
"name": "speechAvailable",
|
|
2703
|
+
"type": {
|
|
2704
|
+
"text": "boolean"
|
|
2705
|
+
},
|
|
2706
|
+
"readonly": true
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"kind": "field",
|
|
2710
|
+
"name": "criteriaChips",
|
|
2711
|
+
"type": {
|
|
2712
|
+
"text": "CriteriaChip[]"
|
|
2713
|
+
},
|
|
2714
|
+
"readonly": true
|
|
2641
2715
|
},
|
|
2642
2716
|
{
|
|
2643
2717
|
"kind": "method",
|
|
2644
|
-
"name": "
|
|
2718
|
+
"name": "getFieldLabel",
|
|
2645
2719
|
"privacy": "private",
|
|
2646
2720
|
"return": {
|
|
2647
2721
|
"type": {
|
|
2648
|
-
"text": "
|
|
2722
|
+
"text": "string"
|
|
2649
2723
|
}
|
|
2650
2724
|
},
|
|
2651
|
-
"
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2725
|
+
"parameters": [
|
|
2726
|
+
{
|
|
2727
|
+
"name": "fieldName",
|
|
2728
|
+
"type": {
|
|
2729
|
+
"text": "string"
|
|
2730
|
+
}
|
|
2731
|
+
}
|
|
2732
|
+
]
|
|
2655
2733
|
},
|
|
2656
2734
|
{
|
|
2657
2735
|
"kind": "method",
|
|
2658
|
-
"name": "
|
|
2659
|
-
"privacy": "private",
|
|
2736
|
+
"name": "toggleCriteriaView",
|
|
2660
2737
|
"return": {
|
|
2661
2738
|
"type": {
|
|
2662
|
-
"text": "
|
|
2739
|
+
"text": "void"
|
|
2663
2740
|
}
|
|
2664
|
-
},
|
|
2665
|
-
"inheritedFrom": {
|
|
2666
|
-
"name": "Accordion",
|
|
2667
|
-
"module": "src/accordion/accordion.ts"
|
|
2668
|
-
}
|
|
2669
|
-
},
|
|
2670
|
-
{
|
|
2671
|
-
"kind": "field",
|
|
2672
|
-
"name": "handleItemKeyDown",
|
|
2673
|
-
"privacy": "private",
|
|
2674
|
-
"inheritedFrom": {
|
|
2675
|
-
"name": "Accordion",
|
|
2676
|
-
"module": "src/accordion/accordion.ts"
|
|
2677
|
-
}
|
|
2678
|
-
},
|
|
2679
|
-
{
|
|
2680
|
-
"kind": "field",
|
|
2681
|
-
"name": "handleItemFocus",
|
|
2682
|
-
"privacy": "private",
|
|
2683
|
-
"inheritedFrom": {
|
|
2684
|
-
"name": "Accordion",
|
|
2685
|
-
"module": "src/accordion/accordion.ts"
|
|
2686
2741
|
}
|
|
2687
2742
|
},
|
|
2688
2743
|
{
|
|
2689
2744
|
"kind": "method",
|
|
2690
|
-
"name": "
|
|
2691
|
-
"privacy": "private",
|
|
2745
|
+
"name": "removeChip",
|
|
2692
2746
|
"return": {
|
|
2693
2747
|
"type": {
|
|
2694
2748
|
"text": "void"
|
|
@@ -2696,31 +2750,49 @@
|
|
|
2696
2750
|
},
|
|
2697
2751
|
"parameters": [
|
|
2698
2752
|
{
|
|
2699
|
-
"name": "
|
|
2753
|
+
"name": "groupIndex",
|
|
2754
|
+
"type": {
|
|
2755
|
+
"text": "number"
|
|
2756
|
+
}
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"name": "clauseIndex",
|
|
2700
2760
|
"type": {
|
|
2701
2761
|
"text": "number"
|
|
2702
2762
|
}
|
|
2703
2763
|
}
|
|
2704
|
-
]
|
|
2705
|
-
"inheritedFrom": {
|
|
2706
|
-
"name": "Accordion",
|
|
2707
|
-
"module": "src/accordion/accordion.ts"
|
|
2708
|
-
}
|
|
2764
|
+
]
|
|
2709
2765
|
},
|
|
2710
2766
|
{
|
|
2711
2767
|
"kind": "method",
|
|
2712
|
-
"name": "
|
|
2713
|
-
"privacy": "private",
|
|
2768
|
+
"name": "clearChips",
|
|
2714
2769
|
"return": {
|
|
2715
2770
|
"type": {
|
|
2716
2771
|
"text": "void"
|
|
2717
2772
|
}
|
|
2718
|
-
},
|
|
2719
|
-
"inheritedFrom": {
|
|
2720
|
-
"name": "Accordion",
|
|
2721
|
-
"module": "src/accordion/accordion.ts"
|
|
2722
2773
|
}
|
|
2723
2774
|
},
|
|
2775
|
+
{
|
|
2776
|
+
"kind": "method",
|
|
2777
|
+
"name": "handleSubmit"
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"kind": "method",
|
|
2781
|
+
"name": "handleBlur"
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"kind": "method",
|
|
2785
|
+
"name": "clear"
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"kind": "method",
|
|
2789
|
+
"name": "toggleSpeechInput"
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"kind": "method",
|
|
2793
|
+
"name": "clearSpeechApplyDebounce",
|
|
2794
|
+
"privacy": "private"
|
|
2795
|
+
},
|
|
2724
2796
|
{
|
|
2725
2797
|
"kind": "field",
|
|
2726
2798
|
"name": "_presentation",
|
|
@@ -2835,26 +2907,48 @@
|
|
|
2835
2907
|
],
|
|
2836
2908
|
"events": [
|
|
2837
2909
|
{
|
|
2838
|
-
"description": "
|
|
2839
|
-
"name": "
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2910
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2911
|
+
"name": "criteria-changed"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2915
|
+
"name": "validation-errors"
|
|
2844
2916
|
}
|
|
2845
|
-
]
|
|
2917
|
+
],
|
|
2918
|
+
"attributes": [
|
|
2919
|
+
{
|
|
2920
|
+
"name": "placeholder",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2925
|
+
"fieldName": "placeholder"
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "boolean"
|
|
2930
|
+
},
|
|
2931
|
+
"fieldName": "disabled"
|
|
2932
|
+
}
|
|
2933
|
+
],
|
|
2934
|
+
"superclass": {
|
|
2935
|
+
"name": "FoundationElement",
|
|
2936
|
+
"package": "@microsoft/fast-foundation"
|
|
2937
|
+
},
|
|
2938
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2939
|
+
"customElement": true
|
|
2846
2940
|
},
|
|
2847
2941
|
{
|
|
2848
2942
|
"kind": "variable",
|
|
2849
|
-
"name": "
|
|
2943
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2850
2944
|
"type": {
|
|
2851
2945
|
"text": "ShadowRootInit"
|
|
2852
2946
|
},
|
|
2853
|
-
"default": "
|
|
2947
|
+
"default": "undefined"
|
|
2854
2948
|
},
|
|
2855
2949
|
{
|
|
2856
2950
|
"kind": "variable",
|
|
2857
|
-
"name": "
|
|
2951
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
2952
|
"type": {
|
|
2859
2953
|
"text": "object"
|
|
2860
2954
|
},
|
|
@@ -2862,330 +2956,379 @@
|
|
|
2862
2956
|
},
|
|
2863
2957
|
{
|
|
2864
2958
|
"kind": "variable",
|
|
2865
|
-
"name": "
|
|
2866
|
-
"description": "The Foundation Accordion",
|
|
2867
|
-
"privacy": "public"
|
|
2959
|
+
"name": "foundationAiCriteriaSearch"
|
|
2868
2960
|
}
|
|
2869
2961
|
],
|
|
2870
2962
|
"exports": [
|
|
2871
2963
|
{
|
|
2872
2964
|
"kind": "js",
|
|
2873
|
-
"name": "
|
|
2965
|
+
"name": "AiCriteriaSearch",
|
|
2874
2966
|
"declaration": {
|
|
2875
|
-
"name": "
|
|
2876
|
-
"module": "src/
|
|
2967
|
+
"name": "AiCriteriaSearch",
|
|
2968
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2877
2969
|
}
|
|
2878
2970
|
},
|
|
2879
2971
|
{
|
|
2880
2972
|
"kind": "js",
|
|
2881
|
-
"name": "
|
|
2973
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2882
2974
|
"declaration": {
|
|
2883
|
-
"name": "
|
|
2884
|
-
"module": "src/
|
|
2975
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2976
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2885
2977
|
}
|
|
2886
2978
|
},
|
|
2887
2979
|
{
|
|
2888
2980
|
"kind": "js",
|
|
2889
|
-
"name": "
|
|
2981
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2890
2982
|
"declaration": {
|
|
2891
|
-
"name": "
|
|
2892
|
-
"module": "src/
|
|
2983
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2984
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2893
2985
|
}
|
|
2894
2986
|
},
|
|
2895
2987
|
{
|
|
2896
2988
|
"kind": "js",
|
|
2897
|
-
"name": "
|
|
2989
|
+
"name": "foundationAiCriteriaSearch",
|
|
2898
2990
|
"declaration": {
|
|
2899
|
-
"name": "
|
|
2900
|
-
"module": "src/
|
|
2991
|
+
"name": "foundationAiCriteriaSearch",
|
|
2992
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2901
2993
|
}
|
|
2902
2994
|
}
|
|
2903
2995
|
]
|
|
2904
2996
|
},
|
|
2905
2997
|
{
|
|
2906
2998
|
"kind": "javascript-module",
|
|
2907
|
-
"path": "src/
|
|
2999
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2908
3000
|
"declarations": [],
|
|
2909
3001
|
"exports": [
|
|
2910
3002
|
{
|
|
2911
3003
|
"kind": "js",
|
|
2912
|
-
"name": "
|
|
3004
|
+
"name": "AiCriteriaSearch",
|
|
2913
3005
|
"declaration": {
|
|
2914
|
-
"name": "
|
|
2915
|
-
"
|
|
3006
|
+
"name": "AiCriteriaSearch",
|
|
3007
|
+
"module": "./ai-criteria-search"
|
|
2916
3008
|
}
|
|
2917
3009
|
},
|
|
2918
3010
|
{
|
|
2919
3011
|
"kind": "js",
|
|
2920
|
-
"name": "
|
|
3012
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2921
3013
|
"declaration": {
|
|
2922
|
-
"name": "
|
|
2923
|
-
"
|
|
3014
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3015
|
+
"module": "./ai-criteria-search"
|
|
2924
3016
|
}
|
|
2925
3017
|
},
|
|
2926
3018
|
{
|
|
2927
3019
|
"kind": "js",
|
|
2928
|
-
"name": "
|
|
3020
|
+
"name": "foundationAiCriteriaSearch",
|
|
2929
3021
|
"declaration": {
|
|
2930
|
-
"name": "
|
|
2931
|
-
"
|
|
3022
|
+
"name": "foundationAiCriteriaSearch",
|
|
3023
|
+
"module": "./ai-criteria-search"
|
|
2932
3024
|
}
|
|
2933
|
-
}
|
|
2934
|
-
]
|
|
2935
|
-
},
|
|
2936
|
-
{
|
|
2937
|
-
"kind": "javascript-module",
|
|
2938
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2939
|
-
"declarations": [
|
|
3025
|
+
},
|
|
2940
3026
|
{
|
|
2941
|
-
"kind": "
|
|
2942
|
-
"name": "
|
|
2943
|
-
"
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
3027
|
+
"kind": "js",
|
|
3028
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3029
|
+
"declaration": {
|
|
3030
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3031
|
+
"module": "./ai-criteria-search"
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
2947
3034
|
{
|
|
2948
3035
|
"kind": "js",
|
|
2949
3036
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2950
3037
|
"declaration": {
|
|
2951
3038
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2952
|
-
"module": "
|
|
3039
|
+
"module": "./ai-criteria-search.styles"
|
|
2953
3040
|
}
|
|
2954
|
-
}
|
|
2955
|
-
]
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"kind": "javascript-module",
|
|
2959
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2960
|
-
"declarations": [
|
|
2961
|
-
{
|
|
2962
|
-
"kind": "variable",
|
|
2963
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2968
|
-
}
|
|
2969
|
-
],
|
|
2970
|
-
"exports": [
|
|
3041
|
+
},
|
|
2971
3042
|
{
|
|
2972
3043
|
"kind": "js",
|
|
2973
3044
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2974
3045
|
"declaration": {
|
|
2975
3046
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2976
|
-
"module": "
|
|
3047
|
+
"module": "./ai-criteria-search.template"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"kind": "js",
|
|
3052
|
+
"name": "*",
|
|
3053
|
+
"declaration": {
|
|
3054
|
+
"name": "*",
|
|
3055
|
+
"package": "./validation/criteria-ir"
|
|
3056
|
+
}
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"kind": "js",
|
|
3060
|
+
"name": "*",
|
|
3061
|
+
"declaration": {
|
|
3062
|
+
"name": "*",
|
|
3063
|
+
"package": "./validation/operator-map"
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"kind": "js",
|
|
3068
|
+
"name": "*",
|
|
3069
|
+
"declaration": {
|
|
3070
|
+
"name": "*",
|
|
3071
|
+
"package": "./validation/schema-validator"
|
|
2977
3072
|
}
|
|
2978
3073
|
}
|
|
2979
3074
|
]
|
|
2980
3075
|
},
|
|
2981
3076
|
{
|
|
2982
3077
|
"kind": "javascript-module",
|
|
2983
|
-
"path": "src/ai-criteria-search/
|
|
3078
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2984
3079
|
"declarations": [
|
|
2985
3080
|
{
|
|
2986
|
-
"kind": "
|
|
2987
|
-
"
|
|
2988
|
-
"
|
|
2989
|
-
|
|
3081
|
+
"kind": "function",
|
|
3082
|
+
"name": "formatValidationErrors",
|
|
3083
|
+
"return": {
|
|
3084
|
+
"type": {
|
|
3085
|
+
"text": "string"
|
|
3086
|
+
}
|
|
3087
|
+
},
|
|
3088
|
+
"parameters": [
|
|
2990
3089
|
{
|
|
2991
|
-
"
|
|
2992
|
-
"name": "providerRegistry",
|
|
3090
|
+
"name": "errors",
|
|
2993
3091
|
"type": {
|
|
2994
|
-
"text": "
|
|
3092
|
+
"text": "ValidationError[]"
|
|
2995
3093
|
}
|
|
2996
|
-
}
|
|
3094
|
+
}
|
|
3095
|
+
],
|
|
3096
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"kind": "function",
|
|
3100
|
+
"name": "showCriteriaError",
|
|
3101
|
+
"return": {
|
|
3102
|
+
"type": {
|
|
3103
|
+
"text": "void"
|
|
3104
|
+
}
|
|
3105
|
+
},
|
|
3106
|
+
"parameters": [
|
|
2997
3107
|
{
|
|
2998
|
-
"
|
|
2999
|
-
"name": "placeholder",
|
|
3108
|
+
"name": "title",
|
|
3000
3109
|
"type": {
|
|
3001
3110
|
"text": "string"
|
|
3002
3111
|
},
|
|
3003
|
-
"
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"kind": "field",
|
|
3007
|
-
"name": "disabled",
|
|
3008
|
-
"type": {
|
|
3009
|
-
"text": "boolean"
|
|
3010
|
-
}
|
|
3112
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3011
3113
|
},
|
|
3012
3114
|
{
|
|
3013
|
-
"
|
|
3014
|
-
"name": "inputValue",
|
|
3115
|
+
"name": "body",
|
|
3015
3116
|
"type": {
|
|
3016
3117
|
"text": "string"
|
|
3017
3118
|
},
|
|
3018
|
-
"
|
|
3019
|
-
},
|
|
3020
|
-
{
|
|
3021
|
-
"kind": "field",
|
|
3022
|
-
"name": "isInterpreting",
|
|
3023
|
-
"type": {
|
|
3024
|
-
"text": "boolean"
|
|
3025
|
-
},
|
|
3026
|
-
"default": "false"
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
"kind": "field",
|
|
3030
|
-
"name": "lastValidCriteria",
|
|
3031
|
-
"type": {
|
|
3032
|
-
"text": "string | null"
|
|
3033
|
-
},
|
|
3034
|
-
"default": "null"
|
|
3035
|
-
},
|
|
3036
|
-
{
|
|
3037
|
-
"kind": "field",
|
|
3038
|
-
"name": "activeGroups",
|
|
3039
|
-
"type": {
|
|
3040
|
-
"text": "CriteriaGroup[]"
|
|
3041
|
-
},
|
|
3042
|
-
"default": "[]"
|
|
3119
|
+
"description": "Error message to display"
|
|
3043
3120
|
},
|
|
3044
3121
|
{
|
|
3045
|
-
"
|
|
3046
|
-
"name": "showingChips",
|
|
3122
|
+
"name": "tagName",
|
|
3047
3123
|
"type": {
|
|
3048
|
-
"text": "
|
|
3124
|
+
"text": "string"
|
|
3049
3125
|
},
|
|
3050
|
-
"
|
|
3051
|
-
}
|
|
3126
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3127
|
+
}
|
|
3128
|
+
],
|
|
3129
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3130
|
+
}
|
|
3131
|
+
],
|
|
3132
|
+
"exports": [
|
|
3133
|
+
{
|
|
3134
|
+
"kind": "js",
|
|
3135
|
+
"name": "formatValidationErrors",
|
|
3136
|
+
"declaration": {
|
|
3137
|
+
"name": "formatValidationErrors",
|
|
3138
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"kind": "js",
|
|
3143
|
+
"name": "showCriteriaError",
|
|
3144
|
+
"declaration": {
|
|
3145
|
+
"name": "showCriteriaError",
|
|
3146
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
]
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"kind": "javascript-module",
|
|
3153
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
3154
|
+
"declarations": [
|
|
3155
|
+
{
|
|
3156
|
+
"kind": "function",
|
|
3157
|
+
"name": "foundationAccordionItemStyles",
|
|
3158
|
+
"return": {
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "ElementStyles"
|
|
3161
|
+
}
|
|
3162
|
+
},
|
|
3163
|
+
"parameters": [
|
|
3052
3164
|
{
|
|
3053
|
-
"
|
|
3054
|
-
"name": "fieldMetadata",
|
|
3165
|
+
"name": "context",
|
|
3055
3166
|
"type": {
|
|
3056
|
-
"text": "
|
|
3057
|
-
}
|
|
3058
|
-
"default": "[]"
|
|
3167
|
+
"text": "ElementDefinitionContext"
|
|
3168
|
+
}
|
|
3059
3169
|
},
|
|
3060
3170
|
{
|
|
3061
|
-
"
|
|
3062
|
-
"name": "isRecording",
|
|
3171
|
+
"name": "definition",
|
|
3063
3172
|
"type": {
|
|
3064
|
-
"text": "
|
|
3065
|
-
}
|
|
3066
|
-
|
|
3067
|
-
|
|
3173
|
+
"text": "FoundationElementDefinition"
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
]
|
|
3177
|
+
}
|
|
3178
|
+
],
|
|
3179
|
+
"exports": [
|
|
3180
|
+
{
|
|
3181
|
+
"kind": "js",
|
|
3182
|
+
"name": "foundationAccordionItemStyles",
|
|
3183
|
+
"declaration": {
|
|
3184
|
+
"name": "foundationAccordionItemStyles",
|
|
3185
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3186
|
+
}
|
|
3187
|
+
}
|
|
3188
|
+
]
|
|
3189
|
+
},
|
|
3190
|
+
{
|
|
3191
|
+
"kind": "javascript-module",
|
|
3192
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
3193
|
+
"declarations": [
|
|
3194
|
+
{
|
|
3195
|
+
"kind": "function",
|
|
3196
|
+
"name": "foundationAccordionItemTemplate",
|
|
3197
|
+
"return": {
|
|
3198
|
+
"type": {
|
|
3199
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
3200
|
+
}
|
|
3201
|
+
},
|
|
3202
|
+
"parameters": [
|
|
3068
3203
|
{
|
|
3069
|
-
"
|
|
3070
|
-
"name": "textAreaRef",
|
|
3204
|
+
"name": "context",
|
|
3071
3205
|
"type": {
|
|
3072
|
-
"text": "
|
|
3073
|
-
}
|
|
3074
|
-
"privacy": "public"
|
|
3206
|
+
"text": "ElementDefinitionContext"
|
|
3207
|
+
}
|
|
3075
3208
|
},
|
|
3076
3209
|
{
|
|
3077
|
-
"
|
|
3078
|
-
"name": "stopRecording",
|
|
3210
|
+
"name": "definition",
|
|
3079
3211
|
"type": {
|
|
3080
|
-
"text": "
|
|
3081
|
-
}
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3212
|
+
"text": "FoundationElementDefinition"
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
]
|
|
3216
|
+
}
|
|
3217
|
+
],
|
|
3218
|
+
"exports": [
|
|
3219
|
+
{
|
|
3220
|
+
"kind": "js",
|
|
3221
|
+
"name": "foundationAccordionItemTemplate",
|
|
3222
|
+
"declaration": {
|
|
3223
|
+
"name": "foundationAccordionItemTemplate",
|
|
3224
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
]
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"kind": "javascript-module",
|
|
3231
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
3232
|
+
"declarations": [
|
|
3233
|
+
{
|
|
3234
|
+
"kind": "class",
|
|
3235
|
+
"description": "",
|
|
3236
|
+
"name": "AccordionItem",
|
|
3237
|
+
"superclass": {
|
|
3238
|
+
"name": "FASTAccordionItem",
|
|
3239
|
+
"package": "@microsoft/fast-components"
|
|
3240
|
+
},
|
|
3241
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
3242
|
+
"customElement": true,
|
|
3243
|
+
"attributes": [
|
|
3085
3244
|
{
|
|
3086
|
-
"
|
|
3087
|
-
"name": "speechApplyDebounceTimer",
|
|
3245
|
+
"name": "heading-level",
|
|
3088
3246
|
"type": {
|
|
3089
|
-
"text": "
|
|
3247
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3090
3248
|
},
|
|
3091
|
-
"
|
|
3092
|
-
"
|
|
3249
|
+
"default": "2",
|
|
3250
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3251
|
+
"fieldName": "headinglevel",
|
|
3252
|
+
"inheritedFrom": {
|
|
3253
|
+
"name": "AccordionItem",
|
|
3254
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3255
|
+
}
|
|
3093
3256
|
},
|
|
3094
3257
|
{
|
|
3095
|
-
"kind": "field",
|
|
3096
|
-
"name": "speechAvailable",
|
|
3097
3258
|
"type": {
|
|
3098
3259
|
"text": "boolean"
|
|
3099
3260
|
},
|
|
3100
|
-
"
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
"
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
"text": "CriteriaChip[]"
|
|
3107
|
-
},
|
|
3108
|
-
"readonly": true
|
|
3109
|
-
},
|
|
3110
|
-
{
|
|
3111
|
-
"kind": "method",
|
|
3112
|
-
"name": "getFieldLabel",
|
|
3113
|
-
"privacy": "private",
|
|
3114
|
-
"return": {
|
|
3115
|
-
"type": {
|
|
3116
|
-
"text": "string"
|
|
3117
|
-
}
|
|
3118
|
-
},
|
|
3119
|
-
"parameters": [
|
|
3120
|
-
{
|
|
3121
|
-
"name": "fieldName",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "string"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3127
|
-
},
|
|
3128
|
-
{
|
|
3129
|
-
"kind": "method",
|
|
3130
|
-
"name": "toggleCriteriaView",
|
|
3131
|
-
"return": {
|
|
3132
|
-
"type": {
|
|
3133
|
-
"text": "void"
|
|
3134
|
-
}
|
|
3261
|
+
"default": "false",
|
|
3262
|
+
"description": "Expands or collapses the item.",
|
|
3263
|
+
"fieldName": "expanded",
|
|
3264
|
+
"inheritedFrom": {
|
|
3265
|
+
"name": "AccordionItem",
|
|
3266
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3135
3267
|
}
|
|
3136
3268
|
},
|
|
3137
3269
|
{
|
|
3138
|
-
"
|
|
3139
|
-
"
|
|
3140
|
-
|
|
3141
|
-
"type": {
|
|
3142
|
-
"text": "void"
|
|
3143
|
-
}
|
|
3270
|
+
"name": "id",
|
|
3271
|
+
"type": {
|
|
3272
|
+
"text": "string"
|
|
3144
3273
|
},
|
|
3145
|
-
"
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"name": "clauseIndex",
|
|
3154
|
-
"type": {
|
|
3155
|
-
"text": "number"
|
|
3156
|
-
}
|
|
3157
|
-
}
|
|
3158
|
-
]
|
|
3159
|
-
},
|
|
3160
|
-
{
|
|
3161
|
-
"kind": "method",
|
|
3162
|
-
"name": "clearChips",
|
|
3163
|
-
"return": {
|
|
3164
|
-
"type": {
|
|
3165
|
-
"text": "void"
|
|
3166
|
-
}
|
|
3274
|
+
"description": "The item ID",
|
|
3275
|
+
"fieldName": "id",
|
|
3276
|
+
"inheritedFrom": {
|
|
3277
|
+
"name": "AccordionItem",
|
|
3278
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3167
3279
|
}
|
|
3168
|
-
}
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
"name": "handleSubmit"
|
|
3172
|
-
},
|
|
3280
|
+
}
|
|
3281
|
+
],
|
|
3282
|
+
"members": [
|
|
3173
3283
|
{
|
|
3174
|
-
"kind": "
|
|
3175
|
-
"name": "
|
|
3284
|
+
"kind": "field",
|
|
3285
|
+
"name": "headinglevel",
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3288
|
+
},
|
|
3289
|
+
"privacy": "public",
|
|
3290
|
+
"default": "2",
|
|
3291
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3292
|
+
"inheritedFrom": {
|
|
3293
|
+
"name": "AccordionItem",
|
|
3294
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3295
|
+
}
|
|
3176
3296
|
},
|
|
3177
3297
|
{
|
|
3178
|
-
"kind": "
|
|
3179
|
-
"name": "
|
|
3298
|
+
"kind": "field",
|
|
3299
|
+
"name": "expanded",
|
|
3300
|
+
"type": {
|
|
3301
|
+
"text": "boolean"
|
|
3302
|
+
},
|
|
3303
|
+
"privacy": "public",
|
|
3304
|
+
"default": "false",
|
|
3305
|
+
"description": "Expands or collapses the item.",
|
|
3306
|
+
"inheritedFrom": {
|
|
3307
|
+
"name": "AccordionItem",
|
|
3308
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3309
|
+
}
|
|
3180
3310
|
},
|
|
3181
3311
|
{
|
|
3182
|
-
"kind": "
|
|
3183
|
-
"name": "
|
|
3312
|
+
"kind": "field",
|
|
3313
|
+
"name": "id",
|
|
3314
|
+
"type": {
|
|
3315
|
+
"text": "string"
|
|
3316
|
+
},
|
|
3317
|
+
"privacy": "public",
|
|
3318
|
+
"description": "The item ID",
|
|
3319
|
+
"inheritedFrom": {
|
|
3320
|
+
"name": "AccordionItem",
|
|
3321
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3322
|
+
}
|
|
3184
3323
|
},
|
|
3185
3324
|
{
|
|
3186
|
-
"kind": "
|
|
3187
|
-
"name": "
|
|
3188
|
-
"privacy": "private"
|
|
3325
|
+
"kind": "field",
|
|
3326
|
+
"name": "change",
|
|
3327
|
+
"privacy": "private",
|
|
3328
|
+
"inheritedFrom": {
|
|
3329
|
+
"name": "AccordionItem",
|
|
3330
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3331
|
+
}
|
|
3189
3332
|
},
|
|
3190
3333
|
{
|
|
3191
3334
|
"kind": "field",
|
|
@@ -3301,152 +3444,84 @@
|
|
|
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 button is invoked",
|
|
3448
|
+
"name": "change",
|
|
3449
|
+
"inheritedFrom": {
|
|
3450
|
+
"name": "AccordionItem",
|
|
3451
|
+
"module": "src/accordion-item/accordion-item.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": "foundationAccordionItemShadowOptions",
|
|
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": "defaultAccordionItemConfig",
|
|
3346
3467
|
"type": {
|
|
3347
3468
|
"text": "object"
|
|
3348
3469
|
},
|
|
3349
|
-
"default": "{}"
|
|
3470
|
+
"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}"
|
|
3350
3471
|
},
|
|
3351
3472
|
{
|
|
3352
3473
|
"kind": "variable",
|
|
3353
|
-
"name": "
|
|
3474
|
+
"name": "foundationAccordionItem",
|
|
3475
|
+
"description": "The Foundation Accordion Item",
|
|
3476
|
+
"privacy": "public"
|
|
3354
3477
|
}
|
|
3355
3478
|
],
|
|
3356
3479
|
"exports": [
|
|
3357
3480
|
{
|
|
3358
3481
|
"kind": "js",
|
|
3359
|
-
"name": "
|
|
3482
|
+
"name": "AccordionItem",
|
|
3360
3483
|
"declaration": {
|
|
3361
|
-
"name": "
|
|
3362
|
-
"module": "src/
|
|
3484
|
+
"name": "AccordionItem",
|
|
3485
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3363
3486
|
}
|
|
3364
3487
|
},
|
|
3365
3488
|
{
|
|
3366
3489
|
"kind": "js",
|
|
3367
|
-
"name": "
|
|
3490
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3368
3491
|
"declaration": {
|
|
3369
|
-
"name": "
|
|
3370
|
-
"module": "src/
|
|
3492
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3493
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3371
3494
|
}
|
|
3372
3495
|
},
|
|
3373
3496
|
{
|
|
3374
3497
|
"kind": "js",
|
|
3375
|
-
"name": "
|
|
3498
|
+
"name": "defaultAccordionItemConfig",
|
|
3376
3499
|
"declaration": {
|
|
3377
|
-
"name": "
|
|
3378
|
-
"module": "src/
|
|
3500
|
+
"name": "defaultAccordionItemConfig",
|
|
3501
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3379
3502
|
}
|
|
3380
3503
|
},
|
|
3381
3504
|
{
|
|
3382
3505
|
"kind": "js",
|
|
3383
|
-
"name": "
|
|
3506
|
+
"name": "foundationAccordionItem",
|
|
3384
3507
|
"declaration": {
|
|
3385
|
-
"name": "
|
|
3386
|
-
"module": "src/
|
|
3508
|
+
"name": "foundationAccordionItem",
|
|
3509
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3387
3510
|
}
|
|
3388
3511
|
}
|
|
3389
3512
|
]
|
|
3390
3513
|
},
|
|
3391
3514
|
{
|
|
3392
3515
|
"kind": "javascript-module",
|
|
3393
|
-
"path": "src/
|
|
3516
|
+
"path": "src/accordion-item/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-item.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-item.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-item"
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
]
|