@genesislcap/foundation-ui 14.431.0 → 14.432.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +683 -683
- package/dist/dts/react.d.ts +14 -14
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +19 -19
|
@@ -1431,11 +1431,11 @@
|
|
|
1431
1431
|
},
|
|
1432
1432
|
{
|
|
1433
1433
|
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
1434
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1435
1435
|
"declarations": [
|
|
1436
1436
|
{
|
|
1437
1437
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1438
|
+
"name": "foundationAccordionItemStyles",
|
|
1439
1439
|
"return": {
|
|
1440
1440
|
"type": {
|
|
1441
1441
|
"text": "ElementStyles"
|
|
@@ -1460,24 +1460,24 @@
|
|
|
1460
1460
|
"exports": [
|
|
1461
1461
|
{
|
|
1462
1462
|
"kind": "js",
|
|
1463
|
-
"name": "
|
|
1463
|
+
"name": "foundationAccordionItemStyles",
|
|
1464
1464
|
"declaration": {
|
|
1465
|
-
"name": "
|
|
1466
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1465
|
+
"name": "foundationAccordionItemStyles",
|
|
1466
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
]
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
1472
|
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1473
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1474
1474
|
"declarations": [
|
|
1475
1475
|
{
|
|
1476
1476
|
"kind": "function",
|
|
1477
|
-
"name": "
|
|
1477
|
+
"name": "foundationAccordionItemTemplate",
|
|
1478
1478
|
"return": {
|
|
1479
1479
|
"type": {
|
|
1480
|
-
"text": "ViewTemplate<
|
|
1480
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1481
1481
|
}
|
|
1482
1482
|
},
|
|
1483
1483
|
"parameters": [
|
|
@@ -1499,237 +1499,116 @@
|
|
|
1499
1499
|
"exports": [
|
|
1500
1500
|
{
|
|
1501
1501
|
"kind": "js",
|
|
1502
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionItemTemplate",
|
|
1503
1503
|
"declaration": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1504
|
+
"name": "foundationAccordionItemTemplate",
|
|
1505
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
1508
|
]
|
|
1509
1509
|
},
|
|
1510
1510
|
{
|
|
1511
1511
|
"kind": "javascript-module",
|
|
1512
|
-
"path": "src/accordion/accordion.ts",
|
|
1512
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1513
1513
|
"declarations": [
|
|
1514
1514
|
{
|
|
1515
1515
|
"kind": "class",
|
|
1516
1516
|
"description": "",
|
|
1517
|
-
"name": "
|
|
1517
|
+
"name": "AccordionItem",
|
|
1518
1518
|
"superclass": {
|
|
1519
|
-
"name": "
|
|
1520
|
-
"package": "@microsoft/fast-
|
|
1519
|
+
"name": "FASTAccordionItem",
|
|
1520
|
+
"package": "@microsoft/fast-components"
|
|
1521
1521
|
},
|
|
1522
|
-
"tagName": "%%prefix%%-accordion",
|
|
1522
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1523
1523
|
"customElement": true,
|
|
1524
1524
|
"attributes": [
|
|
1525
1525
|
{
|
|
1526
|
-
"name": "
|
|
1527
|
-
"type": {
|
|
1528
|
-
"text": "AccordionExpandMode"
|
|
1529
|
-
},
|
|
1530
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1531
|
-
"fieldName": "expandmode",
|
|
1532
|
-
"inheritedFrom": {
|
|
1533
|
-
"name": "Accordion",
|
|
1534
|
-
"module": "src/accordion/accordion.ts"
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
],
|
|
1538
|
-
"members": [
|
|
1539
|
-
{
|
|
1540
|
-
"kind": "field",
|
|
1541
|
-
"name": "expandmode",
|
|
1526
|
+
"name": "heading-level",
|
|
1542
1527
|
"type": {
|
|
1543
|
-
"text": "
|
|
1528
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1544
1529
|
},
|
|
1545
|
-
"
|
|
1546
|
-
"description": "
|
|
1530
|
+
"default": "2",
|
|
1531
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1532
|
+
"fieldName": "headinglevel",
|
|
1547
1533
|
"inheritedFrom": {
|
|
1548
|
-
"name": "
|
|
1549
|
-
"module": "src/accordion/accordion.ts"
|
|
1534
|
+
"name": "AccordionItem",
|
|
1535
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1550
1536
|
}
|
|
1551
1537
|
},
|
|
1552
1538
|
{
|
|
1553
|
-
"kind": "field",
|
|
1554
|
-
"name": "activeid",
|
|
1555
1539
|
"type": {
|
|
1556
|
-
"text": "
|
|
1540
|
+
"text": "boolean"
|
|
1557
1541
|
},
|
|
1558
|
-
"
|
|
1542
|
+
"default": "false",
|
|
1543
|
+
"description": "Expands or collapses the item.",
|
|
1544
|
+
"fieldName": "expanded",
|
|
1559
1545
|
"inheritedFrom": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/accordion/accordion.ts"
|
|
1546
|
+
"name": "AccordionItem",
|
|
1547
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1562
1548
|
}
|
|
1563
1549
|
},
|
|
1564
1550
|
{
|
|
1565
|
-
"
|
|
1566
|
-
"name": "activeItemIndex",
|
|
1551
|
+
"name": "id",
|
|
1567
1552
|
"type": {
|
|
1568
|
-
"text": "
|
|
1553
|
+
"text": "string"
|
|
1569
1554
|
},
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
1555
|
+
"description": "The item ID",
|
|
1556
|
+
"fieldName": "id",
|
|
1572
1557
|
"inheritedFrom": {
|
|
1573
|
-
"name": "
|
|
1574
|
-
"module": "src/accordion/accordion.ts"
|
|
1558
|
+
"name": "AccordionItem",
|
|
1559
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1575
1560
|
}
|
|
1576
|
-
}
|
|
1561
|
+
}
|
|
1562
|
+
],
|
|
1563
|
+
"members": [
|
|
1577
1564
|
{
|
|
1578
1565
|
"kind": "field",
|
|
1579
|
-
"name": "
|
|
1566
|
+
"name": "headinglevel",
|
|
1580
1567
|
"type": {
|
|
1581
|
-
"text": "
|
|
1582
|
-
},
|
|
1583
|
-
"privacy": "private",
|
|
1584
|
-
"inheritedFrom": {
|
|
1585
|
-
"name": "Accordion",
|
|
1586
|
-
"module": "src/accordion/accordion.ts"
|
|
1587
|
-
}
|
|
1588
|
-
},
|
|
1589
|
-
{
|
|
1590
|
-
"kind": "field",
|
|
1591
|
-
"name": "change",
|
|
1592
|
-
"privacy": "private",
|
|
1593
|
-
"inheritedFrom": {
|
|
1594
|
-
"name": "Accordion",
|
|
1595
|
-
"module": "src/accordion/accordion.ts"
|
|
1596
|
-
}
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
"kind": "method",
|
|
1600
|
-
"name": "findExpandedItem",
|
|
1601
|
-
"privacy": "private",
|
|
1602
|
-
"return": {
|
|
1603
|
-
"type": {
|
|
1604
|
-
"text": "AccordionItem | null"
|
|
1605
|
-
}
|
|
1568
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1606
1569
|
},
|
|
1570
|
+
"privacy": "public",
|
|
1571
|
+
"default": "2",
|
|
1572
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1607
1573
|
"inheritedFrom": {
|
|
1608
|
-
"name": "
|
|
1609
|
-
"module": "src/accordion/accordion.ts"
|
|
1574
|
+
"name": "AccordionItem",
|
|
1575
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1610
1576
|
}
|
|
1611
1577
|
},
|
|
1612
1578
|
{
|
|
1613
1579
|
"kind": "field",
|
|
1614
|
-
"name": "
|
|
1615
|
-
"
|
|
1616
|
-
|
|
1617
|
-
"name": "Accordion",
|
|
1618
|
-
"module": "src/accordion/accordion.ts"
|
|
1619
|
-
}
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "method",
|
|
1623
|
-
"name": "resetItems",
|
|
1624
|
-
"privacy": "private",
|
|
1625
|
-
"return": {
|
|
1626
|
-
"type": {
|
|
1627
|
-
"text": "void"
|
|
1628
|
-
}
|
|
1580
|
+
"name": "expanded",
|
|
1581
|
+
"type": {
|
|
1582
|
+
"text": "boolean"
|
|
1629
1583
|
},
|
|
1584
|
+
"privacy": "public",
|
|
1585
|
+
"default": "false",
|
|
1586
|
+
"description": "Expands or collapses the item.",
|
|
1630
1587
|
"inheritedFrom": {
|
|
1631
|
-
"name": "
|
|
1632
|
-
"module": "src/accordion/accordion.ts"
|
|
1633
|
-
}
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"kind": "field",
|
|
1637
|
-
"name": "removeItemListeners",
|
|
1638
|
-
"privacy": "private",
|
|
1639
|
-
"inheritedFrom": {
|
|
1640
|
-
"name": "Accordion",
|
|
1641
|
-
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
"name": "AccordionItem",
|
|
1589
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1642
1590
|
}
|
|
1643
1591
|
},
|
|
1644
1592
|
{
|
|
1645
1593
|
"kind": "field",
|
|
1646
|
-
"name": "
|
|
1647
|
-
"
|
|
1648
|
-
|
|
1649
|
-
"name": "Accordion",
|
|
1650
|
-
"module": "src/accordion/accordion.ts"
|
|
1651
|
-
}
|
|
1652
|
-
},
|
|
1653
|
-
{
|
|
1654
|
-
"kind": "method",
|
|
1655
|
-
"name": "getItemIds",
|
|
1656
|
-
"privacy": "private",
|
|
1657
|
-
"return": {
|
|
1658
|
-
"type": {
|
|
1659
|
-
"text": "Array<string | null>"
|
|
1660
|
-
}
|
|
1661
|
-
},
|
|
1662
|
-
"inheritedFrom": {
|
|
1663
|
-
"name": "Accordion",
|
|
1664
|
-
"module": "src/accordion/accordion.ts"
|
|
1665
|
-
}
|
|
1666
|
-
},
|
|
1667
|
-
{
|
|
1668
|
-
"kind": "method",
|
|
1669
|
-
"name": "isSingleExpandMode",
|
|
1670
|
-
"privacy": "private",
|
|
1671
|
-
"return": {
|
|
1672
|
-
"type": {
|
|
1673
|
-
"text": "boolean"
|
|
1674
|
-
}
|
|
1594
|
+
"name": "id",
|
|
1595
|
+
"type": {
|
|
1596
|
+
"text": "string"
|
|
1675
1597
|
},
|
|
1598
|
+
"privacy": "public",
|
|
1599
|
+
"description": "The item ID",
|
|
1676
1600
|
"inheritedFrom": {
|
|
1677
|
-
"name": "
|
|
1678
|
-
"module": "src/accordion/accordion.ts"
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"kind": "field",
|
|
1683
|
-
"name": "handleItemKeyDown",
|
|
1684
|
-
"privacy": "private",
|
|
1685
|
-
"inheritedFrom": {
|
|
1686
|
-
"name": "Accordion",
|
|
1687
|
-
"module": "src/accordion/accordion.ts"
|
|
1601
|
+
"name": "AccordionItem",
|
|
1602
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1688
1603
|
}
|
|
1689
1604
|
},
|
|
1690
1605
|
{
|
|
1691
1606
|
"kind": "field",
|
|
1692
|
-
"name": "
|
|
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",
|
|
1607
|
+
"name": "change",
|
|
1724
1608
|
"privacy": "private",
|
|
1725
|
-
"return": {
|
|
1726
|
-
"type": {
|
|
1727
|
-
"text": "void"
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
1609
|
"inheritedFrom": {
|
|
1731
|
-
"name": "
|
|
1732
|
-
"module": "src/accordion/accordion.ts"
|
|
1610
|
+
"name": "AccordionItem",
|
|
1611
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1733
1612
|
}
|
|
1734
1613
|
},
|
|
1735
1614
|
{
|
|
@@ -1846,18 +1725,18 @@
|
|
|
1846
1725
|
],
|
|
1847
1726
|
"events": [
|
|
1848
1727
|
{
|
|
1849
|
-
"description": "Fires a custom 'change' event when the
|
|
1728
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1850
1729
|
"name": "change",
|
|
1851
1730
|
"inheritedFrom": {
|
|
1852
|
-
"name": "
|
|
1853
|
-
"module": "src/accordion/accordion.ts"
|
|
1731
|
+
"name": "AccordionItem",
|
|
1732
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1854
1733
|
}
|
|
1855
1734
|
}
|
|
1856
1735
|
]
|
|
1857
1736
|
},
|
|
1858
1737
|
{
|
|
1859
1738
|
"kind": "variable",
|
|
1860
|
-
"name": "
|
|
1739
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1861
1740
|
"type": {
|
|
1862
1741
|
"text": "ShadowRootInit"
|
|
1863
1742
|
},
|
|
@@ -1865,57 +1744,57 @@
|
|
|
1865
1744
|
},
|
|
1866
1745
|
{
|
|
1867
1746
|
"kind": "variable",
|
|
1868
|
-
"name": "
|
|
1747
|
+
"name": "defaultAccordionItemConfig",
|
|
1869
1748
|
"type": {
|
|
1870
1749
|
"text": "object"
|
|
1871
1750
|
},
|
|
1872
|
-
"default": "{}"
|
|
1751
|
+
"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}"
|
|
1873
1752
|
},
|
|
1874
1753
|
{
|
|
1875
1754
|
"kind": "variable",
|
|
1876
|
-
"name": "
|
|
1877
|
-
"description": "The Foundation Accordion",
|
|
1755
|
+
"name": "foundationAccordionItem",
|
|
1756
|
+
"description": "The Foundation Accordion Item",
|
|
1878
1757
|
"privacy": "public"
|
|
1879
1758
|
}
|
|
1880
1759
|
],
|
|
1881
1760
|
"exports": [
|
|
1882
1761
|
{
|
|
1883
1762
|
"kind": "js",
|
|
1884
|
-
"name": "
|
|
1763
|
+
"name": "AccordionItem",
|
|
1885
1764
|
"declaration": {
|
|
1886
|
-
"name": "
|
|
1887
|
-
"module": "src/accordion/accordion.ts"
|
|
1765
|
+
"name": "AccordionItem",
|
|
1766
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1888
1767
|
}
|
|
1889
1768
|
},
|
|
1890
1769
|
{
|
|
1891
1770
|
"kind": "js",
|
|
1892
|
-
"name": "
|
|
1771
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1893
1772
|
"declaration": {
|
|
1894
|
-
"name": "
|
|
1895
|
-
"module": "src/accordion/accordion.ts"
|
|
1773
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1774
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1896
1775
|
}
|
|
1897
1776
|
},
|
|
1898
1777
|
{
|
|
1899
1778
|
"kind": "js",
|
|
1900
|
-
"name": "
|
|
1779
|
+
"name": "defaultAccordionItemConfig",
|
|
1901
1780
|
"declaration": {
|
|
1902
|
-
"name": "
|
|
1903
|
-
"module": "src/accordion/accordion.ts"
|
|
1781
|
+
"name": "defaultAccordionItemConfig",
|
|
1782
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1904
1783
|
}
|
|
1905
1784
|
},
|
|
1906
1785
|
{
|
|
1907
1786
|
"kind": "js",
|
|
1908
|
-
"name": "
|
|
1787
|
+
"name": "foundationAccordionItem",
|
|
1909
1788
|
"declaration": {
|
|
1910
|
-
"name": "
|
|
1911
|
-
"module": "src/accordion/accordion.ts"
|
|
1789
|
+
"name": "foundationAccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1912
1791
|
}
|
|
1913
1792
|
}
|
|
1914
1793
|
]
|
|
1915
1794
|
},
|
|
1916
1795
|
{
|
|
1917
1796
|
"kind": "javascript-module",
|
|
1918
|
-
"path": "src/accordion/index.ts",
|
|
1797
|
+
"path": "src/accordion-item/index.ts",
|
|
1919
1798
|
"declarations": [],
|
|
1920
1799
|
"exports": [
|
|
1921
1800
|
{
|
|
@@ -1923,7 +1802,7 @@
|
|
|
1923
1802
|
"name": "*",
|
|
1924
1803
|
"declaration": {
|
|
1925
1804
|
"name": "*",
|
|
1926
|
-
"package": "./accordion.template"
|
|
1805
|
+
"package": "./accordion-item.template"
|
|
1927
1806
|
}
|
|
1928
1807
|
},
|
|
1929
1808
|
{
|
|
@@ -1931,7 +1810,7 @@
|
|
|
1931
1810
|
"name": "*",
|
|
1932
1811
|
"declaration": {
|
|
1933
1812
|
"name": "*",
|
|
1934
|
-
"package": "./accordion.styles"
|
|
1813
|
+
"package": "./accordion-item.styles"
|
|
1935
1814
|
}
|
|
1936
1815
|
},
|
|
1937
1816
|
{
|
|
@@ -1939,215 +1818,282 @@
|
|
|
1939
1818
|
"name": "*",
|
|
1940
1819
|
"declaration": {
|
|
1941
1820
|
"name": "*",
|
|
1942
|
-
"package": "./accordion"
|
|
1821
|
+
"package": "./accordion-item"
|
|
1943
1822
|
}
|
|
1944
1823
|
}
|
|
1945
1824
|
]
|
|
1946
1825
|
},
|
|
1947
1826
|
{
|
|
1948
1827
|
"kind": "javascript-module",
|
|
1949
|
-
"path": "src/
|
|
1828
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1950
1829
|
"declarations": [
|
|
1951
1830
|
{
|
|
1952
|
-
"kind": "
|
|
1953
|
-
"name": "
|
|
1954
|
-
"
|
|
1831
|
+
"kind": "function",
|
|
1832
|
+
"name": "foundationAccordionStyles",
|
|
1833
|
+
"return": {
|
|
1834
|
+
"type": {
|
|
1835
|
+
"text": "ElementStyles"
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
"parameters": [
|
|
1839
|
+
{
|
|
1840
|
+
"name": "context",
|
|
1841
|
+
"type": {
|
|
1842
|
+
"text": "ElementDefinitionContext"
|
|
1843
|
+
}
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"name": "definition",
|
|
1847
|
+
"type": {
|
|
1848
|
+
"text": "FoundationElementDefinition"
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
]
|
|
1955
1852
|
}
|
|
1956
1853
|
],
|
|
1957
1854
|
"exports": [
|
|
1958
1855
|
{
|
|
1959
1856
|
"kind": "js",
|
|
1960
|
-
"name": "
|
|
1857
|
+
"name": "foundationAccordionStyles",
|
|
1961
1858
|
"declaration": {
|
|
1962
|
-
"name": "
|
|
1963
|
-
"module": "src/
|
|
1859
|
+
"name": "foundationAccordionStyles",
|
|
1860
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1964
1861
|
}
|
|
1965
1862
|
}
|
|
1966
1863
|
]
|
|
1967
1864
|
},
|
|
1968
1865
|
{
|
|
1969
1866
|
"kind": "javascript-module",
|
|
1970
|
-
"path": "src/
|
|
1867
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1971
1868
|
"declarations": [
|
|
1972
1869
|
{
|
|
1973
|
-
"kind": "
|
|
1974
|
-
"name": "
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
1870
|
+
"kind": "function",
|
|
1871
|
+
"name": "foundationAccordionTemplate",
|
|
1872
|
+
"return": {
|
|
1873
|
+
"type": {
|
|
1874
|
+
"text": "ViewTemplate<Accordion>"
|
|
1875
|
+
}
|
|
1977
1876
|
},
|
|
1978
|
-
"
|
|
1877
|
+
"parameters": [
|
|
1878
|
+
{
|
|
1879
|
+
"name": "context",
|
|
1880
|
+
"type": {
|
|
1881
|
+
"text": "ElementDefinitionContext"
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"name": "definition",
|
|
1886
|
+
"type": {
|
|
1887
|
+
"text": "FoundationElementDefinition"
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
]
|
|
1979
1891
|
}
|
|
1980
1892
|
],
|
|
1981
1893
|
"exports": [
|
|
1982
1894
|
{
|
|
1983
1895
|
"kind": "js",
|
|
1984
|
-
"name": "
|
|
1896
|
+
"name": "foundationAccordionTemplate",
|
|
1985
1897
|
"declaration": {
|
|
1986
|
-
"name": "
|
|
1987
|
-
"module": "src/
|
|
1898
|
+
"name": "foundationAccordionTemplate",
|
|
1899
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1988
1900
|
}
|
|
1989
1901
|
}
|
|
1990
1902
|
]
|
|
1991
1903
|
},
|
|
1992
1904
|
{
|
|
1993
1905
|
"kind": "javascript-module",
|
|
1994
|
-
"path": "src/
|
|
1906
|
+
"path": "src/accordion/accordion.ts",
|
|
1995
1907
|
"declarations": [
|
|
1996
1908
|
{
|
|
1997
1909
|
"kind": "class",
|
|
1998
|
-
"description": "
|
|
1999
|
-
"name": "
|
|
2000
|
-
"
|
|
1910
|
+
"description": "",
|
|
1911
|
+
"name": "Accordion",
|
|
1912
|
+
"superclass": {
|
|
1913
|
+
"name": "FASTAccordion",
|
|
1914
|
+
"package": "@microsoft/fast-foundation"
|
|
1915
|
+
},
|
|
1916
|
+
"tagName": "%%prefix%%-accordion",
|
|
1917
|
+
"customElement": true,
|
|
1918
|
+
"attributes": [
|
|
2001
1919
|
{
|
|
2002
|
-
"
|
|
2003
|
-
"name": "aiProvider",
|
|
1920
|
+
"name": "expand-mode",
|
|
2004
1921
|
"type": {
|
|
2005
|
-
"text": "
|
|
1922
|
+
"text": "AccordionExpandMode"
|
|
1923
|
+
},
|
|
1924
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1925
|
+
"fieldName": "expandmode",
|
|
1926
|
+
"inheritedFrom": {
|
|
1927
|
+
"name": "Accordion",
|
|
1928
|
+
"module": "src/accordion/accordion.ts"
|
|
2006
1929
|
}
|
|
2007
|
-
}
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
"members": [
|
|
2008
1933
|
{
|
|
2009
1934
|
"kind": "field",
|
|
2010
|
-
"name": "
|
|
1935
|
+
"name": "expandmode",
|
|
2011
1936
|
"type": {
|
|
2012
|
-
"text": "
|
|
1937
|
+
"text": "AccordionExpandMode"
|
|
2013
1938
|
},
|
|
2014
|
-
"
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
"type": {
|
|
2020
|
-
"text": "boolean"
|
|
1939
|
+
"privacy": "public",
|
|
1940
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1941
|
+
"inheritedFrom": {
|
|
1942
|
+
"name": "Accordion",
|
|
1943
|
+
"module": "src/accordion/accordion.ts"
|
|
2021
1944
|
}
|
|
2022
1945
|
},
|
|
2023
1946
|
{
|
|
2024
1947
|
"kind": "field",
|
|
2025
|
-
"name": "
|
|
1948
|
+
"name": "activeid",
|
|
2026
1949
|
"type": {
|
|
2027
|
-
"text": "string"
|
|
1950
|
+
"text": "string | null"
|
|
2028
1951
|
},
|
|
2029
|
-
"
|
|
1952
|
+
"privacy": "private",
|
|
1953
|
+
"inheritedFrom": {
|
|
1954
|
+
"name": "Accordion",
|
|
1955
|
+
"module": "src/accordion/accordion.ts"
|
|
1956
|
+
}
|
|
2030
1957
|
},
|
|
2031
1958
|
{
|
|
2032
1959
|
"kind": "field",
|
|
2033
|
-
"name": "
|
|
1960
|
+
"name": "activeItemIndex",
|
|
2034
1961
|
"type": {
|
|
2035
|
-
"text": "
|
|
1962
|
+
"text": "number"
|
|
2036
1963
|
},
|
|
2037
|
-
"
|
|
1964
|
+
"privacy": "private",
|
|
1965
|
+
"default": "0",
|
|
1966
|
+
"inheritedFrom": {
|
|
1967
|
+
"name": "Accordion",
|
|
1968
|
+
"module": "src/accordion/accordion.ts"
|
|
1969
|
+
}
|
|
2038
1970
|
},
|
|
2039
1971
|
{
|
|
2040
1972
|
"kind": "field",
|
|
2041
|
-
"name": "
|
|
1973
|
+
"name": "accordionIds",
|
|
2042
1974
|
"type": {
|
|
2043
|
-
"text": "string | null"
|
|
1975
|
+
"text": "Array<string | null>"
|
|
2044
1976
|
},
|
|
2045
|
-
"
|
|
1977
|
+
"privacy": "private",
|
|
1978
|
+
"inheritedFrom": {
|
|
1979
|
+
"name": "Accordion",
|
|
1980
|
+
"module": "src/accordion/accordion.ts"
|
|
1981
|
+
}
|
|
2046
1982
|
},
|
|
2047
1983
|
{
|
|
2048
1984
|
"kind": "field",
|
|
2049
|
-
"name": "
|
|
2050
|
-
"
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
1985
|
+
"name": "change",
|
|
1986
|
+
"privacy": "private",
|
|
1987
|
+
"inheritedFrom": {
|
|
1988
|
+
"name": "Accordion",
|
|
1989
|
+
"module": "src/accordion/accordion.ts"
|
|
1990
|
+
}
|
|
2054
1991
|
},
|
|
2055
1992
|
{
|
|
2056
|
-
"kind": "
|
|
2057
|
-
"name": "
|
|
2058
|
-
"
|
|
2059
|
-
|
|
1993
|
+
"kind": "method",
|
|
1994
|
+
"name": "findExpandedItem",
|
|
1995
|
+
"privacy": "private",
|
|
1996
|
+
"return": {
|
|
1997
|
+
"type": {
|
|
1998
|
+
"text": "AccordionItem | null"
|
|
1999
|
+
}
|
|
2060
2000
|
},
|
|
2061
|
-
"
|
|
2001
|
+
"inheritedFrom": {
|
|
2002
|
+
"name": "Accordion",
|
|
2003
|
+
"module": "src/accordion/accordion.ts"
|
|
2004
|
+
}
|
|
2062
2005
|
},
|
|
2063
2006
|
{
|
|
2064
2007
|
"kind": "field",
|
|
2065
|
-
"name": "
|
|
2066
|
-
"
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2008
|
+
"name": "setItems",
|
|
2009
|
+
"privacy": "private",
|
|
2010
|
+
"inheritedFrom": {
|
|
2011
|
+
"name": "Accordion",
|
|
2012
|
+
"module": "src/accordion/accordion.ts"
|
|
2013
|
+
}
|
|
2070
2014
|
},
|
|
2071
2015
|
{
|
|
2072
|
-
"kind": "
|
|
2073
|
-
"name": "
|
|
2074
|
-
"
|
|
2075
|
-
|
|
2016
|
+
"kind": "method",
|
|
2017
|
+
"name": "resetItems",
|
|
2018
|
+
"privacy": "private",
|
|
2019
|
+
"return": {
|
|
2020
|
+
"type": {
|
|
2021
|
+
"text": "void"
|
|
2022
|
+
}
|
|
2076
2023
|
},
|
|
2077
|
-
"
|
|
2024
|
+
"inheritedFrom": {
|
|
2025
|
+
"name": "Accordion",
|
|
2026
|
+
"module": "src/accordion/accordion.ts"
|
|
2027
|
+
}
|
|
2078
2028
|
},
|
|
2079
2029
|
{
|
|
2080
2030
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2082
|
-
"
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2031
|
+
"name": "removeItemListeners",
|
|
2032
|
+
"privacy": "private",
|
|
2033
|
+
"inheritedFrom": {
|
|
2034
|
+
"name": "Accordion",
|
|
2035
|
+
"module": "src/accordion/accordion.ts"
|
|
2036
|
+
}
|
|
2086
2037
|
},
|
|
2087
2038
|
{
|
|
2088
2039
|
"kind": "field",
|
|
2089
|
-
"name": "
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "(() => void) | null"
|
|
2092
|
-
},
|
|
2040
|
+
"name": "activeItemChange",
|
|
2093
2041
|
"privacy": "private",
|
|
2094
|
-
"
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
"name": "speechApplyDebounceTimer",
|
|
2099
|
-
"type": {
|
|
2100
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2101
|
-
},
|
|
2102
|
-
"privacy": "private",
|
|
2103
|
-
"default": "null"
|
|
2104
|
-
},
|
|
2105
|
-
{
|
|
2106
|
-
"kind": "field",
|
|
2107
|
-
"name": "speechAvailable",
|
|
2108
|
-
"type": {
|
|
2109
|
-
"text": "boolean"
|
|
2110
|
-
},
|
|
2111
|
-
"readonly": true
|
|
2112
|
-
},
|
|
2113
|
-
{
|
|
2114
|
-
"kind": "field",
|
|
2115
|
-
"name": "criteriaChips",
|
|
2116
|
-
"type": {
|
|
2117
|
-
"text": "CriteriaChip[]"
|
|
2118
|
-
},
|
|
2119
|
-
"readonly": true
|
|
2042
|
+
"inheritedFrom": {
|
|
2043
|
+
"name": "Accordion",
|
|
2044
|
+
"module": "src/accordion/accordion.ts"
|
|
2045
|
+
}
|
|
2120
2046
|
},
|
|
2121
2047
|
{
|
|
2122
2048
|
"kind": "method",
|
|
2123
|
-
"name": "
|
|
2049
|
+
"name": "getItemIds",
|
|
2124
2050
|
"privacy": "private",
|
|
2125
2051
|
"return": {
|
|
2126
2052
|
"type": {
|
|
2127
|
-
"text": "string"
|
|
2053
|
+
"text": "Array<string | null>"
|
|
2128
2054
|
}
|
|
2129
2055
|
},
|
|
2130
|
-
"
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
"text": "string"
|
|
2135
|
-
}
|
|
2136
|
-
}
|
|
2137
|
-
]
|
|
2056
|
+
"inheritedFrom": {
|
|
2057
|
+
"name": "Accordion",
|
|
2058
|
+
"module": "src/accordion/accordion.ts"
|
|
2059
|
+
}
|
|
2138
2060
|
},
|
|
2139
2061
|
{
|
|
2140
2062
|
"kind": "method",
|
|
2141
|
-
"name": "
|
|
2063
|
+
"name": "isSingleExpandMode",
|
|
2064
|
+
"privacy": "private",
|
|
2142
2065
|
"return": {
|
|
2143
2066
|
"type": {
|
|
2144
|
-
"text": "
|
|
2067
|
+
"text": "boolean"
|
|
2145
2068
|
}
|
|
2069
|
+
},
|
|
2070
|
+
"inheritedFrom": {
|
|
2071
|
+
"name": "Accordion",
|
|
2072
|
+
"module": "src/accordion/accordion.ts"
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"kind": "field",
|
|
2077
|
+
"name": "handleItemKeyDown",
|
|
2078
|
+
"privacy": "private",
|
|
2079
|
+
"inheritedFrom": {
|
|
2080
|
+
"name": "Accordion",
|
|
2081
|
+
"module": "src/accordion/accordion.ts"
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"kind": "field",
|
|
2086
|
+
"name": "handleItemFocus",
|
|
2087
|
+
"privacy": "private",
|
|
2088
|
+
"inheritedFrom": {
|
|
2089
|
+
"name": "Accordion",
|
|
2090
|
+
"module": "src/accordion/accordion.ts"
|
|
2146
2091
|
}
|
|
2147
2092
|
},
|
|
2148
2093
|
{
|
|
2149
2094
|
"kind": "method",
|
|
2150
|
-
"name": "
|
|
2095
|
+
"name": "adjust",
|
|
2096
|
+
"privacy": "private",
|
|
2151
2097
|
"return": {
|
|
2152
2098
|
"type": {
|
|
2153
2099
|
"text": "void"
|
|
@@ -2155,49 +2101,31 @@
|
|
|
2155
2101
|
},
|
|
2156
2102
|
"parameters": [
|
|
2157
2103
|
{
|
|
2158
|
-
"name": "
|
|
2159
|
-
"type": {
|
|
2160
|
-
"text": "number"
|
|
2161
|
-
}
|
|
2162
|
-
},
|
|
2163
|
-
{
|
|
2164
|
-
"name": "clauseIndex",
|
|
2104
|
+
"name": "adjustment",
|
|
2165
2105
|
"type": {
|
|
2166
2106
|
"text": "number"
|
|
2167
2107
|
}
|
|
2168
2108
|
}
|
|
2169
|
-
]
|
|
2109
|
+
],
|
|
2110
|
+
"inheritedFrom": {
|
|
2111
|
+
"name": "Accordion",
|
|
2112
|
+
"module": "src/accordion/accordion.ts"
|
|
2113
|
+
}
|
|
2170
2114
|
},
|
|
2171
2115
|
{
|
|
2172
2116
|
"kind": "method",
|
|
2173
|
-
"name": "
|
|
2117
|
+
"name": "focusItem",
|
|
2118
|
+
"privacy": "private",
|
|
2174
2119
|
"return": {
|
|
2175
2120
|
"type": {
|
|
2176
2121
|
"text": "void"
|
|
2177
2122
|
}
|
|
2123
|
+
},
|
|
2124
|
+
"inheritedFrom": {
|
|
2125
|
+
"name": "Accordion",
|
|
2126
|
+
"module": "src/accordion/accordion.ts"
|
|
2178
2127
|
}
|
|
2179
2128
|
},
|
|
2180
|
-
{
|
|
2181
|
-
"kind": "method",
|
|
2182
|
-
"name": "handleSubmit"
|
|
2183
|
-
},
|
|
2184
|
-
{
|
|
2185
|
-
"kind": "method",
|
|
2186
|
-
"name": "handleBlur"
|
|
2187
|
-
},
|
|
2188
|
-
{
|
|
2189
|
-
"kind": "method",
|
|
2190
|
-
"name": "clear"
|
|
2191
|
-
},
|
|
2192
|
-
{
|
|
2193
|
-
"kind": "method",
|
|
2194
|
-
"name": "toggleSpeechInput"
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
"kind": "method",
|
|
2198
|
-
"name": "clearSpeechApplyDebounce",
|
|
2199
|
-
"privacy": "private"
|
|
2200
|
-
},
|
|
2201
2129
|
{
|
|
2202
2130
|
"kind": "field",
|
|
2203
2131
|
"name": "_presentation",
|
|
@@ -2312,48 +2240,26 @@
|
|
|
2312
2240
|
],
|
|
2313
2241
|
"events": [
|
|
2314
2242
|
{
|
|
2315
|
-
"description": "
|
|
2316
|
-
"name": "
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
}
|
|
2322
|
-
],
|
|
2323
|
-
"attributes": [
|
|
2324
|
-
{
|
|
2325
|
-
"name": "placeholder",
|
|
2326
|
-
"type": {
|
|
2327
|
-
"text": "string"
|
|
2328
|
-
},
|
|
2329
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2330
|
-
"fieldName": "placeholder"
|
|
2331
|
-
},
|
|
2332
|
-
{
|
|
2333
|
-
"type": {
|
|
2334
|
-
"text": "boolean"
|
|
2335
|
-
},
|
|
2336
|
-
"fieldName": "disabled"
|
|
2243
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2244
|
+
"name": "change",
|
|
2245
|
+
"inheritedFrom": {
|
|
2246
|
+
"name": "Accordion",
|
|
2247
|
+
"module": "src/accordion/accordion.ts"
|
|
2248
|
+
}
|
|
2337
2249
|
}
|
|
2338
|
-
]
|
|
2339
|
-
"superclass": {
|
|
2340
|
-
"name": "FoundationElement",
|
|
2341
|
-
"package": "@microsoft/fast-foundation"
|
|
2342
|
-
},
|
|
2343
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2344
|
-
"customElement": true
|
|
2250
|
+
]
|
|
2345
2251
|
},
|
|
2346
2252
|
{
|
|
2347
2253
|
"kind": "variable",
|
|
2348
|
-
"name": "
|
|
2254
|
+
"name": "foundationAccordionShadowOptions",
|
|
2349
2255
|
"type": {
|
|
2350
2256
|
"text": "ShadowRootInit"
|
|
2351
2257
|
},
|
|
2352
|
-
"default": "
|
|
2258
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2353
2259
|
},
|
|
2354
2260
|
{
|
|
2355
2261
|
"kind": "variable",
|
|
2356
|
-
"name": "
|
|
2262
|
+
"name": "defaultAccordionConfig",
|
|
2357
2263
|
"type": {
|
|
2358
2264
|
"text": "object"
|
|
2359
2265
|
},
|
|
@@ -2361,103 +2267,57 @@
|
|
|
2361
2267
|
},
|
|
2362
2268
|
{
|
|
2363
2269
|
"kind": "variable",
|
|
2364
|
-
"name": "
|
|
2270
|
+
"name": "foundationAccordion",
|
|
2271
|
+
"description": "The Foundation Accordion",
|
|
2272
|
+
"privacy": "public"
|
|
2365
2273
|
}
|
|
2366
2274
|
],
|
|
2367
2275
|
"exports": [
|
|
2368
2276
|
{
|
|
2369
2277
|
"kind": "js",
|
|
2370
|
-
"name": "
|
|
2278
|
+
"name": "Accordion",
|
|
2371
2279
|
"declaration": {
|
|
2372
|
-
"name": "
|
|
2373
|
-
"module": "src/
|
|
2280
|
+
"name": "Accordion",
|
|
2281
|
+
"module": "src/accordion/accordion.ts"
|
|
2374
2282
|
}
|
|
2375
2283
|
},
|
|
2376
2284
|
{
|
|
2377
2285
|
"kind": "js",
|
|
2378
|
-
"name": "
|
|
2286
|
+
"name": "foundationAccordionShadowOptions",
|
|
2379
2287
|
"declaration": {
|
|
2380
|
-
"name": "
|
|
2381
|
-
"module": "src/
|
|
2288
|
+
"name": "foundationAccordionShadowOptions",
|
|
2289
|
+
"module": "src/accordion/accordion.ts"
|
|
2382
2290
|
}
|
|
2383
2291
|
},
|
|
2384
2292
|
{
|
|
2385
2293
|
"kind": "js",
|
|
2386
|
-
"name": "
|
|
2294
|
+
"name": "defaultAccordionConfig",
|
|
2387
2295
|
"declaration": {
|
|
2388
|
-
"name": "
|
|
2389
|
-
"module": "src/
|
|
2296
|
+
"name": "defaultAccordionConfig",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2390
2298
|
}
|
|
2391
2299
|
},
|
|
2392
2300
|
{
|
|
2393
2301
|
"kind": "js",
|
|
2394
|
-
"name": "
|
|
2302
|
+
"name": "foundationAccordion",
|
|
2395
2303
|
"declaration": {
|
|
2396
|
-
"name": "
|
|
2397
|
-
"module": "src/
|
|
2304
|
+
"name": "foundationAccordion",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2398
2306
|
}
|
|
2399
2307
|
}
|
|
2400
2308
|
]
|
|
2401
2309
|
},
|
|
2402
2310
|
{
|
|
2403
2311
|
"kind": "javascript-module",
|
|
2404
|
-
"path": "src/
|
|
2312
|
+
"path": "src/accordion/index.ts",
|
|
2405
2313
|
"declarations": [],
|
|
2406
2314
|
"exports": [
|
|
2407
|
-
{
|
|
2408
|
-
"kind": "js",
|
|
2409
|
-
"name": "AiCriteriaSearch",
|
|
2410
|
-
"declaration": {
|
|
2411
|
-
"name": "AiCriteriaSearch",
|
|
2412
|
-
"module": "./ai-criteria-search"
|
|
2413
|
-
}
|
|
2414
|
-
},
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "js",
|
|
2417
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2418
|
-
"declaration": {
|
|
2419
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2420
|
-
"module": "./ai-criteria-search"
|
|
2421
|
-
}
|
|
2422
|
-
},
|
|
2423
|
-
{
|
|
2424
|
-
"kind": "js",
|
|
2425
|
-
"name": "foundationAiCriteriaSearch",
|
|
2426
|
-
"declaration": {
|
|
2427
|
-
"name": "foundationAiCriteriaSearch",
|
|
2428
|
-
"module": "./ai-criteria-search"
|
|
2429
|
-
}
|
|
2430
|
-
},
|
|
2431
|
-
{
|
|
2432
|
-
"kind": "js",
|
|
2433
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2434
|
-
"declaration": {
|
|
2435
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2436
|
-
"module": "./ai-criteria-search"
|
|
2437
|
-
}
|
|
2438
|
-
},
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "js",
|
|
2441
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2442
|
-
"declaration": {
|
|
2443
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2444
|
-
"module": "./ai-criteria-search.styles"
|
|
2445
|
-
}
|
|
2446
|
-
},
|
|
2447
|
-
{
|
|
2448
|
-
"kind": "js",
|
|
2449
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2450
|
-
"declaration": {
|
|
2451
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2452
|
-
"module": "./ai-criteria-search.template"
|
|
2453
|
-
}
|
|
2454
|
-
},
|
|
2455
2315
|
{
|
|
2456
2316
|
"kind": "js",
|
|
2457
2317
|
"name": "*",
|
|
2458
2318
|
"declaration": {
|
|
2459
2319
|
"name": "*",
|
|
2460
|
-
"package": "./
|
|
2320
|
+
"package": "./accordion.template"
|
|
2461
2321
|
}
|
|
2462
2322
|
},
|
|
2463
2323
|
{
|
|
@@ -2465,7 +2325,7 @@
|
|
|
2465
2325
|
"name": "*",
|
|
2466
2326
|
"declaration": {
|
|
2467
2327
|
"name": "*",
|
|
2468
|
-
"package": "./
|
|
2328
|
+
"package": "./accordion.styles"
|
|
2469
2329
|
}
|
|
2470
2330
|
},
|
|
2471
2331
|
{
|
|
@@ -2473,109 +2333,34 @@
|
|
|
2473
2333
|
"name": "*",
|
|
2474
2334
|
"declaration": {
|
|
2475
2335
|
"name": "*",
|
|
2476
|
-
"package": "./
|
|
2336
|
+
"package": "./accordion"
|
|
2477
2337
|
}
|
|
2478
2338
|
}
|
|
2479
2339
|
]
|
|
2480
2340
|
},
|
|
2481
2341
|
{
|
|
2482
2342
|
"kind": "javascript-module",
|
|
2483
|
-
"path": "src/
|
|
2343
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2484
2344
|
"declarations": [
|
|
2485
2345
|
{
|
|
2486
2346
|
"kind": "function",
|
|
2487
|
-
"name": "
|
|
2347
|
+
"name": "actionsMenuBaseStyles",
|
|
2488
2348
|
"return": {
|
|
2489
2349
|
"type": {
|
|
2490
|
-
"text": "
|
|
2350
|
+
"text": "ElementStyles"
|
|
2491
2351
|
}
|
|
2492
2352
|
},
|
|
2493
2353
|
"parameters": [
|
|
2494
2354
|
{
|
|
2495
|
-
"name": "
|
|
2355
|
+
"name": "context",
|
|
2496
2356
|
"type": {
|
|
2497
|
-
"text": "
|
|
2498
|
-
}
|
|
2499
|
-
}
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
"kind": "function",
|
|
2505
|
-
"name": "showCriteriaError",
|
|
2506
|
-
"return": {
|
|
2507
|
-
"type": {
|
|
2508
|
-
"text": "void"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
"parameters": [
|
|
2512
|
-
{
|
|
2513
|
-
"name": "title",
|
|
2514
|
-
"type": {
|
|
2515
|
-
"text": "string"
|
|
2516
|
-
},
|
|
2517
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"name": "body",
|
|
2521
|
-
"type": {
|
|
2522
|
-
"text": "string"
|
|
2523
|
-
},
|
|
2524
|
-
"description": "Error message to display"
|
|
2525
|
-
},
|
|
2526
|
-
{
|
|
2527
|
-
"name": "tagName",
|
|
2528
|
-
"type": {
|
|
2529
|
-
"text": "string"
|
|
2530
|
-
},
|
|
2531
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2532
|
-
}
|
|
2533
|
-
],
|
|
2534
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2535
|
-
}
|
|
2536
|
-
],
|
|
2537
|
-
"exports": [
|
|
2538
|
-
{
|
|
2539
|
-
"kind": "js",
|
|
2540
|
-
"name": "formatValidationErrors",
|
|
2541
|
-
"declaration": {
|
|
2542
|
-
"name": "formatValidationErrors",
|
|
2543
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2544
|
-
}
|
|
2545
|
-
},
|
|
2546
|
-
{
|
|
2547
|
-
"kind": "js",
|
|
2548
|
-
"name": "showCriteriaError",
|
|
2549
|
-
"declaration": {
|
|
2550
|
-
"name": "showCriteriaError",
|
|
2551
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2552
|
-
}
|
|
2553
|
-
}
|
|
2554
|
-
]
|
|
2555
|
-
},
|
|
2556
|
-
{
|
|
2557
|
-
"kind": "javascript-module",
|
|
2558
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2559
|
-
"declarations": [
|
|
2560
|
-
{
|
|
2561
|
-
"kind": "function",
|
|
2562
|
-
"name": "actionsMenuBaseStyles",
|
|
2563
|
-
"return": {
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "ElementStyles"
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
"parameters": [
|
|
2569
|
-
{
|
|
2570
|
-
"name": "context",
|
|
2571
|
-
"type": {
|
|
2572
|
-
"text": "ElementDefinitionContext"
|
|
2573
|
-
}
|
|
2574
|
-
},
|
|
2575
|
-
{
|
|
2576
|
-
"name": "definition",
|
|
2577
|
-
"type": {
|
|
2578
|
-
"text": "FoundationElementDefinition"
|
|
2357
|
+
"text": "ElementDefinitionContext"
|
|
2358
|
+
}
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"name": "definition",
|
|
2362
|
+
"type": {
|
|
2363
|
+
"text": "FoundationElementDefinition"
|
|
2579
2364
|
}
|
|
2580
2365
|
}
|
|
2581
2366
|
]
|
|
@@ -3114,185 +2899,257 @@
|
|
|
3114
2899
|
},
|
|
3115
2900
|
{
|
|
3116
2901
|
"kind": "javascript-module",
|
|
3117
|
-
"path": "src/
|
|
2902
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3118
2903
|
"declarations": [
|
|
3119
2904
|
{
|
|
3120
|
-
"kind": "
|
|
3121
|
-
"name": "
|
|
3122
|
-
"
|
|
3123
|
-
"type": {
|
|
3124
|
-
"text": "ElementStyles"
|
|
3125
|
-
}
|
|
3126
|
-
},
|
|
3127
|
-
"parameters": [
|
|
3128
|
-
{
|
|
3129
|
-
"name": "context",
|
|
3130
|
-
"type": {
|
|
3131
|
-
"text": "ElementDefinitionContext"
|
|
3132
|
-
}
|
|
3133
|
-
},
|
|
3134
|
-
{
|
|
3135
|
-
"name": "definition",
|
|
3136
|
-
"type": {
|
|
3137
|
-
"text": "FoundationElementDefinition"
|
|
3138
|
-
}
|
|
3139
|
-
}
|
|
3140
|
-
]
|
|
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`"
|
|
3141
2908
|
}
|
|
3142
2909
|
],
|
|
3143
2910
|
"exports": [
|
|
3144
2911
|
{
|
|
3145
2912
|
"kind": "js",
|
|
3146
|
-
"name": "
|
|
2913
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3147
2914
|
"declaration": {
|
|
3148
|
-
"name": "
|
|
3149
|
-
"module": "src/
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3150
2917
|
}
|
|
3151
2918
|
}
|
|
3152
2919
|
]
|
|
3153
2920
|
},
|
|
3154
2921
|
{
|
|
3155
2922
|
"kind": "javascript-module",
|
|
3156
|
-
"path": "src/
|
|
2923
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3157
2924
|
"declarations": [
|
|
3158
2925
|
{
|
|
3159
|
-
"kind": "
|
|
3160
|
-
"name": "
|
|
3161
|
-
"
|
|
3162
|
-
"
|
|
3163
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
3164
|
-
}
|
|
2926
|
+
"kind": "variable",
|
|
2927
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3165
2930
|
},
|
|
3166
|
-
"
|
|
3167
|
-
{
|
|
3168
|
-
"name": "context",
|
|
3169
|
-
"type": {
|
|
3170
|
-
"text": "ElementDefinitionContext"
|
|
3171
|
-
}
|
|
3172
|
-
},
|
|
3173
|
-
{
|
|
3174
|
-
"name": "definition",
|
|
3175
|
-
"type": {
|
|
3176
|
-
"text": "FoundationElementDefinition"
|
|
3177
|
-
}
|
|
3178
|
-
}
|
|
3179
|
-
]
|
|
2931
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3180
2932
|
}
|
|
3181
2933
|
],
|
|
3182
2934
|
"exports": [
|
|
3183
2935
|
{
|
|
3184
2936
|
"kind": "js",
|
|
3185
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3186
2938
|
"declaration": {
|
|
3187
|
-
"name": "
|
|
3188
|
-
"module": "src/
|
|
2939
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3189
2941
|
}
|
|
3190
2942
|
}
|
|
3191
2943
|
]
|
|
3192
2944
|
},
|
|
3193
2945
|
{
|
|
3194
2946
|
"kind": "javascript-module",
|
|
3195
|
-
"path": "src/
|
|
2947
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3196
2948
|
"declarations": [
|
|
3197
2949
|
{
|
|
3198
2950
|
"kind": "class",
|
|
3199
|
-
"description": "",
|
|
3200
|
-
"name": "
|
|
3201
|
-
"
|
|
3202
|
-
"name": "FASTAccordionItem",
|
|
3203
|
-
"package": "@microsoft/fast-components"
|
|
3204
|
-
},
|
|
3205
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
3206
|
-
"customElement": true,
|
|
3207
|
-
"attributes": [
|
|
2951
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2952
|
+
"name": "AiCriteriaSearch",
|
|
2953
|
+
"members": [
|
|
3208
2954
|
{
|
|
3209
|
-
"
|
|
2955
|
+
"kind": "field",
|
|
2956
|
+
"name": "aiProvider",
|
|
3210
2957
|
"type": {
|
|
3211
|
-
"text": "
|
|
3212
|
-
},
|
|
3213
|
-
"default": "2",
|
|
3214
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3215
|
-
"fieldName": "headinglevel",
|
|
3216
|
-
"inheritedFrom": {
|
|
3217
|
-
"name": "AccordionItem",
|
|
3218
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2958
|
+
"text": "AIProvider"
|
|
3219
2959
|
}
|
|
3220
2960
|
},
|
|
3221
2961
|
{
|
|
2962
|
+
"kind": "field",
|
|
2963
|
+
"name": "placeholder",
|
|
2964
|
+
"type": {
|
|
2965
|
+
"text": "string"
|
|
2966
|
+
},
|
|
2967
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"kind": "field",
|
|
2971
|
+
"name": "disabled",
|
|
3222
2972
|
"type": {
|
|
3223
2973
|
"text": "boolean"
|
|
3224
|
-
},
|
|
3225
|
-
"default": "false",
|
|
3226
|
-
"description": "Expands or collapses the item.",
|
|
3227
|
-
"fieldName": "expanded",
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "AccordionItem",
|
|
3230
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3231
2974
|
}
|
|
3232
2975
|
},
|
|
3233
2976
|
{
|
|
3234
|
-
"
|
|
2977
|
+
"kind": "field",
|
|
2978
|
+
"name": "inputValue",
|
|
3235
2979
|
"type": {
|
|
3236
2980
|
"text": "string"
|
|
3237
2981
|
},
|
|
3238
|
-
"
|
|
3239
|
-
|
|
3240
|
-
"inheritedFrom": {
|
|
3241
|
-
"name": "AccordionItem",
|
|
3242
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3243
|
-
}
|
|
3244
|
-
}
|
|
3245
|
-
],
|
|
3246
|
-
"members": [
|
|
2982
|
+
"default": "''"
|
|
2983
|
+
},
|
|
3247
2984
|
{
|
|
3248
2985
|
"kind": "field",
|
|
3249
|
-
"name": "
|
|
2986
|
+
"name": "isInterpreting",
|
|
3250
2987
|
"type": {
|
|
3251
|
-
"text": "
|
|
2988
|
+
"text": "boolean"
|
|
3252
2989
|
},
|
|
3253
|
-
"
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
"
|
|
3257
|
-
|
|
3258
|
-
|
|
2990
|
+
"default": "false"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "lastValidCriteria",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "string | null"
|
|
2997
|
+
},
|
|
2998
|
+
"default": "null"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "field",
|
|
3002
|
+
"name": "activeGroups",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaGroup[]"
|
|
3005
|
+
},
|
|
3006
|
+
"default": "[]"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "field",
|
|
3010
|
+
"name": "showingChips",
|
|
3011
|
+
"type": {
|
|
3012
|
+
"text": "boolean"
|
|
3013
|
+
},
|
|
3014
|
+
"default": "false"
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"kind": "field",
|
|
3018
|
+
"name": "fieldMetadata",
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "MetadataDetail[] | string[]"
|
|
3021
|
+
},
|
|
3022
|
+
"default": "[]"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"kind": "field",
|
|
3026
|
+
"name": "isRecording",
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "boolean"
|
|
3029
|
+
},
|
|
3030
|
+
"default": "false"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"kind": "field",
|
|
3034
|
+
"name": "textAreaRef",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "HTMLTextAreaElement"
|
|
3037
|
+
},
|
|
3038
|
+
"privacy": "public"
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"kind": "field",
|
|
3042
|
+
"name": "stopRecording",
|
|
3043
|
+
"type": {
|
|
3044
|
+
"text": "(() => void) | null"
|
|
3045
|
+
},
|
|
3046
|
+
"privacy": "private",
|
|
3047
|
+
"default": "null"
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"kind": "field",
|
|
3051
|
+
"name": "speechApplyDebounceTimer",
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3054
|
+
},
|
|
3055
|
+
"privacy": "private",
|
|
3056
|
+
"default": "null"
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"kind": "field",
|
|
3060
|
+
"name": "speechAvailable",
|
|
3061
|
+
"type": {
|
|
3062
|
+
"text": "boolean"
|
|
3063
|
+
},
|
|
3064
|
+
"readonly": true
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"kind": "field",
|
|
3068
|
+
"name": "criteriaChips",
|
|
3069
|
+
"type": {
|
|
3070
|
+
"text": "CriteriaChip[]"
|
|
3071
|
+
},
|
|
3072
|
+
"readonly": true
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"kind": "method",
|
|
3076
|
+
"name": "getFieldLabel",
|
|
3077
|
+
"privacy": "private",
|
|
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
|
-
"kind": "
|
|
3263
|
-
"name": "
|
|
3264
|
-
"
|
|
3265
|
-
"
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
"
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3102
|
+
"kind": "method",
|
|
3103
|
+
"name": "removeChip",
|
|
3104
|
+
"return": {
|
|
3105
|
+
"type": {
|
|
3106
|
+
"text": "void"
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
"parameters": [
|
|
3110
|
+
{
|
|
3111
|
+
"name": "groupIndex",
|
|
3112
|
+
"type": {
|
|
3113
|
+
"text": "number"
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "clauseIndex",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "number"
|
|
3120
|
+
}
|
|
3121
|
+
}
|
|
3122
|
+
]
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"kind": "method",
|
|
3126
|
+
"name": "clearChips",
|
|
3127
|
+
"return": {
|
|
3128
|
+
"type": {
|
|
3129
|
+
"text": "void"
|
|
3130
|
+
}
|
|
3273
3131
|
}
|
|
3274
3132
|
},
|
|
3275
3133
|
{
|
|
3276
|
-
"kind": "
|
|
3277
|
-
"name": "
|
|
3278
|
-
"type": {
|
|
3279
|
-
"text": "string"
|
|
3280
|
-
},
|
|
3281
|
-
"privacy": "public",
|
|
3282
|
-
"description": "The item ID",
|
|
3283
|
-
"inheritedFrom": {
|
|
3284
|
-
"name": "AccordionItem",
|
|
3285
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3286
|
-
}
|
|
3134
|
+
"kind": "method",
|
|
3135
|
+
"name": "handleSubmit"
|
|
3287
3136
|
},
|
|
3288
3137
|
{
|
|
3289
|
-
"kind": "
|
|
3290
|
-
"name": "
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
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"
|
|
3296
3153
|
},
|
|
3297
3154
|
{
|
|
3298
3155
|
"kind": "field",
|
|
@@ -3408,84 +3265,152 @@
|
|
|
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
|
},
|
|
3434
|
-
"default": "{
|
|
3313
|
+
"default": "{}"
|
|
3435
3314
|
},
|
|
3436
3315
|
{
|
|
3437
3316
|
"kind": "variable",
|
|
3438
|
-
"name": "
|
|
3439
|
-
"description": "The Foundation Accordion Item",
|
|
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
|
]
|