@genesislcap/foundation-ui 15.30.0 → 15.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +966 -966
- package/dist/dts/react.d.ts +14 -14
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +18 -18
|
@@ -1495,34 +1495,11 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1498
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1499
1499
|
"declarations": [
|
|
1500
1500
|
{
|
|
1501
1501
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1503
|
-
"return": {
|
|
1504
|
-
"type": {
|
|
1505
|
-
"text": "ElementStyles"
|
|
1506
|
-
}
|
|
1507
|
-
},
|
|
1508
|
-
"parameters": [
|
|
1509
|
-
{
|
|
1510
|
-
"name": "context",
|
|
1511
|
-
"type": {
|
|
1512
|
-
"text": "ElementDefinitionContext"
|
|
1513
|
-
}
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"name": "definition",
|
|
1517
|
-
"type": {
|
|
1518
|
-
"text": "FoundationElementDefinition"
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
]
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"kind": "function",
|
|
1525
|
-
"name": "foundationActionsMenuStyles",
|
|
1502
|
+
"name": "foundationAccordionItemStyles",
|
|
1526
1503
|
"return": {
|
|
1527
1504
|
"type": {
|
|
1528
1505
|
"text": "ElementStyles"
|
|
@@ -1547,282 +1524,157 @@
|
|
|
1547
1524
|
"exports": [
|
|
1548
1525
|
{
|
|
1549
1526
|
"kind": "js",
|
|
1550
|
-
"name": "
|
|
1551
|
-
"declaration": {
|
|
1552
|
-
"name": "actionsMenuBaseStyles",
|
|
1553
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "js",
|
|
1558
|
-
"name": "foundationActionsMenuStyles",
|
|
1527
|
+
"name": "foundationAccordionItemStyles",
|
|
1559
1528
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/
|
|
1529
|
+
"name": "foundationAccordionItemStyles",
|
|
1530
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1562
1531
|
}
|
|
1563
1532
|
}
|
|
1564
1533
|
]
|
|
1565
1534
|
},
|
|
1566
1535
|
{
|
|
1567
1536
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/
|
|
1537
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1569
1538
|
"declarations": [
|
|
1570
1539
|
{
|
|
1571
1540
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1541
|
+
"name": "foundationAccordionItemTemplate",
|
|
1542
|
+
"return": {
|
|
1543
|
+
"type": {
|
|
1544
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1573
1547
|
"parameters": [
|
|
1574
1548
|
{
|
|
1575
|
-
"name": "
|
|
1549
|
+
"name": "context",
|
|
1576
1550
|
"type": {
|
|
1577
|
-
"text": "
|
|
1551
|
+
"text": "ElementDefinitionContext"
|
|
1578
1552
|
}
|
|
1579
|
-
}
|
|
1580
|
-
]
|
|
1581
|
-
},
|
|
1582
|
-
{
|
|
1583
|
-
"kind": "function",
|
|
1584
|
-
"name": "singleOptionTemplate",
|
|
1585
|
-
"parameters": [
|
|
1553
|
+
},
|
|
1586
1554
|
{
|
|
1587
|
-
"name": "
|
|
1555
|
+
"name": "definition",
|
|
1588
1556
|
"type": {
|
|
1589
|
-
"text": "
|
|
1557
|
+
"text": "FoundationElementDefinition"
|
|
1590
1558
|
}
|
|
1591
1559
|
}
|
|
1592
1560
|
]
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "variable",
|
|
1596
|
-
"name": "foundationActionsMenuTemplate",
|
|
1597
|
-
"type": {
|
|
1598
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1599
|
-
},
|
|
1600
|
-
"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`"
|
|
1601
1561
|
}
|
|
1602
1562
|
],
|
|
1603
1563
|
"exports": [
|
|
1604
1564
|
{
|
|
1605
1565
|
"kind": "js",
|
|
1606
|
-
"name": "
|
|
1607
|
-
"declaration": {
|
|
1608
|
-
"name": "menuTemplate",
|
|
1609
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1610
|
-
}
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"kind": "js",
|
|
1614
|
-
"name": "singleOptionTemplate",
|
|
1615
|
-
"declaration": {
|
|
1616
|
-
"name": "singleOptionTemplate",
|
|
1617
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1618
|
-
}
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"kind": "js",
|
|
1622
|
-
"name": "foundationActionsMenuTemplate",
|
|
1566
|
+
"name": "foundationAccordionItemTemplate",
|
|
1623
1567
|
"declaration": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/
|
|
1568
|
+
"name": "foundationAccordionItemTemplate",
|
|
1569
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1626
1570
|
}
|
|
1627
1571
|
}
|
|
1628
1572
|
]
|
|
1629
1573
|
},
|
|
1630
1574
|
{
|
|
1631
1575
|
"kind": "javascript-module",
|
|
1632
|
-
"path": "src/
|
|
1576
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1633
1577
|
"declarations": [
|
|
1634
1578
|
{
|
|
1635
1579
|
"kind": "class",
|
|
1636
1580
|
"description": "",
|
|
1637
|
-
"name": "
|
|
1638
|
-
"
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"kind": "field",
|
|
1648
|
-
"name": "isVertical",
|
|
1649
|
-
"type": {
|
|
1650
|
-
"text": "boolean"
|
|
1651
|
-
},
|
|
1652
|
-
"default": "false"
|
|
1653
|
-
},
|
|
1581
|
+
"name": "AccordionItem",
|
|
1582
|
+
"superclass": {
|
|
1583
|
+
"name": "FASTAccordionItem",
|
|
1584
|
+
"package": "@microsoft/fast-components"
|
|
1585
|
+
},
|
|
1586
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1587
|
+
"customElement": true,
|
|
1588
|
+
"attributes": [
|
|
1654
1589
|
{
|
|
1655
|
-
"
|
|
1656
|
-
"name": "addDefaultActions",
|
|
1590
|
+
"name": "heading-level",
|
|
1657
1591
|
"type": {
|
|
1658
|
-
"text": "
|
|
1592
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1659
1593
|
},
|
|
1660
|
-
"default": "
|
|
1594
|
+
"default": "2",
|
|
1595
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1596
|
+
"fieldName": "headinglevel",
|
|
1597
|
+
"inheritedFrom": {
|
|
1598
|
+
"name": "AccordionItem",
|
|
1599
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1600
|
+
}
|
|
1661
1601
|
},
|
|
1662
1602
|
{
|
|
1663
|
-
"kind": "field",
|
|
1664
|
-
"name": "autoCloseOnAction",
|
|
1665
1603
|
"type": {
|
|
1666
1604
|
"text": "boolean"
|
|
1667
1605
|
},
|
|
1668
|
-
"default": "
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
"
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
"text": "string"
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
{
|
|
1678
|
-
"kind": "field",
|
|
1679
|
-
"name": "definition",
|
|
1680
|
-
"type": {
|
|
1681
|
-
"text": "any"
|
|
1606
|
+
"default": "false",
|
|
1607
|
+
"description": "Expands or collapses the item.",
|
|
1608
|
+
"fieldName": "expanded",
|
|
1609
|
+
"inheritedFrom": {
|
|
1610
|
+
"name": "AccordionItem",
|
|
1611
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1682
1612
|
}
|
|
1683
1613
|
},
|
|
1684
1614
|
{
|
|
1685
|
-
"
|
|
1686
|
-
"name": "name",
|
|
1615
|
+
"name": "id",
|
|
1687
1616
|
"type": {
|
|
1688
1617
|
"text": "string"
|
|
1689
1618
|
},
|
|
1690
|
-
"
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
"type": {
|
|
1696
|
-
"text": "boolean"
|
|
1697
|
-
},
|
|
1698
|
-
"default": "false"
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
"kind": "field",
|
|
1702
|
-
"name": "buttonAppearance",
|
|
1703
|
-
"type": {
|
|
1704
|
-
"text": "string"
|
|
1619
|
+
"description": "The item ID",
|
|
1620
|
+
"fieldName": "id",
|
|
1621
|
+
"inheritedFrom": {
|
|
1622
|
+
"name": "AccordionItem",
|
|
1623
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1705
1624
|
}
|
|
1706
|
-
}
|
|
1625
|
+
}
|
|
1626
|
+
],
|
|
1627
|
+
"members": [
|
|
1707
1628
|
{
|
|
1708
1629
|
"kind": "field",
|
|
1709
|
-
"name": "
|
|
1630
|
+
"name": "headinglevel",
|
|
1710
1631
|
"type": {
|
|
1711
|
-
"text": "
|
|
1632
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1712
1633
|
},
|
|
1713
|
-
"
|
|
1634
|
+
"privacy": "public",
|
|
1635
|
+
"default": "2",
|
|
1636
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1637
|
+
"inheritedFrom": {
|
|
1638
|
+
"name": "AccordionItem",
|
|
1639
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1640
|
+
}
|
|
1714
1641
|
},
|
|
1715
1642
|
{
|
|
1716
1643
|
"kind": "field",
|
|
1717
|
-
"name": "
|
|
1644
|
+
"name": "expanded",
|
|
1718
1645
|
"type": {
|
|
1719
1646
|
"text": "boolean"
|
|
1720
1647
|
},
|
|
1721
|
-
"
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
"
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
"text": "ActionMenuItem"
|
|
1648
|
+
"privacy": "public",
|
|
1649
|
+
"default": "false",
|
|
1650
|
+
"description": "Expands or collapses the item.",
|
|
1651
|
+
"inheritedFrom": {
|
|
1652
|
+
"name": "AccordionItem",
|
|
1653
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1728
1654
|
}
|
|
1729
1655
|
},
|
|
1730
1656
|
{
|
|
1731
1657
|
"kind": "field",
|
|
1732
|
-
"name": "
|
|
1658
|
+
"name": "id",
|
|
1733
1659
|
"type": {
|
|
1734
|
-
"text": "
|
|
1660
|
+
"text": "string"
|
|
1661
|
+
},
|
|
1662
|
+
"privacy": "public",
|
|
1663
|
+
"description": "The item ID",
|
|
1664
|
+
"inheritedFrom": {
|
|
1665
|
+
"name": "AccordionItem",
|
|
1666
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1735
1667
|
}
|
|
1736
1668
|
},
|
|
1737
1669
|
{
|
|
1738
1670
|
"kind": "field",
|
|
1739
|
-
"name": "
|
|
1740
|
-
"
|
|
1741
|
-
|
|
1671
|
+
"name": "change",
|
|
1672
|
+
"privacy": "private",
|
|
1673
|
+
"inheritedFrom": {
|
|
1674
|
+
"name": "AccordionItem",
|
|
1675
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1742
1676
|
}
|
|
1743
1677
|
},
|
|
1744
|
-
{
|
|
1745
|
-
"kind": "method",
|
|
1746
|
-
"name": "updateMenuPosition",
|
|
1747
|
-
"privacy": "private"
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
"kind": "method",
|
|
1751
|
-
"name": "definitionChanged",
|
|
1752
|
-
"privacy": "protected",
|
|
1753
|
-
"parameters": [
|
|
1754
|
-
{
|
|
1755
|
-
"name": "oldValue",
|
|
1756
|
-
"type": {
|
|
1757
|
-
"text": "any"
|
|
1758
|
-
}
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
"name": "newValue",
|
|
1762
|
-
"type": {
|
|
1763
|
-
"text": "any"
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
]
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"kind": "method",
|
|
1770
|
-
"name": "openChanged",
|
|
1771
|
-
"privacy": "protected"
|
|
1772
|
-
},
|
|
1773
|
-
{
|
|
1774
|
-
"kind": "method",
|
|
1775
|
-
"name": "toggleActionsMenuVisibility"
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"kind": "method",
|
|
1779
|
-
"name": "onActionMenuItemClick",
|
|
1780
|
-
"parameters": [
|
|
1781
|
-
{
|
|
1782
|
-
"name": "callback",
|
|
1783
|
-
"type": {
|
|
1784
|
-
"text": "(rowData) => void | any"
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
]
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"kind": "field",
|
|
1791
|
-
"name": "allActions",
|
|
1792
|
-
"type": {
|
|
1793
|
-
"text": "ActionMenuItem[]"
|
|
1794
|
-
},
|
|
1795
|
-
"readonly": true
|
|
1796
|
-
},
|
|
1797
|
-
{
|
|
1798
|
-
"kind": "field",
|
|
1799
|
-
"name": "rowData",
|
|
1800
|
-
"readonly": true
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
"kind": "method",
|
|
1804
|
-
"name": "getLabel",
|
|
1805
|
-
"parameters": [
|
|
1806
|
-
{
|
|
1807
|
-
"name": "name",
|
|
1808
|
-
"type": {
|
|
1809
|
-
"text": "string | ((rowData: any) => string)"
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
]
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"kind": "method",
|
|
1816
|
-
"name": "getTemplate",
|
|
1817
|
-
"parameters": [
|
|
1818
|
-
{
|
|
1819
|
-
"name": "prefix",
|
|
1820
|
-
"type": {
|
|
1821
|
-
"text": "string"
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
]
|
|
1825
|
-
},
|
|
1826
1678
|
{
|
|
1827
1679
|
"kind": "field",
|
|
1828
1680
|
"name": "_presentation",
|
|
@@ -1935,107 +1787,78 @@
|
|
|
1935
1787
|
}
|
|
1936
1788
|
}
|
|
1937
1789
|
],
|
|
1938
|
-
"
|
|
1939
|
-
{
|
|
1940
|
-
"name": "is-vertical",
|
|
1941
|
-
"type": {
|
|
1942
|
-
"text": "boolean"
|
|
1943
|
-
},
|
|
1944
|
-
"default": "false",
|
|
1945
|
-
"fieldName": "isVertical"
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
"name": "add-default-actions",
|
|
1949
|
-
"type": {
|
|
1950
|
-
"text": "boolean"
|
|
1951
|
-
},
|
|
1952
|
-
"default": "true",
|
|
1953
|
-
"fieldName": "addDefaultActions"
|
|
1954
|
-
},
|
|
1955
|
-
{
|
|
1956
|
-
"name": "auto-close-on-action",
|
|
1957
|
-
"type": {
|
|
1958
|
-
"text": "boolean"
|
|
1959
|
-
},
|
|
1960
|
-
"default": "true",
|
|
1961
|
-
"fieldName": "autoCloseOnAction"
|
|
1962
|
-
},
|
|
1963
|
-
{
|
|
1964
|
-
"name": "name",
|
|
1965
|
-
"type": {
|
|
1966
|
-
"text": "string"
|
|
1967
|
-
},
|
|
1968
|
-
"default": "'Actions'",
|
|
1969
|
-
"fieldName": "name"
|
|
1970
|
-
},
|
|
1971
|
-
{
|
|
1972
|
-
"name": "open",
|
|
1973
|
-
"type": {
|
|
1974
|
-
"text": "boolean"
|
|
1975
|
-
},
|
|
1976
|
-
"default": "false",
|
|
1977
|
-
"fieldName": "open"
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"name": "buttonAppearance",
|
|
1981
|
-
"type": {
|
|
1982
|
-
"text": "string"
|
|
1983
|
-
},
|
|
1984
|
-
"fieldName": "buttonAppearance"
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
"name": "hide-disabled",
|
|
1988
|
-
"type": {
|
|
1989
|
-
"text": "boolean"
|
|
1990
|
-
},
|
|
1991
|
-
"default": "false",
|
|
1992
|
-
"fieldName": "hideDisabled"
|
|
1993
|
-
},
|
|
1790
|
+
"events": [
|
|
1994
1791
|
{
|
|
1995
|
-
"
|
|
1996
|
-
"
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
1792
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1793
|
+
"name": "change",
|
|
1794
|
+
"inheritedFrom": {
|
|
1795
|
+
"name": "AccordionItem",
|
|
1796
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1797
|
+
}
|
|
2001
1798
|
}
|
|
2002
|
-
]
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
1799
|
+
]
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"kind": "variable",
|
|
1803
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1804
|
+
"type": {
|
|
1805
|
+
"text": "ShadowRootInit"
|
|
2006
1806
|
},
|
|
2007
|
-
"
|
|
2008
|
-
"customElement": true
|
|
1807
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2009
1808
|
},
|
|
2010
1809
|
{
|
|
2011
1810
|
"kind": "variable",
|
|
2012
|
-
"name": "
|
|
2013
|
-
"
|
|
1811
|
+
"name": "defaultAccordionItemConfig",
|
|
1812
|
+
"type": {
|
|
1813
|
+
"text": "object"
|
|
1814
|
+
},
|
|
1815
|
+
"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}"
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"kind": "variable",
|
|
1819
|
+
"name": "foundationAccordionItem",
|
|
1820
|
+
"description": "The Foundation Accordion Item",
|
|
2014
1821
|
"privacy": "public"
|
|
2015
1822
|
}
|
|
2016
1823
|
],
|
|
2017
1824
|
"exports": [
|
|
2018
1825
|
{
|
|
2019
1826
|
"kind": "js",
|
|
2020
|
-
"name": "
|
|
1827
|
+
"name": "AccordionItem",
|
|
2021
1828
|
"declaration": {
|
|
2022
|
-
"name": "
|
|
2023
|
-
"module": "src/
|
|
1829
|
+
"name": "AccordionItem",
|
|
1830
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2024
1831
|
}
|
|
2025
1832
|
},
|
|
2026
1833
|
{
|
|
2027
1834
|
"kind": "js",
|
|
2028
|
-
"name": "
|
|
1835
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2029
1836
|
"declaration": {
|
|
2030
|
-
"name": "
|
|
2031
|
-
"module": "src/
|
|
1837
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1838
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1839
|
+
}
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"kind": "js",
|
|
1843
|
+
"name": "defaultAccordionItemConfig",
|
|
1844
|
+
"declaration": {
|
|
1845
|
+
"name": "defaultAccordionItemConfig",
|
|
1846
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"kind": "js",
|
|
1851
|
+
"name": "foundationAccordionItem",
|
|
1852
|
+
"declaration": {
|
|
1853
|
+
"name": "foundationAccordionItem",
|
|
1854
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2032
1855
|
}
|
|
2033
1856
|
}
|
|
2034
1857
|
]
|
|
2035
1858
|
},
|
|
2036
1859
|
{
|
|
2037
1860
|
"kind": "javascript-module",
|
|
2038
|
-
"path": "src/
|
|
1861
|
+
"path": "src/accordion-item/index.ts",
|
|
2039
1862
|
"declarations": [],
|
|
2040
1863
|
"exports": [
|
|
2041
1864
|
{
|
|
@@ -2043,7 +1866,7 @@
|
|
|
2043
1866
|
"name": "*",
|
|
2044
1867
|
"declaration": {
|
|
2045
1868
|
"name": "*",
|
|
2046
|
-
"package": "./
|
|
1869
|
+
"package": "./accordion-item.template"
|
|
2047
1870
|
}
|
|
2048
1871
|
},
|
|
2049
1872
|
{
|
|
@@ -2051,7 +1874,7 @@
|
|
|
2051
1874
|
"name": "*",
|
|
2052
1875
|
"declaration": {
|
|
2053
1876
|
"name": "*",
|
|
2054
|
-
"package": "./
|
|
1877
|
+
"package": "./accordion-item.styles"
|
|
2055
1878
|
}
|
|
2056
1879
|
},
|
|
2057
1880
|
{
|
|
@@ -2059,193 +1882,265 @@
|
|
|
2059
1882
|
"name": "*",
|
|
2060
1883
|
"declaration": {
|
|
2061
1884
|
"name": "*",
|
|
2062
|
-
"package": "./
|
|
1885
|
+
"package": "./accordion-item"
|
|
2063
1886
|
}
|
|
2064
1887
|
}
|
|
2065
1888
|
]
|
|
2066
1889
|
},
|
|
2067
1890
|
{
|
|
2068
1891
|
"kind": "javascript-module",
|
|
2069
|
-
"path": "src/
|
|
1892
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2070
1893
|
"declarations": [
|
|
2071
1894
|
{
|
|
2072
|
-
"kind": "
|
|
2073
|
-
"name": "
|
|
2074
|
-
"
|
|
2075
|
-
"type": {
|
|
2076
|
-
"text": "ElementStyles"
|
|
2077
|
-
}
|
|
2078
|
-
},
|
|
2079
|
-
"parameters": [
|
|
2080
|
-
{
|
|
2081
|
-
"name": "context",
|
|
2082
|
-
"type": {
|
|
2083
|
-
"text": "ElementDefinitionContext"
|
|
2084
|
-
}
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"name": "definition",
|
|
2088
|
-
"type": {
|
|
2089
|
-
"text": "FoundationElementDefinition"
|
|
2090
|
-
}
|
|
2091
|
-
}
|
|
2092
|
-
]
|
|
1895
|
+
"kind": "variable",
|
|
1896
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1897
|
+
"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`"
|
|
2093
1898
|
}
|
|
2094
1899
|
],
|
|
2095
1900
|
"exports": [
|
|
2096
1901
|
{
|
|
2097
1902
|
"kind": "js",
|
|
2098
|
-
"name": "
|
|
1903
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2099
1904
|
"declaration": {
|
|
2100
|
-
"name": "
|
|
2101
|
-
"module": "src/
|
|
1905
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1906
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2102
1907
|
}
|
|
2103
1908
|
}
|
|
2104
1909
|
]
|
|
2105
1910
|
},
|
|
2106
1911
|
{
|
|
2107
1912
|
"kind": "javascript-module",
|
|
2108
|
-
"path": "src/
|
|
1913
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2109
1914
|
"declarations": [
|
|
2110
1915
|
{
|
|
2111
|
-
"kind": "
|
|
2112
|
-
"name": "
|
|
2113
|
-
"
|
|
2114
|
-
"
|
|
2115
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2116
|
-
}
|
|
1916
|
+
"kind": "variable",
|
|
1917
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1918
|
+
"type": {
|
|
1919
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2117
1920
|
},
|
|
2118
|
-
"
|
|
2119
|
-
{
|
|
2120
|
-
"name": "context",
|
|
2121
|
-
"type": {
|
|
2122
|
-
"text": "ElementDefinitionContext"
|
|
2123
|
-
}
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
"name": "definition",
|
|
2127
|
-
"type": {
|
|
2128
|
-
"text": "FoundationElementDefinition"
|
|
2129
|
-
}
|
|
2130
|
-
}
|
|
2131
|
-
]
|
|
1921
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2132
1922
|
}
|
|
2133
1923
|
],
|
|
2134
1924
|
"exports": [
|
|
2135
1925
|
{
|
|
2136
1926
|
"kind": "js",
|
|
2137
|
-
"name": "
|
|
1927
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2138
1928
|
"declaration": {
|
|
2139
|
-
"name": "
|
|
2140
|
-
"module": "src/
|
|
1929
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1930
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2141
1931
|
}
|
|
2142
1932
|
}
|
|
2143
1933
|
]
|
|
2144
1934
|
},
|
|
2145
1935
|
{
|
|
2146
1936
|
"kind": "javascript-module",
|
|
2147
|
-
"path": "src/
|
|
1937
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2148
1938
|
"declarations": [
|
|
2149
1939
|
{
|
|
2150
1940
|
"kind": "class",
|
|
2151
|
-
"description": "",
|
|
2152
|
-
"name": "
|
|
2153
|
-
"
|
|
2154
|
-
"name": "FASTAccordionItem",
|
|
2155
|
-
"package": "@microsoft/fast-components"
|
|
2156
|
-
},
|
|
2157
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2158
|
-
"customElement": true,
|
|
2159
|
-
"attributes": [
|
|
1941
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
1942
|
+
"name": "AiCriteriaSearch",
|
|
1943
|
+
"members": [
|
|
2160
1944
|
{
|
|
2161
|
-
"
|
|
1945
|
+
"kind": "field",
|
|
1946
|
+
"name": "providerRegistry",
|
|
2162
1947
|
"type": {
|
|
2163
|
-
"text": "
|
|
2164
|
-
},
|
|
2165
|
-
"default": "2",
|
|
2166
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2167
|
-
"fieldName": "headinglevel",
|
|
2168
|
-
"inheritedFrom": {
|
|
2169
|
-
"name": "AccordionItem",
|
|
2170
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1948
|
+
"text": "AIProviderRegistry"
|
|
2171
1949
|
}
|
|
2172
1950
|
},
|
|
2173
1951
|
{
|
|
1952
|
+
"kind": "field",
|
|
1953
|
+
"name": "placeholder",
|
|
1954
|
+
"type": {
|
|
1955
|
+
"text": "string"
|
|
1956
|
+
},
|
|
1957
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
"kind": "field",
|
|
1961
|
+
"name": "disabled",
|
|
2174
1962
|
"type": {
|
|
2175
1963
|
"text": "boolean"
|
|
2176
|
-
},
|
|
2177
|
-
"default": "false",
|
|
2178
|
-
"description": "Expands or collapses the item.",
|
|
2179
|
-
"fieldName": "expanded",
|
|
2180
|
-
"inheritedFrom": {
|
|
2181
|
-
"name": "AccordionItem",
|
|
2182
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2183
1964
|
}
|
|
2184
1965
|
},
|
|
2185
1966
|
{
|
|
2186
|
-
"
|
|
1967
|
+
"kind": "field",
|
|
1968
|
+
"name": "inputValue",
|
|
2187
1969
|
"type": {
|
|
2188
1970
|
"text": "string"
|
|
2189
1971
|
},
|
|
2190
|
-
"
|
|
2191
|
-
|
|
2192
|
-
"inheritedFrom": {
|
|
2193
|
-
"name": "AccordionItem",
|
|
2194
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2195
|
-
}
|
|
2196
|
-
}
|
|
2197
|
-
],
|
|
2198
|
-
"members": [
|
|
1972
|
+
"default": "''"
|
|
1973
|
+
},
|
|
2199
1974
|
{
|
|
2200
1975
|
"kind": "field",
|
|
2201
|
-
"name": "
|
|
1976
|
+
"name": "isInterpreting",
|
|
2202
1977
|
"type": {
|
|
2203
|
-
"text": "
|
|
1978
|
+
"text": "boolean"
|
|
2204
1979
|
},
|
|
2205
|
-
"
|
|
2206
|
-
"default": "2",
|
|
2207
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2208
|
-
"inheritedFrom": {
|
|
2209
|
-
"name": "AccordionItem",
|
|
2210
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2211
|
-
}
|
|
1980
|
+
"default": "false"
|
|
2212
1981
|
},
|
|
2213
1982
|
{
|
|
2214
1983
|
"kind": "field",
|
|
2215
|
-
"name": "
|
|
1984
|
+
"name": "lastValidCriteria",
|
|
1985
|
+
"type": {
|
|
1986
|
+
"text": "string | null"
|
|
1987
|
+
},
|
|
1988
|
+
"default": "null"
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"kind": "field",
|
|
1992
|
+
"name": "activeGroups",
|
|
1993
|
+
"type": {
|
|
1994
|
+
"text": "CriteriaGroup[]"
|
|
1995
|
+
},
|
|
1996
|
+
"default": "[]"
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
"kind": "field",
|
|
2000
|
+
"name": "showingChips",
|
|
2216
2001
|
"type": {
|
|
2217
2002
|
"text": "boolean"
|
|
2218
2003
|
},
|
|
2219
|
-
"
|
|
2220
|
-
"default": "false",
|
|
2221
|
-
"description": "Expands or collapses the item.",
|
|
2222
|
-
"inheritedFrom": {
|
|
2223
|
-
"name": "AccordionItem",
|
|
2224
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2225
|
-
}
|
|
2004
|
+
"default": "false"
|
|
2226
2005
|
},
|
|
2227
2006
|
{
|
|
2228
2007
|
"kind": "field",
|
|
2229
|
-
"name": "
|
|
2008
|
+
"name": "fieldMetadata",
|
|
2230
2009
|
"type": {
|
|
2231
|
-
"text": "string"
|
|
2010
|
+
"text": "MetadataDetail[] | string[]"
|
|
2232
2011
|
},
|
|
2233
|
-
"
|
|
2234
|
-
"description": "The item ID",
|
|
2235
|
-
"inheritedFrom": {
|
|
2236
|
-
"name": "AccordionItem",
|
|
2237
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2238
|
-
}
|
|
2012
|
+
"default": "[]"
|
|
2239
2013
|
},
|
|
2240
2014
|
{
|
|
2241
2015
|
"kind": "field",
|
|
2242
|
-
"name": "
|
|
2016
|
+
"name": "isRecording",
|
|
2017
|
+
"type": {
|
|
2018
|
+
"text": "boolean"
|
|
2019
|
+
},
|
|
2020
|
+
"default": "false"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"kind": "field",
|
|
2024
|
+
"name": "textAreaRef",
|
|
2025
|
+
"type": {
|
|
2026
|
+
"text": "HTMLTextAreaElement"
|
|
2027
|
+
},
|
|
2028
|
+
"privacy": "public"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"kind": "field",
|
|
2032
|
+
"name": "stopRecording",
|
|
2033
|
+
"type": {
|
|
2034
|
+
"text": "(() => void) | null"
|
|
2035
|
+
},
|
|
2243
2036
|
"privacy": "private",
|
|
2244
|
-
"
|
|
2245
|
-
|
|
2246
|
-
|
|
2037
|
+
"default": "null"
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"kind": "field",
|
|
2041
|
+
"name": "speechApplyDebounceTimer",
|
|
2042
|
+
"type": {
|
|
2043
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2044
|
+
},
|
|
2045
|
+
"privacy": "private",
|
|
2046
|
+
"default": "null"
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"kind": "field",
|
|
2050
|
+
"name": "speechAvailable",
|
|
2051
|
+
"type": {
|
|
2052
|
+
"text": "boolean"
|
|
2053
|
+
},
|
|
2054
|
+
"readonly": true
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"kind": "field",
|
|
2058
|
+
"name": "criteriaChips",
|
|
2059
|
+
"type": {
|
|
2060
|
+
"text": "CriteriaChip[]"
|
|
2061
|
+
},
|
|
2062
|
+
"readonly": true
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"kind": "method",
|
|
2066
|
+
"name": "getFieldLabel",
|
|
2067
|
+
"privacy": "private",
|
|
2068
|
+
"return": {
|
|
2069
|
+
"type": {
|
|
2070
|
+
"text": "string"
|
|
2071
|
+
}
|
|
2072
|
+
},
|
|
2073
|
+
"parameters": [
|
|
2074
|
+
{
|
|
2075
|
+
"name": "fieldName",
|
|
2076
|
+
"type": {
|
|
2077
|
+
"text": "string"
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
]
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"kind": "method",
|
|
2084
|
+
"name": "toggleCriteriaView",
|
|
2085
|
+
"return": {
|
|
2086
|
+
"type": {
|
|
2087
|
+
"text": "void"
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "method",
|
|
2093
|
+
"name": "removeChip",
|
|
2094
|
+
"return": {
|
|
2095
|
+
"type": {
|
|
2096
|
+
"text": "void"
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
"parameters": [
|
|
2100
|
+
{
|
|
2101
|
+
"name": "groupIndex",
|
|
2102
|
+
"type": {
|
|
2103
|
+
"text": "number"
|
|
2104
|
+
}
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "clauseIndex",
|
|
2108
|
+
"type": {
|
|
2109
|
+
"text": "number"
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
]
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
"kind": "method",
|
|
2116
|
+
"name": "clearChips",
|
|
2117
|
+
"return": {
|
|
2118
|
+
"type": {
|
|
2119
|
+
"text": "void"
|
|
2120
|
+
}
|
|
2247
2121
|
}
|
|
2248
2122
|
},
|
|
2123
|
+
{
|
|
2124
|
+
"kind": "method",
|
|
2125
|
+
"name": "handleSubmit"
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"kind": "method",
|
|
2129
|
+
"name": "handleBlur"
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"kind": "method",
|
|
2133
|
+
"name": "clear"
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"kind": "method",
|
|
2137
|
+
"name": "toggleSpeechInput"
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"kind": "method",
|
|
2141
|
+
"name": "clearSpeechApplyDebounce",
|
|
2142
|
+
"privacy": "private"
|
|
2143
|
+
},
|
|
2249
2144
|
{
|
|
2250
2145
|
"kind": "field",
|
|
2251
2146
|
"name": "_presentation",
|
|
@@ -2360,84 +2255,152 @@
|
|
|
2360
2255
|
],
|
|
2361
2256
|
"events": [
|
|
2362
2257
|
{
|
|
2363
|
-
"description": "
|
|
2364
|
-
"name": "
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2258
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2259
|
+
"name": "criteria-changed"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2263
|
+
"name": "validation-errors"
|
|
2369
2264
|
}
|
|
2370
|
-
]
|
|
2265
|
+
],
|
|
2266
|
+
"attributes": [
|
|
2267
|
+
{
|
|
2268
|
+
"name": "placeholder",
|
|
2269
|
+
"type": {
|
|
2270
|
+
"text": "string"
|
|
2271
|
+
},
|
|
2272
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2273
|
+
"fieldName": "placeholder"
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"type": {
|
|
2277
|
+
"text": "boolean"
|
|
2278
|
+
},
|
|
2279
|
+
"fieldName": "disabled"
|
|
2280
|
+
}
|
|
2281
|
+
],
|
|
2282
|
+
"superclass": {
|
|
2283
|
+
"name": "FoundationElement",
|
|
2284
|
+
"package": "@microsoft/fast-foundation"
|
|
2285
|
+
},
|
|
2286
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2287
|
+
"customElement": true
|
|
2371
2288
|
},
|
|
2372
2289
|
{
|
|
2373
2290
|
"kind": "variable",
|
|
2374
|
-
"name": "
|
|
2291
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2375
2292
|
"type": {
|
|
2376
2293
|
"text": "ShadowRootInit"
|
|
2377
2294
|
},
|
|
2378
|
-
"default": "
|
|
2295
|
+
"default": "undefined"
|
|
2379
2296
|
},
|
|
2380
2297
|
{
|
|
2381
2298
|
"kind": "variable",
|
|
2382
|
-
"name": "
|
|
2299
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2383
2300
|
"type": {
|
|
2384
2301
|
"text": "object"
|
|
2385
2302
|
},
|
|
2386
|
-
"default": "{
|
|
2303
|
+
"default": "{}"
|
|
2387
2304
|
},
|
|
2388
2305
|
{
|
|
2389
2306
|
"kind": "variable",
|
|
2390
|
-
"name": "
|
|
2391
|
-
"description": "The Foundation Accordion Item",
|
|
2392
|
-
"privacy": "public"
|
|
2307
|
+
"name": "foundationAiCriteriaSearch"
|
|
2393
2308
|
}
|
|
2394
2309
|
],
|
|
2395
2310
|
"exports": [
|
|
2396
2311
|
{
|
|
2397
2312
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2313
|
+
"name": "AiCriteriaSearch",
|
|
2399
2314
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/
|
|
2315
|
+
"name": "AiCriteriaSearch",
|
|
2316
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2402
2317
|
}
|
|
2403
2318
|
},
|
|
2404
2319
|
{
|
|
2405
2320
|
"kind": "js",
|
|
2406
|
-
"name": "
|
|
2321
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2407
2322
|
"declaration": {
|
|
2408
|
-
"name": "
|
|
2409
|
-
"module": "src/
|
|
2323
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2324
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2410
2325
|
}
|
|
2411
2326
|
},
|
|
2412
2327
|
{
|
|
2413
2328
|
"kind": "js",
|
|
2414
|
-
"name": "
|
|
2329
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2415
2330
|
"declaration": {
|
|
2416
|
-
"name": "
|
|
2417
|
-
"module": "src/
|
|
2331
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2332
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2418
2333
|
}
|
|
2419
2334
|
},
|
|
2420
2335
|
{
|
|
2421
2336
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2337
|
+
"name": "foundationAiCriteriaSearch",
|
|
2423
2338
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/
|
|
2339
|
+
"name": "foundationAiCriteriaSearch",
|
|
2340
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2426
2341
|
}
|
|
2427
2342
|
}
|
|
2428
2343
|
]
|
|
2429
2344
|
},
|
|
2430
2345
|
{
|
|
2431
2346
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/
|
|
2347
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2433
2348
|
"declarations": [],
|
|
2434
2349
|
"exports": [
|
|
2350
|
+
{
|
|
2351
|
+
"kind": "js",
|
|
2352
|
+
"name": "AiCriteriaSearch",
|
|
2353
|
+
"declaration": {
|
|
2354
|
+
"name": "AiCriteriaSearch",
|
|
2355
|
+
"module": "./ai-criteria-search"
|
|
2356
|
+
}
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"kind": "js",
|
|
2360
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2361
|
+
"declaration": {
|
|
2362
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2363
|
+
"module": "./ai-criteria-search"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"kind": "js",
|
|
2368
|
+
"name": "foundationAiCriteriaSearch",
|
|
2369
|
+
"declaration": {
|
|
2370
|
+
"name": "foundationAiCriteriaSearch",
|
|
2371
|
+
"module": "./ai-criteria-search"
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"kind": "js",
|
|
2376
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2377
|
+
"declaration": {
|
|
2378
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2379
|
+
"module": "./ai-criteria-search"
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"kind": "js",
|
|
2384
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2385
|
+
"declaration": {
|
|
2386
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2387
|
+
"module": "./ai-criteria-search.styles"
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"kind": "js",
|
|
2392
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2393
|
+
"declaration": {
|
|
2394
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2395
|
+
"module": "./ai-criteria-search.template"
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2435
2398
|
{
|
|
2436
2399
|
"kind": "js",
|
|
2437
2400
|
"name": "*",
|
|
2438
2401
|
"declaration": {
|
|
2439
2402
|
"name": "*",
|
|
2440
|
-
"package": "./
|
|
2403
|
+
"package": "./validation/criteria-ir"
|
|
2441
2404
|
}
|
|
2442
2405
|
},
|
|
2443
2406
|
{
|
|
@@ -2445,7 +2408,7 @@
|
|
|
2445
2408
|
"name": "*",
|
|
2446
2409
|
"declaration": {
|
|
2447
2410
|
"name": "*",
|
|
2448
|
-
"package": "./
|
|
2411
|
+
"package": "./validation/operator-map"
|
|
2449
2412
|
}
|
|
2450
2413
|
},
|
|
2451
2414
|
{
|
|
@@ -2453,7 +2416,113 @@
|
|
|
2453
2416
|
"name": "*",
|
|
2454
2417
|
"declaration": {
|
|
2455
2418
|
"name": "*",
|
|
2456
|
-
"package": "./
|
|
2419
|
+
"package": "./validation/schema-validator"
|
|
2420
|
+
}
|
|
2421
|
+
}
|
|
2422
|
+
]
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"kind": "javascript-module",
|
|
2426
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2427
|
+
"declarations": [
|
|
2428
|
+
{
|
|
2429
|
+
"kind": "function",
|
|
2430
|
+
"name": "formatValidationErrors",
|
|
2431
|
+
"return": {
|
|
2432
|
+
"type": {
|
|
2433
|
+
"text": "string"
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2436
|
+
"parameters": [
|
|
2437
|
+
{
|
|
2438
|
+
"name": "errors",
|
|
2439
|
+
"type": {
|
|
2440
|
+
"text": "ValidationError[]"
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
],
|
|
2444
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "function",
|
|
2448
|
+
"name": "showCriteriaError",
|
|
2449
|
+
"return": {
|
|
2450
|
+
"type": {
|
|
2451
|
+
"text": "void"
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
"parameters": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "title",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "string"
|
|
2459
|
+
},
|
|
2460
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"name": "body",
|
|
2464
|
+
"type": {
|
|
2465
|
+
"text": "string"
|
|
2466
|
+
},
|
|
2467
|
+
"description": "Error message to display"
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"name": "tagName",
|
|
2471
|
+
"type": {
|
|
2472
|
+
"text": "string"
|
|
2473
|
+
},
|
|
2474
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2475
|
+
}
|
|
2476
|
+
],
|
|
2477
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2478
|
+
}
|
|
2479
|
+
],
|
|
2480
|
+
"exports": [
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "formatValidationErrors",
|
|
2484
|
+
"declaration": {
|
|
2485
|
+
"name": "formatValidationErrors",
|
|
2486
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"kind": "js",
|
|
2491
|
+
"name": "showCriteriaError",
|
|
2492
|
+
"declaration": {
|
|
2493
|
+
"name": "showCriteriaError",
|
|
2494
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
]
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"kind": "javascript-module",
|
|
2501
|
+
"path": "src/_config/index.ts",
|
|
2502
|
+
"declarations": [],
|
|
2503
|
+
"exports": [
|
|
2504
|
+
{
|
|
2505
|
+
"kind": "js",
|
|
2506
|
+
"name": "*",
|
|
2507
|
+
"declaration": {
|
|
2508
|
+
"name": "*",
|
|
2509
|
+
"package": "./styles"
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "js",
|
|
2514
|
+
"name": "*",
|
|
2515
|
+
"declaration": {
|
|
2516
|
+
"name": "*",
|
|
2517
|
+
"package": "./tokens"
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"kind": "js",
|
|
2522
|
+
"name": "*",
|
|
2523
|
+
"declaration": {
|
|
2524
|
+
"name": "*",
|
|
2525
|
+
"package": "./values"
|
|
2457
2526
|
}
|
|
2458
2527
|
}
|
|
2459
2528
|
]
|
|
@@ -2909,146 +2978,203 @@
|
|
|
2909
2978
|
},
|
|
2910
2979
|
{
|
|
2911
2980
|
"kind": "javascript-module",
|
|
2912
|
-
"path": "src/
|
|
2913
|
-
"declarations": [
|
|
2914
|
-
"exports": [
|
|
2981
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2982
|
+
"declarations": [
|
|
2915
2983
|
{
|
|
2916
|
-
"kind": "
|
|
2917
|
-
"name": "
|
|
2918
|
-
"
|
|
2919
|
-
"
|
|
2920
|
-
|
|
2921
|
-
|
|
2984
|
+
"kind": "function",
|
|
2985
|
+
"name": "actionsMenuBaseStyles",
|
|
2986
|
+
"return": {
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "ElementStyles"
|
|
2989
|
+
}
|
|
2990
|
+
},
|
|
2991
|
+
"parameters": [
|
|
2992
|
+
{
|
|
2993
|
+
"name": "context",
|
|
2994
|
+
"type": {
|
|
2995
|
+
"text": "ElementDefinitionContext"
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "definition",
|
|
3000
|
+
"type": {
|
|
3001
|
+
"text": "FoundationElementDefinition"
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
2922
3005
|
},
|
|
3006
|
+
{
|
|
3007
|
+
"kind": "function",
|
|
3008
|
+
"name": "foundationActionsMenuStyles",
|
|
3009
|
+
"return": {
|
|
3010
|
+
"type": {
|
|
3011
|
+
"text": "ElementStyles"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
"parameters": [
|
|
3015
|
+
{
|
|
3016
|
+
"name": "context",
|
|
3017
|
+
"type": {
|
|
3018
|
+
"text": "ElementDefinitionContext"
|
|
3019
|
+
}
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
"name": "definition",
|
|
3023
|
+
"type": {
|
|
3024
|
+
"text": "FoundationElementDefinition"
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
3027
|
+
]
|
|
3028
|
+
}
|
|
3029
|
+
],
|
|
3030
|
+
"exports": [
|
|
2923
3031
|
{
|
|
2924
3032
|
"kind": "js",
|
|
2925
|
-
"name": "
|
|
3033
|
+
"name": "actionsMenuBaseStyles",
|
|
2926
3034
|
"declaration": {
|
|
2927
|
-
"name": "
|
|
2928
|
-
"
|
|
3035
|
+
"name": "actionsMenuBaseStyles",
|
|
3036
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2929
3037
|
}
|
|
2930
3038
|
},
|
|
2931
3039
|
{
|
|
2932
3040
|
"kind": "js",
|
|
2933
|
-
"name": "
|
|
3041
|
+
"name": "foundationActionsMenuStyles",
|
|
2934
3042
|
"declaration": {
|
|
2935
|
-
"name": "
|
|
2936
|
-
"
|
|
3043
|
+
"name": "foundationActionsMenuStyles",
|
|
3044
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2937
3045
|
}
|
|
2938
3046
|
}
|
|
2939
3047
|
]
|
|
2940
3048
|
},
|
|
2941
3049
|
{
|
|
2942
3050
|
"kind": "javascript-module",
|
|
2943
|
-
"path": "src/
|
|
3051
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2944
3052
|
"declarations": [
|
|
3053
|
+
{
|
|
3054
|
+
"kind": "function",
|
|
3055
|
+
"name": "menuTemplate",
|
|
3056
|
+
"parameters": [
|
|
3057
|
+
{
|
|
3058
|
+
"name": "prefix",
|
|
3059
|
+
"type": {
|
|
3060
|
+
"text": "string"
|
|
3061
|
+
}
|
|
3062
|
+
}
|
|
3063
|
+
]
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"kind": "function",
|
|
3067
|
+
"name": "singleOptionTemplate",
|
|
3068
|
+
"parameters": [
|
|
3069
|
+
{
|
|
3070
|
+
"name": "prefix",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"text": "string"
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
]
|
|
3076
|
+
},
|
|
2945
3077
|
{
|
|
2946
3078
|
"kind": "variable",
|
|
2947
|
-
"name": "
|
|
2948
|
-
"
|
|
3079
|
+
"name": "foundationActionsMenuTemplate",
|
|
3080
|
+
"type": {
|
|
3081
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3082
|
+
},
|
|
3083
|
+
"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`"
|
|
2949
3084
|
}
|
|
2950
3085
|
],
|
|
2951
3086
|
"exports": [
|
|
2952
3087
|
{
|
|
2953
3088
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
3089
|
+
"name": "menuTemplate",
|
|
2955
3090
|
"declaration": {
|
|
2956
|
-
"name": "
|
|
2957
|
-
"module": "src/
|
|
3091
|
+
"name": "menuTemplate",
|
|
3092
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2958
3093
|
}
|
|
2959
|
-
}
|
|
2960
|
-
]
|
|
2961
|
-
},
|
|
2962
|
-
{
|
|
2963
|
-
"kind": "javascript-module",
|
|
2964
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2965
|
-
"declarations": [
|
|
3094
|
+
},
|
|
2966
3095
|
{
|
|
2967
|
-
"kind": "
|
|
2968
|
-
"name": "
|
|
2969
|
-
"
|
|
2970
|
-
"
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
3096
|
+
"kind": "js",
|
|
3097
|
+
"name": "singleOptionTemplate",
|
|
3098
|
+
"declaration": {
|
|
3099
|
+
"name": "singleOptionTemplate",
|
|
3100
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3101
|
+
}
|
|
3102
|
+
},
|
|
2976
3103
|
{
|
|
2977
3104
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
3105
|
+
"name": "foundationActionsMenuTemplate",
|
|
2979
3106
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "src/
|
|
3107
|
+
"name": "foundationActionsMenuTemplate",
|
|
3108
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2982
3109
|
}
|
|
2983
3110
|
}
|
|
2984
3111
|
]
|
|
2985
3112
|
},
|
|
2986
3113
|
{
|
|
2987
3114
|
"kind": "javascript-module",
|
|
2988
|
-
"path": "src/
|
|
3115
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2989
3116
|
"declarations": [
|
|
2990
3117
|
{
|
|
2991
3118
|
"kind": "class",
|
|
2992
|
-
"description": "
|
|
2993
|
-
"name": "
|
|
3119
|
+
"description": "",
|
|
3120
|
+
"name": "ActionsMenu",
|
|
2994
3121
|
"members": [
|
|
2995
3122
|
{
|
|
2996
3123
|
"kind": "field",
|
|
2997
|
-
"name": "
|
|
3124
|
+
"name": "actions",
|
|
2998
3125
|
"type": {
|
|
2999
|
-
"text": "
|
|
3126
|
+
"text": "ActionMenuItem[]"
|
|
3000
3127
|
}
|
|
3001
3128
|
},
|
|
3002
3129
|
{
|
|
3003
3130
|
"kind": "field",
|
|
3004
|
-
"name": "
|
|
3131
|
+
"name": "isVertical",
|
|
3005
3132
|
"type": {
|
|
3006
|
-
"text": "
|
|
3133
|
+
"text": "boolean"
|
|
3007
3134
|
},
|
|
3008
|
-
"default": "
|
|
3135
|
+
"default": "false"
|
|
3009
3136
|
},
|
|
3010
3137
|
{
|
|
3011
3138
|
"kind": "field",
|
|
3012
|
-
"name": "
|
|
3139
|
+
"name": "addDefaultActions",
|
|
3013
3140
|
"type": {
|
|
3014
3141
|
"text": "boolean"
|
|
3015
|
-
}
|
|
3142
|
+
},
|
|
3143
|
+
"default": "true"
|
|
3016
3144
|
},
|
|
3017
3145
|
{
|
|
3018
3146
|
"kind": "field",
|
|
3019
|
-
"name": "
|
|
3147
|
+
"name": "autoCloseOnAction",
|
|
3020
3148
|
"type": {
|
|
3021
|
-
"text": "
|
|
3149
|
+
"text": "boolean"
|
|
3022
3150
|
},
|
|
3023
|
-
"default": "
|
|
3151
|
+
"default": "true"
|
|
3024
3152
|
},
|
|
3025
3153
|
{
|
|
3026
3154
|
"kind": "field",
|
|
3027
|
-
"name": "
|
|
3155
|
+
"name": "classNames",
|
|
3028
3156
|
"type": {
|
|
3029
|
-
"text": "
|
|
3030
|
-
}
|
|
3031
|
-
"default": "false"
|
|
3157
|
+
"text": "string"
|
|
3158
|
+
}
|
|
3032
3159
|
},
|
|
3033
3160
|
{
|
|
3034
3161
|
"kind": "field",
|
|
3035
|
-
"name": "
|
|
3162
|
+
"name": "definition",
|
|
3036
3163
|
"type": {
|
|
3037
|
-
"text": "
|
|
3038
|
-
}
|
|
3039
|
-
"default": "null"
|
|
3164
|
+
"text": "any"
|
|
3165
|
+
}
|
|
3040
3166
|
},
|
|
3041
3167
|
{
|
|
3042
3168
|
"kind": "field",
|
|
3043
|
-
"name": "
|
|
3169
|
+
"name": "name",
|
|
3044
3170
|
"type": {
|
|
3045
|
-
"text": "
|
|
3171
|
+
"text": "string"
|
|
3046
3172
|
},
|
|
3047
|
-
"default": "
|
|
3173
|
+
"default": "'Actions'"
|
|
3048
3174
|
},
|
|
3049
3175
|
{
|
|
3050
3176
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3177
|
+
"name": "open",
|
|
3052
3178
|
"type": {
|
|
3053
3179
|
"text": "boolean"
|
|
3054
3180
|
},
|
|
@@ -3056,15 +3182,14 @@
|
|
|
3056
3182
|
},
|
|
3057
3183
|
{
|
|
3058
3184
|
"kind": "field",
|
|
3059
|
-
"name": "
|
|
3185
|
+
"name": "buttonAppearance",
|
|
3060
3186
|
"type": {
|
|
3061
|
-
"text": "
|
|
3062
|
-
}
|
|
3063
|
-
"default": "[]"
|
|
3187
|
+
"text": "string"
|
|
3188
|
+
}
|
|
3064
3189
|
},
|
|
3065
3190
|
{
|
|
3066
3191
|
"kind": "field",
|
|
3067
|
-
"name": "
|
|
3192
|
+
"name": "hideDisabled",
|
|
3068
3193
|
"type": {
|
|
3069
3194
|
"text": "boolean"
|
|
3070
3195
|
},
|
|
@@ -3072,125 +3197,114 @@
|
|
|
3072
3197
|
},
|
|
3073
3198
|
{
|
|
3074
3199
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
3076
|
-
"type": {
|
|
3077
|
-
"text": "HTMLTextAreaElement"
|
|
3078
|
-
},
|
|
3079
|
-
"privacy": "public"
|
|
3080
|
-
},
|
|
3081
|
-
{
|
|
3082
|
-
"kind": "field",
|
|
3083
|
-
"name": "stopRecording",
|
|
3200
|
+
"name": "hideMenuSingleOption",
|
|
3084
3201
|
"type": {
|
|
3085
|
-
"text": "
|
|
3202
|
+
"text": "boolean"
|
|
3086
3203
|
},
|
|
3087
|
-
"
|
|
3088
|
-
"default": "null"
|
|
3204
|
+
"default": "false"
|
|
3089
3205
|
},
|
|
3090
3206
|
{
|
|
3091
3207
|
"kind": "field",
|
|
3092
|
-
"name": "
|
|
3208
|
+
"name": "singleOption",
|
|
3093
3209
|
"type": {
|
|
3094
|
-
"text": "
|
|
3095
|
-
}
|
|
3096
|
-
"privacy": "private",
|
|
3097
|
-
"default": "null"
|
|
3210
|
+
"text": "ActionMenuItem"
|
|
3211
|
+
}
|
|
3098
3212
|
},
|
|
3099
3213
|
{
|
|
3100
3214
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
3215
|
+
"name": "actionsMenu",
|
|
3102
3216
|
"type": {
|
|
3103
|
-
"text": "
|
|
3104
|
-
}
|
|
3105
|
-
"readonly": true
|
|
3217
|
+
"text": "HTMLElement"
|
|
3218
|
+
}
|
|
3106
3219
|
},
|
|
3107
3220
|
{
|
|
3108
3221
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
3222
|
+
"name": "actionsOpener",
|
|
3110
3223
|
"type": {
|
|
3111
|
-
"text": "
|
|
3112
|
-
}
|
|
3113
|
-
"readonly": true
|
|
3114
|
-
},
|
|
3115
|
-
{
|
|
3116
|
-
"kind": "method",
|
|
3117
|
-
"name": "getFieldLabel",
|
|
3118
|
-
"privacy": "private",
|
|
3119
|
-
"return": {
|
|
3120
|
-
"type": {
|
|
3121
|
-
"text": "string"
|
|
3122
|
-
}
|
|
3123
|
-
},
|
|
3124
|
-
"parameters": [
|
|
3125
|
-
{
|
|
3126
|
-
"name": "fieldName",
|
|
3127
|
-
"type": {
|
|
3128
|
-
"text": "string"
|
|
3129
|
-
}
|
|
3130
|
-
}
|
|
3131
|
-
]
|
|
3224
|
+
"text": "HTMLElement"
|
|
3225
|
+
}
|
|
3132
3226
|
},
|
|
3133
3227
|
{
|
|
3134
3228
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3136
|
-
"
|
|
3137
|
-
"type": {
|
|
3138
|
-
"text": "void"
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3229
|
+
"name": "updateMenuPosition",
|
|
3230
|
+
"privacy": "private"
|
|
3141
3231
|
},
|
|
3142
3232
|
{
|
|
3143
3233
|
"kind": "method",
|
|
3144
|
-
"name": "
|
|
3145
|
-
"
|
|
3146
|
-
"type": {
|
|
3147
|
-
"text": "void"
|
|
3148
|
-
}
|
|
3149
|
-
},
|
|
3234
|
+
"name": "definitionChanged",
|
|
3235
|
+
"privacy": "protected",
|
|
3150
3236
|
"parameters": [
|
|
3151
3237
|
{
|
|
3152
|
-
"name": "
|
|
3238
|
+
"name": "oldValue",
|
|
3153
3239
|
"type": {
|
|
3154
|
-
"text": "
|
|
3240
|
+
"text": "any"
|
|
3155
3241
|
}
|
|
3156
3242
|
},
|
|
3157
3243
|
{
|
|
3158
|
-
"name": "
|
|
3244
|
+
"name": "newValue",
|
|
3159
3245
|
"type": {
|
|
3160
|
-
"text": "
|
|
3246
|
+
"text": "any"
|
|
3161
3247
|
}
|
|
3162
3248
|
}
|
|
3163
3249
|
]
|
|
3164
3250
|
},
|
|
3165
3251
|
{
|
|
3166
3252
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
3168
|
-
"
|
|
3169
|
-
"type": {
|
|
3170
|
-
"text": "void"
|
|
3171
|
-
}
|
|
3172
|
-
}
|
|
3253
|
+
"name": "openChanged",
|
|
3254
|
+
"privacy": "protected"
|
|
3173
3255
|
},
|
|
3174
3256
|
{
|
|
3175
3257
|
"kind": "method",
|
|
3176
|
-
"name": "
|
|
3258
|
+
"name": "toggleActionsMenuVisibility"
|
|
3177
3259
|
},
|
|
3178
3260
|
{
|
|
3179
3261
|
"kind": "method",
|
|
3180
|
-
"name": "
|
|
3262
|
+
"name": "onActionMenuItemClick",
|
|
3263
|
+
"parameters": [
|
|
3264
|
+
{
|
|
3265
|
+
"name": "callback",
|
|
3266
|
+
"type": {
|
|
3267
|
+
"text": "(rowData) => void | any"
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
]
|
|
3181
3271
|
},
|
|
3182
3272
|
{
|
|
3183
|
-
"kind": "
|
|
3184
|
-
"name": "
|
|
3273
|
+
"kind": "field",
|
|
3274
|
+
"name": "allActions",
|
|
3275
|
+
"type": {
|
|
3276
|
+
"text": "ActionMenuItem[]"
|
|
3277
|
+
},
|
|
3278
|
+
"readonly": true
|
|
3279
|
+
},
|
|
3280
|
+
{
|
|
3281
|
+
"kind": "field",
|
|
3282
|
+
"name": "rowData",
|
|
3283
|
+
"readonly": true
|
|
3185
3284
|
},
|
|
3186
3285
|
{
|
|
3187
3286
|
"kind": "method",
|
|
3188
|
-
"name": "
|
|
3287
|
+
"name": "getLabel",
|
|
3288
|
+
"parameters": [
|
|
3289
|
+
{
|
|
3290
|
+
"name": "name",
|
|
3291
|
+
"type": {
|
|
3292
|
+
"text": "string | ((rowData: any) => string)"
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
]
|
|
3189
3296
|
},
|
|
3190
3297
|
{
|
|
3191
3298
|
"kind": "method",
|
|
3192
|
-
"name": "
|
|
3193
|
-
"
|
|
3299
|
+
"name": "getTemplate",
|
|
3300
|
+
"parameters": [
|
|
3301
|
+
{
|
|
3302
|
+
"name": "prefix",
|
|
3303
|
+
"type": {
|
|
3304
|
+
"text": "string"
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
]
|
|
3194
3308
|
},
|
|
3195
3309
|
{
|
|
3196
3310
|
"kind": "field",
|
|
@@ -3304,154 +3418,115 @@
|
|
|
3304
3418
|
}
|
|
3305
3419
|
}
|
|
3306
3420
|
],
|
|
3307
|
-
"
|
|
3421
|
+
"attributes": [
|
|
3308
3422
|
{
|
|
3309
|
-
"
|
|
3310
|
-
"
|
|
3423
|
+
"name": "is-vertical",
|
|
3424
|
+
"type": {
|
|
3425
|
+
"text": "boolean"
|
|
3426
|
+
},
|
|
3427
|
+
"default": "false",
|
|
3428
|
+
"fieldName": "isVertical"
|
|
3311
3429
|
},
|
|
3312
3430
|
{
|
|
3313
|
-
"
|
|
3314
|
-
"
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3431
|
+
"name": "add-default-actions",
|
|
3432
|
+
"type": {
|
|
3433
|
+
"text": "boolean"
|
|
3434
|
+
},
|
|
3435
|
+
"default": "true",
|
|
3436
|
+
"fieldName": "addDefaultActions"
|
|
3437
|
+
},
|
|
3318
3438
|
{
|
|
3319
|
-
"name": "
|
|
3439
|
+
"name": "auto-close-on-action",
|
|
3440
|
+
"type": {
|
|
3441
|
+
"text": "boolean"
|
|
3442
|
+
},
|
|
3443
|
+
"default": "true",
|
|
3444
|
+
"fieldName": "autoCloseOnAction"
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"name": "name",
|
|
3320
3448
|
"type": {
|
|
3321
3449
|
"text": "string"
|
|
3322
3450
|
},
|
|
3323
|
-
"default": "'
|
|
3324
|
-
"fieldName": "
|
|
3451
|
+
"default": "'Actions'",
|
|
3452
|
+
"fieldName": "name"
|
|
3325
3453
|
},
|
|
3326
3454
|
{
|
|
3455
|
+
"name": "open",
|
|
3327
3456
|
"type": {
|
|
3328
3457
|
"text": "boolean"
|
|
3329
3458
|
},
|
|
3330
|
-
"
|
|
3459
|
+
"default": "false",
|
|
3460
|
+
"fieldName": "open"
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
"name": "buttonAppearance",
|
|
3464
|
+
"type": {
|
|
3465
|
+
"text": "string"
|
|
3466
|
+
},
|
|
3467
|
+
"fieldName": "buttonAppearance"
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"name": "hide-disabled",
|
|
3471
|
+
"type": {
|
|
3472
|
+
"text": "boolean"
|
|
3473
|
+
},
|
|
3474
|
+
"default": "false",
|
|
3475
|
+
"fieldName": "hideDisabled"
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
"name": "hide-menu-single-option",
|
|
3479
|
+
"type": {
|
|
3480
|
+
"text": "boolean"
|
|
3481
|
+
},
|
|
3482
|
+
"default": "false",
|
|
3483
|
+
"fieldName": "hideMenuSingleOption"
|
|
3331
3484
|
}
|
|
3332
3485
|
],
|
|
3333
3486
|
"superclass": {
|
|
3334
3487
|
"name": "FoundationElement",
|
|
3335
3488
|
"package": "@microsoft/fast-foundation"
|
|
3336
3489
|
},
|
|
3337
|
-
"tagName": "%%prefix%%-
|
|
3490
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3338
3491
|
"customElement": true
|
|
3339
3492
|
},
|
|
3340
3493
|
{
|
|
3341
3494
|
"kind": "variable",
|
|
3342
|
-
"name": "
|
|
3343
|
-
"
|
|
3344
|
-
|
|
3345
|
-
},
|
|
3346
|
-
"default": "undefined"
|
|
3347
|
-
},
|
|
3348
|
-
{
|
|
3349
|
-
"kind": "variable",
|
|
3350
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3351
|
-
"type": {
|
|
3352
|
-
"text": "object"
|
|
3353
|
-
},
|
|
3354
|
-
"default": "{}"
|
|
3355
|
-
},
|
|
3356
|
-
{
|
|
3357
|
-
"kind": "variable",
|
|
3358
|
-
"name": "foundationAiCriteriaSearch"
|
|
3495
|
+
"name": "foundationActionsMenu",
|
|
3496
|
+
"description": "The Foundation Actions Menu",
|
|
3497
|
+
"privacy": "public"
|
|
3359
3498
|
}
|
|
3360
3499
|
],
|
|
3361
3500
|
"exports": [
|
|
3362
3501
|
{
|
|
3363
3502
|
"kind": "js",
|
|
3364
|
-
"name": "
|
|
3365
|
-
"declaration": {
|
|
3366
|
-
"name": "AiCriteriaSearch",
|
|
3367
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3368
|
-
}
|
|
3369
|
-
},
|
|
3370
|
-
{
|
|
3371
|
-
"kind": "js",
|
|
3372
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3373
|
-
"declaration": {
|
|
3374
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3375
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
|
-
}
|
|
3377
|
-
},
|
|
3378
|
-
{
|
|
3379
|
-
"kind": "js",
|
|
3380
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3503
|
+
"name": "ActionsMenu",
|
|
3381
3504
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/
|
|
3505
|
+
"name": "ActionsMenu",
|
|
3506
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3384
3507
|
}
|
|
3385
3508
|
},
|
|
3386
3509
|
{
|
|
3387
3510
|
"kind": "js",
|
|
3388
|
-
"name": "
|
|
3511
|
+
"name": "foundationActionsMenu",
|
|
3389
3512
|
"declaration": {
|
|
3390
|
-
"name": "
|
|
3391
|
-
"module": "src/
|
|
3513
|
+
"name": "foundationActionsMenu",
|
|
3514
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3392
3515
|
}
|
|
3393
3516
|
}
|
|
3394
3517
|
]
|
|
3395
3518
|
},
|
|
3396
3519
|
{
|
|
3397
3520
|
"kind": "javascript-module",
|
|
3398
|
-
"path": "src/
|
|
3521
|
+
"path": "src/actions-menu/index.ts",
|
|
3399
3522
|
"declarations": [],
|
|
3400
3523
|
"exports": [
|
|
3401
|
-
{
|
|
3402
|
-
"kind": "js",
|
|
3403
|
-
"name": "AiCriteriaSearch",
|
|
3404
|
-
"declaration": {
|
|
3405
|
-
"name": "AiCriteriaSearch",
|
|
3406
|
-
"module": "./ai-criteria-search"
|
|
3407
|
-
}
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
"kind": "js",
|
|
3411
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3412
|
-
"declaration": {
|
|
3413
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3414
|
-
"module": "./ai-criteria-search"
|
|
3415
|
-
}
|
|
3416
|
-
},
|
|
3417
|
-
{
|
|
3418
|
-
"kind": "js",
|
|
3419
|
-
"name": "foundationAiCriteriaSearch",
|
|
3420
|
-
"declaration": {
|
|
3421
|
-
"name": "foundationAiCriteriaSearch",
|
|
3422
|
-
"module": "./ai-criteria-search"
|
|
3423
|
-
}
|
|
3424
|
-
},
|
|
3425
|
-
{
|
|
3426
|
-
"kind": "js",
|
|
3427
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3428
|
-
"declaration": {
|
|
3429
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3430
|
-
"module": "./ai-criteria-search"
|
|
3431
|
-
}
|
|
3432
|
-
},
|
|
3433
|
-
{
|
|
3434
|
-
"kind": "js",
|
|
3435
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3436
|
-
"declaration": {
|
|
3437
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3438
|
-
"module": "./ai-criteria-search.styles"
|
|
3439
|
-
}
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "js",
|
|
3443
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3444
|
-
"declaration": {
|
|
3445
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3446
|
-
"module": "./ai-criteria-search.template"
|
|
3447
|
-
}
|
|
3448
|
-
},
|
|
3449
3524
|
{
|
|
3450
3525
|
"kind": "js",
|
|
3451
3526
|
"name": "*",
|
|
3452
3527
|
"declaration": {
|
|
3453
3528
|
"name": "*",
|
|
3454
|
-
"package": "./
|
|
3529
|
+
"package": "./actions-menu.styles"
|
|
3455
3530
|
}
|
|
3456
3531
|
},
|
|
3457
3532
|
{
|
|
@@ -3459,7 +3534,7 @@
|
|
|
3459
3534
|
"name": "*",
|
|
3460
3535
|
"declaration": {
|
|
3461
3536
|
"name": "*",
|
|
3462
|
-
"package": "./
|
|
3537
|
+
"package": "./actions-menu.template"
|
|
3463
3538
|
}
|
|
3464
3539
|
},
|
|
3465
3540
|
{
|
|
@@ -3467,82 +3542,7 @@
|
|
|
3467
3542
|
"name": "*",
|
|
3468
3543
|
"declaration": {
|
|
3469
3544
|
"name": "*",
|
|
3470
|
-
"package": "./
|
|
3471
|
-
}
|
|
3472
|
-
}
|
|
3473
|
-
]
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "javascript-module",
|
|
3477
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3478
|
-
"declarations": [
|
|
3479
|
-
{
|
|
3480
|
-
"kind": "function",
|
|
3481
|
-
"name": "formatValidationErrors",
|
|
3482
|
-
"return": {
|
|
3483
|
-
"type": {
|
|
3484
|
-
"text": "string"
|
|
3485
|
-
}
|
|
3486
|
-
},
|
|
3487
|
-
"parameters": [
|
|
3488
|
-
{
|
|
3489
|
-
"name": "errors",
|
|
3490
|
-
"type": {
|
|
3491
|
-
"text": "ValidationError[]"
|
|
3492
|
-
}
|
|
3493
|
-
}
|
|
3494
|
-
],
|
|
3495
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3496
|
-
},
|
|
3497
|
-
{
|
|
3498
|
-
"kind": "function",
|
|
3499
|
-
"name": "showCriteriaError",
|
|
3500
|
-
"return": {
|
|
3501
|
-
"type": {
|
|
3502
|
-
"text": "void"
|
|
3503
|
-
}
|
|
3504
|
-
},
|
|
3505
|
-
"parameters": [
|
|
3506
|
-
{
|
|
3507
|
-
"name": "title",
|
|
3508
|
-
"type": {
|
|
3509
|
-
"text": "string"
|
|
3510
|
-
},
|
|
3511
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3512
|
-
},
|
|
3513
|
-
{
|
|
3514
|
-
"name": "body",
|
|
3515
|
-
"type": {
|
|
3516
|
-
"text": "string"
|
|
3517
|
-
},
|
|
3518
|
-
"description": "Error message to display"
|
|
3519
|
-
},
|
|
3520
|
-
{
|
|
3521
|
-
"name": "tagName",
|
|
3522
|
-
"type": {
|
|
3523
|
-
"text": "string"
|
|
3524
|
-
},
|
|
3525
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3526
|
-
}
|
|
3527
|
-
],
|
|
3528
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3529
|
-
}
|
|
3530
|
-
],
|
|
3531
|
-
"exports": [
|
|
3532
|
-
{
|
|
3533
|
-
"kind": "js",
|
|
3534
|
-
"name": "formatValidationErrors",
|
|
3535
|
-
"declaration": {
|
|
3536
|
-
"name": "formatValidationErrors",
|
|
3537
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3538
|
-
}
|
|
3539
|
-
},
|
|
3540
|
-
{
|
|
3541
|
-
"kind": "js",
|
|
3542
|
-
"name": "showCriteriaError",
|
|
3543
|
-
"declaration": {
|
|
3544
|
-
"name": "showCriteriaError",
|
|
3545
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3545
|
+
"package": "./actions-menu"
|
|
3546
3546
|
}
|
|
3547
3547
|
}
|
|
3548
3548
|
]
|
|
@@ -60120,6 +60120,197 @@
|
|
|
60120
60120
|
}
|
|
60121
60121
|
]
|
|
60122
60122
|
},
|
|
60123
|
+
{
|
|
60124
|
+
"kind": "javascript-module",
|
|
60125
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
60126
|
+
"declarations": [],
|
|
60127
|
+
"exports": []
|
|
60128
|
+
},
|
|
60129
|
+
{
|
|
60130
|
+
"kind": "javascript-module",
|
|
60131
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
60132
|
+
"declarations": [
|
|
60133
|
+
{
|
|
60134
|
+
"kind": "function",
|
|
60135
|
+
"name": "groupsToCriteria",
|
|
60136
|
+
"return": {
|
|
60137
|
+
"type": {
|
|
60138
|
+
"text": "string"
|
|
60139
|
+
}
|
|
60140
|
+
},
|
|
60141
|
+
"parameters": [
|
|
60142
|
+
{
|
|
60143
|
+
"name": "groups",
|
|
60144
|
+
"type": {
|
|
60145
|
+
"text": "CriteriaGroup[]"
|
|
60146
|
+
}
|
|
60147
|
+
}
|
|
60148
|
+
],
|
|
60149
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
60150
|
+
},
|
|
60151
|
+
{
|
|
60152
|
+
"kind": "variable",
|
|
60153
|
+
"name": "STRING_OPERATORS",
|
|
60154
|
+
"type": {
|
|
60155
|
+
"text": "CriteriaOperator[]"
|
|
60156
|
+
},
|
|
60157
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60158
|
+
},
|
|
60159
|
+
{
|
|
60160
|
+
"kind": "variable",
|
|
60161
|
+
"name": "NUMERIC_OPERATORS",
|
|
60162
|
+
"type": {
|
|
60163
|
+
"text": "CriteriaOperator[]"
|
|
60164
|
+
},
|
|
60165
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60166
|
+
},
|
|
60167
|
+
{
|
|
60168
|
+
"kind": "variable",
|
|
60169
|
+
"name": "DATE_OPERATORS",
|
|
60170
|
+
"type": {
|
|
60171
|
+
"text": "CriteriaOperator[]"
|
|
60172
|
+
},
|
|
60173
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60174
|
+
},
|
|
60175
|
+
{
|
|
60176
|
+
"kind": "variable",
|
|
60177
|
+
"name": "DATETIME_OPERATORS",
|
|
60178
|
+
"type": {
|
|
60179
|
+
"text": "CriteriaOperator[]"
|
|
60180
|
+
},
|
|
60181
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60182
|
+
},
|
|
60183
|
+
{
|
|
60184
|
+
"kind": "variable",
|
|
60185
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60186
|
+
"type": {
|
|
60187
|
+
"text": "Record<CriteriaOperator, string>"
|
|
60188
|
+
},
|
|
60189
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
60190
|
+
}
|
|
60191
|
+
],
|
|
60192
|
+
"exports": [
|
|
60193
|
+
{
|
|
60194
|
+
"kind": "js",
|
|
60195
|
+
"name": "groupsToCriteria",
|
|
60196
|
+
"declaration": {
|
|
60197
|
+
"name": "groupsToCriteria",
|
|
60198
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60199
|
+
}
|
|
60200
|
+
},
|
|
60201
|
+
{
|
|
60202
|
+
"kind": "js",
|
|
60203
|
+
"name": "STRING_OPERATORS",
|
|
60204
|
+
"declaration": {
|
|
60205
|
+
"name": "STRING_OPERATORS",
|
|
60206
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60207
|
+
}
|
|
60208
|
+
},
|
|
60209
|
+
{
|
|
60210
|
+
"kind": "js",
|
|
60211
|
+
"name": "NUMERIC_OPERATORS",
|
|
60212
|
+
"declaration": {
|
|
60213
|
+
"name": "NUMERIC_OPERATORS",
|
|
60214
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60215
|
+
}
|
|
60216
|
+
},
|
|
60217
|
+
{
|
|
60218
|
+
"kind": "js",
|
|
60219
|
+
"name": "DATE_OPERATORS",
|
|
60220
|
+
"declaration": {
|
|
60221
|
+
"name": "DATE_OPERATORS",
|
|
60222
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60223
|
+
}
|
|
60224
|
+
},
|
|
60225
|
+
{
|
|
60226
|
+
"kind": "js",
|
|
60227
|
+
"name": "DATETIME_OPERATORS",
|
|
60228
|
+
"declaration": {
|
|
60229
|
+
"name": "DATETIME_OPERATORS",
|
|
60230
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60231
|
+
}
|
|
60232
|
+
},
|
|
60233
|
+
{
|
|
60234
|
+
"kind": "js",
|
|
60235
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60236
|
+
"declaration": {
|
|
60237
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60238
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60239
|
+
}
|
|
60240
|
+
}
|
|
60241
|
+
]
|
|
60242
|
+
},
|
|
60243
|
+
{
|
|
60244
|
+
"kind": "javascript-module",
|
|
60245
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60246
|
+
"declarations": [
|
|
60247
|
+
{
|
|
60248
|
+
"kind": "function",
|
|
60249
|
+
"name": "validateClauses",
|
|
60250
|
+
"return": {
|
|
60251
|
+
"type": {
|
|
60252
|
+
"text": "ValidationResult"
|
|
60253
|
+
}
|
|
60254
|
+
},
|
|
60255
|
+
"parameters": [
|
|
60256
|
+
{
|
|
60257
|
+
"name": "clauses",
|
|
60258
|
+
"type": {
|
|
60259
|
+
"text": "CriteriaClause[]"
|
|
60260
|
+
}
|
|
60261
|
+
},
|
|
60262
|
+
{
|
|
60263
|
+
"name": "fieldMetadata",
|
|
60264
|
+
"type": {
|
|
60265
|
+
"text": "MetadataDetail[] | string[]"
|
|
60266
|
+
}
|
|
60267
|
+
}
|
|
60268
|
+
]
|
|
60269
|
+
},
|
|
60270
|
+
{
|
|
60271
|
+
"kind": "function",
|
|
60272
|
+
"name": "validateGroups",
|
|
60273
|
+
"return": {
|
|
60274
|
+
"type": {
|
|
60275
|
+
"text": "GroupsValidationResult"
|
|
60276
|
+
}
|
|
60277
|
+
},
|
|
60278
|
+
"parameters": [
|
|
60279
|
+
{
|
|
60280
|
+
"name": "groups",
|
|
60281
|
+
"type": {
|
|
60282
|
+
"text": "CriteriaGroup[]"
|
|
60283
|
+
}
|
|
60284
|
+
},
|
|
60285
|
+
{
|
|
60286
|
+
"name": "fieldMetadata",
|
|
60287
|
+
"type": {
|
|
60288
|
+
"text": "MetadataDetail[] | string[]"
|
|
60289
|
+
}
|
|
60290
|
+
}
|
|
60291
|
+
],
|
|
60292
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60293
|
+
}
|
|
60294
|
+
],
|
|
60295
|
+
"exports": [
|
|
60296
|
+
{
|
|
60297
|
+
"kind": "js",
|
|
60298
|
+
"name": "validateClauses",
|
|
60299
|
+
"declaration": {
|
|
60300
|
+
"name": "validateClauses",
|
|
60301
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60302
|
+
}
|
|
60303
|
+
},
|
|
60304
|
+
{
|
|
60305
|
+
"kind": "js",
|
|
60306
|
+
"name": "validateGroups",
|
|
60307
|
+
"declaration": {
|
|
60308
|
+
"name": "validateGroups",
|
|
60309
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60310
|
+
}
|
|
60311
|
+
}
|
|
60312
|
+
]
|
|
60313
|
+
},
|
|
60123
60314
|
{
|
|
60124
60315
|
"kind": "javascript-module",
|
|
60125
60316
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61492,197 +61683,6 @@
|
|
|
61492
61683
|
"declarations": [],
|
|
61493
61684
|
"exports": []
|
|
61494
61685
|
},
|
|
61495
|
-
{
|
|
61496
|
-
"kind": "javascript-module",
|
|
61497
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61498
|
-
"declarations": [],
|
|
61499
|
-
"exports": []
|
|
61500
|
-
},
|
|
61501
|
-
{
|
|
61502
|
-
"kind": "javascript-module",
|
|
61503
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61504
|
-
"declarations": [
|
|
61505
|
-
{
|
|
61506
|
-
"kind": "function",
|
|
61507
|
-
"name": "groupsToCriteria",
|
|
61508
|
-
"return": {
|
|
61509
|
-
"type": {
|
|
61510
|
-
"text": "string"
|
|
61511
|
-
}
|
|
61512
|
-
},
|
|
61513
|
-
"parameters": [
|
|
61514
|
-
{
|
|
61515
|
-
"name": "groups",
|
|
61516
|
-
"type": {
|
|
61517
|
-
"text": "CriteriaGroup[]"
|
|
61518
|
-
}
|
|
61519
|
-
}
|
|
61520
|
-
],
|
|
61521
|
-
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
61522
|
-
},
|
|
61523
|
-
{
|
|
61524
|
-
"kind": "variable",
|
|
61525
|
-
"name": "STRING_OPERATORS",
|
|
61526
|
-
"type": {
|
|
61527
|
-
"text": "CriteriaOperator[]"
|
|
61528
|
-
},
|
|
61529
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61530
|
-
},
|
|
61531
|
-
{
|
|
61532
|
-
"kind": "variable",
|
|
61533
|
-
"name": "NUMERIC_OPERATORS",
|
|
61534
|
-
"type": {
|
|
61535
|
-
"text": "CriteriaOperator[]"
|
|
61536
|
-
},
|
|
61537
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61538
|
-
},
|
|
61539
|
-
{
|
|
61540
|
-
"kind": "variable",
|
|
61541
|
-
"name": "DATE_OPERATORS",
|
|
61542
|
-
"type": {
|
|
61543
|
-
"text": "CriteriaOperator[]"
|
|
61544
|
-
},
|
|
61545
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61546
|
-
},
|
|
61547
|
-
{
|
|
61548
|
-
"kind": "variable",
|
|
61549
|
-
"name": "DATETIME_OPERATORS",
|
|
61550
|
-
"type": {
|
|
61551
|
-
"text": "CriteriaOperator[]"
|
|
61552
|
-
},
|
|
61553
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61554
|
-
},
|
|
61555
|
-
{
|
|
61556
|
-
"kind": "variable",
|
|
61557
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61558
|
-
"type": {
|
|
61559
|
-
"text": "Record<CriteriaOperator, string>"
|
|
61560
|
-
},
|
|
61561
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
61562
|
-
}
|
|
61563
|
-
],
|
|
61564
|
-
"exports": [
|
|
61565
|
-
{
|
|
61566
|
-
"kind": "js",
|
|
61567
|
-
"name": "groupsToCriteria",
|
|
61568
|
-
"declaration": {
|
|
61569
|
-
"name": "groupsToCriteria",
|
|
61570
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61571
|
-
}
|
|
61572
|
-
},
|
|
61573
|
-
{
|
|
61574
|
-
"kind": "js",
|
|
61575
|
-
"name": "STRING_OPERATORS",
|
|
61576
|
-
"declaration": {
|
|
61577
|
-
"name": "STRING_OPERATORS",
|
|
61578
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61579
|
-
}
|
|
61580
|
-
},
|
|
61581
|
-
{
|
|
61582
|
-
"kind": "js",
|
|
61583
|
-
"name": "NUMERIC_OPERATORS",
|
|
61584
|
-
"declaration": {
|
|
61585
|
-
"name": "NUMERIC_OPERATORS",
|
|
61586
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61587
|
-
}
|
|
61588
|
-
},
|
|
61589
|
-
{
|
|
61590
|
-
"kind": "js",
|
|
61591
|
-
"name": "DATE_OPERATORS",
|
|
61592
|
-
"declaration": {
|
|
61593
|
-
"name": "DATE_OPERATORS",
|
|
61594
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61595
|
-
}
|
|
61596
|
-
},
|
|
61597
|
-
{
|
|
61598
|
-
"kind": "js",
|
|
61599
|
-
"name": "DATETIME_OPERATORS",
|
|
61600
|
-
"declaration": {
|
|
61601
|
-
"name": "DATETIME_OPERATORS",
|
|
61602
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61603
|
-
}
|
|
61604
|
-
},
|
|
61605
|
-
{
|
|
61606
|
-
"kind": "js",
|
|
61607
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61608
|
-
"declaration": {
|
|
61609
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61610
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61611
|
-
}
|
|
61612
|
-
}
|
|
61613
|
-
]
|
|
61614
|
-
},
|
|
61615
|
-
{
|
|
61616
|
-
"kind": "javascript-module",
|
|
61617
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61618
|
-
"declarations": [
|
|
61619
|
-
{
|
|
61620
|
-
"kind": "function",
|
|
61621
|
-
"name": "validateClauses",
|
|
61622
|
-
"return": {
|
|
61623
|
-
"type": {
|
|
61624
|
-
"text": "ValidationResult"
|
|
61625
|
-
}
|
|
61626
|
-
},
|
|
61627
|
-
"parameters": [
|
|
61628
|
-
{
|
|
61629
|
-
"name": "clauses",
|
|
61630
|
-
"type": {
|
|
61631
|
-
"text": "CriteriaClause[]"
|
|
61632
|
-
}
|
|
61633
|
-
},
|
|
61634
|
-
{
|
|
61635
|
-
"name": "fieldMetadata",
|
|
61636
|
-
"type": {
|
|
61637
|
-
"text": "MetadataDetail[] | string[]"
|
|
61638
|
-
}
|
|
61639
|
-
}
|
|
61640
|
-
]
|
|
61641
|
-
},
|
|
61642
|
-
{
|
|
61643
|
-
"kind": "function",
|
|
61644
|
-
"name": "validateGroups",
|
|
61645
|
-
"return": {
|
|
61646
|
-
"type": {
|
|
61647
|
-
"text": "GroupsValidationResult"
|
|
61648
|
-
}
|
|
61649
|
-
},
|
|
61650
|
-
"parameters": [
|
|
61651
|
-
{
|
|
61652
|
-
"name": "groups",
|
|
61653
|
-
"type": {
|
|
61654
|
-
"text": "CriteriaGroup[]"
|
|
61655
|
-
}
|
|
61656
|
-
},
|
|
61657
|
-
{
|
|
61658
|
-
"name": "fieldMetadata",
|
|
61659
|
-
"type": {
|
|
61660
|
-
"text": "MetadataDetail[] | string[]"
|
|
61661
|
-
}
|
|
61662
|
-
}
|
|
61663
|
-
],
|
|
61664
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61665
|
-
}
|
|
61666
|
-
],
|
|
61667
|
-
"exports": [
|
|
61668
|
-
{
|
|
61669
|
-
"kind": "js",
|
|
61670
|
-
"name": "validateClauses",
|
|
61671
|
-
"declaration": {
|
|
61672
|
-
"name": "validateClauses",
|
|
61673
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61674
|
-
}
|
|
61675
|
-
},
|
|
61676
|
-
{
|
|
61677
|
-
"kind": "js",
|
|
61678
|
-
"name": "validateGroups",
|
|
61679
|
-
"declaration": {
|
|
61680
|
-
"name": "validateGroups",
|
|
61681
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61682
|
-
}
|
|
61683
|
-
}
|
|
61684
|
-
]
|
|
61685
|
-
},
|
|
61686
61686
|
{
|
|
61687
61687
|
"kind": "javascript-module",
|
|
61688
61688
|
"path": "src/environment-indicator/utils/configure.ts",
|