@genesislcap/foundation-ui 14.447.1 → 14.448.0-canary.wealth
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 +1534 -962
- package/dist/dts/date-picker/date-picker.d.ts +63 -0
- package/dist/dts/date-picker/date-picker.d.ts.map +1 -1
- package/dist/dts/date-picker/date-picker.template.d.ts.map +1 -1
- package/dist/dts/date-picker/date-picker.util.d.ts +37 -0
- package/dist/dts/date-picker/date-picker.util.d.ts.map +1 -0
- package/dist/dts/date-picker/index.d.ts +1 -0
- package/dist/dts/date-picker/index.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -20
- package/dist/dts/search-bar/search-bar-combobox.d.ts +5 -6
- package/dist/dts/search-bar/search-bar-combobox.d.ts.map +1 -1
- package/dist/dts/search-bar/search-bar-combobox.styles.d.ts.map +1 -1
- package/dist/dts/search-bar/search-bar.d.ts +31 -0
- package/dist/dts/search-bar/search-bar.d.ts.map +1 -1
- package/dist/dts/search-bar/search-bar.styles.d.ts.map +1 -1
- package/dist/dts/search-bar/search-bar.template.d.ts.map +1 -1
- package/dist/dts/search-bar/search-bar.types.d.ts +1 -1
- package/dist/dts/search-bar/search-bar.types.d.ts.map +1 -1
- package/dist/esm/date-picker/date-picker.js +264 -17
- package/dist/esm/date-picker/date-picker.template.js +9 -1
- package/dist/esm/date-picker/date-picker.util.js +92 -0
- package/dist/esm/date-picker/index.js +1 -0
- package/dist/esm/search-bar/search-bar-combobox.js +31 -1
- package/dist/esm/search-bar/search-bar-combobox.styles.js +15 -0
- package/dist/esm/search-bar/search-bar-combobox.template.js +1 -1
- package/dist/esm/search-bar/search-bar.js +81 -1
- package/dist/esm/search-bar/search-bar.styles.js +0 -17
- package/dist/esm/search-bar/search-bar.template.js +27 -26
- package/dist/react.cjs +6 -25
- package/dist/react.mjs +5 -23
- package/package.json +19 -19
|
@@ -1400,11 +1400,11 @@
|
|
|
1400
1400
|
},
|
|
1401
1401
|
{
|
|
1402
1402
|
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/accordion
|
|
1403
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1404
1404
|
"declarations": [
|
|
1405
1405
|
{
|
|
1406
1406
|
"kind": "function",
|
|
1407
|
-
"name": "
|
|
1407
|
+
"name": "foundationAccordionStyles",
|
|
1408
1408
|
"return": {
|
|
1409
1409
|
"type": {
|
|
1410
1410
|
"text": "ElementStyles"
|
|
@@ -1429,24 +1429,24 @@
|
|
|
1429
1429
|
"exports": [
|
|
1430
1430
|
{
|
|
1431
1431
|
"kind": "js",
|
|
1432
|
-
"name": "
|
|
1432
|
+
"name": "foundationAccordionStyles",
|
|
1433
1433
|
"declaration": {
|
|
1434
|
-
"name": "
|
|
1435
|
-
"module": "src/accordion
|
|
1434
|
+
"name": "foundationAccordionStyles",
|
|
1435
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
1438
|
]
|
|
1439
1439
|
},
|
|
1440
1440
|
{
|
|
1441
1441
|
"kind": "javascript-module",
|
|
1442
|
-
"path": "src/accordion
|
|
1442
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1443
1443
|
"declarations": [
|
|
1444
1444
|
{
|
|
1445
1445
|
"kind": "function",
|
|
1446
|
-
"name": "
|
|
1446
|
+
"name": "foundationAccordionTemplate",
|
|
1447
1447
|
"return": {
|
|
1448
1448
|
"type": {
|
|
1449
|
-
"text": "ViewTemplate<
|
|
1449
|
+
"text": "ViewTemplate<Accordion>"
|
|
1450
1450
|
}
|
|
1451
1451
|
},
|
|
1452
1452
|
"parameters": [
|
|
@@ -1468,116 +1468,237 @@
|
|
|
1468
1468
|
"exports": [
|
|
1469
1469
|
{
|
|
1470
1470
|
"kind": "js",
|
|
1471
|
-
"name": "
|
|
1471
|
+
"name": "foundationAccordionTemplate",
|
|
1472
1472
|
"declaration": {
|
|
1473
|
-
"name": "
|
|
1474
|
-
"module": "src/accordion
|
|
1473
|
+
"name": "foundationAccordionTemplate",
|
|
1474
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1475
1475
|
}
|
|
1476
1476
|
}
|
|
1477
1477
|
]
|
|
1478
1478
|
},
|
|
1479
1479
|
{
|
|
1480
1480
|
"kind": "javascript-module",
|
|
1481
|
-
"path": "src/accordion
|
|
1481
|
+
"path": "src/accordion/accordion.ts",
|
|
1482
1482
|
"declarations": [
|
|
1483
1483
|
{
|
|
1484
1484
|
"kind": "class",
|
|
1485
1485
|
"description": "",
|
|
1486
|
-
"name": "
|
|
1486
|
+
"name": "Accordion",
|
|
1487
1487
|
"superclass": {
|
|
1488
|
-
"name": "
|
|
1489
|
-
"package": "@microsoft/fast-
|
|
1488
|
+
"name": "FASTAccordion",
|
|
1489
|
+
"package": "@microsoft/fast-foundation"
|
|
1490
1490
|
},
|
|
1491
|
-
"tagName": "%%prefix%%-accordion
|
|
1491
|
+
"tagName": "%%prefix%%-accordion",
|
|
1492
1492
|
"customElement": true,
|
|
1493
1493
|
"attributes": [
|
|
1494
1494
|
{
|
|
1495
|
-
"name": "
|
|
1495
|
+
"name": "expand-mode",
|
|
1496
1496
|
"type": {
|
|
1497
|
-
"text": "
|
|
1497
|
+
"text": "AccordionExpandMode"
|
|
1498
1498
|
},
|
|
1499
|
-
"
|
|
1500
|
-
"
|
|
1501
|
-
"fieldName": "headinglevel",
|
|
1499
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1500
|
+
"fieldName": "expandmode",
|
|
1502
1501
|
"inheritedFrom": {
|
|
1503
|
-
"name": "
|
|
1504
|
-
"module": "src/accordion
|
|
1502
|
+
"name": "Accordion",
|
|
1503
|
+
"module": "src/accordion/accordion.ts"
|
|
1505
1504
|
}
|
|
1506
|
-
}
|
|
1505
|
+
}
|
|
1506
|
+
],
|
|
1507
|
+
"members": [
|
|
1507
1508
|
{
|
|
1509
|
+
"kind": "field",
|
|
1510
|
+
"name": "expandmode",
|
|
1508
1511
|
"type": {
|
|
1509
|
-
"text": "
|
|
1512
|
+
"text": "AccordionExpandMode"
|
|
1510
1513
|
},
|
|
1511
|
-
"
|
|
1512
|
-
"description": "
|
|
1513
|
-
"fieldName": "expanded",
|
|
1514
|
+
"privacy": "public",
|
|
1515
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1514
1516
|
"inheritedFrom": {
|
|
1515
|
-
"name": "
|
|
1516
|
-
"module": "src/accordion
|
|
1517
|
+
"name": "Accordion",
|
|
1518
|
+
"module": "src/accordion/accordion.ts"
|
|
1517
1519
|
}
|
|
1518
1520
|
},
|
|
1519
1521
|
{
|
|
1520
|
-
"
|
|
1522
|
+
"kind": "field",
|
|
1523
|
+
"name": "activeid",
|
|
1521
1524
|
"type": {
|
|
1522
|
-
"text": "string"
|
|
1525
|
+
"text": "string | null"
|
|
1523
1526
|
},
|
|
1524
|
-
"
|
|
1525
|
-
"fieldName": "id",
|
|
1527
|
+
"privacy": "private",
|
|
1526
1528
|
"inheritedFrom": {
|
|
1527
|
-
"name": "
|
|
1528
|
-
"module": "src/accordion
|
|
1529
|
+
"name": "Accordion",
|
|
1530
|
+
"module": "src/accordion/accordion.ts"
|
|
1529
1531
|
}
|
|
1530
|
-
}
|
|
1531
|
-
],
|
|
1532
|
-
"members": [
|
|
1532
|
+
},
|
|
1533
1533
|
{
|
|
1534
1534
|
"kind": "field",
|
|
1535
|
-
"name": "
|
|
1535
|
+
"name": "activeItemIndex",
|
|
1536
1536
|
"type": {
|
|
1537
|
-
"text": "
|
|
1537
|
+
"text": "number"
|
|
1538
1538
|
},
|
|
1539
|
-
"privacy": "
|
|
1540
|
-
"default": "
|
|
1541
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1539
|
+
"privacy": "private",
|
|
1540
|
+
"default": "0",
|
|
1542
1541
|
"inheritedFrom": {
|
|
1543
|
-
"name": "
|
|
1544
|
-
"module": "src/accordion
|
|
1542
|
+
"name": "Accordion",
|
|
1543
|
+
"module": "src/accordion/accordion.ts"
|
|
1545
1544
|
}
|
|
1546
1545
|
},
|
|
1547
1546
|
{
|
|
1548
1547
|
"kind": "field",
|
|
1549
|
-
"name": "
|
|
1548
|
+
"name": "accordionIds",
|
|
1550
1549
|
"type": {
|
|
1551
|
-
"text": "
|
|
1550
|
+
"text": "Array<string | null>"
|
|
1552
1551
|
},
|
|
1553
|
-
"privacy": "
|
|
1554
|
-
"default": "false",
|
|
1555
|
-
"description": "Expands or collapses the item.",
|
|
1552
|
+
"privacy": "private",
|
|
1556
1553
|
"inheritedFrom": {
|
|
1557
|
-
"name": "
|
|
1558
|
-
"module": "src/accordion
|
|
1554
|
+
"name": "Accordion",
|
|
1555
|
+
"module": "src/accordion/accordion.ts"
|
|
1559
1556
|
}
|
|
1560
1557
|
},
|
|
1561
1558
|
{
|
|
1562
1559
|
"kind": "field",
|
|
1563
|
-
"name": "
|
|
1564
|
-
"
|
|
1565
|
-
|
|
1560
|
+
"name": "change",
|
|
1561
|
+
"privacy": "private",
|
|
1562
|
+
"inheritedFrom": {
|
|
1563
|
+
"name": "Accordion",
|
|
1564
|
+
"module": "src/accordion/accordion.ts"
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"kind": "method",
|
|
1569
|
+
"name": "findExpandedItem",
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"return": {
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "AccordionItem | null"
|
|
1574
|
+
}
|
|
1566
1575
|
},
|
|
1567
|
-
"privacy": "public",
|
|
1568
|
-
"description": "The item ID",
|
|
1569
1576
|
"inheritedFrom": {
|
|
1570
|
-
"name": "
|
|
1571
|
-
"module": "src/accordion
|
|
1577
|
+
"name": "Accordion",
|
|
1578
|
+
"module": "src/accordion/accordion.ts"
|
|
1572
1579
|
}
|
|
1573
1580
|
},
|
|
1574
1581
|
{
|
|
1575
1582
|
"kind": "field",
|
|
1576
|
-
"name": "
|
|
1583
|
+
"name": "setItems",
|
|
1577
1584
|
"privacy": "private",
|
|
1578
1585
|
"inheritedFrom": {
|
|
1579
|
-
"name": "
|
|
1580
|
-
"module": "src/accordion
|
|
1586
|
+
"name": "Accordion",
|
|
1587
|
+
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"kind": "method",
|
|
1592
|
+
"name": "resetItems",
|
|
1593
|
+
"privacy": "private",
|
|
1594
|
+
"return": {
|
|
1595
|
+
"type": {
|
|
1596
|
+
"text": "void"
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
"inheritedFrom": {
|
|
1600
|
+
"name": "Accordion",
|
|
1601
|
+
"module": "src/accordion/accordion.ts"
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"kind": "field",
|
|
1606
|
+
"name": "removeItemListeners",
|
|
1607
|
+
"privacy": "private",
|
|
1608
|
+
"inheritedFrom": {
|
|
1609
|
+
"name": "Accordion",
|
|
1610
|
+
"module": "src/accordion/accordion.ts"
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "field",
|
|
1615
|
+
"name": "activeItemChange",
|
|
1616
|
+
"privacy": "private",
|
|
1617
|
+
"inheritedFrom": {
|
|
1618
|
+
"name": "Accordion",
|
|
1619
|
+
"module": "src/accordion/accordion.ts"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"kind": "method",
|
|
1624
|
+
"name": "getItemIds",
|
|
1625
|
+
"privacy": "private",
|
|
1626
|
+
"return": {
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "Array<string | null>"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
"inheritedFrom": {
|
|
1632
|
+
"name": "Accordion",
|
|
1633
|
+
"module": "src/accordion/accordion.ts"
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"kind": "method",
|
|
1638
|
+
"name": "isSingleExpandMode",
|
|
1639
|
+
"privacy": "private",
|
|
1640
|
+
"return": {
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "boolean"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
"inheritedFrom": {
|
|
1646
|
+
"name": "Accordion",
|
|
1647
|
+
"module": "src/accordion/accordion.ts"
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"kind": "field",
|
|
1652
|
+
"name": "handleItemKeyDown",
|
|
1653
|
+
"privacy": "private",
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "field",
|
|
1661
|
+
"name": "handleItemFocus",
|
|
1662
|
+
"privacy": "private",
|
|
1663
|
+
"inheritedFrom": {
|
|
1664
|
+
"name": "Accordion",
|
|
1665
|
+
"module": "src/accordion/accordion.ts"
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"kind": "method",
|
|
1670
|
+
"name": "adjust",
|
|
1671
|
+
"privacy": "private",
|
|
1672
|
+
"return": {
|
|
1673
|
+
"type": {
|
|
1674
|
+
"text": "void"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
"parameters": [
|
|
1678
|
+
{
|
|
1679
|
+
"name": "adjustment",
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "number"
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
],
|
|
1685
|
+
"inheritedFrom": {
|
|
1686
|
+
"name": "Accordion",
|
|
1687
|
+
"module": "src/accordion/accordion.ts"
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"kind": "method",
|
|
1692
|
+
"name": "focusItem",
|
|
1693
|
+
"privacy": "private",
|
|
1694
|
+
"return": {
|
|
1695
|
+
"type": {
|
|
1696
|
+
"text": "void"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
"inheritedFrom": {
|
|
1700
|
+
"name": "Accordion",
|
|
1701
|
+
"module": "src/accordion/accordion.ts"
|
|
1581
1702
|
}
|
|
1582
1703
|
},
|
|
1583
1704
|
{
|
|
@@ -1694,18 +1815,18 @@
|
|
|
1694
1815
|
],
|
|
1695
1816
|
"events": [
|
|
1696
1817
|
{
|
|
1697
|
-
"description": "Fires a custom 'change' event when the
|
|
1818
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1698
1819
|
"name": "change",
|
|
1699
1820
|
"inheritedFrom": {
|
|
1700
|
-
"name": "
|
|
1701
|
-
"module": "src/accordion
|
|
1821
|
+
"name": "Accordion",
|
|
1822
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
1823
|
}
|
|
1703
1824
|
}
|
|
1704
1825
|
]
|
|
1705
1826
|
},
|
|
1706
1827
|
{
|
|
1707
1828
|
"kind": "variable",
|
|
1708
|
-
"name": "
|
|
1829
|
+
"name": "foundationAccordionShadowOptions",
|
|
1709
1830
|
"type": {
|
|
1710
1831
|
"text": "ShadowRootInit"
|
|
1711
1832
|
},
|
|
@@ -1713,57 +1834,57 @@
|
|
|
1713
1834
|
},
|
|
1714
1835
|
{
|
|
1715
1836
|
"kind": "variable",
|
|
1716
|
-
"name": "
|
|
1837
|
+
"name": "defaultAccordionConfig",
|
|
1717
1838
|
"type": {
|
|
1718
1839
|
"text": "object"
|
|
1719
1840
|
},
|
|
1720
|
-
"default": "{
|
|
1841
|
+
"default": "{}"
|
|
1721
1842
|
},
|
|
1722
1843
|
{
|
|
1723
1844
|
"kind": "variable",
|
|
1724
|
-
"name": "
|
|
1725
|
-
"description": "The Foundation Accordion
|
|
1845
|
+
"name": "foundationAccordion",
|
|
1846
|
+
"description": "The Foundation Accordion",
|
|
1726
1847
|
"privacy": "public"
|
|
1727
1848
|
}
|
|
1728
1849
|
],
|
|
1729
1850
|
"exports": [
|
|
1730
1851
|
{
|
|
1731
1852
|
"kind": "js",
|
|
1732
|
-
"name": "
|
|
1853
|
+
"name": "Accordion",
|
|
1733
1854
|
"declaration": {
|
|
1734
|
-
"name": "
|
|
1735
|
-
"module": "src/accordion
|
|
1855
|
+
"name": "Accordion",
|
|
1856
|
+
"module": "src/accordion/accordion.ts"
|
|
1736
1857
|
}
|
|
1737
1858
|
},
|
|
1738
1859
|
{
|
|
1739
1860
|
"kind": "js",
|
|
1740
|
-
"name": "
|
|
1861
|
+
"name": "foundationAccordionShadowOptions",
|
|
1741
1862
|
"declaration": {
|
|
1742
|
-
"name": "
|
|
1743
|
-
"module": "src/accordion
|
|
1863
|
+
"name": "foundationAccordionShadowOptions",
|
|
1864
|
+
"module": "src/accordion/accordion.ts"
|
|
1744
1865
|
}
|
|
1745
1866
|
},
|
|
1746
1867
|
{
|
|
1747
1868
|
"kind": "js",
|
|
1748
|
-
"name": "
|
|
1869
|
+
"name": "defaultAccordionConfig",
|
|
1749
1870
|
"declaration": {
|
|
1750
|
-
"name": "
|
|
1751
|
-
"module": "src/accordion
|
|
1871
|
+
"name": "defaultAccordionConfig",
|
|
1872
|
+
"module": "src/accordion/accordion.ts"
|
|
1752
1873
|
}
|
|
1753
1874
|
},
|
|
1754
1875
|
{
|
|
1755
1876
|
"kind": "js",
|
|
1756
|
-
"name": "
|
|
1877
|
+
"name": "foundationAccordion",
|
|
1757
1878
|
"declaration": {
|
|
1758
|
-
"name": "
|
|
1759
|
-
"module": "src/accordion
|
|
1879
|
+
"name": "foundationAccordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1760
1881
|
}
|
|
1761
1882
|
}
|
|
1762
1883
|
]
|
|
1763
1884
|
},
|
|
1764
1885
|
{
|
|
1765
1886
|
"kind": "javascript-module",
|
|
1766
|
-
"path": "src/accordion
|
|
1887
|
+
"path": "src/accordion/index.ts",
|
|
1767
1888
|
"declarations": [],
|
|
1768
1889
|
"exports": [
|
|
1769
1890
|
{
|
|
@@ -1771,7 +1892,7 @@
|
|
|
1771
1892
|
"name": "*",
|
|
1772
1893
|
"declaration": {
|
|
1773
1894
|
"name": "*",
|
|
1774
|
-
"package": "./accordion
|
|
1895
|
+
"package": "./accordion.template"
|
|
1775
1896
|
}
|
|
1776
1897
|
},
|
|
1777
1898
|
{
|
|
@@ -1779,7 +1900,7 @@
|
|
|
1779
1900
|
"name": "*",
|
|
1780
1901
|
"declaration": {
|
|
1781
1902
|
"name": "*",
|
|
1782
|
-
"package": "./accordion
|
|
1903
|
+
"package": "./accordion.styles"
|
|
1783
1904
|
}
|
|
1784
1905
|
},
|
|
1785
1906
|
{
|
|
@@ -1787,7 +1908,7 @@
|
|
|
1787
1908
|
"name": "*",
|
|
1788
1909
|
"declaration": {
|
|
1789
1910
|
"name": "*",
|
|
1790
|
-
"package": "./accordion
|
|
1911
|
+
"package": "./accordion"
|
|
1791
1912
|
}
|
|
1792
1913
|
}
|
|
1793
1914
|
]
|
|
@@ -1825,34 +1946,11 @@
|
|
|
1825
1946
|
},
|
|
1826
1947
|
{
|
|
1827
1948
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/
|
|
1949
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1829
1950
|
"declarations": [
|
|
1830
1951
|
{
|
|
1831
1952
|
"kind": "function",
|
|
1832
|
-
"name": "
|
|
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
|
-
]
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
"kind": "function",
|
|
1855
|
-
"name": "foundationActionsMenuStyles",
|
|
1953
|
+
"name": "foundationAccordionItemStyles",
|
|
1856
1954
|
"return": {
|
|
1857
1955
|
"type": {
|
|
1858
1956
|
"text": "ElementStyles"
|
|
@@ -1877,307 +1975,194 @@
|
|
|
1877
1975
|
"exports": [
|
|
1878
1976
|
{
|
|
1879
1977
|
"kind": "js",
|
|
1880
|
-
"name": "
|
|
1881
|
-
"declaration": {
|
|
1882
|
-
"name": "actionsMenuBaseStyles",
|
|
1883
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1884
|
-
}
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"kind": "js",
|
|
1888
|
-
"name": "foundationActionsMenuStyles",
|
|
1978
|
+
"name": "foundationAccordionItemStyles",
|
|
1889
1979
|
"declaration": {
|
|
1890
|
-
"name": "
|
|
1891
|
-
"module": "src/
|
|
1980
|
+
"name": "foundationAccordionItemStyles",
|
|
1981
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1892
1982
|
}
|
|
1893
1983
|
}
|
|
1894
1984
|
]
|
|
1895
1985
|
},
|
|
1896
1986
|
{
|
|
1897
1987
|
"kind": "javascript-module",
|
|
1898
|
-
"path": "src/
|
|
1988
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1899
1989
|
"declarations": [
|
|
1900
1990
|
{
|
|
1901
1991
|
"kind": "function",
|
|
1902
|
-
"name": "
|
|
1992
|
+
"name": "foundationAccordionItemTemplate",
|
|
1993
|
+
"return": {
|
|
1994
|
+
"type": {
|
|
1995
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1903
1998
|
"parameters": [
|
|
1904
1999
|
{
|
|
1905
|
-
"name": "
|
|
2000
|
+
"name": "context",
|
|
1906
2001
|
"type": {
|
|
1907
|
-
"text": "
|
|
2002
|
+
"text": "ElementDefinitionContext"
|
|
1908
2003
|
}
|
|
1909
|
-
}
|
|
1910
|
-
]
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
"kind": "function",
|
|
1914
|
-
"name": "singleOptionTemplate",
|
|
1915
|
-
"parameters": [
|
|
2004
|
+
},
|
|
1916
2005
|
{
|
|
1917
|
-
"name": "
|
|
2006
|
+
"name": "definition",
|
|
1918
2007
|
"type": {
|
|
1919
|
-
"text": "
|
|
2008
|
+
"text": "FoundationElementDefinition"
|
|
1920
2009
|
}
|
|
1921
2010
|
}
|
|
1922
2011
|
]
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"kind": "variable",
|
|
1926
|
-
"name": "foundationActionsMenuTemplate",
|
|
1927
|
-
"type": {
|
|
1928
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1929
|
-
},
|
|
1930
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1931
2012
|
}
|
|
1932
2013
|
],
|
|
1933
2014
|
"exports": [
|
|
1934
2015
|
{
|
|
1935
2016
|
"kind": "js",
|
|
1936
|
-
"name": "
|
|
1937
|
-
"declaration": {
|
|
1938
|
-
"name": "menuTemplate",
|
|
1939
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1940
|
-
}
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"kind": "js",
|
|
1944
|
-
"name": "singleOptionTemplate",
|
|
1945
|
-
"declaration": {
|
|
1946
|
-
"name": "singleOptionTemplate",
|
|
1947
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1948
|
-
}
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "js",
|
|
1952
|
-
"name": "foundationActionsMenuTemplate",
|
|
2017
|
+
"name": "foundationAccordionItemTemplate",
|
|
1953
2018
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/
|
|
2019
|
+
"name": "foundationAccordionItemTemplate",
|
|
2020
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1956
2021
|
}
|
|
1957
2022
|
}
|
|
1958
2023
|
]
|
|
1959
2024
|
},
|
|
1960
2025
|
{
|
|
1961
2026
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/
|
|
2027
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1963
2028
|
"declarations": [
|
|
1964
2029
|
{
|
|
1965
2030
|
"kind": "class",
|
|
1966
2031
|
"description": "",
|
|
1967
|
-
"name": "
|
|
1968
|
-
"
|
|
2032
|
+
"name": "AccordionItem",
|
|
2033
|
+
"superclass": {
|
|
2034
|
+
"name": "FASTAccordionItem",
|
|
2035
|
+
"package": "@microsoft/fast-components"
|
|
2036
|
+
},
|
|
2037
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2038
|
+
"customElement": true,
|
|
2039
|
+
"attributes": [
|
|
1969
2040
|
{
|
|
1970
|
-
"
|
|
1971
|
-
"name": "actions",
|
|
2041
|
+
"name": "heading-level",
|
|
1972
2042
|
"type": {
|
|
1973
|
-
"text": "
|
|
2043
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2044
|
+
},
|
|
2045
|
+
"default": "2",
|
|
2046
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2047
|
+
"fieldName": "headinglevel",
|
|
2048
|
+
"inheritedFrom": {
|
|
2049
|
+
"name": "AccordionItem",
|
|
2050
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1974
2051
|
}
|
|
1975
2052
|
},
|
|
1976
2053
|
{
|
|
1977
|
-
"kind": "field",
|
|
1978
|
-
"name": "isVertical",
|
|
1979
2054
|
"type": {
|
|
1980
2055
|
"text": "boolean"
|
|
1981
2056
|
},
|
|
1982
|
-
"default": "false"
|
|
2057
|
+
"default": "false",
|
|
2058
|
+
"description": "Expands or collapses the item.",
|
|
2059
|
+
"fieldName": "expanded",
|
|
2060
|
+
"inheritedFrom": {
|
|
2061
|
+
"name": "AccordionItem",
|
|
2062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2063
|
+
}
|
|
1983
2064
|
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "id",
|
|
2067
|
+
"type": {
|
|
2068
|
+
"text": "string"
|
|
2069
|
+
},
|
|
2070
|
+
"description": "The item ID",
|
|
2071
|
+
"fieldName": "id",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "AccordionItem",
|
|
2074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
],
|
|
2078
|
+
"members": [
|
|
1984
2079
|
{
|
|
1985
2080
|
"kind": "field",
|
|
1986
|
-
"name": "
|
|
2081
|
+
"name": "headinglevel",
|
|
1987
2082
|
"type": {
|
|
1988
|
-
"text": "
|
|
2083
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1989
2084
|
},
|
|
1990
|
-
"
|
|
2085
|
+
"privacy": "public",
|
|
2086
|
+
"default": "2",
|
|
2087
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2088
|
+
"inheritedFrom": {
|
|
2089
|
+
"name": "AccordionItem",
|
|
2090
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2091
|
+
}
|
|
1991
2092
|
},
|
|
1992
2093
|
{
|
|
1993
2094
|
"kind": "field",
|
|
1994
|
-
"name": "
|
|
2095
|
+
"name": "expanded",
|
|
1995
2096
|
"type": {
|
|
1996
2097
|
"text": "boolean"
|
|
1997
2098
|
},
|
|
1998
|
-
"
|
|
2099
|
+
"privacy": "public",
|
|
2100
|
+
"default": "false",
|
|
2101
|
+
"description": "Expands or collapses the item.",
|
|
2102
|
+
"inheritedFrom": {
|
|
2103
|
+
"name": "AccordionItem",
|
|
2104
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2105
|
+
}
|
|
1999
2106
|
},
|
|
2000
2107
|
{
|
|
2001
2108
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
2109
|
+
"name": "id",
|
|
2003
2110
|
"type": {
|
|
2004
2111
|
"text": "string"
|
|
2112
|
+
},
|
|
2113
|
+
"privacy": "public",
|
|
2114
|
+
"description": "The item ID",
|
|
2115
|
+
"inheritedFrom": {
|
|
2116
|
+
"name": "AccordionItem",
|
|
2117
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2005
2118
|
}
|
|
2006
2119
|
},
|
|
2007
2120
|
{
|
|
2008
2121
|
"kind": "field",
|
|
2009
|
-
"name": "
|
|
2010
|
-
"
|
|
2011
|
-
|
|
2122
|
+
"name": "change",
|
|
2123
|
+
"privacy": "private",
|
|
2124
|
+
"inheritedFrom": {
|
|
2125
|
+
"name": "AccordionItem",
|
|
2126
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2012
2127
|
}
|
|
2013
2128
|
},
|
|
2014
2129
|
{
|
|
2015
2130
|
"kind": "field",
|
|
2016
|
-
"name": "
|
|
2131
|
+
"name": "_presentation",
|
|
2017
2132
|
"type": {
|
|
2018
|
-
"text": "
|
|
2133
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2019
2134
|
},
|
|
2020
|
-
"
|
|
2135
|
+
"privacy": "private",
|
|
2136
|
+
"default": "void 0",
|
|
2137
|
+
"inheritedFrom": {
|
|
2138
|
+
"name": "FoundationElement",
|
|
2139
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2140
|
+
}
|
|
2021
2141
|
},
|
|
2022
2142
|
{
|
|
2023
2143
|
"kind": "field",
|
|
2024
|
-
"name": "
|
|
2144
|
+
"name": "$presentation",
|
|
2025
2145
|
"type": {
|
|
2026
|
-
"text": "
|
|
2146
|
+
"text": "ComponentPresentation | null"
|
|
2027
2147
|
},
|
|
2028
|
-
"
|
|
2148
|
+
"privacy": "public",
|
|
2149
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2150
|
+
"inheritedFrom": {
|
|
2151
|
+
"name": "FoundationElement",
|
|
2152
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2153
|
+
}
|
|
2029
2154
|
},
|
|
2030
2155
|
{
|
|
2031
2156
|
"kind": "field",
|
|
2032
|
-
"name": "
|
|
2157
|
+
"name": "template",
|
|
2033
2158
|
"type": {
|
|
2034
|
-
"text": "
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
"
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
"text": "boolean"
|
|
2042
|
-
},
|
|
2043
|
-
"default": "false"
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "field",
|
|
2047
|
-
"name": "hideMenuSingleOption",
|
|
2048
|
-
"type": {
|
|
2049
|
-
"text": "boolean"
|
|
2050
|
-
},
|
|
2051
|
-
"default": "false"
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"kind": "field",
|
|
2055
|
-
"name": "singleOption",
|
|
2056
|
-
"type": {
|
|
2057
|
-
"text": "ActionMenuItem"
|
|
2058
|
-
}
|
|
2059
|
-
},
|
|
2060
|
-
{
|
|
2061
|
-
"kind": "field",
|
|
2062
|
-
"name": "actionsMenu",
|
|
2063
|
-
"type": {
|
|
2064
|
-
"text": "HTMLElement"
|
|
2065
|
-
}
|
|
2066
|
-
},
|
|
2067
|
-
{
|
|
2068
|
-
"kind": "method",
|
|
2069
|
-
"name": "definitionChanged",
|
|
2070
|
-
"privacy": "protected",
|
|
2071
|
-
"parameters": [
|
|
2072
|
-
{
|
|
2073
|
-
"name": "oldValue",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "any"
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
"name": "newValue",
|
|
2080
|
-
"type": {
|
|
2081
|
-
"text": "any"
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
]
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"kind": "method",
|
|
2088
|
-
"name": "openChanged",
|
|
2089
|
-
"privacy": "protected"
|
|
2090
|
-
},
|
|
2091
|
-
{
|
|
2092
|
-
"kind": "method",
|
|
2093
|
-
"name": "toggleActionsMenuVisibility"
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"kind": "method",
|
|
2097
|
-
"name": "onActionMenuItemClick",
|
|
2098
|
-
"parameters": [
|
|
2099
|
-
{
|
|
2100
|
-
"name": "callback",
|
|
2101
|
-
"type": {
|
|
2102
|
-
"text": "(rowData) => void | any"
|
|
2103
|
-
}
|
|
2104
|
-
}
|
|
2105
|
-
]
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"kind": "field",
|
|
2109
|
-
"name": "allActions",
|
|
2110
|
-
"type": {
|
|
2111
|
-
"text": "ActionMenuItem[]"
|
|
2112
|
-
},
|
|
2113
|
-
"readonly": true
|
|
2114
|
-
},
|
|
2115
|
-
{
|
|
2116
|
-
"kind": "field",
|
|
2117
|
-
"name": "rowData",
|
|
2118
|
-
"readonly": true
|
|
2119
|
-
},
|
|
2120
|
-
{
|
|
2121
|
-
"kind": "method",
|
|
2122
|
-
"name": "getLabel",
|
|
2123
|
-
"parameters": [
|
|
2124
|
-
{
|
|
2125
|
-
"name": "name",
|
|
2126
|
-
"type": {
|
|
2127
|
-
"text": "string | ((rowData: any) => string)"
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2130
|
-
]
|
|
2131
|
-
},
|
|
2132
|
-
{
|
|
2133
|
-
"kind": "method",
|
|
2134
|
-
"name": "getTemplate",
|
|
2135
|
-
"parameters": [
|
|
2136
|
-
{
|
|
2137
|
-
"name": "prefix",
|
|
2138
|
-
"type": {
|
|
2139
|
-
"text": "string"
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
]
|
|
2143
|
-
},
|
|
2144
|
-
{
|
|
2145
|
-
"kind": "field",
|
|
2146
|
-
"name": "_presentation",
|
|
2147
|
-
"type": {
|
|
2148
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2149
|
-
},
|
|
2150
|
-
"privacy": "private",
|
|
2151
|
-
"default": "void 0",
|
|
2152
|
-
"inheritedFrom": {
|
|
2153
|
-
"name": "FoundationElement",
|
|
2154
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2155
|
-
}
|
|
2156
|
-
},
|
|
2157
|
-
{
|
|
2158
|
-
"kind": "field",
|
|
2159
|
-
"name": "$presentation",
|
|
2160
|
-
"type": {
|
|
2161
|
-
"text": "ComponentPresentation | null"
|
|
2162
|
-
},
|
|
2163
|
-
"privacy": "public",
|
|
2164
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2165
|
-
"inheritedFrom": {
|
|
2166
|
-
"name": "FoundationElement",
|
|
2167
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2168
|
-
}
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"kind": "field",
|
|
2172
|
-
"name": "template",
|
|
2173
|
-
"type": {
|
|
2174
|
-
"text": "ElementViewTemplate | void | null"
|
|
2175
|
-
},
|
|
2176
|
-
"privacy": "public",
|
|
2177
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2178
|
-
"inheritedFrom": {
|
|
2179
|
-
"name": "FoundationElement",
|
|
2180
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2159
|
+
"text": "ElementViewTemplate | void | null"
|
|
2160
|
+
},
|
|
2161
|
+
"privacy": "public",
|
|
2162
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2163
|
+
"inheritedFrom": {
|
|
2164
|
+
"name": "FoundationElement",
|
|
2165
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2181
2166
|
}
|
|
2182
2167
|
},
|
|
2183
2168
|
{
|
|
@@ -2253,107 +2238,78 @@
|
|
|
2253
2238
|
}
|
|
2254
2239
|
}
|
|
2255
2240
|
],
|
|
2256
|
-
"
|
|
2257
|
-
{
|
|
2258
|
-
"name": "is-vertical",
|
|
2259
|
-
"type": {
|
|
2260
|
-
"text": "boolean"
|
|
2261
|
-
},
|
|
2262
|
-
"default": "false",
|
|
2263
|
-
"fieldName": "isVertical"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"name": "add-default-actions",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "boolean"
|
|
2269
|
-
},
|
|
2270
|
-
"default": "true",
|
|
2271
|
-
"fieldName": "addDefaultActions"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "auto-close-on-action",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "boolean"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "true",
|
|
2279
|
-
"fieldName": "autoCloseOnAction"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "name",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "string"
|
|
2285
|
-
},
|
|
2286
|
-
"default": "'Actions'",
|
|
2287
|
-
"fieldName": "name"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"name": "open",
|
|
2291
|
-
"type": {
|
|
2292
|
-
"text": "boolean"
|
|
2293
|
-
},
|
|
2294
|
-
"default": "false",
|
|
2295
|
-
"fieldName": "open"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"name": "buttonAppearance",
|
|
2299
|
-
"type": {
|
|
2300
|
-
"text": "string"
|
|
2301
|
-
},
|
|
2302
|
-
"fieldName": "buttonAppearance"
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"name": "hide-disabled",
|
|
2306
|
-
"type": {
|
|
2307
|
-
"text": "boolean"
|
|
2308
|
-
},
|
|
2309
|
-
"default": "false",
|
|
2310
|
-
"fieldName": "hideDisabled"
|
|
2311
|
-
},
|
|
2241
|
+
"events": [
|
|
2312
2242
|
{
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2243
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2244
|
+
"name": "change",
|
|
2245
|
+
"inheritedFrom": {
|
|
2246
|
+
"name": "AccordionItem",
|
|
2247
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2248
|
+
}
|
|
2319
2249
|
}
|
|
2320
|
-
]
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2250
|
+
]
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"kind": "variable",
|
|
2254
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "ShadowRootInit"
|
|
2324
2257
|
},
|
|
2325
|
-
"
|
|
2326
|
-
"customElement": true
|
|
2258
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2327
2259
|
},
|
|
2328
2260
|
{
|
|
2329
2261
|
"kind": "variable",
|
|
2330
|
-
"name": "
|
|
2331
|
-
"
|
|
2262
|
+
"name": "defaultAccordionItemConfig",
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "object"
|
|
2265
|
+
},
|
|
2266
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "variable",
|
|
2270
|
+
"name": "foundationAccordionItem",
|
|
2271
|
+
"description": "The Foundation Accordion Item",
|
|
2332
2272
|
"privacy": "public"
|
|
2333
2273
|
}
|
|
2334
2274
|
],
|
|
2335
2275
|
"exports": [
|
|
2336
2276
|
{
|
|
2337
2277
|
"kind": "js",
|
|
2338
|
-
"name": "
|
|
2278
|
+
"name": "AccordionItem",
|
|
2339
2279
|
"declaration": {
|
|
2340
|
-
"name": "
|
|
2341
|
-
"module": "src/
|
|
2280
|
+
"name": "AccordionItem",
|
|
2281
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2342
2282
|
}
|
|
2343
2283
|
},
|
|
2344
2284
|
{
|
|
2345
2285
|
"kind": "js",
|
|
2346
|
-
"name": "
|
|
2286
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2347
2287
|
"declaration": {
|
|
2348
|
-
"name": "
|
|
2349
|
-
"module": "src/
|
|
2288
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2289
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "js",
|
|
2294
|
+
"name": "defaultAccordionItemConfig",
|
|
2295
|
+
"declaration": {
|
|
2296
|
+
"name": "defaultAccordionItemConfig",
|
|
2297
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"kind": "js",
|
|
2302
|
+
"name": "foundationAccordionItem",
|
|
2303
|
+
"declaration": {
|
|
2304
|
+
"name": "foundationAccordionItem",
|
|
2305
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2350
2306
|
}
|
|
2351
2307
|
}
|
|
2352
2308
|
]
|
|
2353
2309
|
},
|
|
2354
2310
|
{
|
|
2355
2311
|
"kind": "javascript-module",
|
|
2356
|
-
"path": "src/
|
|
2312
|
+
"path": "src/accordion-item/index.ts",
|
|
2357
2313
|
"declarations": [],
|
|
2358
2314
|
"exports": [
|
|
2359
2315
|
{
|
|
@@ -2361,7 +2317,7 @@
|
|
|
2361
2317
|
"name": "*",
|
|
2362
2318
|
"declaration": {
|
|
2363
2319
|
"name": "*",
|
|
2364
|
-
"package": "./
|
|
2320
|
+
"package": "./accordion-item.template"
|
|
2365
2321
|
}
|
|
2366
2322
|
},
|
|
2367
2323
|
{
|
|
@@ -2369,7 +2325,7 @@
|
|
|
2369
2325
|
"name": "*",
|
|
2370
2326
|
"declaration": {
|
|
2371
2327
|
"name": "*",
|
|
2372
|
-
"package": "./
|
|
2328
|
+
"package": "./accordion-item.styles"
|
|
2373
2329
|
}
|
|
2374
2330
|
},
|
|
2375
2331
|
{
|
|
@@ -2377,138 +2333,210 @@
|
|
|
2377
2333
|
"name": "*",
|
|
2378
2334
|
"declaration": {
|
|
2379
2335
|
"name": "*",
|
|
2380
|
-
"package": "./
|
|
2336
|
+
"package": "./accordion-item"
|
|
2381
2337
|
}
|
|
2382
2338
|
}
|
|
2383
2339
|
]
|
|
2384
2340
|
},
|
|
2385
2341
|
{
|
|
2386
2342
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/
|
|
2343
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2388
2344
|
"declarations": [
|
|
2389
2345
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2346
|
+
"kind": "function",
|
|
2347
|
+
"name": "actionsMenuBaseStyles",
|
|
2348
|
+
"return": {
|
|
2349
|
+
"type": {
|
|
2350
|
+
"text": "ElementStyles"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
"parameters": [
|
|
2354
|
+
{
|
|
2355
|
+
"name": "context",
|
|
2356
|
+
"type": {
|
|
2357
|
+
"text": "ElementDefinitionContext"
|
|
2358
|
+
}
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"name": "definition",
|
|
2362
|
+
"type": {
|
|
2363
|
+
"text": "FoundationElementDefinition"
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
]
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"kind": "function",
|
|
2370
|
+
"name": "foundationActionsMenuStyles",
|
|
2371
|
+
"return": {
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "ElementStyles"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
"parameters": [
|
|
2377
|
+
{
|
|
2378
|
+
"name": "context",
|
|
2379
|
+
"type": {
|
|
2380
|
+
"text": "ElementDefinitionContext"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"name": "definition",
|
|
2385
|
+
"type": {
|
|
2386
|
+
"text": "FoundationElementDefinition"
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
]
|
|
2393
2390
|
}
|
|
2394
2391
|
],
|
|
2395
2392
|
"exports": [
|
|
2396
2393
|
{
|
|
2397
2394
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2395
|
+
"name": "actionsMenuBaseStyles",
|
|
2399
2396
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/
|
|
2397
|
+
"name": "actionsMenuBaseStyles",
|
|
2398
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"kind": "js",
|
|
2403
|
+
"name": "foundationActionsMenuStyles",
|
|
2404
|
+
"declaration": {
|
|
2405
|
+
"name": "foundationActionsMenuStyles",
|
|
2406
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2402
2407
|
}
|
|
2403
2408
|
}
|
|
2404
2409
|
]
|
|
2405
2410
|
},
|
|
2406
2411
|
{
|
|
2407
2412
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/
|
|
2413
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2409
2414
|
"declarations": [
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "function",
|
|
2417
|
+
"name": "menuTemplate",
|
|
2418
|
+
"parameters": [
|
|
2419
|
+
{
|
|
2420
|
+
"name": "prefix",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "string"
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
]
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"kind": "function",
|
|
2429
|
+
"name": "singleOptionTemplate",
|
|
2430
|
+
"parameters": [
|
|
2431
|
+
{
|
|
2432
|
+
"name": "prefix",
|
|
2433
|
+
"type": {
|
|
2434
|
+
"text": "string"
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
]
|
|
2438
|
+
},
|
|
2410
2439
|
{
|
|
2411
2440
|
"kind": "variable",
|
|
2412
|
-
"name": "
|
|
2441
|
+
"name": "foundationActionsMenuTemplate",
|
|
2413
2442
|
"type": {
|
|
2414
|
-
"text": "ViewTemplate<
|
|
2443
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2415
2444
|
},
|
|
2416
|
-
"default": "html`\n ${(x) =>
|
|
2445
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2417
2446
|
}
|
|
2418
2447
|
],
|
|
2419
2448
|
"exports": [
|
|
2420
2449
|
{
|
|
2421
2450
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2451
|
+
"name": "menuTemplate",
|
|
2423
2452
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/
|
|
2453
|
+
"name": "menuTemplate",
|
|
2454
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "js",
|
|
2459
|
+
"name": "singleOptionTemplate",
|
|
2460
|
+
"declaration": {
|
|
2461
|
+
"name": "singleOptionTemplate",
|
|
2462
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"kind": "js",
|
|
2467
|
+
"name": "foundationActionsMenuTemplate",
|
|
2468
|
+
"declaration": {
|
|
2469
|
+
"name": "foundationActionsMenuTemplate",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2426
2471
|
}
|
|
2427
2472
|
}
|
|
2428
2473
|
]
|
|
2429
2474
|
},
|
|
2430
2475
|
{
|
|
2431
2476
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/
|
|
2477
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2433
2478
|
"declarations": [
|
|
2434
2479
|
{
|
|
2435
2480
|
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2481
|
+
"description": "",
|
|
2482
|
+
"name": "ActionsMenu",
|
|
2438
2483
|
"members": [
|
|
2439
2484
|
{
|
|
2440
2485
|
"kind": "field",
|
|
2441
|
-
"name": "
|
|
2486
|
+
"name": "actions",
|
|
2442
2487
|
"type": {
|
|
2443
|
-
"text": "
|
|
2488
|
+
"text": "ActionMenuItem[]"
|
|
2444
2489
|
}
|
|
2445
2490
|
},
|
|
2446
2491
|
{
|
|
2447
2492
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "string"
|
|
2451
|
-
},
|
|
2452
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"kind": "field",
|
|
2456
|
-
"name": "disabled",
|
|
2493
|
+
"name": "isVertical",
|
|
2457
2494
|
"type": {
|
|
2458
2495
|
"text": "boolean"
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
"kind": "field",
|
|
2463
|
-
"name": "inputValue",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "string"
|
|
2466
2496
|
},
|
|
2467
|
-
"default": "
|
|
2497
|
+
"default": "false"
|
|
2468
2498
|
},
|
|
2469
2499
|
{
|
|
2470
2500
|
"kind": "field",
|
|
2471
|
-
"name": "
|
|
2501
|
+
"name": "addDefaultActions",
|
|
2472
2502
|
"type": {
|
|
2473
2503
|
"text": "boolean"
|
|
2474
2504
|
},
|
|
2475
|
-
"default": "
|
|
2505
|
+
"default": "true"
|
|
2476
2506
|
},
|
|
2477
2507
|
{
|
|
2478
2508
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2509
|
+
"name": "autoCloseOnAction",
|
|
2480
2510
|
"type": {
|
|
2481
|
-
"text": "
|
|
2511
|
+
"text": "boolean"
|
|
2482
2512
|
},
|
|
2483
|
-
"default": "
|
|
2513
|
+
"default": "true"
|
|
2484
2514
|
},
|
|
2485
2515
|
{
|
|
2486
2516
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2517
|
+
"name": "classNames",
|
|
2488
2518
|
"type": {
|
|
2489
|
-
"text": "
|
|
2490
|
-
}
|
|
2491
|
-
"default": "[]"
|
|
2519
|
+
"text": "string"
|
|
2520
|
+
}
|
|
2492
2521
|
},
|
|
2493
2522
|
{
|
|
2494
2523
|
"kind": "field",
|
|
2495
|
-
"name": "
|
|
2524
|
+
"name": "definition",
|
|
2496
2525
|
"type": {
|
|
2497
|
-
"text": "
|
|
2498
|
-
}
|
|
2499
|
-
"default": "false"
|
|
2526
|
+
"text": "any"
|
|
2527
|
+
}
|
|
2500
2528
|
},
|
|
2501
2529
|
{
|
|
2502
2530
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2531
|
+
"name": "name",
|
|
2504
2532
|
"type": {
|
|
2505
|
-
"text": "
|
|
2533
|
+
"text": "string"
|
|
2506
2534
|
},
|
|
2507
|
-
"default": "
|
|
2535
|
+
"default": "'Actions'"
|
|
2508
2536
|
},
|
|
2509
2537
|
{
|
|
2510
2538
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2539
|
+
"name": "open",
|
|
2512
2540
|
"type": {
|
|
2513
2541
|
"text": "boolean"
|
|
2514
2542
|
},
|
|
@@ -2516,125 +2544,117 @@
|
|
|
2516
2544
|
},
|
|
2517
2545
|
{
|
|
2518
2546
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2547
|
+
"name": "buttonAppearance",
|
|
2520
2548
|
"type": {
|
|
2521
|
-
"text": "
|
|
2522
|
-
}
|
|
2523
|
-
"privacy": "public"
|
|
2549
|
+
"text": "string"
|
|
2550
|
+
}
|
|
2524
2551
|
},
|
|
2525
2552
|
{
|
|
2526
2553
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2554
|
+
"name": "hideDisabled",
|
|
2528
2555
|
"type": {
|
|
2529
|
-
"text": "
|
|
2556
|
+
"text": "boolean"
|
|
2530
2557
|
},
|
|
2531
|
-
"
|
|
2532
|
-
"default": "null"
|
|
2558
|
+
"default": "false"
|
|
2533
2559
|
},
|
|
2534
2560
|
{
|
|
2535
2561
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2562
|
+
"name": "hideMenuSingleOption",
|
|
2537
2563
|
"type": {
|
|
2538
|
-
"text": "
|
|
2564
|
+
"text": "boolean"
|
|
2539
2565
|
},
|
|
2540
|
-
"
|
|
2541
|
-
"default": "null"
|
|
2566
|
+
"default": "false"
|
|
2542
2567
|
},
|
|
2543
2568
|
{
|
|
2544
2569
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2570
|
+
"name": "singleOption",
|
|
2546
2571
|
"type": {
|
|
2547
|
-
"text": "
|
|
2548
|
-
}
|
|
2549
|
-
"readonly": true
|
|
2572
|
+
"text": "ActionMenuItem"
|
|
2573
|
+
}
|
|
2550
2574
|
},
|
|
2551
2575
|
{
|
|
2552
2576
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2577
|
+
"name": "actionsMenu",
|
|
2554
2578
|
"type": {
|
|
2555
|
-
"text": "
|
|
2556
|
-
},
|
|
2557
|
-
"readonly": true
|
|
2558
|
-
},
|
|
2559
|
-
{
|
|
2560
|
-
"kind": "method",
|
|
2561
|
-
"name": "getFieldLabel",
|
|
2562
|
-
"privacy": "private",
|
|
2563
|
-
"return": {
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "string"
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
"parameters": [
|
|
2569
|
-
{
|
|
2570
|
-
"name": "fieldName",
|
|
2571
|
-
"type": {
|
|
2572
|
-
"text": "string"
|
|
2573
|
-
}
|
|
2574
|
-
}
|
|
2575
|
-
]
|
|
2576
|
-
},
|
|
2577
|
-
{
|
|
2578
|
-
"kind": "method",
|
|
2579
|
-
"name": "toggleCriteriaView",
|
|
2580
|
-
"return": {
|
|
2581
|
-
"type": {
|
|
2582
|
-
"text": "void"
|
|
2583
|
-
}
|
|
2579
|
+
"text": "HTMLElement"
|
|
2584
2580
|
}
|
|
2585
2581
|
},
|
|
2586
2582
|
{
|
|
2587
2583
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2589
|
-
"
|
|
2590
|
-
"type": {
|
|
2591
|
-
"text": "void"
|
|
2592
|
-
}
|
|
2593
|
-
},
|
|
2584
|
+
"name": "definitionChanged",
|
|
2585
|
+
"privacy": "protected",
|
|
2594
2586
|
"parameters": [
|
|
2595
2587
|
{
|
|
2596
|
-
"name": "
|
|
2588
|
+
"name": "oldValue",
|
|
2597
2589
|
"type": {
|
|
2598
|
-
"text": "
|
|
2590
|
+
"text": "any"
|
|
2599
2591
|
}
|
|
2600
2592
|
},
|
|
2601
2593
|
{
|
|
2602
|
-
"name": "
|
|
2594
|
+
"name": "newValue",
|
|
2603
2595
|
"type": {
|
|
2604
|
-
"text": "
|
|
2596
|
+
"text": "any"
|
|
2605
2597
|
}
|
|
2606
2598
|
}
|
|
2607
2599
|
]
|
|
2608
2600
|
},
|
|
2609
2601
|
{
|
|
2610
2602
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2612
|
-
"
|
|
2613
|
-
"type": {
|
|
2614
|
-
"text": "void"
|
|
2615
|
-
}
|
|
2616
|
-
}
|
|
2603
|
+
"name": "openChanged",
|
|
2604
|
+
"privacy": "protected"
|
|
2617
2605
|
},
|
|
2618
2606
|
{
|
|
2619
2607
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2608
|
+
"name": "toggleActionsMenuVisibility"
|
|
2621
2609
|
},
|
|
2622
2610
|
{
|
|
2623
2611
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2612
|
+
"name": "onActionMenuItemClick",
|
|
2613
|
+
"parameters": [
|
|
2614
|
+
{
|
|
2615
|
+
"name": "callback",
|
|
2616
|
+
"type": {
|
|
2617
|
+
"text": "(rowData) => void | any"
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
]
|
|
2625
2621
|
},
|
|
2626
2622
|
{
|
|
2627
|
-
"kind": "
|
|
2628
|
-
"name": "
|
|
2623
|
+
"kind": "field",
|
|
2624
|
+
"name": "allActions",
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "ActionMenuItem[]"
|
|
2627
|
+
},
|
|
2628
|
+
"readonly": true
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"kind": "field",
|
|
2632
|
+
"name": "rowData",
|
|
2633
|
+
"readonly": true
|
|
2629
2634
|
},
|
|
2630
2635
|
{
|
|
2631
2636
|
"kind": "method",
|
|
2632
|
-
"name": "
|
|
2637
|
+
"name": "getLabel",
|
|
2638
|
+
"parameters": [
|
|
2639
|
+
{
|
|
2640
|
+
"name": "name",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "string | ((rowData: any) => string)"
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
]
|
|
2633
2646
|
},
|
|
2634
2647
|
{
|
|
2635
2648
|
"kind": "method",
|
|
2636
|
-
"name": "
|
|
2637
|
-
"
|
|
2649
|
+
"name": "getTemplate",
|
|
2650
|
+
"parameters": [
|
|
2651
|
+
{
|
|
2652
|
+
"name": "prefix",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "string"
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
]
|
|
2638
2658
|
},
|
|
2639
2659
|
{
|
|
2640
2660
|
"kind": "field",
|
|
@@ -2748,154 +2768,115 @@
|
|
|
2748
2768
|
}
|
|
2749
2769
|
}
|
|
2750
2770
|
],
|
|
2751
|
-
"
|
|
2771
|
+
"attributes": [
|
|
2752
2772
|
{
|
|
2753
|
-
"
|
|
2754
|
-
"
|
|
2773
|
+
"name": "is-vertical",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"default": "false",
|
|
2778
|
+
"fieldName": "isVertical"
|
|
2755
2779
|
},
|
|
2756
2780
|
{
|
|
2757
|
-
"
|
|
2758
|
-
"
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2781
|
+
"name": "add-default-actions",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "boolean"
|
|
2784
|
+
},
|
|
2785
|
+
"default": "true",
|
|
2786
|
+
"fieldName": "addDefaultActions"
|
|
2787
|
+
},
|
|
2762
2788
|
{
|
|
2763
|
-
"name": "
|
|
2789
|
+
"name": "auto-close-on-action",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "true",
|
|
2794
|
+
"fieldName": "autoCloseOnAction"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "name",
|
|
2764
2798
|
"type": {
|
|
2765
2799
|
"text": "string"
|
|
2766
2800
|
},
|
|
2767
|
-
"default": "'
|
|
2768
|
-
"fieldName": "
|
|
2801
|
+
"default": "'Actions'",
|
|
2802
|
+
"fieldName": "name"
|
|
2769
2803
|
},
|
|
2770
2804
|
{
|
|
2805
|
+
"name": "open",
|
|
2771
2806
|
"type": {
|
|
2772
2807
|
"text": "boolean"
|
|
2773
2808
|
},
|
|
2774
|
-
"
|
|
2809
|
+
"default": "false",
|
|
2810
|
+
"fieldName": "open"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "buttonAppearance",
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "string"
|
|
2816
|
+
},
|
|
2817
|
+
"fieldName": "buttonAppearance"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"name": "hide-disabled",
|
|
2821
|
+
"type": {
|
|
2822
|
+
"text": "boolean"
|
|
2823
|
+
},
|
|
2824
|
+
"default": "false",
|
|
2825
|
+
"fieldName": "hideDisabled"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "hide-menu-single-option",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "boolean"
|
|
2831
|
+
},
|
|
2832
|
+
"default": "false",
|
|
2833
|
+
"fieldName": "hideMenuSingleOption"
|
|
2775
2834
|
}
|
|
2776
2835
|
],
|
|
2777
2836
|
"superclass": {
|
|
2778
2837
|
"name": "FoundationElement",
|
|
2779
2838
|
"package": "@microsoft/fast-foundation"
|
|
2780
2839
|
},
|
|
2781
|
-
"tagName": "%%prefix%%-
|
|
2840
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2782
2841
|
"customElement": true
|
|
2783
2842
|
},
|
|
2784
2843
|
{
|
|
2785
2844
|
"kind": "variable",
|
|
2786
|
-
"name": "
|
|
2787
|
-
"
|
|
2788
|
-
|
|
2789
|
-
},
|
|
2790
|
-
"default": "undefined"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"kind": "variable",
|
|
2794
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "object"
|
|
2797
|
-
},
|
|
2798
|
-
"default": "{}"
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"kind": "variable",
|
|
2802
|
-
"name": "foundationAiCriteriaSearch"
|
|
2845
|
+
"name": "foundationActionsMenu",
|
|
2846
|
+
"description": "The Foundation Actions Menu",
|
|
2847
|
+
"privacy": "public"
|
|
2803
2848
|
}
|
|
2804
2849
|
],
|
|
2805
2850
|
"exports": [
|
|
2806
2851
|
{
|
|
2807
2852
|
"kind": "js",
|
|
2808
|
-
"name": "
|
|
2809
|
-
"declaration": {
|
|
2810
|
-
"name": "AiCriteriaSearch",
|
|
2811
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "js",
|
|
2816
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2817
|
-
"declaration": {
|
|
2818
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2853
|
+
"name": "ActionsMenu",
|
|
2825
2854
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/
|
|
2855
|
+
"name": "ActionsMenu",
|
|
2856
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2828
2857
|
}
|
|
2829
2858
|
},
|
|
2830
2859
|
{
|
|
2831
2860
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2861
|
+
"name": "foundationActionsMenu",
|
|
2833
2862
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationActionsMenu",
|
|
2864
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2836
2865
|
}
|
|
2837
2866
|
}
|
|
2838
2867
|
]
|
|
2839
2868
|
},
|
|
2840
2869
|
{
|
|
2841
2870
|
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/
|
|
2871
|
+
"path": "src/actions-menu/index.ts",
|
|
2843
2872
|
"declarations": [],
|
|
2844
2873
|
"exports": [
|
|
2845
|
-
{
|
|
2846
|
-
"kind": "js",
|
|
2847
|
-
"name": "AiCriteriaSearch",
|
|
2848
|
-
"declaration": {
|
|
2849
|
-
"name": "AiCriteriaSearch",
|
|
2850
|
-
"module": "./ai-criteria-search"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "foundationAiCriteriaSearch",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "foundationAiCriteriaSearch",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2872
|
-
"declaration": {
|
|
2873
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2874
|
-
"module": "./ai-criteria-search"
|
|
2875
|
-
}
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2882
|
-
"module": "./ai-criteria-search.styles"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "js",
|
|
2887
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2888
|
-
"declaration": {
|
|
2889
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2890
|
-
"module": "./ai-criteria-search.template"
|
|
2891
|
-
}
|
|
2892
|
-
},
|
|
2893
2874
|
{
|
|
2894
2875
|
"kind": "js",
|
|
2895
2876
|
"name": "*",
|
|
2896
2877
|
"declaration": {
|
|
2897
2878
|
"name": "*",
|
|
2898
|
-
"package": "./
|
|
2879
|
+
"package": "./actions-menu.styles"
|
|
2899
2880
|
}
|
|
2900
2881
|
},
|
|
2901
2882
|
{
|
|
@@ -2903,7 +2884,7 @@
|
|
|
2903
2884
|
"name": "*",
|
|
2904
2885
|
"declaration": {
|
|
2905
2886
|
"name": "*",
|
|
2906
|
-
"package": "./
|
|
2887
|
+
"package": "./actions-menu.template"
|
|
2907
2888
|
}
|
|
2908
2889
|
},
|
|
2909
2890
|
{
|
|
@@ -2911,357 +2892,215 @@
|
|
|
2911
2892
|
"name": "*",
|
|
2912
2893
|
"declaration": {
|
|
2913
2894
|
"name": "*",
|
|
2914
|
-
"package": "./
|
|
2915
|
-
}
|
|
2916
|
-
}
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2922
|
-
"declarations": [
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "function",
|
|
2925
|
-
"name": "formatValidationErrors",
|
|
2926
|
-
"return": {
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string"
|
|
2929
|
-
}
|
|
2930
|
-
},
|
|
2931
|
-
"parameters": [
|
|
2932
|
-
{
|
|
2933
|
-
"name": "errors",
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "ValidationError[]"
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
],
|
|
2939
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "function",
|
|
2943
|
-
"name": "showCriteriaError",
|
|
2944
|
-
"return": {
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "void"
|
|
2947
|
-
}
|
|
2948
|
-
},
|
|
2949
|
-
"parameters": [
|
|
2950
|
-
{
|
|
2951
|
-
"name": "title",
|
|
2952
|
-
"type": {
|
|
2953
|
-
"text": "string"
|
|
2954
|
-
},
|
|
2955
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "body",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Error message to display"
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "tagName",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "string"
|
|
2968
|
-
},
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "js",
|
|
2978
|
-
"name": "formatValidationErrors",
|
|
2979
|
-
"declaration": {
|
|
2980
|
-
"name": "formatValidationErrors",
|
|
2981
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "js",
|
|
2986
|
-
"name": "showCriteriaError",
|
|
2987
|
-
"declaration": {
|
|
2988
|
-
"name": "showCriteriaError",
|
|
2989
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2895
|
+
"package": "./actions-menu"
|
|
2990
2896
|
}
|
|
2991
2897
|
}
|
|
2992
2898
|
]
|
|
2993
2899
|
},
|
|
2994
2900
|
{
|
|
2995
2901
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/
|
|
2902
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2997
2903
|
"declarations": [
|
|
2998
2904
|
{
|
|
2999
|
-
"kind": "
|
|
3000
|
-
"name": "
|
|
3001
|
-
"
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
"parameters": [
|
|
3007
|
-
{
|
|
3008
|
-
"name": "context",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "ElementDefinitionContext"
|
|
3011
|
-
}
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "definition",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "FoundationElementDefinition"
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
]
|
|
2905
|
+
"kind": "variable",
|
|
2906
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2907
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3020
2908
|
}
|
|
3021
2909
|
],
|
|
3022
2910
|
"exports": [
|
|
3023
2911
|
{
|
|
3024
2912
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2913
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3026
2914
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3029
2917
|
}
|
|
3030
2918
|
}
|
|
3031
2919
|
]
|
|
3032
2920
|
},
|
|
3033
2921
|
{
|
|
3034
2922
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/
|
|
2923
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3036
2924
|
"declarations": [
|
|
3037
2925
|
{
|
|
3038
|
-
"kind": "
|
|
3039
|
-
"name": "
|
|
3040
|
-
"
|
|
3041
|
-
"
|
|
3042
|
-
"text": "ViewTemplate<Accordion>"
|
|
3043
|
-
}
|
|
2926
|
+
"kind": "variable",
|
|
2927
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3044
2930
|
},
|
|
3045
|
-
"
|
|
3046
|
-
{
|
|
3047
|
-
"name": "context",
|
|
3048
|
-
"type": {
|
|
3049
|
-
"text": "ElementDefinitionContext"
|
|
3050
|
-
}
|
|
3051
|
-
},
|
|
3052
|
-
{
|
|
3053
|
-
"name": "definition",
|
|
3054
|
-
"type": {
|
|
3055
|
-
"text": "FoundationElementDefinition"
|
|
3056
|
-
}
|
|
3057
|
-
}
|
|
3058
|
-
]
|
|
2931
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3059
2932
|
}
|
|
3060
2933
|
],
|
|
3061
2934
|
"exports": [
|
|
3062
2935
|
{
|
|
3063
2936
|
"kind": "js",
|
|
3064
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3065
2938
|
"declaration": {
|
|
3066
|
-
"name": "
|
|
3067
|
-
"module": "src/
|
|
2939
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3068
2941
|
}
|
|
3069
2942
|
}
|
|
3070
2943
|
]
|
|
3071
2944
|
},
|
|
3072
2945
|
{
|
|
3073
2946
|
"kind": "javascript-module",
|
|
3074
|
-
"path": "src/
|
|
2947
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3075
2948
|
"declarations": [
|
|
3076
2949
|
{
|
|
3077
2950
|
"kind": "class",
|
|
3078
|
-
"description": "",
|
|
3079
|
-
"name": "
|
|
3080
|
-
"
|
|
3081
|
-
"name": "FASTAccordion",
|
|
3082
|
-
"package": "@microsoft/fast-foundation"
|
|
3083
|
-
},
|
|
3084
|
-
"tagName": "%%prefix%%-accordion",
|
|
3085
|
-
"customElement": true,
|
|
3086
|
-
"attributes": [
|
|
2951
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2952
|
+
"name": "AiCriteriaSearch",
|
|
2953
|
+
"members": [
|
|
3087
2954
|
{
|
|
3088
|
-
"
|
|
2955
|
+
"kind": "field",
|
|
2956
|
+
"name": "providerRegistry",
|
|
3089
2957
|
"type": {
|
|
3090
|
-
"text": "
|
|
3091
|
-
},
|
|
3092
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3093
|
-
"fieldName": "expandmode",
|
|
3094
|
-
"inheritedFrom": {
|
|
3095
|
-
"name": "Accordion",
|
|
3096
|
-
"module": "src/accordion/accordion.ts"
|
|
2958
|
+
"text": "AIProviderRegistry"
|
|
3097
2959
|
}
|
|
3098
|
-
}
|
|
3099
|
-
],
|
|
3100
|
-
"members": [
|
|
2960
|
+
},
|
|
3101
2961
|
{
|
|
3102
2962
|
"kind": "field",
|
|
3103
|
-
"name": "
|
|
2963
|
+
"name": "placeholder",
|
|
3104
2964
|
"type": {
|
|
3105
|
-
"text": "
|
|
2965
|
+
"text": "string"
|
|
3106
2966
|
},
|
|
3107
|
-
"
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
2967
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"kind": "field",
|
|
2971
|
+
"name": "disabled",
|
|
2972
|
+
"type": {
|
|
2973
|
+
"text": "boolean"
|
|
3112
2974
|
}
|
|
3113
2975
|
},
|
|
3114
2976
|
{
|
|
3115
2977
|
"kind": "field",
|
|
3116
|
-
"name": "
|
|
2978
|
+
"name": "inputValue",
|
|
3117
2979
|
"type": {
|
|
3118
|
-
"text": "string
|
|
2980
|
+
"text": "string"
|
|
3119
2981
|
},
|
|
3120
|
-
"
|
|
3121
|
-
"inheritedFrom": {
|
|
3122
|
-
"name": "Accordion",
|
|
3123
|
-
"module": "src/accordion/accordion.ts"
|
|
3124
|
-
}
|
|
2982
|
+
"default": "''"
|
|
3125
2983
|
},
|
|
3126
2984
|
{
|
|
3127
2985
|
"kind": "field",
|
|
3128
|
-
"name": "
|
|
2986
|
+
"name": "isInterpreting",
|
|
3129
2987
|
"type": {
|
|
3130
|
-
"text": "
|
|
2988
|
+
"text": "boolean"
|
|
3131
2989
|
},
|
|
3132
|
-
"
|
|
3133
|
-
"default": "0",
|
|
3134
|
-
"inheritedFrom": {
|
|
3135
|
-
"name": "Accordion",
|
|
3136
|
-
"module": "src/accordion/accordion.ts"
|
|
3137
|
-
}
|
|
2990
|
+
"default": "false"
|
|
3138
2991
|
},
|
|
3139
2992
|
{
|
|
3140
2993
|
"kind": "field",
|
|
3141
|
-
"name": "
|
|
2994
|
+
"name": "lastValidCriteria",
|
|
3142
2995
|
"type": {
|
|
3143
|
-
"text": "
|
|
2996
|
+
"text": "string | null"
|
|
3144
2997
|
},
|
|
3145
|
-
"
|
|
3146
|
-
"inheritedFrom": {
|
|
3147
|
-
"name": "Accordion",
|
|
3148
|
-
"module": "src/accordion/accordion.ts"
|
|
3149
|
-
}
|
|
2998
|
+
"default": "null"
|
|
3150
2999
|
},
|
|
3151
3000
|
{
|
|
3152
3001
|
"kind": "field",
|
|
3153
|
-
"name": "
|
|
3154
|
-
"
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
}
|
|
3002
|
+
"name": "activeGroups",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaGroup[]"
|
|
3005
|
+
},
|
|
3006
|
+
"default": "[]"
|
|
3159
3007
|
},
|
|
3160
3008
|
{
|
|
3161
|
-
"kind": "
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3164
|
-
|
|
3165
|
-
"type": {
|
|
3166
|
-
"text": "AccordionItem | null"
|
|
3167
|
-
}
|
|
3009
|
+
"kind": "field",
|
|
3010
|
+
"name": "showingChips",
|
|
3011
|
+
"type": {
|
|
3012
|
+
"text": "boolean"
|
|
3168
3013
|
},
|
|
3169
|
-
"
|
|
3170
|
-
"name": "Accordion",
|
|
3171
|
-
"module": "src/accordion/accordion.ts"
|
|
3172
|
-
}
|
|
3014
|
+
"default": "false"
|
|
3173
3015
|
},
|
|
3174
3016
|
{
|
|
3175
3017
|
"kind": "field",
|
|
3176
|
-
"name": "
|
|
3177
|
-
"
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
}
|
|
3018
|
+
"name": "fieldMetadata",
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "MetadataDetail[] | string[]"
|
|
3021
|
+
},
|
|
3022
|
+
"default": "[]"
|
|
3182
3023
|
},
|
|
3183
3024
|
{
|
|
3184
|
-
"kind": "
|
|
3185
|
-
"name": "
|
|
3186
|
-
"
|
|
3187
|
-
|
|
3188
|
-
"type": {
|
|
3189
|
-
"text": "void"
|
|
3190
|
-
}
|
|
3025
|
+
"kind": "field",
|
|
3026
|
+
"name": "isRecording",
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "boolean"
|
|
3191
3029
|
},
|
|
3192
|
-
"
|
|
3193
|
-
"name": "Accordion",
|
|
3194
|
-
"module": "src/accordion/accordion.ts"
|
|
3195
|
-
}
|
|
3030
|
+
"default": "false"
|
|
3196
3031
|
},
|
|
3197
3032
|
{
|
|
3198
3033
|
"kind": "field",
|
|
3199
|
-
"name": "
|
|
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
|
+
},
|
|
3200
3046
|
"privacy": "private",
|
|
3201
|
-
"
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3204
|
-
}
|
|
3047
|
+
"default": "null"
|
|
3205
3048
|
},
|
|
3206
3049
|
{
|
|
3207
3050
|
"kind": "field",
|
|
3208
|
-
"name": "
|
|
3051
|
+
"name": "speechApplyDebounceTimer",
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3054
|
+
},
|
|
3209
3055
|
"privacy": "private",
|
|
3210
|
-
"
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
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
|
|
3214
3073
|
},
|
|
3215
3074
|
{
|
|
3216
3075
|
"kind": "method",
|
|
3217
|
-
"name": "
|
|
3076
|
+
"name": "getFieldLabel",
|
|
3218
3077
|
"privacy": "private",
|
|
3219
3078
|
"return": {
|
|
3220
3079
|
"type": {
|
|
3221
|
-
"text": "
|
|
3080
|
+
"text": "string"
|
|
3222
3081
|
}
|
|
3223
3082
|
},
|
|
3224
|
-
"
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3083
|
+
"parameters": [
|
|
3084
|
+
{
|
|
3085
|
+
"name": "fieldName",
|
|
3086
|
+
"type": {
|
|
3087
|
+
"text": "string"
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
]
|
|
3228
3091
|
},
|
|
3229
3092
|
{
|
|
3230
3093
|
"kind": "method",
|
|
3231
|
-
"name": "
|
|
3232
|
-
"privacy": "private",
|
|
3094
|
+
"name": "toggleCriteriaView",
|
|
3233
3095
|
"return": {
|
|
3234
3096
|
"type": {
|
|
3235
|
-
"text": "
|
|
3097
|
+
"text": "void"
|
|
3236
3098
|
}
|
|
3237
|
-
},
|
|
3238
|
-
"inheritedFrom": {
|
|
3239
|
-
"name": "Accordion",
|
|
3240
|
-
"module": "src/accordion/accordion.ts"
|
|
3241
|
-
}
|
|
3242
|
-
},
|
|
3243
|
-
{
|
|
3244
|
-
"kind": "field",
|
|
3245
|
-
"name": "handleItemKeyDown",
|
|
3246
|
-
"privacy": "private",
|
|
3247
|
-
"inheritedFrom": {
|
|
3248
|
-
"name": "Accordion",
|
|
3249
|
-
"module": "src/accordion/accordion.ts"
|
|
3250
|
-
}
|
|
3251
|
-
},
|
|
3252
|
-
{
|
|
3253
|
-
"kind": "field",
|
|
3254
|
-
"name": "handleItemFocus",
|
|
3255
|
-
"privacy": "private",
|
|
3256
|
-
"inheritedFrom": {
|
|
3257
|
-
"name": "Accordion",
|
|
3258
|
-
"module": "src/accordion/accordion.ts"
|
|
3259
3099
|
}
|
|
3260
3100
|
},
|
|
3261
3101
|
{
|
|
3262
3102
|
"kind": "method",
|
|
3263
|
-
"name": "
|
|
3264
|
-
"privacy": "private",
|
|
3103
|
+
"name": "removeChip",
|
|
3265
3104
|
"return": {
|
|
3266
3105
|
"type": {
|
|
3267
3106
|
"text": "void"
|
|
@@ -3269,31 +3108,49 @@
|
|
|
3269
3108
|
},
|
|
3270
3109
|
"parameters": [
|
|
3271
3110
|
{
|
|
3272
|
-
"name": "
|
|
3111
|
+
"name": "groupIndex",
|
|
3112
|
+
"type": {
|
|
3113
|
+
"text": "number"
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "clauseIndex",
|
|
3273
3118
|
"type": {
|
|
3274
3119
|
"text": "number"
|
|
3275
3120
|
}
|
|
3276
3121
|
}
|
|
3277
|
-
]
|
|
3278
|
-
"inheritedFrom": {
|
|
3279
|
-
"name": "Accordion",
|
|
3280
|
-
"module": "src/accordion/accordion.ts"
|
|
3281
|
-
}
|
|
3122
|
+
]
|
|
3282
3123
|
},
|
|
3283
3124
|
{
|
|
3284
3125
|
"kind": "method",
|
|
3285
|
-
"name": "
|
|
3286
|
-
"privacy": "private",
|
|
3126
|
+
"name": "clearChips",
|
|
3287
3127
|
"return": {
|
|
3288
3128
|
"type": {
|
|
3289
3129
|
"text": "void"
|
|
3290
3130
|
}
|
|
3291
|
-
},
|
|
3292
|
-
"inheritedFrom": {
|
|
3293
|
-
"name": "Accordion",
|
|
3294
|
-
"module": "src/accordion/accordion.ts"
|
|
3295
3131
|
}
|
|
3296
3132
|
},
|
|
3133
|
+
{
|
|
3134
|
+
"kind": "method",
|
|
3135
|
+
"name": "handleSubmit"
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
"kind": "method",
|
|
3139
|
+
"name": "handleBlur"
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"kind": "method",
|
|
3143
|
+
"name": "clear"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "method",
|
|
3147
|
+
"name": "toggleSpeechInput"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "method",
|
|
3151
|
+
"name": "clearSpeechApplyDebounce",
|
|
3152
|
+
"privacy": "private"
|
|
3153
|
+
},
|
|
3297
3154
|
{
|
|
3298
3155
|
"kind": "field",
|
|
3299
3156
|
"name": "_presentation",
|
|
@@ -3408,26 +3265,48 @@
|
|
|
3408
3265
|
],
|
|
3409
3266
|
"events": [
|
|
3410
3267
|
{
|
|
3411
|
-
"description": "
|
|
3412
|
-
"name": "
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3268
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3269
|
+
"name": "criteria-changed"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
+
"name": "validation-errors"
|
|
3417
3274
|
}
|
|
3418
|
-
]
|
|
3275
|
+
],
|
|
3276
|
+
"attributes": [
|
|
3277
|
+
{
|
|
3278
|
+
"name": "placeholder",
|
|
3279
|
+
"type": {
|
|
3280
|
+
"text": "string"
|
|
3281
|
+
},
|
|
3282
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
+
"fieldName": "placeholder"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "boolean"
|
|
3288
|
+
},
|
|
3289
|
+
"fieldName": "disabled"
|
|
3290
|
+
}
|
|
3291
|
+
],
|
|
3292
|
+
"superclass": {
|
|
3293
|
+
"name": "FoundationElement",
|
|
3294
|
+
"package": "@microsoft/fast-foundation"
|
|
3295
|
+
},
|
|
3296
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3297
|
+
"customElement": true
|
|
3419
3298
|
},
|
|
3420
3299
|
{
|
|
3421
3300
|
"kind": "variable",
|
|
3422
|
-
"name": "
|
|
3301
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
3302
|
"type": {
|
|
3424
3303
|
"text": "ShadowRootInit"
|
|
3425
3304
|
},
|
|
3426
|
-
"default": "
|
|
3305
|
+
"default": "undefined"
|
|
3427
3306
|
},
|
|
3428
3307
|
{
|
|
3429
3308
|
"kind": "variable",
|
|
3430
|
-
"name": "
|
|
3309
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3431
3310
|
"type": {
|
|
3432
3311
|
"text": "object"
|
|
3433
3312
|
},
|
|
@@ -3435,57 +3314,103 @@
|
|
|
3435
3314
|
},
|
|
3436
3315
|
{
|
|
3437
3316
|
"kind": "variable",
|
|
3438
|
-
"name": "
|
|
3439
|
-
"description": "The Foundation Accordion",
|
|
3440
|
-
"privacy": "public"
|
|
3317
|
+
"name": "foundationAiCriteriaSearch"
|
|
3441
3318
|
}
|
|
3442
3319
|
],
|
|
3443
3320
|
"exports": [
|
|
3444
3321
|
{
|
|
3445
3322
|
"kind": "js",
|
|
3446
|
-
"name": "
|
|
3323
|
+
"name": "AiCriteriaSearch",
|
|
3447
3324
|
"declaration": {
|
|
3448
|
-
"name": "
|
|
3449
|
-
"module": "src/
|
|
3325
|
+
"name": "AiCriteriaSearch",
|
|
3326
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3450
3327
|
}
|
|
3451
3328
|
},
|
|
3452
3329
|
{
|
|
3453
3330
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3331
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3455
3332
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"module": "src/
|
|
3333
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3458
3335
|
}
|
|
3459
3336
|
},
|
|
3460
3337
|
{
|
|
3461
3338
|
"kind": "js",
|
|
3462
|
-
"name": "
|
|
3339
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3463
3340
|
"declaration": {
|
|
3464
|
-
"name": "
|
|
3465
|
-
"module": "src/
|
|
3341
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3466
3343
|
}
|
|
3467
3344
|
},
|
|
3468
3345
|
{
|
|
3469
3346
|
"kind": "js",
|
|
3470
|
-
"name": "
|
|
3347
|
+
"name": "foundationAiCriteriaSearch",
|
|
3471
3348
|
"declaration": {
|
|
3472
|
-
"name": "
|
|
3473
|
-
"module": "src/
|
|
3349
|
+
"name": "foundationAiCriteriaSearch",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3474
3351
|
}
|
|
3475
3352
|
}
|
|
3476
3353
|
]
|
|
3477
3354
|
},
|
|
3478
3355
|
{
|
|
3479
3356
|
"kind": "javascript-module",
|
|
3480
|
-
"path": "src/
|
|
3357
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3481
3358
|
"declarations": [],
|
|
3482
3359
|
"exports": [
|
|
3360
|
+
{
|
|
3361
|
+
"kind": "js",
|
|
3362
|
+
"name": "AiCriteriaSearch",
|
|
3363
|
+
"declaration": {
|
|
3364
|
+
"name": "AiCriteriaSearch",
|
|
3365
|
+
"module": "./ai-criteria-search"
|
|
3366
|
+
}
|
|
3367
|
+
},
|
|
3368
|
+
{
|
|
3369
|
+
"kind": "js",
|
|
3370
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
+
"declaration": {
|
|
3372
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
+
"module": "./ai-criteria-search"
|
|
3374
|
+
}
|
|
3375
|
+
},
|
|
3376
|
+
{
|
|
3377
|
+
"kind": "js",
|
|
3378
|
+
"name": "foundationAiCriteriaSearch",
|
|
3379
|
+
"declaration": {
|
|
3380
|
+
"name": "foundationAiCriteriaSearch",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
"kind": "js",
|
|
3386
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3387
|
+
"declaration": {
|
|
3388
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"kind": "js",
|
|
3394
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3395
|
+
"declaration": {
|
|
3396
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3397
|
+
"module": "./ai-criteria-search.styles"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "js",
|
|
3402
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3403
|
+
"declaration": {
|
|
3404
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3405
|
+
"module": "./ai-criteria-search.template"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3483
3408
|
{
|
|
3484
3409
|
"kind": "js",
|
|
3485
3410
|
"name": "*",
|
|
3486
3411
|
"declaration": {
|
|
3487
3412
|
"name": "*",
|
|
3488
|
-
"package": "./
|
|
3413
|
+
"package": "./validation/criteria-ir"
|
|
3489
3414
|
}
|
|
3490
3415
|
},
|
|
3491
3416
|
{
|
|
@@ -3493,7 +3418,7 @@
|
|
|
3493
3418
|
"name": "*",
|
|
3494
3419
|
"declaration": {
|
|
3495
3420
|
"name": "*",
|
|
3496
|
-
"package": "./
|
|
3421
|
+
"package": "./validation/operator-map"
|
|
3497
3422
|
}
|
|
3498
3423
|
},
|
|
3499
3424
|
{
|
|
@@ -3501,7 +3426,82 @@
|
|
|
3501
3426
|
"name": "*",
|
|
3502
3427
|
"declaration": {
|
|
3503
3428
|
"name": "*",
|
|
3504
|
-
"package": "./
|
|
3429
|
+
"package": "./validation/schema-validator"
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
]
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"kind": "javascript-module",
|
|
3436
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3437
|
+
"declarations": [
|
|
3438
|
+
{
|
|
3439
|
+
"kind": "function",
|
|
3440
|
+
"name": "formatValidationErrors",
|
|
3441
|
+
"return": {
|
|
3442
|
+
"type": {
|
|
3443
|
+
"text": "string"
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
"parameters": [
|
|
3447
|
+
{
|
|
3448
|
+
"name": "errors",
|
|
3449
|
+
"type": {
|
|
3450
|
+
"text": "ValidationError[]"
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
],
|
|
3454
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3455
|
+
},
|
|
3456
|
+
{
|
|
3457
|
+
"kind": "function",
|
|
3458
|
+
"name": "showCriteriaError",
|
|
3459
|
+
"return": {
|
|
3460
|
+
"type": {
|
|
3461
|
+
"text": "void"
|
|
3462
|
+
}
|
|
3463
|
+
},
|
|
3464
|
+
"parameters": [
|
|
3465
|
+
{
|
|
3466
|
+
"name": "title",
|
|
3467
|
+
"type": {
|
|
3468
|
+
"text": "string"
|
|
3469
|
+
},
|
|
3470
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"name": "body",
|
|
3474
|
+
"type": {
|
|
3475
|
+
"text": "string"
|
|
3476
|
+
},
|
|
3477
|
+
"description": "Error message to display"
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "tagName",
|
|
3481
|
+
"type": {
|
|
3482
|
+
"text": "string"
|
|
3483
|
+
},
|
|
3484
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3485
|
+
}
|
|
3486
|
+
],
|
|
3487
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
"exports": [
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "js",
|
|
3493
|
+
"name": "formatValidationErrors",
|
|
3494
|
+
"declaration": {
|
|
3495
|
+
"name": "formatValidationErrors",
|
|
3496
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "showCriteriaError",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "showCriteriaError",
|
|
3504
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3505
3505
|
}
|
|
3506
3506
|
}
|
|
3507
3507
|
]
|
|
@@ -14945,10 +14945,7 @@
|
|
|
14945
14945
|
{
|
|
14946
14946
|
"kind": "field",
|
|
14947
14947
|
"name": "format",
|
|
14948
|
-
"
|
|
14949
|
-
"text": "string"
|
|
14950
|
-
},
|
|
14951
|
-
"default": "'MM-DD-YYYY'",
|
|
14948
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
14952
14949
|
"attribute": "format"
|
|
14953
14950
|
},
|
|
14954
14951
|
{
|
|
@@ -14977,6 +14974,37 @@
|
|
|
14977
14974
|
},
|
|
14978
14975
|
"default": "'en-US'"
|
|
14979
14976
|
},
|
|
14977
|
+
{
|
|
14978
|
+
"kind": "method",
|
|
14979
|
+
"name": "langChanged"
|
|
14980
|
+
},
|
|
14981
|
+
{
|
|
14982
|
+
"kind": "field",
|
|
14983
|
+
"name": "useLocaleFormat",
|
|
14984
|
+
"type": {
|
|
14985
|
+
"text": "boolean"
|
|
14986
|
+
},
|
|
14987
|
+
"default": "false",
|
|
14988
|
+
"attribute": "use-locale-format"
|
|
14989
|
+
},
|
|
14990
|
+
{
|
|
14991
|
+
"kind": "method",
|
|
14992
|
+
"name": "useLocaleFormatChanged",
|
|
14993
|
+
"parameters": [
|
|
14994
|
+
{
|
|
14995
|
+
"name": "oldValue",
|
|
14996
|
+
"type": {
|
|
14997
|
+
"text": "boolean"
|
|
14998
|
+
}
|
|
14999
|
+
},
|
|
15000
|
+
{
|
|
15001
|
+
"name": "newValue",
|
|
15002
|
+
"type": {
|
|
15003
|
+
"text": "boolean"
|
|
15004
|
+
}
|
|
15005
|
+
}
|
|
15006
|
+
]
|
|
15007
|
+
},
|
|
14980
15008
|
{
|
|
14981
15009
|
"kind": "field",
|
|
14982
15010
|
"name": "visible",
|
|
@@ -15028,6 +15056,23 @@
|
|
|
15028
15056
|
},
|
|
15029
15057
|
"attribute": "label"
|
|
15030
15058
|
},
|
|
15059
|
+
{
|
|
15060
|
+
"kind": "field",
|
|
15061
|
+
"name": "allowEmpty",
|
|
15062
|
+
"type": {
|
|
15063
|
+
"text": "boolean"
|
|
15064
|
+
},
|
|
15065
|
+
"default": "false",
|
|
15066
|
+
"attribute": "allow-empty"
|
|
15067
|
+
},
|
|
15068
|
+
{
|
|
15069
|
+
"kind": "field",
|
|
15070
|
+
"name": "placeholder",
|
|
15071
|
+
"type": {
|
|
15072
|
+
"text": "string"
|
|
15073
|
+
},
|
|
15074
|
+
"attribute": "placeholder"
|
|
15075
|
+
},
|
|
15031
15076
|
{
|
|
15032
15077
|
"kind": "field",
|
|
15033
15078
|
"name": "value",
|
|
@@ -15077,6 +15122,172 @@
|
|
|
15077
15122
|
"text": "number"
|
|
15078
15123
|
}
|
|
15079
15124
|
},
|
|
15125
|
+
{
|
|
15126
|
+
"kind": "field",
|
|
15127
|
+
"name": "suppressValueChanged",
|
|
15128
|
+
"type": {
|
|
15129
|
+
"text": "boolean"
|
|
15130
|
+
},
|
|
15131
|
+
"privacy": "private",
|
|
15132
|
+
"default": "false"
|
|
15133
|
+
},
|
|
15134
|
+
{
|
|
15135
|
+
"kind": "field",
|
|
15136
|
+
"name": "cachedFormat",
|
|
15137
|
+
"privacy": "private",
|
|
15138
|
+
"default": "DATE_PICKER_VALUE_FORMAT"
|
|
15139
|
+
},
|
|
15140
|
+
{
|
|
15141
|
+
"kind": "method",
|
|
15142
|
+
"name": "clear",
|
|
15143
|
+
"privacy": "public",
|
|
15144
|
+
"return": {
|
|
15145
|
+
"type": {
|
|
15146
|
+
"text": "void"
|
|
15147
|
+
}
|
|
15148
|
+
},
|
|
15149
|
+
"description": "Clears the selected date (only when `allow-empty` is enabled)."
|
|
15150
|
+
},
|
|
15151
|
+
{
|
|
15152
|
+
"kind": "method",
|
|
15153
|
+
"name": "applyLocaleFormat",
|
|
15154
|
+
"privacy": "private",
|
|
15155
|
+
"return": {
|
|
15156
|
+
"type": {
|
|
15157
|
+
"text": "void"
|
|
15158
|
+
}
|
|
15159
|
+
}
|
|
15160
|
+
},
|
|
15161
|
+
{
|
|
15162
|
+
"kind": "method",
|
|
15163
|
+
"name": "cacheUserFormat",
|
|
15164
|
+
"privacy": "private",
|
|
15165
|
+
"return": {
|
|
15166
|
+
"type": {
|
|
15167
|
+
"text": "void"
|
|
15168
|
+
}
|
|
15169
|
+
},
|
|
15170
|
+
"parameters": [
|
|
15171
|
+
{
|
|
15172
|
+
"name": "format",
|
|
15173
|
+
"type": {
|
|
15174
|
+
"text": "string"
|
|
15175
|
+
}
|
|
15176
|
+
}
|
|
15177
|
+
]
|
|
15178
|
+
},
|
|
15179
|
+
{
|
|
15180
|
+
"kind": "method",
|
|
15181
|
+
"name": "restoreUserFormat",
|
|
15182
|
+
"privacy": "private",
|
|
15183
|
+
"return": {
|
|
15184
|
+
"type": {
|
|
15185
|
+
"text": "void"
|
|
15186
|
+
}
|
|
15187
|
+
}
|
|
15188
|
+
},
|
|
15189
|
+
{
|
|
15190
|
+
"kind": "method",
|
|
15191
|
+
"name": "applyEffectiveLangChange",
|
|
15192
|
+
"privacy": "private",
|
|
15193
|
+
"return": {
|
|
15194
|
+
"type": {
|
|
15195
|
+
"text": "void"
|
|
15196
|
+
}
|
|
15197
|
+
}
|
|
15198
|
+
},
|
|
15199
|
+
{
|
|
15200
|
+
"kind": "method",
|
|
15201
|
+
"name": "syncValueAttribute",
|
|
15202
|
+
"privacy": "private",
|
|
15203
|
+
"return": {
|
|
15204
|
+
"type": {
|
|
15205
|
+
"text": "void"
|
|
15206
|
+
}
|
|
15207
|
+
},
|
|
15208
|
+
"parameters": [
|
|
15209
|
+
{
|
|
15210
|
+
"name": "value",
|
|
15211
|
+
"type": {
|
|
15212
|
+
"text": "string"
|
|
15213
|
+
}
|
|
15214
|
+
}
|
|
15215
|
+
]
|
|
15216
|
+
},
|
|
15217
|
+
{
|
|
15218
|
+
"kind": "method",
|
|
15219
|
+
"name": "initializeEmpty",
|
|
15220
|
+
"privacy": "private",
|
|
15221
|
+
"return": {
|
|
15222
|
+
"type": {
|
|
15223
|
+
"text": "void"
|
|
15224
|
+
}
|
|
15225
|
+
}
|
|
15226
|
+
},
|
|
15227
|
+
{
|
|
15228
|
+
"kind": "method",
|
|
15229
|
+
"name": "initializeWithDefaultDate",
|
|
15230
|
+
"privacy": "private",
|
|
15231
|
+
"return": {
|
|
15232
|
+
"type": {
|
|
15233
|
+
"text": "void"
|
|
15234
|
+
}
|
|
15235
|
+
}
|
|
15236
|
+
},
|
|
15237
|
+
{
|
|
15238
|
+
"kind": "method",
|
|
15239
|
+
"name": "resetToDefaultDate",
|
|
15240
|
+
"privacy": "private",
|
|
15241
|
+
"return": {
|
|
15242
|
+
"type": {
|
|
15243
|
+
"text": "void"
|
|
15244
|
+
}
|
|
15245
|
+
},
|
|
15246
|
+
"parameters": [
|
|
15247
|
+
{
|
|
15248
|
+
"name": "createCalendar",
|
|
15249
|
+
"default": "false"
|
|
15250
|
+
}
|
|
15251
|
+
]
|
|
15252
|
+
},
|
|
15253
|
+
{
|
|
15254
|
+
"kind": "method",
|
|
15255
|
+
"name": "applyValue",
|
|
15256
|
+
"privacy": "private",
|
|
15257
|
+
"return": {
|
|
15258
|
+
"type": {
|
|
15259
|
+
"text": "void"
|
|
15260
|
+
}
|
|
15261
|
+
},
|
|
15262
|
+
"parameters": [
|
|
15263
|
+
{
|
|
15264
|
+
"name": "dateString",
|
|
15265
|
+
"type": {
|
|
15266
|
+
"text": "string"
|
|
15267
|
+
}
|
|
15268
|
+
}
|
|
15269
|
+
]
|
|
15270
|
+
},
|
|
15271
|
+
{
|
|
15272
|
+
"kind": "method",
|
|
15273
|
+
"name": "clearToEmpty",
|
|
15274
|
+
"privacy": "private",
|
|
15275
|
+
"return": {
|
|
15276
|
+
"type": {
|
|
15277
|
+
"text": "void"
|
|
15278
|
+
}
|
|
15279
|
+
},
|
|
15280
|
+
"parameters": [
|
|
15281
|
+
{
|
|
15282
|
+
"name": "emitEvent",
|
|
15283
|
+
"type": {
|
|
15284
|
+
"text": "boolean"
|
|
15285
|
+
},
|
|
15286
|
+
"description": "emit `value-changed` for user-driven clears (public `clear()`); skip for\nhost-driven attribute writes since the host is the source of the change."
|
|
15287
|
+
}
|
|
15288
|
+
],
|
|
15289
|
+
"description": "Resets to the empty/cleared view."
|
|
15290
|
+
},
|
|
15080
15291
|
{
|
|
15081
15292
|
"kind": "method",
|
|
15082
15293
|
"name": "updateHeaderText",
|
|
@@ -15086,6 +15297,86 @@
|
|
|
15086
15297
|
}
|
|
15087
15298
|
}
|
|
15088
15299
|
},
|
|
15300
|
+
{
|
|
15301
|
+
"kind": "method",
|
|
15302
|
+
"name": "visibleChanged",
|
|
15303
|
+
"privacy": "protected",
|
|
15304
|
+
"return": {
|
|
15305
|
+
"type": {
|
|
15306
|
+
"text": "void"
|
|
15307
|
+
}
|
|
15308
|
+
},
|
|
15309
|
+
"parameters": [
|
|
15310
|
+
{
|
|
15311
|
+
"name": "_prev",
|
|
15312
|
+
"type": {
|
|
15313
|
+
"text": "boolean"
|
|
15314
|
+
}
|
|
15315
|
+
},
|
|
15316
|
+
{
|
|
15317
|
+
"name": "next",
|
|
15318
|
+
"type": {
|
|
15319
|
+
"text": "boolean"
|
|
15320
|
+
}
|
|
15321
|
+
}
|
|
15322
|
+
]
|
|
15323
|
+
},
|
|
15324
|
+
{
|
|
15325
|
+
"kind": "field",
|
|
15326
|
+
"name": "clickOutside",
|
|
15327
|
+
"privacy": "private"
|
|
15328
|
+
},
|
|
15329
|
+
{
|
|
15330
|
+
"kind": "field",
|
|
15331
|
+
"name": "keydownOutside",
|
|
15332
|
+
"privacy": "private"
|
|
15333
|
+
},
|
|
15334
|
+
{
|
|
15335
|
+
"kind": "method",
|
|
15336
|
+
"name": "handleKeydownOutside",
|
|
15337
|
+
"privacy": "private",
|
|
15338
|
+
"return": {
|
|
15339
|
+
"type": {
|
|
15340
|
+
"text": "void"
|
|
15341
|
+
}
|
|
15342
|
+
},
|
|
15343
|
+
"parameters": [
|
|
15344
|
+
{
|
|
15345
|
+
"name": "event",
|
|
15346
|
+
"type": {
|
|
15347
|
+
"text": "KeyboardEvent"
|
|
15348
|
+
}
|
|
15349
|
+
}
|
|
15350
|
+
]
|
|
15351
|
+
},
|
|
15352
|
+
{
|
|
15353
|
+
"kind": "method",
|
|
15354
|
+
"name": "handleClickOutside",
|
|
15355
|
+
"privacy": "private",
|
|
15356
|
+
"return": {
|
|
15357
|
+
"type": {
|
|
15358
|
+
"text": "void"
|
|
15359
|
+
}
|
|
15360
|
+
},
|
|
15361
|
+
"parameters": [
|
|
15362
|
+
{
|
|
15363
|
+
"name": "event",
|
|
15364
|
+
"type": {
|
|
15365
|
+
"text": "MouseEvent"
|
|
15366
|
+
}
|
|
15367
|
+
}
|
|
15368
|
+
]
|
|
15369
|
+
},
|
|
15370
|
+
{
|
|
15371
|
+
"kind": "method",
|
|
15372
|
+
"name": "closeCalendar",
|
|
15373
|
+
"privacy": "private",
|
|
15374
|
+
"return": {
|
|
15375
|
+
"type": {
|
|
15376
|
+
"text": "void"
|
|
15377
|
+
}
|
|
15378
|
+
}
|
|
15379
|
+
},
|
|
15089
15380
|
{
|
|
15090
15381
|
"kind": "method",
|
|
15091
15382
|
"name": "toggleCalendar",
|
|
@@ -15289,13 +15580,22 @@
|
|
|
15289
15580
|
"attributes": [
|
|
15290
15581
|
{
|
|
15291
15582
|
"name": "format",
|
|
15292
|
-
"
|
|
15293
|
-
|
|
15583
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
15584
|
+
"resolveInitializer": {
|
|
15585
|
+
"module": "/src/date-picker/date-picker.util"
|
|
15294
15586
|
},
|
|
15295
|
-
"default": "'MM-DD-YYYY'",
|
|
15296
15587
|
"fieldName": "format",
|
|
15297
15588
|
"description": "date format that will be displayed."
|
|
15298
15589
|
},
|
|
15590
|
+
{
|
|
15591
|
+
"name": "use-locale-format",
|
|
15592
|
+
"type": {
|
|
15593
|
+
"text": "boolean"
|
|
15594
|
+
},
|
|
15595
|
+
"default": "false",
|
|
15596
|
+
"fieldName": "useLocaleFormat",
|
|
15597
|
+
"description": "when true, `format` is set from dayjs locale `L`. Uses the browser locale (`navigator.language`) unless `lang` is set on the element."
|
|
15598
|
+
},
|
|
15299
15599
|
{
|
|
15300
15600
|
"name": "inline-calendar",
|
|
15301
15601
|
"type": {
|
|
@@ -15331,6 +15631,23 @@
|
|
|
15331
15631
|
"fieldName": "label",
|
|
15332
15632
|
"description": "the label that will be displayed next to the date input text field"
|
|
15333
15633
|
},
|
|
15634
|
+
{
|
|
15635
|
+
"name": "allow-empty",
|
|
15636
|
+
"type": {
|
|
15637
|
+
"text": "boolean"
|
|
15638
|
+
},
|
|
15639
|
+
"default": "false",
|
|
15640
|
+
"fieldName": "allowEmpty",
|
|
15641
|
+
"description": "when true, no initial date is selected; the input shows a placeholder until the user picks a date."
|
|
15642
|
+
},
|
|
15643
|
+
{
|
|
15644
|
+
"name": "placeholder",
|
|
15645
|
+
"type": {
|
|
15646
|
+
"text": "string"
|
|
15647
|
+
},
|
|
15648
|
+
"fieldName": "placeholder",
|
|
15649
|
+
"description": "hint shown when allow-empty is set and no date is selected. Defaults from `format` (e.g. DD/MM/YYYY → dd/mm/yyyy)."
|
|
15650
|
+
},
|
|
15334
15651
|
{
|
|
15335
15652
|
"name": "value",
|
|
15336
15653
|
"type": {
|
|
@@ -15341,10 +15658,10 @@
|
|
|
15341
15658
|
},
|
|
15342
15659
|
{
|
|
15343
15660
|
"name": "format",
|
|
15344
|
-
"
|
|
15345
|
-
|
|
15661
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
15662
|
+
"resolveInitializer": {
|
|
15663
|
+
"module": "/src/date-picker/date-picker.util"
|
|
15346
15664
|
},
|
|
15347
|
-
"default": "'MM-DD-YYYY'",
|
|
15348
15665
|
"attribute": "format",
|
|
15349
15666
|
"fieldName": "format"
|
|
15350
15667
|
},
|
|
@@ -15356,6 +15673,15 @@
|
|
|
15356
15673
|
"default": "'en-US'",
|
|
15357
15674
|
"fieldName": "lang"
|
|
15358
15675
|
},
|
|
15676
|
+
{
|
|
15677
|
+
"name": "use-locale-format",
|
|
15678
|
+
"type": {
|
|
15679
|
+
"text": "boolean"
|
|
15680
|
+
},
|
|
15681
|
+
"default": "false",
|
|
15682
|
+
"attribute": "use-locale-format",
|
|
15683
|
+
"fieldName": "useLocaleFormat"
|
|
15684
|
+
},
|
|
15359
15685
|
{
|
|
15360
15686
|
"name": "visible",
|
|
15361
15687
|
"type": {
|
|
@@ -15399,6 +15725,23 @@
|
|
|
15399
15725
|
"attribute": "label",
|
|
15400
15726
|
"fieldName": "label"
|
|
15401
15727
|
},
|
|
15728
|
+
{
|
|
15729
|
+
"name": "allow-empty",
|
|
15730
|
+
"type": {
|
|
15731
|
+
"text": "boolean"
|
|
15732
|
+
},
|
|
15733
|
+
"default": "false",
|
|
15734
|
+
"attribute": "allow-empty",
|
|
15735
|
+
"fieldName": "allowEmpty"
|
|
15736
|
+
},
|
|
15737
|
+
{
|
|
15738
|
+
"name": "placeholder",
|
|
15739
|
+
"type": {
|
|
15740
|
+
"text": "string"
|
|
15741
|
+
},
|
|
15742
|
+
"attribute": "placeholder",
|
|
15743
|
+
"fieldName": "placeholder"
|
|
15744
|
+
},
|
|
15402
15745
|
{
|
|
15403
15746
|
"name": "value",
|
|
15404
15747
|
"type": {
|
|
@@ -15457,6 +15800,191 @@
|
|
|
15457
15800
|
}
|
|
15458
15801
|
]
|
|
15459
15802
|
},
|
|
15803
|
+
{
|
|
15804
|
+
"kind": "javascript-module",
|
|
15805
|
+
"path": "src/date-picker/date-picker.util.ts",
|
|
15806
|
+
"declarations": [
|
|
15807
|
+
{
|
|
15808
|
+
"kind": "function",
|
|
15809
|
+
"name": "resolveDayjsLocale",
|
|
15810
|
+
"return": {
|
|
15811
|
+
"type": {
|
|
15812
|
+
"text": "string"
|
|
15813
|
+
}
|
|
15814
|
+
},
|
|
15815
|
+
"parameters": [
|
|
15816
|
+
{
|
|
15817
|
+
"name": "lang",
|
|
15818
|
+
"type": {
|
|
15819
|
+
"text": "string"
|
|
15820
|
+
}
|
|
15821
|
+
}
|
|
15822
|
+
],
|
|
15823
|
+
"description": "Maps BCP-47 tags to dayjs locale ids (lowercase, e.g. `fr-FR` → `fr-fr`).\nEnglish variants map to dayjs bundles: `en-US` → `en`, `en-GB` → `en-gb`.",
|
|
15824
|
+
"privacy": "public"
|
|
15825
|
+
},
|
|
15826
|
+
{
|
|
15827
|
+
"kind": "function",
|
|
15828
|
+
"name": "getBrowserLocale",
|
|
15829
|
+
"return": {
|
|
15830
|
+
"type": {
|
|
15831
|
+
"text": "string"
|
|
15832
|
+
}
|
|
15833
|
+
},
|
|
15834
|
+
"description": "Browser BCP-47 locale (e.g. `en-GB`), or `en` when unavailable (SSR/tests).",
|
|
15835
|
+
"privacy": "public"
|
|
15836
|
+
},
|
|
15837
|
+
{
|
|
15838
|
+
"kind": "function",
|
|
15839
|
+
"name": "getDisplayFormatForLang",
|
|
15840
|
+
"return": {
|
|
15841
|
+
"type": {
|
|
15842
|
+
"text": "string"
|
|
15843
|
+
}
|
|
15844
|
+
},
|
|
15845
|
+
"parameters": [
|
|
15846
|
+
{
|
|
15847
|
+
"name": "lang",
|
|
15848
|
+
"default": "'en'",
|
|
15849
|
+
"type": {
|
|
15850
|
+
"text": "string"
|
|
15851
|
+
}
|
|
15852
|
+
}
|
|
15853
|
+
],
|
|
15854
|
+
"description": "Display format from dayjs locale `L` (e.g. en / en-US → MM/DD/YYYY, en-gb → DD/MM/YYYY).\nFalls back to `en` when the locale is not loaded in dayjs (import the matching `dayjs/locale/*` bundle).",
|
|
15855
|
+
"privacy": "public"
|
|
15856
|
+
},
|
|
15857
|
+
{
|
|
15858
|
+
"kind": "function",
|
|
15859
|
+
"name": "formatToPlaceholder",
|
|
15860
|
+
"return": {
|
|
15861
|
+
"type": {
|
|
15862
|
+
"text": "string"
|
|
15863
|
+
}
|
|
15864
|
+
},
|
|
15865
|
+
"parameters": [
|
|
15866
|
+
{
|
|
15867
|
+
"name": "format",
|
|
15868
|
+
"type": {
|
|
15869
|
+
"text": "string"
|
|
15870
|
+
}
|
|
15871
|
+
}
|
|
15872
|
+
],
|
|
15873
|
+
"description": "Maps a dayjs-style display format to a lowercase placeholder hint (e.g. DD/MM/YYYY → dd/mm/yyyy).",
|
|
15874
|
+
"privacy": "public"
|
|
15875
|
+
},
|
|
15876
|
+
{
|
|
15877
|
+
"kind": "function",
|
|
15878
|
+
"name": "hasDateValue",
|
|
15879
|
+
"return": {
|
|
15880
|
+
"type": {
|
|
15881
|
+
"text": "boolean"
|
|
15882
|
+
}
|
|
15883
|
+
},
|
|
15884
|
+
"parameters": [
|
|
15885
|
+
{
|
|
15886
|
+
"name": "value",
|
|
15887
|
+
"type": {
|
|
15888
|
+
"text": "string | null | undefined"
|
|
15889
|
+
}
|
|
15890
|
+
}
|
|
15891
|
+
]
|
|
15892
|
+
},
|
|
15893
|
+
{
|
|
15894
|
+
"kind": "variable",
|
|
15895
|
+
"name": "DATE_PICKER_VALUE_FORMAT",
|
|
15896
|
+
"type": {
|
|
15897
|
+
"text": "string"
|
|
15898
|
+
},
|
|
15899
|
+
"default": "'MM-DD-YYYY'",
|
|
15900
|
+
"description": "Internal wire format for the date picker's `value` attribute.\nDisplay formatting is independent (see `format` / `getDisplayFormatForLang`).",
|
|
15901
|
+
"privacy": "public"
|
|
15902
|
+
},
|
|
15903
|
+
{
|
|
15904
|
+
"kind": "function",
|
|
15905
|
+
"name": "parseDatePickerValue",
|
|
15906
|
+
"return": {
|
|
15907
|
+
"type": {
|
|
15908
|
+
"text": "dayjs.Dayjs | null"
|
|
15909
|
+
}
|
|
15910
|
+
},
|
|
15911
|
+
"parameters": [
|
|
15912
|
+
{
|
|
15913
|
+
"name": "dateString",
|
|
15914
|
+
"type": {
|
|
15915
|
+
"text": "string"
|
|
15916
|
+
}
|
|
15917
|
+
},
|
|
15918
|
+
{
|
|
15919
|
+
"name": "displayFormat",
|
|
15920
|
+
"type": {
|
|
15921
|
+
"text": "string"
|
|
15922
|
+
}
|
|
15923
|
+
}
|
|
15924
|
+
],
|
|
15925
|
+
"description": "Strictly parses a date picker value (`displayFormat` or internal `DATE_PICKER_VALUE_FORMAT`). Returns null when invalid.",
|
|
15926
|
+
"privacy": "public"
|
|
15927
|
+
}
|
|
15928
|
+
],
|
|
15929
|
+
"exports": [
|
|
15930
|
+
{
|
|
15931
|
+
"kind": "js",
|
|
15932
|
+
"name": "resolveDayjsLocale",
|
|
15933
|
+
"declaration": {
|
|
15934
|
+
"name": "resolveDayjsLocale",
|
|
15935
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15936
|
+
}
|
|
15937
|
+
},
|
|
15938
|
+
{
|
|
15939
|
+
"kind": "js",
|
|
15940
|
+
"name": "getBrowserLocale",
|
|
15941
|
+
"declaration": {
|
|
15942
|
+
"name": "getBrowserLocale",
|
|
15943
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15944
|
+
}
|
|
15945
|
+
},
|
|
15946
|
+
{
|
|
15947
|
+
"kind": "js",
|
|
15948
|
+
"name": "getDisplayFormatForLang",
|
|
15949
|
+
"declaration": {
|
|
15950
|
+
"name": "getDisplayFormatForLang",
|
|
15951
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15952
|
+
}
|
|
15953
|
+
},
|
|
15954
|
+
{
|
|
15955
|
+
"kind": "js",
|
|
15956
|
+
"name": "formatToPlaceholder",
|
|
15957
|
+
"declaration": {
|
|
15958
|
+
"name": "formatToPlaceholder",
|
|
15959
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15960
|
+
}
|
|
15961
|
+
},
|
|
15962
|
+
{
|
|
15963
|
+
"kind": "js",
|
|
15964
|
+
"name": "hasDateValue",
|
|
15965
|
+
"declaration": {
|
|
15966
|
+
"name": "hasDateValue",
|
|
15967
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15968
|
+
}
|
|
15969
|
+
},
|
|
15970
|
+
{
|
|
15971
|
+
"kind": "js",
|
|
15972
|
+
"name": "DATE_PICKER_VALUE_FORMAT",
|
|
15973
|
+
"declaration": {
|
|
15974
|
+
"name": "DATE_PICKER_VALUE_FORMAT",
|
|
15975
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15976
|
+
}
|
|
15977
|
+
},
|
|
15978
|
+
{
|
|
15979
|
+
"kind": "js",
|
|
15980
|
+
"name": "parseDatePickerValue",
|
|
15981
|
+
"declaration": {
|
|
15982
|
+
"name": "parseDatePickerValue",
|
|
15983
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15984
|
+
}
|
|
15985
|
+
}
|
|
15986
|
+
]
|
|
15987
|
+
},
|
|
15460
15988
|
{
|
|
15461
15989
|
"kind": "javascript-module",
|
|
15462
15990
|
"path": "src/date-picker/day.ts",
|
|
@@ -15730,6 +16258,14 @@
|
|
|
15730
16258
|
"name": "*",
|
|
15731
16259
|
"package": "./date-picker"
|
|
15732
16260
|
}
|
|
16261
|
+
},
|
|
16262
|
+
{
|
|
16263
|
+
"kind": "js",
|
|
16264
|
+
"name": "*",
|
|
16265
|
+
"declaration": {
|
|
16266
|
+
"name": "*",
|
|
16267
|
+
"package": "./date-picker.util"
|
|
16268
|
+
}
|
|
15733
16269
|
}
|
|
15734
16270
|
]
|
|
15735
16271
|
},
|
|
@@ -42037,20 +42573,6 @@
|
|
|
42037
42573
|
}
|
|
42038
42574
|
}
|
|
42039
42575
|
],
|
|
42040
|
-
"events": [
|
|
42041
|
-
{
|
|
42042
|
-
"description": "Fired when the combobox value changes",
|
|
42043
|
-
"name": "change",
|
|
42044
|
-
"inheritedFrom": {
|
|
42045
|
-
"name": "Combobox",
|
|
42046
|
-
"module": "src/combobox/combobox.ts"
|
|
42047
|
-
}
|
|
42048
|
-
},
|
|
42049
|
-
{
|
|
42050
|
-
"description": "Fired when the input is cleared by the user",
|
|
42051
|
-
"name": "inputdeleted"
|
|
42052
|
-
}
|
|
42053
|
-
],
|
|
42054
42576
|
"attributes": [
|
|
42055
42577
|
{
|
|
42056
42578
|
"name": "minlength",
|
|
@@ -42128,8 +42650,16 @@
|
|
|
42128
42650
|
"name": "Combobox",
|
|
42129
42651
|
"package": "@microsoft/fast-components"
|
|
42130
42652
|
},
|
|
42131
|
-
"
|
|
42132
|
-
|
|
42653
|
+
"events": [
|
|
42654
|
+
{
|
|
42655
|
+
"description": "Fires a custom 'change' event when the value updates",
|
|
42656
|
+
"name": "change",
|
|
42657
|
+
"inheritedFrom": {
|
|
42658
|
+
"name": "Combobox",
|
|
42659
|
+
"module": "src/combobox/combobox.ts"
|
|
42660
|
+
}
|
|
42661
|
+
}
|
|
42662
|
+
]
|
|
42133
42663
|
},
|
|
42134
42664
|
{
|
|
42135
42665
|
"kind": "variable",
|
|
@@ -42196,7 +42726,7 @@
|
|
|
42196
42726
|
{
|
|
42197
42727
|
"kind": "variable",
|
|
42198
42728
|
"name": "foundationSearchBarStyles",
|
|
42199
|
-
"default": "css`\n .search-bar-combobox {\n width: 100%;\n min-width: auto;\n }\n\n .padding {\n padding-left: calc(${designUnit} * 1px);\n }\n\n .selected-options {\n display: flex;\n align-items: center;\n overflow: hidden;\n gap: calc(${designUnit} * 1px);\n padding-right: calc(${designUnit} * 1px);\n }\n\n .selected-options:hover {\n overflow-x: overlay;\n }\n\n .selected-options::-webkit-scrollbar {\n height: 7px;\n }\n\n .selected-options::-webkit-scrollbar-thumb {\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);\n background-color: #484848;\n border: 1px solid #7e7e7e;\n }\n\n .selected-options-divider {\n border-right: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);\n }\n\n .options-button {\n height: fit-content;\n min-width: fit-content;\n }\n\n .label {\n display: block;\n font-size: var(--type-ramp-base-font-size);\n margin: calc(${designUnit} * 2px) 2px;\n }\n\n .label-hidden {\n display: none;\n }\n\n .search-clear-button {\n min-width: 28px;\n min-height: 28px;\n height: 28px;\n margin: 0;\n }\n\n .search-clear-button svg {\n rotate: 45deg;\n }\n\n .search-clear-button::part(control) {\n padding: 0;\n }\n\n .search-clear-button .svg-container {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .
|
|
42729
|
+
"default": "css`\n .search-bar-combobox {\n width: 100%;\n min-width: auto;\n }\n\n .padding {\n padding-left: calc(${designUnit} * 1px);\n }\n\n .selected-options {\n display: flex;\n align-items: center;\n overflow: hidden;\n gap: calc(${designUnit} * 1px);\n padding-right: calc(${designUnit} * 1px);\n }\n\n .selected-options:hover {\n overflow-x: overlay;\n }\n\n .selected-options::-webkit-scrollbar {\n height: 7px;\n }\n\n .selected-options::-webkit-scrollbar-thumb {\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);\n background-color: #484848;\n border: 1px solid #7e7e7e;\n }\n\n .selected-options-divider {\n border-right: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);\n }\n\n .options-button {\n height: fit-content;\n min-width: fit-content;\n }\n\n .label {\n display: block;\n font-size: var(--type-ramp-base-font-size);\n margin: calc(${designUnit} * 2px) 2px;\n }\n\n .label-hidden {\n display: none;\n }\n\n .search-clear-button {\n min-width: 28px;\n min-height: 28px;\n height: 28px;\n margin: 0;\n }\n\n .search-clear-button svg {\n rotate: 45deg;\n }\n\n .search-clear-button::part(control) {\n padding: 0;\n }\n\n .search-clear-button .svg-container {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .close-icon {\n color: var(--accent-fill-rest);\n }\n`"
|
|
42200
42730
|
}
|
|
42201
42731
|
],
|
|
42202
42732
|
"exports": [
|
|
@@ -42355,6 +42885,15 @@
|
|
|
42355
42885
|
"text": "boolean"
|
|
42356
42886
|
}
|
|
42357
42887
|
},
|
|
42888
|
+
{
|
|
42889
|
+
"kind": "field",
|
|
42890
|
+
"name": "clearButton",
|
|
42891
|
+
"type": {
|
|
42892
|
+
"text": "boolean"
|
|
42893
|
+
},
|
|
42894
|
+
"default": "true",
|
|
42895
|
+
"attribute": "clear-button"
|
|
42896
|
+
},
|
|
42358
42897
|
{
|
|
42359
42898
|
"kind": "field",
|
|
42360
42899
|
"name": "loading",
|
|
@@ -42388,7 +42927,8 @@
|
|
|
42388
42927
|
{
|
|
42389
42928
|
"kind": "method",
|
|
42390
42929
|
"name": "clear",
|
|
42391
|
-
"privacy": "public"
|
|
42930
|
+
"privacy": "public",
|
|
42931
|
+
"description": "Clears all search chips and the current input, and emits `selectionChange` with an empty array."
|
|
42392
42932
|
},
|
|
42393
42933
|
{
|
|
42394
42934
|
"kind": "method",
|
|
@@ -42398,7 +42938,21 @@
|
|
|
42398
42938
|
"type": {
|
|
42399
42939
|
"text": "void"
|
|
42400
42940
|
}
|
|
42401
|
-
}
|
|
42941
|
+
},
|
|
42942
|
+
"description": "Alias for SearchBar.clear."
|
|
42943
|
+
},
|
|
42944
|
+
{
|
|
42945
|
+
"kind": "method",
|
|
42946
|
+
"name": "selectedOptionsChanged"
|
|
42947
|
+
},
|
|
42948
|
+
{
|
|
42949
|
+
"kind": "method",
|
|
42950
|
+
"name": "optionsChanged"
|
|
42951
|
+
},
|
|
42952
|
+
{
|
|
42953
|
+
"kind": "method",
|
|
42954
|
+
"name": "applySearchInputLock",
|
|
42955
|
+
"privacy": "private"
|
|
42402
42956
|
},
|
|
42403
42957
|
{
|
|
42404
42958
|
"kind": "method",
|
|
@@ -42602,6 +43156,15 @@
|
|
|
42602
43156
|
}
|
|
42603
43157
|
],
|
|
42604
43158
|
"attributes": [
|
|
43159
|
+
{
|
|
43160
|
+
"name": "clear-button",
|
|
43161
|
+
"type": {
|
|
43162
|
+
"text": "boolean"
|
|
43163
|
+
},
|
|
43164
|
+
"default": "true",
|
|
43165
|
+
"fieldName": "clearButton",
|
|
43166
|
+
"description": "when true, shows the end clear control when there are chips or typed text. When false, use {@link SearchBar.clear} or {@link SearchBar.clearSearch} to reset programmatically."
|
|
43167
|
+
},
|
|
42605
43168
|
{
|
|
42606
43169
|
"name": "appearance",
|
|
42607
43170
|
"type": {
|
|
@@ -42642,6 +43205,15 @@
|
|
|
42642
43205
|
"text": "boolean"
|
|
42643
43206
|
},
|
|
42644
43207
|
"fieldName": "disabled"
|
|
43208
|
+
},
|
|
43209
|
+
{
|
|
43210
|
+
"name": "clear-button",
|
|
43211
|
+
"type": {
|
|
43212
|
+
"text": "boolean"
|
|
43213
|
+
},
|
|
43214
|
+
"default": "true",
|
|
43215
|
+
"attribute": "clear-button",
|
|
43216
|
+
"fieldName": "clearButton"
|
|
42645
43217
|
}
|
|
42646
43218
|
],
|
|
42647
43219
|
"superclass": {
|