@genesislcap/foundation-ui 14.437.3 → 14.437.5-canary.gs-datepicker
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 +1284 -961
- package/dist/dts/date-picker/date-picker.d.ts +45 -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 +24 -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 +18 -18
- package/dist/esm/date-picker/date-picker.js +141 -14
- package/dist/esm/date-picker/date-picker.template.js +9 -1
- package/dist/esm/date-picker/date-picker.util.js +59 -0
- package/dist/esm/date-picker/index.js +1 -0
- package/dist/react.cjs +15 -15
- package/dist/react.mjs +12 -12
- package/package.json +19 -19
|
@@ -1400,11 +1400,42 @@
|
|
|
1400
1400
|
},
|
|
1401
1401
|
{
|
|
1402
1402
|
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/
|
|
1403
|
+
"path": "src/_config/index.ts",
|
|
1404
|
+
"declarations": [],
|
|
1405
|
+
"exports": [
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "js",
|
|
1408
|
+
"name": "*",
|
|
1409
|
+
"declaration": {
|
|
1410
|
+
"name": "*",
|
|
1411
|
+
"package": "./styles"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"kind": "js",
|
|
1416
|
+
"name": "*",
|
|
1417
|
+
"declaration": {
|
|
1418
|
+
"name": "*",
|
|
1419
|
+
"package": "./tokens"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./values"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"kind": "javascript-module",
|
|
1434
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1404
1435
|
"declarations": [
|
|
1405
1436
|
{
|
|
1406
1437
|
"kind": "function",
|
|
1407
|
-
"name": "
|
|
1438
|
+
"name": "foundationAccordionItemStyles",
|
|
1408
1439
|
"return": {
|
|
1409
1440
|
"type": {
|
|
1410
1441
|
"text": "ElementStyles"
|
|
@@ -1429,24 +1460,24 @@
|
|
|
1429
1460
|
"exports": [
|
|
1430
1461
|
{
|
|
1431
1462
|
"kind": "js",
|
|
1432
|
-
"name": "
|
|
1463
|
+
"name": "foundationAccordionItemStyles",
|
|
1433
1464
|
"declaration": {
|
|
1434
|
-
"name": "
|
|
1435
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1465
|
+
"name": "foundationAccordionItemStyles",
|
|
1466
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1436
1467
|
}
|
|
1437
1468
|
}
|
|
1438
1469
|
]
|
|
1439
1470
|
},
|
|
1440
1471
|
{
|
|
1441
1472
|
"kind": "javascript-module",
|
|
1442
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1473
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1443
1474
|
"declarations": [
|
|
1444
1475
|
{
|
|
1445
1476
|
"kind": "function",
|
|
1446
|
-
"name": "
|
|
1477
|
+
"name": "foundationAccordionItemTemplate",
|
|
1447
1478
|
"return": {
|
|
1448
1479
|
"type": {
|
|
1449
|
-
"text": "ViewTemplate<
|
|
1480
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1450
1481
|
}
|
|
1451
1482
|
},
|
|
1452
1483
|
"parameters": [
|
|
@@ -1468,365 +1499,244 @@
|
|
|
1468
1499
|
"exports": [
|
|
1469
1500
|
{
|
|
1470
1501
|
"kind": "js",
|
|
1471
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionItemTemplate",
|
|
1472
1503
|
"declaration": {
|
|
1473
|
-
"name": "
|
|
1474
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1504
|
+
"name": "foundationAccordionItemTemplate",
|
|
1505
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1475
1506
|
}
|
|
1476
1507
|
}
|
|
1477
1508
|
]
|
|
1478
1509
|
},
|
|
1479
1510
|
{
|
|
1480
1511
|
"kind": "javascript-module",
|
|
1481
|
-
"path": "src/accordion/accordion.ts",
|
|
1512
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1482
1513
|
"declarations": [
|
|
1483
1514
|
{
|
|
1484
1515
|
"kind": "class",
|
|
1485
1516
|
"description": "",
|
|
1486
|
-
"name": "
|
|
1517
|
+
"name": "AccordionItem",
|
|
1487
1518
|
"superclass": {
|
|
1488
|
-
"name": "
|
|
1489
|
-
"package": "@microsoft/fast-
|
|
1519
|
+
"name": "FASTAccordionItem",
|
|
1520
|
+
"package": "@microsoft/fast-components"
|
|
1490
1521
|
},
|
|
1491
|
-
"tagName": "%%prefix%%-accordion",
|
|
1522
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1492
1523
|
"customElement": true,
|
|
1493
1524
|
"attributes": [
|
|
1494
1525
|
{
|
|
1495
|
-
"name": "
|
|
1526
|
+
"name": "heading-level",
|
|
1496
1527
|
"type": {
|
|
1497
|
-
"text": "
|
|
1528
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1498
1529
|
},
|
|
1499
|
-
"
|
|
1500
|
-
"
|
|
1530
|
+
"default": "2",
|
|
1531
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1532
|
+
"fieldName": "headinglevel",
|
|
1501
1533
|
"inheritedFrom": {
|
|
1502
|
-
"name": "
|
|
1503
|
-
"module": "src/accordion/accordion.ts"
|
|
1534
|
+
"name": "AccordionItem",
|
|
1535
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"type": {
|
|
1540
|
+
"text": "boolean"
|
|
1541
|
+
},
|
|
1542
|
+
"default": "false",
|
|
1543
|
+
"description": "Expands or collapses the item.",
|
|
1544
|
+
"fieldName": "expanded",
|
|
1545
|
+
"inheritedFrom": {
|
|
1546
|
+
"name": "AccordionItem",
|
|
1547
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "id",
|
|
1552
|
+
"type": {
|
|
1553
|
+
"text": "string"
|
|
1554
|
+
},
|
|
1555
|
+
"description": "The item ID",
|
|
1556
|
+
"fieldName": "id",
|
|
1557
|
+
"inheritedFrom": {
|
|
1558
|
+
"name": "AccordionItem",
|
|
1559
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1504
1560
|
}
|
|
1505
1561
|
}
|
|
1506
1562
|
],
|
|
1507
1563
|
"members": [
|
|
1508
1564
|
{
|
|
1509
1565
|
"kind": "field",
|
|
1510
|
-
"name": "
|
|
1566
|
+
"name": "headinglevel",
|
|
1511
1567
|
"type": {
|
|
1512
|
-
"text": "
|
|
1568
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1513
1569
|
},
|
|
1514
1570
|
"privacy": "public",
|
|
1515
|
-
"
|
|
1571
|
+
"default": "2",
|
|
1572
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1516
1573
|
"inheritedFrom": {
|
|
1517
|
-
"name": "
|
|
1518
|
-
"module": "src/accordion/accordion.ts"
|
|
1574
|
+
"name": "AccordionItem",
|
|
1575
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1519
1576
|
}
|
|
1520
1577
|
},
|
|
1521
1578
|
{
|
|
1522
1579
|
"kind": "field",
|
|
1523
|
-
"name": "
|
|
1580
|
+
"name": "expanded",
|
|
1524
1581
|
"type": {
|
|
1525
|
-
"text": "
|
|
1582
|
+
"text": "boolean"
|
|
1526
1583
|
},
|
|
1527
|
-
"privacy": "
|
|
1584
|
+
"privacy": "public",
|
|
1585
|
+
"default": "false",
|
|
1586
|
+
"description": "Expands or collapses the item.",
|
|
1528
1587
|
"inheritedFrom": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
"name": "AccordionItem",
|
|
1589
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1531
1590
|
}
|
|
1532
1591
|
},
|
|
1533
1592
|
{
|
|
1534
1593
|
"kind": "field",
|
|
1535
|
-
"name": "
|
|
1594
|
+
"name": "id",
|
|
1536
1595
|
"type": {
|
|
1537
|
-
"text": "
|
|
1596
|
+
"text": "string"
|
|
1538
1597
|
},
|
|
1539
|
-
"privacy": "
|
|
1540
|
-
"
|
|
1598
|
+
"privacy": "public",
|
|
1599
|
+
"description": "The item ID",
|
|
1541
1600
|
"inheritedFrom": {
|
|
1542
|
-
"name": "
|
|
1543
|
-
"module": "src/accordion/accordion.ts"
|
|
1601
|
+
"name": "AccordionItem",
|
|
1602
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1544
1603
|
}
|
|
1545
1604
|
},
|
|
1546
1605
|
{
|
|
1547
1606
|
"kind": "field",
|
|
1548
|
-
"name": "
|
|
1549
|
-
"type": {
|
|
1550
|
-
"text": "Array<string | null>"
|
|
1551
|
-
},
|
|
1607
|
+
"name": "change",
|
|
1552
1608
|
"privacy": "private",
|
|
1553
1609
|
"inheritedFrom": {
|
|
1554
|
-
"name": "
|
|
1555
|
-
"module": "src/accordion/accordion.ts"
|
|
1610
|
+
"name": "AccordionItem",
|
|
1611
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1556
1612
|
}
|
|
1557
1613
|
},
|
|
1558
1614
|
{
|
|
1559
1615
|
"kind": "field",
|
|
1560
|
-
"name": "
|
|
1616
|
+
"name": "_presentation",
|
|
1617
|
+
"type": {
|
|
1618
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1619
|
+
},
|
|
1561
1620
|
"privacy": "private",
|
|
1621
|
+
"default": "void 0",
|
|
1562
1622
|
"inheritedFrom": {
|
|
1563
|
-
"name": "
|
|
1564
|
-
"module": "src/
|
|
1623
|
+
"name": "FoundationElement",
|
|
1624
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1565
1625
|
}
|
|
1566
1626
|
},
|
|
1567
1627
|
{
|
|
1568
|
-
"kind": "
|
|
1569
|
-
"name": "
|
|
1570
|
-
"
|
|
1571
|
-
|
|
1572
|
-
"type": {
|
|
1573
|
-
"text": "AccordionItem | null"
|
|
1574
|
-
}
|
|
1628
|
+
"kind": "field",
|
|
1629
|
+
"name": "$presentation",
|
|
1630
|
+
"type": {
|
|
1631
|
+
"text": "ComponentPresentation | null"
|
|
1575
1632
|
},
|
|
1633
|
+
"privacy": "public",
|
|
1634
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1576
1635
|
"inheritedFrom": {
|
|
1577
|
-
"name": "
|
|
1578
|
-
"module": "src/
|
|
1636
|
+
"name": "FoundationElement",
|
|
1637
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1579
1638
|
}
|
|
1580
1639
|
},
|
|
1581
1640
|
{
|
|
1582
1641
|
"kind": "field",
|
|
1583
|
-
"name": "
|
|
1584
|
-
"
|
|
1642
|
+
"name": "template",
|
|
1643
|
+
"type": {
|
|
1644
|
+
"text": "ElementViewTemplate | void | null"
|
|
1645
|
+
},
|
|
1646
|
+
"privacy": "public",
|
|
1647
|
+
"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.",
|
|
1585
1648
|
"inheritedFrom": {
|
|
1586
|
-
"name": "
|
|
1587
|
-
"module": "src/
|
|
1649
|
+
"name": "FoundationElement",
|
|
1650
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1588
1651
|
}
|
|
1589
1652
|
},
|
|
1590
1653
|
{
|
|
1591
1654
|
"kind": "method",
|
|
1592
|
-
"name": "
|
|
1593
|
-
"privacy": "
|
|
1655
|
+
"name": "templateChanged",
|
|
1656
|
+
"privacy": "protected",
|
|
1594
1657
|
"return": {
|
|
1595
1658
|
"type": {
|
|
1596
1659
|
"text": "void"
|
|
1597
1660
|
}
|
|
1598
1661
|
},
|
|
1599
1662
|
"inheritedFrom": {
|
|
1600
|
-
"name": "
|
|
1601
|
-
"module": "src/
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
{
|
|
1605
|
-
"kind": "field",
|
|
1606
|
-
"name": "removeItemListeners",
|
|
1607
|
-
"privacy": "private",
|
|
1608
|
-
"inheritedFrom": {
|
|
1609
|
-
"name": "Accordion",
|
|
1610
|
-
"module": "src/accordion/accordion.ts"
|
|
1663
|
+
"name": "FoundationElement",
|
|
1664
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1611
1665
|
}
|
|
1612
1666
|
},
|
|
1613
1667
|
{
|
|
1614
1668
|
"kind": "field",
|
|
1615
|
-
"name": "
|
|
1616
|
-
"
|
|
1669
|
+
"name": "styles",
|
|
1670
|
+
"type": {
|
|
1671
|
+
"text": "ElementStyles | void | null"
|
|
1672
|
+
},
|
|
1673
|
+
"privacy": "public",
|
|
1674
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1617
1675
|
"inheritedFrom": {
|
|
1618
|
-
"name": "
|
|
1619
|
-
"module": "src/
|
|
1676
|
+
"name": "FoundationElement",
|
|
1677
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1620
1678
|
}
|
|
1621
1679
|
},
|
|
1622
1680
|
{
|
|
1623
1681
|
"kind": "method",
|
|
1624
|
-
"name": "
|
|
1625
|
-
"privacy": "
|
|
1682
|
+
"name": "stylesChanged",
|
|
1683
|
+
"privacy": "protected",
|
|
1626
1684
|
"return": {
|
|
1627
1685
|
"type": {
|
|
1628
|
-
"text": "
|
|
1686
|
+
"text": "void"
|
|
1629
1687
|
}
|
|
1630
1688
|
},
|
|
1631
1689
|
"inheritedFrom": {
|
|
1632
|
-
"name": "
|
|
1633
|
-
"module": "src/
|
|
1690
|
+
"name": "FoundationElement",
|
|
1691
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1634
1692
|
}
|
|
1635
1693
|
},
|
|
1636
1694
|
{
|
|
1637
1695
|
"kind": "method",
|
|
1638
|
-
"name": "
|
|
1639
|
-
"privacy": "
|
|
1696
|
+
"name": "compose",
|
|
1697
|
+
"privacy": "public",
|
|
1698
|
+
"static": true,
|
|
1640
1699
|
"return": {
|
|
1641
1700
|
"type": {
|
|
1642
|
-
"text": "
|
|
1701
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1643
1702
|
}
|
|
1644
1703
|
},
|
|
1704
|
+
"parameters": [
|
|
1705
|
+
{
|
|
1706
|
+
"name": "this",
|
|
1707
|
+
"type": {
|
|
1708
|
+
"text": "K"
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "elementDefinition",
|
|
1713
|
+
"type": {
|
|
1714
|
+
"text": "T"
|
|
1715
|
+
},
|
|
1716
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1717
|
+
}
|
|
1718
|
+
],
|
|
1719
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1645
1720
|
"inheritedFrom": {
|
|
1646
|
-
"name": "
|
|
1647
|
-
"module": "src/
|
|
1721
|
+
"name": "FoundationElement",
|
|
1722
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1648
1723
|
}
|
|
1649
|
-
}
|
|
1724
|
+
}
|
|
1725
|
+
],
|
|
1726
|
+
"events": [
|
|
1650
1727
|
{
|
|
1651
|
-
"
|
|
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"
|
|
1702
|
-
}
|
|
1703
|
-
},
|
|
1704
|
-
{
|
|
1705
|
-
"kind": "field",
|
|
1706
|
-
"name": "_presentation",
|
|
1707
|
-
"type": {
|
|
1708
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1709
|
-
},
|
|
1710
|
-
"privacy": "private",
|
|
1711
|
-
"default": "void 0",
|
|
1712
|
-
"inheritedFrom": {
|
|
1713
|
-
"name": "FoundationElement",
|
|
1714
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
{
|
|
1718
|
-
"kind": "field",
|
|
1719
|
-
"name": "$presentation",
|
|
1720
|
-
"type": {
|
|
1721
|
-
"text": "ComponentPresentation | null"
|
|
1722
|
-
},
|
|
1723
|
-
"privacy": "public",
|
|
1724
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1725
|
-
"inheritedFrom": {
|
|
1726
|
-
"name": "FoundationElement",
|
|
1727
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"kind": "field",
|
|
1732
|
-
"name": "template",
|
|
1733
|
-
"type": {
|
|
1734
|
-
"text": "ElementViewTemplate | void | null"
|
|
1735
|
-
},
|
|
1736
|
-
"privacy": "public",
|
|
1737
|
-
"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.",
|
|
1738
|
-
"inheritedFrom": {
|
|
1739
|
-
"name": "FoundationElement",
|
|
1740
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1741
|
-
}
|
|
1742
|
-
},
|
|
1743
|
-
{
|
|
1744
|
-
"kind": "method",
|
|
1745
|
-
"name": "templateChanged",
|
|
1746
|
-
"privacy": "protected",
|
|
1747
|
-
"return": {
|
|
1748
|
-
"type": {
|
|
1749
|
-
"text": "void"
|
|
1750
|
-
}
|
|
1751
|
-
},
|
|
1752
|
-
"inheritedFrom": {
|
|
1753
|
-
"name": "FoundationElement",
|
|
1754
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1755
|
-
}
|
|
1756
|
-
},
|
|
1757
|
-
{
|
|
1758
|
-
"kind": "field",
|
|
1759
|
-
"name": "styles",
|
|
1760
|
-
"type": {
|
|
1761
|
-
"text": "ElementStyles | void | null"
|
|
1762
|
-
},
|
|
1763
|
-
"privacy": "public",
|
|
1764
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1765
|
-
"inheritedFrom": {
|
|
1766
|
-
"name": "FoundationElement",
|
|
1767
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1768
|
-
}
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
"kind": "method",
|
|
1772
|
-
"name": "stylesChanged",
|
|
1773
|
-
"privacy": "protected",
|
|
1774
|
-
"return": {
|
|
1775
|
-
"type": {
|
|
1776
|
-
"text": "void"
|
|
1777
|
-
}
|
|
1778
|
-
},
|
|
1779
|
-
"inheritedFrom": {
|
|
1780
|
-
"name": "FoundationElement",
|
|
1781
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1782
|
-
}
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"kind": "method",
|
|
1786
|
-
"name": "compose",
|
|
1787
|
-
"privacy": "public",
|
|
1788
|
-
"static": true,
|
|
1789
|
-
"return": {
|
|
1790
|
-
"type": {
|
|
1791
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
"parameters": [
|
|
1795
|
-
{
|
|
1796
|
-
"name": "this",
|
|
1797
|
-
"type": {
|
|
1798
|
-
"text": "K"
|
|
1799
|
-
}
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"name": "elementDefinition",
|
|
1803
|
-
"type": {
|
|
1804
|
-
"text": "T"
|
|
1805
|
-
},
|
|
1806
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1807
|
-
}
|
|
1808
|
-
],
|
|
1809
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1810
|
-
"inheritedFrom": {
|
|
1811
|
-
"name": "FoundationElement",
|
|
1812
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
],
|
|
1816
|
-
"events": [
|
|
1817
|
-
{
|
|
1818
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
1728
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1819
1729
|
"name": "change",
|
|
1820
1730
|
"inheritedFrom": {
|
|
1821
|
-
"name": "
|
|
1822
|
-
"module": "src/accordion/accordion.ts"
|
|
1731
|
+
"name": "AccordionItem",
|
|
1732
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1823
1733
|
}
|
|
1824
1734
|
}
|
|
1825
1735
|
]
|
|
1826
1736
|
},
|
|
1827
1737
|
{
|
|
1828
1738
|
"kind": "variable",
|
|
1829
|
-
"name": "
|
|
1739
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1830
1740
|
"type": {
|
|
1831
1741
|
"text": "ShadowRootInit"
|
|
1832
1742
|
},
|
|
@@ -1834,88 +1744,57 @@
|
|
|
1834
1744
|
},
|
|
1835
1745
|
{
|
|
1836
1746
|
"kind": "variable",
|
|
1837
|
-
"name": "
|
|
1747
|
+
"name": "defaultAccordionItemConfig",
|
|
1838
1748
|
"type": {
|
|
1839
1749
|
"text": "object"
|
|
1840
1750
|
},
|
|
1841
|
-
"default": "{}"
|
|
1751
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1842
1752
|
},
|
|
1843
1753
|
{
|
|
1844
1754
|
"kind": "variable",
|
|
1845
|
-
"name": "
|
|
1846
|
-
"description": "The Foundation Accordion",
|
|
1755
|
+
"name": "foundationAccordionItem",
|
|
1756
|
+
"description": "The Foundation Accordion Item",
|
|
1847
1757
|
"privacy": "public"
|
|
1848
1758
|
}
|
|
1849
1759
|
],
|
|
1850
1760
|
"exports": [
|
|
1851
1761
|
{
|
|
1852
1762
|
"kind": "js",
|
|
1853
|
-
"name": "
|
|
1854
|
-
"declaration": {
|
|
1855
|
-
"name": "Accordion",
|
|
1856
|
-
"module": "src/accordion/accordion.ts"
|
|
1857
|
-
}
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"kind": "js",
|
|
1861
|
-
"name": "foundationAccordionShadowOptions",
|
|
1862
|
-
"declaration": {
|
|
1863
|
-
"name": "foundationAccordionShadowOptions",
|
|
1864
|
-
"module": "src/accordion/accordion.ts"
|
|
1865
|
-
}
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"kind": "js",
|
|
1869
|
-
"name": "defaultAccordionConfig",
|
|
1763
|
+
"name": "AccordionItem",
|
|
1870
1764
|
"declaration": {
|
|
1871
|
-
"name": "
|
|
1872
|
-
"module": "src/accordion/accordion.ts"
|
|
1765
|
+
"name": "AccordionItem",
|
|
1766
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1873
1767
|
}
|
|
1874
1768
|
},
|
|
1875
1769
|
{
|
|
1876
1770
|
"kind": "js",
|
|
1877
|
-
"name": "
|
|
1878
|
-
"declaration": {
|
|
1879
|
-
"name": "foundationAccordion",
|
|
1880
|
-
"module": "src/accordion/accordion.ts"
|
|
1881
|
-
}
|
|
1882
|
-
}
|
|
1883
|
-
]
|
|
1884
|
-
},
|
|
1885
|
-
{
|
|
1886
|
-
"kind": "javascript-module",
|
|
1887
|
-
"path": "src/accordion/index.ts",
|
|
1888
|
-
"declarations": [],
|
|
1889
|
-
"exports": [
|
|
1890
|
-
{
|
|
1891
|
-
"kind": "js",
|
|
1892
|
-
"name": "*",
|
|
1771
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1893
1772
|
"declaration": {
|
|
1894
|
-
"name": "
|
|
1895
|
-
"
|
|
1773
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1774
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1896
1775
|
}
|
|
1897
1776
|
},
|
|
1898
1777
|
{
|
|
1899
1778
|
"kind": "js",
|
|
1900
|
-
"name": "
|
|
1779
|
+
"name": "defaultAccordionItemConfig",
|
|
1901
1780
|
"declaration": {
|
|
1902
|
-
"name": "
|
|
1903
|
-
"
|
|
1781
|
+
"name": "defaultAccordionItemConfig",
|
|
1782
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1904
1783
|
}
|
|
1905
1784
|
},
|
|
1906
1785
|
{
|
|
1907
1786
|
"kind": "js",
|
|
1908
|
-
"name": "
|
|
1787
|
+
"name": "foundationAccordionItem",
|
|
1909
1788
|
"declaration": {
|
|
1910
|
-
"name": "
|
|
1911
|
-
"
|
|
1789
|
+
"name": "foundationAccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1912
1791
|
}
|
|
1913
1792
|
}
|
|
1914
1793
|
]
|
|
1915
1794
|
},
|
|
1916
1795
|
{
|
|
1917
1796
|
"kind": "javascript-module",
|
|
1918
|
-
"path": "src/
|
|
1797
|
+
"path": "src/accordion-item/index.ts",
|
|
1919
1798
|
"declarations": [],
|
|
1920
1799
|
"exports": [
|
|
1921
1800
|
{
|
|
@@ -1923,7 +1802,7 @@
|
|
|
1923
1802
|
"name": "*",
|
|
1924
1803
|
"declaration": {
|
|
1925
1804
|
"name": "*",
|
|
1926
|
-
"package": "./
|
|
1805
|
+
"package": "./accordion-item.template"
|
|
1927
1806
|
}
|
|
1928
1807
|
},
|
|
1929
1808
|
{
|
|
@@ -1931,7 +1810,7 @@
|
|
|
1931
1810
|
"name": "*",
|
|
1932
1811
|
"declaration": {
|
|
1933
1812
|
"name": "*",
|
|
1934
|
-
"package": "./
|
|
1813
|
+
"package": "./accordion-item.styles"
|
|
1935
1814
|
}
|
|
1936
1815
|
},
|
|
1937
1816
|
{
|
|
@@ -1939,18 +1818,18 @@
|
|
|
1939
1818
|
"name": "*",
|
|
1940
1819
|
"declaration": {
|
|
1941
1820
|
"name": "*",
|
|
1942
|
-
"package": "./
|
|
1821
|
+
"package": "./accordion-item"
|
|
1943
1822
|
}
|
|
1944
1823
|
}
|
|
1945
1824
|
]
|
|
1946
1825
|
},
|
|
1947
1826
|
{
|
|
1948
1827
|
"kind": "javascript-module",
|
|
1949
|
-
"path": "src/accordion
|
|
1828
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1950
1829
|
"declarations": [
|
|
1951
1830
|
{
|
|
1952
1831
|
"kind": "function",
|
|
1953
|
-
"name": "
|
|
1832
|
+
"name": "foundationAccordionStyles",
|
|
1954
1833
|
"return": {
|
|
1955
1834
|
"type": {
|
|
1956
1835
|
"text": "ElementStyles"
|
|
@@ -1975,24 +1854,24 @@
|
|
|
1975
1854
|
"exports": [
|
|
1976
1855
|
{
|
|
1977
1856
|
"kind": "js",
|
|
1978
|
-
"name": "
|
|
1857
|
+
"name": "foundationAccordionStyles",
|
|
1979
1858
|
"declaration": {
|
|
1980
|
-
"name": "
|
|
1981
|
-
"module": "src/accordion
|
|
1859
|
+
"name": "foundationAccordionStyles",
|
|
1860
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1982
1861
|
}
|
|
1983
1862
|
}
|
|
1984
1863
|
]
|
|
1985
1864
|
},
|
|
1986
1865
|
{
|
|
1987
1866
|
"kind": "javascript-module",
|
|
1988
|
-
"path": "src/accordion
|
|
1867
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1989
1868
|
"declarations": [
|
|
1990
1869
|
{
|
|
1991
1870
|
"kind": "function",
|
|
1992
|
-
"name": "
|
|
1871
|
+
"name": "foundationAccordionTemplate",
|
|
1993
1872
|
"return": {
|
|
1994
1873
|
"type": {
|
|
1995
|
-
"text": "ViewTemplate<
|
|
1874
|
+
"text": "ViewTemplate<Accordion>"
|
|
1996
1875
|
}
|
|
1997
1876
|
},
|
|
1998
1877
|
"parameters": [
|
|
@@ -2014,116 +1893,237 @@
|
|
|
2014
1893
|
"exports": [
|
|
2015
1894
|
{
|
|
2016
1895
|
"kind": "js",
|
|
2017
|
-
"name": "
|
|
1896
|
+
"name": "foundationAccordionTemplate",
|
|
2018
1897
|
"declaration": {
|
|
2019
|
-
"name": "
|
|
2020
|
-
"module": "src/accordion
|
|
1898
|
+
"name": "foundationAccordionTemplate",
|
|
1899
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2021
1900
|
}
|
|
2022
1901
|
}
|
|
2023
1902
|
]
|
|
2024
1903
|
},
|
|
2025
1904
|
{
|
|
2026
1905
|
"kind": "javascript-module",
|
|
2027
|
-
"path": "src/accordion
|
|
1906
|
+
"path": "src/accordion/accordion.ts",
|
|
2028
1907
|
"declarations": [
|
|
2029
1908
|
{
|
|
2030
1909
|
"kind": "class",
|
|
2031
1910
|
"description": "",
|
|
2032
|
-
"name": "
|
|
1911
|
+
"name": "Accordion",
|
|
2033
1912
|
"superclass": {
|
|
2034
|
-
"name": "
|
|
2035
|
-
"package": "@microsoft/fast-
|
|
1913
|
+
"name": "FASTAccordion",
|
|
1914
|
+
"package": "@microsoft/fast-foundation"
|
|
2036
1915
|
},
|
|
2037
|
-
"tagName": "%%prefix%%-accordion
|
|
1916
|
+
"tagName": "%%prefix%%-accordion",
|
|
2038
1917
|
"customElement": true,
|
|
2039
1918
|
"attributes": [
|
|
2040
1919
|
{
|
|
2041
|
-
"name": "
|
|
1920
|
+
"name": "expand-mode",
|
|
2042
1921
|
"type": {
|
|
2043
|
-
"text": "
|
|
1922
|
+
"text": "AccordionExpandMode"
|
|
2044
1923
|
},
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
1924
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1925
|
+
"fieldName": "expandmode",
|
|
1926
|
+
"inheritedFrom": {
|
|
1927
|
+
"name": "Accordion",
|
|
1928
|
+
"module": "src/accordion/accordion.ts"
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
"members": [
|
|
1933
|
+
{
|
|
1934
|
+
"kind": "field",
|
|
1935
|
+
"name": "expandmode",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "AccordionExpandMode"
|
|
1938
|
+
},
|
|
1939
|
+
"privacy": "public",
|
|
1940
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1941
|
+
"inheritedFrom": {
|
|
1942
|
+
"name": "Accordion",
|
|
1943
|
+
"module": "src/accordion/accordion.ts"
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"kind": "field",
|
|
1948
|
+
"name": "activeid",
|
|
1949
|
+
"type": {
|
|
1950
|
+
"text": "string | null"
|
|
1951
|
+
},
|
|
1952
|
+
"privacy": "private",
|
|
1953
|
+
"inheritedFrom": {
|
|
1954
|
+
"name": "Accordion",
|
|
1955
|
+
"module": "src/accordion/accordion.ts"
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"kind": "field",
|
|
1960
|
+
"name": "activeItemIndex",
|
|
1961
|
+
"type": {
|
|
1962
|
+
"text": "number"
|
|
1963
|
+
},
|
|
1964
|
+
"privacy": "private",
|
|
1965
|
+
"default": "0",
|
|
1966
|
+
"inheritedFrom": {
|
|
1967
|
+
"name": "Accordion",
|
|
1968
|
+
"module": "src/accordion/accordion.ts"
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"kind": "field",
|
|
1973
|
+
"name": "accordionIds",
|
|
1974
|
+
"type": {
|
|
1975
|
+
"text": "Array<string | null>"
|
|
1976
|
+
},
|
|
1977
|
+
"privacy": "private",
|
|
1978
|
+
"inheritedFrom": {
|
|
1979
|
+
"name": "Accordion",
|
|
1980
|
+
"module": "src/accordion/accordion.ts"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"kind": "field",
|
|
1985
|
+
"name": "change",
|
|
1986
|
+
"privacy": "private",
|
|
1987
|
+
"inheritedFrom": {
|
|
1988
|
+
"name": "Accordion",
|
|
1989
|
+
"module": "src/accordion/accordion.ts"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"kind": "method",
|
|
1994
|
+
"name": "findExpandedItem",
|
|
1995
|
+
"privacy": "private",
|
|
1996
|
+
"return": {
|
|
1997
|
+
"type": {
|
|
1998
|
+
"text": "AccordionItem | null"
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
2001
|
+
"inheritedFrom": {
|
|
2002
|
+
"name": "Accordion",
|
|
2003
|
+
"module": "src/accordion/accordion.ts"
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"kind": "field",
|
|
2008
|
+
"name": "setItems",
|
|
2009
|
+
"privacy": "private",
|
|
2010
|
+
"inheritedFrom": {
|
|
2011
|
+
"name": "Accordion",
|
|
2012
|
+
"module": "src/accordion/accordion.ts"
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"kind": "method",
|
|
2017
|
+
"name": "resetItems",
|
|
2018
|
+
"privacy": "private",
|
|
2019
|
+
"return": {
|
|
2020
|
+
"type": {
|
|
2021
|
+
"text": "void"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"inheritedFrom": {
|
|
2025
|
+
"name": "Accordion",
|
|
2026
|
+
"module": "src/accordion/accordion.ts"
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"kind": "field",
|
|
2031
|
+
"name": "removeItemListeners",
|
|
2032
|
+
"privacy": "private",
|
|
2033
|
+
"inheritedFrom": {
|
|
2034
|
+
"name": "Accordion",
|
|
2035
|
+
"module": "src/accordion/accordion.ts"
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"kind": "field",
|
|
2040
|
+
"name": "activeItemChange",
|
|
2041
|
+
"privacy": "private",
|
|
2048
2042
|
"inheritedFrom": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/accordion
|
|
2043
|
+
"name": "Accordion",
|
|
2044
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
2045
|
}
|
|
2052
2046
|
},
|
|
2053
2047
|
{
|
|
2054
|
-
"
|
|
2055
|
-
|
|
2048
|
+
"kind": "method",
|
|
2049
|
+
"name": "getItemIds",
|
|
2050
|
+
"privacy": "private",
|
|
2051
|
+
"return": {
|
|
2052
|
+
"type": {
|
|
2053
|
+
"text": "Array<string | null>"
|
|
2054
|
+
}
|
|
2056
2055
|
},
|
|
2057
|
-
"default": "false",
|
|
2058
|
-
"description": "Expands or collapses the item.",
|
|
2059
|
-
"fieldName": "expanded",
|
|
2060
2056
|
"inheritedFrom": {
|
|
2061
|
-
"name": "
|
|
2062
|
-
"module": "src/accordion
|
|
2057
|
+
"name": "Accordion",
|
|
2058
|
+
"module": "src/accordion/accordion.ts"
|
|
2063
2059
|
}
|
|
2064
2060
|
},
|
|
2065
2061
|
{
|
|
2066
|
-
"
|
|
2067
|
-
"
|
|
2068
|
-
|
|
2062
|
+
"kind": "method",
|
|
2063
|
+
"name": "isSingleExpandMode",
|
|
2064
|
+
"privacy": "private",
|
|
2065
|
+
"return": {
|
|
2066
|
+
"type": {
|
|
2067
|
+
"text": "boolean"
|
|
2068
|
+
}
|
|
2069
2069
|
},
|
|
2070
|
-
"description": "The item ID",
|
|
2071
|
-
"fieldName": "id",
|
|
2072
2070
|
"inheritedFrom": {
|
|
2073
|
-
"name": "
|
|
2074
|
-
"module": "src/accordion
|
|
2071
|
+
"name": "Accordion",
|
|
2072
|
+
"module": "src/accordion/accordion.ts"
|
|
2075
2073
|
}
|
|
2076
|
-
}
|
|
2077
|
-
],
|
|
2078
|
-
"members": [
|
|
2074
|
+
},
|
|
2079
2075
|
{
|
|
2080
2076
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2082
|
-
"
|
|
2083
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2084
|
-
},
|
|
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.",
|
|
2077
|
+
"name": "handleItemKeyDown",
|
|
2078
|
+
"privacy": "private",
|
|
2088
2079
|
"inheritedFrom": {
|
|
2089
|
-
"name": "
|
|
2090
|
-
"module": "src/accordion
|
|
2080
|
+
"name": "Accordion",
|
|
2081
|
+
"module": "src/accordion/accordion.ts"
|
|
2091
2082
|
}
|
|
2092
2083
|
},
|
|
2093
2084
|
{
|
|
2094
2085
|
"kind": "field",
|
|
2095
|
-
"name": "
|
|
2096
|
-
"
|
|
2097
|
-
"text": "boolean"
|
|
2098
|
-
},
|
|
2099
|
-
"privacy": "public",
|
|
2100
|
-
"default": "false",
|
|
2101
|
-
"description": "Expands or collapses the item.",
|
|
2086
|
+
"name": "handleItemFocus",
|
|
2087
|
+
"privacy": "private",
|
|
2102
2088
|
"inheritedFrom": {
|
|
2103
|
-
"name": "
|
|
2104
|
-
"module": "src/accordion
|
|
2089
|
+
"name": "Accordion",
|
|
2090
|
+
"module": "src/accordion/accordion.ts"
|
|
2105
2091
|
}
|
|
2106
2092
|
},
|
|
2107
2093
|
{
|
|
2108
|
-
"kind": "
|
|
2109
|
-
"name": "
|
|
2110
|
-
"
|
|
2111
|
-
|
|
2094
|
+
"kind": "method",
|
|
2095
|
+
"name": "adjust",
|
|
2096
|
+
"privacy": "private",
|
|
2097
|
+
"return": {
|
|
2098
|
+
"type": {
|
|
2099
|
+
"text": "void"
|
|
2100
|
+
}
|
|
2112
2101
|
},
|
|
2113
|
-
"
|
|
2114
|
-
|
|
2102
|
+
"parameters": [
|
|
2103
|
+
{
|
|
2104
|
+
"name": "adjustment",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "number"
|
|
2107
|
+
}
|
|
2108
|
+
}
|
|
2109
|
+
],
|
|
2115
2110
|
"inheritedFrom": {
|
|
2116
|
-
"name": "
|
|
2117
|
-
"module": "src/accordion
|
|
2111
|
+
"name": "Accordion",
|
|
2112
|
+
"module": "src/accordion/accordion.ts"
|
|
2118
2113
|
}
|
|
2119
2114
|
},
|
|
2120
2115
|
{
|
|
2121
|
-
"kind": "
|
|
2122
|
-
"name": "
|
|
2116
|
+
"kind": "method",
|
|
2117
|
+
"name": "focusItem",
|
|
2123
2118
|
"privacy": "private",
|
|
2119
|
+
"return": {
|
|
2120
|
+
"type": {
|
|
2121
|
+
"text": "void"
|
|
2122
|
+
}
|
|
2123
|
+
},
|
|
2124
2124
|
"inheritedFrom": {
|
|
2125
|
-
"name": "
|
|
2126
|
-
"module": "src/accordion
|
|
2125
|
+
"name": "Accordion",
|
|
2126
|
+
"module": "src/accordion/accordion.ts"
|
|
2127
2127
|
}
|
|
2128
2128
|
},
|
|
2129
2129
|
{
|
|
@@ -2240,18 +2240,18 @@
|
|
|
2240
2240
|
],
|
|
2241
2241
|
"events": [
|
|
2242
2242
|
{
|
|
2243
|
-
"description": "Fires a custom 'change' event when the
|
|
2243
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2244
2244
|
"name": "change",
|
|
2245
2245
|
"inheritedFrom": {
|
|
2246
|
-
"name": "
|
|
2247
|
-
"module": "src/accordion
|
|
2246
|
+
"name": "Accordion",
|
|
2247
|
+
"module": "src/accordion/accordion.ts"
|
|
2248
2248
|
}
|
|
2249
2249
|
}
|
|
2250
2250
|
]
|
|
2251
2251
|
},
|
|
2252
2252
|
{
|
|
2253
2253
|
"kind": "variable",
|
|
2254
|
-
"name": "
|
|
2254
|
+
"name": "foundationAccordionShadowOptions",
|
|
2255
2255
|
"type": {
|
|
2256
2256
|
"text": "ShadowRootInit"
|
|
2257
2257
|
},
|
|
@@ -2259,57 +2259,57 @@
|
|
|
2259
2259
|
},
|
|
2260
2260
|
{
|
|
2261
2261
|
"kind": "variable",
|
|
2262
|
-
"name": "
|
|
2262
|
+
"name": "defaultAccordionConfig",
|
|
2263
2263
|
"type": {
|
|
2264
2264
|
"text": "object"
|
|
2265
2265
|
},
|
|
2266
|
-
"default": "{
|
|
2266
|
+
"default": "{}"
|
|
2267
2267
|
},
|
|
2268
2268
|
{
|
|
2269
2269
|
"kind": "variable",
|
|
2270
|
-
"name": "
|
|
2271
|
-
"description": "The Foundation Accordion
|
|
2270
|
+
"name": "foundationAccordion",
|
|
2271
|
+
"description": "The Foundation Accordion",
|
|
2272
2272
|
"privacy": "public"
|
|
2273
2273
|
}
|
|
2274
2274
|
],
|
|
2275
2275
|
"exports": [
|
|
2276
2276
|
{
|
|
2277
2277
|
"kind": "js",
|
|
2278
|
-
"name": "
|
|
2278
|
+
"name": "Accordion",
|
|
2279
2279
|
"declaration": {
|
|
2280
|
-
"name": "
|
|
2281
|
-
"module": "src/accordion
|
|
2280
|
+
"name": "Accordion",
|
|
2281
|
+
"module": "src/accordion/accordion.ts"
|
|
2282
2282
|
}
|
|
2283
2283
|
},
|
|
2284
2284
|
{
|
|
2285
2285
|
"kind": "js",
|
|
2286
|
-
"name": "
|
|
2286
|
+
"name": "foundationAccordionShadowOptions",
|
|
2287
2287
|
"declaration": {
|
|
2288
|
-
"name": "
|
|
2289
|
-
"module": "src/accordion
|
|
2288
|
+
"name": "foundationAccordionShadowOptions",
|
|
2289
|
+
"module": "src/accordion/accordion.ts"
|
|
2290
2290
|
}
|
|
2291
2291
|
},
|
|
2292
2292
|
{
|
|
2293
2293
|
"kind": "js",
|
|
2294
|
-
"name": "
|
|
2294
|
+
"name": "defaultAccordionConfig",
|
|
2295
2295
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"module": "src/accordion
|
|
2296
|
+
"name": "defaultAccordionConfig",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2298
2298
|
}
|
|
2299
2299
|
},
|
|
2300
2300
|
{
|
|
2301
2301
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2302
|
+
"name": "foundationAccordion",
|
|
2303
2303
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/accordion
|
|
2304
|
+
"name": "foundationAccordion",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
]
|
|
2309
2309
|
},
|
|
2310
2310
|
{
|
|
2311
2311
|
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/accordion
|
|
2312
|
+
"path": "src/accordion/index.ts",
|
|
2313
2313
|
"declarations": [],
|
|
2314
2314
|
"exports": [
|
|
2315
2315
|
{
|
|
@@ -2317,7 +2317,7 @@
|
|
|
2317
2317
|
"name": "*",
|
|
2318
2318
|
"declaration": {
|
|
2319
2319
|
"name": "*",
|
|
2320
|
-
"package": "./accordion
|
|
2320
|
+
"package": "./accordion.template"
|
|
2321
2321
|
}
|
|
2322
2322
|
},
|
|
2323
2323
|
{
|
|
@@ -2325,7 +2325,7 @@
|
|
|
2325
2325
|
"name": "*",
|
|
2326
2326
|
"declaration": {
|
|
2327
2327
|
"name": "*",
|
|
2328
|
-
"package": "./accordion
|
|
2328
|
+
"package": "./accordion.styles"
|
|
2329
2329
|
}
|
|
2330
2330
|
},
|
|
2331
2331
|
{
|
|
@@ -2333,138 +2333,210 @@
|
|
|
2333
2333
|
"name": "*",
|
|
2334
2334
|
"declaration": {
|
|
2335
2335
|
"name": "*",
|
|
2336
|
-
"package": "./accordion
|
|
2336
|
+
"package": "./accordion"
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
2339
|
]
|
|
2340
2340
|
},
|
|
2341
2341
|
{
|
|
2342
2342
|
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/
|
|
2343
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2344
2344
|
"declarations": [
|
|
2345
2345
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
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
|
+
]
|
|
2349
2390
|
}
|
|
2350
2391
|
],
|
|
2351
2392
|
"exports": [
|
|
2352
2393
|
{
|
|
2353
2394
|
"kind": "js",
|
|
2354
|
-
"name": "
|
|
2395
|
+
"name": "actionsMenuBaseStyles",
|
|
2355
2396
|
"declaration": {
|
|
2356
|
-
"name": "
|
|
2357
|
-
"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"
|
|
2358
2407
|
}
|
|
2359
2408
|
}
|
|
2360
2409
|
]
|
|
2361
2410
|
},
|
|
2362
2411
|
{
|
|
2363
2412
|
"kind": "javascript-module",
|
|
2364
|
-
"path": "src/
|
|
2413
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2365
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
|
+
},
|
|
2366
2439
|
{
|
|
2367
2440
|
"kind": "variable",
|
|
2368
|
-
"name": "
|
|
2441
|
+
"name": "foundationActionsMenuTemplate",
|
|
2369
2442
|
"type": {
|
|
2370
|
-
"text": "ViewTemplate<
|
|
2443
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2371
2444
|
},
|
|
2372
|
-
"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`"
|
|
2373
2446
|
}
|
|
2374
2447
|
],
|
|
2375
2448
|
"exports": [
|
|
2376
2449
|
{
|
|
2377
2450
|
"kind": "js",
|
|
2378
|
-
"name": "
|
|
2451
|
+
"name": "menuTemplate",
|
|
2452
|
+
"declaration": {
|
|
2453
|
+
"name": "menuTemplate",
|
|
2454
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "js",
|
|
2459
|
+
"name": "singleOptionTemplate",
|
|
2379
2460
|
"declaration": {
|
|
2380
|
-
"name": "
|
|
2381
|
-
"module": "src/
|
|
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"
|
|
2382
2471
|
}
|
|
2383
2472
|
}
|
|
2384
2473
|
]
|
|
2385
2474
|
},
|
|
2386
2475
|
{
|
|
2387
2476
|
"kind": "javascript-module",
|
|
2388
|
-
"path": "src/
|
|
2477
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2389
2478
|
"declarations": [
|
|
2390
2479
|
{
|
|
2391
2480
|
"kind": "class",
|
|
2392
|
-
"description": "
|
|
2393
|
-
"name": "
|
|
2481
|
+
"description": "",
|
|
2482
|
+
"name": "ActionsMenu",
|
|
2394
2483
|
"members": [
|
|
2395
2484
|
{
|
|
2396
2485
|
"kind": "field",
|
|
2397
|
-
"name": "
|
|
2486
|
+
"name": "actions",
|
|
2398
2487
|
"type": {
|
|
2399
|
-
"text": "
|
|
2488
|
+
"text": "ActionMenuItem[]"
|
|
2400
2489
|
}
|
|
2401
2490
|
},
|
|
2402
2491
|
{
|
|
2403
2492
|
"kind": "field",
|
|
2404
|
-
"name": "
|
|
2405
|
-
"type": {
|
|
2406
|
-
"text": "string"
|
|
2407
|
-
},
|
|
2408
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2409
|
-
},
|
|
2410
|
-
{
|
|
2411
|
-
"kind": "field",
|
|
2412
|
-
"name": "disabled",
|
|
2493
|
+
"name": "isVertical",
|
|
2413
2494
|
"type": {
|
|
2414
2495
|
"text": "boolean"
|
|
2415
|
-
}
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
"kind": "field",
|
|
2419
|
-
"name": "inputValue",
|
|
2420
|
-
"type": {
|
|
2421
|
-
"text": "string"
|
|
2422
2496
|
},
|
|
2423
|
-
"default": "
|
|
2497
|
+
"default": "false"
|
|
2424
2498
|
},
|
|
2425
2499
|
{
|
|
2426
2500
|
"kind": "field",
|
|
2427
|
-
"name": "
|
|
2501
|
+
"name": "addDefaultActions",
|
|
2428
2502
|
"type": {
|
|
2429
2503
|
"text": "boolean"
|
|
2430
2504
|
},
|
|
2431
|
-
"default": "
|
|
2505
|
+
"default": "true"
|
|
2432
2506
|
},
|
|
2433
2507
|
{
|
|
2434
2508
|
"kind": "field",
|
|
2435
|
-
"name": "
|
|
2509
|
+
"name": "autoCloseOnAction",
|
|
2436
2510
|
"type": {
|
|
2437
|
-
"text": "
|
|
2511
|
+
"text": "boolean"
|
|
2438
2512
|
},
|
|
2439
|
-
"default": "
|
|
2513
|
+
"default": "true"
|
|
2440
2514
|
},
|
|
2441
2515
|
{
|
|
2442
2516
|
"kind": "field",
|
|
2443
|
-
"name": "
|
|
2517
|
+
"name": "classNames",
|
|
2444
2518
|
"type": {
|
|
2445
|
-
"text": "
|
|
2446
|
-
}
|
|
2447
|
-
"default": "[]"
|
|
2519
|
+
"text": "string"
|
|
2520
|
+
}
|
|
2448
2521
|
},
|
|
2449
2522
|
{
|
|
2450
2523
|
"kind": "field",
|
|
2451
|
-
"name": "
|
|
2524
|
+
"name": "definition",
|
|
2452
2525
|
"type": {
|
|
2453
|
-
"text": "
|
|
2454
|
-
}
|
|
2455
|
-
"default": "false"
|
|
2526
|
+
"text": "any"
|
|
2527
|
+
}
|
|
2456
2528
|
},
|
|
2457
2529
|
{
|
|
2458
2530
|
"kind": "field",
|
|
2459
|
-
"name": "
|
|
2531
|
+
"name": "name",
|
|
2460
2532
|
"type": {
|
|
2461
|
-
"text": "
|
|
2533
|
+
"text": "string"
|
|
2462
2534
|
},
|
|
2463
|
-
"default": "
|
|
2535
|
+
"default": "'Actions'"
|
|
2464
2536
|
},
|
|
2465
2537
|
{
|
|
2466
2538
|
"kind": "field",
|
|
2467
|
-
"name": "
|
|
2539
|
+
"name": "open",
|
|
2468
2540
|
"type": {
|
|
2469
2541
|
"text": "boolean"
|
|
2470
2542
|
},
|
|
@@ -2472,125 +2544,117 @@
|
|
|
2472
2544
|
},
|
|
2473
2545
|
{
|
|
2474
2546
|
"kind": "field",
|
|
2475
|
-
"name": "
|
|
2547
|
+
"name": "buttonAppearance",
|
|
2476
2548
|
"type": {
|
|
2477
|
-
"text": "
|
|
2478
|
-
}
|
|
2479
|
-
"privacy": "public"
|
|
2549
|
+
"text": "string"
|
|
2550
|
+
}
|
|
2480
2551
|
},
|
|
2481
2552
|
{
|
|
2482
2553
|
"kind": "field",
|
|
2483
|
-
"name": "
|
|
2554
|
+
"name": "hideDisabled",
|
|
2484
2555
|
"type": {
|
|
2485
|
-
"text": "
|
|
2556
|
+
"text": "boolean"
|
|
2486
2557
|
},
|
|
2487
|
-
"
|
|
2488
|
-
"default": "null"
|
|
2558
|
+
"default": "false"
|
|
2489
2559
|
},
|
|
2490
2560
|
{
|
|
2491
2561
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2562
|
+
"name": "hideMenuSingleOption",
|
|
2493
2563
|
"type": {
|
|
2494
|
-
"text": "
|
|
2564
|
+
"text": "boolean"
|
|
2495
2565
|
},
|
|
2496
|
-
"
|
|
2497
|
-
"default": "null"
|
|
2566
|
+
"default": "false"
|
|
2498
2567
|
},
|
|
2499
2568
|
{
|
|
2500
2569
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2570
|
+
"name": "singleOption",
|
|
2502
2571
|
"type": {
|
|
2503
|
-
"text": "
|
|
2504
|
-
}
|
|
2505
|
-
"readonly": true
|
|
2572
|
+
"text": "ActionMenuItem"
|
|
2573
|
+
}
|
|
2506
2574
|
},
|
|
2507
2575
|
{
|
|
2508
2576
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2577
|
+
"name": "actionsMenu",
|
|
2510
2578
|
"type": {
|
|
2511
|
-
"text": "
|
|
2512
|
-
},
|
|
2513
|
-
"readonly": true
|
|
2514
|
-
},
|
|
2515
|
-
{
|
|
2516
|
-
"kind": "method",
|
|
2517
|
-
"name": "getFieldLabel",
|
|
2518
|
-
"privacy": "private",
|
|
2519
|
-
"return": {
|
|
2520
|
-
"type": {
|
|
2521
|
-
"text": "string"
|
|
2522
|
-
}
|
|
2523
|
-
},
|
|
2524
|
-
"parameters": [
|
|
2525
|
-
{
|
|
2526
|
-
"name": "fieldName",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "string"
|
|
2529
|
-
}
|
|
2530
|
-
}
|
|
2531
|
-
]
|
|
2532
|
-
},
|
|
2533
|
-
{
|
|
2534
|
-
"kind": "method",
|
|
2535
|
-
"name": "toggleCriteriaView",
|
|
2536
|
-
"return": {
|
|
2537
|
-
"type": {
|
|
2538
|
-
"text": "void"
|
|
2539
|
-
}
|
|
2579
|
+
"text": "HTMLElement"
|
|
2540
2580
|
}
|
|
2541
2581
|
},
|
|
2542
2582
|
{
|
|
2543
2583
|
"kind": "method",
|
|
2544
|
-
"name": "
|
|
2545
|
-
"
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "void"
|
|
2548
|
-
}
|
|
2549
|
-
},
|
|
2584
|
+
"name": "definitionChanged",
|
|
2585
|
+
"privacy": "protected",
|
|
2550
2586
|
"parameters": [
|
|
2551
2587
|
{
|
|
2552
|
-
"name": "
|
|
2588
|
+
"name": "oldValue",
|
|
2553
2589
|
"type": {
|
|
2554
|
-
"text": "
|
|
2590
|
+
"text": "any"
|
|
2555
2591
|
}
|
|
2556
2592
|
},
|
|
2557
2593
|
{
|
|
2558
|
-
"name": "
|
|
2594
|
+
"name": "newValue",
|
|
2559
2595
|
"type": {
|
|
2560
|
-
"text": "
|
|
2596
|
+
"text": "any"
|
|
2561
2597
|
}
|
|
2562
2598
|
}
|
|
2563
2599
|
]
|
|
2564
2600
|
},
|
|
2565
2601
|
{
|
|
2566
2602
|
"kind": "method",
|
|
2567
|
-
"name": "
|
|
2568
|
-
"
|
|
2569
|
-
"type": {
|
|
2570
|
-
"text": "void"
|
|
2571
|
-
}
|
|
2572
|
-
}
|
|
2603
|
+
"name": "openChanged",
|
|
2604
|
+
"privacy": "protected"
|
|
2573
2605
|
},
|
|
2574
2606
|
{
|
|
2575
2607
|
"kind": "method",
|
|
2576
|
-
"name": "
|
|
2608
|
+
"name": "toggleActionsMenuVisibility"
|
|
2577
2609
|
},
|
|
2578
2610
|
{
|
|
2579
2611
|
"kind": "method",
|
|
2580
|
-
"name": "
|
|
2612
|
+
"name": "onActionMenuItemClick",
|
|
2613
|
+
"parameters": [
|
|
2614
|
+
{
|
|
2615
|
+
"name": "callback",
|
|
2616
|
+
"type": {
|
|
2617
|
+
"text": "(rowData) => void | any"
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
]
|
|
2581
2621
|
},
|
|
2582
2622
|
{
|
|
2583
|
-
"kind": "
|
|
2584
|
-
"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
|
|
2585
2634
|
},
|
|
2586
2635
|
{
|
|
2587
2636
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2637
|
+
"name": "getLabel",
|
|
2638
|
+
"parameters": [
|
|
2639
|
+
{
|
|
2640
|
+
"name": "name",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "string | ((rowData: any) => string)"
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
]
|
|
2589
2646
|
},
|
|
2590
2647
|
{
|
|
2591
2648
|
"kind": "method",
|
|
2592
|
-
"name": "
|
|
2593
|
-
"
|
|
2649
|
+
"name": "getTemplate",
|
|
2650
|
+
"parameters": [
|
|
2651
|
+
{
|
|
2652
|
+
"name": "prefix",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "string"
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
]
|
|
2594
2658
|
},
|
|
2595
2659
|
{
|
|
2596
2660
|
"kind": "field",
|
|
@@ -2704,154 +2768,115 @@
|
|
|
2704
2768
|
}
|
|
2705
2769
|
}
|
|
2706
2770
|
],
|
|
2707
|
-
"
|
|
2771
|
+
"attributes": [
|
|
2708
2772
|
{
|
|
2709
|
-
"
|
|
2710
|
-
"
|
|
2773
|
+
"name": "is-vertical",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"default": "false",
|
|
2778
|
+
"fieldName": "isVertical"
|
|
2711
2779
|
},
|
|
2712
2780
|
{
|
|
2713
|
-
"
|
|
2714
|
-
"
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2781
|
+
"name": "add-default-actions",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "boolean"
|
|
2784
|
+
},
|
|
2785
|
+
"default": "true",
|
|
2786
|
+
"fieldName": "addDefaultActions"
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"name": "auto-close-on-action",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "true",
|
|
2794
|
+
"fieldName": "autoCloseOnAction"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "name",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "string"
|
|
2800
|
+
},
|
|
2801
|
+
"default": "'Actions'",
|
|
2802
|
+
"fieldName": "name"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "open",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "boolean"
|
|
2808
|
+
},
|
|
2809
|
+
"default": "false",
|
|
2810
|
+
"fieldName": "open"
|
|
2811
|
+
},
|
|
2718
2812
|
{
|
|
2719
|
-
"name": "
|
|
2813
|
+
"name": "buttonAppearance",
|
|
2720
2814
|
"type": {
|
|
2721
2815
|
"text": "string"
|
|
2722
2816
|
},
|
|
2723
|
-
"
|
|
2724
|
-
"fieldName": "placeholder"
|
|
2817
|
+
"fieldName": "buttonAppearance"
|
|
2725
2818
|
},
|
|
2726
2819
|
{
|
|
2820
|
+
"name": "hide-disabled",
|
|
2727
2821
|
"type": {
|
|
2728
2822
|
"text": "boolean"
|
|
2729
2823
|
},
|
|
2730
|
-
"
|
|
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"
|
|
2731
2834
|
}
|
|
2732
2835
|
],
|
|
2733
2836
|
"superclass": {
|
|
2734
2837
|
"name": "FoundationElement",
|
|
2735
2838
|
"package": "@microsoft/fast-foundation"
|
|
2736
2839
|
},
|
|
2737
|
-
"tagName": "%%prefix%%-
|
|
2840
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2738
2841
|
"customElement": true
|
|
2739
2842
|
},
|
|
2740
2843
|
{
|
|
2741
2844
|
"kind": "variable",
|
|
2742
|
-
"name": "
|
|
2743
|
-
"
|
|
2744
|
-
|
|
2745
|
-
},
|
|
2746
|
-
"default": "undefined"
|
|
2747
|
-
},
|
|
2748
|
-
{
|
|
2749
|
-
"kind": "variable",
|
|
2750
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2751
|
-
"type": {
|
|
2752
|
-
"text": "object"
|
|
2753
|
-
},
|
|
2754
|
-
"default": "{}"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "variable",
|
|
2758
|
-
"name": "foundationAiCriteriaSearch"
|
|
2845
|
+
"name": "foundationActionsMenu",
|
|
2846
|
+
"description": "The Foundation Actions Menu",
|
|
2847
|
+
"privacy": "public"
|
|
2759
2848
|
}
|
|
2760
2849
|
],
|
|
2761
2850
|
"exports": [
|
|
2762
2851
|
{
|
|
2763
2852
|
"kind": "js",
|
|
2764
|
-
"name": "
|
|
2765
|
-
"declaration": {
|
|
2766
|
-
"name": "AiCriteriaSearch",
|
|
2767
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2768
|
-
}
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"kind": "js",
|
|
2772
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2773
|
-
"declaration": {
|
|
2774
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2775
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2776
|
-
}
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"kind": "js",
|
|
2780
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2853
|
+
"name": "ActionsMenu",
|
|
2781
2854
|
"declaration": {
|
|
2782
|
-
"name": "
|
|
2783
|
-
"module": "src/
|
|
2855
|
+
"name": "ActionsMenu",
|
|
2856
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2784
2857
|
}
|
|
2785
2858
|
},
|
|
2786
2859
|
{
|
|
2787
2860
|
"kind": "js",
|
|
2788
|
-
"name": "
|
|
2861
|
+
"name": "foundationActionsMenu",
|
|
2789
2862
|
"declaration": {
|
|
2790
|
-
"name": "
|
|
2791
|
-
"module": "src/
|
|
2863
|
+
"name": "foundationActionsMenu",
|
|
2864
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2792
2865
|
}
|
|
2793
2866
|
}
|
|
2794
2867
|
]
|
|
2795
2868
|
},
|
|
2796
2869
|
{
|
|
2797
2870
|
"kind": "javascript-module",
|
|
2798
|
-
"path": "src/
|
|
2871
|
+
"path": "src/actions-menu/index.ts",
|
|
2799
2872
|
"declarations": [],
|
|
2800
2873
|
"exports": [
|
|
2801
|
-
{
|
|
2802
|
-
"kind": "js",
|
|
2803
|
-
"name": "AiCriteriaSearch",
|
|
2804
|
-
"declaration": {
|
|
2805
|
-
"name": "AiCriteriaSearch",
|
|
2806
|
-
"module": "./ai-criteria-search"
|
|
2807
|
-
}
|
|
2808
|
-
},
|
|
2809
|
-
{
|
|
2810
|
-
"kind": "js",
|
|
2811
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2812
|
-
"declaration": {
|
|
2813
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2814
|
-
"module": "./ai-criteria-search"
|
|
2815
|
-
}
|
|
2816
|
-
},
|
|
2817
|
-
{
|
|
2818
|
-
"kind": "js",
|
|
2819
|
-
"name": "foundationAiCriteriaSearch",
|
|
2820
|
-
"declaration": {
|
|
2821
|
-
"name": "foundationAiCriteriaSearch",
|
|
2822
|
-
"module": "./ai-criteria-search"
|
|
2823
|
-
}
|
|
2824
|
-
},
|
|
2825
|
-
{
|
|
2826
|
-
"kind": "js",
|
|
2827
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2828
|
-
"declaration": {
|
|
2829
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2830
|
-
"module": "./ai-criteria-search"
|
|
2831
|
-
}
|
|
2832
|
-
},
|
|
2833
|
-
{
|
|
2834
|
-
"kind": "js",
|
|
2835
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2836
|
-
"declaration": {
|
|
2837
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2838
|
-
"module": "./ai-criteria-search.styles"
|
|
2839
|
-
}
|
|
2840
|
-
},
|
|
2841
|
-
{
|
|
2842
|
-
"kind": "js",
|
|
2843
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2844
|
-
"declaration": {
|
|
2845
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2846
|
-
"module": "./ai-criteria-search.template"
|
|
2847
|
-
}
|
|
2848
|
-
},
|
|
2849
2874
|
{
|
|
2850
2875
|
"kind": "js",
|
|
2851
2876
|
"name": "*",
|
|
2852
2877
|
"declaration": {
|
|
2853
2878
|
"name": "*",
|
|
2854
|
-
"package": "./
|
|
2879
|
+
"package": "./actions-menu.styles"
|
|
2855
2880
|
}
|
|
2856
2881
|
},
|
|
2857
2882
|
{
|
|
@@ -2859,7 +2884,7 @@
|
|
|
2859
2884
|
"name": "*",
|
|
2860
2885
|
"declaration": {
|
|
2861
2886
|
"name": "*",
|
|
2862
|
-
"package": "./
|
|
2887
|
+
"package": "./actions-menu.template"
|
|
2863
2888
|
}
|
|
2864
2889
|
},
|
|
2865
2890
|
{
|
|
@@ -2867,82 +2892,7 @@
|
|
|
2867
2892
|
"name": "*",
|
|
2868
2893
|
"declaration": {
|
|
2869
2894
|
"name": "*",
|
|
2870
|
-
"package": "./
|
|
2871
|
-
}
|
|
2872
|
-
}
|
|
2873
|
-
]
|
|
2874
|
-
},
|
|
2875
|
-
{
|
|
2876
|
-
"kind": "javascript-module",
|
|
2877
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2878
|
-
"declarations": [
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "function",
|
|
2881
|
-
"name": "formatValidationErrors",
|
|
2882
|
-
"return": {
|
|
2883
|
-
"type": {
|
|
2884
|
-
"text": "string"
|
|
2885
|
-
}
|
|
2886
|
-
},
|
|
2887
|
-
"parameters": [
|
|
2888
|
-
{
|
|
2889
|
-
"name": "errors",
|
|
2890
|
-
"type": {
|
|
2891
|
-
"text": "ValidationError[]"
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
],
|
|
2895
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"kind": "function",
|
|
2899
|
-
"name": "showCriteriaError",
|
|
2900
|
-
"return": {
|
|
2901
|
-
"type": {
|
|
2902
|
-
"text": "void"
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
"parameters": [
|
|
2906
|
-
{
|
|
2907
|
-
"name": "title",
|
|
2908
|
-
"type": {
|
|
2909
|
-
"text": "string"
|
|
2910
|
-
},
|
|
2911
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2912
|
-
},
|
|
2913
|
-
{
|
|
2914
|
-
"name": "body",
|
|
2915
|
-
"type": {
|
|
2916
|
-
"text": "string"
|
|
2917
|
-
},
|
|
2918
|
-
"description": "Error message to display"
|
|
2919
|
-
},
|
|
2920
|
-
{
|
|
2921
|
-
"name": "tagName",
|
|
2922
|
-
"type": {
|
|
2923
|
-
"text": "string"
|
|
2924
|
-
},
|
|
2925
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2926
|
-
}
|
|
2927
|
-
],
|
|
2928
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2929
|
-
}
|
|
2930
|
-
],
|
|
2931
|
-
"exports": [
|
|
2932
|
-
{
|
|
2933
|
-
"kind": "js",
|
|
2934
|
-
"name": "formatValidationErrors",
|
|
2935
|
-
"declaration": {
|
|
2936
|
-
"name": "formatValidationErrors",
|
|
2937
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2938
|
-
}
|
|
2939
|
-
},
|
|
2940
|
-
{
|
|
2941
|
-
"kind": "js",
|
|
2942
|
-
"name": "showCriteriaError",
|
|
2943
|
-
"declaration": {
|
|
2944
|
-
"name": "showCriteriaError",
|
|
2945
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2895
|
+
"package": "./actions-menu"
|
|
2946
2896
|
}
|
|
2947
2897
|
}
|
|
2948
2898
|
]
|
|
@@ -3388,203 +3338,115 @@
|
|
|
3388
3338
|
},
|
|
3389
3339
|
{
|
|
3390
3340
|
"kind": "javascript-module",
|
|
3391
|
-
"path": "src/
|
|
3341
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3392
3342
|
"declarations": [
|
|
3393
3343
|
{
|
|
3394
|
-
"kind": "
|
|
3395
|
-
"name": "
|
|
3396
|
-
"
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
"parameters": [
|
|
3402
|
-
{
|
|
3403
|
-
"name": "context",
|
|
3404
|
-
"type": {
|
|
3405
|
-
"text": "ElementDefinitionContext"
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
|
-
{
|
|
3409
|
-
"name": "definition",
|
|
3410
|
-
"type": {
|
|
3411
|
-
"text": "FoundationElementDefinition"
|
|
3412
|
-
}
|
|
3413
|
-
}
|
|
3414
|
-
]
|
|
3415
|
-
},
|
|
3416
|
-
{
|
|
3417
|
-
"kind": "function",
|
|
3418
|
-
"name": "foundationActionsMenuStyles",
|
|
3419
|
-
"return": {
|
|
3420
|
-
"type": {
|
|
3421
|
-
"text": "ElementStyles"
|
|
3422
|
-
}
|
|
3423
|
-
},
|
|
3424
|
-
"parameters": [
|
|
3425
|
-
{
|
|
3426
|
-
"name": "context",
|
|
3427
|
-
"type": {
|
|
3428
|
-
"text": "ElementDefinitionContext"
|
|
3429
|
-
}
|
|
3430
|
-
},
|
|
3431
|
-
{
|
|
3432
|
-
"name": "definition",
|
|
3433
|
-
"type": {
|
|
3434
|
-
"text": "FoundationElementDefinition"
|
|
3435
|
-
}
|
|
3436
|
-
}
|
|
3437
|
-
]
|
|
3438
|
-
}
|
|
3439
|
-
],
|
|
3440
|
-
"exports": [
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "js",
|
|
3443
|
-
"name": "actionsMenuBaseStyles",
|
|
3444
|
-
"declaration": {
|
|
3445
|
-
"name": "actionsMenuBaseStyles",
|
|
3446
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3447
|
-
}
|
|
3448
|
-
},
|
|
3449
|
-
{
|
|
3344
|
+
"kind": "variable",
|
|
3345
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3346
|
+
"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`"
|
|
3347
|
+
}
|
|
3348
|
+
],
|
|
3349
|
+
"exports": [
|
|
3350
|
+
{
|
|
3450
3351
|
"kind": "js",
|
|
3451
|
-
"name": "
|
|
3352
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3452
3353
|
"declaration": {
|
|
3453
|
-
"name": "
|
|
3454
|
-
"module": "src/
|
|
3354
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3355
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3455
3356
|
}
|
|
3456
3357
|
}
|
|
3457
3358
|
]
|
|
3458
3359
|
},
|
|
3459
3360
|
{
|
|
3460
3361
|
"kind": "javascript-module",
|
|
3461
|
-
"path": "src/
|
|
3362
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3462
3363
|
"declarations": [
|
|
3463
|
-
{
|
|
3464
|
-
"kind": "function",
|
|
3465
|
-
"name": "menuTemplate",
|
|
3466
|
-
"parameters": [
|
|
3467
|
-
{
|
|
3468
|
-
"name": "prefix",
|
|
3469
|
-
"type": {
|
|
3470
|
-
"text": "string"
|
|
3471
|
-
}
|
|
3472
|
-
}
|
|
3473
|
-
]
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "function",
|
|
3477
|
-
"name": "singleOptionTemplate",
|
|
3478
|
-
"parameters": [
|
|
3479
|
-
{
|
|
3480
|
-
"name": "prefix",
|
|
3481
|
-
"type": {
|
|
3482
|
-
"text": "string"
|
|
3483
|
-
}
|
|
3484
|
-
}
|
|
3485
|
-
]
|
|
3486
|
-
},
|
|
3487
3364
|
{
|
|
3488
3365
|
"kind": "variable",
|
|
3489
|
-
"name": "
|
|
3366
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3490
3367
|
"type": {
|
|
3491
|
-
"text": "ViewTemplate<
|
|
3368
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3492
3369
|
},
|
|
3493
|
-
"default": "html`\n
|
|
3370
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3494
3371
|
}
|
|
3495
3372
|
],
|
|
3496
3373
|
"exports": [
|
|
3497
3374
|
{
|
|
3498
3375
|
"kind": "js",
|
|
3499
|
-
"name": "
|
|
3500
|
-
"declaration": {
|
|
3501
|
-
"name": "menuTemplate",
|
|
3502
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3503
|
-
}
|
|
3504
|
-
},
|
|
3505
|
-
{
|
|
3506
|
-
"kind": "js",
|
|
3507
|
-
"name": "singleOptionTemplate",
|
|
3508
|
-
"declaration": {
|
|
3509
|
-
"name": "singleOptionTemplate",
|
|
3510
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3511
|
-
}
|
|
3512
|
-
},
|
|
3513
|
-
{
|
|
3514
|
-
"kind": "js",
|
|
3515
|
-
"name": "foundationActionsMenuTemplate",
|
|
3376
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3516
3377
|
"declaration": {
|
|
3517
|
-
"name": "
|
|
3518
|
-
"module": "src/
|
|
3378
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3379
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3519
3380
|
}
|
|
3520
3381
|
}
|
|
3521
3382
|
]
|
|
3522
3383
|
},
|
|
3523
3384
|
{
|
|
3524
3385
|
"kind": "javascript-module",
|
|
3525
|
-
"path": "src/
|
|
3386
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3526
3387
|
"declarations": [
|
|
3527
3388
|
{
|
|
3528
3389
|
"kind": "class",
|
|
3529
|
-
"description": "",
|
|
3530
|
-
"name": "
|
|
3390
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3391
|
+
"name": "AiCriteriaSearch",
|
|
3531
3392
|
"members": [
|
|
3532
3393
|
{
|
|
3533
3394
|
"kind": "field",
|
|
3534
|
-
"name": "
|
|
3395
|
+
"name": "aiProvider",
|
|
3535
3396
|
"type": {
|
|
3536
|
-
"text": "
|
|
3397
|
+
"text": "AIProvider"
|
|
3537
3398
|
}
|
|
3538
3399
|
},
|
|
3539
3400
|
{
|
|
3540
3401
|
"kind": "field",
|
|
3541
|
-
"name": "
|
|
3402
|
+
"name": "placeholder",
|
|
3542
3403
|
"type": {
|
|
3543
|
-
"text": "
|
|
3404
|
+
"text": "string"
|
|
3544
3405
|
},
|
|
3545
|
-
"default": "
|
|
3406
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3546
3407
|
},
|
|
3547
3408
|
{
|
|
3548
3409
|
"kind": "field",
|
|
3549
|
-
"name": "
|
|
3410
|
+
"name": "disabled",
|
|
3550
3411
|
"type": {
|
|
3551
3412
|
"text": "boolean"
|
|
3552
|
-
}
|
|
3553
|
-
"default": "true"
|
|
3413
|
+
}
|
|
3554
3414
|
},
|
|
3555
3415
|
{
|
|
3556
3416
|
"kind": "field",
|
|
3557
|
-
"name": "
|
|
3417
|
+
"name": "inputValue",
|
|
3558
3418
|
"type": {
|
|
3559
|
-
"text": "
|
|
3419
|
+
"text": "string"
|
|
3560
3420
|
},
|
|
3561
|
-
"default": "
|
|
3421
|
+
"default": "''"
|
|
3562
3422
|
},
|
|
3563
3423
|
{
|
|
3564
3424
|
"kind": "field",
|
|
3565
|
-
"name": "
|
|
3425
|
+
"name": "isInterpreting",
|
|
3566
3426
|
"type": {
|
|
3567
|
-
"text": "
|
|
3568
|
-
}
|
|
3427
|
+
"text": "boolean"
|
|
3428
|
+
},
|
|
3429
|
+
"default": "false"
|
|
3569
3430
|
},
|
|
3570
3431
|
{
|
|
3571
3432
|
"kind": "field",
|
|
3572
|
-
"name": "
|
|
3433
|
+
"name": "lastValidCriteria",
|
|
3573
3434
|
"type": {
|
|
3574
|
-
"text": "
|
|
3575
|
-
}
|
|
3435
|
+
"text": "string | null"
|
|
3436
|
+
},
|
|
3437
|
+
"default": "null"
|
|
3576
3438
|
},
|
|
3577
3439
|
{
|
|
3578
3440
|
"kind": "field",
|
|
3579
|
-
"name": "
|
|
3441
|
+
"name": "activeGroups",
|
|
3580
3442
|
"type": {
|
|
3581
|
-
"text": "
|
|
3443
|
+
"text": "CriteriaGroup[]"
|
|
3582
3444
|
},
|
|
3583
|
-
"default": "
|
|
3445
|
+
"default": "[]"
|
|
3584
3446
|
},
|
|
3585
3447
|
{
|
|
3586
3448
|
"kind": "field",
|
|
3587
|
-
"name": "
|
|
3449
|
+
"name": "showingChips",
|
|
3588
3450
|
"type": {
|
|
3589
3451
|
"text": "boolean"
|
|
3590
3452
|
},
|
|
@@ -3592,14 +3454,15 @@
|
|
|
3592
3454
|
},
|
|
3593
3455
|
{
|
|
3594
3456
|
"kind": "field",
|
|
3595
|
-
"name": "
|
|
3457
|
+
"name": "fieldMetadata",
|
|
3596
3458
|
"type": {
|
|
3597
|
-
"text": "string"
|
|
3598
|
-
}
|
|
3459
|
+
"text": "MetadataDetail[] | string[]"
|
|
3460
|
+
},
|
|
3461
|
+
"default": "[]"
|
|
3599
3462
|
},
|
|
3600
3463
|
{
|
|
3601
3464
|
"kind": "field",
|
|
3602
|
-
"name": "
|
|
3465
|
+
"name": "isRecording",
|
|
3603
3466
|
"type": {
|
|
3604
3467
|
"text": "boolean"
|
|
3605
3468
|
},
|
|
@@ -3607,102 +3470,125 @@
|
|
|
3607
3470
|
},
|
|
3608
3471
|
{
|
|
3609
3472
|
"kind": "field",
|
|
3610
|
-
"name": "
|
|
3473
|
+
"name": "textAreaRef",
|
|
3611
3474
|
"type": {
|
|
3612
|
-
"text": "
|
|
3475
|
+
"text": "HTMLTextAreaElement"
|
|
3613
3476
|
},
|
|
3614
|
-
"
|
|
3477
|
+
"privacy": "public"
|
|
3615
3478
|
},
|
|
3616
3479
|
{
|
|
3617
3480
|
"kind": "field",
|
|
3618
|
-
"name": "
|
|
3481
|
+
"name": "stopRecording",
|
|
3619
3482
|
"type": {
|
|
3620
|
-
"text": "
|
|
3621
|
-
}
|
|
3483
|
+
"text": "(() => void) | null"
|
|
3484
|
+
},
|
|
3485
|
+
"privacy": "private",
|
|
3486
|
+
"default": "null"
|
|
3622
3487
|
},
|
|
3623
3488
|
{
|
|
3624
3489
|
"kind": "field",
|
|
3625
|
-
"name": "
|
|
3490
|
+
"name": "speechApplyDebounceTimer",
|
|
3626
3491
|
"type": {
|
|
3627
|
-
"text": "
|
|
3628
|
-
}
|
|
3492
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3493
|
+
},
|
|
3494
|
+
"privacy": "private",
|
|
3495
|
+
"default": "null"
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"kind": "field",
|
|
3499
|
+
"name": "speechAvailable",
|
|
3500
|
+
"type": {
|
|
3501
|
+
"text": "boolean"
|
|
3502
|
+
},
|
|
3503
|
+
"readonly": true
|
|
3504
|
+
},
|
|
3505
|
+
{
|
|
3506
|
+
"kind": "field",
|
|
3507
|
+
"name": "criteriaChips",
|
|
3508
|
+
"type": {
|
|
3509
|
+
"text": "CriteriaChip[]"
|
|
3510
|
+
},
|
|
3511
|
+
"readonly": true
|
|
3629
3512
|
},
|
|
3630
3513
|
{
|
|
3631
3514
|
"kind": "method",
|
|
3632
|
-
"name": "
|
|
3633
|
-
"privacy": "
|
|
3515
|
+
"name": "getFieldLabel",
|
|
3516
|
+
"privacy": "private",
|
|
3517
|
+
"return": {
|
|
3518
|
+
"type": {
|
|
3519
|
+
"text": "string"
|
|
3520
|
+
}
|
|
3521
|
+
},
|
|
3634
3522
|
"parameters": [
|
|
3635
3523
|
{
|
|
3636
|
-
"name": "
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "any"
|
|
3639
|
-
}
|
|
3640
|
-
},
|
|
3641
|
-
{
|
|
3642
|
-
"name": "newValue",
|
|
3524
|
+
"name": "fieldName",
|
|
3643
3525
|
"type": {
|
|
3644
|
-
"text": "
|
|
3526
|
+
"text": "string"
|
|
3645
3527
|
}
|
|
3646
3528
|
}
|
|
3647
3529
|
]
|
|
3648
3530
|
},
|
|
3649
3531
|
{
|
|
3650
3532
|
"kind": "method",
|
|
3651
|
-
"name": "
|
|
3652
|
-
"
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3533
|
+
"name": "toggleCriteriaView",
|
|
3534
|
+
"return": {
|
|
3535
|
+
"type": {
|
|
3536
|
+
"text": "void"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3657
3539
|
},
|
|
3658
3540
|
{
|
|
3659
3541
|
"kind": "method",
|
|
3660
|
-
"name": "
|
|
3542
|
+
"name": "removeChip",
|
|
3543
|
+
"return": {
|
|
3544
|
+
"type": {
|
|
3545
|
+
"text": "void"
|
|
3546
|
+
}
|
|
3547
|
+
},
|
|
3661
3548
|
"parameters": [
|
|
3662
3549
|
{
|
|
3663
|
-
"name": "
|
|
3550
|
+
"name": "groupIndex",
|
|
3664
3551
|
"type": {
|
|
3665
|
-
"text": "
|
|
3552
|
+
"text": "number"
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"name": "clauseIndex",
|
|
3557
|
+
"type": {
|
|
3558
|
+
"text": "number"
|
|
3666
3559
|
}
|
|
3667
3560
|
}
|
|
3668
3561
|
]
|
|
3669
3562
|
},
|
|
3670
3563
|
{
|
|
3671
|
-
"kind": "
|
|
3672
|
-
"name": "
|
|
3673
|
-
"
|
|
3674
|
-
"
|
|
3675
|
-
|
|
3676
|
-
|
|
3564
|
+
"kind": "method",
|
|
3565
|
+
"name": "clearChips",
|
|
3566
|
+
"return": {
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "void"
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3677
3571
|
},
|
|
3678
3572
|
{
|
|
3679
|
-
"kind": "
|
|
3680
|
-
"name": "
|
|
3681
|
-
"readonly": true
|
|
3573
|
+
"kind": "method",
|
|
3574
|
+
"name": "handleSubmit"
|
|
3682
3575
|
},
|
|
3683
3576
|
{
|
|
3684
3577
|
"kind": "method",
|
|
3685
|
-
"name": "
|
|
3686
|
-
"parameters": [
|
|
3687
|
-
{
|
|
3688
|
-
"name": "name",
|
|
3689
|
-
"type": {
|
|
3690
|
-
"text": "string | ((rowData: any) => string)"
|
|
3691
|
-
}
|
|
3692
|
-
}
|
|
3693
|
-
]
|
|
3578
|
+
"name": "handleBlur"
|
|
3694
3579
|
},
|
|
3695
3580
|
{
|
|
3696
3581
|
"kind": "method",
|
|
3697
|
-
"name": "
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3582
|
+
"name": "clear"
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
"kind": "method",
|
|
3586
|
+
"name": "toggleSpeechInput"
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
"kind": "method",
|
|
3590
|
+
"name": "clearSpeechApplyDebounce",
|
|
3591
|
+
"privacy": "private"
|
|
3706
3592
|
},
|
|
3707
3593
|
{
|
|
3708
3594
|
"kind": "field",
|
|
@@ -3816,115 +3702,154 @@
|
|
|
3816
3702
|
}
|
|
3817
3703
|
}
|
|
3818
3704
|
],
|
|
3819
|
-
"
|
|
3820
|
-
{
|
|
3821
|
-
"name": "is-vertical",
|
|
3822
|
-
"type": {
|
|
3823
|
-
"text": "boolean"
|
|
3824
|
-
},
|
|
3825
|
-
"default": "false",
|
|
3826
|
-
"fieldName": "isVertical"
|
|
3827
|
-
},
|
|
3828
|
-
{
|
|
3829
|
-
"name": "add-default-actions",
|
|
3830
|
-
"type": {
|
|
3831
|
-
"text": "boolean"
|
|
3832
|
-
},
|
|
3833
|
-
"default": "true",
|
|
3834
|
-
"fieldName": "addDefaultActions"
|
|
3835
|
-
},
|
|
3836
|
-
{
|
|
3837
|
-
"name": "auto-close-on-action",
|
|
3838
|
-
"type": {
|
|
3839
|
-
"text": "boolean"
|
|
3840
|
-
},
|
|
3841
|
-
"default": "true",
|
|
3842
|
-
"fieldName": "autoCloseOnAction"
|
|
3843
|
-
},
|
|
3705
|
+
"events": [
|
|
3844
3706
|
{
|
|
3845
|
-
"
|
|
3846
|
-
"
|
|
3847
|
-
"text": "string"
|
|
3848
|
-
},
|
|
3849
|
-
"default": "'Actions'",
|
|
3850
|
-
"fieldName": "name"
|
|
3707
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3708
|
+
"name": "criteria-changed"
|
|
3851
3709
|
},
|
|
3852
3710
|
{
|
|
3853
|
-
"
|
|
3854
|
-
"
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
"fieldName": "open"
|
|
3859
|
-
},
|
|
3711
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3712
|
+
"name": "validation-errors"
|
|
3713
|
+
}
|
|
3714
|
+
],
|
|
3715
|
+
"attributes": [
|
|
3860
3716
|
{
|
|
3861
|
-
"name": "
|
|
3717
|
+
"name": "placeholder",
|
|
3862
3718
|
"type": {
|
|
3863
3719
|
"text": "string"
|
|
3864
3720
|
},
|
|
3865
|
-
"
|
|
3866
|
-
|
|
3867
|
-
{
|
|
3868
|
-
"name": "hide-disabled",
|
|
3869
|
-
"type": {
|
|
3870
|
-
"text": "boolean"
|
|
3871
|
-
},
|
|
3872
|
-
"default": "false",
|
|
3873
|
-
"fieldName": "hideDisabled"
|
|
3721
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3722
|
+
"fieldName": "placeholder"
|
|
3874
3723
|
},
|
|
3875
3724
|
{
|
|
3876
|
-
"name": "hide-menu-single-option",
|
|
3877
3725
|
"type": {
|
|
3878
3726
|
"text": "boolean"
|
|
3879
3727
|
},
|
|
3880
|
-
"
|
|
3881
|
-
"fieldName": "hideMenuSingleOption"
|
|
3728
|
+
"fieldName": "disabled"
|
|
3882
3729
|
}
|
|
3883
3730
|
],
|
|
3884
3731
|
"superclass": {
|
|
3885
3732
|
"name": "FoundationElement",
|
|
3886
3733
|
"package": "@microsoft/fast-foundation"
|
|
3887
3734
|
},
|
|
3888
|
-
"tagName": "%%prefix%%-
|
|
3735
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3889
3736
|
"customElement": true
|
|
3890
3737
|
},
|
|
3891
3738
|
{
|
|
3892
3739
|
"kind": "variable",
|
|
3893
|
-
"name": "
|
|
3894
|
-
"
|
|
3895
|
-
|
|
3740
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3741
|
+
"type": {
|
|
3742
|
+
"text": "ShadowRootInit"
|
|
3743
|
+
},
|
|
3744
|
+
"default": "undefined"
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
"kind": "variable",
|
|
3748
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3749
|
+
"type": {
|
|
3750
|
+
"text": "object"
|
|
3751
|
+
},
|
|
3752
|
+
"default": "{}"
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"kind": "variable",
|
|
3756
|
+
"name": "foundationAiCriteriaSearch"
|
|
3896
3757
|
}
|
|
3897
3758
|
],
|
|
3898
3759
|
"exports": [
|
|
3899
3760
|
{
|
|
3900
3761
|
"kind": "js",
|
|
3901
|
-
"name": "
|
|
3762
|
+
"name": "AiCriteriaSearch",
|
|
3902
3763
|
"declaration": {
|
|
3903
|
-
"name": "
|
|
3904
|
-
"module": "src/
|
|
3764
|
+
"name": "AiCriteriaSearch",
|
|
3765
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3905
3766
|
}
|
|
3906
3767
|
},
|
|
3907
3768
|
{
|
|
3908
3769
|
"kind": "js",
|
|
3909
|
-
"name": "
|
|
3770
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3910
3771
|
"declaration": {
|
|
3911
|
-
"name": "
|
|
3912
|
-
"module": "src/
|
|
3772
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3773
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3774
|
+
}
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"kind": "js",
|
|
3778
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3779
|
+
"declaration": {
|
|
3780
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3781
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3782
|
+
}
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
"kind": "js",
|
|
3786
|
+
"name": "foundationAiCriteriaSearch",
|
|
3787
|
+
"declaration": {
|
|
3788
|
+
"name": "foundationAiCriteriaSearch",
|
|
3789
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3913
3790
|
}
|
|
3914
3791
|
}
|
|
3915
3792
|
]
|
|
3916
3793
|
},
|
|
3917
3794
|
{
|
|
3918
3795
|
"kind": "javascript-module",
|
|
3919
|
-
"path": "src/
|
|
3796
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3920
3797
|
"declarations": [],
|
|
3921
3798
|
"exports": [
|
|
3799
|
+
{
|
|
3800
|
+
"kind": "js",
|
|
3801
|
+
"name": "AiCriteriaSearch",
|
|
3802
|
+
"declaration": {
|
|
3803
|
+
"name": "AiCriteriaSearch",
|
|
3804
|
+
"module": "./ai-criteria-search"
|
|
3805
|
+
}
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
"kind": "js",
|
|
3809
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3810
|
+
"declaration": {
|
|
3811
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3812
|
+
"module": "./ai-criteria-search"
|
|
3813
|
+
}
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
"kind": "js",
|
|
3817
|
+
"name": "foundationAiCriteriaSearch",
|
|
3818
|
+
"declaration": {
|
|
3819
|
+
"name": "foundationAiCriteriaSearch",
|
|
3820
|
+
"module": "./ai-criteria-search"
|
|
3821
|
+
}
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
"kind": "js",
|
|
3825
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3826
|
+
"declaration": {
|
|
3827
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3828
|
+
"module": "./ai-criteria-search"
|
|
3829
|
+
}
|
|
3830
|
+
},
|
|
3831
|
+
{
|
|
3832
|
+
"kind": "js",
|
|
3833
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3834
|
+
"declaration": {
|
|
3835
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3836
|
+
"module": "./ai-criteria-search.styles"
|
|
3837
|
+
}
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"kind": "js",
|
|
3841
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3842
|
+
"declaration": {
|
|
3843
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3844
|
+
"module": "./ai-criteria-search.template"
|
|
3845
|
+
}
|
|
3846
|
+
},
|
|
3922
3847
|
{
|
|
3923
3848
|
"kind": "js",
|
|
3924
3849
|
"name": "*",
|
|
3925
3850
|
"declaration": {
|
|
3926
3851
|
"name": "*",
|
|
3927
|
-
"package": "./
|
|
3852
|
+
"package": "./validation/criteria-ir"
|
|
3928
3853
|
}
|
|
3929
3854
|
},
|
|
3930
3855
|
{
|
|
@@ -3932,7 +3857,7 @@
|
|
|
3932
3857
|
"name": "*",
|
|
3933
3858
|
"declaration": {
|
|
3934
3859
|
"name": "*",
|
|
3935
|
-
"package": "./
|
|
3860
|
+
"package": "./validation/operator-map"
|
|
3936
3861
|
}
|
|
3937
3862
|
},
|
|
3938
3863
|
{
|
|
@@ -3940,7 +3865,82 @@
|
|
|
3940
3865
|
"name": "*",
|
|
3941
3866
|
"declaration": {
|
|
3942
3867
|
"name": "*",
|
|
3943
|
-
"package": "./
|
|
3868
|
+
"package": "./validation/schema-validator"
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
]
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"kind": "javascript-module",
|
|
3875
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3876
|
+
"declarations": [
|
|
3877
|
+
{
|
|
3878
|
+
"kind": "function",
|
|
3879
|
+
"name": "formatValidationErrors",
|
|
3880
|
+
"return": {
|
|
3881
|
+
"type": {
|
|
3882
|
+
"text": "string"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
"parameters": [
|
|
3886
|
+
{
|
|
3887
|
+
"name": "errors",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "ValidationError[]"
|
|
3890
|
+
}
|
|
3891
|
+
}
|
|
3892
|
+
],
|
|
3893
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
"kind": "function",
|
|
3897
|
+
"name": "showCriteriaError",
|
|
3898
|
+
"return": {
|
|
3899
|
+
"type": {
|
|
3900
|
+
"text": "void"
|
|
3901
|
+
}
|
|
3902
|
+
},
|
|
3903
|
+
"parameters": [
|
|
3904
|
+
{
|
|
3905
|
+
"name": "title",
|
|
3906
|
+
"type": {
|
|
3907
|
+
"text": "string"
|
|
3908
|
+
},
|
|
3909
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"name": "body",
|
|
3913
|
+
"type": {
|
|
3914
|
+
"text": "string"
|
|
3915
|
+
},
|
|
3916
|
+
"description": "Error message to display"
|
|
3917
|
+
},
|
|
3918
|
+
{
|
|
3919
|
+
"name": "tagName",
|
|
3920
|
+
"type": {
|
|
3921
|
+
"text": "string"
|
|
3922
|
+
},
|
|
3923
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3924
|
+
}
|
|
3925
|
+
],
|
|
3926
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3927
|
+
}
|
|
3928
|
+
],
|
|
3929
|
+
"exports": [
|
|
3930
|
+
{
|
|
3931
|
+
"kind": "js",
|
|
3932
|
+
"name": "formatValidationErrors",
|
|
3933
|
+
"declaration": {
|
|
3934
|
+
"name": "formatValidationErrors",
|
|
3935
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3936
|
+
}
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
"kind": "js",
|
|
3940
|
+
"name": "showCriteriaError",
|
|
3941
|
+
"declaration": {
|
|
3942
|
+
"name": "showCriteriaError",
|
|
3943
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3944
3944
|
}
|
|
3945
3945
|
}
|
|
3946
3946
|
]
|
|
@@ -14965,7 +14965,24 @@
|
|
|
14965
14965
|
"type": {
|
|
14966
14966
|
"text": "string"
|
|
14967
14967
|
},
|
|
14968
|
-
"default": "'en-US'"
|
|
14968
|
+
"default": "'en-US'"
|
|
14969
|
+
},
|
|
14970
|
+
{
|
|
14971
|
+
"kind": "method",
|
|
14972
|
+
"name": "langChanged"
|
|
14973
|
+
},
|
|
14974
|
+
{
|
|
14975
|
+
"kind": "field",
|
|
14976
|
+
"name": "useLocaleFormat",
|
|
14977
|
+
"type": {
|
|
14978
|
+
"text": "boolean"
|
|
14979
|
+
},
|
|
14980
|
+
"default": "false",
|
|
14981
|
+
"attribute": "use-locale-format"
|
|
14982
|
+
},
|
|
14983
|
+
{
|
|
14984
|
+
"kind": "method",
|
|
14985
|
+
"name": "useLocaleFormatChanged"
|
|
14969
14986
|
},
|
|
14970
14987
|
{
|
|
14971
14988
|
"kind": "field",
|
|
@@ -15018,6 +15035,23 @@
|
|
|
15018
15035
|
},
|
|
15019
15036
|
"attribute": "label"
|
|
15020
15037
|
},
|
|
15038
|
+
{
|
|
15039
|
+
"kind": "field",
|
|
15040
|
+
"name": "allowEmpty",
|
|
15041
|
+
"type": {
|
|
15042
|
+
"text": "boolean"
|
|
15043
|
+
},
|
|
15044
|
+
"default": "false",
|
|
15045
|
+
"attribute": "allow-empty"
|
|
15046
|
+
},
|
|
15047
|
+
{
|
|
15048
|
+
"kind": "field",
|
|
15049
|
+
"name": "placeholder",
|
|
15050
|
+
"type": {
|
|
15051
|
+
"text": "string"
|
|
15052
|
+
},
|
|
15053
|
+
"attribute": "placeholder"
|
|
15054
|
+
},
|
|
15021
15055
|
{
|
|
15022
15056
|
"kind": "field",
|
|
15023
15057
|
"name": "value",
|
|
@@ -15067,6 +15101,101 @@
|
|
|
15067
15101
|
"text": "number"
|
|
15068
15102
|
}
|
|
15069
15103
|
},
|
|
15104
|
+
{
|
|
15105
|
+
"kind": "method",
|
|
15106
|
+
"name": "clear",
|
|
15107
|
+
"privacy": "public",
|
|
15108
|
+
"return": {
|
|
15109
|
+
"type": {
|
|
15110
|
+
"text": "void"
|
|
15111
|
+
}
|
|
15112
|
+
},
|
|
15113
|
+
"description": "Clears the selected date (only when `allow-empty` is enabled)."
|
|
15114
|
+
},
|
|
15115
|
+
{
|
|
15116
|
+
"kind": "method",
|
|
15117
|
+
"name": "applyLocaleFormat",
|
|
15118
|
+
"privacy": "private",
|
|
15119
|
+
"return": {
|
|
15120
|
+
"type": {
|
|
15121
|
+
"text": "void"
|
|
15122
|
+
}
|
|
15123
|
+
}
|
|
15124
|
+
},
|
|
15125
|
+
{
|
|
15126
|
+
"kind": "method",
|
|
15127
|
+
"name": "initializeEmpty",
|
|
15128
|
+
"privacy": "private",
|
|
15129
|
+
"return": {
|
|
15130
|
+
"type": {
|
|
15131
|
+
"text": "void"
|
|
15132
|
+
}
|
|
15133
|
+
}
|
|
15134
|
+
},
|
|
15135
|
+
{
|
|
15136
|
+
"kind": "method",
|
|
15137
|
+
"name": "initializeWithValue",
|
|
15138
|
+
"privacy": "private",
|
|
15139
|
+
"return": {
|
|
15140
|
+
"type": {
|
|
15141
|
+
"text": "void"
|
|
15142
|
+
}
|
|
15143
|
+
},
|
|
15144
|
+
"parameters": [
|
|
15145
|
+
{
|
|
15146
|
+
"name": "dateString",
|
|
15147
|
+
"type": {
|
|
15148
|
+
"text": "string"
|
|
15149
|
+
}
|
|
15150
|
+
}
|
|
15151
|
+
]
|
|
15152
|
+
},
|
|
15153
|
+
{
|
|
15154
|
+
"kind": "method",
|
|
15155
|
+
"name": "initializeWithDefaultDate",
|
|
15156
|
+
"privacy": "private",
|
|
15157
|
+
"return": {
|
|
15158
|
+
"type": {
|
|
15159
|
+
"text": "void"
|
|
15160
|
+
}
|
|
15161
|
+
}
|
|
15162
|
+
},
|
|
15163
|
+
{
|
|
15164
|
+
"kind": "method",
|
|
15165
|
+
"name": "applyValue",
|
|
15166
|
+
"privacy": "private",
|
|
15167
|
+
"return": {
|
|
15168
|
+
"type": {
|
|
15169
|
+
"text": "void"
|
|
15170
|
+
}
|
|
15171
|
+
},
|
|
15172
|
+
"parameters": [
|
|
15173
|
+
{
|
|
15174
|
+
"name": "dateString",
|
|
15175
|
+
"type": {
|
|
15176
|
+
"text": "string"
|
|
15177
|
+
}
|
|
15178
|
+
}
|
|
15179
|
+
]
|
|
15180
|
+
},
|
|
15181
|
+
{
|
|
15182
|
+
"kind": "method",
|
|
15183
|
+
"name": "clearToEmpty",
|
|
15184
|
+
"privacy": "private",
|
|
15185
|
+
"return": {
|
|
15186
|
+
"type": {
|
|
15187
|
+
"text": "void"
|
|
15188
|
+
}
|
|
15189
|
+
},
|
|
15190
|
+
"parameters": [
|
|
15191
|
+
{
|
|
15192
|
+
"name": "emitEvent",
|
|
15193
|
+
"type": {
|
|
15194
|
+
"text": "boolean"
|
|
15195
|
+
}
|
|
15196
|
+
}
|
|
15197
|
+
]
|
|
15198
|
+
},
|
|
15070
15199
|
{
|
|
15071
15200
|
"kind": "method",
|
|
15072
15201
|
"name": "updateHeaderText",
|
|
@@ -15286,6 +15415,15 @@
|
|
|
15286
15415
|
"fieldName": "format",
|
|
15287
15416
|
"description": "date format that will be displayed."
|
|
15288
15417
|
},
|
|
15418
|
+
{
|
|
15419
|
+
"name": "use-locale-format",
|
|
15420
|
+
"type": {
|
|
15421
|
+
"text": "boolean"
|
|
15422
|
+
},
|
|
15423
|
+
"default": "false",
|
|
15424
|
+
"fieldName": "useLocaleFormat",
|
|
15425
|
+
"description": "when true, `format` is set from dayjs locale `L`. Uses the browser locale (`navigator.language`) unless `lang` is set on the element."
|
|
15426
|
+
},
|
|
15289
15427
|
{
|
|
15290
15428
|
"name": "inline-calendar",
|
|
15291
15429
|
"type": {
|
|
@@ -15321,6 +15459,23 @@
|
|
|
15321
15459
|
"fieldName": "label",
|
|
15322
15460
|
"description": "the label that will be displayed next to the date input text field"
|
|
15323
15461
|
},
|
|
15462
|
+
{
|
|
15463
|
+
"name": "allow-empty",
|
|
15464
|
+
"type": {
|
|
15465
|
+
"text": "boolean"
|
|
15466
|
+
},
|
|
15467
|
+
"default": "false",
|
|
15468
|
+
"fieldName": "allowEmpty",
|
|
15469
|
+
"description": "when true, no initial date is selected; the input shows a placeholder until the user picks a date."
|
|
15470
|
+
},
|
|
15471
|
+
{
|
|
15472
|
+
"name": "placeholder",
|
|
15473
|
+
"type": {
|
|
15474
|
+
"text": "string"
|
|
15475
|
+
},
|
|
15476
|
+
"fieldName": "placeholder",
|
|
15477
|
+
"description": "hint shown when allow-empty is set and no date is selected. Defaults from `format` (e.g. DD/MM/YYYY → dd/mm/yyyy)."
|
|
15478
|
+
},
|
|
15324
15479
|
{
|
|
15325
15480
|
"name": "value",
|
|
15326
15481
|
"type": {
|
|
@@ -15346,6 +15501,15 @@
|
|
|
15346
15501
|
"default": "'en-US'",
|
|
15347
15502
|
"fieldName": "lang"
|
|
15348
15503
|
},
|
|
15504
|
+
{
|
|
15505
|
+
"name": "use-locale-format",
|
|
15506
|
+
"type": {
|
|
15507
|
+
"text": "boolean"
|
|
15508
|
+
},
|
|
15509
|
+
"default": "false",
|
|
15510
|
+
"attribute": "use-locale-format",
|
|
15511
|
+
"fieldName": "useLocaleFormat"
|
|
15512
|
+
},
|
|
15349
15513
|
{
|
|
15350
15514
|
"name": "visible",
|
|
15351
15515
|
"type": {
|
|
@@ -15389,6 +15553,23 @@
|
|
|
15389
15553
|
"attribute": "label",
|
|
15390
15554
|
"fieldName": "label"
|
|
15391
15555
|
},
|
|
15556
|
+
{
|
|
15557
|
+
"name": "allow-empty",
|
|
15558
|
+
"type": {
|
|
15559
|
+
"text": "boolean"
|
|
15560
|
+
},
|
|
15561
|
+
"default": "false",
|
|
15562
|
+
"attribute": "allow-empty",
|
|
15563
|
+
"fieldName": "allowEmpty"
|
|
15564
|
+
},
|
|
15565
|
+
{
|
|
15566
|
+
"name": "placeholder",
|
|
15567
|
+
"type": {
|
|
15568
|
+
"text": "string"
|
|
15569
|
+
},
|
|
15570
|
+
"attribute": "placeholder",
|
|
15571
|
+
"fieldName": "placeholder"
|
|
15572
|
+
},
|
|
15392
15573
|
{
|
|
15393
15574
|
"name": "value",
|
|
15394
15575
|
"type": {
|
|
@@ -15447,6 +15628,140 @@
|
|
|
15447
15628
|
}
|
|
15448
15629
|
]
|
|
15449
15630
|
},
|
|
15631
|
+
{
|
|
15632
|
+
"kind": "javascript-module",
|
|
15633
|
+
"path": "src/date-picker/date-picker.util.ts",
|
|
15634
|
+
"declarations": [
|
|
15635
|
+
{
|
|
15636
|
+
"kind": "function",
|
|
15637
|
+
"name": "resolveDayjsLocale",
|
|
15638
|
+
"return": {
|
|
15639
|
+
"type": {
|
|
15640
|
+
"text": "string"
|
|
15641
|
+
}
|
|
15642
|
+
},
|
|
15643
|
+
"parameters": [
|
|
15644
|
+
{
|
|
15645
|
+
"name": "lang",
|
|
15646
|
+
"type": {
|
|
15647
|
+
"text": "string"
|
|
15648
|
+
}
|
|
15649
|
+
}
|
|
15650
|
+
],
|
|
15651
|
+
"description": "Maps BCP-47 tags to dayjs locale names (dayjs provides `en`, `en-gb`, not `en-US`).",
|
|
15652
|
+
"privacy": "public"
|
|
15653
|
+
},
|
|
15654
|
+
{
|
|
15655
|
+
"kind": "function",
|
|
15656
|
+
"name": "getBrowserLocale",
|
|
15657
|
+
"return": {
|
|
15658
|
+
"type": {
|
|
15659
|
+
"text": "string"
|
|
15660
|
+
}
|
|
15661
|
+
},
|
|
15662
|
+
"description": "Browser BCP-47 locale (e.g. `en-GB`), or `en` when unavailable (SSR/tests).",
|
|
15663
|
+
"privacy": "public"
|
|
15664
|
+
},
|
|
15665
|
+
{
|
|
15666
|
+
"kind": "function",
|
|
15667
|
+
"name": "getDisplayFormatForLang",
|
|
15668
|
+
"return": {
|
|
15669
|
+
"type": {
|
|
15670
|
+
"text": "string"
|
|
15671
|
+
}
|
|
15672
|
+
},
|
|
15673
|
+
"parameters": [
|
|
15674
|
+
{
|
|
15675
|
+
"name": "lang",
|
|
15676
|
+
"default": "'en'",
|
|
15677
|
+
"type": {
|
|
15678
|
+
"text": "string"
|
|
15679
|
+
}
|
|
15680
|
+
}
|
|
15681
|
+
],
|
|
15682
|
+
"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.",
|
|
15683
|
+
"privacy": "public"
|
|
15684
|
+
},
|
|
15685
|
+
{
|
|
15686
|
+
"kind": "function",
|
|
15687
|
+
"name": "formatToPlaceholder",
|
|
15688
|
+
"return": {
|
|
15689
|
+
"type": {
|
|
15690
|
+
"text": "string"
|
|
15691
|
+
}
|
|
15692
|
+
},
|
|
15693
|
+
"parameters": [
|
|
15694
|
+
{
|
|
15695
|
+
"name": "format",
|
|
15696
|
+
"type": {
|
|
15697
|
+
"text": "string"
|
|
15698
|
+
}
|
|
15699
|
+
}
|
|
15700
|
+
],
|
|
15701
|
+
"description": "Maps a dayjs-style display format to a lowercase placeholder hint (e.g. DD/MM/YYYY → dd/mm/yyyy).",
|
|
15702
|
+
"privacy": "public"
|
|
15703
|
+
},
|
|
15704
|
+
{
|
|
15705
|
+
"kind": "function",
|
|
15706
|
+
"name": "hasDateValue",
|
|
15707
|
+
"return": {
|
|
15708
|
+
"type": {
|
|
15709
|
+
"text": "boolean"
|
|
15710
|
+
}
|
|
15711
|
+
},
|
|
15712
|
+
"parameters": [
|
|
15713
|
+
{
|
|
15714
|
+
"name": "value",
|
|
15715
|
+
"type": {
|
|
15716
|
+
"text": "string | null | undefined"
|
|
15717
|
+
}
|
|
15718
|
+
}
|
|
15719
|
+
]
|
|
15720
|
+
}
|
|
15721
|
+
],
|
|
15722
|
+
"exports": [
|
|
15723
|
+
{
|
|
15724
|
+
"kind": "js",
|
|
15725
|
+
"name": "resolveDayjsLocale",
|
|
15726
|
+
"declaration": {
|
|
15727
|
+
"name": "resolveDayjsLocale",
|
|
15728
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15729
|
+
}
|
|
15730
|
+
},
|
|
15731
|
+
{
|
|
15732
|
+
"kind": "js",
|
|
15733
|
+
"name": "getBrowserLocale",
|
|
15734
|
+
"declaration": {
|
|
15735
|
+
"name": "getBrowserLocale",
|
|
15736
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15737
|
+
}
|
|
15738
|
+
},
|
|
15739
|
+
{
|
|
15740
|
+
"kind": "js",
|
|
15741
|
+
"name": "getDisplayFormatForLang",
|
|
15742
|
+
"declaration": {
|
|
15743
|
+
"name": "getDisplayFormatForLang",
|
|
15744
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15745
|
+
}
|
|
15746
|
+
},
|
|
15747
|
+
{
|
|
15748
|
+
"kind": "js",
|
|
15749
|
+
"name": "formatToPlaceholder",
|
|
15750
|
+
"declaration": {
|
|
15751
|
+
"name": "formatToPlaceholder",
|
|
15752
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15753
|
+
}
|
|
15754
|
+
},
|
|
15755
|
+
{
|
|
15756
|
+
"kind": "js",
|
|
15757
|
+
"name": "hasDateValue",
|
|
15758
|
+
"declaration": {
|
|
15759
|
+
"name": "hasDateValue",
|
|
15760
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15761
|
+
}
|
|
15762
|
+
}
|
|
15763
|
+
]
|
|
15764
|
+
},
|
|
15450
15765
|
{
|
|
15451
15766
|
"kind": "javascript-module",
|
|
15452
15767
|
"path": "src/date-picker/day.ts",
|
|
@@ -15720,6 +16035,14 @@
|
|
|
15720
16035
|
"name": "*",
|
|
15721
16036
|
"package": "./date-picker"
|
|
15722
16037
|
}
|
|
16038
|
+
},
|
|
16039
|
+
{
|
|
16040
|
+
"kind": "js",
|
|
16041
|
+
"name": "*",
|
|
16042
|
+
"declaration": {
|
|
16043
|
+
"name": "*",
|
|
16044
|
+
"package": "./date-picker.util"
|
|
16045
|
+
}
|
|
15723
16046
|
}
|
|
15724
16047
|
]
|
|
15725
16048
|
},
|