@paubox/ui 0.22.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js
CHANGED
|
@@ -878,7 +878,7 @@ function _object_spread_props$C(target, source) {
|
|
|
878
878
|
}
|
|
879
879
|
return target;
|
|
880
880
|
}
|
|
881
|
-
function _tagged_template_literal$
|
|
881
|
+
function _tagged_template_literal$v(strings, raw) {
|
|
882
882
|
if (!raw) {
|
|
883
883
|
raw = strings.slice(0);
|
|
884
884
|
}
|
|
@@ -888,16 +888,16 @@ function _tagged_template_literal$w(strings, raw) {
|
|
|
888
888
|
}
|
|
889
889
|
}));
|
|
890
890
|
}
|
|
891
|
-
function _templateObject$
|
|
892
|
-
var data = _tagged_template_literal$
|
|
891
|
+
function _templateObject$v() {
|
|
892
|
+
var data = _tagged_template_literal$v([
|
|
893
893
|
"\n animation: rotate 1s linear infinite;\n\n @keyframes rotate {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"
|
|
894
894
|
]);
|
|
895
|
-
_templateObject$
|
|
895
|
+
_templateObject$v = function _templateObject() {
|
|
896
896
|
return data;
|
|
897
897
|
};
|
|
898
898
|
return data;
|
|
899
899
|
}
|
|
900
|
-
var RotatingSvg = styled.svg(_templateObject$
|
|
900
|
+
var RotatingSvg = styled.svg(_templateObject$v());
|
|
901
901
|
var LoadingWheel = function(props) {
|
|
902
902
|
return /*#__PURE__*/ jsxs(RotatingSvg, _object_spread_props$C(_object_spread$K({
|
|
903
903
|
width: "1em",
|
|
@@ -1578,7 +1578,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
1578
1578
|
warning900: warning900
|
|
1579
1579
|
});
|
|
1580
1580
|
|
|
1581
|
-
function _tagged_template_literal$
|
|
1581
|
+
function _tagged_template_literal$u(strings, raw) {
|
|
1582
1582
|
if (!raw) {
|
|
1583
1583
|
raw = strings.slice(0);
|
|
1584
1584
|
}
|
|
@@ -1588,17 +1588,17 @@ function _tagged_template_literal$v(strings, raw) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
}));
|
|
1590
1590
|
}
|
|
1591
|
-
function _templateObject$
|
|
1592
|
-
var data = _tagged_template_literal$
|
|
1591
|
+
function _templateObject$u() {
|
|
1592
|
+
var data = _tagged_template_literal$u([
|
|
1593
1593
|
"\n box-shadow: 0px 2px 8px 0px #0000001f;\n"
|
|
1594
1594
|
]);
|
|
1595
|
-
_templateObject$
|
|
1595
|
+
_templateObject$u = function _templateObject() {
|
|
1596
1596
|
return data;
|
|
1597
1597
|
};
|
|
1598
1598
|
return data;
|
|
1599
1599
|
}
|
|
1600
1600
|
function _templateObject1$j() {
|
|
1601
|
-
var data = _tagged_template_literal$
|
|
1601
|
+
var data = _tagged_template_literal$u([
|
|
1602
1602
|
"\n box-shadow: 0px 4px 12px 0px #00000029;\n"
|
|
1603
1603
|
]);
|
|
1604
1604
|
_templateObject1$j = function _templateObject() {
|
|
@@ -1606,17 +1606,17 @@ function _templateObject1$j() {
|
|
|
1606
1606
|
};
|
|
1607
1607
|
return data;
|
|
1608
1608
|
}
|
|
1609
|
-
function _templateObject2$
|
|
1610
|
-
var data = _tagged_template_literal$
|
|
1609
|
+
function _templateObject2$i() {
|
|
1610
|
+
var data = _tagged_template_literal$u([
|
|
1611
1611
|
"\n box-shadow: 0px 8px 16px 0px #0000001f;\n"
|
|
1612
1612
|
]);
|
|
1613
|
-
_templateObject2$
|
|
1613
|
+
_templateObject2$i = function _templateObject() {
|
|
1614
1614
|
return data;
|
|
1615
1615
|
};
|
|
1616
1616
|
return data;
|
|
1617
1617
|
}
|
|
1618
1618
|
function _templateObject3$d() {
|
|
1619
|
-
var data = _tagged_template_literal$
|
|
1619
|
+
var data = _tagged_template_literal$u([
|
|
1620
1620
|
"\n box-shadow: 0px 8px 32px 0px #00000029;\n"
|
|
1621
1621
|
]);
|
|
1622
1622
|
_templateObject3$d = function _templateObject() {
|
|
@@ -1624,9 +1624,9 @@ function _templateObject3$d() {
|
|
|
1624
1624
|
};
|
|
1625
1625
|
return data;
|
|
1626
1626
|
}
|
|
1627
|
-
var elevation100 = css(_templateObject$
|
|
1627
|
+
var elevation100 = css(_templateObject$u());
|
|
1628
1628
|
var elevation200 = css(_templateObject1$j());
|
|
1629
|
-
var elevation300 = css(_templateObject2$
|
|
1629
|
+
var elevation300 = css(_templateObject2$i());
|
|
1630
1630
|
var elevation400 = css(_templateObject3$d());
|
|
1631
1631
|
|
|
1632
1632
|
var elevation = /*#__PURE__*/Object.freeze({
|
|
@@ -1642,7 +1642,7 @@ var spacing = function(multiple) {
|
|
|
1642
1642
|
return multiple * DEFAULT_SPACING;
|
|
1643
1643
|
};
|
|
1644
1644
|
|
|
1645
|
-
function _tagged_template_literal$
|
|
1645
|
+
function _tagged_template_literal$t(strings, raw) {
|
|
1646
1646
|
if (!raw) {
|
|
1647
1647
|
raw = strings.slice(0);
|
|
1648
1648
|
}
|
|
@@ -1652,17 +1652,17 @@ function _tagged_template_literal$u(strings, raw) {
|
|
|
1652
1652
|
}
|
|
1653
1653
|
}));
|
|
1654
1654
|
}
|
|
1655
|
-
function _templateObject$
|
|
1656
|
-
var data = _tagged_template_literal$
|
|
1655
|
+
function _templateObject$t() {
|
|
1656
|
+
var data = _tagged_template_literal$t([
|
|
1657
1657
|
"\n font-family: 'Roboto', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-smooth: never;\n"
|
|
1658
1658
|
]);
|
|
1659
|
-
_templateObject$
|
|
1659
|
+
_templateObject$t = function _templateObject() {
|
|
1660
1660
|
return data;
|
|
1661
1661
|
};
|
|
1662
1662
|
return data;
|
|
1663
1663
|
}
|
|
1664
1664
|
function _templateObject1$i() {
|
|
1665
|
-
var data = _tagged_template_literal$
|
|
1665
|
+
var data = _tagged_template_literal$t([
|
|
1666
1666
|
"\n ",
|
|
1667
1667
|
"\n font-size: ",
|
|
1668
1668
|
"rem;\n line-height: ",
|
|
@@ -1674,21 +1674,21 @@ function _templateObject1$i() {
|
|
|
1674
1674
|
};
|
|
1675
1675
|
return data;
|
|
1676
1676
|
}
|
|
1677
|
-
function _templateObject2$
|
|
1678
|
-
var data = _tagged_template_literal$
|
|
1677
|
+
function _templateObject2$h() {
|
|
1678
|
+
var data = _tagged_template_literal$t([
|
|
1679
1679
|
"\n ",
|
|
1680
1680
|
"\n font-size: ",
|
|
1681
1681
|
"rem;\n line-height: ",
|
|
1682
1682
|
"rem;\n letter-spacing: ",
|
|
1683
1683
|
"px;\n font-weight: 600;\n"
|
|
1684
1684
|
]);
|
|
1685
|
-
_templateObject2$
|
|
1685
|
+
_templateObject2$h = function _templateObject() {
|
|
1686
1686
|
return data;
|
|
1687
1687
|
};
|
|
1688
1688
|
return data;
|
|
1689
1689
|
}
|
|
1690
1690
|
function _templateObject3$c() {
|
|
1691
|
-
var data = _tagged_template_literal$
|
|
1691
|
+
var data = _tagged_template_literal$t([
|
|
1692
1692
|
"\n ",
|
|
1693
1693
|
"\n font-size: ",
|
|
1694
1694
|
"rem;\n line-height: ",
|
|
@@ -1701,7 +1701,7 @@ function _templateObject3$c() {
|
|
|
1701
1701
|
return data;
|
|
1702
1702
|
}
|
|
1703
1703
|
function _templateObject4$9() {
|
|
1704
|
-
var data = _tagged_template_literal$
|
|
1704
|
+
var data = _tagged_template_literal$t([
|
|
1705
1705
|
"\n ",
|
|
1706
1706
|
"\n font-size: ",
|
|
1707
1707
|
"rem;\n line-height: ",
|
|
@@ -1714,7 +1714,7 @@ function _templateObject4$9() {
|
|
|
1714
1714
|
return data;
|
|
1715
1715
|
}
|
|
1716
1716
|
function _templateObject5$4() {
|
|
1717
|
-
var data = _tagged_template_literal$
|
|
1717
|
+
var data = _tagged_template_literal$t([
|
|
1718
1718
|
"\n ",
|
|
1719
1719
|
"\n font-size: ",
|
|
1720
1720
|
"rem;\n line-height: ",
|
|
@@ -1727,7 +1727,7 @@ function _templateObject5$4() {
|
|
|
1727
1727
|
return data;
|
|
1728
1728
|
}
|
|
1729
1729
|
function _templateObject6$2() {
|
|
1730
|
-
var data = _tagged_template_literal$
|
|
1730
|
+
var data = _tagged_template_literal$t([
|
|
1731
1731
|
"\n ",
|
|
1732
1732
|
"\n font-size: ",
|
|
1733
1733
|
"rem;\n line-height: ",
|
|
@@ -1740,7 +1740,7 @@ function _templateObject6$2() {
|
|
|
1740
1740
|
return data;
|
|
1741
1741
|
}
|
|
1742
1742
|
function _templateObject7$1() {
|
|
1743
|
-
var data = _tagged_template_literal$
|
|
1743
|
+
var data = _tagged_template_literal$t([
|
|
1744
1744
|
"\n ",
|
|
1745
1745
|
"\n font-size: ",
|
|
1746
1746
|
"rem;\n line-height: ",
|
|
@@ -1753,7 +1753,7 @@ function _templateObject7$1() {
|
|
|
1753
1753
|
return data;
|
|
1754
1754
|
}
|
|
1755
1755
|
function _templateObject8() {
|
|
1756
|
-
var data = _tagged_template_literal$
|
|
1756
|
+
var data = _tagged_template_literal$t([
|
|
1757
1757
|
"\n ",
|
|
1758
1758
|
"\n font-size: ",
|
|
1759
1759
|
"rem;\n line-height: ",
|
|
@@ -1766,7 +1766,7 @@ function _templateObject8() {
|
|
|
1766
1766
|
return data;
|
|
1767
1767
|
}
|
|
1768
1768
|
function _templateObject9() {
|
|
1769
|
-
var data = _tagged_template_literal$
|
|
1769
|
+
var data = _tagged_template_literal$t([
|
|
1770
1770
|
"\n ",
|
|
1771
1771
|
"\n font-size: ",
|
|
1772
1772
|
"rem;\n line-height: ",
|
|
@@ -1779,7 +1779,7 @@ function _templateObject9() {
|
|
|
1779
1779
|
return data;
|
|
1780
1780
|
}
|
|
1781
1781
|
function _templateObject10() {
|
|
1782
|
-
var data = _tagged_template_literal$
|
|
1782
|
+
var data = _tagged_template_literal$t([
|
|
1783
1783
|
"\n ",
|
|
1784
1784
|
"\n font-size: ",
|
|
1785
1785
|
"rem;\n line-height: ",
|
|
@@ -1792,7 +1792,7 @@ function _templateObject10() {
|
|
|
1792
1792
|
return data;
|
|
1793
1793
|
}
|
|
1794
1794
|
function _templateObject11() {
|
|
1795
|
-
var data = _tagged_template_literal$
|
|
1795
|
+
var data = _tagged_template_literal$t([
|
|
1796
1796
|
"\n ",
|
|
1797
1797
|
"\n font-size: ",
|
|
1798
1798
|
"rem;\n line-height: ",
|
|
@@ -1805,7 +1805,7 @@ function _templateObject11() {
|
|
|
1805
1805
|
return data;
|
|
1806
1806
|
}
|
|
1807
1807
|
function _templateObject12() {
|
|
1808
|
-
var data = _tagged_template_literal$
|
|
1808
|
+
var data = _tagged_template_literal$t([
|
|
1809
1809
|
"\n ",
|
|
1810
1810
|
"\n font-size: ",
|
|
1811
1811
|
"rem;\n line-height: ",
|
|
@@ -1818,7 +1818,7 @@ function _templateObject12() {
|
|
|
1818
1818
|
return data;
|
|
1819
1819
|
}
|
|
1820
1820
|
function _templateObject13() {
|
|
1821
|
-
var data = _tagged_template_literal$
|
|
1821
|
+
var data = _tagged_template_literal$t([
|
|
1822
1822
|
"\n ",
|
|
1823
1823
|
"\n font-size: ",
|
|
1824
1824
|
"rem;\n line-height: ",
|
|
@@ -1831,7 +1831,7 @@ function _templateObject13() {
|
|
|
1831
1831
|
return data;
|
|
1832
1832
|
}
|
|
1833
1833
|
function _templateObject14() {
|
|
1834
|
-
var data = _tagged_template_literal$
|
|
1834
|
+
var data = _tagged_template_literal$t([
|
|
1835
1835
|
"\n ",
|
|
1836
1836
|
"\n font-size: ",
|
|
1837
1837
|
"rem;\n line-height: ",
|
|
@@ -1844,7 +1844,7 @@ function _templateObject14() {
|
|
|
1844
1844
|
return data;
|
|
1845
1845
|
}
|
|
1846
1846
|
function _templateObject15() {
|
|
1847
|
-
var data = _tagged_template_literal$
|
|
1847
|
+
var data = _tagged_template_literal$t([
|
|
1848
1848
|
"\n ",
|
|
1849
1849
|
"\n font-size: ",
|
|
1850
1850
|
"rem;\n line-height: ",
|
|
@@ -1857,7 +1857,7 @@ function _templateObject15() {
|
|
|
1857
1857
|
return data;
|
|
1858
1858
|
}
|
|
1859
1859
|
function _templateObject16() {
|
|
1860
|
-
var data = _tagged_template_literal$
|
|
1860
|
+
var data = _tagged_template_literal$t([
|
|
1861
1861
|
"\n ",
|
|
1862
1862
|
"\n font-size: ",
|
|
1863
1863
|
"rem;\n line-height: ",
|
|
@@ -1870,7 +1870,7 @@ function _templateObject16() {
|
|
|
1870
1870
|
return data;
|
|
1871
1871
|
}
|
|
1872
1872
|
function _templateObject17() {
|
|
1873
|
-
var data = _tagged_template_literal$
|
|
1873
|
+
var data = _tagged_template_literal$t([
|
|
1874
1874
|
"\n ",
|
|
1875
1875
|
"\n font-size: ",
|
|
1876
1876
|
"rem;\n line-height: ",
|
|
@@ -1883,7 +1883,7 @@ function _templateObject17() {
|
|
|
1883
1883
|
return data;
|
|
1884
1884
|
}
|
|
1885
1885
|
function _templateObject18() {
|
|
1886
|
-
var data = _tagged_template_literal$
|
|
1886
|
+
var data = _tagged_template_literal$t([
|
|
1887
1887
|
"\n ",
|
|
1888
1888
|
"\n font-size: ",
|
|
1889
1889
|
"rem;\n line-height: ",
|
|
@@ -1896,7 +1896,7 @@ function _templateObject18() {
|
|
|
1896
1896
|
return data;
|
|
1897
1897
|
}
|
|
1898
1898
|
function _templateObject19() {
|
|
1899
|
-
var data = _tagged_template_literal$
|
|
1899
|
+
var data = _tagged_template_literal$t([
|
|
1900
1900
|
"\n ",
|
|
1901
1901
|
"\n font-size: ",
|
|
1902
1902
|
"rem;\n line-height: ",
|
|
@@ -1909,7 +1909,7 @@ function _templateObject19() {
|
|
|
1909
1909
|
return data;
|
|
1910
1910
|
}
|
|
1911
1911
|
function _templateObject20() {
|
|
1912
|
-
var data = _tagged_template_literal$
|
|
1912
|
+
var data = _tagged_template_literal$t([
|
|
1913
1913
|
"\n ",
|
|
1914
1914
|
"\n font-size: ",
|
|
1915
1915
|
"rem;\n line-height: ",
|
|
@@ -1922,7 +1922,7 @@ function _templateObject20() {
|
|
|
1922
1922
|
return data;
|
|
1923
1923
|
}
|
|
1924
1924
|
function _templateObject21() {
|
|
1925
|
-
var data = _tagged_template_literal$
|
|
1925
|
+
var data = _tagged_template_literal$t([
|
|
1926
1926
|
"\n ",
|
|
1927
1927
|
"\n font-size: ",
|
|
1928
1928
|
"rem;\n line-height: ",
|
|
@@ -1935,7 +1935,7 @@ function _templateObject21() {
|
|
|
1935
1935
|
return data;
|
|
1936
1936
|
}
|
|
1937
1937
|
function _templateObject22() {
|
|
1938
|
-
var data = _tagged_template_literal$
|
|
1938
|
+
var data = _tagged_template_literal$t([
|
|
1939
1939
|
"\n ",
|
|
1940
1940
|
"\n font-size: ",
|
|
1941
1941
|
"rem;\n line-height: ",
|
|
@@ -1948,7 +1948,7 @@ function _templateObject22() {
|
|
|
1948
1948
|
return data;
|
|
1949
1949
|
}
|
|
1950
1950
|
function _templateObject23() {
|
|
1951
|
-
var data = _tagged_template_literal$
|
|
1951
|
+
var data = _tagged_template_literal$t([
|
|
1952
1952
|
"\n ",
|
|
1953
1953
|
"\n font-size: ",
|
|
1954
1954
|
"rem;\n line-height: ",
|
|
@@ -1961,7 +1961,7 @@ function _templateObject23() {
|
|
|
1961
1961
|
return data;
|
|
1962
1962
|
}
|
|
1963
1963
|
function _templateObject24() {
|
|
1964
|
-
var data = _tagged_template_literal$
|
|
1964
|
+
var data = _tagged_template_literal$t([
|
|
1965
1965
|
"\n ",
|
|
1966
1966
|
"\n font-size: ",
|
|
1967
1967
|
"rem;\n line-height: ",
|
|
@@ -1974,7 +1974,7 @@ function _templateObject24() {
|
|
|
1974
1974
|
return data;
|
|
1975
1975
|
}
|
|
1976
1976
|
function _templateObject25() {
|
|
1977
|
-
var data = _tagged_template_literal$
|
|
1977
|
+
var data = _tagged_template_literal$t([
|
|
1978
1978
|
"\n ",
|
|
1979
1979
|
"\n font-size: ",
|
|
1980
1980
|
"rem;\n line-height: ",
|
|
@@ -1986,10 +1986,10 @@ function _templateObject25() {
|
|
|
1986
1986
|
};
|
|
1987
1987
|
return data;
|
|
1988
1988
|
}
|
|
1989
|
-
var commonStyles = css(_templateObject$
|
|
1989
|
+
var commonStyles = css(_templateObject$t());
|
|
1990
1990
|
// HEADLINES
|
|
1991
1991
|
var $headline100Regular = css(_templateObject1$i(), commonStyles, headline100FontSize / BASE_FONT_SIZE, headline100LineHeight / BASE_FONT_SIZE, headline100LetterSpacing);
|
|
1992
|
-
var $headline100Semibold = css(_templateObject2$
|
|
1992
|
+
var $headline100Semibold = css(_templateObject2$h(), commonStyles, headline100FontSize / BASE_FONT_SIZE, headline100LineHeight / BASE_FONT_SIZE, headline100LetterSpacing);
|
|
1993
1993
|
var $headline200Regular = css(_templateObject3$c(), commonStyles, headline200FontSize / BASE_FONT_SIZE, headline200LineHeight / BASE_FONT_SIZE, headline200LetterSpacing);
|
|
1994
1994
|
var $headline200Semibold = css(_templateObject4$9(), commonStyles, headline200FontSize / BASE_FONT_SIZE, headline200LineHeight / BASE_FONT_SIZE, headline200LetterSpacing);
|
|
1995
1995
|
var $headline300Regular = css(_templateObject5$4(), commonStyles, headline300FontSize / BASE_FONT_SIZE, headline300LineHeight / BASE_FONT_SIZE, headline300LetterSpacing);
|
|
@@ -2084,7 +2084,7 @@ function _non_iterable_rest$l() {
|
|
|
2084
2084
|
function _sliced_to_array$l(arr, i) {
|
|
2085
2085
|
return _array_with_holes$l(arr) || _iterable_to_array_limit$l(arr, i) || _unsupported_iterable_to_array$p(arr, i) || _non_iterable_rest$l();
|
|
2086
2086
|
}
|
|
2087
|
-
function _tagged_template_literal$
|
|
2087
|
+
function _tagged_template_literal$s(strings, raw) {
|
|
2088
2088
|
if (!raw) {
|
|
2089
2089
|
raw = strings.slice(0);
|
|
2090
2090
|
}
|
|
@@ -2102,20 +2102,20 @@ function _unsupported_iterable_to_array$p(o, minLen) {
|
|
|
2102
2102
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2103
2103
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$p(o, minLen);
|
|
2104
2104
|
}
|
|
2105
|
-
function _templateObject$
|
|
2106
|
-
var data = _tagged_template_literal$
|
|
2105
|
+
function _templateObject$s() {
|
|
2106
|
+
var data = _tagged_template_literal$s([
|
|
2107
2107
|
"\n padding: ",
|
|
2108
2108
|
";\n margin: 10px;\n border-radius: 5px;\n color: ",
|
|
2109
2109
|
";\n display: flex;\n align-items: center;\n flex-direction: row;\n gap: 0.5rem;\n background-color: ",
|
|
2110
2110
|
";\n"
|
|
2111
2111
|
]);
|
|
2112
|
-
_templateObject$
|
|
2112
|
+
_templateObject$s = function _templateObject() {
|
|
2113
2113
|
return data;
|
|
2114
2114
|
};
|
|
2115
2115
|
return data;
|
|
2116
2116
|
}
|
|
2117
2117
|
function _templateObject1$h() {
|
|
2118
|
-
var data = _tagged_template_literal$
|
|
2118
|
+
var data = _tagged_template_literal$s([
|
|
2119
2119
|
"\n ",
|
|
2120
2120
|
";\n margin: 0;\n"
|
|
2121
2121
|
]);
|
|
@@ -2124,18 +2124,18 @@ function _templateObject1$h() {
|
|
|
2124
2124
|
};
|
|
2125
2125
|
return data;
|
|
2126
2126
|
}
|
|
2127
|
-
function _templateObject2$
|
|
2128
|
-
var data = _tagged_template_literal$
|
|
2127
|
+
function _templateObject2$g() {
|
|
2128
|
+
var data = _tagged_template_literal$s([
|
|
2129
2129
|
"\n ",
|
|
2130
2130
|
";\n margin: 0;\n"
|
|
2131
2131
|
]);
|
|
2132
|
-
_templateObject2$
|
|
2132
|
+
_templateObject2$g = function _templateObject() {
|
|
2133
2133
|
return data;
|
|
2134
2134
|
};
|
|
2135
2135
|
return data;
|
|
2136
2136
|
}
|
|
2137
2137
|
function _templateObject3$b() {
|
|
2138
|
-
var data = _tagged_template_literal$
|
|
2138
|
+
var data = _tagged_template_literal$s([
|
|
2139
2139
|
"\n font-size: 1.5rem;\n color: ",
|
|
2140
2140
|
";\n margin-bottom: auto;\n flex-shrink: 0;\n"
|
|
2141
2141
|
]);
|
|
@@ -2145,7 +2145,7 @@ function _templateObject3$b() {
|
|
|
2145
2145
|
return data;
|
|
2146
2146
|
}
|
|
2147
2147
|
function _templateObject4$8() {
|
|
2148
|
-
var data = _tagged_template_literal$
|
|
2148
|
+
var data = _tagged_template_literal$s([
|
|
2149
2149
|
"\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n"
|
|
2150
2150
|
]);
|
|
2151
2151
|
_templateObject4$8 = function _templateObject() {
|
|
@@ -2154,7 +2154,7 @@ function _templateObject4$8() {
|
|
|
2154
2154
|
return data;
|
|
2155
2155
|
}
|
|
2156
2156
|
function _templateObject5$3() {
|
|
2157
|
-
var data = _tagged_template_literal$
|
|
2157
|
+
var data = _tagged_template_literal$s([
|
|
2158
2158
|
"\n background-color: transparent;\n border: none;\n color: ",
|
|
2159
2159
|
";\n cursor: pointer;\n padding: 0.25rem;\n font-size: 0.75rem;\n margin-left: ",
|
|
2160
2160
|
";\n"
|
|
@@ -2164,7 +2164,7 @@ function _templateObject5$3() {
|
|
|
2164
2164
|
};
|
|
2165
2165
|
return data;
|
|
2166
2166
|
}
|
|
2167
|
-
var AlertContainer = styled.div(_templateObject$
|
|
2167
|
+
var AlertContainer = styled.div(_templateObject$s(), function(param) {
|
|
2168
2168
|
var size = param.size;
|
|
2169
2169
|
return size === 'large' ? '1rem' : '0.5rem 0.625rem';
|
|
2170
2170
|
}, neutral900, function(param) {
|
|
@@ -2175,7 +2175,7 @@ var Title = styled.h1(_templateObject1$h(), function(param) {
|
|
|
2175
2175
|
var size = param.size;
|
|
2176
2176
|
return size === 'large' ? $paragraph100Semibold : $paragraph200Regular;
|
|
2177
2177
|
});
|
|
2178
|
-
var Text = styled.p(_templateObject2$
|
|
2178
|
+
var Text = styled.p(_templateObject2$g(), $paragraph200Regular);
|
|
2179
2179
|
var StyledIcon = styled.div(_templateObject3$b(), function(param) {
|
|
2180
2180
|
var type = param.type;
|
|
2181
2181
|
return type === 'info' ? primary700 : type === 'error' ? danger700 : type === 'success' ? success700 : warning700;
|
|
@@ -2233,7 +2233,7 @@ var AlertBar = function(props) {
|
|
|
2233
2233
|
});
|
|
2234
2234
|
};
|
|
2235
2235
|
|
|
2236
|
-
function _tagged_template_literal$
|
|
2236
|
+
function _tagged_template_literal$r(strings, raw) {
|
|
2237
2237
|
if (!raw) {
|
|
2238
2238
|
raw = strings.slice(0);
|
|
2239
2239
|
}
|
|
@@ -2243,8 +2243,8 @@ function _tagged_template_literal$s(strings, raw) {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
}));
|
|
2245
2245
|
}
|
|
2246
|
-
function _templateObject$
|
|
2247
|
-
var data = _tagged_template_literal$
|
|
2246
|
+
function _templateObject$r() {
|
|
2247
|
+
var data = _tagged_template_literal$r([
|
|
2248
2248
|
"\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: ",
|
|
2249
2249
|
";\n border: ",
|
|
2250
2250
|
";\n transition: all;\n transition-duration: 200ms;\n border-radius: ",
|
|
@@ -2259,7 +2259,7 @@ function _templateObject$s() {
|
|
|
2259
2259
|
";\n cursor: not-allowed;\n\n color: ",
|
|
2260
2260
|
";\n }\n"
|
|
2261
2261
|
]);
|
|
2262
|
-
_templateObject$
|
|
2262
|
+
_templateObject$r = function _templateObject() {
|
|
2263
2263
|
return data;
|
|
2264
2264
|
};
|
|
2265
2265
|
return data;
|
|
@@ -2309,7 +2309,7 @@ var getTextColor = function(color) {
|
|
|
2309
2309
|
return textPrimary;
|
|
2310
2310
|
}
|
|
2311
2311
|
};
|
|
2312
|
-
var BaseButton = styled.button(_templateObject$
|
|
2312
|
+
var BaseButton = styled.button(_templateObject$r(), function(props) {
|
|
2313
2313
|
return props.size === 'large' ? '12px 16px' : '10px 12px';
|
|
2314
2314
|
}, function(param) {
|
|
2315
2315
|
var color = param.color, variant = param.variant;
|
|
@@ -2417,7 +2417,7 @@ function _object_without_properties_loose$m(source, excluded) {
|
|
|
2417
2417
|
}
|
|
2418
2418
|
return target;
|
|
2419
2419
|
}
|
|
2420
|
-
function _tagged_template_literal$
|
|
2420
|
+
function _tagged_template_literal$q(strings, raw) {
|
|
2421
2421
|
if (!raw) {
|
|
2422
2422
|
raw = strings.slice(0);
|
|
2423
2423
|
}
|
|
@@ -2427,17 +2427,17 @@ function _tagged_template_literal$r(strings, raw) {
|
|
|
2427
2427
|
}
|
|
2428
2428
|
}));
|
|
2429
2429
|
}
|
|
2430
|
-
function _templateObject$
|
|
2431
|
-
var data = _tagged_template_literal$
|
|
2430
|
+
function _templateObject$q() {
|
|
2431
|
+
var data = _tagged_template_literal$q([
|
|
2432
2432
|
"\n display: flex;\n margin: ",
|
|
2433
2433
|
";\n"
|
|
2434
2434
|
]);
|
|
2435
|
-
_templateObject$
|
|
2435
|
+
_templateObject$q = function _templateObject() {
|
|
2436
2436
|
return data;
|
|
2437
2437
|
};
|
|
2438
2438
|
return data;
|
|
2439
2439
|
}
|
|
2440
|
-
var IconWrapper$4 = styled.span(_templateObject$
|
|
2440
|
+
var IconWrapper$4 = styled.span(_templateObject$q(), function(props) {
|
|
2441
2441
|
return props.iconLeft ? '0 8px 0 0' : props.iconRight ? '0 0 0 8px' : '0';
|
|
2442
2442
|
});
|
|
2443
2443
|
var Button = /*#__PURE__*/ forwardRef(function(_param, ref) {
|
|
@@ -21503,7 +21503,7 @@ var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate";
|
|
|
21503
21503
|
|
|
21504
21504
|
var datepickerStyles = ".react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon::before{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:\"\";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-wrapper{display:inline-block;padding:0;border:0}.react-datepicker{font-family:\"Helvetica Neue\",helvetica,arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative;line-height:initial}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker-popper{z-index:1;line-height:0}.react-datepicker-popper .react-datepicker__triangle{stroke:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{fill:#f0f0f0;color:#f0f0f0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{fill:#fff;color:#fff}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__year-dropdown-container--select,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 15px}.react-datepicker__current-month,.react-datepicker-time__header,.react-datepicker-year-header{margin-top:0;color:#000;font-weight:bold;font-size:.944rem}h2.react-datepicker__current-month{padding:0;margin:0}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{align-items:center;background:none;display:flex;justify-content:center;text-align:center;cursor:pointer;position:absolute;top:2px;padding:0;border:none;z-index:1;height:32px;width:32px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover *::before{border-color:#a6a6a6}.react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next::before{transform:rotate(45deg);left:-7px}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous::before{transform:rotate(225deg);right:-7px}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + 1.7rem/2);overflow-y:scroll;padding-right:0;padding-left:0;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:bold}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:rgba(0,0,0,0)}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,.react-datepicker__week-number--keyboard-selected):hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__week-number--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__week-number--selected:hover{background-color:#1d5d90}.react-datepicker__week-number--keyboard-selected{border-radius:.3rem;background-color:#2a87d0;color:#fff}.react-datepicker__week-number--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day-names{white-space:nowrap;margin-bottom:-8px}.react-datepicker__week{white-space:nowrap}.react-datepicker__day-name,.react-datepicker__day,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:not([aria-disabled=true]):hover,.react-datepicker__month-text:not([aria-disabled=true]):hover,.react-datepicker__quarter-text:not([aria-disabled=true]):hover,.react-datepicker__year-text:not([aria-disabled=true]):hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:bold}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--holidays,.react-datepicker__month-text--holidays,.react-datepicker__quarter-text--holidays,.react-datepicker__year-text--holidays{position:relative;border-radius:.3rem;background-color:#ff6803;color:#fff}.react-datepicker__day--holidays .overlay,.react-datepicker__month-text--holidays .overlay,.react-datepicker__quarter-text--holidays .overlay,.react-datepicker__year-text--holidays .overlay{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__day--holidays:not([aria-disabled=true]):hover,.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover{background-color:#cf5300}.react-datepicker__day--holidays:hover .overlay,.react-datepicker__month-text--holidays:hover .overlay,.react-datepicker__quarter-text--holidays:hover .overlay,.react-datepicker__year-text--holidays:hover .overlay{visibility:visible;opacity:1}.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range,.react-datepicker__month-text--selected,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--selected,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--selected,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--selected:not([aria-disabled=true]):hover,.react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__day--in-range:not([aria-disabled=true]):hover,.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled .overlay,.react-datepicker__month-text--disabled .overlay,.react-datepicker__quarter-text--disabled .overlay,.react-datepicker__year-text--disabled .overlay{position:absolute;bottom:70%;left:50%;transform:translateX(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem;box-sizing:content-box}.react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}.react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{border:1px solid rgba(0,0,0,0);border-radius:.3rem;position:relative}.react-datepicker__year-read-view:hover,.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover{cursor:pointer}.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__year-dropdown:hover,.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover{cursor:pointer}.react-datepicker__year-dropdown--scrollable,.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__year-option,.react-datepicker__month-option,.react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__year-option:first-of-type,.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__year-option:last-of-type,.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__year-option:hover,.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover{background-color:#ccc}.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__year-option--selected,.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:rgba(0,0,0,0);border:0;outline:0;padding:0 6px 0 0;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon::after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:\"×\"}.react-datepicker__close-icon--disabled{cursor:default}.react-datepicker__close-icon--disabled::after{cursor:default;background-color:#ccc}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:bold;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.8);left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media(max-width: 400px),(max-height: 550px){.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month,.react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}.react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}.react-datepicker__aria-live{position:absolute;clip-path:circle(0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;white-space:nowrap}.react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-0.125em}\n";
|
|
21505
21505
|
|
|
21506
|
-
function _tagged_template_literal$
|
|
21506
|
+
function _tagged_template_literal$p(strings, raw) {
|
|
21507
21507
|
if (!raw) {
|
|
21508
21508
|
raw = strings.slice(0);
|
|
21509
21509
|
}
|
|
@@ -21513,8 +21513,8 @@ function _tagged_template_literal$q(strings, raw) {
|
|
|
21513
21513
|
}
|
|
21514
21514
|
}));
|
|
21515
21515
|
}
|
|
21516
|
-
function _templateObject$
|
|
21517
|
-
var data = _tagged_template_literal$
|
|
21516
|
+
function _templateObject$p() {
|
|
21517
|
+
var data = _tagged_template_literal$p([
|
|
21518
21518
|
"\n .react-datepicker__day-name {\n ",
|
|
21519
21519
|
"\n color: ",
|
|
21520
21520
|
";\n\n &:first-of-type {\n width: 35px;\n padding-right: 5px;\n }\n &:last-of-type {\n width: 35px;\n padding-left: 5px;\n }\n }\n .react-datepicker__day-names {\n margin: 12px 0;\n }\n .react-datepicker__day-name {\n width: 40px;\n margin: 0;\n }\n .react-datepicker__week {\n &:last-child {\n .react-datepicker__day {\n border-top: 5px solid white;\n border-bottom: none;\n }\n }\n }\n .react-datepicker__day {\n height: 30px;\n width: 40px;\n margin: 0;\n border-top: 5px solid white;\n border-bottom: 5px solid white;\n border-radius: 0;\n\n &:first-of-type {\n width: 35px;\n padding-right: 5px;\n }\n &:last-of-type {\n width: 35px;\n padding-left: 5px;\n }\n }\n .react-datepicker__day:hover,\n .react-datepicker__day--today,\n .react-datepicker__day--selected,\n .react-datepicker__day--keyboard-selected {\n background: none;\n }\n .react-datepicker__day div {\n ",
|
|
@@ -21526,13 +21526,13 @@ function _templateObject$q() {
|
|
|
21526
21526
|
";\n background: ",
|
|
21527
21527
|
";\n }\n"
|
|
21528
21528
|
]);
|
|
21529
|
-
_templateObject$
|
|
21529
|
+
_templateObject$p = function _templateObject() {
|
|
21530
21530
|
return data;
|
|
21531
21531
|
};
|
|
21532
21532
|
return data;
|
|
21533
21533
|
}
|
|
21534
21534
|
function _templateObject1$g() {
|
|
21535
|
-
var data = _tagged_template_literal$
|
|
21535
|
+
var data = _tagged_template_literal$p([
|
|
21536
21536
|
"\n .react-datepicker__day--in-selecting-range:not(\n .react-datepicker__day--selecting-range-start\n ):not(.react-datepicker__day--selecting-range-end),\n .react-datepicker__day--in-range:not(.react-datepicker__day--range-start):not(\n .react-datepicker__day--range-end\n ) {\n color: ",
|
|
21537
21537
|
";\n background: ",
|
|
21538
21538
|
";\n\n &:hover {\n background: ",
|
|
@@ -21552,8 +21552,8 @@ function _templateObject1$g() {
|
|
|
21552
21552
|
};
|
|
21553
21553
|
return data;
|
|
21554
21554
|
}
|
|
21555
|
-
function _templateObject2$
|
|
21556
|
-
var data = _tagged_template_literal$
|
|
21555
|
+
function _templateObject2$f() {
|
|
21556
|
+
var data = _tagged_template_literal$p([
|
|
21557
21557
|
"\n ",
|
|
21558
21558
|
"\n\n & * {\n box-sizing: content-box;\n }\n\n &.calendar-container {\n display: flex;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n border: none;\n font-family: 'Roboto', sans-serif;\n color: ",
|
|
21559
21559
|
";\n\n .react-datepicker__header {\n padding: 0;\n border-bottom: none;\n background: none;\n }\n .react-datepicker__navigation {\n top: 0;\n background: ",
|
|
@@ -21564,14 +21564,14 @@ function _templateObject2$e() {
|
|
|
21564
21564
|
"\n ",
|
|
21565
21565
|
"\n }\n"
|
|
21566
21566
|
]);
|
|
21567
|
-
_templateObject2$
|
|
21567
|
+
_templateObject2$f = function _templateObject() {
|
|
21568
21568
|
return data;
|
|
21569
21569
|
};
|
|
21570
21570
|
return data;
|
|
21571
21571
|
}
|
|
21572
|
-
var dayStyles = css(_templateObject$
|
|
21572
|
+
var dayStyles = css(_templateObject$p(), $paragraph300Medium, neutral400, $paragraph300Bold, primary600, $paragraph300Medium, neutral400, primary100, textPrimaryWhite, primary600);
|
|
21573
21573
|
var rangeStyles = css(_templateObject1$g(), primary600, primary100, primary100, textPrimaryWhite, primary600, primary200, textPrimaryWhite, primary600, primary100, textPrimaryWhite, primary600, primary100);
|
|
21574
|
-
var Container$3 = styled.div(_templateObject2$
|
|
21574
|
+
var Container$3 = styled.div(_templateObject2$f(), datepickerStyles, textPrimary, neutral100, neutral300, $paragraph100Semibold, spacing(4), dayStyles, rangeStyles);
|
|
21575
21575
|
var CalendarContainer = function(param) {
|
|
21576
21576
|
var children = param.children;
|
|
21577
21577
|
return /*#__PURE__*/ jsx("div", {
|
|
@@ -21751,7 +21751,7 @@ function _object_without_properties_loose$j(source, excluded) {
|
|
|
21751
21751
|
}
|
|
21752
21752
|
return target;
|
|
21753
21753
|
}
|
|
21754
|
-
function _tagged_template_literal$
|
|
21754
|
+
function _tagged_template_literal$o(strings, raw) {
|
|
21755
21755
|
if (!raw) {
|
|
21756
21756
|
raw = strings.slice(0);
|
|
21757
21757
|
}
|
|
@@ -21761,16 +21761,16 @@ function _tagged_template_literal$p(strings, raw) {
|
|
|
21761
21761
|
}
|
|
21762
21762
|
}));
|
|
21763
21763
|
}
|
|
21764
|
-
function _templateObject$
|
|
21765
|
-
var data = _tagged_template_literal$
|
|
21764
|
+
function _templateObject$o() {
|
|
21765
|
+
var data = _tagged_template_literal$o([
|
|
21766
21766
|
"\n height: 15px;\n width: 15px;\n cursor: pointer;\n"
|
|
21767
21767
|
]);
|
|
21768
|
-
_templateObject$
|
|
21768
|
+
_templateObject$o = function _templateObject() {
|
|
21769
21769
|
return data;
|
|
21770
21770
|
};
|
|
21771
21771
|
return data;
|
|
21772
21772
|
}
|
|
21773
|
-
var StyledCheckbox = styled.input(_templateObject$
|
|
21773
|
+
var StyledCheckbox = styled.input(_templateObject$o());
|
|
21774
21774
|
var Checkbox = function(_param) {
|
|
21775
21775
|
var _param_checked = _param.checked, checked = _param_checked === void 0 ? false : _param_checked, _param_indeterminate = _param.indeterminate, indeterminate = _param_indeterminate === void 0 ? false : _param_indeterminate, onChange = _param.onChange, props = _object_without_properties$j(_param, [
|
|
21776
21776
|
"checked",
|
|
@@ -21903,7 +21903,7 @@ function _object_spread$v(target) {
|
|
|
21903
21903
|
function _sliced_to_array$g(arr, i) {
|
|
21904
21904
|
return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$j(arr, i) || _non_iterable_rest$g();
|
|
21905
21905
|
}
|
|
21906
|
-
function _tagged_template_literal$
|
|
21906
|
+
function _tagged_template_literal$n(strings, raw) {
|
|
21907
21907
|
if (!raw) {
|
|
21908
21908
|
raw = strings.slice(0);
|
|
21909
21909
|
}
|
|
@@ -21924,19 +21924,19 @@ function _unsupported_iterable_to_array$j(o, minLen) {
|
|
|
21924
21924
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
21925
21925
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$j(o, minLen);
|
|
21926
21926
|
}
|
|
21927
|
-
function _templateObject$
|
|
21928
|
-
var data = _tagged_template_literal$
|
|
21927
|
+
function _templateObject$n() {
|
|
21928
|
+
var data = _tagged_template_literal$n([
|
|
21929
21929
|
"\n position: absolute;\n z-index: 1;\n padding: ",
|
|
21930
21930
|
"px;\n border-radius: ",
|
|
21931
21931
|
"px;\n background: white;\n ",
|
|
21932
21932
|
"\n"
|
|
21933
21933
|
]);
|
|
21934
|
-
_templateObject$
|
|
21934
|
+
_templateObject$n = function _templateObject() {
|
|
21935
21935
|
return data;
|
|
21936
21936
|
};
|
|
21937
21937
|
return data;
|
|
21938
21938
|
}
|
|
21939
|
-
var PopperContainer = styled.div(_templateObject$
|
|
21939
|
+
var PopperContainer = styled.div(_templateObject$n(), spacing(2), spacing(1), elevation400);
|
|
21940
21940
|
var calculatePosition = function(anchorRect, popperRect, side, align, offset, detectEdges) {
|
|
21941
21941
|
var top = 0;
|
|
21942
21942
|
var left = 0;
|
|
@@ -22037,11 +22037,14 @@ var Popper = function(param) {
|
|
|
22037
22037
|
detectEdges
|
|
22038
22038
|
]);
|
|
22039
22039
|
useLayoutEffect(function() {
|
|
22040
|
-
if (open) {
|
|
22041
|
-
updatePosition();
|
|
22042
|
-
} else {
|
|
22040
|
+
if (!open) {
|
|
22043
22041
|
setPosition(null);
|
|
22042
|
+
return;
|
|
22044
22043
|
}
|
|
22044
|
+
var handle = requestAnimationFrame(updatePosition);
|
|
22045
|
+
return function() {
|
|
22046
|
+
return cancelAnimationFrame(handle);
|
|
22047
|
+
};
|
|
22045
22048
|
}, [
|
|
22046
22049
|
open,
|
|
22047
22050
|
updatePosition
|
|
@@ -22188,7 +22191,7 @@ function _object_without_properties_loose$i(source, excluded) {
|
|
|
22188
22191
|
function _sliced_to_array$f(arr, i) {
|
|
22189
22192
|
return _array_with_holes$f(arr) || _iterable_to_array_limit$f(arr, i) || _unsupported_iterable_to_array$i(arr, i) || _non_iterable_rest$f();
|
|
22190
22193
|
}
|
|
22191
|
-
function _tagged_template_literal$
|
|
22194
|
+
function _tagged_template_literal$m(strings, raw) {
|
|
22192
22195
|
if (!raw) {
|
|
22193
22196
|
raw = strings.slice(0);
|
|
22194
22197
|
}
|
|
@@ -22206,19 +22209,19 @@ function _unsupported_iterable_to_array$i(o, minLen) {
|
|
|
22206
22209
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
22207
22210
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
|
|
22208
22211
|
}
|
|
22209
|
-
function _templateObject$
|
|
22210
|
-
var data = _tagged_template_literal$
|
|
22212
|
+
function _templateObject$m() {
|
|
22213
|
+
var data = _tagged_template_literal$m([
|
|
22211
22214
|
"\n display: flex;\n justify-content: space-between;\n padding: ",
|
|
22212
22215
|
"px;\n border: 1px solid ",
|
|
22213
22216
|
";\n border-radius: ",
|
|
22214
22217
|
"px;\n font-weight: 700;\n opacity: 0.8;\n"
|
|
22215
22218
|
]);
|
|
22216
|
-
_templateObject$
|
|
22219
|
+
_templateObject$m = function _templateObject() {
|
|
22217
22220
|
return data;
|
|
22218
22221
|
};
|
|
22219
22222
|
return data;
|
|
22220
22223
|
}
|
|
22221
|
-
var DatePickerButton = styled(Button)(_templateObject$
|
|
22224
|
+
var DatePickerButton = styled(Button)(_templateObject$m(), spacing(1), neutral300, spacing(1));
|
|
22222
22225
|
var DatePicker = function(_param) {
|
|
22223
22226
|
var _param_rangeSelect = _param.rangeSelect, rangeSelect = _param_rangeSelect === void 0 ? false : _param_rangeSelect, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? new Date() : _param_selectedDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? new Date(Date.now() - 7 * 24 * 60 * 60 * 1000) : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? new Date() : _param_endDate, onChange = _param.onChange, rest = _object_without_properties$i(_param, [
|
|
22224
22227
|
"rangeSelect",
|
|
@@ -22388,7 +22391,7 @@ function _object_spread_props$o(target, source) {
|
|
|
22388
22391
|
function _sliced_to_array$e(arr, i) {
|
|
22389
22392
|
return _array_with_holes$e(arr) || _iterable_to_array_limit$e(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$e();
|
|
22390
22393
|
}
|
|
22391
|
-
function _tagged_template_literal$
|
|
22394
|
+
function _tagged_template_literal$l(strings, raw) {
|
|
22392
22395
|
if (!raw) {
|
|
22393
22396
|
raw = strings.slice(0);
|
|
22394
22397
|
}
|
|
@@ -22406,18 +22409,18 @@ function _unsupported_iterable_to_array$h(o, minLen) {
|
|
|
22406
22409
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
22407
22410
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$h(o, minLen);
|
|
22408
22411
|
}
|
|
22409
|
-
function _templateObject$
|
|
22410
|
-
var data = _tagged_template_literal$
|
|
22412
|
+
function _templateObject$l() {
|
|
22413
|
+
var data = _tagged_template_literal$l([
|
|
22411
22414
|
"\n margin-left: ",
|
|
22412
22415
|
"px;\n transition: all 150ms ease-in-out;\n transform: ",
|
|
22413
22416
|
";\n"
|
|
22414
22417
|
]);
|
|
22415
|
-
_templateObject$
|
|
22418
|
+
_templateObject$l = function _templateObject() {
|
|
22416
22419
|
return data;
|
|
22417
22420
|
};
|
|
22418
22421
|
return data;
|
|
22419
22422
|
}
|
|
22420
|
-
var ArrowIcon = styled(ChevronDown)(_templateObject$
|
|
22423
|
+
var ArrowIcon = styled(ChevronDown)(_templateObject$l(), spacing(1), function(param) {
|
|
22421
22424
|
var open = param.open;
|
|
22422
22425
|
return open ? 'rotate(180deg)' : 'rotate(0deg)';
|
|
22423
22426
|
});
|
|
@@ -22533,7 +22536,7 @@ function _non_iterable_rest$d() {
|
|
|
22533
22536
|
function _sliced_to_array$d(arr, i) {
|
|
22534
22537
|
return _array_with_holes$d(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$g(arr, i) || _non_iterable_rest$d();
|
|
22535
22538
|
}
|
|
22536
|
-
function _tagged_template_literal$
|
|
22539
|
+
function _tagged_template_literal$k(strings, raw) {
|
|
22537
22540
|
if (!raw) {
|
|
22538
22541
|
raw = strings.slice(0);
|
|
22539
22542
|
}
|
|
@@ -22551,18 +22554,18 @@ function _unsupported_iterable_to_array$g(o, minLen) {
|
|
|
22551
22554
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
22552
22555
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
|
|
22553
22556
|
}
|
|
22554
|
-
function _templateObject$
|
|
22555
|
-
var data = _tagged_template_literal$
|
|
22557
|
+
function _templateObject$k() {
|
|
22558
|
+
var data = _tagged_template_literal$k([
|
|
22556
22559
|
"\n display: flex;\n width: 100%;\n padding: 1rem;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 0.5rem;\n box-sizing: border-box;\n border-radius: 0.5rem;\n transition: all ease-in-out;\n background-color: ",
|
|
22557
22560
|
";\n"
|
|
22558
22561
|
]);
|
|
22559
|
-
_templateObject$
|
|
22562
|
+
_templateObject$k = function _templateObject() {
|
|
22560
22563
|
return data;
|
|
22561
22564
|
};
|
|
22562
22565
|
return data;
|
|
22563
22566
|
}
|
|
22564
22567
|
function _templateObject1$f() {
|
|
22565
|
-
var data = _tagged_template_literal$
|
|
22568
|
+
var data = _tagged_template_literal$k([
|
|
22566
22569
|
"\n display: flex;\n width: 100%;\n flex-direction: column;\n gap: 0.5rem;\n"
|
|
22567
22570
|
]);
|
|
22568
22571
|
_templateObject1$f = function _templateObject() {
|
|
@@ -22570,17 +22573,17 @@ function _templateObject1$f() {
|
|
|
22570
22573
|
};
|
|
22571
22574
|
return data;
|
|
22572
22575
|
}
|
|
22573
|
-
function _templateObject2$
|
|
22574
|
-
var data = _tagged_template_literal$
|
|
22576
|
+
function _templateObject2$e() {
|
|
22577
|
+
var data = _tagged_template_literal$k([
|
|
22575
22578
|
"\n display: flex;\n width: 100%;\n flex-direction: row;\n flex-wrap: nowrap;\n gap: 0.5rem;\n"
|
|
22576
22579
|
]);
|
|
22577
|
-
_templateObject2$
|
|
22580
|
+
_templateObject2$e = function _templateObject() {
|
|
22578
22581
|
return data;
|
|
22579
22582
|
};
|
|
22580
22583
|
return data;
|
|
22581
22584
|
}
|
|
22582
22585
|
function _templateObject3$a() {
|
|
22583
|
-
var data = _tagged_template_literal$
|
|
22586
|
+
var data = _tagged_template_literal$k([
|
|
22584
22587
|
"\n width: 100%;\n min-width: 0;\n"
|
|
22585
22588
|
]);
|
|
22586
22589
|
_templateObject3$a = function _templateObject() {
|
|
@@ -22588,12 +22591,12 @@ function _templateObject3$a() {
|
|
|
22588
22591
|
};
|
|
22589
22592
|
return data;
|
|
22590
22593
|
}
|
|
22591
|
-
var RowContainer = styled.div(_templateObject$
|
|
22594
|
+
var RowContainer = styled.div(_templateObject$k(), function(param) {
|
|
22592
22595
|
var isHovered = param.isHovered;
|
|
22593
22596
|
return isHovered ? '#FEE2E2' : 'transparent';
|
|
22594
22597
|
});
|
|
22595
22598
|
var ContentContainer = styled.div(_templateObject1$f());
|
|
22596
|
-
var SelectContainer = styled.div(_templateObject2$
|
|
22599
|
+
var SelectContainer = styled.div(_templateObject2$e());
|
|
22597
22600
|
var MultiInputContainer = styled.div(_templateObject3$a());
|
|
22598
22601
|
var FilterRow = function(param) {
|
|
22599
22602
|
var filterKey = param.filterKey, rowIndex = param.rowIndex, values = param.values, errors = param.errors, touched = param.touched, onChange = param.onChange, onRemove = param.onRemove, fieldOptions = param.fieldOptions, operatorOptions = param.operatorOptions, showRemove = param.showRemove;
|
|
@@ -22767,7 +22770,7 @@ function _object_spread$s(target) {
|
|
|
22767
22770
|
function _sliced_to_array$c(arr, i) {
|
|
22768
22771
|
return _array_with_holes$c(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$c();
|
|
22769
22772
|
}
|
|
22770
|
-
function _tagged_template_literal$
|
|
22773
|
+
function _tagged_template_literal$j(strings, raw) {
|
|
22771
22774
|
if (!raw) {
|
|
22772
22775
|
raw = strings.slice(0);
|
|
22773
22776
|
}
|
|
@@ -22788,17 +22791,17 @@ function _unsupported_iterable_to_array$f(o, minLen) {
|
|
|
22788
22791
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
22789
22792
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
22790
22793
|
}
|
|
22791
|
-
function _templateObject$
|
|
22792
|
-
var data = _tagged_template_literal$
|
|
22794
|
+
function _templateObject$j() {
|
|
22795
|
+
var data = _tagged_template_literal$j([
|
|
22793
22796
|
"\n display: flex;\n flex-direction: column;\n gap: 1rem;\n"
|
|
22794
22797
|
]);
|
|
22795
|
-
_templateObject$
|
|
22798
|
+
_templateObject$j = function _templateObject() {
|
|
22796
22799
|
return data;
|
|
22797
22800
|
};
|
|
22798
22801
|
return data;
|
|
22799
22802
|
}
|
|
22800
22803
|
function _templateObject1$e() {
|
|
22801
|
-
var data = _tagged_template_literal$
|
|
22804
|
+
var data = _tagged_template_literal$j([
|
|
22802
22805
|
"\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 0.5rem;\n border-radius: 0.5rem;\n background-color: ",
|
|
22803
22806
|
";\n border: 1px solid\n ",
|
|
22804
22807
|
";\n"
|
|
@@ -22808,17 +22811,17 @@ function _templateObject1$e() {
|
|
|
22808
22811
|
};
|
|
22809
22812
|
return data;
|
|
22810
22813
|
}
|
|
22811
|
-
function _templateObject2$
|
|
22812
|
-
var data = _tagged_template_literal$
|
|
22814
|
+
function _templateObject2$d() {
|
|
22815
|
+
var data = _tagged_template_literal$j([
|
|
22813
22816
|
"\n position: absolute;\n display: flex;\n\n justify-content: center;\n align-items: center;\n right: -0.75rem;\n top: -0.75rem;\n border-radius: 9999px;\n border: 1px solid #e5e7eb;\n background-color: white;\n padding: 0.25rem;\n &:hover {\n cursor: pointer;\n }\n"
|
|
22814
22817
|
]);
|
|
22815
|
-
_templateObject2$
|
|
22818
|
+
_templateObject2$d = function _templateObject() {
|
|
22816
22819
|
return data;
|
|
22817
22820
|
};
|
|
22818
22821
|
return data;
|
|
22819
22822
|
}
|
|
22820
22823
|
function _templateObject3$9() {
|
|
22821
|
-
var data = _tagged_template_literal$
|
|
22824
|
+
var data = _tagged_template_literal$j([
|
|
22822
22825
|
"\n display: flex;\n width: 100%;\n flex-direction: column;\n flex-wrap: wrap;\n gap: 1rem;\n border-color: #e5e7eb;\n"
|
|
22823
22826
|
]);
|
|
22824
22827
|
_templateObject3$9 = function _templateObject() {
|
|
@@ -22827,7 +22830,7 @@ function _templateObject3$9() {
|
|
|
22827
22830
|
return data;
|
|
22828
22831
|
}
|
|
22829
22832
|
function _templateObject4$7() {
|
|
22830
|
-
var data = _tagged_template_literal$
|
|
22833
|
+
var data = _tagged_template_literal$j([
|
|
22831
22834
|
"\n width: 100%;\n border-radius: 0.5rem;\n border: 4px dashed #e5e7eb;\n background-color: #f9fafb;\n padding: 2rem;\n\n &:hover {\n cursor: pointer;\n &:not(:disabled) {\n background-color: ",
|
|
22832
22835
|
";\n }\n &:disabled {\n cursor: not-allowed;\n }\n }\n"
|
|
22833
22836
|
]);
|
|
@@ -22837,7 +22840,7 @@ function _templateObject4$7() {
|
|
|
22837
22840
|
return data;
|
|
22838
22841
|
}
|
|
22839
22842
|
function _templateObject5$2() {
|
|
22840
|
-
var data = _tagged_template_literal$
|
|
22843
|
+
var data = _tagged_template_literal$j([
|
|
22841
22844
|
"\n display: flex;\n flex-direction: row;\n gap: 0.5rem;\n"
|
|
22842
22845
|
]);
|
|
22843
22846
|
_templateObject5$2 = function _templateObject() {
|
|
@@ -22846,7 +22849,7 @@ function _templateObject5$2() {
|
|
|
22846
22849
|
return data;
|
|
22847
22850
|
}
|
|
22848
22851
|
function _templateObject6$1() {
|
|
22849
|
-
var data = _tagged_template_literal$
|
|
22852
|
+
var data = _tagged_template_literal$j([
|
|
22850
22853
|
"\n width: 100%;\n padding: 1rem;\n padding-top: 0;\n box-sizing: border-box;\n"
|
|
22851
22854
|
]);
|
|
22852
22855
|
_templateObject6$1 = function _templateObject() {
|
|
@@ -22854,7 +22857,7 @@ function _templateObject6$1() {
|
|
|
22854
22857
|
};
|
|
22855
22858
|
return data;
|
|
22856
22859
|
}
|
|
22857
|
-
var Container$2 = styled.div(_templateObject$
|
|
22860
|
+
var Container$2 = styled.div(_templateObject$j());
|
|
22858
22861
|
var FilterGroup = styled.div(_templateObject1$e(), function(param) {
|
|
22859
22862
|
var isHovered = param.isHovered;
|
|
22860
22863
|
return isHovered ? danger200 : 'white';
|
|
@@ -22862,7 +22865,7 @@ var FilterGroup = styled.div(_templateObject1$e(), function(param) {
|
|
|
22862
22865
|
var isHovered = param.isHovered;
|
|
22863
22866
|
return isHovered ? danger200 : '#e5e7eb';
|
|
22864
22867
|
});
|
|
22865
|
-
var CloseButton$1 = styled.button(_templateObject2$
|
|
22868
|
+
var CloseButton$1 = styled.button(_templateObject2$d());
|
|
22866
22869
|
var FilterRowsContainer = styled.div(_templateObject3$9());
|
|
22867
22870
|
var OrButton = styled.button(_templateObject4$7(), neutral100);
|
|
22868
22871
|
var ButtonGroup = styled.div(_templateObject5$2());
|
|
@@ -23179,7 +23182,7 @@ function _object_without_properties_loose$g(source, excluded) {
|
|
|
23179
23182
|
}
|
|
23180
23183
|
return target;
|
|
23181
23184
|
}
|
|
23182
|
-
function _tagged_template_literal$
|
|
23185
|
+
function _tagged_template_literal$i(strings, raw) {
|
|
23183
23186
|
if (!raw) {
|
|
23184
23187
|
raw = strings.slice(0);
|
|
23185
23188
|
}
|
|
@@ -23189,17 +23192,17 @@ function _tagged_template_literal$j(strings, raw) {
|
|
|
23189
23192
|
}
|
|
23190
23193
|
}));
|
|
23191
23194
|
}
|
|
23192
|
-
function _templateObject$
|
|
23193
|
-
var data = _tagged_template_literal$
|
|
23195
|
+
function _templateObject$i() {
|
|
23196
|
+
var data = _tagged_template_literal$i([
|
|
23194
23197
|
"\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n overflow: hidden;\n"
|
|
23195
23198
|
]);
|
|
23196
|
-
_templateObject$
|
|
23199
|
+
_templateObject$i = function _templateObject() {
|
|
23197
23200
|
return data;
|
|
23198
23201
|
};
|
|
23199
23202
|
return data;
|
|
23200
23203
|
}
|
|
23201
23204
|
function _templateObject1$d() {
|
|
23202
|
-
var data = _tagged_template_literal$
|
|
23205
|
+
var data = _tagged_template_literal$i([
|
|
23203
23206
|
"\n flex: 1;\n border: 1px solid\n ",
|
|
23204
23207
|
";\n\n background-color: ",
|
|
23205
23208
|
";\n border-radius: 0.5rem;\n\n color: ",
|
|
@@ -23215,19 +23218,19 @@ function _templateObject1$d() {
|
|
|
23215
23218
|
};
|
|
23216
23219
|
return data;
|
|
23217
23220
|
}
|
|
23218
|
-
function _templateObject2$
|
|
23219
|
-
var data = _tagged_template_literal$
|
|
23221
|
+
function _templateObject2$c() {
|
|
23222
|
+
var data = _tagged_template_literal$i([
|
|
23220
23223
|
"\n position: absolute;\n left: ",
|
|
23221
23224
|
";\n right: ",
|
|
23222
23225
|
";\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n & svg {\n font-size: 1rem;\n }\n"
|
|
23223
23226
|
]);
|
|
23224
|
-
_templateObject2$
|
|
23227
|
+
_templateObject2$c = function _templateObject() {
|
|
23225
23228
|
return data;
|
|
23226
23229
|
};
|
|
23227
23230
|
return data;
|
|
23228
23231
|
}
|
|
23229
23232
|
// Wrapper for the Input and Icons
|
|
23230
|
-
var InputWrapper$3 = styled.div(_templateObject$
|
|
23233
|
+
var InputWrapper$3 = styled.div(_templateObject$i());
|
|
23231
23234
|
// Style for the Input itself
|
|
23232
23235
|
var BaseInput$1 = styled.input(_templateObject1$d(), function(param) {
|
|
23233
23236
|
var error = param.error, disabled = param.disabled;
|
|
@@ -23249,7 +23252,7 @@ var BaseInput$1 = styled.input(_templateObject1$d(), function(param) {
|
|
|
23249
23252
|
return sz === 'lg' ? $paragraph100Regular : $paragraph200Regular;
|
|
23250
23253
|
});
|
|
23251
23254
|
// Style for the Icons
|
|
23252
|
-
var IconWrapper$3 = styled.span(_templateObject2$
|
|
23255
|
+
var IconWrapper$3 = styled.span(_templateObject2$c(), function(param) {
|
|
23253
23256
|
var position = param.position;
|
|
23254
23257
|
return position === 'left' ? '0.5rem' : 'auto';
|
|
23255
23258
|
}, function(param) {
|
|
@@ -23427,7 +23430,7 @@ function _object_without_properties_loose$f(source, excluded) {
|
|
|
23427
23430
|
function _sliced_to_array$b(arr, i) {
|
|
23428
23431
|
return _array_with_holes$b(arr) || _iterable_to_array_limit$b(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$b();
|
|
23429
23432
|
}
|
|
23430
|
-
function _tagged_template_literal$
|
|
23433
|
+
function _tagged_template_literal$h(strings, raw) {
|
|
23431
23434
|
if (!raw) {
|
|
23432
23435
|
raw = strings.slice(0);
|
|
23433
23436
|
}
|
|
@@ -23448,17 +23451,17 @@ function _unsupported_iterable_to_array$e(o, minLen) {
|
|
|
23448
23451
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
23449
23452
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
|
|
23450
23453
|
}
|
|
23451
|
-
function _templateObject$
|
|
23452
|
-
var data = _tagged_template_literal$
|
|
23454
|
+
function _templateObject$h() {
|
|
23455
|
+
var data = _tagged_template_literal$h([
|
|
23453
23456
|
"\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n"
|
|
23454
23457
|
]);
|
|
23455
|
-
_templateObject$
|
|
23458
|
+
_templateObject$h = function _templateObject() {
|
|
23456
23459
|
return data;
|
|
23457
23460
|
};
|
|
23458
23461
|
return data;
|
|
23459
23462
|
}
|
|
23460
23463
|
function _templateObject1$c() {
|
|
23461
|
-
var data = _tagged_template_literal$
|
|
23464
|
+
var data = _tagged_template_literal$h([
|
|
23462
23465
|
"\n display: flex;\n align-items: center;\n\n width: 100%;\n position: relative;\n cursor: pointer;\n &:hover {\n background-color: ",
|
|
23463
23466
|
";\n }\n transition: all 150ms ease-in-out;\n\n &:focus-within {\n border-color: ",
|
|
23464
23467
|
";\n }\n\n &:focus {\n background-color: ",
|
|
@@ -23471,8 +23474,8 @@ function _templateObject1$c() {
|
|
|
23471
23474
|
};
|
|
23472
23475
|
return data;
|
|
23473
23476
|
}
|
|
23474
|
-
function _templateObject2$
|
|
23475
|
-
var data = _tagged_template_literal$
|
|
23477
|
+
function _templateObject2$b() {
|
|
23478
|
+
var data = _tagged_template_literal$h([
|
|
23476
23479
|
"\n flex: 1;\n z-index: 2;\n cursor: pointer;\n border: none;\n background-color: transparent;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n &::-ms-expand {\n display: none;\n }\n &::placeholder {\n color: ",
|
|
23477
23480
|
";\n }\n color: ",
|
|
23478
23481
|
";\n padding: ",
|
|
@@ -23480,13 +23483,13 @@ function _templateObject2$a() {
|
|
|
23480
23483
|
";\n opacity: 0.3;\n }\n\n ",
|
|
23481
23484
|
"\n"
|
|
23482
23485
|
]);
|
|
23483
|
-
_templateObject2$
|
|
23486
|
+
_templateObject2$b = function _templateObject() {
|
|
23484
23487
|
return data;
|
|
23485
23488
|
};
|
|
23486
23489
|
return data;
|
|
23487
23490
|
}
|
|
23488
23491
|
function _templateObject3$8() {
|
|
23489
|
-
var data = _tagged_template_literal$
|
|
23492
|
+
var data = _tagged_template_literal$h([
|
|
23490
23493
|
"\n background-color: ",
|
|
23491
23494
|
";\n border-radius: 1rem;\n border: none;\n cursor: pointer;\n padding: 0.25rem 0.313rem;\n white-space: nowrap;\n display: flex;\n gap: 0.25rem;\n ",
|
|
23492
23495
|
"\n align-items: center;\n justify-content: center;\n"
|
|
@@ -23497,7 +23500,7 @@ function _templateObject3$8() {
|
|
|
23497
23500
|
return data;
|
|
23498
23501
|
}
|
|
23499
23502
|
function _templateObject4$6() {
|
|
23500
|
-
var data = _tagged_template_literal$
|
|
23503
|
+
var data = _tagged_template_literal$h([
|
|
23501
23504
|
"\n position: absolute;\n display: flex;\n gap: 0.25rem;\n width: min-content;\n max-width: 85%;\n height: auto;\n overflow-x: auto;\n\n /* Always show scrollbar when overflowing */\n &::-webkit-scrollbar {\n height: 4px;\n display: block;\n }\n\n &::-webkit-scrollbar-track {\n background: ",
|
|
23502
23505
|
";\n border-radius: 2px;\n display: block;\n width: 95%;\n }\n\n &::-webkit-scrollbar-thumb {\n background: ",
|
|
23503
23506
|
";\n border-radius: 2px;\n display: block;\n }\n\n padding: ",
|
|
@@ -23509,7 +23512,7 @@ function _templateObject4$6() {
|
|
|
23509
23512
|
return data;
|
|
23510
23513
|
}
|
|
23511
23514
|
function _templateObject5$1() {
|
|
23512
|
-
var data = _tagged_template_literal$
|
|
23515
|
+
var data = _tagged_template_literal$h([
|
|
23513
23516
|
"\n position: absolute;\n right: 0rem;\n width: 2rem;\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 0;\n border: none;\n cursor: pointer;\n z-index: 0;\n transition: all 150ms ease-in-out;\n transform: ",
|
|
23514
23517
|
";\n"
|
|
23515
23518
|
]);
|
|
@@ -23519,7 +23522,7 @@ function _templateObject5$1() {
|
|
|
23519
23522
|
return data;
|
|
23520
23523
|
}
|
|
23521
23524
|
function _templateObject6() {
|
|
23522
|
-
var data = _tagged_template_literal$
|
|
23525
|
+
var data = _tagged_template_literal$h([
|
|
23523
23526
|
"\n ",
|
|
23524
23527
|
"\n color: ",
|
|
23525
23528
|
"/80;\n"
|
|
@@ -23530,7 +23533,7 @@ function _templateObject6() {
|
|
|
23530
23533
|
return data;
|
|
23531
23534
|
}
|
|
23532
23535
|
function _templateObject7() {
|
|
23533
|
-
var data = _tagged_template_literal$
|
|
23536
|
+
var data = _tagged_template_literal$h([
|
|
23534
23537
|
"\n ",
|
|
23535
23538
|
"\n color: ",
|
|
23536
23539
|
";\n"
|
|
@@ -23541,7 +23544,7 @@ function _templateObject7() {
|
|
|
23541
23544
|
return data;
|
|
23542
23545
|
}
|
|
23543
23546
|
// Wrapper for the Input and Icons
|
|
23544
|
-
var InputWrapper$2 = styled.div(_templateObject$
|
|
23547
|
+
var InputWrapper$2 = styled.div(_templateObject$h());
|
|
23545
23548
|
var MultiSelectWrapper = styled.div(_templateObject1$c(), function(param) {
|
|
23546
23549
|
var disabled = param.disabled, type = param.type;
|
|
23547
23550
|
return disabled || type === 'secondary' ? neutral100 : 'white';
|
|
@@ -23559,7 +23562,7 @@ var MultiSelectWrapper = styled.div(_templateObject1$c(), function(param) {
|
|
|
23559
23562
|
return disabled || type === 'secondary' ? neutral100 : 'white';
|
|
23560
23563
|
});
|
|
23561
23564
|
// Style for the Select itself
|
|
23562
|
-
var BaseSelect$1 = styled.select(_templateObject2$
|
|
23565
|
+
var BaseSelect$1 = styled.select(_templateObject2$b(), neutral500, function(param) {
|
|
23563
23566
|
var value = param.value;
|
|
23564
23567
|
return Array.isArray(value) && value.length > 0 ? textPrimary : neutral500;
|
|
23565
23568
|
}, function(param) {
|
|
@@ -23809,7 +23812,7 @@ function _object_without_properties_loose$e(source, excluded) {
|
|
|
23809
23812
|
function _sliced_to_array$a(arr, i) {
|
|
23810
23813
|
return _array_with_holes$a(arr) || _iterable_to_array_limit$a(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$a();
|
|
23811
23814
|
}
|
|
23812
|
-
function _tagged_template_literal$
|
|
23815
|
+
function _tagged_template_literal$g(strings, raw) {
|
|
23813
23816
|
if (!raw) {
|
|
23814
23817
|
raw = strings.slice(0);
|
|
23815
23818
|
}
|
|
@@ -23827,17 +23830,17 @@ function _unsupported_iterable_to_array$d(o, minLen) {
|
|
|
23827
23830
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
23828
23831
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
23829
23832
|
}
|
|
23830
|
-
function _templateObject$
|
|
23831
|
-
var data = _tagged_template_literal$
|
|
23833
|
+
function _templateObject$g() {
|
|
23834
|
+
var data = _tagged_template_literal$g([
|
|
23832
23835
|
"\n font-size: 1rem;\n animation: spin 500ms linear infinite;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ",
|
|
23833
23836
|
";\n\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"
|
|
23834
23837
|
]);
|
|
23835
|
-
_templateObject$
|
|
23838
|
+
_templateObject$g = function _templateObject() {
|
|
23836
23839
|
return data;
|
|
23837
23840
|
};
|
|
23838
23841
|
return data;
|
|
23839
23842
|
}
|
|
23840
|
-
var loadingWheelStyle = css(_templateObject$
|
|
23843
|
+
var loadingWheelStyle = css(_templateObject$g(), primary500);
|
|
23841
23844
|
var Loader = function() {
|
|
23842
23845
|
return /*#__PURE__*/ jsx("div", {
|
|
23843
23846
|
css: loadingWheelStyle,
|
|
@@ -24003,7 +24006,7 @@ function _object_without_properties_loose$d(source, excluded) {
|
|
|
24003
24006
|
function _sliced_to_array$9(arr, i) {
|
|
24004
24007
|
return _array_with_holes$9(arr) || _iterable_to_array_limit$9(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$9();
|
|
24005
24008
|
}
|
|
24006
|
-
function _tagged_template_literal$
|
|
24009
|
+
function _tagged_template_literal$f(strings, raw) {
|
|
24007
24010
|
if (!raw) {
|
|
24008
24011
|
raw = strings.slice(0);
|
|
24009
24012
|
}
|
|
@@ -24024,20 +24027,20 @@ function _unsupported_iterable_to_array$c(o, minLen) {
|
|
|
24024
24027
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
24025
24028
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
|
|
24026
24029
|
}
|
|
24027
|
-
function _templateObject$
|
|
24028
|
-
var data = _tagged_template_literal$
|
|
24030
|
+
function _templateObject$f() {
|
|
24031
|
+
var data = _tagged_template_literal$f([
|
|
24029
24032
|
"\n display: flex;\n flex-direction: row;\n gap: 0.5rem;\n align-items: center;\n flex: 1;\n background-color: white;\n position: relative;\n border: 1px solid\n ",
|
|
24030
24033
|
";\n border-radius: 0.5rem;\n color: ",
|
|
24031
24034
|
";\n padding: ",
|
|
24032
24035
|
";\n outline: none;\n transition: all 150ms ease-in-out;\n"
|
|
24033
24036
|
]);
|
|
24034
|
-
_templateObject$
|
|
24037
|
+
_templateObject$f = function _templateObject() {
|
|
24035
24038
|
return data;
|
|
24036
24039
|
};
|
|
24037
24040
|
return data;
|
|
24038
24041
|
}
|
|
24039
24042
|
function _templateObject1$b() {
|
|
24040
|
-
var data = _tagged_template_literal$
|
|
24043
|
+
var data = _tagged_template_literal$f([
|
|
24041
24044
|
"\n flex: 1;\n border: none;\n overflow: scroll;\n min-width: 10rem;\n background-color: transparent;\n width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n padding: 0;\n\n :focus-visible {\n outline: none;\n }\n\n &::placeholder {\n color: ",
|
|
24042
24045
|
";\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n\n ",
|
|
24043
24046
|
"\n"
|
|
@@ -24047,19 +24050,19 @@ function _templateObject1$b() {
|
|
|
24047
24050
|
};
|
|
24048
24051
|
return data;
|
|
24049
24052
|
}
|
|
24050
|
-
function _templateObject2$
|
|
24051
|
-
var data = _tagged_template_literal$
|
|
24053
|
+
function _templateObject2$a() {
|
|
24054
|
+
var data = _tagged_template_literal$f([
|
|
24052
24055
|
"\n background-color: ",
|
|
24053
24056
|
";\n border-radius: 1rem;\n border: none;\n cursor: pointer;\n display: flex;\n padding: 0.25rem 0.313rem;\n white-space: nowrap;\n gap: 0.25rem;\n ",
|
|
24054
24057
|
"\n align-items: center;\n justify-content: center;\n"
|
|
24055
24058
|
]);
|
|
24056
|
-
_templateObject2$
|
|
24059
|
+
_templateObject2$a = function _templateObject() {
|
|
24057
24060
|
return data;
|
|
24058
24061
|
};
|
|
24059
24062
|
return data;
|
|
24060
24063
|
}
|
|
24061
24064
|
function _templateObject3$7() {
|
|
24062
|
-
var data = _tagged_template_literal$
|
|
24065
|
+
var data = _tagged_template_literal$f([
|
|
24063
24066
|
"\n display: flex;\n gap: 0.25rem;\n flex-wrap: wrap;\n height: auto;\n"
|
|
24064
24067
|
]);
|
|
24065
24068
|
_templateObject3$7 = function _templateObject() {
|
|
@@ -24068,7 +24071,7 @@ function _templateObject3$7() {
|
|
|
24068
24071
|
return data;
|
|
24069
24072
|
}
|
|
24070
24073
|
function _templateObject4$5() {
|
|
24071
|
-
var data = _tagged_template_literal$
|
|
24074
|
+
var data = _tagged_template_literal$f([
|
|
24072
24075
|
"\n position: absolute;\n right: 0.5rem;\n opacity: 0.8;\n\n ",
|
|
24073
24076
|
"\n"
|
|
24074
24077
|
]);
|
|
@@ -24077,7 +24080,7 @@ function _templateObject4$5() {
|
|
|
24077
24080
|
};
|
|
24078
24081
|
return data;
|
|
24079
24082
|
}
|
|
24080
|
-
var InputWrapper$1 = styled.div(_templateObject$
|
|
24083
|
+
var InputWrapper$1 = styled.div(_templateObject$f(), function(param) {
|
|
24081
24084
|
var isFocused = param.isFocused, error = param.error;
|
|
24082
24085
|
return isFocused ? primary600 : error ? danger600 : neutral200;
|
|
24083
24086
|
}, textPrimary, function(param) {
|
|
@@ -24089,7 +24092,7 @@ var BaseInput = styled.input(_templateObject1$b(), neutral500, function(param) {
|
|
|
24089
24092
|
return type === 'primary' ? sz === 'lg' ? $paragraph100Regular : $paragraph200Regular : sz === 'lg' ? $paragraph100Semibold : $paragraph200Semibold;
|
|
24090
24093
|
});
|
|
24091
24094
|
// Reusing Chip from MultiSelect
|
|
24092
|
-
var Chip = styled.button(_templateObject2$
|
|
24095
|
+
var Chip = styled.button(_templateObject2$a(), function(param) {
|
|
24093
24096
|
var secondary = param.secondary;
|
|
24094
24097
|
return secondary ? neutral300 : neutral100;
|
|
24095
24098
|
}, $label200Medium);
|
|
@@ -24319,7 +24322,7 @@ function _object_without_properties_loose$c(source, excluded) {
|
|
|
24319
24322
|
function _sliced_to_array$8(arr, i) {
|
|
24320
24323
|
return _array_with_holes$8(arr) || _iterable_to_array_limit$8(arr, i) || _unsupported_iterable_to_array$b(arr, i) || _non_iterable_rest$8();
|
|
24321
24324
|
}
|
|
24322
|
-
function _tagged_template_literal$
|
|
24325
|
+
function _tagged_template_literal$e(strings, raw) {
|
|
24323
24326
|
if (!raw) {
|
|
24324
24327
|
raw = strings.slice(0);
|
|
24325
24328
|
}
|
|
@@ -24337,17 +24340,17 @@ function _unsupported_iterable_to_array$b(o, minLen) {
|
|
|
24337
24340
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
24338
24341
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
|
|
24339
24342
|
}
|
|
24340
|
-
function _templateObject$
|
|
24341
|
-
var data = _tagged_template_literal$
|
|
24343
|
+
function _templateObject$e() {
|
|
24344
|
+
var data = _tagged_template_literal$e([
|
|
24342
24345
|
"\n display: flex;\n align-items: center;\n width: 100%;\n"
|
|
24343
24346
|
]);
|
|
24344
|
-
_templateObject$
|
|
24347
|
+
_templateObject$e = function _templateObject() {
|
|
24345
24348
|
return data;
|
|
24346
24349
|
};
|
|
24347
24350
|
return data;
|
|
24348
24351
|
}
|
|
24349
24352
|
function _templateObject1$a() {
|
|
24350
|
-
var data = _tagged_template_literal$
|
|
24353
|
+
var data = _tagged_template_literal$e([
|
|
24351
24354
|
"\n display: flex;\n align-items: center;\n width: max-content;\n position: relative;\n cursor: pointer;\n &:hover {\n background-color: ",
|
|
24352
24355
|
";\n }\n transition: all 150ms ease-in-out;\n\n &:focus-within {\n border-color: ",
|
|
24353
24356
|
";\n }\n\n &:focus {\n background-color: ",
|
|
@@ -24361,8 +24364,8 @@ function _templateObject1$a() {
|
|
|
24361
24364
|
};
|
|
24362
24365
|
return data;
|
|
24363
24366
|
}
|
|
24364
|
-
function _templateObject2$
|
|
24365
|
-
var data = _tagged_template_literal$
|
|
24367
|
+
function _templateObject2$9() {
|
|
24368
|
+
var data = _tagged_template_literal$e([
|
|
24366
24369
|
"\n flex: 1;\n cursor: pointer;\n border: none;\n width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n background-color: transparent;\n z-index: 1;\n -webkit-appearance: none;\n -moz-appearance: none;\n &::-ms-expand {\n display: none;\n }\n &::placeholder {\n color: ",
|
|
24367
24370
|
";\n }\n color: ",
|
|
24368
24371
|
";\n padding: ",
|
|
@@ -24370,13 +24373,13 @@ function _templateObject2$8() {
|
|
|
24370
24373
|
";\n opacity: 0.3;\n }\n\n ",
|
|
24371
24374
|
"\n"
|
|
24372
24375
|
]);
|
|
24373
|
-
_templateObject2$
|
|
24376
|
+
_templateObject2$9 = function _templateObject() {
|
|
24374
24377
|
return data;
|
|
24375
24378
|
};
|
|
24376
24379
|
return data;
|
|
24377
24380
|
}
|
|
24378
24381
|
function _templateObject3$6() {
|
|
24379
|
-
var data = _tagged_template_literal$
|
|
24382
|
+
var data = _tagged_template_literal$e([
|
|
24380
24383
|
"\n position: absolute;\n right: 0rem;\n width: 2rem;\n font-size: ",
|
|
24381
24384
|
"rem;\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 0;\n border: none;\n cursor: pointer;\n transition: all 150ms ease-in-out;\n transform: ",
|
|
24382
24385
|
";\n"
|
|
@@ -24387,7 +24390,7 @@ function _templateObject3$6() {
|
|
|
24387
24390
|
return data;
|
|
24388
24391
|
}
|
|
24389
24392
|
function _templateObject4$4() {
|
|
24390
|
-
var data = _tagged_template_literal$
|
|
24393
|
+
var data = _tagged_template_literal$e([
|
|
24391
24394
|
"\n ",
|
|
24392
24395
|
"\n color: ",
|
|
24393
24396
|
";\n"
|
|
@@ -24398,7 +24401,7 @@ function _templateObject4$4() {
|
|
|
24398
24401
|
return data;
|
|
24399
24402
|
}
|
|
24400
24403
|
// Wrapper for the Input and Icons
|
|
24401
|
-
var InputWrapper = styled.div(_templateObject$
|
|
24404
|
+
var InputWrapper = styled.div(_templateObject$e());
|
|
24402
24405
|
var SelectWrapper = styled.div(_templateObject1$a(), function(param) {
|
|
24403
24406
|
var disabled = param.disabled, type = param.type;
|
|
24404
24407
|
return disabled || type === 'secondary' ? neutral100 : 'white';
|
|
@@ -24416,7 +24419,7 @@ var SelectWrapper = styled.div(_templateObject1$a(), function(param) {
|
|
|
24416
24419
|
return disabled || type === 'secondary' ? neutral100 : 'white';
|
|
24417
24420
|
});
|
|
24418
24421
|
// Style for the Select itself
|
|
24419
|
-
var BaseSelect = styled.select(_templateObject2$
|
|
24422
|
+
var BaseSelect = styled.select(_templateObject2$9(), neutral500, function(param) {
|
|
24420
24423
|
var value = param.value;
|
|
24421
24424
|
return value ? textPrimary : neutral500;
|
|
24422
24425
|
}, function(param) {
|
|
@@ -24602,7 +24605,7 @@ function _object_without_properties_loose$b(source, excluded) {
|
|
|
24602
24605
|
}
|
|
24603
24606
|
return target;
|
|
24604
24607
|
}
|
|
24605
|
-
function _tagged_template_literal$
|
|
24608
|
+
function _tagged_template_literal$d(strings, raw) {
|
|
24606
24609
|
if (!raw) {
|
|
24607
24610
|
raw = strings.slice(0);
|
|
24608
24611
|
}
|
|
@@ -24612,17 +24615,17 @@ function _tagged_template_literal$e(strings, raw) {
|
|
|
24612
24615
|
}
|
|
24613
24616
|
}));
|
|
24614
24617
|
}
|
|
24615
|
-
function _templateObject$
|
|
24616
|
-
var data = _tagged_template_literal$
|
|
24618
|
+
function _templateObject$d() {
|
|
24619
|
+
var data = _tagged_template_literal$d([
|
|
24617
24620
|
"\n display: flex;\n align-items: center;\n position: relative;\n"
|
|
24618
24621
|
]);
|
|
24619
|
-
_templateObject$
|
|
24622
|
+
_templateObject$d = function _templateObject() {
|
|
24620
24623
|
return data;
|
|
24621
24624
|
};
|
|
24622
24625
|
return data;
|
|
24623
24626
|
}
|
|
24624
24627
|
function _templateObject1$9() {
|
|
24625
|
-
var data = _tagged_template_literal$
|
|
24628
|
+
var data = _tagged_template_literal$d([
|
|
24626
24629
|
"\n flex: 1;\n padding-top: ",
|
|
24627
24630
|
";\n padding-bottom: ",
|
|
24628
24631
|
";\n border: 1px solid\n ",
|
|
@@ -24638,16 +24641,16 @@ function _templateObject1$9() {
|
|
|
24638
24641
|
};
|
|
24639
24642
|
return data;
|
|
24640
24643
|
}
|
|
24641
|
-
function _templateObject2$
|
|
24642
|
-
var data = _tagged_template_literal$
|
|
24644
|
+
function _templateObject2$8() {
|
|
24645
|
+
var data = _tagged_template_literal$d([
|
|
24643
24646
|
"\n position: absolute;\n right: 0.5rem;\n"
|
|
24644
24647
|
]);
|
|
24645
|
-
_templateObject2$
|
|
24648
|
+
_templateObject2$8 = function _templateObject() {
|
|
24646
24649
|
return data;
|
|
24647
24650
|
};
|
|
24648
24651
|
return data;
|
|
24649
24652
|
}
|
|
24650
|
-
var Wrapper = styled.div(_templateObject$
|
|
24653
|
+
var Wrapper = styled.div(_templateObject$d());
|
|
24651
24654
|
var BaseTextArea = styled.textarea(_templateObject1$9(), function(param) {
|
|
24652
24655
|
var sz = param.sz;
|
|
24653
24656
|
return sz === 'lg' ? '0.5rem' : '0.375rem';
|
|
@@ -24667,7 +24670,7 @@ var BaseTextArea = styled.textarea(_templateObject1$9(), function(param) {
|
|
|
24667
24670
|
var sz = param.sz;
|
|
24668
24671
|
return sz === 'lg' ? $paragraph100Regular : $paragraph200Regular;
|
|
24669
24672
|
});
|
|
24670
|
-
var CloseButton = styled(IconButton)(_templateObject2$
|
|
24673
|
+
var CloseButton = styled(IconButton)(_templateObject2$8());
|
|
24671
24674
|
var TextArea = /*#__PURE__*/ forwardRef(function(_param, ref) {
|
|
24672
24675
|
var _param_sz = _param.sz, sz = _param_sz === void 0 ? 'sm' : _param_sz, _param_error = _param.error, error = _param_error === void 0 ? false : _param_error, _param_clearable = _param.clearable, clearable = _param_clearable === void 0 ? false : _param_clearable, onClear = _param.onClear, style = _param.style, props = _object_without_properties$b(_param, [
|
|
24673
24676
|
"sz",
|
|
@@ -24793,7 +24796,7 @@ function _object_without_properties_loose$a(source, excluded) {
|
|
|
24793
24796
|
}
|
|
24794
24797
|
return target;
|
|
24795
24798
|
}
|
|
24796
|
-
function _tagged_template_literal$
|
|
24799
|
+
function _tagged_template_literal$c(strings, raw) {
|
|
24797
24800
|
if (!raw) {
|
|
24798
24801
|
raw = strings.slice(0);
|
|
24799
24802
|
}
|
|
@@ -24803,18 +24806,18 @@ function _tagged_template_literal$d(strings, raw) {
|
|
|
24803
24806
|
}
|
|
24804
24807
|
}));
|
|
24805
24808
|
}
|
|
24806
|
-
function _templateObject$
|
|
24807
|
-
var data = _tagged_template_literal$
|
|
24809
|
+
function _templateObject$c() {
|
|
24810
|
+
var data = _tagged_template_literal$c([
|
|
24808
24811
|
"\n ",
|
|
24809
24812
|
"\n color: ",
|
|
24810
24813
|
";\n font-family: 'Roboto', sans-serif;\n"
|
|
24811
24814
|
]);
|
|
24812
|
-
_templateObject$
|
|
24815
|
+
_templateObject$c = function _templateObject() {
|
|
24813
24816
|
return data;
|
|
24814
24817
|
};
|
|
24815
24818
|
return data;
|
|
24816
24819
|
}
|
|
24817
|
-
var StyledTypography = styled.div(_templateObject$
|
|
24820
|
+
var StyledTypography = styled.div(_templateObject$c(), function(param) {
|
|
24818
24821
|
var $variant = param.$variant;
|
|
24819
24822
|
return typography["$".concat($variant)];
|
|
24820
24823
|
}, function(param) {
|
|
@@ -24946,7 +24949,7 @@ function _object_without_properties_loose$9(source, excluded) {
|
|
|
24946
24949
|
}
|
|
24947
24950
|
return target;
|
|
24948
24951
|
}
|
|
24949
|
-
function _tagged_template_literal$
|
|
24952
|
+
function _tagged_template_literal$b(strings, raw) {
|
|
24950
24953
|
if (!raw) {
|
|
24951
24954
|
raw = strings.slice(0);
|
|
24952
24955
|
}
|
|
@@ -24956,18 +24959,18 @@ function _tagged_template_literal$c(strings, raw) {
|
|
|
24956
24959
|
}
|
|
24957
24960
|
}));
|
|
24958
24961
|
}
|
|
24959
|
-
function _templateObject$
|
|
24960
|
-
var data = _tagged_template_literal$
|
|
24962
|
+
function _templateObject$b() {
|
|
24963
|
+
var data = _tagged_template_literal$b([
|
|
24961
24964
|
"\n box-sizing: border-box;\n width: 100%;\n cursor: pointer;\n white-space: nowrap;\n &:hover {\n background-color: ",
|
|
24962
24965
|
";\n }\n"
|
|
24963
24966
|
]);
|
|
24964
|
-
_templateObject$
|
|
24967
|
+
_templateObject$b = function _templateObject() {
|
|
24965
24968
|
return data;
|
|
24966
24969
|
};
|
|
24967
24970
|
return data;
|
|
24968
24971
|
}
|
|
24969
24972
|
function _templateObject1$8() {
|
|
24970
|
-
var data = _tagged_template_literal$
|
|
24973
|
+
var data = _tagged_template_literal$b([
|
|
24971
24974
|
"\n display: flex;\n align-items: center;\n font-size: inherit;\n color: inherit;\n justify-content: center;\n"
|
|
24972
24975
|
]);
|
|
24973
24976
|
_templateObject1$8 = function _templateObject() {
|
|
@@ -24975,20 +24978,20 @@ function _templateObject1$8() {
|
|
|
24975
24978
|
};
|
|
24976
24979
|
return data;
|
|
24977
24980
|
}
|
|
24978
|
-
function _templateObject2$
|
|
24979
|
-
var data = _tagged_template_literal$
|
|
24981
|
+
function _templateObject2$7() {
|
|
24982
|
+
var data = _tagged_template_literal$b([
|
|
24980
24983
|
"\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 0.5rem;\n background-color: transparent;\n text-align: left;\n border: none;\n white-space: nowrap;\n width: 100%;\n padding: ",
|
|
24981
24984
|
"px ",
|
|
24982
24985
|
"px;\n text-decoration: none;\n ",
|
|
24983
24986
|
"\n"
|
|
24984
24987
|
]);
|
|
24985
|
-
_templateObject2$
|
|
24988
|
+
_templateObject2$7 = function _templateObject() {
|
|
24986
24989
|
return data;
|
|
24987
24990
|
};
|
|
24988
24991
|
return data;
|
|
24989
24992
|
}
|
|
24990
24993
|
function _templateObject3$5() {
|
|
24991
|
-
var data = _tagged_template_literal$
|
|
24994
|
+
var data = _tagged_template_literal$b([
|
|
24992
24995
|
"\n ",
|
|
24993
24996
|
"\n"
|
|
24994
24997
|
]);
|
|
@@ -24998,7 +25001,7 @@ function _templateObject3$5() {
|
|
|
24998
25001
|
return data;
|
|
24999
25002
|
}
|
|
25000
25003
|
function _templateObject4$3() {
|
|
25001
|
-
var data = _tagged_template_literal$
|
|
25004
|
+
var data = _tagged_template_literal$b([
|
|
25002
25005
|
"\n ",
|
|
25003
25006
|
"\n"
|
|
25004
25007
|
]);
|
|
@@ -25007,9 +25010,9 @@ function _templateObject4$3() {
|
|
|
25007
25010
|
};
|
|
25008
25011
|
return data;
|
|
25009
25012
|
}
|
|
25010
|
-
var MenuItemContainer = styled.div(_templateObject$
|
|
25013
|
+
var MenuItemContainer = styled.div(_templateObject$b(), primary100);
|
|
25011
25014
|
var IconContainer = styled.div(_templateObject1$8());
|
|
25012
|
-
var buttonStyles = css(_templateObject2$
|
|
25015
|
+
var buttonStyles = css(_templateObject2$7(), spacing(1), spacing(2), $paragraph200Regular);
|
|
25013
25016
|
var StyledItem = styled.button(_templateObject3$5(), buttonStyles);
|
|
25014
25017
|
var StyledLink = styled.a(_templateObject4$3(), buttonStyles);
|
|
25015
25018
|
var MenuItem = function(_param) {
|
|
@@ -28736,7 +28739,7 @@ function _object_without_properties_loose$5(source, excluded) {
|
|
|
28736
28739
|
}
|
|
28737
28740
|
return target;
|
|
28738
28741
|
}
|
|
28739
|
-
function _tagged_template_literal$
|
|
28742
|
+
function _tagged_template_literal$a(strings, raw) {
|
|
28740
28743
|
if (!raw) {
|
|
28741
28744
|
raw = strings.slice(0);
|
|
28742
28745
|
}
|
|
@@ -28746,11 +28749,11 @@ function _tagged_template_literal$b(strings, raw) {
|
|
|
28746
28749
|
}
|
|
28747
28750
|
}));
|
|
28748
28751
|
}
|
|
28749
|
-
function _templateObject$
|
|
28750
|
-
var data = _tagged_template_literal$
|
|
28752
|
+
function _templateObject$a() {
|
|
28753
|
+
var data = _tagged_template_literal$a([
|
|
28751
28754
|
"\n z-index: -1;\n position: fixed;\n inset: 0;\n background-color: rgb(0 0 0 / 0.2);\n -webkit-tap-highlight-color: transparent;\n"
|
|
28752
28755
|
]);
|
|
28753
|
-
_templateObject$
|
|
28756
|
+
_templateObject$a = function _templateObject() {
|
|
28754
28757
|
return data;
|
|
28755
28758
|
};
|
|
28756
28759
|
return data;
|
|
@@ -28765,9 +28768,9 @@ var BaseBackdrop = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
28765
28768
|
ref: ref
|
|
28766
28769
|
}, other));
|
|
28767
28770
|
});
|
|
28768
|
-
var Backdrop = styled(BaseBackdrop)(_templateObject$
|
|
28771
|
+
var Backdrop = styled(BaseBackdrop)(_templateObject$a());
|
|
28769
28772
|
|
|
28770
|
-
function _tagged_template_literal$
|
|
28773
|
+
function _tagged_template_literal$9(strings, raw) {
|
|
28771
28774
|
if (!raw) {
|
|
28772
28775
|
raw = strings.slice(0);
|
|
28773
28776
|
}
|
|
@@ -28777,16 +28780,16 @@ function _tagged_template_literal$a(strings, raw) {
|
|
|
28777
28780
|
}
|
|
28778
28781
|
}));
|
|
28779
28782
|
}
|
|
28780
|
-
function _templateObject$
|
|
28781
|
-
var data = _tagged_template_literal$
|
|
28783
|
+
function _templateObject$9() {
|
|
28784
|
+
var data = _tagged_template_literal$9([
|
|
28782
28785
|
"\n position: absolute;\n z-index: 2;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.2);\n font-size: 32px;\n"
|
|
28783
28786
|
]);
|
|
28784
|
-
_templateObject$
|
|
28787
|
+
_templateObject$9 = function _templateObject() {
|
|
28785
28788
|
return data;
|
|
28786
28789
|
};
|
|
28787
28790
|
return data;
|
|
28788
28791
|
}
|
|
28789
|
-
var Overlay = styled.div(_templateObject$
|
|
28792
|
+
var Overlay = styled.div(_templateObject$9());
|
|
28790
28793
|
var LoadingOverlay = function() {
|
|
28791
28794
|
return /*#__PURE__*/ jsx(Overlay, {
|
|
28792
28795
|
children: /*#__PURE__*/ jsx(LoadingWheel, {
|
|
@@ -28869,7 +28872,7 @@ function _object_without_properties_loose$4(source, excluded) {
|
|
|
28869
28872
|
}
|
|
28870
28873
|
return target;
|
|
28871
28874
|
}
|
|
28872
|
-
function _tagged_template_literal$
|
|
28875
|
+
function _tagged_template_literal$8(strings, raw) {
|
|
28873
28876
|
if (!raw) {
|
|
28874
28877
|
raw = strings.slice(0);
|
|
28875
28878
|
}
|
|
@@ -28879,17 +28882,17 @@ function _tagged_template_literal$9(strings, raw) {
|
|
|
28879
28882
|
}
|
|
28880
28883
|
}));
|
|
28881
28884
|
}
|
|
28882
|
-
function _templateObject$
|
|
28883
|
-
var data = _tagged_template_literal$
|
|
28885
|
+
function _templateObject$8() {
|
|
28886
|
+
var data = _tagged_template_literal$8([
|
|
28884
28887
|
"\n position: fixed;\n z-index: 1300;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n"
|
|
28885
28888
|
]);
|
|
28886
|
-
_templateObject$
|
|
28889
|
+
_templateObject$8 = function _templateObject() {
|
|
28887
28890
|
return data;
|
|
28888
28891
|
};
|
|
28889
28892
|
return data;
|
|
28890
28893
|
}
|
|
28891
28894
|
function _templateObject1$7() {
|
|
28892
|
-
var data = _tagged_template_literal$
|
|
28895
|
+
var data = _tagged_template_literal$8([
|
|
28893
28896
|
"\n position: relative;\n overflow: scroll;\n display: flex;\n flex-direction: column;\n max-height: 80%;\n max-width: 800px; // TODO: this should be controllable via props\n gap: ",
|
|
28894
28897
|
"px;\n background-color: white;\n border-radius: ",
|
|
28895
28898
|
"px;\n outline: none;\n padding: ",
|
|
@@ -28901,17 +28904,17 @@ function _templateObject1$7() {
|
|
|
28901
28904
|
};
|
|
28902
28905
|
return data;
|
|
28903
28906
|
}
|
|
28904
|
-
function _templateObject2$
|
|
28905
|
-
var data = _tagged_template_literal$
|
|
28907
|
+
function _templateObject2$6() {
|
|
28908
|
+
var data = _tagged_template_literal$8([
|
|
28906
28909
|
""
|
|
28907
28910
|
]);
|
|
28908
|
-
_templateObject2$
|
|
28911
|
+
_templateObject2$6 = function _templateObject() {
|
|
28909
28912
|
return data;
|
|
28910
28913
|
};
|
|
28911
28914
|
return data;
|
|
28912
28915
|
}
|
|
28913
28916
|
function _templateObject3$4() {
|
|
28914
|
-
var data = _tagged_template_literal$
|
|
28917
|
+
var data = _tagged_template_literal$8([
|
|
28915
28918
|
"\n overflow-y: scroll;\n"
|
|
28916
28919
|
]);
|
|
28917
28920
|
_templateObject3$4 = function _templateObject() {
|
|
@@ -28920,7 +28923,7 @@ function _templateObject3$4() {
|
|
|
28920
28923
|
return data;
|
|
28921
28924
|
}
|
|
28922
28925
|
function _templateObject4$2() {
|
|
28923
|
-
var data = _tagged_template_literal$
|
|
28926
|
+
var data = _tagged_template_literal$8([
|
|
28924
28927
|
"\n display: flex;\n justify-content: end;\n gap: ",
|
|
28925
28928
|
"px;\n"
|
|
28926
28929
|
]);
|
|
@@ -28929,9 +28932,9 @@ function _templateObject4$2() {
|
|
|
28929
28932
|
};
|
|
28930
28933
|
return data;
|
|
28931
28934
|
}
|
|
28932
|
-
var StyledModal = styled(Modal$1)(_templateObject$
|
|
28935
|
+
var StyledModal = styled(Modal$1)(_templateObject$8());
|
|
28933
28936
|
var ModalContent = styled.div(_templateObject1$7(), spacing(2), spacing(1), spacing(3), elevation400);
|
|
28934
|
-
var ModalHeader = styled.div(_templateObject2$
|
|
28937
|
+
var ModalHeader = styled.div(_templateObject2$6());
|
|
28935
28938
|
var ModalBody = styled.div(_templateObject3$4());
|
|
28936
28939
|
var ModalFooter = styled.div(_templateObject4$2(), spacing(1));
|
|
28937
28940
|
var Modal = function(param) {
|
|
@@ -28995,7 +28998,7 @@ var Modal = function(param) {
|
|
|
28995
28998
|
});
|
|
28996
28999
|
};
|
|
28997
29000
|
|
|
28998
|
-
function _tagged_template_literal$
|
|
29001
|
+
function _tagged_template_literal$7(strings, raw) {
|
|
28999
29002
|
if (!raw) {
|
|
29000
29003
|
raw = strings.slice(0);
|
|
29001
29004
|
}
|
|
@@ -29005,20 +29008,20 @@ function _tagged_template_literal$8(strings, raw) {
|
|
|
29005
29008
|
}
|
|
29006
29009
|
}));
|
|
29007
29010
|
}
|
|
29008
|
-
function _templateObject$
|
|
29009
|
-
var data = _tagged_template_literal$
|
|
29011
|
+
function _templateObject$7() {
|
|
29012
|
+
var data = _tagged_template_literal$7([
|
|
29010
29013
|
"\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ",
|
|
29011
29014
|
"px ",
|
|
29012
29015
|
"px ",
|
|
29013
29016
|
"px;\n"
|
|
29014
29017
|
]);
|
|
29015
|
-
_templateObject$
|
|
29018
|
+
_templateObject$7 = function _templateObject() {
|
|
29016
29019
|
return data;
|
|
29017
29020
|
};
|
|
29018
29021
|
return data;
|
|
29019
29022
|
}
|
|
29020
29023
|
function _templateObject1$6() {
|
|
29021
|
-
var data = _tagged_template_literal$
|
|
29024
|
+
var data = _tagged_template_literal$7([
|
|
29022
29025
|
"\n display: flex;\n align-items: center;\n"
|
|
29023
29026
|
]);
|
|
29024
29027
|
_templateObject1$6 = function _templateObject() {
|
|
@@ -29026,10 +29029,10 @@ function _templateObject1$6() {
|
|
|
29026
29029
|
};
|
|
29027
29030
|
return data;
|
|
29028
29031
|
}
|
|
29029
|
-
var PaginationContainer = styled.div(_templateObject$
|
|
29032
|
+
var PaginationContainer = styled.div(_templateObject$7(), spacing(2), spacing(1), spacing(1));
|
|
29030
29033
|
var PageControls = styled.div(_templateObject1$6());
|
|
29031
29034
|
var Pagination = function(param) {
|
|
29032
|
-
var pageInfo = param.pageInfo, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, onPageSizeChange = param.onPageSizeChange, subText = param.subText, onPageChange = param.onPageChange, _param_testId = param.testId, testId = _param_testId === void 0 ? 'pagination' : _param_testId;
|
|
29035
|
+
var mode = param.mode, pageInfo = param.pageInfo, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, onPageSizeChange = param.onPageSizeChange, subText = param.subText, onPageChange = param.onPageChange, _param_testId = param.testId, testId = _param_testId === void 0 ? 'pagination' : _param_testId;
|
|
29033
29036
|
return /*#__PURE__*/ jsxs(PaginationContainer, {
|
|
29034
29037
|
children: [
|
|
29035
29038
|
/*#__PURE__*/ jsxs(PageControls, {
|
|
@@ -29055,7 +29058,7 @@ var Pagination = function(param) {
|
|
|
29055
29058
|
label: '100'
|
|
29056
29059
|
}
|
|
29057
29060
|
],
|
|
29058
|
-
value: pageInfo.
|
|
29061
|
+
value: pageInfo.pageSize,
|
|
29059
29062
|
setValue: function(value) {
|
|
29060
29063
|
onPageSizeChange(Number(value));
|
|
29061
29064
|
},
|
|
@@ -29074,38 +29077,79 @@ var Pagination = function(param) {
|
|
|
29074
29077
|
}),
|
|
29075
29078
|
/*#__PURE__*/ jsxs(PageControls, {
|
|
29076
29079
|
children: [
|
|
29077
|
-
/*#__PURE__*/
|
|
29078
|
-
|
|
29079
|
-
|
|
29080
|
-
|
|
29081
|
-
|
|
29082
|
-
|
|
29083
|
-
|
|
29084
|
-
|
|
29085
|
-
|
|
29086
|
-
|
|
29087
|
-
|
|
29088
|
-
|
|
29089
|
-
|
|
29090
|
-
|
|
29091
|
-
|
|
29092
|
-
|
|
29093
|
-
|
|
29094
|
-
|
|
29080
|
+
mode === 'page' && /*#__PURE__*/ jsxs(Fragment, {
|
|
29081
|
+
children: [
|
|
29082
|
+
/*#__PURE__*/ jsx(Typography, {
|
|
29083
|
+
variant: "paragraph300Regular",
|
|
29084
|
+
as: "span",
|
|
29085
|
+
children: "".concat(pageInfo.pageSize * (pageInfo.currentPage - 1) + 1, " – ").concat(pageInfo.currentPage >= pageInfo.pageCount ? pageInfo.itemCount : pageInfo.pageSize * pageInfo.currentPage, " of ").concat(pageInfo.itemCount)
|
|
29086
|
+
}),
|
|
29087
|
+
/*#__PURE__*/ jsx(Button, {
|
|
29088
|
+
color: "secondary",
|
|
29089
|
+
onClick: function() {
|
|
29090
|
+
return onPageChange(pageInfo.currentPage - 1);
|
|
29091
|
+
},
|
|
29092
|
+
disabled: isLoading || pageInfo.currentPage === 1,
|
|
29093
|
+
style: {
|
|
29094
|
+
fontSize: 10,
|
|
29095
|
+
padding: spacing(1),
|
|
29096
|
+
marginLeft: spacing(1)
|
|
29097
|
+
},
|
|
29098
|
+
"data-testid": "".concat(testId, "-prev-button"),
|
|
29099
|
+
children: /*#__PURE__*/ jsx(ChevronLeft, {})
|
|
29100
|
+
}),
|
|
29101
|
+
/*#__PURE__*/ jsx(Button, {
|
|
29102
|
+
color: "secondary",
|
|
29103
|
+
onClick: function() {
|
|
29104
|
+
return onPageChange(pageInfo.currentPage + 1);
|
|
29105
|
+
},
|
|
29106
|
+
disabled: isLoading || pageInfo.currentPage >= pageInfo.pageCount,
|
|
29107
|
+
style: {
|
|
29108
|
+
fontSize: 10,
|
|
29109
|
+
padding: spacing(1),
|
|
29110
|
+
marginLeft: spacing(1)
|
|
29111
|
+
},
|
|
29112
|
+
"data-testid": "".concat(testId, "-next-button"),
|
|
29113
|
+
children: /*#__PURE__*/ jsx(ChevronRight, {})
|
|
29114
|
+
})
|
|
29115
|
+
]
|
|
29095
29116
|
}),
|
|
29096
|
-
/*#__PURE__*/
|
|
29097
|
-
|
|
29098
|
-
|
|
29099
|
-
|
|
29100
|
-
|
|
29101
|
-
|
|
29102
|
-
|
|
29103
|
-
|
|
29104
|
-
|
|
29105
|
-
|
|
29106
|
-
|
|
29107
|
-
|
|
29108
|
-
|
|
29117
|
+
mode === 'cursor' && /*#__PURE__*/ jsxs(Fragment, {
|
|
29118
|
+
children: [
|
|
29119
|
+
/*#__PURE__*/ jsx(Typography, {
|
|
29120
|
+
variant: "paragraph300Regular",
|
|
29121
|
+
as: "span",
|
|
29122
|
+
children: "".concat(pageInfo.pageIndex * pageInfo.pageSize + 1, " – ").concat((pageInfo.pageIndex + 1) * pageInfo.pageSize > pageInfo.itemCount ? pageInfo.itemCount : (pageInfo.pageIndex + 1) * pageInfo.pageSize, " of ").concat(pageInfo.itemCount)
|
|
29123
|
+
}),
|
|
29124
|
+
/*#__PURE__*/ jsx(Button, {
|
|
29125
|
+
color: "secondary",
|
|
29126
|
+
onClick: function() {
|
|
29127
|
+
return onPageChange('prev');
|
|
29128
|
+
},
|
|
29129
|
+
disabled: isLoading || !pageInfo.hasPrevPage,
|
|
29130
|
+
style: {
|
|
29131
|
+
fontSize: 10,
|
|
29132
|
+
padding: spacing(1),
|
|
29133
|
+
marginLeft: spacing(1)
|
|
29134
|
+
},
|
|
29135
|
+
"data-testid": "".concat(testId, "-prev-button"),
|
|
29136
|
+
children: /*#__PURE__*/ jsx(ChevronLeft, {})
|
|
29137
|
+
}),
|
|
29138
|
+
/*#__PURE__*/ jsx(Button, {
|
|
29139
|
+
color: "secondary",
|
|
29140
|
+
onClick: function() {
|
|
29141
|
+
return onPageChange('next');
|
|
29142
|
+
},
|
|
29143
|
+
disabled: isLoading || !pageInfo.hasNextPage,
|
|
29144
|
+
style: {
|
|
29145
|
+
fontSize: 10,
|
|
29146
|
+
padding: spacing(1),
|
|
29147
|
+
marginLeft: spacing(1)
|
|
29148
|
+
},
|
|
29149
|
+
"data-testid": "".concat(testId, "-next-button"),
|
|
29150
|
+
children: /*#__PURE__*/ jsx(ChevronRight, {})
|
|
29151
|
+
})
|
|
29152
|
+
]
|
|
29109
29153
|
})
|
|
29110
29154
|
]
|
|
29111
29155
|
})
|
|
@@ -29168,7 +29212,7 @@ function _object_without_properties_loose$3(source, excluded) {
|
|
|
29168
29212
|
}
|
|
29169
29213
|
return target;
|
|
29170
29214
|
}
|
|
29171
|
-
function _tagged_template_literal$
|
|
29215
|
+
function _tagged_template_literal$6(strings, raw) {
|
|
29172
29216
|
if (!raw) {
|
|
29173
29217
|
raw = strings.slice(0);
|
|
29174
29218
|
}
|
|
@@ -29178,16 +29222,16 @@ function _tagged_template_literal$7(strings, raw) {
|
|
|
29178
29222
|
}
|
|
29179
29223
|
}));
|
|
29180
29224
|
}
|
|
29181
|
-
function _templateObject$
|
|
29182
|
-
var data = _tagged_template_literal$
|
|
29225
|
+
function _templateObject$6() {
|
|
29226
|
+
var data = _tagged_template_literal$6([
|
|
29183
29227
|
"\n display: flex;\n align-items: center;\n"
|
|
29184
29228
|
]);
|
|
29185
|
-
_templateObject$
|
|
29229
|
+
_templateObject$6 = function _templateObject() {
|
|
29186
29230
|
return data;
|
|
29187
29231
|
};
|
|
29188
29232
|
return data;
|
|
29189
29233
|
}
|
|
29190
|
-
var RadioButtonContainer = styled.div(_templateObject$
|
|
29234
|
+
var RadioButtonContainer = styled.div(_templateObject$6());
|
|
29191
29235
|
var RadioButton = function(_param) {
|
|
29192
29236
|
var id = _param.id, name = _param.name, label = _param.label, value = _param.value, checked = _param.checked, onChange = _param.onChange, disabled = _param.disabled, required = _param.required, className = _param.className, style = _param.style, props = _object_without_properties$3(_param, [
|
|
29193
29237
|
"id",
|
|
@@ -29401,7 +29445,7 @@ function _object_without_properties_loose$2(source, excluded) {
|
|
|
29401
29445
|
}
|
|
29402
29446
|
return target;
|
|
29403
29447
|
}
|
|
29404
|
-
function _tagged_template_literal$
|
|
29448
|
+
function _tagged_template_literal$5(strings, raw) {
|
|
29405
29449
|
if (!raw) {
|
|
29406
29450
|
raw = strings.slice(0);
|
|
29407
29451
|
}
|
|
@@ -29411,18 +29455,18 @@ function _tagged_template_literal$6(strings, raw) {
|
|
|
29411
29455
|
}
|
|
29412
29456
|
}));
|
|
29413
29457
|
}
|
|
29414
|
-
function _templateObject$
|
|
29415
|
-
var data = _tagged_template_literal$
|
|
29458
|
+
function _templateObject$5() {
|
|
29459
|
+
var data = _tagged_template_literal$5([
|
|
29416
29460
|
"\n display: flex;\n align-items: center;\n gap: ",
|
|
29417
29461
|
"px;\n"
|
|
29418
29462
|
]);
|
|
29419
|
-
_templateObject$
|
|
29463
|
+
_templateObject$5 = function _templateObject() {
|
|
29420
29464
|
return data;
|
|
29421
29465
|
};
|
|
29422
29466
|
return data;
|
|
29423
29467
|
}
|
|
29424
29468
|
function _templateObject1$5() {
|
|
29425
|
-
var data = _tagged_template_literal$
|
|
29469
|
+
var data = _tagged_template_literal$5([
|
|
29426
29470
|
"\n display: flex;\n height: 40px;\n width: 40px;\n border-radius: 50%;\n\n &:hover {\n background: ",
|
|
29427
29471
|
";\n }\n\n & svg {\n color: ",
|
|
29428
29472
|
";\n font-size: 1.5rem;\n }\n"
|
|
@@ -29432,17 +29476,17 @@ function _templateObject1$5() {
|
|
|
29432
29476
|
};
|
|
29433
29477
|
return data;
|
|
29434
29478
|
}
|
|
29435
|
-
function _templateObject2$
|
|
29436
|
-
var data = _tagged_template_literal$
|
|
29479
|
+
function _templateObject2$5() {
|
|
29480
|
+
var data = _tagged_template_literal$5([
|
|
29437
29481
|
"\n padding-left: 3.25rem;\n padding-top: 1rem;\n padding-bottom: 1rem;\n"
|
|
29438
29482
|
]);
|
|
29439
|
-
_templateObject2$
|
|
29483
|
+
_templateObject2$5 = function _templateObject() {
|
|
29440
29484
|
return data;
|
|
29441
29485
|
};
|
|
29442
29486
|
return data;
|
|
29443
29487
|
}
|
|
29444
29488
|
function _templateObject3$3() {
|
|
29445
|
-
var data = _tagged_template_literal$
|
|
29489
|
+
var data = _tagged_template_literal$5([
|
|
29446
29490
|
"\n position: absolute;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: 0px ",
|
|
29447
29491
|
"px ",
|
|
29448
29492
|
"px 0px;\n padding: 0 1.5rem;\n"
|
|
@@ -29452,9 +29496,9 @@ function _templateObject3$3() {
|
|
|
29452
29496
|
};
|
|
29453
29497
|
return data;
|
|
29454
29498
|
}
|
|
29455
|
-
var Container$1 = styled.div(_templateObject$
|
|
29499
|
+
var Container$1 = styled.div(_templateObject$5(), spacing(1));
|
|
29456
29500
|
var IconWrapper = styled(IconWrapper$3)(_templateObject1$5(), neutral200, neutral600);
|
|
29457
|
-
var StyledInput = styled(BaseInput$1)(_templateObject2$
|
|
29501
|
+
var StyledInput = styled(BaseInput$1)(_templateObject2$5());
|
|
29458
29502
|
var GoButton = styled(Button)(_templateObject3$3(), spacing(1), spacing(1));
|
|
29459
29503
|
var SearchBar = function(_param) {
|
|
29460
29504
|
var placeholder = _param.placeholder, _param_error = _param.error, error = _param_error === void 0 ? false : _param_error, onClear = _param.onClear, onSubmit = _param.onSubmit, _param_showButton = _param.showButton, showButton = _param_showButton === void 0 ? true : _param_showButton, _param_showFilters = _param.showFilters, showFilters = _param_showFilters === void 0 ? false : _param_showFilters, _param_testId = _param.testId, testId = _param_testId === void 0 ? 'search' : _param_testId, props = _object_without_properties$2(_param, [
|
|
@@ -33079,22 +33123,6 @@ function getCoreRowModel() {
|
|
|
33079
33123
|
}));
|
|
33080
33124
|
};
|
|
33081
33125
|
}
|
|
33082
|
-
function expandRows(rowModel) {
|
|
33083
|
-
var expandedRows = [];
|
|
33084
|
-
var handleRow = function(row) {
|
|
33085
|
-
var _row$subRows;
|
|
33086
|
-
expandedRows.push(row);
|
|
33087
|
-
if ((_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
|
|
33088
|
-
row.subRows.forEach(handleRow);
|
|
33089
|
-
}
|
|
33090
|
-
};
|
|
33091
|
-
rowModel.rows.forEach(handleRow);
|
|
33092
|
-
return {
|
|
33093
|
-
rows: expandedRows,
|
|
33094
|
-
flatRows: rowModel.flatRows,
|
|
33095
|
-
rowsById: rowModel.rowsById
|
|
33096
|
-
};
|
|
33097
|
-
}
|
|
33098
33126
|
function filterRows(rows, filterRowImpl, table) {
|
|
33099
33127
|
if (table.options.filterFromLeafRows) {
|
|
33100
33128
|
return filterRowModelFromLeafs(rows, filterRowImpl, table);
|
|
@@ -33295,49 +33323,6 @@ function getFilteredRowModel() {
|
|
|
33295
33323
|
}));
|
|
33296
33324
|
};
|
|
33297
33325
|
}
|
|
33298
|
-
function getPaginationRowModel(opts) {
|
|
33299
|
-
return function(table) {
|
|
33300
|
-
return memo(function() {
|
|
33301
|
-
return [
|
|
33302
|
-
table.getState().pagination,
|
|
33303
|
-
table.getPrePaginationRowModel(),
|
|
33304
|
-
table.options.paginateExpandedRows ? undefined : table.getState().expanded
|
|
33305
|
-
];
|
|
33306
|
-
}, function(pagination, rowModel) {
|
|
33307
|
-
if (!rowModel.rows.length) {
|
|
33308
|
-
return rowModel;
|
|
33309
|
-
}
|
|
33310
|
-
var pageSize = pagination.pageSize, pageIndex = pagination.pageIndex;
|
|
33311
|
-
var rows = rowModel.rows, flatRows = rowModel.flatRows, rowsById = rowModel.rowsById;
|
|
33312
|
-
var pageStart = pageSize * pageIndex;
|
|
33313
|
-
var pageEnd = pageStart + pageSize;
|
|
33314
|
-
rows = rows.slice(pageStart, pageEnd);
|
|
33315
|
-
var paginatedRowModel;
|
|
33316
|
-
if (!table.options.paginateExpandedRows) {
|
|
33317
|
-
paginatedRowModel = expandRows({
|
|
33318
|
-
rows: rows,
|
|
33319
|
-
flatRows: flatRows,
|
|
33320
|
-
rowsById: rowsById
|
|
33321
|
-
});
|
|
33322
|
-
} else {
|
|
33323
|
-
paginatedRowModel = {
|
|
33324
|
-
rows: rows,
|
|
33325
|
-
flatRows: flatRows,
|
|
33326
|
-
rowsById: rowsById
|
|
33327
|
-
};
|
|
33328
|
-
}
|
|
33329
|
-
paginatedRowModel.flatRows = [];
|
|
33330
|
-
var handleRow = function(row) {
|
|
33331
|
-
paginatedRowModel.flatRows.push(row);
|
|
33332
|
-
if (row.subRows.length) {
|
|
33333
|
-
row.subRows.forEach(handleRow);
|
|
33334
|
-
}
|
|
33335
|
-
};
|
|
33336
|
-
paginatedRowModel.rows.forEach(handleRow);
|
|
33337
|
-
return paginatedRowModel;
|
|
33338
|
-
}, getMemoOptions(table.options, 'debugTable', 'getPaginationRowModel'));
|
|
33339
|
-
};
|
|
33340
|
-
}
|
|
33341
33326
|
function getSortedRowModel() {
|
|
33342
33327
|
return function(table) {
|
|
33343
33328
|
return memo(function() {
|
|
@@ -33591,7 +33576,7 @@ function useReactTable(options) {
|
|
|
33591
33576
|
return tableRef.current;
|
|
33592
33577
|
}
|
|
33593
33578
|
|
|
33594
|
-
function _tagged_template_literal$
|
|
33579
|
+
function _tagged_template_literal$4(strings, raw) {
|
|
33595
33580
|
if (!raw) {
|
|
33596
33581
|
raw = strings.slice(0);
|
|
33597
33582
|
}
|
|
@@ -33601,17 +33586,17 @@ function _tagged_template_literal$5(strings, raw) {
|
|
|
33601
33586
|
}
|
|
33602
33587
|
}));
|
|
33603
33588
|
}
|
|
33604
|
-
function _templateObject$
|
|
33605
|
-
var data = _tagged_template_literal$
|
|
33589
|
+
function _templateObject$4() {
|
|
33590
|
+
var data = _tagged_template_literal$4([
|
|
33606
33591
|
"\n position: sticky;\n top: 0;\n z-index: 1;\n"
|
|
33607
33592
|
]);
|
|
33608
|
-
_templateObject$
|
|
33593
|
+
_templateObject$4 = function _templateObject() {
|
|
33609
33594
|
return data;
|
|
33610
33595
|
};
|
|
33611
33596
|
return data;
|
|
33612
33597
|
}
|
|
33613
33598
|
function _templateObject1$4() {
|
|
33614
|
-
var data = _tagged_template_literal$
|
|
33599
|
+
var data = _tagged_template_literal$4([
|
|
33615
33600
|
"\n padding: ",
|
|
33616
33601
|
"px;\n text-align: left;\n position: relative;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n background: ",
|
|
33617
33602
|
";\n border-bottom: 1px solid ",
|
|
@@ -33622,17 +33607,17 @@ function _templateObject1$4() {
|
|
|
33622
33607
|
};
|
|
33623
33608
|
return data;
|
|
33624
33609
|
}
|
|
33625
|
-
function _templateObject2$
|
|
33626
|
-
var data = _tagged_template_literal$
|
|
33610
|
+
function _templateObject2$4() {
|
|
33611
|
+
var data = _tagged_template_literal$4([
|
|
33627
33612
|
"\n display: flex;\n align-items: center;\n overflow: hidden;\n text-overflow: ellipsis;\n"
|
|
33628
33613
|
]);
|
|
33629
|
-
_templateObject2$
|
|
33614
|
+
_templateObject2$4 = function _templateObject() {
|
|
33630
33615
|
return data;
|
|
33631
33616
|
};
|
|
33632
33617
|
return data;
|
|
33633
33618
|
}
|
|
33634
33619
|
function _templateObject3$2() {
|
|
33635
|
-
var data = _tagged_template_literal$
|
|
33620
|
+
var data = _tagged_template_literal$4([
|
|
33636
33621
|
"\n position: absolute;\n right: 0;\n top: 0;\n display: flex;\n align-items: center;\n height: 100%;\n width: 6px;\n padding-right: 10px;\n"
|
|
33637
33622
|
]);
|
|
33638
33623
|
_templateObject3$2 = function _templateObject() {
|
|
@@ -33641,7 +33626,7 @@ function _templateObject3$2() {
|
|
|
33641
33626
|
return data;
|
|
33642
33627
|
}
|
|
33643
33628
|
function _templateObject4$1() {
|
|
33644
|
-
var data = _tagged_template_literal$
|
|
33629
|
+
var data = _tagged_template_literal$4([
|
|
33645
33630
|
"\n position: absolute;\n height: 0%;\n width: 6px;\n background-color: ",
|
|
33646
33631
|
";\n cursor: col-resize;\n user-select: none;\n touch-action: none;\n transition: height ease 0.25s;\n"
|
|
33647
33632
|
]);
|
|
@@ -33651,7 +33636,7 @@ function _templateObject4$1() {
|
|
|
33651
33636
|
return data;
|
|
33652
33637
|
}
|
|
33653
33638
|
function _templateObject5() {
|
|
33654
|
-
var data = _tagged_template_literal$
|
|
33639
|
+
var data = _tagged_template_literal$4([
|
|
33655
33640
|
"\n font-size: 9px;\n display: inline-flex;\n flex-direction: column;\n margin-left: ",
|
|
33656
33641
|
"px;\n align-items: center;\n\n & svg:first-of-type {\n margin-bottom: -1.5px;\n }\n & svg:last-of-type {\n margin-top: -1.5px;\n }\n"
|
|
33657
33642
|
]);
|
|
@@ -33660,9 +33645,9 @@ function _templateObject5() {
|
|
|
33660
33645
|
};
|
|
33661
33646
|
return data;
|
|
33662
33647
|
}
|
|
33663
|
-
var StyledHeader = styled.thead(_templateObject$
|
|
33648
|
+
var StyledHeader = styled.thead(_templateObject$4());
|
|
33664
33649
|
var Th = styled(Typography)(_templateObject1$4(), spacing(1), neutral100, neutral300);
|
|
33665
|
-
var HeaderContent = styled.div(_templateObject2$
|
|
33650
|
+
var HeaderContent = styled.div(_templateObject2$4());
|
|
33666
33651
|
var ResizeHandleContainer = styled.div(_templateObject3$2());
|
|
33667
33652
|
var ResizeHandle = styled.div(_templateObject4$1(), neutral300);
|
|
33668
33653
|
var SortIcon = styled.span(_templateObject5(), spacing(1));
|
|
@@ -33777,7 +33762,7 @@ function _object_spread_props$3(target, source) {
|
|
|
33777
33762
|
}
|
|
33778
33763
|
return target;
|
|
33779
33764
|
}
|
|
33780
|
-
function _tagged_template_literal$
|
|
33765
|
+
function _tagged_template_literal$3(strings, raw) {
|
|
33781
33766
|
if (!raw) {
|
|
33782
33767
|
raw = strings.slice(0);
|
|
33783
33768
|
}
|
|
@@ -33787,17 +33772,17 @@ function _tagged_template_literal$4(strings, raw) {
|
|
|
33787
33772
|
}
|
|
33788
33773
|
}));
|
|
33789
33774
|
}
|
|
33790
|
-
function _templateObject$
|
|
33791
|
-
var data = _tagged_template_literal$
|
|
33775
|
+
function _templateObject$3() {
|
|
33776
|
+
var data = _tagged_template_literal$3([
|
|
33792
33777
|
"\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n"
|
|
33793
33778
|
]);
|
|
33794
|
-
_templateObject$
|
|
33779
|
+
_templateObject$3 = function _templateObject() {
|
|
33795
33780
|
return data;
|
|
33796
33781
|
};
|
|
33797
33782
|
return data;
|
|
33798
33783
|
}
|
|
33799
33784
|
function _templateObject1$3() {
|
|
33800
|
-
var data = _tagged_template_literal$
|
|
33785
|
+
var data = _tagged_template_literal$3([
|
|
33801
33786
|
"\n &:hover {\n background: ",
|
|
33802
33787
|
";\n }\n "
|
|
33803
33788
|
]);
|
|
@@ -33806,18 +33791,18 @@ function _templateObject1$3() {
|
|
|
33806
33791
|
};
|
|
33807
33792
|
return data;
|
|
33808
33793
|
}
|
|
33809
|
-
function _templateObject2$
|
|
33810
|
-
var data = _tagged_template_literal$
|
|
33794
|
+
function _templateObject2$3() {
|
|
33795
|
+
var data = _tagged_template_literal$3([
|
|
33811
33796
|
"\n ",
|
|
33812
33797
|
"\n\n &:last-child td {\n border-bottom: none;\n }\n"
|
|
33813
33798
|
]);
|
|
33814
|
-
_templateObject2$
|
|
33799
|
+
_templateObject2$3 = function _templateObject() {
|
|
33815
33800
|
return data;
|
|
33816
33801
|
};
|
|
33817
33802
|
return data;
|
|
33818
33803
|
}
|
|
33819
33804
|
function _templateObject3$1() {
|
|
33820
|
-
var data = _tagged_template_literal$
|
|
33805
|
+
var data = _tagged_template_literal$3([
|
|
33821
33806
|
"\n border-bottom: 1px solid ",
|
|
33822
33807
|
";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"
|
|
33823
33808
|
]);
|
|
@@ -33826,8 +33811,8 @@ function _templateObject3$1() {
|
|
|
33826
33811
|
};
|
|
33827
33812
|
return data;
|
|
33828
33813
|
}
|
|
33829
|
-
var StyledTableBody = styled.tbody(_templateObject$
|
|
33830
|
-
var Tr = styled.tr(_templateObject2$
|
|
33814
|
+
var StyledTableBody = styled.tbody(_templateObject$3());
|
|
33815
|
+
var Tr = styled.tr(_templateObject2$3(), function(props) {
|
|
33831
33816
|
return props.enableHover && css(_templateObject1$3(), props.disabled ? neutral100 : primary100);
|
|
33832
33817
|
});
|
|
33833
33818
|
var Td = styled(Typography)(_templateObject3$1(), neutral300);
|
|
@@ -33858,20 +33843,16 @@ var TableBody = function(param) {
|
|
|
33858
33843
|
"data-testid": "".concat(testId, "-row-").concat(row.id),
|
|
33859
33844
|
children: row.getVisibleCells().map(function(cell) {
|
|
33860
33845
|
var _cell_column_columnDef;
|
|
33861
|
-
var isContextCell = cell.column.id === 'context';
|
|
33862
33846
|
return /*#__PURE__*/ jsx(Td, _object_spread_props$3(_object_spread$3({
|
|
33863
33847
|
variant: "paragraph200Regular",
|
|
33864
33848
|
as: "td"
|
|
33865
33849
|
}, ((_cell_column_columnDef = cell.column.columnDef) === null || _cell_column_columnDef === void 0 ? void 0 : _cell_column_columnDef.tooltip) && {
|
|
33866
33850
|
title: "".concat(cell.getValue())
|
|
33867
33851
|
}), {
|
|
33868
|
-
style:
|
|
33852
|
+
style: {
|
|
33869
33853
|
width: "".concat(cell.column.getSize(), "px"),
|
|
33870
33854
|
padding: dense ? "".concat(spacing(1), "px ").concat(spacing(cell.column.id === 'row-select' ? 1 : 1.5), "px") : "".concat(spacing(1.5), "px ").concat(spacing(cell.column.id === 'row-select' ? 1 : 1.5), "px")
|
|
33871
|
-
},
|
|
33872
|
-
display: 'flex',
|
|
33873
|
-
justifyContent: 'center'
|
|
33874
|
-
}),
|
|
33855
|
+
},
|
|
33875
33856
|
children: flexRender(cell.column.columnDef.cell, cell.getContext())
|
|
33876
33857
|
}), cell.id);
|
|
33877
33858
|
})
|
|
@@ -33881,70 +33862,31 @@ var TableBody = function(param) {
|
|
|
33881
33862
|
});
|
|
33882
33863
|
};
|
|
33883
33864
|
|
|
33884
|
-
function
|
|
33885
|
-
|
|
33886
|
-
|
|
33887
|
-
|
|
33888
|
-
|
|
33889
|
-
|
|
33890
|
-
|
|
33891
|
-
|
|
33892
|
-
|
|
33893
|
-
|
|
33894
|
-
function _templateObject$3() {
|
|
33895
|
-
var data = _tagged_template_literal$3([
|
|
33896
|
-
"\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ",
|
|
33897
|
-
"px;\n background: none;\n font-size: 20px;\n"
|
|
33898
|
-
]);
|
|
33899
|
-
_templateObject$3 = function _templateObject() {
|
|
33900
|
-
return data;
|
|
33901
|
-
};
|
|
33902
|
-
return data;
|
|
33903
|
-
}
|
|
33904
|
-
var ContextMenuButton = styled(Button)(_templateObject$3(), spacing(0.5));
|
|
33905
|
-
var ContextMenuCell = function(param) {
|
|
33906
|
-
var row = param.row, setOpenMenuId = param.setOpenMenuId, openMenuId = param.openMenuId, contextMenuActions = param.contextMenuActions, _param_testId = param.testId, testId = _param_testId === void 0 ? 'table' : _param_testId;
|
|
33907
|
-
var cellRef = useRef(null);
|
|
33908
|
-
return /*#__PURE__*/ jsxs("div", {
|
|
33909
|
-
ref: cellRef,
|
|
33865
|
+
var RowContextMenu = function(param) {
|
|
33866
|
+
var anchorRef = param.anchorRef, _param_actions = param.actions, actions = _param_actions === void 0 ? [] : _param_actions, activeRow = param.activeRow, setActiveRow = param.setActiveRow;
|
|
33867
|
+
return /*#__PURE__*/ jsx(Popper, {
|
|
33868
|
+
open: !!activeRow,
|
|
33869
|
+
anchorRef: anchorRef,
|
|
33870
|
+
onClose: function() {
|
|
33871
|
+
anchorRef.current = null;
|
|
33872
|
+
setActiveRow(null);
|
|
33873
|
+
},
|
|
33874
|
+
offset: 4,
|
|
33910
33875
|
style: {
|
|
33911
|
-
|
|
33876
|
+
padding: "".concat(spacing(1), "px 0")
|
|
33912
33877
|
},
|
|
33913
|
-
children:
|
|
33914
|
-
/*#__PURE__*/ jsx(
|
|
33878
|
+
children: actions.map(function(action, i) {
|
|
33879
|
+
return /*#__PURE__*/ jsx(MenuItem, {
|
|
33880
|
+
disabled: activeRow == null ? true : typeof action.disabled === 'function' ? action.disabled(activeRow) : action.disabled,
|
|
33915
33881
|
onClick: function(e) {
|
|
33916
33882
|
e.stopPropagation();
|
|
33917
|
-
|
|
33883
|
+
if (activeRow) action.onClick(activeRow);
|
|
33884
|
+
anchorRef.current = null;
|
|
33885
|
+
setActiveRow(null);
|
|
33918
33886
|
},
|
|
33919
|
-
|
|
33920
|
-
|
|
33921
|
-
|
|
33922
|
-
/*#__PURE__*/ jsx(Popper, {
|
|
33923
|
-
anchorRef: cellRef,
|
|
33924
|
-
open: openMenuId === row.id,
|
|
33925
|
-
onClose: function() {
|
|
33926
|
-
return setOpenMenuId(null);
|
|
33927
|
-
},
|
|
33928
|
-
style: {
|
|
33929
|
-
padding: "".concat(spacing(1), "px 0")
|
|
33930
|
-
},
|
|
33931
|
-
children: contextMenuActions.map(function(action, index) {
|
|
33932
|
-
var isDisabled = typeof action.disabled === 'function' ? action.disabled(row.original) : action.disabled;
|
|
33933
|
-
return /*#__PURE__*/ jsx(MenuItem, {
|
|
33934
|
-
disabled: isDisabled,
|
|
33935
|
-
onClick: function(e) {
|
|
33936
|
-
e.stopPropagation();
|
|
33937
|
-
if (!isDisabled) {
|
|
33938
|
-
action.onClick(row.original);
|
|
33939
|
-
setOpenMenuId(null);
|
|
33940
|
-
}
|
|
33941
|
-
},
|
|
33942
|
-
label: action.label,
|
|
33943
|
-
"data-testid": "".concat(testId, "-row-").concat(row.id, "-context-menu-").concat(formatForId(action.label), "-button")
|
|
33944
|
-
}, index);
|
|
33945
|
-
})
|
|
33946
|
-
})
|
|
33947
|
-
]
|
|
33887
|
+
label: action.label
|
|
33888
|
+
}, i);
|
|
33889
|
+
})
|
|
33948
33890
|
});
|
|
33949
33891
|
};
|
|
33950
33892
|
|
|
@@ -34083,17 +34025,29 @@ function _templateObject1$2() {
|
|
|
34083
34025
|
};
|
|
34084
34026
|
return data;
|
|
34085
34027
|
}
|
|
34028
|
+
function _templateObject2$2() {
|
|
34029
|
+
var data = _tagged_template_literal$2([
|
|
34030
|
+
"\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ",
|
|
34031
|
+
"px;\n background: none;\n font-size: 20px;\n"
|
|
34032
|
+
]);
|
|
34033
|
+
_templateObject2$2 = function _templateObject() {
|
|
34034
|
+
return data;
|
|
34035
|
+
};
|
|
34036
|
+
return data;
|
|
34037
|
+
}
|
|
34086
34038
|
var TableContainer = styled(/*#__PURE__*/ forwardRef(function(props, ref) {
|
|
34087
34039
|
return /*#__PURE__*/ jsx("div", _object_spread_props$2(_object_spread$2({}, props), {
|
|
34088
34040
|
ref: ref
|
|
34089
34041
|
}));
|
|
34090
34042
|
}))(_templateObject$2(), neutral300, spacing(1));
|
|
34091
34043
|
var TableWrapper = styled.table(_templateObject1$2());
|
|
34044
|
+
var ContextMenuButton = styled(Button)(_templateObject2$2(), spacing(0.5));
|
|
34092
34045
|
var Table = function(param) {
|
|
34093
|
-
var columns = param.columns, _param_data = param.data, data = _param_data === void 0 ? [] : _param_data, getRowId = param.getRowId, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, pageInfo = param.pageInfo, subText = param.subText, onPageSizeChange = param.onPageSizeChange, onPageChange = param.onPageChange, sortBy = param.sortBy, sortOrder = param.sortOrder, onSortChange = param.onSortChange, _param_enableRowSelection = param.enableRowSelection, enableRowSelection = _param_enableRowSelection === void 0 ? false : _param_enableRowSelection, _param_selectedRows = param.selectedRows, selectedRows = _param_selectedRows === void 0 ? {} : _param_selectedRows, onRowSelectionChange = param.onRowSelectionChange, getRowDisabled = param.getRowDisabled, onRowClick = param.onRowClick, contextMenuActions = param.contextMenuActions, _param_dense = param.dense, dense = _param_dense === void 0 ? false : _param_dense, height = param.height, error = param.error, _param_testId = param.testId, testId = _param_testId === void 0 ? 'table' : _param_testId;
|
|
34046
|
+
var columns = param.columns, _param_data = param.data, data = _param_data === void 0 ? [] : _param_data, getRowId = param.getRowId, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_paginationMode = param.paginationMode, paginationMode = _param_paginationMode === void 0 ? 'page' : _param_paginationMode, pageInfo = param.pageInfo, subText = param.subText, onPageSizeChange = param.onPageSizeChange, onPageChange = param.onPageChange, sortBy = param.sortBy, sortOrder = param.sortOrder, onSortChange = param.onSortChange, _param_enableRowSelection = param.enableRowSelection, enableRowSelection = _param_enableRowSelection === void 0 ? false : _param_enableRowSelection, _param_selectedRows = param.selectedRows, selectedRows = _param_selectedRows === void 0 ? {} : _param_selectedRows, onRowSelectionChange = param.onRowSelectionChange, getRowDisabled = param.getRowDisabled, onRowClick = param.onRowClick, contextMenuActions = param.contextMenuActions, _param_dense = param.dense, dense = _param_dense === void 0 ? false : _param_dense, height = param.height, error = param.error, _param_testId = param.testId, testId = _param_testId === void 0 ? 'table' : _param_testId;
|
|
34094
34047
|
var containerRef = useRef(null);
|
|
34048
|
+
var ctxMenuAnchorRef = useRef(null);
|
|
34095
34049
|
var _useState = _sliced_to_array$1(useState({}), 2), columnSizing = _useState[0], setColumnSizing = _useState[1];
|
|
34096
|
-
var _useState1 = _sliced_to_array$1(useState(null), 2),
|
|
34050
|
+
var _useState1 = _sliced_to_array$1(useState(null), 2), ctxMenuRow = _useState1[0], setCtxMenuRow = _useState1[1];
|
|
34097
34051
|
var disableControls = isLoading || !(data === null || data === void 0 ? void 0 : data.length) || !!error;
|
|
34098
34052
|
var hasSomePageProps = !!(pageInfo || onPageSizeChange || onPageChange);
|
|
34099
34053
|
var hasAllPageProps = !!(pageInfo && onPageSizeChange && onPageChange);
|
|
@@ -34113,69 +34067,90 @@ var Table = function(param) {
|
|
|
34113
34067
|
}, [
|
|
34114
34068
|
columns
|
|
34115
34069
|
]);
|
|
34070
|
+
var rowSelectColumn = useMemo(function() {
|
|
34071
|
+
return {
|
|
34072
|
+
id: 'row-select',
|
|
34073
|
+
size: 50,
|
|
34074
|
+
minSize: 50,
|
|
34075
|
+
maxSize: 50,
|
|
34076
|
+
enableResizing: false,
|
|
34077
|
+
header: function(param) {
|
|
34078
|
+
var table = param.table;
|
|
34079
|
+
return /*#__PURE__*/ jsx(Checkbox, {
|
|
34080
|
+
width: 'min-content',
|
|
34081
|
+
checked: table.getIsAllRowsSelected(),
|
|
34082
|
+
indeterminate: table.getIsSomeRowsSelected(),
|
|
34083
|
+
onChange: table.getToggleAllPageRowsSelectedHandler(),
|
|
34084
|
+
disabled: disableControls,
|
|
34085
|
+
"data-testid": "".concat(testId, "-header-checkbox")
|
|
34086
|
+
});
|
|
34087
|
+
},
|
|
34088
|
+
cell: function(param) {
|
|
34089
|
+
var row = param.row;
|
|
34090
|
+
return /*#__PURE__*/ jsx(Checkbox, {
|
|
34091
|
+
width: 'min-content',
|
|
34092
|
+
checked: row.getIsSelected(),
|
|
34093
|
+
disabled: disableControls || !row.getCanSelect(),
|
|
34094
|
+
onClick: function(e) {
|
|
34095
|
+
return e.stopPropagation();
|
|
34096
|
+
},
|
|
34097
|
+
onChange: row.getToggleSelectedHandler(),
|
|
34098
|
+
"data-testid": "".concat(testId, "-row-").concat(row.id, "-checkbox")
|
|
34099
|
+
});
|
|
34100
|
+
}
|
|
34101
|
+
};
|
|
34102
|
+
}, [
|
|
34103
|
+
disableControls,
|
|
34104
|
+
testId
|
|
34105
|
+
]);
|
|
34106
|
+
var handleContextMenu = useCallback(function(e, row) {
|
|
34107
|
+
e.stopPropagation();
|
|
34108
|
+
setCtxMenuRow(function(prev) {
|
|
34109
|
+
if (prev === row.original) {
|
|
34110
|
+
ctxMenuAnchorRef.current = null;
|
|
34111
|
+
return null;
|
|
34112
|
+
}
|
|
34113
|
+
ctxMenuAnchorRef.current = e.currentTarget;
|
|
34114
|
+
return row.original;
|
|
34115
|
+
});
|
|
34116
|
+
}, []);
|
|
34117
|
+
var contextColumn = useMemo(function() {
|
|
34118
|
+
return {
|
|
34119
|
+
id: 'context',
|
|
34120
|
+
size: 50,
|
|
34121
|
+
minSize: 50,
|
|
34122
|
+
maxSize: 50,
|
|
34123
|
+
enableResizing: false,
|
|
34124
|
+
cell: function(param) {
|
|
34125
|
+
var row = param.row;
|
|
34126
|
+
return /*#__PURE__*/ jsx(ContextMenuButton, {
|
|
34127
|
+
onClick: function(e) {
|
|
34128
|
+
e.stopPropagation();
|
|
34129
|
+
handleContextMenu(e, row);
|
|
34130
|
+
},
|
|
34131
|
+
"data-testid": "".concat(testId, "-row-").concat(row.id, "-context-menu-button"),
|
|
34132
|
+
style: {
|
|
34133
|
+
margin: '0 auto'
|
|
34134
|
+
},
|
|
34135
|
+
children: /*#__PURE__*/ jsx(MoreVertical, {})
|
|
34136
|
+
});
|
|
34137
|
+
}
|
|
34138
|
+
};
|
|
34139
|
+
}, [
|
|
34140
|
+
handleContextMenu,
|
|
34141
|
+
testId
|
|
34142
|
+
]);
|
|
34116
34143
|
var allColumns = useMemo(function() {
|
|
34117
34144
|
var cols = _to_consumable_array(tableColumns);
|
|
34118
|
-
if (enableRowSelection)
|
|
34119
|
-
|
|
34120
|
-
id: 'row-select',
|
|
34121
|
-
size: 32,
|
|
34122
|
-
minSize: 32,
|
|
34123
|
-
maxSize: 32,
|
|
34124
|
-
header: function(param) {
|
|
34125
|
-
var table = param.table;
|
|
34126
|
-
return /*#__PURE__*/ jsx(Checkbox, {
|
|
34127
|
-
width: 'min-content',
|
|
34128
|
-
checked: table.getIsAllRowsSelected(),
|
|
34129
|
-
indeterminate: table.getIsSomeRowsSelected(),
|
|
34130
|
-
onChange: table.getToggleAllPageRowsSelectedHandler(),
|
|
34131
|
-
disabled: disableControls,
|
|
34132
|
-
"data-testid": "".concat(testId, "-header-checkbox")
|
|
34133
|
-
});
|
|
34134
|
-
},
|
|
34135
|
-
cell: function(param) {
|
|
34136
|
-
var row = param.row;
|
|
34137
|
-
return /*#__PURE__*/ jsx(Checkbox, {
|
|
34138
|
-
width: 'min-content',
|
|
34139
|
-
checked: row.getIsSelected(),
|
|
34140
|
-
disabled: disableControls || !row.getCanSelect(),
|
|
34141
|
-
onClick: function(e) {
|
|
34142
|
-
return e.stopPropagation();
|
|
34143
|
-
},
|
|
34144
|
-
onChange: row.getToggleSelectedHandler(),
|
|
34145
|
-
"data-testid": "".concat(testId, "-row-").concat(row.id, "-checkbox")
|
|
34146
|
-
});
|
|
34147
|
-
},
|
|
34148
|
-
enableResizing: false
|
|
34149
|
-
});
|
|
34150
|
-
}
|
|
34151
|
-
if (contextMenuActions === null || contextMenuActions === void 0 ? void 0 : contextMenuActions.length) {
|
|
34152
|
-
cols.push({
|
|
34153
|
-
id: 'context',
|
|
34154
|
-
size: 32,
|
|
34155
|
-
minSize: 32,
|
|
34156
|
-
maxSize: 32,
|
|
34157
|
-
header: '',
|
|
34158
|
-
cell: function(param) {
|
|
34159
|
-
var row = param.row;
|
|
34160
|
-
return /*#__PURE__*/ jsx(ContextMenuCell, {
|
|
34161
|
-
row: row,
|
|
34162
|
-
setOpenMenuId: setOpenMenuId,
|
|
34163
|
-
openMenuId: openMenuId,
|
|
34164
|
-
contextMenuActions: contextMenuActions,
|
|
34165
|
-
testId: testId
|
|
34166
|
-
});
|
|
34167
|
-
},
|
|
34168
|
-
enableResizing: false
|
|
34169
|
-
});
|
|
34170
|
-
}
|
|
34145
|
+
if (enableRowSelection) cols.unshift(rowSelectColumn);
|
|
34146
|
+
if (contextMenuActions === null || contextMenuActions === void 0 ? void 0 : contextMenuActions.length) cols.push(contextColumn);
|
|
34171
34147
|
return cols;
|
|
34172
34148
|
}, [
|
|
34173
34149
|
tableColumns,
|
|
34174
34150
|
enableRowSelection,
|
|
34151
|
+
rowSelectColumn,
|
|
34175
34152
|
contextMenuActions,
|
|
34176
|
-
|
|
34177
|
-
openMenuId,
|
|
34178
|
-
testId
|
|
34153
|
+
contextColumn
|
|
34179
34154
|
]);
|
|
34180
34155
|
var handleSortingChange = useCallback(function(updater) {
|
|
34181
34156
|
var currentSort = sortBy ? [
|
|
@@ -34213,10 +34188,6 @@ var Table = function(param) {
|
|
|
34213
34188
|
sortDescFirst: false
|
|
34214
34189
|
},
|
|
34215
34190
|
state: {
|
|
34216
|
-
pagination: pageInfo && {
|
|
34217
|
-
pageIndex: pageInfo.currentPage - 1,
|
|
34218
|
-
pageSize: pageInfo.items
|
|
34219
|
-
},
|
|
34220
34191
|
columnSizing: columnSizing,
|
|
34221
34192
|
sorting: sortBy ? [
|
|
34222
34193
|
{
|
|
@@ -34229,12 +34200,11 @@ var Table = function(param) {
|
|
|
34229
34200
|
onSortingChange: handleSortingChange,
|
|
34230
34201
|
manualPagination: true,
|
|
34231
34202
|
manualSorting: true,
|
|
34232
|
-
pageCount: pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.pageCount,
|
|
34203
|
+
pageCount: paginationMode === 'page' && pageInfo && 'currentPage' in pageInfo ? pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.pageCount : undefined,
|
|
34233
34204
|
enableColumnResizing: true,
|
|
34234
34205
|
getCoreRowModel: getCoreRowModel(),
|
|
34235
34206
|
getSortedRowModel: getSortedRowModel(),
|
|
34236
34207
|
getFilteredRowModel: getFilteredRowModel(),
|
|
34237
|
-
getPaginationRowModel: getPaginationRowModel(),
|
|
34238
34208
|
onRowSelectionChange: onRowSelectionChange,
|
|
34239
34209
|
enableRowSelection: !!enableRowSelection,
|
|
34240
34210
|
onColumnSizingChange: setColumnSizing,
|
|
@@ -34248,47 +34218,57 @@ var Table = function(param) {
|
|
|
34248
34218
|
});
|
|
34249
34219
|
return /*#__PURE__*/ jsxs("div", {
|
|
34250
34220
|
children: [
|
|
34251
|
-
/*#__PURE__*/ jsxs(
|
|
34221
|
+
/*#__PURE__*/ jsxs("div", {
|
|
34252
34222
|
style: {
|
|
34253
|
-
|
|
34223
|
+
position: 'relative',
|
|
34224
|
+
borderRadius: "".concat(spacing(1), "px"),
|
|
34225
|
+
overflow: 'hidden'
|
|
34254
34226
|
},
|
|
34255
|
-
ref: containerRef,
|
|
34256
34227
|
children: [
|
|
34257
34228
|
isLoading && /*#__PURE__*/ jsx(LoadingOverlay, {}),
|
|
34258
|
-
|
|
34259
|
-
variant: "paragraph200Regular",
|
|
34260
|
-
as: "div",
|
|
34229
|
+
/*#__PURE__*/ jsxs(TableContainer, {
|
|
34261
34230
|
style: {
|
|
34262
|
-
|
|
34263
|
-
left: '50%',
|
|
34264
|
-
top: '50%',
|
|
34265
|
-
transform: 'translate(-50%, -50%)'
|
|
34231
|
+
height: height
|
|
34266
34232
|
},
|
|
34267
|
-
|
|
34268
|
-
}),
|
|
34269
|
-
/*#__PURE__*/ jsxs(TableWrapper, {
|
|
34233
|
+
ref: containerRef,
|
|
34270
34234
|
children: [
|
|
34271
|
-
/*#__PURE__*/ jsx(
|
|
34272
|
-
|
|
34273
|
-
|
|
34274
|
-
|
|
34275
|
-
|
|
34276
|
-
|
|
34235
|
+
Boolean(!isLoading && (!(data === null || data === void 0 ? void 0 : data.length) || error)) && /*#__PURE__*/ jsx(Typography, {
|
|
34236
|
+
variant: "paragraph200Regular",
|
|
34237
|
+
as: "div",
|
|
34238
|
+
style: {
|
|
34239
|
+
position: 'absolute',
|
|
34240
|
+
left: '50%',
|
|
34241
|
+
top: '50%',
|
|
34242
|
+
transform: 'translate(-50%, -50%)'
|
|
34243
|
+
},
|
|
34244
|
+
children: !error ? 'No results found.' : error
|
|
34277
34245
|
}),
|
|
34278
|
-
/*#__PURE__*/
|
|
34279
|
-
|
|
34280
|
-
|
|
34281
|
-
|
|
34282
|
-
|
|
34283
|
-
|
|
34284
|
-
|
|
34285
|
-
|
|
34246
|
+
/*#__PURE__*/ jsxs(TableWrapper, {
|
|
34247
|
+
children: [
|
|
34248
|
+
/*#__PURE__*/ jsx(TableHeader, {
|
|
34249
|
+
table: table,
|
|
34250
|
+
columnWidths: columnWidths,
|
|
34251
|
+
disableControls: disableControls,
|
|
34252
|
+
dense: dense,
|
|
34253
|
+
testId: testId
|
|
34254
|
+
}),
|
|
34255
|
+
/*#__PURE__*/ jsx(TableBody, {
|
|
34256
|
+
table: table,
|
|
34257
|
+
columnWidths: columnWidths,
|
|
34258
|
+
enableRowSelection: enableRowSelection,
|
|
34259
|
+
onRowClick: onRowClick,
|
|
34260
|
+
getRowDisabled: getRowDisabled,
|
|
34261
|
+
dense: dense,
|
|
34262
|
+
testId: testId
|
|
34263
|
+
})
|
|
34264
|
+
]
|
|
34286
34265
|
})
|
|
34287
34266
|
]
|
|
34288
34267
|
})
|
|
34289
34268
|
]
|
|
34290
34269
|
}),
|
|
34291
|
-
onPageSizeChange && onPageChange && pageInfo && /*#__PURE__*/ jsx(Pagination, {
|
|
34270
|
+
onPageSizeChange && onPageChange && pageInfo && (paginationMode === 'page' && 'currentPage' in pageInfo ? /*#__PURE__*/ jsx(Pagination, {
|
|
34271
|
+
mode: "page",
|
|
34292
34272
|
pageInfo: pageInfo,
|
|
34293
34273
|
subText: subText,
|
|
34294
34274
|
isLoading: isLoading,
|
|
@@ -34301,6 +34281,26 @@ var Table = function(param) {
|
|
|
34301
34281
|
onPageChange(page);
|
|
34302
34282
|
},
|
|
34303
34283
|
testId: "".concat(testId, "-pagination")
|
|
34284
|
+
}) : /*#__PURE__*/ jsx(Pagination, {
|
|
34285
|
+
mode: "cursor",
|
|
34286
|
+
pageInfo: pageInfo,
|
|
34287
|
+
subText: subText,
|
|
34288
|
+
isLoading: isLoading,
|
|
34289
|
+
onPageSizeChange: function(size) {
|
|
34290
|
+
resetContainerScroll();
|
|
34291
|
+
onPageSizeChange(size);
|
|
34292
|
+
},
|
|
34293
|
+
onPageChange: function(page) {
|
|
34294
|
+
resetContainerScroll();
|
|
34295
|
+
onPageChange(page);
|
|
34296
|
+
},
|
|
34297
|
+
testId: "".concat(testId, "-pagination")
|
|
34298
|
+
})),
|
|
34299
|
+
/*#__PURE__*/ jsx(RowContextMenu, {
|
|
34300
|
+
anchorRef: ctxMenuAnchorRef,
|
|
34301
|
+
actions: contextMenuActions,
|
|
34302
|
+
activeRow: ctxMenuRow,
|
|
34303
|
+
setActiveRow: setCtxMenuRow
|
|
34304
34304
|
})
|
|
34305
34305
|
]
|
|
34306
34306
|
});
|