pollination-react-io 1.35.2 → 1.35.3
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/build/index.esm.js +1696 -319
- package/build/index.esm.js.map +1 -1
- package/build/index.js +1696 -319
- package/build/index.js.map +1 -1
- package/package.json +2 -1
package/build/index.js
CHANGED
|
@@ -1823,18 +1823,18 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1823
1823
|
|
|
1824
1824
|
var PropTypes = propTypes$5;
|
|
1825
1825
|
|
|
1826
|
-
var _excluded$
|
|
1826
|
+
var _excluded$J = ["color", "size", "title"];
|
|
1827
1827
|
|
|
1828
1828
|
function _extends$I() { _extends$I = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
|
|
1829
1829
|
|
|
1830
|
-
function _objectWithoutProperties$
|
|
1830
|
+
function _objectWithoutProperties$E(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$I(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
1831
1831
|
|
|
1832
1832
|
function _objectWithoutPropertiesLoose$I(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1833
1833
|
var ArrowClockwise = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1834
1834
|
var color = _ref.color,
|
|
1835
1835
|
size = _ref.size,
|
|
1836
1836
|
title = _ref.title,
|
|
1837
|
-
rest = _objectWithoutProperties$
|
|
1837
|
+
rest = _objectWithoutProperties$E(_ref, _excluded$J);
|
|
1838
1838
|
|
|
1839
1839
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$I({
|
|
1840
1840
|
ref: ref,
|
|
@@ -1862,18 +1862,18 @@ ArrowClockwise.defaultProps = {
|
|
|
1862
1862
|
};
|
|
1863
1863
|
var ArrowClockwise$1 = ArrowClockwise;
|
|
1864
1864
|
|
|
1865
|
-
var _excluded$
|
|
1865
|
+
var _excluded$I = ["color", "size", "title"];
|
|
1866
1866
|
|
|
1867
1867
|
function _extends$H() { _extends$H = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
|
|
1868
1868
|
|
|
1869
|
-
function _objectWithoutProperties$
|
|
1869
|
+
function _objectWithoutProperties$D(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$H(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
1870
1870
|
|
|
1871
1871
|
function _objectWithoutPropertiesLoose$H(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1872
1872
|
var ArrowDown = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1873
1873
|
var color = _ref.color,
|
|
1874
1874
|
size = _ref.size,
|
|
1875
1875
|
title = _ref.title,
|
|
1876
|
-
rest = _objectWithoutProperties$
|
|
1876
|
+
rest = _objectWithoutProperties$D(_ref, _excluded$I);
|
|
1877
1877
|
|
|
1878
1878
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$H({
|
|
1879
1879
|
ref: ref,
|
|
@@ -1899,18 +1899,18 @@ ArrowDown.defaultProps = {
|
|
|
1899
1899
|
};
|
|
1900
1900
|
var ArrowDown$1 = ArrowDown;
|
|
1901
1901
|
|
|
1902
|
-
var _excluded$
|
|
1902
|
+
var _excluded$H = ["color", "size", "title"];
|
|
1903
1903
|
|
|
1904
1904
|
function _extends$G() { _extends$G = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
|
|
1905
1905
|
|
|
1906
|
-
function _objectWithoutProperties$
|
|
1906
|
+
function _objectWithoutProperties$C(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$G(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
1907
1907
|
|
|
1908
1908
|
function _objectWithoutPropertiesLoose$G(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1909
1909
|
var ArrowRepeat = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1910
1910
|
var color = _ref.color,
|
|
1911
1911
|
size = _ref.size,
|
|
1912
1912
|
title = _ref.title,
|
|
1913
|
-
rest = _objectWithoutProperties$
|
|
1913
|
+
rest = _objectWithoutProperties$C(_ref, _excluded$H);
|
|
1914
1914
|
|
|
1915
1915
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$G({
|
|
1916
1916
|
ref: ref,
|
|
@@ -1938,18 +1938,18 @@ ArrowRepeat.defaultProps = {
|
|
|
1938
1938
|
};
|
|
1939
1939
|
var ArrowRepeat$1 = ArrowRepeat;
|
|
1940
1940
|
|
|
1941
|
-
var _excluded$
|
|
1941
|
+
var _excluded$G = ["color", "size", "title"];
|
|
1942
1942
|
|
|
1943
1943
|
function _extends$F() { _extends$F = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
|
|
1944
1944
|
|
|
1945
|
-
function _objectWithoutProperties$
|
|
1945
|
+
function _objectWithoutProperties$B(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$F(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
1946
1946
|
|
|
1947
1947
|
function _objectWithoutPropertiesLoose$F(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1948
1948
|
var ArrowUpSquare = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1949
1949
|
var color = _ref.color,
|
|
1950
1950
|
size = _ref.size,
|
|
1951
1951
|
title = _ref.title,
|
|
1952
|
-
rest = _objectWithoutProperties$
|
|
1952
|
+
rest = _objectWithoutProperties$B(_ref, _excluded$G);
|
|
1953
1953
|
|
|
1954
1954
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$F({
|
|
1955
1955
|
ref: ref,
|
|
@@ -1975,18 +1975,18 @@ ArrowUpSquare.defaultProps = {
|
|
|
1975
1975
|
};
|
|
1976
1976
|
var ArrowUpSquare$1 = ArrowUpSquare;
|
|
1977
1977
|
|
|
1978
|
-
var _excluded$
|
|
1978
|
+
var _excluded$F = ["color", "size", "title"];
|
|
1979
1979
|
|
|
1980
1980
|
function _extends$E() { _extends$E = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
|
|
1981
1981
|
|
|
1982
|
-
function _objectWithoutProperties$
|
|
1982
|
+
function _objectWithoutProperties$A(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$E(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
1983
1983
|
|
|
1984
1984
|
function _objectWithoutPropertiesLoose$E(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1985
1985
|
var BoundingBox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1986
1986
|
var color = _ref.color,
|
|
1987
1987
|
size = _ref.size,
|
|
1988
1988
|
title = _ref.title,
|
|
1989
|
-
rest = _objectWithoutProperties$
|
|
1989
|
+
rest = _objectWithoutProperties$A(_ref, _excluded$F);
|
|
1990
1990
|
|
|
1991
1991
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$E({
|
|
1992
1992
|
ref: ref,
|
|
@@ -2011,18 +2011,18 @@ BoundingBox.defaultProps = {
|
|
|
2011
2011
|
};
|
|
2012
2012
|
var BoundingBox$1 = BoundingBox;
|
|
2013
2013
|
|
|
2014
|
-
var _excluded$
|
|
2014
|
+
var _excluded$E = ["color", "size", "title"];
|
|
2015
2015
|
|
|
2016
2016
|
function _extends$D() { _extends$D = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
|
|
2017
2017
|
|
|
2018
|
-
function _objectWithoutProperties$
|
|
2018
|
+
function _objectWithoutProperties$z(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$D(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2019
2019
|
|
|
2020
2020
|
function _objectWithoutPropertiesLoose$D(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2021
|
-
var
|
|
2021
|
+
var Building = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2022
2022
|
var color = _ref.color,
|
|
2023
2023
|
size = _ref.size,
|
|
2024
2024
|
title = _ref.title,
|
|
2025
|
-
rest = _objectWithoutProperties$
|
|
2025
|
+
rest = _objectWithoutProperties$z(_ref, _excluded$E);
|
|
2026
2026
|
|
|
2027
2027
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$D({
|
|
2028
2028
|
ref: ref,
|
|
@@ -2032,33 +2032,36 @@ var Bug = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
2032
2032
|
height: size,
|
|
2033
2033
|
fill: color
|
|
2034
2034
|
}, rest), title ? /*#__PURE__*/React__default["default"].createElement("title", null, title) : null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2035
|
-
|
|
2035
|
+
fillRule: "evenodd",
|
|
2036
|
+
d: "M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022zM6 8.694 1 10.36V15h5V8.694zM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15z"
|
|
2037
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2038
|
+
d: "M2 11h1v1H2v-1zm2 0h1v1H4v-1zm-2 2h1v1H2v-1zm2 0h1v1H4v-1zm4-4h1v1H8V9zm2 0h1v1h-1V9zm-2 2h1v1H8v-1zm2 0h1v1h-1v-1zm2-2h1v1h-1V9zm0 2h1v1h-1v-1zM8 7h1v1H8V7zm2 0h1v1h-1V7zm2 0h1v1h-1V7zM8 5h1v1H8V5zm2 0h1v1h-1V5zm2 0h1v1h-1V5zm0-2h1v1h-1V3z"
|
|
2036
2039
|
}));
|
|
2037
2040
|
});
|
|
2038
|
-
|
|
2041
|
+
Building.propTypes = {
|
|
2039
2042
|
color: PropTypes.string,
|
|
2040
2043
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
2041
2044
|
title: PropTypes.string
|
|
2042
2045
|
};
|
|
2043
|
-
|
|
2046
|
+
Building.defaultProps = {
|
|
2044
2047
|
color: 'currentColor',
|
|
2045
2048
|
size: '1em',
|
|
2046
2049
|
title: null
|
|
2047
2050
|
};
|
|
2048
|
-
var
|
|
2051
|
+
var Building$1 = Building;
|
|
2049
2052
|
|
|
2050
|
-
var _excluded$
|
|
2053
|
+
var _excluded$D = ["color", "size", "title"];
|
|
2051
2054
|
|
|
2052
2055
|
function _extends$C() { _extends$C = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
|
|
2053
2056
|
|
|
2054
|
-
function _objectWithoutProperties$
|
|
2057
|
+
function _objectWithoutProperties$y(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$C(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2055
2058
|
|
|
2056
2059
|
function _objectWithoutPropertiesLoose$C(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2057
|
-
var
|
|
2060
|
+
var CaretDownFill = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2058
2061
|
var color = _ref.color,
|
|
2059
2062
|
size = _ref.size,
|
|
2060
2063
|
title = _ref.title,
|
|
2061
|
-
rest = _objectWithoutProperties$
|
|
2064
|
+
rest = _objectWithoutProperties$y(_ref, _excluded$D);
|
|
2062
2065
|
|
|
2063
2066
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$C({
|
|
2064
2067
|
ref: ref,
|
|
@@ -2068,36 +2071,33 @@ var Building = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
2068
2071
|
height: size,
|
|
2069
2072
|
fill: color
|
|
2070
2073
|
}, rest), title ? /*#__PURE__*/React__default["default"].createElement("title", null, title) : null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2071
|
-
|
|
2072
|
-
d: "M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022zM6 8.694 1 10.36V15h5V8.694zM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15z"
|
|
2073
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2074
|
-
d: "M2 11h1v1H2v-1zm2 0h1v1H4v-1zm-2 2h1v1H2v-1zm2 0h1v1H4v-1zm4-4h1v1H8V9zm2 0h1v1h-1V9zm-2 2h1v1H8v-1zm2 0h1v1h-1v-1zm2-2h1v1h-1V9zm0 2h1v1h-1v-1zM8 7h1v1H8V7zm2 0h1v1h-1V7zm2 0h1v1h-1V7zM8 5h1v1H8V5zm2 0h1v1h-1V5zm2 0h1v1h-1V5zm0-2h1v1h-1V3z"
|
|
2074
|
+
d: "M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"
|
|
2075
2075
|
}));
|
|
2076
2076
|
});
|
|
2077
|
-
|
|
2077
|
+
CaretDownFill.propTypes = {
|
|
2078
2078
|
color: PropTypes.string,
|
|
2079
2079
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
2080
2080
|
title: PropTypes.string
|
|
2081
2081
|
};
|
|
2082
|
-
|
|
2082
|
+
CaretDownFill.defaultProps = {
|
|
2083
2083
|
color: 'currentColor',
|
|
2084
2084
|
size: '1em',
|
|
2085
2085
|
title: null
|
|
2086
2086
|
};
|
|
2087
|
-
var
|
|
2087
|
+
var CaretDownFill$1 = CaretDownFill;
|
|
2088
2088
|
|
|
2089
|
-
var _excluded$
|
|
2089
|
+
var _excluded$C = ["color", "size", "title"];
|
|
2090
2090
|
|
|
2091
2091
|
function _extends$B() { _extends$B = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
|
|
2092
2092
|
|
|
2093
|
-
function _objectWithoutProperties$
|
|
2093
|
+
function _objectWithoutProperties$x(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$B(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2094
2094
|
|
|
2095
2095
|
function _objectWithoutPropertiesLoose$B(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2096
|
-
var
|
|
2096
|
+
var CheckCircle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2097
2097
|
var color = _ref.color,
|
|
2098
2098
|
size = _ref.size,
|
|
2099
2099
|
title = _ref.title,
|
|
2100
|
-
rest = _objectWithoutProperties$
|
|
2100
|
+
rest = _objectWithoutProperties$x(_ref, _excluded$C);
|
|
2101
2101
|
|
|
2102
2102
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$B({
|
|
2103
2103
|
ref: ref,
|
|
@@ -2107,33 +2107,35 @@ var CaretDownFill = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
2107
2107
|
height: size,
|
|
2108
2108
|
fill: color
|
|
2109
2109
|
}, rest), title ? /*#__PURE__*/React__default["default"].createElement("title", null, title) : null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2110
|
-
d: "
|
|
2110
|
+
d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
|
|
2111
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2112
|
+
d: "M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z"
|
|
2111
2113
|
}));
|
|
2112
2114
|
});
|
|
2113
|
-
|
|
2115
|
+
CheckCircle.propTypes = {
|
|
2114
2116
|
color: PropTypes.string,
|
|
2115
2117
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
2116
2118
|
title: PropTypes.string
|
|
2117
2119
|
};
|
|
2118
|
-
|
|
2120
|
+
CheckCircle.defaultProps = {
|
|
2119
2121
|
color: 'currentColor',
|
|
2120
2122
|
size: '1em',
|
|
2121
2123
|
title: null
|
|
2122
2124
|
};
|
|
2123
|
-
var
|
|
2125
|
+
var CheckCircle$1 = CheckCircle;
|
|
2124
2126
|
|
|
2125
|
-
var _excluded$
|
|
2127
|
+
var _excluded$B = ["color", "size", "title"];
|
|
2126
2128
|
|
|
2127
2129
|
function _extends$A() { _extends$A = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
2128
2130
|
|
|
2129
|
-
function _objectWithoutProperties$
|
|
2131
|
+
function _objectWithoutProperties$w(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$A(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2130
2132
|
|
|
2131
2133
|
function _objectWithoutPropertiesLoose$A(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2132
|
-
var
|
|
2134
|
+
var ChevronCompactDown = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2133
2135
|
var color = _ref.color,
|
|
2134
2136
|
size = _ref.size,
|
|
2135
2137
|
title = _ref.title,
|
|
2136
|
-
rest = _objectWithoutProperties$
|
|
2138
|
+
rest = _objectWithoutProperties$w(_ref, _excluded$B);
|
|
2137
2139
|
|
|
2138
2140
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$A({
|
|
2139
2141
|
ref: ref,
|
|
@@ -2143,35 +2145,34 @@ var CheckCircle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
2143
2145
|
height: size,
|
|
2144
2146
|
fill: color
|
|
2145
2147
|
}, rest), title ? /*#__PURE__*/React__default["default"].createElement("title", null, title) : null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
d: "M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z"
|
|
2148
|
+
fillRule: "evenodd",
|
|
2149
|
+
d: "M1.553 6.776a.5.5 0 0 1 .67-.223L8 9.44l5.776-2.888a.5.5 0 1 1 .448.894l-6 3a.5.5 0 0 1-.448 0l-6-3a.5.5 0 0 1-.223-.67z"
|
|
2149
2150
|
}));
|
|
2150
2151
|
});
|
|
2151
|
-
|
|
2152
|
+
ChevronCompactDown.propTypes = {
|
|
2152
2153
|
color: PropTypes.string,
|
|
2153
2154
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
2154
2155
|
title: PropTypes.string
|
|
2155
2156
|
};
|
|
2156
|
-
|
|
2157
|
+
ChevronCompactDown.defaultProps = {
|
|
2157
2158
|
color: 'currentColor',
|
|
2158
2159
|
size: '1em',
|
|
2159
2160
|
title: null
|
|
2160
2161
|
};
|
|
2161
|
-
var
|
|
2162
|
+
var ChevronCompactDown$1 = ChevronCompactDown;
|
|
2162
2163
|
|
|
2163
|
-
var _excluded$
|
|
2164
|
+
var _excluded$A = ["color", "size", "title"];
|
|
2164
2165
|
|
|
2165
2166
|
function _extends$z() { _extends$z = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
|
|
2166
2167
|
|
|
2167
|
-
function _objectWithoutProperties$
|
|
2168
|
+
function _objectWithoutProperties$v(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$z(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2168
2169
|
|
|
2169
2170
|
function _objectWithoutPropertiesLoose$z(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2170
|
-
var
|
|
2171
|
+
var ChevronCompactUp = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2171
2172
|
var color = _ref.color,
|
|
2172
2173
|
size = _ref.size,
|
|
2173
2174
|
title = _ref.title,
|
|
2174
|
-
rest = _objectWithoutProperties$
|
|
2175
|
+
rest = _objectWithoutProperties$v(_ref, _excluded$A);
|
|
2175
2176
|
|
|
2176
2177
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$z({
|
|
2177
2178
|
ref: ref,
|
|
@@ -2180,6 +2181,43 @@ var ChevronRight = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
2180
2181
|
width: size,
|
|
2181
2182
|
height: size,
|
|
2182
2183
|
fill: color
|
|
2184
|
+
}, rest), title ? /*#__PURE__*/React__default["default"].createElement("title", null, title) : null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2185
|
+
fillRule: "evenodd",
|
|
2186
|
+
d: "M7.776 5.553a.5.5 0 0 1 .448 0l6 3a.5.5 0 1 1-.448.894L8 6.56 2.224 9.447a.5.5 0 1 1-.448-.894l6-3z"
|
|
2187
|
+
}));
|
|
2188
|
+
});
|
|
2189
|
+
ChevronCompactUp.propTypes = {
|
|
2190
|
+
color: PropTypes.string,
|
|
2191
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
2192
|
+
title: PropTypes.string
|
|
2193
|
+
};
|
|
2194
|
+
ChevronCompactUp.defaultProps = {
|
|
2195
|
+
color: 'currentColor',
|
|
2196
|
+
size: '1em',
|
|
2197
|
+
title: null
|
|
2198
|
+
};
|
|
2199
|
+
var ChevronCompactUp$1 = ChevronCompactUp;
|
|
2200
|
+
|
|
2201
|
+
var _excluded$z = ["color", "size", "title"];
|
|
2202
|
+
|
|
2203
|
+
function _extends$y() { _extends$y = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
|
|
2204
|
+
|
|
2205
|
+
function _objectWithoutProperties$u(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$y(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2206
|
+
|
|
2207
|
+
function _objectWithoutPropertiesLoose$y(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2208
|
+
var ChevronRight = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2209
|
+
var color = _ref.color,
|
|
2210
|
+
size = _ref.size,
|
|
2211
|
+
title = _ref.title,
|
|
2212
|
+
rest = _objectWithoutProperties$u(_ref, _excluded$z);
|
|
2213
|
+
|
|
2214
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$y({
|
|
2215
|
+
ref: ref,
|
|
2216
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2217
|
+
viewBox: "0 0 16 16",
|
|
2218
|
+
width: size,
|
|
2219
|
+
height: size,
|
|
2220
|
+
fill: color
|
|
2183
2221
|
}, rest), title ? /*#__PURE__*/React__default["default"].createElement("title", null, title) : null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2184
2222
|
fillRule: "evenodd",
|
|
2185
2223
|
d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"
|
|
@@ -2197,20 +2235,20 @@ ChevronRight.defaultProps = {
|
|
|
2197
2235
|
};
|
|
2198
2236
|
var ChevronRight$1 = ChevronRight;
|
|
2199
2237
|
|
|
2200
|
-
var _excluded$
|
|
2238
|
+
var _excluded$y = ["color", "size", "title"];
|
|
2201
2239
|
|
|
2202
|
-
function _extends$
|
|
2240
|
+
function _extends$x() { _extends$x = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
|
|
2203
2241
|
|
|
2204
|
-
function _objectWithoutProperties$t(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2242
|
+
function _objectWithoutProperties$t(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$x(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2205
2243
|
|
|
2206
|
-
function _objectWithoutPropertiesLoose$
|
|
2244
|
+
function _objectWithoutPropertiesLoose$x(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2207
2245
|
var Clock = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2208
2246
|
var color = _ref.color,
|
|
2209
2247
|
size = _ref.size,
|
|
2210
2248
|
title = _ref.title,
|
|
2211
|
-
rest = _objectWithoutProperties$t(_ref, _excluded$
|
|
2249
|
+
rest = _objectWithoutProperties$t(_ref, _excluded$y);
|
|
2212
2250
|
|
|
2213
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2251
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$x({
|
|
2214
2252
|
ref: ref,
|
|
2215
2253
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2216
2254
|
viewBox: "0 0 16 16",
|
|
@@ -2235,20 +2273,20 @@ Clock.defaultProps = {
|
|
|
2235
2273
|
};
|
|
2236
2274
|
var Clock$1 = Clock;
|
|
2237
2275
|
|
|
2238
|
-
var _excluded$
|
|
2276
|
+
var _excluded$x = ["color", "size", "title"];
|
|
2239
2277
|
|
|
2240
|
-
function _extends$
|
|
2278
|
+
function _extends$w() { _extends$w = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
|
|
2241
2279
|
|
|
2242
|
-
function _objectWithoutProperties$s(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2280
|
+
function _objectWithoutProperties$s(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$w(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2243
2281
|
|
|
2244
|
-
function _objectWithoutPropertiesLoose$
|
|
2282
|
+
function _objectWithoutPropertiesLoose$w(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2245
2283
|
var CloudArrowUp = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2246
2284
|
var color = _ref.color,
|
|
2247
2285
|
size = _ref.size,
|
|
2248
2286
|
title = _ref.title,
|
|
2249
|
-
rest = _objectWithoutProperties$s(_ref, _excluded$
|
|
2287
|
+
rest = _objectWithoutProperties$s(_ref, _excluded$x);
|
|
2250
2288
|
|
|
2251
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2289
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$w({
|
|
2252
2290
|
ref: ref,
|
|
2253
2291
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2254
2292
|
viewBox: "0 0 16 16",
|
|
@@ -2274,20 +2312,20 @@ CloudArrowUp.defaultProps = {
|
|
|
2274
2312
|
};
|
|
2275
2313
|
var CloudArrowUp$1 = CloudArrowUp;
|
|
2276
2314
|
|
|
2277
|
-
var _excluded$
|
|
2315
|
+
var _excluded$w = ["color", "size", "title"];
|
|
2278
2316
|
|
|
2279
|
-
function _extends$
|
|
2317
|
+
function _extends$v() { _extends$v = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
2280
2318
|
|
|
2281
|
-
function _objectWithoutProperties$r(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2319
|
+
function _objectWithoutProperties$r(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$v(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2282
2320
|
|
|
2283
|
-
function _objectWithoutPropertiesLoose$
|
|
2321
|
+
function _objectWithoutPropertiesLoose$v(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2284
2322
|
var CloudPlus = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2285
2323
|
var color = _ref.color,
|
|
2286
2324
|
size = _ref.size,
|
|
2287
2325
|
title = _ref.title,
|
|
2288
|
-
rest = _objectWithoutProperties$r(_ref, _excluded$
|
|
2326
|
+
rest = _objectWithoutProperties$r(_ref, _excluded$w);
|
|
2289
2327
|
|
|
2290
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2328
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$v({
|
|
2291
2329
|
ref: ref,
|
|
2292
2330
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2293
2331
|
viewBox: "0 0 16 16",
|
|
@@ -2313,20 +2351,20 @@ CloudPlus.defaultProps = {
|
|
|
2313
2351
|
};
|
|
2314
2352
|
var CloudPlus$1 = CloudPlus;
|
|
2315
2353
|
|
|
2316
|
-
var _excluded$
|
|
2354
|
+
var _excluded$v = ["color", "size", "title"];
|
|
2317
2355
|
|
|
2318
|
-
function _extends$
|
|
2356
|
+
function _extends$u() { _extends$u = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
|
|
2319
2357
|
|
|
2320
|
-
function _objectWithoutProperties$q(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2358
|
+
function _objectWithoutProperties$q(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$u(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2321
2359
|
|
|
2322
|
-
function _objectWithoutPropertiesLoose$
|
|
2360
|
+
function _objectWithoutPropertiesLoose$u(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2323
2361
|
var Cpu = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2324
2362
|
var color = _ref.color,
|
|
2325
2363
|
size = _ref.size,
|
|
2326
2364
|
title = _ref.title,
|
|
2327
|
-
rest = _objectWithoutProperties$q(_ref, _excluded$
|
|
2365
|
+
rest = _objectWithoutProperties$q(_ref, _excluded$v);
|
|
2328
2366
|
|
|
2329
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2367
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$u({
|
|
2330
2368
|
ref: ref,
|
|
2331
2369
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2332
2370
|
viewBox: "0 0 16 16",
|
|
@@ -2349,20 +2387,20 @@ Cpu.defaultProps = {
|
|
|
2349
2387
|
};
|
|
2350
2388
|
var Cpu$1 = Cpu;
|
|
2351
2389
|
|
|
2352
|
-
var _excluded$
|
|
2390
|
+
var _excluded$u = ["color", "size", "title"];
|
|
2353
2391
|
|
|
2354
|
-
function _extends$
|
|
2392
|
+
function _extends$t() { _extends$t = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
|
|
2355
2393
|
|
|
2356
|
-
function _objectWithoutProperties$p(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2394
|
+
function _objectWithoutProperties$p(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$t(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2357
2395
|
|
|
2358
|
-
function _objectWithoutPropertiesLoose$
|
|
2396
|
+
function _objectWithoutPropertiesLoose$t(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2359
2397
|
var CursorText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2360
2398
|
var color = _ref.color,
|
|
2361
2399
|
size = _ref.size,
|
|
2362
2400
|
title = _ref.title,
|
|
2363
|
-
rest = _objectWithoutProperties$p(_ref, _excluded$
|
|
2401
|
+
rest = _objectWithoutProperties$p(_ref, _excluded$u);
|
|
2364
2402
|
|
|
2365
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2403
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$t({
|
|
2366
2404
|
ref: ref,
|
|
2367
2405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2368
2406
|
viewBox: "0 0 16 16",
|
|
@@ -2385,20 +2423,20 @@ CursorText.defaultProps = {
|
|
|
2385
2423
|
};
|
|
2386
2424
|
var CursorText$1 = CursorText;
|
|
2387
2425
|
|
|
2388
|
-
var _excluded$
|
|
2426
|
+
var _excluded$t = ["color", "size", "title"];
|
|
2389
2427
|
|
|
2390
|
-
function _extends$
|
|
2428
|
+
function _extends$s() { _extends$s = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
|
|
2391
2429
|
|
|
2392
|
-
function _objectWithoutProperties$o(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2430
|
+
function _objectWithoutProperties$o(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$s(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2393
2431
|
|
|
2394
|
-
function _objectWithoutPropertiesLoose$
|
|
2432
|
+
function _objectWithoutPropertiesLoose$s(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2395
2433
|
var Download = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2396
2434
|
var color = _ref.color,
|
|
2397
2435
|
size = _ref.size,
|
|
2398
2436
|
title = _ref.title,
|
|
2399
|
-
rest = _objectWithoutProperties$o(_ref, _excluded$
|
|
2437
|
+
rest = _objectWithoutProperties$o(_ref, _excluded$t);
|
|
2400
2438
|
|
|
2401
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2439
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$s({
|
|
2402
2440
|
ref: ref,
|
|
2403
2441
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2404
2442
|
viewBox: "0 0 16 16",
|
|
@@ -2423,20 +2461,20 @@ Download.defaultProps = {
|
|
|
2423
2461
|
};
|
|
2424
2462
|
var Download$1 = Download;
|
|
2425
2463
|
|
|
2426
|
-
var _excluded$
|
|
2464
|
+
var _excluded$s = ["color", "size", "title"];
|
|
2427
2465
|
|
|
2428
|
-
function _extends$
|
|
2466
|
+
function _extends$r() { _extends$r = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
|
|
2429
2467
|
|
|
2430
|
-
function _objectWithoutProperties$n(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2468
|
+
function _objectWithoutProperties$n(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$r(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2431
2469
|
|
|
2432
|
-
function _objectWithoutPropertiesLoose$
|
|
2470
|
+
function _objectWithoutPropertiesLoose$r(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2433
2471
|
var EyeFill = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2434
2472
|
var color = _ref.color,
|
|
2435
2473
|
size = _ref.size,
|
|
2436
2474
|
title = _ref.title,
|
|
2437
|
-
rest = _objectWithoutProperties$n(_ref, _excluded$
|
|
2475
|
+
rest = _objectWithoutProperties$n(_ref, _excluded$s);
|
|
2438
2476
|
|
|
2439
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2477
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$r({
|
|
2440
2478
|
ref: ref,
|
|
2441
2479
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2442
2480
|
viewBox: "0 0 16 16",
|
|
@@ -2461,20 +2499,20 @@ EyeFill.defaultProps = {
|
|
|
2461
2499
|
};
|
|
2462
2500
|
var EyeFill$1 = EyeFill;
|
|
2463
2501
|
|
|
2464
|
-
var _excluded$
|
|
2502
|
+
var _excluded$r = ["color", "size", "title"];
|
|
2465
2503
|
|
|
2466
|
-
function _extends$
|
|
2504
|
+
function _extends$q() { _extends$q = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
|
|
2467
2505
|
|
|
2468
|
-
function _objectWithoutProperties$m(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2506
|
+
function _objectWithoutProperties$m(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$q(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2469
2507
|
|
|
2470
|
-
function _objectWithoutPropertiesLoose$
|
|
2508
|
+
function _objectWithoutPropertiesLoose$q(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2471
2509
|
var Eyeglasses = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2472
2510
|
var color = _ref.color,
|
|
2473
2511
|
size = _ref.size,
|
|
2474
2512
|
title = _ref.title,
|
|
2475
|
-
rest = _objectWithoutProperties$m(_ref, _excluded$
|
|
2513
|
+
rest = _objectWithoutProperties$m(_ref, _excluded$r);
|
|
2476
2514
|
|
|
2477
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2515
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$q({
|
|
2478
2516
|
ref: ref,
|
|
2479
2517
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2480
2518
|
viewBox: "0 0 16 16",
|
|
@@ -2497,20 +2535,20 @@ Eyeglasses.defaultProps = {
|
|
|
2497
2535
|
};
|
|
2498
2536
|
var Eyeglasses$1 = Eyeglasses;
|
|
2499
2537
|
|
|
2500
|
-
var _excluded$
|
|
2538
|
+
var _excluded$q = ["color", "size", "title"];
|
|
2501
2539
|
|
|
2502
|
-
function _extends$
|
|
2540
|
+
function _extends$p() { _extends$p = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
|
|
2503
2541
|
|
|
2504
|
-
function _objectWithoutProperties$l(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2542
|
+
function _objectWithoutProperties$l(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$p(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2505
2543
|
|
|
2506
|
-
function _objectWithoutPropertiesLoose$
|
|
2544
|
+
function _objectWithoutPropertiesLoose$p(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2507
2545
|
var FileEarmarkArrowUp = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2508
2546
|
var color = _ref.color,
|
|
2509
2547
|
size = _ref.size,
|
|
2510
2548
|
title = _ref.title,
|
|
2511
|
-
rest = _objectWithoutProperties$l(_ref, _excluded$
|
|
2549
|
+
rest = _objectWithoutProperties$l(_ref, _excluded$q);
|
|
2512
2550
|
|
|
2513
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2551
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$p({
|
|
2514
2552
|
ref: ref,
|
|
2515
2553
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2516
2554
|
viewBox: "0 0 16 16",
|
|
@@ -2535,20 +2573,20 @@ FileEarmarkArrowUp.defaultProps = {
|
|
|
2535
2573
|
};
|
|
2536
2574
|
var FileEarmarkArrowUp$1 = FileEarmarkArrowUp;
|
|
2537
2575
|
|
|
2538
|
-
var _excluded$
|
|
2576
|
+
var _excluded$p = ["color", "size", "title"];
|
|
2539
2577
|
|
|
2540
|
-
function _extends$
|
|
2578
|
+
function _extends$o() { _extends$o = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
|
|
2541
2579
|
|
|
2542
|
-
function _objectWithoutProperties$k(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2580
|
+
function _objectWithoutProperties$k(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$o(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2543
2581
|
|
|
2544
|
-
function _objectWithoutPropertiesLoose$
|
|
2582
|
+
function _objectWithoutPropertiesLoose$o(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2545
2583
|
var FileEarmarkBarGraph = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2546
2584
|
var color = _ref.color,
|
|
2547
2585
|
size = _ref.size,
|
|
2548
2586
|
title = _ref.title,
|
|
2549
|
-
rest = _objectWithoutProperties$k(_ref, _excluded$
|
|
2587
|
+
rest = _objectWithoutProperties$k(_ref, _excluded$p);
|
|
2550
2588
|
|
|
2551
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2589
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$o({
|
|
2552
2590
|
ref: ref,
|
|
2553
2591
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2554
2592
|
viewBox: "0 0 16 16",
|
|
@@ -2573,20 +2611,20 @@ FileEarmarkBarGraph.defaultProps = {
|
|
|
2573
2611
|
};
|
|
2574
2612
|
var FileEarmarkBarGraph$1 = FileEarmarkBarGraph;
|
|
2575
2613
|
|
|
2576
|
-
var _excluded$
|
|
2614
|
+
var _excluded$o = ["color", "size", "title"];
|
|
2577
2615
|
|
|
2578
|
-
function _extends$
|
|
2616
|
+
function _extends$n() { _extends$n = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
|
|
2579
2617
|
|
|
2580
|
-
function _objectWithoutProperties$j(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2618
|
+
function _objectWithoutProperties$j(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$n(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2581
2619
|
|
|
2582
|
-
function _objectWithoutPropertiesLoose$
|
|
2620
|
+
function _objectWithoutPropertiesLoose$n(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2583
2621
|
var FileEarmarkImage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2584
2622
|
var color = _ref.color,
|
|
2585
2623
|
size = _ref.size,
|
|
2586
2624
|
title = _ref.title,
|
|
2587
|
-
rest = _objectWithoutProperties$j(_ref, _excluded$
|
|
2625
|
+
rest = _objectWithoutProperties$j(_ref, _excluded$o);
|
|
2588
2626
|
|
|
2589
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2627
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$n({
|
|
2590
2628
|
ref: ref,
|
|
2591
2629
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2592
2630
|
viewBox: "0 0 16 16",
|
|
@@ -2611,20 +2649,20 @@ FileEarmarkImage.defaultProps = {
|
|
|
2611
2649
|
};
|
|
2612
2650
|
var FileEarmarkImage$1 = FileEarmarkImage;
|
|
2613
2651
|
|
|
2614
|
-
var _excluded$
|
|
2652
|
+
var _excluded$n = ["color", "size", "title"];
|
|
2615
2653
|
|
|
2616
|
-
function _extends$
|
|
2654
|
+
function _extends$m() { _extends$m = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
|
|
2617
2655
|
|
|
2618
|
-
function _objectWithoutProperties$i(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2656
|
+
function _objectWithoutProperties$i(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$m(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2619
2657
|
|
|
2620
|
-
function _objectWithoutPropertiesLoose$
|
|
2658
|
+
function _objectWithoutPropertiesLoose$m(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2621
2659
|
var FileEarmark = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2622
2660
|
var color = _ref.color,
|
|
2623
2661
|
size = _ref.size,
|
|
2624
2662
|
title = _ref.title,
|
|
2625
|
-
rest = _objectWithoutProperties$i(_ref, _excluded$
|
|
2663
|
+
rest = _objectWithoutProperties$i(_ref, _excluded$n);
|
|
2626
2664
|
|
|
2627
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2665
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$m({
|
|
2628
2666
|
ref: ref,
|
|
2629
2667
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2630
2668
|
viewBox: "0 0 16 16",
|
|
@@ -2647,20 +2685,20 @@ FileEarmark.defaultProps = {
|
|
|
2647
2685
|
};
|
|
2648
2686
|
var FileEarmark$1 = FileEarmark;
|
|
2649
2687
|
|
|
2650
|
-
var _excluded$
|
|
2688
|
+
var _excluded$m = ["color", "size", "title"];
|
|
2651
2689
|
|
|
2652
|
-
function _extends$
|
|
2690
|
+
function _extends$l() { _extends$l = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
|
|
2653
2691
|
|
|
2654
|
-
function _objectWithoutProperties$h(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2692
|
+
function _objectWithoutProperties$h(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$l(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2655
2693
|
|
|
2656
|
-
function _objectWithoutPropertiesLoose$
|
|
2694
|
+
function _objectWithoutPropertiesLoose$l(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2657
2695
|
var FileZip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2658
2696
|
var color = _ref.color,
|
|
2659
2697
|
size = _ref.size,
|
|
2660
2698
|
title = _ref.title,
|
|
2661
|
-
rest = _objectWithoutProperties$h(_ref, _excluded$
|
|
2699
|
+
rest = _objectWithoutProperties$h(_ref, _excluded$m);
|
|
2662
2700
|
|
|
2663
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2701
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$l({
|
|
2664
2702
|
ref: ref,
|
|
2665
2703
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2666
2704
|
viewBox: "0 0 16 16",
|
|
@@ -2685,20 +2723,20 @@ FileZip.defaultProps = {
|
|
|
2685
2723
|
};
|
|
2686
2724
|
var FileZip$1 = FileZip;
|
|
2687
2725
|
|
|
2688
|
-
var _excluded$
|
|
2726
|
+
var _excluded$l = ["color", "size", "title"];
|
|
2689
2727
|
|
|
2690
|
-
function _extends$
|
|
2728
|
+
function _extends$k() { _extends$k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
2691
2729
|
|
|
2692
|
-
function _objectWithoutProperties$g(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2730
|
+
function _objectWithoutProperties$g(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$k(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2693
2731
|
|
|
2694
|
-
function _objectWithoutPropertiesLoose$
|
|
2732
|
+
function _objectWithoutPropertiesLoose$k(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2695
2733
|
var FiletypeCsv = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2696
2734
|
var color = _ref.color,
|
|
2697
2735
|
size = _ref.size,
|
|
2698
2736
|
title = _ref.title,
|
|
2699
|
-
rest = _objectWithoutProperties$g(_ref, _excluded$
|
|
2737
|
+
rest = _objectWithoutProperties$g(_ref, _excluded$l);
|
|
2700
2738
|
|
|
2701
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2739
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$k({
|
|
2702
2740
|
ref: ref,
|
|
2703
2741
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2704
2742
|
viewBox: "0 0 16 16",
|
|
@@ -2722,20 +2760,20 @@ FiletypeCsv.defaultProps = {
|
|
|
2722
2760
|
};
|
|
2723
2761
|
var FiletypeCsv$1 = FiletypeCsv;
|
|
2724
2762
|
|
|
2725
|
-
var _excluded$
|
|
2763
|
+
var _excluded$k = ["color", "size", "title"];
|
|
2726
2764
|
|
|
2727
|
-
function _extends$
|
|
2765
|
+
function _extends$j() { _extends$j = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
|
|
2728
2766
|
|
|
2729
|
-
function _objectWithoutProperties$f(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2767
|
+
function _objectWithoutProperties$f(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$j(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2730
2768
|
|
|
2731
|
-
function _objectWithoutPropertiesLoose$
|
|
2769
|
+
function _objectWithoutPropertiesLoose$j(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2732
2770
|
var FiletypeJson = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2733
2771
|
var color = _ref.color,
|
|
2734
2772
|
size = _ref.size,
|
|
2735
2773
|
title = _ref.title,
|
|
2736
|
-
rest = _objectWithoutProperties$f(_ref, _excluded$
|
|
2774
|
+
rest = _objectWithoutProperties$f(_ref, _excluded$k);
|
|
2737
2775
|
|
|
2738
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2776
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$j({
|
|
2739
2777
|
ref: ref,
|
|
2740
2778
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2741
2779
|
viewBox: "0 0 16 16",
|
|
@@ -2759,20 +2797,20 @@ FiletypeJson.defaultProps = {
|
|
|
2759
2797
|
};
|
|
2760
2798
|
var FiletypeJson$1 = FiletypeJson;
|
|
2761
2799
|
|
|
2762
|
-
var _excluded$
|
|
2800
|
+
var _excluded$j = ["color", "size", "title"];
|
|
2763
2801
|
|
|
2764
|
-
function _extends$
|
|
2802
|
+
function _extends$i() { _extends$i = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
|
|
2765
2803
|
|
|
2766
|
-
function _objectWithoutProperties$e(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2804
|
+
function _objectWithoutProperties$e(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$i(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2767
2805
|
|
|
2768
|
-
function _objectWithoutPropertiesLoose$
|
|
2806
|
+
function _objectWithoutPropertiesLoose$i(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2769
2807
|
var FiletypeTxt = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2770
2808
|
var color = _ref.color,
|
|
2771
2809
|
size = _ref.size,
|
|
2772
2810
|
title = _ref.title,
|
|
2773
|
-
rest = _objectWithoutProperties$e(_ref, _excluded$
|
|
2811
|
+
rest = _objectWithoutProperties$e(_ref, _excluded$j);
|
|
2774
2812
|
|
|
2775
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2813
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$i({
|
|
2776
2814
|
ref: ref,
|
|
2777
2815
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2778
2816
|
viewBox: "0 0 16 16",
|
|
@@ -2796,20 +2834,20 @@ FiletypeTxt.defaultProps = {
|
|
|
2796
2834
|
};
|
|
2797
2835
|
var FiletypeTxt$1 = FiletypeTxt;
|
|
2798
2836
|
|
|
2799
|
-
var _excluded$
|
|
2837
|
+
var _excluded$i = ["color", "size", "title"];
|
|
2800
2838
|
|
|
2801
|
-
function _extends$
|
|
2839
|
+
function _extends$h() { _extends$h = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
2802
2840
|
|
|
2803
|
-
function _objectWithoutProperties$d(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2841
|
+
function _objectWithoutProperties$d(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$h(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2804
2842
|
|
|
2805
|
-
function _objectWithoutPropertiesLoose$
|
|
2843
|
+
function _objectWithoutPropertiesLoose$h(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2806
2844
|
var FolderFill = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2807
2845
|
var color = _ref.color,
|
|
2808
2846
|
size = _ref.size,
|
|
2809
2847
|
title = _ref.title,
|
|
2810
|
-
rest = _objectWithoutProperties$d(_ref, _excluded$
|
|
2848
|
+
rest = _objectWithoutProperties$d(_ref, _excluded$i);
|
|
2811
2849
|
|
|
2812
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2850
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$h({
|
|
2813
2851
|
ref: ref,
|
|
2814
2852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2815
2853
|
viewBox: "0 0 16 16",
|
|
@@ -2832,20 +2870,20 @@ FolderFill.defaultProps = {
|
|
|
2832
2870
|
};
|
|
2833
2871
|
var FolderFill$1 = FolderFill;
|
|
2834
2872
|
|
|
2835
|
-
var _excluded$
|
|
2873
|
+
var _excluded$h = ["color", "size", "title"];
|
|
2836
2874
|
|
|
2837
|
-
function _extends$
|
|
2875
|
+
function _extends$g() { _extends$g = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
2838
2876
|
|
|
2839
|
-
function _objectWithoutProperties$c(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$
|
|
2877
|
+
function _objectWithoutProperties$c(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$g(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2840
2878
|
|
|
2841
|
-
function _objectWithoutPropertiesLoose$
|
|
2879
|
+
function _objectWithoutPropertiesLoose$g(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2842
2880
|
var FolderPlus = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2843
2881
|
var color = _ref.color,
|
|
2844
2882
|
size = _ref.size,
|
|
2845
2883
|
title = _ref.title,
|
|
2846
|
-
rest = _objectWithoutProperties$c(_ref, _excluded$
|
|
2884
|
+
rest = _objectWithoutProperties$c(_ref, _excluded$h);
|
|
2847
2885
|
|
|
2848
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$
|
|
2886
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$g({
|
|
2849
2887
|
ref: ref,
|
|
2850
2888
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2851
2889
|
viewBox: "0 0 16 16",
|
|
@@ -2870,54 +2908,18 @@ FolderPlus.defaultProps = {
|
|
|
2870
2908
|
};
|
|
2871
2909
|
var FolderPlus$1 = FolderPlus;
|
|
2872
2910
|
|
|
2873
|
-
var _excluded$
|
|
2874
|
-
|
|
2875
|
-
function _extends$g() { _extends$g = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
2876
|
-
|
|
2877
|
-
function _objectWithoutProperties$b(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$g(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2878
|
-
|
|
2879
|
-
function _objectWithoutPropertiesLoose$g(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2880
|
-
var Folder = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2881
|
-
var color = _ref.color,
|
|
2882
|
-
size = _ref.size,
|
|
2883
|
-
title = _ref.title,
|
|
2884
|
-
rest = _objectWithoutProperties$b(_ref, _excluded$f);
|
|
2885
|
-
|
|
2886
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$g({
|
|
2887
|
-
ref: ref,
|
|
2888
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2889
|
-
viewBox: "0 0 16 16",
|
|
2890
|
-
width: size,
|
|
2891
|
-
height: size,
|
|
2892
|
-
fill: color
|
|
2893
|
-
}, rest), title ? /*#__PURE__*/React__default["default"].createElement("title", null, title) : null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2894
|
-
d: "M.54 3.87.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181l-.637 7A2 2 0 0 1 13.174 14H2.826a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31zM2.19 4a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91h10.348a1 1 0 0 0 .995-.91l.637-7A1 1 0 0 0 13.81 4H2.19zm4.69-1.707A1 1 0 0 0 6.172 2H2.5a1 1 0 0 0-1 .981l.006.139C1.72 3.042 1.95 3 2.19 3h5.396l-.707-.707z"
|
|
2895
|
-
}));
|
|
2896
|
-
});
|
|
2897
|
-
Folder.propTypes = {
|
|
2898
|
-
color: PropTypes.string,
|
|
2899
|
-
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
2900
|
-
title: PropTypes.string
|
|
2901
|
-
};
|
|
2902
|
-
Folder.defaultProps = {
|
|
2903
|
-
color: 'currentColor',
|
|
2904
|
-
size: '1em',
|
|
2905
|
-
title: null
|
|
2906
|
-
};
|
|
2907
|
-
var Folder$1 = Folder;
|
|
2908
|
-
|
|
2909
|
-
var _excluded$e = ["color", "size", "title"];
|
|
2911
|
+
var _excluded$g = ["color", "size", "title"];
|
|
2910
2912
|
|
|
2911
2913
|
function _extends$f() { _extends$f = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
2912
2914
|
|
|
2913
|
-
function _objectWithoutProperties$
|
|
2915
|
+
function _objectWithoutProperties$b(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$f(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2914
2916
|
|
|
2915
2917
|
function _objectWithoutPropertiesLoose$f(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2916
2918
|
var Gear = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2917
2919
|
var color = _ref.color,
|
|
2918
2920
|
size = _ref.size,
|
|
2919
2921
|
title = _ref.title,
|
|
2920
|
-
rest = _objectWithoutProperties$
|
|
2922
|
+
rest = _objectWithoutProperties$b(_ref, _excluded$g);
|
|
2921
2923
|
|
|
2922
2924
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$f({
|
|
2923
2925
|
ref: ref,
|
|
@@ -2944,18 +2946,18 @@ Gear.defaultProps = {
|
|
|
2944
2946
|
};
|
|
2945
2947
|
var Gear$1 = Gear;
|
|
2946
2948
|
|
|
2947
|
-
var _excluded$
|
|
2949
|
+
var _excluded$f = ["color", "size", "title"];
|
|
2948
2950
|
|
|
2949
2951
|
function _extends$e() { _extends$e = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
2950
2952
|
|
|
2951
|
-
function _objectWithoutProperties$
|
|
2953
|
+
function _objectWithoutProperties$a(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$e(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2952
2954
|
|
|
2953
2955
|
function _objectWithoutPropertiesLoose$e(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2954
2956
|
var Hash = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2955
2957
|
var color = _ref.color,
|
|
2956
2958
|
size = _ref.size,
|
|
2957
2959
|
title = _ref.title,
|
|
2958
|
-
rest = _objectWithoutProperties$
|
|
2960
|
+
rest = _objectWithoutProperties$a(_ref, _excluded$f);
|
|
2959
2961
|
|
|
2960
2962
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$e({
|
|
2961
2963
|
ref: ref,
|
|
@@ -2980,18 +2982,18 @@ Hash.defaultProps = {
|
|
|
2980
2982
|
};
|
|
2981
2983
|
var Hash$1 = Hash;
|
|
2982
2984
|
|
|
2983
|
-
var _excluded$
|
|
2985
|
+
var _excluded$e = ["color", "size", "title"];
|
|
2984
2986
|
|
|
2985
2987
|
function _extends$d() { _extends$d = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
2986
2988
|
|
|
2987
|
-
function _objectWithoutProperties$
|
|
2989
|
+
function _objectWithoutProperties$9(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$d(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2988
2990
|
|
|
2989
2991
|
function _objectWithoutPropertiesLoose$d(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2990
2992
|
var InfoCircle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2991
2993
|
var color = _ref.color,
|
|
2992
2994
|
size = _ref.size,
|
|
2993
2995
|
title = _ref.title,
|
|
2994
|
-
rest = _objectWithoutProperties$
|
|
2996
|
+
rest = _objectWithoutProperties$9(_ref, _excluded$e);
|
|
2995
2997
|
|
|
2996
2998
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$d({
|
|
2997
2999
|
ref: ref,
|
|
@@ -3018,18 +3020,18 @@ InfoCircle.defaultProps = {
|
|
|
3018
3020
|
};
|
|
3019
3021
|
var InfoCircle$1 = InfoCircle;
|
|
3020
3022
|
|
|
3021
|
-
var _excluded$
|
|
3023
|
+
var _excluded$d = ["color", "size", "title"];
|
|
3022
3024
|
|
|
3023
3025
|
function _extends$c() { _extends$c = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
3024
3026
|
|
|
3025
|
-
function _objectWithoutProperties$
|
|
3027
|
+
function _objectWithoutProperties$8(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$c(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3026
3028
|
|
|
3027
3029
|
function _objectWithoutPropertiesLoose$c(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3028
3030
|
var Laptop = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3029
3031
|
var color = _ref.color,
|
|
3030
3032
|
size = _ref.size,
|
|
3031
3033
|
title = _ref.title,
|
|
3032
|
-
rest = _objectWithoutProperties$
|
|
3034
|
+
rest = _objectWithoutProperties$8(_ref, _excluded$d);
|
|
3033
3035
|
|
|
3034
3036
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$c({
|
|
3035
3037
|
ref: ref,
|
|
@@ -3054,18 +3056,18 @@ Laptop.defaultProps = {
|
|
|
3054
3056
|
};
|
|
3055
3057
|
var Laptop$1 = Laptop;
|
|
3056
3058
|
|
|
3057
|
-
var _excluded$
|
|
3059
|
+
var _excluded$c = ["color", "size", "title"];
|
|
3058
3060
|
|
|
3059
3061
|
function _extends$b() { _extends$b = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
3060
3062
|
|
|
3061
|
-
function _objectWithoutProperties$
|
|
3063
|
+
function _objectWithoutProperties$7(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$b(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3062
3064
|
|
|
3063
3065
|
function _objectWithoutPropertiesLoose$b(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3064
3066
|
var Link45deg = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3065
3067
|
var color = _ref.color,
|
|
3066
3068
|
size = _ref.size,
|
|
3067
3069
|
title = _ref.title,
|
|
3068
|
-
rest = _objectWithoutProperties$
|
|
3070
|
+
rest = _objectWithoutProperties$7(_ref, _excluded$c);
|
|
3069
3071
|
|
|
3070
3072
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$b({
|
|
3071
3073
|
ref: ref,
|
|
@@ -3092,18 +3094,18 @@ Link45deg.defaultProps = {
|
|
|
3092
3094
|
};
|
|
3093
3095
|
var Link45deg$1 = Link45deg;
|
|
3094
3096
|
|
|
3095
|
-
var _excluded$
|
|
3097
|
+
var _excluded$b = ["color", "size", "title"];
|
|
3096
3098
|
|
|
3097
3099
|
function _extends$a() { _extends$a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
3098
3100
|
|
|
3099
|
-
function _objectWithoutProperties$
|
|
3101
|
+
function _objectWithoutProperties$6(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3100
3102
|
|
|
3101
3103
|
function _objectWithoutPropertiesLoose$a(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3102
3104
|
var Recycle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3103
3105
|
var color = _ref.color,
|
|
3104
3106
|
size = _ref.size,
|
|
3105
3107
|
title = _ref.title,
|
|
3106
|
-
rest = _objectWithoutProperties$
|
|
3108
|
+
rest = _objectWithoutProperties$6(_ref, _excluded$b);
|
|
3107
3109
|
|
|
3108
3110
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$a({
|
|
3109
3111
|
ref: ref,
|
|
@@ -3128,18 +3130,18 @@ Recycle.defaultProps = {
|
|
|
3128
3130
|
};
|
|
3129
3131
|
var Recycle$1 = Recycle;
|
|
3130
3132
|
|
|
3131
|
-
var _excluded$
|
|
3133
|
+
var _excluded$a = ["color", "size", "title"];
|
|
3132
3134
|
|
|
3133
3135
|
function _extends$9() { _extends$9 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
3134
3136
|
|
|
3135
|
-
function _objectWithoutProperties$
|
|
3137
|
+
function _objectWithoutProperties$5(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$9(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3136
3138
|
|
|
3137
3139
|
function _objectWithoutPropertiesLoose$9(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3138
3140
|
var Trash = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3139
3141
|
var color = _ref.color,
|
|
3140
3142
|
size = _ref.size,
|
|
3141
3143
|
title = _ref.title,
|
|
3142
|
-
rest = _objectWithoutProperties$
|
|
3144
|
+
rest = _objectWithoutProperties$5(_ref, _excluded$a);
|
|
3143
3145
|
|
|
3144
3146
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$9({
|
|
3145
3147
|
ref: ref,
|
|
@@ -3167,18 +3169,18 @@ Trash.defaultProps = {
|
|
|
3167
3169
|
};
|
|
3168
3170
|
var Trash$1 = Trash;
|
|
3169
3171
|
|
|
3170
|
-
var _excluded$
|
|
3172
|
+
var _excluded$9 = ["color", "size", "title"];
|
|
3171
3173
|
|
|
3172
3174
|
function _extends$8() { _extends$8 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
3173
3175
|
|
|
3174
|
-
function _objectWithoutProperties$
|
|
3176
|
+
function _objectWithoutProperties$4(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$8(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3175
3177
|
|
|
3176
3178
|
function _objectWithoutPropertiesLoose$8(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3177
3179
|
var XCircle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3178
3180
|
var color = _ref.color,
|
|
3179
3181
|
size = _ref.size,
|
|
3180
3182
|
title = _ref.title,
|
|
3181
|
-
rest = _objectWithoutProperties$
|
|
3183
|
+
rest = _objectWithoutProperties$4(_ref, _excluded$9);
|
|
3182
3184
|
|
|
3183
3185
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$8({
|
|
3184
3186
|
ref: ref,
|
|
@@ -3205,18 +3207,18 @@ XCircle.defaultProps = {
|
|
|
3205
3207
|
};
|
|
3206
3208
|
var XCircle$1 = XCircle;
|
|
3207
3209
|
|
|
3208
|
-
var _excluded$
|
|
3210
|
+
var _excluded$8 = ["color", "size", "title"];
|
|
3209
3211
|
|
|
3210
3212
|
function _extends$7() { _extends$7 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
3211
3213
|
|
|
3212
|
-
function _objectWithoutProperties$
|
|
3214
|
+
function _objectWithoutProperties$3(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$7(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3213
3215
|
|
|
3214
3216
|
function _objectWithoutPropertiesLoose$7(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3215
3217
|
var XOctagon = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3216
3218
|
var color = _ref.color,
|
|
3217
3219
|
size = _ref.size,
|
|
3218
3220
|
title = _ref.title,
|
|
3219
|
-
rest = _objectWithoutProperties$
|
|
3221
|
+
rest = _objectWithoutProperties$3(_ref, _excluded$8);
|
|
3220
3222
|
|
|
3221
3223
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$7({
|
|
3222
3224
|
ref: ref,
|
|
@@ -3243,18 +3245,18 @@ XOctagon.defaultProps = {
|
|
|
3243
3245
|
};
|
|
3244
3246
|
var XOctagon$1 = XOctagon;
|
|
3245
3247
|
|
|
3246
|
-
var _excluded$
|
|
3248
|
+
var _excluded$7 = ["color", "size", "title"];
|
|
3247
3249
|
|
|
3248
3250
|
function _extends$6() { _extends$6 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
3249
3251
|
|
|
3250
|
-
function _objectWithoutProperties$
|
|
3252
|
+
function _objectWithoutProperties$2(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$6(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3251
3253
|
|
|
3252
3254
|
function _objectWithoutPropertiesLoose$6(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
3253
3255
|
var X$2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3254
3256
|
var color = _ref.color,
|
|
3255
3257
|
size = _ref.size,
|
|
3256
3258
|
title = _ref.title,
|
|
3257
|
-
rest = _objectWithoutProperties$
|
|
3259
|
+
rest = _objectWithoutProperties$2(_ref, _excluded$7);
|
|
3258
3260
|
|
|
3259
3261
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends$6({
|
|
3260
3262
|
ref: ref,
|
|
@@ -10844,7 +10846,7 @@ function getOverflowAncestors(node, list) {
|
|
|
10844
10846
|
updatedList.concat(getOverflowAncestors(target));
|
|
10845
10847
|
}
|
|
10846
10848
|
|
|
10847
|
-
function contains(parent, child) {
|
|
10849
|
+
function contains$1(parent, child) {
|
|
10848
10850
|
const rootNode = child.getRootNode == null ? void 0 : child.getRootNode(); // First, attempt with faster native method
|
|
10849
10851
|
|
|
10850
10852
|
if (parent.contains(child)) {
|
|
@@ -10908,7 +10910,7 @@ function getClippingAncestors(element) {
|
|
|
10908
10910
|
} // @ts-ignore isElement check ensures we return Array<Element>
|
|
10909
10911
|
|
|
10910
10912
|
|
|
10911
|
-
return clippingAncestors.filter(clippingAncestors => isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
|
|
10913
|
+
return clippingAncestors.filter(clippingAncestors => isElement(clippingAncestors) && contains$1(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
|
|
10912
10914
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
10913
10915
|
// clipping ancestors
|
|
10914
10916
|
|
|
@@ -13901,31 +13903,31 @@ var _default$1 = function (file, acceptedFiles) {
|
|
|
13901
13903
|
|
|
13902
13904
|
var accepts = _default$1;
|
|
13903
13905
|
|
|
13904
|
-
function _toConsumableArray$1(arr) { return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$
|
|
13906
|
+
function _toConsumableArray$1(arr) { return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$1(); }
|
|
13905
13907
|
|
|
13906
13908
|
function _nonIterableSpread$1() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13907
13909
|
|
|
13908
13910
|
function _iterableToArray$1(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
13909
13911
|
|
|
13910
|
-
function _arrayWithoutHoles$1(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$
|
|
13912
|
+
function _arrayWithoutHoles$1(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$2(arr); }
|
|
13911
13913
|
|
|
13912
|
-
function ownKeys$
|
|
13914
|
+
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13913
13915
|
|
|
13914
|
-
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$
|
|
13916
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13915
13917
|
|
|
13916
|
-
function _defineProperty$
|
|
13918
|
+
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13917
13919
|
|
|
13918
|
-
function _slicedToArray$
|
|
13920
|
+
function _slicedToArray$2(arr, i) { return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest$2(); }
|
|
13919
13921
|
|
|
13920
|
-
function _nonIterableRest$
|
|
13922
|
+
function _nonIterableRest$2() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13921
13923
|
|
|
13922
|
-
function _unsupportedIterableToArray$
|
|
13924
|
+
function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); }
|
|
13923
13925
|
|
|
13924
|
-
function _arrayLikeToArray$
|
|
13926
|
+
function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
13925
13927
|
|
|
13926
|
-
function _iterableToArrayLimit$
|
|
13928
|
+
function _iterableToArrayLimit$2(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
13927
13929
|
|
|
13928
|
-
function _arrayWithHoles$
|
|
13930
|
+
function _arrayWithHoles$2(arr) { if (Array.isArray(arr)) return arr; }
|
|
13929
13931
|
|
|
13930
13932
|
var FILE_INVALID_TYPE = "file-invalid-type";
|
|
13931
13933
|
var FILE_TOO_LARGE = "file-too-large";
|
|
@@ -14005,11 +14007,11 @@ function allFilesAccepted(_ref) {
|
|
|
14005
14007
|
|
|
14006
14008
|
return files.every(function (file) {
|
|
14007
14009
|
var _fileAccepted = fileAccepted(file, accept),
|
|
14008
|
-
_fileAccepted2 = _slicedToArray$
|
|
14010
|
+
_fileAccepted2 = _slicedToArray$2(_fileAccepted, 1),
|
|
14009
14011
|
accepted = _fileAccepted2[0];
|
|
14010
14012
|
|
|
14011
14013
|
var _fileMatchSize = fileMatchSize(file, minSize, maxSize),
|
|
14012
|
-
_fileMatchSize2 = _slicedToArray$
|
|
14014
|
+
_fileMatchSize2 = _slicedToArray$2(_fileMatchSize, 1),
|
|
14013
14015
|
sizeMatch = _fileMatchSize2[0];
|
|
14014
14016
|
|
|
14015
14017
|
var customErrors = validator ? validator(file) : null;
|
|
@@ -14106,7 +14108,7 @@ function canUseFileSystemAccessAPI() {
|
|
|
14106
14108
|
function pickerOptionsFromAccept(accept) {
|
|
14107
14109
|
if (isDefined(accept)) {
|
|
14108
14110
|
var acceptForPicker = Object.entries(accept).filter(function (_ref2) {
|
|
14109
|
-
var _ref3 = _slicedToArray$
|
|
14111
|
+
var _ref3 = _slicedToArray$2(_ref2, 2),
|
|
14110
14112
|
mimeType = _ref3[0],
|
|
14111
14113
|
ext = _ref3[1];
|
|
14112
14114
|
|
|
@@ -14124,11 +14126,11 @@ function pickerOptionsFromAccept(accept) {
|
|
|
14124
14126
|
|
|
14125
14127
|
return ok;
|
|
14126
14128
|
}).reduce(function (agg, _ref4) {
|
|
14127
|
-
var _ref5 = _slicedToArray$
|
|
14129
|
+
var _ref5 = _slicedToArray$2(_ref4, 2),
|
|
14128
14130
|
mimeType = _ref5[0],
|
|
14129
14131
|
ext = _ref5[1];
|
|
14130
14132
|
|
|
14131
|
-
return _objectSpread$1(_objectSpread$1({}, agg), {}, _defineProperty$
|
|
14133
|
+
return _objectSpread$1(_objectSpread$1({}, agg), {}, _defineProperty$2({}, mimeType, ext));
|
|
14132
14134
|
}, {});
|
|
14133
14135
|
return [{
|
|
14134
14136
|
accept: acceptForPicker
|
|
@@ -14146,7 +14148,7 @@ function pickerOptionsFromAccept(accept) {
|
|
|
14146
14148
|
function acceptPropAsAcceptAttr(accept) {
|
|
14147
14149
|
if (isDefined(accept)) {
|
|
14148
14150
|
return Object.entries(accept).reduce(function (a, _ref6) {
|
|
14149
|
-
var _ref7 = _slicedToArray$
|
|
14151
|
+
var _ref7 = _slicedToArray$2(_ref6, 2),
|
|
14150
14152
|
mimeType = _ref7[0],
|
|
14151
14153
|
ext = _ref7[1];
|
|
14152
14154
|
|
|
@@ -14214,38 +14216,38 @@ function isExt(v) {
|
|
|
14214
14216
|
* @typedef {"file-invalid-type"|"file-too-large"|"file-too-small"|"too-many-files"} ErrorCode
|
|
14215
14217
|
*/
|
|
14216
14218
|
|
|
14217
|
-
var _excluded$
|
|
14219
|
+
var _excluded$6 = ["children"],
|
|
14218
14220
|
_excluded2 = ["open"],
|
|
14219
14221
|
_excluded3 = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"],
|
|
14220
14222
|
_excluded4 = ["refKey", "onChange", "onClick"];
|
|
14221
14223
|
|
|
14222
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
14224
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread(); }
|
|
14223
14225
|
|
|
14224
14226
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14225
14227
|
|
|
14226
14228
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
14227
14229
|
|
|
14228
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
14230
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$1(arr); }
|
|
14229
14231
|
|
|
14230
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14232
|
+
function _slicedToArray$1(arr, i) { return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest$1(); }
|
|
14231
14233
|
|
|
14232
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14234
|
+
function _nonIterableRest$1() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14233
14235
|
|
|
14234
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
14236
|
+
function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); }
|
|
14235
14237
|
|
|
14236
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
14238
|
+
function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
14237
14239
|
|
|
14238
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
14240
|
+
function _iterableToArrayLimit$1(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
14239
14241
|
|
|
14240
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14242
|
+
function _arrayWithHoles$1(arr) { if (Array.isArray(arr)) return arr; }
|
|
14241
14243
|
|
|
14242
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14244
|
+
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14243
14245
|
|
|
14244
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14246
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14245
14247
|
|
|
14246
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14248
|
+
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14247
14249
|
|
|
14248
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$4(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
14250
|
+
function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$4(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
14249
14251
|
|
|
14250
14252
|
function _objectWithoutPropertiesLoose$4(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14251
14253
|
/**
|
|
@@ -14265,11 +14267,11 @@ function _objectWithoutPropertiesLoose$4(source, excluded) { if (source == null)
|
|
|
14265
14267
|
|
|
14266
14268
|
var Dropzone = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14267
14269
|
var children = _ref.children,
|
|
14268
|
-
params = _objectWithoutProperties(_ref, _excluded$
|
|
14270
|
+
params = _objectWithoutProperties$1(_ref, _excluded$6);
|
|
14269
14271
|
|
|
14270
14272
|
var _useDropzone = useDropzone(params),
|
|
14271
14273
|
open = _useDropzone.open,
|
|
14272
|
-
props = _objectWithoutProperties(_useDropzone, _excluded2);
|
|
14274
|
+
props = _objectWithoutProperties$1(_useDropzone, _excluded2);
|
|
14273
14275
|
|
|
14274
14276
|
React.useImperativeHandle(ref, function () {
|
|
14275
14277
|
return {
|
|
@@ -14697,7 +14699,7 @@ function useDropzone() {
|
|
|
14697
14699
|
var inputRef = React.useRef(null);
|
|
14698
14700
|
|
|
14699
14701
|
var _useReducer = React.useReducer(reducer, initialState),
|
|
14700
|
-
_useReducer2 = _slicedToArray(_useReducer, 2),
|
|
14702
|
+
_useReducer2 = _slicedToArray$1(_useReducer, 2),
|
|
14701
14703
|
state = _useReducer2[0],
|
|
14702
14704
|
dispatch = _useReducer2[1];
|
|
14703
14705
|
|
|
@@ -14867,12 +14869,12 @@ function useDropzone() {
|
|
|
14867
14869
|
var fileRejections = [];
|
|
14868
14870
|
files.forEach(function (file) {
|
|
14869
14871
|
var _fileAccepted = fileAccepted(file, acceptAttr),
|
|
14870
|
-
_fileAccepted2 = _slicedToArray(_fileAccepted, 2),
|
|
14872
|
+
_fileAccepted2 = _slicedToArray$1(_fileAccepted, 2),
|
|
14871
14873
|
accepted = _fileAccepted2[0],
|
|
14872
14874
|
acceptError = _fileAccepted2[1];
|
|
14873
14875
|
|
|
14874
14876
|
var _fileMatchSize = fileMatchSize(file, minSize, maxSize),
|
|
14875
|
-
_fileMatchSize2 = _slicedToArray(_fileMatchSize, 2),
|
|
14877
|
+
_fileMatchSize2 = _slicedToArray$1(_fileMatchSize, 2),
|
|
14876
14878
|
sizeMatch = _fileMatchSize2[0],
|
|
14877
14879
|
sizeError = _fileMatchSize2[1];
|
|
14878
14880
|
|
|
@@ -15073,9 +15075,9 @@ function useDropzone() {
|
|
|
15073
15075
|
onDragOver = _ref2.onDragOver,
|
|
15074
15076
|
onDragLeave = _ref2.onDragLeave,
|
|
15075
15077
|
onDrop = _ref2.onDrop,
|
|
15076
|
-
rest = _objectWithoutProperties(_ref2, _excluded3);
|
|
15078
|
+
rest = _objectWithoutProperties$1(_ref2, _excluded3);
|
|
15077
15079
|
|
|
15078
|
-
return _objectSpread(_objectSpread(_defineProperty({
|
|
15080
|
+
return _objectSpread(_objectSpread(_defineProperty$1({
|
|
15079
15081
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
15080
15082
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
15081
15083
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -15100,9 +15102,9 @@ function useDropzone() {
|
|
|
15100
15102
|
refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey,
|
|
15101
15103
|
onChange = _ref3.onChange,
|
|
15102
15104
|
onClick = _ref3.onClick,
|
|
15103
|
-
rest = _objectWithoutProperties(_ref3, _excluded4);
|
|
15105
|
+
rest = _objectWithoutProperties$1(_ref3, _excluded4);
|
|
15104
15106
|
|
|
15105
|
-
var inputProps = _defineProperty({
|
|
15107
|
+
var inputProps = _defineProperty$1({
|
|
15106
15108
|
accept: acceptAttr,
|
|
15107
15109
|
multiple: multiple,
|
|
15108
15110
|
type: "file",
|
|
@@ -41353,7 +41355,7 @@ function getTabsCount(children) {
|
|
|
41353
41355
|
return tabCount;
|
|
41354
41356
|
}
|
|
41355
41357
|
|
|
41356
|
-
var _excluded$
|
|
41358
|
+
var _excluded$5 = ["children", "className", "disabledTabClassName", "domRef", "focus", "forceRenderTabPanel", "onSelect", "selectedIndex", "selectedTabClassName", "selectedTabPanelClassName", "environment", "disableUpDownKeys"];
|
|
41357
41359
|
|
|
41358
41360
|
function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
41359
41361
|
|
|
@@ -41711,7 +41713,7 @@ var UncontrolledTabs = function UncontrolledTabs(props) {
|
|
|
41711
41713
|
props.selectedTabPanelClassName;
|
|
41712
41714
|
props.environment;
|
|
41713
41715
|
props.disableUpDownKeys;
|
|
41714
|
-
var attributes = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
41716
|
+
var attributes = _objectWithoutPropertiesLoose$3(props, _excluded$5);
|
|
41715
41717
|
|
|
41716
41718
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends$4({}, attributes, {
|
|
41717
41719
|
className: clsx(className),
|
|
@@ -41849,7 +41851,7 @@ Tabs.propTypes = process.env.NODE_ENV !== "production" ? propTypes$3 : {};
|
|
|
41849
41851
|
Tabs.defaultProps = defaultProps$2;
|
|
41850
41852
|
Tabs.tabsRole = 'Tabs';
|
|
41851
41853
|
|
|
41852
|
-
var _excluded$
|
|
41854
|
+
var _excluded$4 = ["children", "className"];
|
|
41853
41855
|
|
|
41854
41856
|
function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
41855
41857
|
|
|
@@ -41865,7 +41867,7 @@ var propTypes$2 = process.env.NODE_ENV !== "production" ? {
|
|
|
41865
41867
|
var TabList = function TabList(props) {
|
|
41866
41868
|
var children = props.children,
|
|
41867
41869
|
className = props.className,
|
|
41868
|
-
attributes = _objectWithoutPropertiesLoose$2(props, _excluded$
|
|
41870
|
+
attributes = _objectWithoutPropertiesLoose$2(props, _excluded$4);
|
|
41869
41871
|
|
|
41870
41872
|
return /*#__PURE__*/React__default["default"].createElement("ul", _extends$2({}, attributes, {
|
|
41871
41873
|
className: clsx(className),
|
|
@@ -41877,7 +41879,7 @@ TabList.tabsRole = 'TabList';
|
|
|
41877
41879
|
TabList.propTypes = process.env.NODE_ENV !== "production" ? propTypes$2 : {};
|
|
41878
41880
|
TabList.defaultProps = defaultProps$1;
|
|
41879
41881
|
|
|
41880
|
-
var _excluded$
|
|
41882
|
+
var _excluded$3 = ["children", "className", "disabled", "disabledClassName", "focus", "id", "panelId", "selected", "selectedClassName", "tabIndex", "tabRef"];
|
|
41881
41883
|
|
|
41882
41884
|
function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
41883
41885
|
|
|
@@ -41926,7 +41928,7 @@ var Tab = function Tab(props) {
|
|
|
41926
41928
|
selectedClassName = props.selectedClassName,
|
|
41927
41929
|
tabIndex = props.tabIndex,
|
|
41928
41930
|
tabRef = props.tabRef,
|
|
41929
|
-
attributes = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
41931
|
+
attributes = _objectWithoutPropertiesLoose$1(props, _excluded$3);
|
|
41930
41932
|
|
|
41931
41933
|
React.useEffect(function () {
|
|
41932
41934
|
if (selected && focus) {
|
|
@@ -41953,7 +41955,7 @@ Tab.propTypes = process.env.NODE_ENV !== "production" ? propTypes$1 : {};
|
|
|
41953
41955
|
Tab.tabsRole = 'Tab';
|
|
41954
41956
|
Tab.defaultProps = DEFAULT_PROPS;
|
|
41955
41957
|
|
|
41956
|
-
var _excluded = ["children", "className", "forceRender", "id", "selected", "selectedClassName", "tabId"];
|
|
41958
|
+
var _excluded$2 = ["children", "className", "forceRender", "id", "selected", "selectedClassName", "tabId"];
|
|
41957
41959
|
|
|
41958
41960
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
41959
41961
|
|
|
@@ -41987,7 +41989,7 @@ var TabPanel = function TabPanel(props) {
|
|
|
41987
41989
|
selected = props.selected,
|
|
41988
41990
|
selectedClassName = props.selectedClassName,
|
|
41989
41991
|
tabId = props.tabId,
|
|
41990
|
-
attributes = _objectWithoutPropertiesLoose(props, _excluded);
|
|
41992
|
+
attributes = _objectWithoutPropertiesLoose(props, _excluded$2);
|
|
41991
41993
|
|
|
41992
41994
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends({}, attributes, {
|
|
41993
41995
|
className: clsx(className, (_cx = {}, _cx[selectedClassName] = selected, _cx)),
|
|
@@ -47286,9 +47288,1370 @@ var SendModel = function (_a) {
|
|
|
47286
47288
|
}], asButtons: true, label: buttonLabel, helpText: "".concat(selOpt ? selOpt.charAt(0).toUpperCase() + selOpt.replace('-', ' ').slice(1) : 'Send', " model.") }));
|
|
47287
47289
|
};
|
|
47288
47290
|
|
|
47289
|
-
var css_248z = ":root {\n --background: #FFFAEE;\n --primary: #1890ff;\n --primary2: #40a9ff;\n --primary1: #cceefe;\n --primary0: #e6f7ff;\n --secondary: #fff566;\n --primary3: #000;\n --success: #46A758;\n --warning: #F76809;\n --danger: #FF4616;\n /* radix-ui/colors */\n --slate1: hsl(206, 30.0%, 98.8%);\n --slate2: hsl(210, 16.7%, 97.6%);\n --slate3: hsl(209, 13.3%, 95.3%);\n --slate4: hsl(209, 12.2%, 93.2%);\n --slate5: hsl(208, 11.7%, 91.1%);\n --slate6: hsl(208, 11.3%, 88.9%);\n --slate7: hsl(207, 11.1%, 85.9%);\n --slate8: hsl(205, 10.7%, 78.0%);\n --slate9: hsl(206, 6.0%, 56.1%);\n --slate10: hsl(206, 5.8%, 52.3%);\n --slate11: hsl(206, 6.0%, 43.5%);\n --slate12: hsl(206, 24.0%, 9.0%);\n}\n\n@keyframes spin {\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.spin {\n animation: spin 1s linear 0s infinite;\n}\n\n@keyframes Animation {\n 0% {\n background-position: 200%;\n }\n 50% {\n background-position: 100%;\n }\n 100% {\n background-position: 0%;\n }\n}\n.loading {\n background: linear-gradient(45deg, transparent, var(--primary), 12%, transparent);\n background-size: 200%;\n animation: Animation 3s ease infinite;\n}\n\n@keyframes open {\n from {\n height: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n}\n@keyframes close {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n }\n}\n.collapse-content {\n overflow: hidden;\n font-size: inherit;\n color: inherit;\n}\n\n.collapse-content[data-state=open] {\n animation: open 300ms ease-out;\n}\n\n.collapse-content[data-state=closed] {\n animation: close 300ms ease-out;\n}\n\n.item1 {\n grid-area:
|
|
47291
|
+
var css_248z = ":root {\n --background: #FFFAEE;\n --primary: #1890ff;\n --primary2: #40a9ff;\n --primary1: #cceefe;\n --primary0: #e6f7ff;\n --secondary: #fff566;\n --primary3: #000;\n --success: #46A758;\n --warning: #F76809;\n --danger: #FF4616;\n /* radix-ui/colors */\n --slate1: hsl(206, 30.0%, 98.8%);\n --slate2: hsl(210, 16.7%, 97.6%);\n --slate3: hsl(209, 13.3%, 95.3%);\n --slate4: hsl(209, 12.2%, 93.2%);\n --slate5: hsl(208, 11.7%, 91.1%);\n --slate6: hsl(208, 11.3%, 88.9%);\n --slate7: hsl(207, 11.1%, 85.9%);\n --slate8: hsl(205, 10.7%, 78.0%);\n --slate9: hsl(206, 6.0%, 56.1%);\n --slate10: hsl(206, 5.8%, 52.3%);\n --slate11: hsl(206, 6.0%, 43.5%);\n --slate12: hsl(206, 24.0%, 9.0%);\n}\n\n@keyframes spin {\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.spin {\n animation: spin 1s linear 0s infinite;\n}\n\n@keyframes Animation {\n 0% {\n background-position: 200%;\n }\n 50% {\n background-position: 100%;\n }\n 100% {\n background-position: 0%;\n }\n}\n.loading {\n background: linear-gradient(45deg, transparent, var(--primary), 12%, transparent);\n background-size: 200%;\n animation: Animation 3s ease infinite;\n}\n\n@keyframes open {\n from {\n height: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n}\n@keyframes close {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n }\n}\n.collapse-content {\n overflow: hidden;\n font-size: inherit;\n color: inherit;\n}\n\n.collapse-content[data-state=open] {\n animation: open 300ms ease-out;\n}\n\n.collapse-content[data-state=closed] {\n animation: close 300ms ease-out;\n}\n\n.item1 {\n grid-area: accountprj;\n font-size: 1.125rem;\n font-weight: 500;\n white-space: wrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.item2 {\n grid-area: runworkspacedebug;\n text-align: right !important;\n font-size: 1.25rem;\n}\n\n.item3 {\n grid-area: studyrun;\n font-size: 1.25rem;\n font-weight: 500;\n white-space: wrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.item4 {\n grid-area: date;\n color: var(--slate10);\n font-size: 0.9rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: right !important;\n}\n\n.item5 {\n grid-area: author;\n white-space: wrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.item6 {\n grid-area: recipe;\n white-space: wrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.item7 {\n grid-area: description;\n white-space: wrap;\n color: var(--slate10);\n font-size: 0.9rem;\n}\n\n.item8 {\n grid-area: status;\n}\n\n.status-label {\n font-size: 1.125rem;\n line-height: 1.5rem;\n font-weight: 500;\n}\n\n.item9 {\n grid-area: timecpu;\n text-align: right !important;\n white-space: wrap;\n}\n\n.item10 {\n grid-area: seemore;\n text-align: center !important;\n}\n\n.link {\n cursor: pointer;\n text-decoration: none;\n color: var(--primary3);\n}\n\n.link:hover {\n color: var(--primary3);\n}\n\n.light-text {\n color: var(--slate10);\n font-size: 0.9rem;\n}\n\n.grid-container {\n display: grid;\n grid-template-areas: \"accountprj accountprj accountprj accountprj accountprj runworkspacedebug\" \"studyrun studyrun studyrun studyrun date date\" \"author author recipe recipe recipe recipe\" \"description description description description description description\" \"status status status status status timecpu\" \"seemore seemore seemore seemore seemore seemore\";\n gap: 0.5rem;\n border: 0.1rem solid;\n align-items: center;\n padding: 0.75rem;\n transition: box-shadow 0.3s;\n grid-template-rows: auto 2.5rem;\n}\n\n.grid-container:hover {\n box-shadow: 0 0 0.25rem var(--slate9);\n}\n\n.grid-container > div {\n text-align: left;\n padding: 1rem;\n vertical-align: middle;\n}\n\n@media (max-width: 600px) {\n .grid-container {\n display: grid;\n grid-template-areas: \"runworkspacedebug runworkspacedebug runworkspacedebug runworkspacedebug runworkspacedebug runworkspacedebug\" \"accountprj accountprj accountprj accountprj accountprj accountprj\" \"studyrun studyrun studyrun studyrun studyrun studyrun\" \"author author recipe recipe recipe recipe\" \"description description description description description description\" \"date date date date date date\" \"status status status status status timecpu\" \"seemore seemore seemore seemore seemore seemore\";\n gap: 0.5rem;\n border: 0.1rem solid;\n align-items: center;\n padding: 0.75rem;\n transition: box-shadow 0.3s;\n grid-template-rows: auto auto;\n }\n .grid-container > div {\n text-align: left;\n padding: 1rem;\n vertical-align: middle;\n text-align: center !important;\n }\n}";
|
|
47290
47292
|
styleInject(css_248z);
|
|
47291
47293
|
|
|
47294
|
+
var IconContext = /*#__PURE__*/React.createContext({});
|
|
47295
|
+
var Context = IconContext;
|
|
47296
|
+
|
|
47297
|
+
function _defineProperty(obj, key, value) {
|
|
47298
|
+
if (key in obj) {
|
|
47299
|
+
Object.defineProperty(obj, key, {
|
|
47300
|
+
value: value,
|
|
47301
|
+
enumerable: true,
|
|
47302
|
+
configurable: true,
|
|
47303
|
+
writable: true
|
|
47304
|
+
});
|
|
47305
|
+
} else {
|
|
47306
|
+
obj[key] = value;
|
|
47307
|
+
}
|
|
47308
|
+
|
|
47309
|
+
return obj;
|
|
47310
|
+
}
|
|
47311
|
+
|
|
47312
|
+
function ownKeys(object, enumerableOnly) {
|
|
47313
|
+
var keys = Object.keys(object);
|
|
47314
|
+
|
|
47315
|
+
if (Object.getOwnPropertySymbols) {
|
|
47316
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
47317
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
47318
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
47319
|
+
})), keys.push.apply(keys, symbols);
|
|
47320
|
+
}
|
|
47321
|
+
|
|
47322
|
+
return keys;
|
|
47323
|
+
}
|
|
47324
|
+
|
|
47325
|
+
function _objectSpread2(target) {
|
|
47326
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
47327
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
47328
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
47329
|
+
_defineProperty(target, key, source[key]);
|
|
47330
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
47331
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
47332
|
+
});
|
|
47333
|
+
}
|
|
47334
|
+
|
|
47335
|
+
return target;
|
|
47336
|
+
}
|
|
47337
|
+
|
|
47338
|
+
function _arrayWithHoles(arr) {
|
|
47339
|
+
if (Array.isArray(arr)) return arr;
|
|
47340
|
+
}
|
|
47341
|
+
|
|
47342
|
+
function _iterableToArrayLimit(arr, i) {
|
|
47343
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
47344
|
+
|
|
47345
|
+
if (_i == null) return;
|
|
47346
|
+
var _arr = [];
|
|
47347
|
+
var _n = true;
|
|
47348
|
+
var _d = false;
|
|
47349
|
+
|
|
47350
|
+
var _s, _e;
|
|
47351
|
+
|
|
47352
|
+
try {
|
|
47353
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
47354
|
+
_arr.push(_s.value);
|
|
47355
|
+
|
|
47356
|
+
if (i && _arr.length === i) break;
|
|
47357
|
+
}
|
|
47358
|
+
} catch (err) {
|
|
47359
|
+
_d = true;
|
|
47360
|
+
_e = err;
|
|
47361
|
+
} finally {
|
|
47362
|
+
try {
|
|
47363
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
47364
|
+
} finally {
|
|
47365
|
+
if (_d) throw _e;
|
|
47366
|
+
}
|
|
47367
|
+
}
|
|
47368
|
+
|
|
47369
|
+
return _arr;
|
|
47370
|
+
}
|
|
47371
|
+
|
|
47372
|
+
function _arrayLikeToArray(arr, len) {
|
|
47373
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
47374
|
+
|
|
47375
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
47376
|
+
arr2[i] = arr[i];
|
|
47377
|
+
}
|
|
47378
|
+
|
|
47379
|
+
return arr2;
|
|
47380
|
+
}
|
|
47381
|
+
|
|
47382
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
47383
|
+
if (!o) return;
|
|
47384
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
47385
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
47386
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
47387
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
47388
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
47389
|
+
}
|
|
47390
|
+
|
|
47391
|
+
function _nonIterableRest() {
|
|
47392
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
47393
|
+
}
|
|
47394
|
+
|
|
47395
|
+
function _slicedToArray(arr, i) {
|
|
47396
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
47397
|
+
}
|
|
47398
|
+
|
|
47399
|
+
function _objectWithoutProperties(source, excluded) {
|
|
47400
|
+
if (source == null) return {};
|
|
47401
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
47402
|
+
var key, i;
|
|
47403
|
+
|
|
47404
|
+
if (Object.getOwnPropertySymbols) {
|
|
47405
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
47406
|
+
|
|
47407
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
47408
|
+
key = sourceSymbolKeys[i];
|
|
47409
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
47410
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
47411
|
+
target[key] = source[key];
|
|
47412
|
+
}
|
|
47413
|
+
}
|
|
47414
|
+
|
|
47415
|
+
return target;
|
|
47416
|
+
}
|
|
47417
|
+
|
|
47418
|
+
/*!
|
|
47419
|
+
Copyright (c) 2018 Jed Watson.
|
|
47420
|
+
Licensed under the MIT License (MIT), see
|
|
47421
|
+
http://jedwatson.github.io/classnames
|
|
47422
|
+
*/
|
|
47423
|
+
|
|
47424
|
+
var classnames = createCommonjsModule(function (module) {
|
|
47425
|
+
/* global define */
|
|
47426
|
+
|
|
47427
|
+
(function () {
|
|
47428
|
+
|
|
47429
|
+
var hasOwn = {}.hasOwnProperty;
|
|
47430
|
+
|
|
47431
|
+
function classNames() {
|
|
47432
|
+
var classes = [];
|
|
47433
|
+
|
|
47434
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
47435
|
+
var arg = arguments[i];
|
|
47436
|
+
if (!arg) continue;
|
|
47437
|
+
|
|
47438
|
+
var argType = typeof arg;
|
|
47439
|
+
|
|
47440
|
+
if (argType === 'string' || argType === 'number') {
|
|
47441
|
+
classes.push(arg);
|
|
47442
|
+
} else if (Array.isArray(arg)) {
|
|
47443
|
+
if (arg.length) {
|
|
47444
|
+
var inner = classNames.apply(null, arg);
|
|
47445
|
+
if (inner) {
|
|
47446
|
+
classes.push(inner);
|
|
47447
|
+
}
|
|
47448
|
+
}
|
|
47449
|
+
} else if (argType === 'object') {
|
|
47450
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
47451
|
+
classes.push(arg.toString());
|
|
47452
|
+
continue;
|
|
47453
|
+
}
|
|
47454
|
+
|
|
47455
|
+
for (var key in arg) {
|
|
47456
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
47457
|
+
classes.push(key);
|
|
47458
|
+
}
|
|
47459
|
+
}
|
|
47460
|
+
}
|
|
47461
|
+
}
|
|
47462
|
+
|
|
47463
|
+
return classes.join(' ');
|
|
47464
|
+
}
|
|
47465
|
+
|
|
47466
|
+
if (module.exports) {
|
|
47467
|
+
classNames.default = classNames;
|
|
47468
|
+
module.exports = classNames;
|
|
47469
|
+
} else {
|
|
47470
|
+
window.classNames = classNames;
|
|
47471
|
+
}
|
|
47472
|
+
}());
|
|
47473
|
+
});
|
|
47474
|
+
|
|
47475
|
+
function _typeof(obj) {
|
|
47476
|
+
"@babel/helpers - typeof";
|
|
47477
|
+
|
|
47478
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
47479
|
+
return typeof obj;
|
|
47480
|
+
} : function (obj) {
|
|
47481
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
47482
|
+
}, _typeof(obj);
|
|
47483
|
+
}
|
|
47484
|
+
|
|
47485
|
+
/**
|
|
47486
|
+
* Take input from [0, n] and return it as [0, 1]
|
|
47487
|
+
* @hidden
|
|
47488
|
+
*/
|
|
47489
|
+
function bound01(n, max) {
|
|
47490
|
+
if (isOnePointZero(n)) {
|
|
47491
|
+
n = '100%';
|
|
47492
|
+
}
|
|
47493
|
+
var isPercent = isPercentage(n);
|
|
47494
|
+
n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));
|
|
47495
|
+
// Automatically convert percentage into number
|
|
47496
|
+
if (isPercent) {
|
|
47497
|
+
n = parseInt(String(n * max), 10) / 100;
|
|
47498
|
+
}
|
|
47499
|
+
// Handle floating point rounding errors
|
|
47500
|
+
if (Math.abs(n - max) < 0.000001) {
|
|
47501
|
+
return 1;
|
|
47502
|
+
}
|
|
47503
|
+
// Convert into [0, 1] range if it isn't already
|
|
47504
|
+
if (max === 360) {
|
|
47505
|
+
// If n is a hue given in degrees,
|
|
47506
|
+
// wrap around out-of-range values into [0, 360] range
|
|
47507
|
+
// then convert into [0, 1].
|
|
47508
|
+
n = (n < 0 ? (n % max) + max : n % max) / parseFloat(String(max));
|
|
47509
|
+
}
|
|
47510
|
+
else {
|
|
47511
|
+
// If n not a hue given in degrees
|
|
47512
|
+
// Convert into [0, 1] range if it isn't already.
|
|
47513
|
+
n = (n % max) / parseFloat(String(max));
|
|
47514
|
+
}
|
|
47515
|
+
return n;
|
|
47516
|
+
}
|
|
47517
|
+
/**
|
|
47518
|
+
* Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
|
|
47519
|
+
* <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
|
|
47520
|
+
* @hidden
|
|
47521
|
+
*/
|
|
47522
|
+
function isOnePointZero(n) {
|
|
47523
|
+
return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;
|
|
47524
|
+
}
|
|
47525
|
+
/**
|
|
47526
|
+
* Check to see if string passed in is a percentage
|
|
47527
|
+
* @hidden
|
|
47528
|
+
*/
|
|
47529
|
+
function isPercentage(n) {
|
|
47530
|
+
return typeof n === 'string' && n.indexOf('%') !== -1;
|
|
47531
|
+
}
|
|
47532
|
+
/**
|
|
47533
|
+
* Return a valid alpha value [0,1] with all invalid values being set to 1
|
|
47534
|
+
* @hidden
|
|
47535
|
+
*/
|
|
47536
|
+
function boundAlpha(a) {
|
|
47537
|
+
a = parseFloat(a);
|
|
47538
|
+
if (isNaN(a) || a < 0 || a > 1) {
|
|
47539
|
+
a = 1;
|
|
47540
|
+
}
|
|
47541
|
+
return a;
|
|
47542
|
+
}
|
|
47543
|
+
/**
|
|
47544
|
+
* Replace a decimal with it's percentage value
|
|
47545
|
+
* @hidden
|
|
47546
|
+
*/
|
|
47547
|
+
function convertToPercentage(n) {
|
|
47548
|
+
if (n <= 1) {
|
|
47549
|
+
return "".concat(Number(n) * 100, "%");
|
|
47550
|
+
}
|
|
47551
|
+
return n;
|
|
47552
|
+
}
|
|
47553
|
+
/**
|
|
47554
|
+
* Force a hex value to have 2 characters
|
|
47555
|
+
* @hidden
|
|
47556
|
+
*/
|
|
47557
|
+
function pad2(c) {
|
|
47558
|
+
return c.length === 1 ? '0' + c : String(c);
|
|
47559
|
+
}
|
|
47560
|
+
|
|
47561
|
+
// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
|
|
47562
|
+
// <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
|
|
47563
|
+
/**
|
|
47564
|
+
* Handle bounds / percentage checking to conform to CSS color spec
|
|
47565
|
+
* <http://www.w3.org/TR/css3-color/>
|
|
47566
|
+
* *Assumes:* r, g, b in [0, 255] or [0, 1]
|
|
47567
|
+
* *Returns:* { r, g, b } in [0, 255]
|
|
47568
|
+
*/
|
|
47569
|
+
function rgbToRgb(r, g, b) {
|
|
47570
|
+
return {
|
|
47571
|
+
r: bound01(r, 255) * 255,
|
|
47572
|
+
g: bound01(g, 255) * 255,
|
|
47573
|
+
b: bound01(b, 255) * 255,
|
|
47574
|
+
};
|
|
47575
|
+
}
|
|
47576
|
+
function hue2rgb(p, q, t) {
|
|
47577
|
+
if (t < 0) {
|
|
47578
|
+
t += 1;
|
|
47579
|
+
}
|
|
47580
|
+
if (t > 1) {
|
|
47581
|
+
t -= 1;
|
|
47582
|
+
}
|
|
47583
|
+
if (t < 1 / 6) {
|
|
47584
|
+
return p + (q - p) * (6 * t);
|
|
47585
|
+
}
|
|
47586
|
+
if (t < 1 / 2) {
|
|
47587
|
+
return q;
|
|
47588
|
+
}
|
|
47589
|
+
if (t < 2 / 3) {
|
|
47590
|
+
return p + (q - p) * (2 / 3 - t) * 6;
|
|
47591
|
+
}
|
|
47592
|
+
return p;
|
|
47593
|
+
}
|
|
47594
|
+
/**
|
|
47595
|
+
* Converts an HSL color value to RGB.
|
|
47596
|
+
*
|
|
47597
|
+
* *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
|
|
47598
|
+
* *Returns:* { r, g, b } in the set [0, 255]
|
|
47599
|
+
*/
|
|
47600
|
+
function hslToRgb(h, s, l) {
|
|
47601
|
+
var r;
|
|
47602
|
+
var g;
|
|
47603
|
+
var b;
|
|
47604
|
+
h = bound01(h, 360);
|
|
47605
|
+
s = bound01(s, 100);
|
|
47606
|
+
l = bound01(l, 100);
|
|
47607
|
+
if (s === 0) {
|
|
47608
|
+
// achromatic
|
|
47609
|
+
g = l;
|
|
47610
|
+
b = l;
|
|
47611
|
+
r = l;
|
|
47612
|
+
}
|
|
47613
|
+
else {
|
|
47614
|
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
|
47615
|
+
var p = 2 * l - q;
|
|
47616
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
|
47617
|
+
g = hue2rgb(p, q, h);
|
|
47618
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
|
47619
|
+
}
|
|
47620
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
|
47621
|
+
}
|
|
47622
|
+
/**
|
|
47623
|
+
* Converts an RGB color value to HSV
|
|
47624
|
+
*
|
|
47625
|
+
* *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
|
|
47626
|
+
* *Returns:* { h, s, v } in [0,1]
|
|
47627
|
+
*/
|
|
47628
|
+
function rgbToHsv(r, g, b) {
|
|
47629
|
+
r = bound01(r, 255);
|
|
47630
|
+
g = bound01(g, 255);
|
|
47631
|
+
b = bound01(b, 255);
|
|
47632
|
+
var max = Math.max(r, g, b);
|
|
47633
|
+
var min = Math.min(r, g, b);
|
|
47634
|
+
var h = 0;
|
|
47635
|
+
var v = max;
|
|
47636
|
+
var d = max - min;
|
|
47637
|
+
var s = max === 0 ? 0 : d / max;
|
|
47638
|
+
if (max === min) {
|
|
47639
|
+
h = 0; // achromatic
|
|
47640
|
+
}
|
|
47641
|
+
else {
|
|
47642
|
+
switch (max) {
|
|
47643
|
+
case r:
|
|
47644
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
47645
|
+
break;
|
|
47646
|
+
case g:
|
|
47647
|
+
h = (b - r) / d + 2;
|
|
47648
|
+
break;
|
|
47649
|
+
case b:
|
|
47650
|
+
h = (r - g) / d + 4;
|
|
47651
|
+
break;
|
|
47652
|
+
}
|
|
47653
|
+
h /= 6;
|
|
47654
|
+
}
|
|
47655
|
+
return { h: h, s: s, v: v };
|
|
47656
|
+
}
|
|
47657
|
+
/**
|
|
47658
|
+
* Converts an HSV color value to RGB.
|
|
47659
|
+
*
|
|
47660
|
+
* *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
|
|
47661
|
+
* *Returns:* { r, g, b } in the set [0, 255]
|
|
47662
|
+
*/
|
|
47663
|
+
function hsvToRgb(h, s, v) {
|
|
47664
|
+
h = bound01(h, 360) * 6;
|
|
47665
|
+
s = bound01(s, 100);
|
|
47666
|
+
v = bound01(v, 100);
|
|
47667
|
+
var i = Math.floor(h);
|
|
47668
|
+
var f = h - i;
|
|
47669
|
+
var p = v * (1 - s);
|
|
47670
|
+
var q = v * (1 - f * s);
|
|
47671
|
+
var t = v * (1 - (1 - f) * s);
|
|
47672
|
+
var mod = i % 6;
|
|
47673
|
+
var r = [v, q, p, p, t, v][mod];
|
|
47674
|
+
var g = [t, v, v, q, p, p][mod];
|
|
47675
|
+
var b = [p, p, t, v, v, q][mod];
|
|
47676
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
|
47677
|
+
}
|
|
47678
|
+
/**
|
|
47679
|
+
* Converts an RGB color to hex
|
|
47680
|
+
*
|
|
47681
|
+
* Assumes r, g, and b are contained in the set [0, 255]
|
|
47682
|
+
* Returns a 3 or 6 character hex
|
|
47683
|
+
*/
|
|
47684
|
+
function rgbToHex(r, g, b, allow3Char) {
|
|
47685
|
+
var hex = [
|
|
47686
|
+
pad2(Math.round(r).toString(16)),
|
|
47687
|
+
pad2(Math.round(g).toString(16)),
|
|
47688
|
+
pad2(Math.round(b).toString(16)),
|
|
47689
|
+
];
|
|
47690
|
+
// Return a 3 character hex if possible
|
|
47691
|
+
if (allow3Char &&
|
|
47692
|
+
hex[0].startsWith(hex[0].charAt(1)) &&
|
|
47693
|
+
hex[1].startsWith(hex[1].charAt(1)) &&
|
|
47694
|
+
hex[2].startsWith(hex[2].charAt(1))) {
|
|
47695
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
|
47696
|
+
}
|
|
47697
|
+
return hex.join('');
|
|
47698
|
+
}
|
|
47699
|
+
/** Converts a hex value to a decimal */
|
|
47700
|
+
function convertHexToDecimal(h) {
|
|
47701
|
+
return parseIntFromHex(h) / 255;
|
|
47702
|
+
}
|
|
47703
|
+
/** Parse a base-16 hex value into a base-10 integer */
|
|
47704
|
+
function parseIntFromHex(val) {
|
|
47705
|
+
return parseInt(val, 16);
|
|
47706
|
+
}
|
|
47707
|
+
|
|
47708
|
+
// https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json
|
|
47709
|
+
/**
|
|
47710
|
+
* @hidden
|
|
47711
|
+
*/
|
|
47712
|
+
var names = {
|
|
47713
|
+
aliceblue: '#f0f8ff',
|
|
47714
|
+
antiquewhite: '#faebd7',
|
|
47715
|
+
aqua: '#00ffff',
|
|
47716
|
+
aquamarine: '#7fffd4',
|
|
47717
|
+
azure: '#f0ffff',
|
|
47718
|
+
beige: '#f5f5dc',
|
|
47719
|
+
bisque: '#ffe4c4',
|
|
47720
|
+
black: '#000000',
|
|
47721
|
+
blanchedalmond: '#ffebcd',
|
|
47722
|
+
blue: '#0000ff',
|
|
47723
|
+
blueviolet: '#8a2be2',
|
|
47724
|
+
brown: '#a52a2a',
|
|
47725
|
+
burlywood: '#deb887',
|
|
47726
|
+
cadetblue: '#5f9ea0',
|
|
47727
|
+
chartreuse: '#7fff00',
|
|
47728
|
+
chocolate: '#d2691e',
|
|
47729
|
+
coral: '#ff7f50',
|
|
47730
|
+
cornflowerblue: '#6495ed',
|
|
47731
|
+
cornsilk: '#fff8dc',
|
|
47732
|
+
crimson: '#dc143c',
|
|
47733
|
+
cyan: '#00ffff',
|
|
47734
|
+
darkblue: '#00008b',
|
|
47735
|
+
darkcyan: '#008b8b',
|
|
47736
|
+
darkgoldenrod: '#b8860b',
|
|
47737
|
+
darkgray: '#a9a9a9',
|
|
47738
|
+
darkgreen: '#006400',
|
|
47739
|
+
darkgrey: '#a9a9a9',
|
|
47740
|
+
darkkhaki: '#bdb76b',
|
|
47741
|
+
darkmagenta: '#8b008b',
|
|
47742
|
+
darkolivegreen: '#556b2f',
|
|
47743
|
+
darkorange: '#ff8c00',
|
|
47744
|
+
darkorchid: '#9932cc',
|
|
47745
|
+
darkred: '#8b0000',
|
|
47746
|
+
darksalmon: '#e9967a',
|
|
47747
|
+
darkseagreen: '#8fbc8f',
|
|
47748
|
+
darkslateblue: '#483d8b',
|
|
47749
|
+
darkslategray: '#2f4f4f',
|
|
47750
|
+
darkslategrey: '#2f4f4f',
|
|
47751
|
+
darkturquoise: '#00ced1',
|
|
47752
|
+
darkviolet: '#9400d3',
|
|
47753
|
+
deeppink: '#ff1493',
|
|
47754
|
+
deepskyblue: '#00bfff',
|
|
47755
|
+
dimgray: '#696969',
|
|
47756
|
+
dimgrey: '#696969',
|
|
47757
|
+
dodgerblue: '#1e90ff',
|
|
47758
|
+
firebrick: '#b22222',
|
|
47759
|
+
floralwhite: '#fffaf0',
|
|
47760
|
+
forestgreen: '#228b22',
|
|
47761
|
+
fuchsia: '#ff00ff',
|
|
47762
|
+
gainsboro: '#dcdcdc',
|
|
47763
|
+
ghostwhite: '#f8f8ff',
|
|
47764
|
+
goldenrod: '#daa520',
|
|
47765
|
+
gold: '#ffd700',
|
|
47766
|
+
gray: '#808080',
|
|
47767
|
+
green: '#008000',
|
|
47768
|
+
greenyellow: '#adff2f',
|
|
47769
|
+
grey: '#808080',
|
|
47770
|
+
honeydew: '#f0fff0',
|
|
47771
|
+
hotpink: '#ff69b4',
|
|
47772
|
+
indianred: '#cd5c5c',
|
|
47773
|
+
indigo: '#4b0082',
|
|
47774
|
+
ivory: '#fffff0',
|
|
47775
|
+
khaki: '#f0e68c',
|
|
47776
|
+
lavenderblush: '#fff0f5',
|
|
47777
|
+
lavender: '#e6e6fa',
|
|
47778
|
+
lawngreen: '#7cfc00',
|
|
47779
|
+
lemonchiffon: '#fffacd',
|
|
47780
|
+
lightblue: '#add8e6',
|
|
47781
|
+
lightcoral: '#f08080',
|
|
47782
|
+
lightcyan: '#e0ffff',
|
|
47783
|
+
lightgoldenrodyellow: '#fafad2',
|
|
47784
|
+
lightgray: '#d3d3d3',
|
|
47785
|
+
lightgreen: '#90ee90',
|
|
47786
|
+
lightgrey: '#d3d3d3',
|
|
47787
|
+
lightpink: '#ffb6c1',
|
|
47788
|
+
lightsalmon: '#ffa07a',
|
|
47789
|
+
lightseagreen: '#20b2aa',
|
|
47790
|
+
lightskyblue: '#87cefa',
|
|
47791
|
+
lightslategray: '#778899',
|
|
47792
|
+
lightslategrey: '#778899',
|
|
47793
|
+
lightsteelblue: '#b0c4de',
|
|
47794
|
+
lightyellow: '#ffffe0',
|
|
47795
|
+
lime: '#00ff00',
|
|
47796
|
+
limegreen: '#32cd32',
|
|
47797
|
+
linen: '#faf0e6',
|
|
47798
|
+
magenta: '#ff00ff',
|
|
47799
|
+
maroon: '#800000',
|
|
47800
|
+
mediumaquamarine: '#66cdaa',
|
|
47801
|
+
mediumblue: '#0000cd',
|
|
47802
|
+
mediumorchid: '#ba55d3',
|
|
47803
|
+
mediumpurple: '#9370db',
|
|
47804
|
+
mediumseagreen: '#3cb371',
|
|
47805
|
+
mediumslateblue: '#7b68ee',
|
|
47806
|
+
mediumspringgreen: '#00fa9a',
|
|
47807
|
+
mediumturquoise: '#48d1cc',
|
|
47808
|
+
mediumvioletred: '#c71585',
|
|
47809
|
+
midnightblue: '#191970',
|
|
47810
|
+
mintcream: '#f5fffa',
|
|
47811
|
+
mistyrose: '#ffe4e1',
|
|
47812
|
+
moccasin: '#ffe4b5',
|
|
47813
|
+
navajowhite: '#ffdead',
|
|
47814
|
+
navy: '#000080',
|
|
47815
|
+
oldlace: '#fdf5e6',
|
|
47816
|
+
olive: '#808000',
|
|
47817
|
+
olivedrab: '#6b8e23',
|
|
47818
|
+
orange: '#ffa500',
|
|
47819
|
+
orangered: '#ff4500',
|
|
47820
|
+
orchid: '#da70d6',
|
|
47821
|
+
palegoldenrod: '#eee8aa',
|
|
47822
|
+
palegreen: '#98fb98',
|
|
47823
|
+
paleturquoise: '#afeeee',
|
|
47824
|
+
palevioletred: '#db7093',
|
|
47825
|
+
papayawhip: '#ffefd5',
|
|
47826
|
+
peachpuff: '#ffdab9',
|
|
47827
|
+
peru: '#cd853f',
|
|
47828
|
+
pink: '#ffc0cb',
|
|
47829
|
+
plum: '#dda0dd',
|
|
47830
|
+
powderblue: '#b0e0e6',
|
|
47831
|
+
purple: '#800080',
|
|
47832
|
+
rebeccapurple: '#663399',
|
|
47833
|
+
red: '#ff0000',
|
|
47834
|
+
rosybrown: '#bc8f8f',
|
|
47835
|
+
royalblue: '#4169e1',
|
|
47836
|
+
saddlebrown: '#8b4513',
|
|
47837
|
+
salmon: '#fa8072',
|
|
47838
|
+
sandybrown: '#f4a460',
|
|
47839
|
+
seagreen: '#2e8b57',
|
|
47840
|
+
seashell: '#fff5ee',
|
|
47841
|
+
sienna: '#a0522d',
|
|
47842
|
+
silver: '#c0c0c0',
|
|
47843
|
+
skyblue: '#87ceeb',
|
|
47844
|
+
slateblue: '#6a5acd',
|
|
47845
|
+
slategray: '#708090',
|
|
47846
|
+
slategrey: '#708090',
|
|
47847
|
+
snow: '#fffafa',
|
|
47848
|
+
springgreen: '#00ff7f',
|
|
47849
|
+
steelblue: '#4682b4',
|
|
47850
|
+
tan: '#d2b48c',
|
|
47851
|
+
teal: '#008080',
|
|
47852
|
+
thistle: '#d8bfd8',
|
|
47853
|
+
tomato: '#ff6347',
|
|
47854
|
+
turquoise: '#40e0d0',
|
|
47855
|
+
violet: '#ee82ee',
|
|
47856
|
+
wheat: '#f5deb3',
|
|
47857
|
+
white: '#ffffff',
|
|
47858
|
+
whitesmoke: '#f5f5f5',
|
|
47859
|
+
yellow: '#ffff00',
|
|
47860
|
+
yellowgreen: '#9acd32',
|
|
47861
|
+
};
|
|
47862
|
+
|
|
47863
|
+
/* eslint-disable @typescript-eslint/no-redundant-type-constituents */
|
|
47864
|
+
/**
|
|
47865
|
+
* Given a string or object, convert that input to RGB
|
|
47866
|
+
*
|
|
47867
|
+
* Possible string inputs:
|
|
47868
|
+
* ```
|
|
47869
|
+
* "red"
|
|
47870
|
+
* "#f00" or "f00"
|
|
47871
|
+
* "#ff0000" or "ff0000"
|
|
47872
|
+
* "#ff000000" or "ff000000"
|
|
47873
|
+
* "rgb 255 0 0" or "rgb (255, 0, 0)"
|
|
47874
|
+
* "rgb 1.0 0 0" or "rgb (1, 0, 0)"
|
|
47875
|
+
* "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
|
|
47876
|
+
* "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
|
|
47877
|
+
* "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
|
|
47878
|
+
* "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
|
|
47879
|
+
* "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
|
|
47880
|
+
* ```
|
|
47881
|
+
*/
|
|
47882
|
+
function inputToRGB(color) {
|
|
47883
|
+
var rgb = { r: 0, g: 0, b: 0 };
|
|
47884
|
+
var a = 1;
|
|
47885
|
+
var s = null;
|
|
47886
|
+
var v = null;
|
|
47887
|
+
var l = null;
|
|
47888
|
+
var ok = false;
|
|
47889
|
+
var format = false;
|
|
47890
|
+
if (typeof color === 'string') {
|
|
47891
|
+
color = stringInputToObject(color);
|
|
47892
|
+
}
|
|
47893
|
+
if (typeof color === 'object') {
|
|
47894
|
+
if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
|
|
47895
|
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
|
47896
|
+
ok = true;
|
|
47897
|
+
format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';
|
|
47898
|
+
}
|
|
47899
|
+
else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
|
|
47900
|
+
s = convertToPercentage(color.s);
|
|
47901
|
+
v = convertToPercentage(color.v);
|
|
47902
|
+
rgb = hsvToRgb(color.h, s, v);
|
|
47903
|
+
ok = true;
|
|
47904
|
+
format = 'hsv';
|
|
47905
|
+
}
|
|
47906
|
+
else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
|
|
47907
|
+
s = convertToPercentage(color.s);
|
|
47908
|
+
l = convertToPercentage(color.l);
|
|
47909
|
+
rgb = hslToRgb(color.h, s, l);
|
|
47910
|
+
ok = true;
|
|
47911
|
+
format = 'hsl';
|
|
47912
|
+
}
|
|
47913
|
+
if (Object.prototype.hasOwnProperty.call(color, 'a')) {
|
|
47914
|
+
a = color.a;
|
|
47915
|
+
}
|
|
47916
|
+
}
|
|
47917
|
+
a = boundAlpha(a);
|
|
47918
|
+
return {
|
|
47919
|
+
ok: ok,
|
|
47920
|
+
format: color.format || format,
|
|
47921
|
+
r: Math.min(255, Math.max(rgb.r, 0)),
|
|
47922
|
+
g: Math.min(255, Math.max(rgb.g, 0)),
|
|
47923
|
+
b: Math.min(255, Math.max(rgb.b, 0)),
|
|
47924
|
+
a: a,
|
|
47925
|
+
};
|
|
47926
|
+
}
|
|
47927
|
+
// <http://www.w3.org/TR/css3-values/#integers>
|
|
47928
|
+
var CSS_INTEGER = '[-\\+]?\\d+%?';
|
|
47929
|
+
// <http://www.w3.org/TR/css3-values/#number-value>
|
|
47930
|
+
var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
|
|
47931
|
+
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
|
47932
|
+
var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
|
|
47933
|
+
// Actual matching.
|
|
47934
|
+
// Parentheses and commas are optional, but not required.
|
|
47935
|
+
// Whitespace can take the place of commas or opening paren
|
|
47936
|
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
|
|
47937
|
+
var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
|
|
47938
|
+
var matchers = {
|
|
47939
|
+
CSS_UNIT: new RegExp(CSS_UNIT),
|
|
47940
|
+
rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
|
|
47941
|
+
rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),
|
|
47942
|
+
hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),
|
|
47943
|
+
hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),
|
|
47944
|
+
hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),
|
|
47945
|
+
hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),
|
|
47946
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
47947
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
|
47948
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
47949
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
|
47950
|
+
};
|
|
47951
|
+
/**
|
|
47952
|
+
* Permissive string parsing. Take in a number of formats, and output an object
|
|
47953
|
+
* based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
|
|
47954
|
+
*/
|
|
47955
|
+
function stringInputToObject(color) {
|
|
47956
|
+
color = color.trim().toLowerCase();
|
|
47957
|
+
if (color.length === 0) {
|
|
47958
|
+
return false;
|
|
47959
|
+
}
|
|
47960
|
+
var named = false;
|
|
47961
|
+
if (names[color]) {
|
|
47962
|
+
color = names[color];
|
|
47963
|
+
named = true;
|
|
47964
|
+
}
|
|
47965
|
+
else if (color === 'transparent') {
|
|
47966
|
+
return { r: 0, g: 0, b: 0, a: 0, format: 'name' };
|
|
47967
|
+
}
|
|
47968
|
+
// Try to match string input using regular expressions.
|
|
47969
|
+
// Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
|
|
47970
|
+
// Just return an object and let the conversion functions handle that.
|
|
47971
|
+
// This way the result will be the same whether the tinycolor is initialized with string or object.
|
|
47972
|
+
var match = matchers.rgb.exec(color);
|
|
47973
|
+
if (match) {
|
|
47974
|
+
return { r: match[1], g: match[2], b: match[3] };
|
|
47975
|
+
}
|
|
47976
|
+
match = matchers.rgba.exec(color);
|
|
47977
|
+
if (match) {
|
|
47978
|
+
return { r: match[1], g: match[2], b: match[3], a: match[4] };
|
|
47979
|
+
}
|
|
47980
|
+
match = matchers.hsl.exec(color);
|
|
47981
|
+
if (match) {
|
|
47982
|
+
return { h: match[1], s: match[2], l: match[3] };
|
|
47983
|
+
}
|
|
47984
|
+
match = matchers.hsla.exec(color);
|
|
47985
|
+
if (match) {
|
|
47986
|
+
return { h: match[1], s: match[2], l: match[3], a: match[4] };
|
|
47987
|
+
}
|
|
47988
|
+
match = matchers.hsv.exec(color);
|
|
47989
|
+
if (match) {
|
|
47990
|
+
return { h: match[1], s: match[2], v: match[3] };
|
|
47991
|
+
}
|
|
47992
|
+
match = matchers.hsva.exec(color);
|
|
47993
|
+
if (match) {
|
|
47994
|
+
return { h: match[1], s: match[2], v: match[3], a: match[4] };
|
|
47995
|
+
}
|
|
47996
|
+
match = matchers.hex8.exec(color);
|
|
47997
|
+
if (match) {
|
|
47998
|
+
return {
|
|
47999
|
+
r: parseIntFromHex(match[1]),
|
|
48000
|
+
g: parseIntFromHex(match[2]),
|
|
48001
|
+
b: parseIntFromHex(match[3]),
|
|
48002
|
+
a: convertHexToDecimal(match[4]),
|
|
48003
|
+
format: named ? 'name' : 'hex8',
|
|
48004
|
+
};
|
|
48005
|
+
}
|
|
48006
|
+
match = matchers.hex6.exec(color);
|
|
48007
|
+
if (match) {
|
|
48008
|
+
return {
|
|
48009
|
+
r: parseIntFromHex(match[1]),
|
|
48010
|
+
g: parseIntFromHex(match[2]),
|
|
48011
|
+
b: parseIntFromHex(match[3]),
|
|
48012
|
+
format: named ? 'name' : 'hex',
|
|
48013
|
+
};
|
|
48014
|
+
}
|
|
48015
|
+
match = matchers.hex4.exec(color);
|
|
48016
|
+
if (match) {
|
|
48017
|
+
return {
|
|
48018
|
+
r: parseIntFromHex(match[1] + match[1]),
|
|
48019
|
+
g: parseIntFromHex(match[2] + match[2]),
|
|
48020
|
+
b: parseIntFromHex(match[3] + match[3]),
|
|
48021
|
+
a: convertHexToDecimal(match[4] + match[4]),
|
|
48022
|
+
format: named ? 'name' : 'hex8',
|
|
48023
|
+
};
|
|
48024
|
+
}
|
|
48025
|
+
match = matchers.hex3.exec(color);
|
|
48026
|
+
if (match) {
|
|
48027
|
+
return {
|
|
48028
|
+
r: parseIntFromHex(match[1] + match[1]),
|
|
48029
|
+
g: parseIntFromHex(match[2] + match[2]),
|
|
48030
|
+
b: parseIntFromHex(match[3] + match[3]),
|
|
48031
|
+
format: named ? 'name' : 'hex',
|
|
48032
|
+
};
|
|
48033
|
+
}
|
|
48034
|
+
return false;
|
|
48035
|
+
}
|
|
48036
|
+
/**
|
|
48037
|
+
* Check to see if it looks like a CSS unit
|
|
48038
|
+
* (see `matchers` above for definition).
|
|
48039
|
+
*/
|
|
48040
|
+
function isValidCSSUnit(color) {
|
|
48041
|
+
return Boolean(matchers.CSS_UNIT.exec(String(color)));
|
|
48042
|
+
}
|
|
48043
|
+
|
|
48044
|
+
var hueStep = 2; // 色相阶梯
|
|
48045
|
+
|
|
48046
|
+
var saturationStep = 0.16; // 饱和度阶梯,浅色部分
|
|
48047
|
+
|
|
48048
|
+
var saturationStep2 = 0.05; // 饱和度阶梯,深色部分
|
|
48049
|
+
|
|
48050
|
+
var brightnessStep1 = 0.05; // 亮度阶梯,浅色部分
|
|
48051
|
+
|
|
48052
|
+
var brightnessStep2 = 0.15; // 亮度阶梯,深色部分
|
|
48053
|
+
|
|
48054
|
+
var lightColorCount = 5; // 浅色数量,主色上
|
|
48055
|
+
|
|
48056
|
+
var darkColorCount = 4; // 深色数量,主色下
|
|
48057
|
+
// 暗色主题颜色映射关系表
|
|
48058
|
+
|
|
48059
|
+
var darkColorMap = [{
|
|
48060
|
+
index: 7,
|
|
48061
|
+
opacity: 0.15
|
|
48062
|
+
}, {
|
|
48063
|
+
index: 6,
|
|
48064
|
+
opacity: 0.25
|
|
48065
|
+
}, {
|
|
48066
|
+
index: 5,
|
|
48067
|
+
opacity: 0.3
|
|
48068
|
+
}, {
|
|
48069
|
+
index: 5,
|
|
48070
|
+
opacity: 0.45
|
|
48071
|
+
}, {
|
|
48072
|
+
index: 5,
|
|
48073
|
+
opacity: 0.65
|
|
48074
|
+
}, {
|
|
48075
|
+
index: 5,
|
|
48076
|
+
opacity: 0.85
|
|
48077
|
+
}, {
|
|
48078
|
+
index: 4,
|
|
48079
|
+
opacity: 0.9
|
|
48080
|
+
}, {
|
|
48081
|
+
index: 3,
|
|
48082
|
+
opacity: 0.95
|
|
48083
|
+
}, {
|
|
48084
|
+
index: 2,
|
|
48085
|
+
opacity: 0.97
|
|
48086
|
+
}, {
|
|
48087
|
+
index: 1,
|
|
48088
|
+
opacity: 0.98
|
|
48089
|
+
}];
|
|
48090
|
+
|
|
48091
|
+
// Wrapper function ported from TinyColor.prototype.toHsv
|
|
48092
|
+
// Keep it here because of `hsv.h * 360`
|
|
48093
|
+
function toHsv(_ref) {
|
|
48094
|
+
var r = _ref.r,
|
|
48095
|
+
g = _ref.g,
|
|
48096
|
+
b = _ref.b;
|
|
48097
|
+
var hsv = rgbToHsv(r, g, b);
|
|
48098
|
+
return {
|
|
48099
|
+
h: hsv.h * 360,
|
|
48100
|
+
s: hsv.s,
|
|
48101
|
+
v: hsv.v
|
|
48102
|
+
};
|
|
48103
|
+
} // Wrapper function ported from TinyColor.prototype.toHexString
|
|
48104
|
+
// Keep it here because of the prefix `#`
|
|
48105
|
+
|
|
48106
|
+
|
|
48107
|
+
function toHex(_ref2) {
|
|
48108
|
+
var r = _ref2.r,
|
|
48109
|
+
g = _ref2.g,
|
|
48110
|
+
b = _ref2.b;
|
|
48111
|
+
return "#".concat(rgbToHex(r, g, b, false));
|
|
48112
|
+
} // Wrapper function ported from TinyColor.prototype.mix, not treeshakable.
|
|
48113
|
+
// Amount in range [0, 1]
|
|
48114
|
+
// Assume color1 & color2 has no alpha, since the following src code did so.
|
|
48115
|
+
|
|
48116
|
+
|
|
48117
|
+
function mix(rgb1, rgb2, amount) {
|
|
48118
|
+
var p = amount / 100;
|
|
48119
|
+
var rgb = {
|
|
48120
|
+
r: (rgb2.r - rgb1.r) * p + rgb1.r,
|
|
48121
|
+
g: (rgb2.g - rgb1.g) * p + rgb1.g,
|
|
48122
|
+
b: (rgb2.b - rgb1.b) * p + rgb1.b
|
|
48123
|
+
};
|
|
48124
|
+
return rgb;
|
|
48125
|
+
}
|
|
48126
|
+
|
|
48127
|
+
function getHue(hsv, i, light) {
|
|
48128
|
+
var hue; // 根据色相不同,色相转向不同
|
|
48129
|
+
|
|
48130
|
+
if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {
|
|
48131
|
+
hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;
|
|
48132
|
+
} else {
|
|
48133
|
+
hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;
|
|
48134
|
+
}
|
|
48135
|
+
|
|
48136
|
+
if (hue < 0) {
|
|
48137
|
+
hue += 360;
|
|
48138
|
+
} else if (hue >= 360) {
|
|
48139
|
+
hue -= 360;
|
|
48140
|
+
}
|
|
48141
|
+
|
|
48142
|
+
return hue;
|
|
48143
|
+
}
|
|
48144
|
+
|
|
48145
|
+
function getSaturation(hsv, i, light) {
|
|
48146
|
+
// grey color don't change saturation
|
|
48147
|
+
if (hsv.h === 0 && hsv.s === 0) {
|
|
48148
|
+
return hsv.s;
|
|
48149
|
+
}
|
|
48150
|
+
|
|
48151
|
+
var saturation;
|
|
48152
|
+
|
|
48153
|
+
if (light) {
|
|
48154
|
+
saturation = hsv.s - saturationStep * i;
|
|
48155
|
+
} else if (i === darkColorCount) {
|
|
48156
|
+
saturation = hsv.s + saturationStep;
|
|
48157
|
+
} else {
|
|
48158
|
+
saturation = hsv.s + saturationStep2 * i;
|
|
48159
|
+
} // 边界值修正
|
|
48160
|
+
|
|
48161
|
+
|
|
48162
|
+
if (saturation > 1) {
|
|
48163
|
+
saturation = 1;
|
|
48164
|
+
} // 第一格的 s 限制在 0.06-0.1 之间
|
|
48165
|
+
|
|
48166
|
+
|
|
48167
|
+
if (light && i === lightColorCount && saturation > 0.1) {
|
|
48168
|
+
saturation = 0.1;
|
|
48169
|
+
}
|
|
48170
|
+
|
|
48171
|
+
if (saturation < 0.06) {
|
|
48172
|
+
saturation = 0.06;
|
|
48173
|
+
}
|
|
48174
|
+
|
|
48175
|
+
return Number(saturation.toFixed(2));
|
|
48176
|
+
}
|
|
48177
|
+
|
|
48178
|
+
function getValue(hsv, i, light) {
|
|
48179
|
+
var value;
|
|
48180
|
+
|
|
48181
|
+
if (light) {
|
|
48182
|
+
value = hsv.v + brightnessStep1 * i;
|
|
48183
|
+
} else {
|
|
48184
|
+
value = hsv.v - brightnessStep2 * i;
|
|
48185
|
+
}
|
|
48186
|
+
|
|
48187
|
+
if (value > 1) {
|
|
48188
|
+
value = 1;
|
|
48189
|
+
}
|
|
48190
|
+
|
|
48191
|
+
return Number(value.toFixed(2));
|
|
48192
|
+
}
|
|
48193
|
+
|
|
48194
|
+
function generate$1(color) {
|
|
48195
|
+
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
48196
|
+
var patterns = [];
|
|
48197
|
+
var pColor = inputToRGB(color);
|
|
48198
|
+
|
|
48199
|
+
for (var i = lightColorCount; i > 0; i -= 1) {
|
|
48200
|
+
var hsv = toHsv(pColor);
|
|
48201
|
+
var colorString = toHex(inputToRGB({
|
|
48202
|
+
h: getHue(hsv, i, true),
|
|
48203
|
+
s: getSaturation(hsv, i, true),
|
|
48204
|
+
v: getValue(hsv, i, true)
|
|
48205
|
+
}));
|
|
48206
|
+
patterns.push(colorString);
|
|
48207
|
+
}
|
|
48208
|
+
|
|
48209
|
+
patterns.push(toHex(pColor));
|
|
48210
|
+
|
|
48211
|
+
for (var _i = 1; _i <= darkColorCount; _i += 1) {
|
|
48212
|
+
var _hsv = toHsv(pColor);
|
|
48213
|
+
|
|
48214
|
+
var _colorString = toHex(inputToRGB({
|
|
48215
|
+
h: getHue(_hsv, _i),
|
|
48216
|
+
s: getSaturation(_hsv, _i),
|
|
48217
|
+
v: getValue(_hsv, _i)
|
|
48218
|
+
}));
|
|
48219
|
+
|
|
48220
|
+
patterns.push(_colorString);
|
|
48221
|
+
} // dark theme patterns
|
|
48222
|
+
|
|
48223
|
+
|
|
48224
|
+
if (opts.theme === 'dark') {
|
|
48225
|
+
return darkColorMap.map(function (_ref3) {
|
|
48226
|
+
var index = _ref3.index,
|
|
48227
|
+
opacity = _ref3.opacity;
|
|
48228
|
+
var darkColorString = toHex(mix(inputToRGB(opts.backgroundColor || '#141414'), inputToRGB(patterns[index]), opacity * 100));
|
|
48229
|
+
return darkColorString;
|
|
48230
|
+
});
|
|
48231
|
+
}
|
|
48232
|
+
|
|
48233
|
+
return patterns;
|
|
48234
|
+
}
|
|
48235
|
+
|
|
48236
|
+
var presetPrimaryColors = {
|
|
48237
|
+
red: '#F5222D',
|
|
48238
|
+
volcano: '#FA541C',
|
|
48239
|
+
orange: '#FA8C16',
|
|
48240
|
+
gold: '#FAAD14',
|
|
48241
|
+
yellow: '#FADB14',
|
|
48242
|
+
lime: '#A0D911',
|
|
48243
|
+
green: '#52C41A',
|
|
48244
|
+
cyan: '#13C2C2',
|
|
48245
|
+
blue: '#1677FF',
|
|
48246
|
+
geekblue: '#2F54EB',
|
|
48247
|
+
purple: '#722ED1',
|
|
48248
|
+
magenta: '#EB2F96',
|
|
48249
|
+
grey: '#666666'
|
|
48250
|
+
};
|
|
48251
|
+
var presetPalettes = {};
|
|
48252
|
+
var presetDarkPalettes = {};
|
|
48253
|
+
Object.keys(presetPrimaryColors).forEach(function (key) {
|
|
48254
|
+
presetPalettes[key] = generate$1(presetPrimaryColors[key]);
|
|
48255
|
+
presetPalettes[key].primary = presetPalettes[key][5]; // dark presetPalettes
|
|
48256
|
+
|
|
48257
|
+
presetDarkPalettes[key] = generate$1(presetPrimaryColors[key], {
|
|
48258
|
+
theme: 'dark',
|
|
48259
|
+
backgroundColor: '#141414'
|
|
48260
|
+
});
|
|
48261
|
+
presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
|
|
48262
|
+
});
|
|
48263
|
+
|
|
48264
|
+
/* eslint-disable no-console */
|
|
48265
|
+
var warned = {};
|
|
48266
|
+
function warning$1(valid, message) {
|
|
48267
|
+
// Support uglify
|
|
48268
|
+
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
48269
|
+
console.error("Warning: ".concat(message));
|
|
48270
|
+
}
|
|
48271
|
+
}
|
|
48272
|
+
function call(method, valid, message) {
|
|
48273
|
+
if (!valid && !warned[message]) {
|
|
48274
|
+
method(false, message);
|
|
48275
|
+
warned[message] = true;
|
|
48276
|
+
}
|
|
48277
|
+
}
|
|
48278
|
+
function warningOnce(valid, message) {
|
|
48279
|
+
call(warning$1, valid, message);
|
|
48280
|
+
}
|
|
48281
|
+
/* eslint-enable */
|
|
48282
|
+
|
|
48283
|
+
function canUseDom() {
|
|
48284
|
+
return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
48285
|
+
}
|
|
48286
|
+
|
|
48287
|
+
function contains(root, n) {
|
|
48288
|
+
if (!root) {
|
|
48289
|
+
return false;
|
|
48290
|
+
}
|
|
48291
|
+
// Use native if support
|
|
48292
|
+
if (root.contains) {
|
|
48293
|
+
return root.contains(n);
|
|
48294
|
+
}
|
|
48295
|
+
// `document.contains` not support with IE11
|
|
48296
|
+
var node = n;
|
|
48297
|
+
while (node) {
|
|
48298
|
+
if (node === root) {
|
|
48299
|
+
return true;
|
|
48300
|
+
}
|
|
48301
|
+
node = node.parentNode;
|
|
48302
|
+
}
|
|
48303
|
+
return false;
|
|
48304
|
+
}
|
|
48305
|
+
|
|
48306
|
+
var APPEND_ORDER = 'data-rc-order';
|
|
48307
|
+
var MARK_KEY = "rc-util-key";
|
|
48308
|
+
var containerCache = new Map();
|
|
48309
|
+
function getMark() {
|
|
48310
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
48311
|
+
mark = _ref.mark;
|
|
48312
|
+
if (mark) {
|
|
48313
|
+
return mark.startsWith('data-') ? mark : "data-".concat(mark);
|
|
48314
|
+
}
|
|
48315
|
+
return MARK_KEY;
|
|
48316
|
+
}
|
|
48317
|
+
function getContainer(option) {
|
|
48318
|
+
if (option.attachTo) {
|
|
48319
|
+
return option.attachTo;
|
|
48320
|
+
}
|
|
48321
|
+
var head = document.querySelector('head');
|
|
48322
|
+
return head || document.body;
|
|
48323
|
+
}
|
|
48324
|
+
function getOrder(prepend) {
|
|
48325
|
+
if (prepend === 'queue') {
|
|
48326
|
+
return 'prependQueue';
|
|
48327
|
+
}
|
|
48328
|
+
return prepend ? 'prepend' : 'append';
|
|
48329
|
+
}
|
|
48330
|
+
/**
|
|
48331
|
+
* Find style which inject by rc-util
|
|
48332
|
+
*/
|
|
48333
|
+
function findStyles(container) {
|
|
48334
|
+
return Array.from((containerCache.get(container) || container).children).filter(function (node) {
|
|
48335
|
+
return node.tagName === 'STYLE';
|
|
48336
|
+
});
|
|
48337
|
+
}
|
|
48338
|
+
function injectCSS(css) {
|
|
48339
|
+
var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
48340
|
+
if (!canUseDom()) {
|
|
48341
|
+
return null;
|
|
48342
|
+
}
|
|
48343
|
+
var csp = option.csp,
|
|
48344
|
+
prepend = option.prepend;
|
|
48345
|
+
var styleNode = document.createElement('style');
|
|
48346
|
+
styleNode.setAttribute(APPEND_ORDER, getOrder(prepend));
|
|
48347
|
+
if (csp === null || csp === void 0 ? void 0 : csp.nonce) {
|
|
48348
|
+
styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce;
|
|
48349
|
+
}
|
|
48350
|
+
styleNode.innerHTML = css;
|
|
48351
|
+
var container = getContainer(option);
|
|
48352
|
+
var firstChild = container.firstChild;
|
|
48353
|
+
if (prepend) {
|
|
48354
|
+
// If is queue `prepend`, it will prepend first style and then append rest style
|
|
48355
|
+
if (prepend === 'queue') {
|
|
48356
|
+
var existStyle = findStyles(container).filter(function (node) {
|
|
48357
|
+
return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER));
|
|
48358
|
+
});
|
|
48359
|
+
if (existStyle.length) {
|
|
48360
|
+
container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);
|
|
48361
|
+
return styleNode;
|
|
48362
|
+
}
|
|
48363
|
+
}
|
|
48364
|
+
// Use `insertBefore` as `prepend`
|
|
48365
|
+
container.insertBefore(styleNode, firstChild);
|
|
48366
|
+
} else {
|
|
48367
|
+
container.appendChild(styleNode);
|
|
48368
|
+
}
|
|
48369
|
+
return styleNode;
|
|
48370
|
+
}
|
|
48371
|
+
function findExistNode(key) {
|
|
48372
|
+
var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
48373
|
+
var container = getContainer(option);
|
|
48374
|
+
return findStyles(container).find(function (node) {
|
|
48375
|
+
return node.getAttribute(getMark(option)) === key;
|
|
48376
|
+
});
|
|
48377
|
+
}
|
|
48378
|
+
/**
|
|
48379
|
+
* qiankun will inject `appendChild` to insert into other
|
|
48380
|
+
*/
|
|
48381
|
+
function syncRealContainer(container, option) {
|
|
48382
|
+
var cachedRealContainer = containerCache.get(container);
|
|
48383
|
+
// Find real container when not cached or cached container removed
|
|
48384
|
+
if (!cachedRealContainer || !contains(document, cachedRealContainer)) {
|
|
48385
|
+
var placeholderStyle = injectCSS('', option);
|
|
48386
|
+
var parentNode = placeholderStyle.parentNode;
|
|
48387
|
+
containerCache.set(container, parentNode);
|
|
48388
|
+
container.removeChild(placeholderStyle);
|
|
48389
|
+
}
|
|
48390
|
+
}
|
|
48391
|
+
function updateCSS(css, key) {
|
|
48392
|
+
var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
48393
|
+
var container = getContainer(option);
|
|
48394
|
+
// Sync real parent
|
|
48395
|
+
syncRealContainer(container, option);
|
|
48396
|
+
var existNode = findExistNode(key, option);
|
|
48397
|
+
if (existNode) {
|
|
48398
|
+
var _option$csp, _option$csp2;
|
|
48399
|
+
if (((_option$csp = option.csp) === null || _option$csp === void 0 ? void 0 : _option$csp.nonce) && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) {
|
|
48400
|
+
var _option$csp3;
|
|
48401
|
+
existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce;
|
|
48402
|
+
}
|
|
48403
|
+
if (existNode.innerHTML !== css) {
|
|
48404
|
+
existNode.innerHTML = css;
|
|
48405
|
+
}
|
|
48406
|
+
return existNode;
|
|
48407
|
+
}
|
|
48408
|
+
var newNode = injectCSS(css, option);
|
|
48409
|
+
newNode.setAttribute(getMark(option), key);
|
|
48410
|
+
return newNode;
|
|
48411
|
+
}
|
|
48412
|
+
|
|
48413
|
+
function warning(valid, message) {
|
|
48414
|
+
warningOnce(valid, "[@ant-design/icons] ".concat(message));
|
|
48415
|
+
}
|
|
48416
|
+
function isIconDefinition(target) {
|
|
48417
|
+
return _typeof(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && (_typeof(target.icon) === 'object' || typeof target.icon === 'function');
|
|
48418
|
+
}
|
|
48419
|
+
function normalizeAttrs() {
|
|
48420
|
+
var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
48421
|
+
return Object.keys(attrs).reduce(function (acc, key) {
|
|
48422
|
+
var val = attrs[key];
|
|
48423
|
+
switch (key) {
|
|
48424
|
+
case 'class':
|
|
48425
|
+
acc.className = val;
|
|
48426
|
+
delete acc.class;
|
|
48427
|
+
break;
|
|
48428
|
+
default:
|
|
48429
|
+
acc[key] = val;
|
|
48430
|
+
}
|
|
48431
|
+
return acc;
|
|
48432
|
+
}, {});
|
|
48433
|
+
}
|
|
48434
|
+
function generate(node, key, rootProps) {
|
|
48435
|
+
if (!rootProps) {
|
|
48436
|
+
return /*#__PURE__*/React__default["default"].createElement(node.tag, _objectSpread2({
|
|
48437
|
+
key: key
|
|
48438
|
+
}, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) {
|
|
48439
|
+
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
48440
|
+
}));
|
|
48441
|
+
}
|
|
48442
|
+
return /*#__PURE__*/React__default["default"].createElement(node.tag, _objectSpread2(_objectSpread2({
|
|
48443
|
+
key: key
|
|
48444
|
+
}, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) {
|
|
48445
|
+
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
48446
|
+
}));
|
|
48447
|
+
}
|
|
48448
|
+
function getSecondaryColor(primaryColor) {
|
|
48449
|
+
// choose the second color
|
|
48450
|
+
return generate$1(primaryColor)[0];
|
|
48451
|
+
}
|
|
48452
|
+
function normalizeTwoToneColors(twoToneColor) {
|
|
48453
|
+
if (!twoToneColor) {
|
|
48454
|
+
return [];
|
|
48455
|
+
}
|
|
48456
|
+
return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor];
|
|
48457
|
+
}
|
|
48458
|
+
var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";
|
|
48459
|
+
var useInsertStyles = function useInsertStyles() {
|
|
48460
|
+
var styleStr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : iconStyles;
|
|
48461
|
+
var _useContext = React.useContext(Context),
|
|
48462
|
+
csp = _useContext.csp,
|
|
48463
|
+
prefixCls = _useContext.prefixCls;
|
|
48464
|
+
var mergedStyleStr = styleStr;
|
|
48465
|
+
if (prefixCls) {
|
|
48466
|
+
mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls);
|
|
48467
|
+
}
|
|
48468
|
+
React.useEffect(function () {
|
|
48469
|
+
updateCSS(mergedStyleStr, '@ant-design-icons', {
|
|
48470
|
+
prepend: true,
|
|
48471
|
+
csp: csp
|
|
48472
|
+
});
|
|
48473
|
+
}, []);
|
|
48474
|
+
};
|
|
48475
|
+
|
|
48476
|
+
var _excluded$1 = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"];
|
|
48477
|
+
var twoToneColorPalette = {
|
|
48478
|
+
primaryColor: '#333',
|
|
48479
|
+
secondaryColor: '#E6E6E6',
|
|
48480
|
+
calculated: false
|
|
48481
|
+
};
|
|
48482
|
+
function setTwoToneColors(_ref) {
|
|
48483
|
+
var primaryColor = _ref.primaryColor,
|
|
48484
|
+
secondaryColor = _ref.secondaryColor;
|
|
48485
|
+
twoToneColorPalette.primaryColor = primaryColor;
|
|
48486
|
+
twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor);
|
|
48487
|
+
twoToneColorPalette.calculated = !!secondaryColor;
|
|
48488
|
+
}
|
|
48489
|
+
function getTwoToneColors() {
|
|
48490
|
+
return _objectSpread2({}, twoToneColorPalette);
|
|
48491
|
+
}
|
|
48492
|
+
var IconBase = function IconBase(props) {
|
|
48493
|
+
var icon = props.icon,
|
|
48494
|
+
className = props.className,
|
|
48495
|
+
onClick = props.onClick,
|
|
48496
|
+
style = props.style,
|
|
48497
|
+
primaryColor = props.primaryColor,
|
|
48498
|
+
secondaryColor = props.secondaryColor,
|
|
48499
|
+
restProps = _objectWithoutProperties(props, _excluded$1);
|
|
48500
|
+
var colors = twoToneColorPalette;
|
|
48501
|
+
if (primaryColor) {
|
|
48502
|
+
colors = {
|
|
48503
|
+
primaryColor: primaryColor,
|
|
48504
|
+
secondaryColor: secondaryColor || getSecondaryColor(primaryColor)
|
|
48505
|
+
};
|
|
48506
|
+
}
|
|
48507
|
+
useInsertStyles();
|
|
48508
|
+
warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon));
|
|
48509
|
+
if (!isIconDefinition(icon)) {
|
|
48510
|
+
return null;
|
|
48511
|
+
}
|
|
48512
|
+
var target = icon;
|
|
48513
|
+
if (target && typeof target.icon === 'function') {
|
|
48514
|
+
target = _objectSpread2(_objectSpread2({}, target), {}, {
|
|
48515
|
+
icon: target.icon(colors.primaryColor, colors.secondaryColor)
|
|
48516
|
+
});
|
|
48517
|
+
}
|
|
48518
|
+
return generate(target.icon, "svg-".concat(target.name), _objectSpread2({
|
|
48519
|
+
className: className,
|
|
48520
|
+
onClick: onClick,
|
|
48521
|
+
style: style,
|
|
48522
|
+
'data-icon': target.name,
|
|
48523
|
+
width: '1em',
|
|
48524
|
+
height: '1em',
|
|
48525
|
+
fill: 'currentColor',
|
|
48526
|
+
'aria-hidden': 'true'
|
|
48527
|
+
}, restProps));
|
|
48528
|
+
};
|
|
48529
|
+
IconBase.displayName = 'IconReact';
|
|
48530
|
+
IconBase.getTwoToneColors = getTwoToneColors;
|
|
48531
|
+
IconBase.setTwoToneColors = setTwoToneColors;
|
|
48532
|
+
var ReactIcon = IconBase;
|
|
48533
|
+
|
|
48534
|
+
function setTwoToneColor(twoToneColor) {
|
|
48535
|
+
var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),
|
|
48536
|
+
_normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),
|
|
48537
|
+
primaryColor = _normalizeTwoToneColo2[0],
|
|
48538
|
+
secondaryColor = _normalizeTwoToneColo2[1];
|
|
48539
|
+
return ReactIcon.setTwoToneColors({
|
|
48540
|
+
primaryColor: primaryColor,
|
|
48541
|
+
secondaryColor: secondaryColor
|
|
48542
|
+
});
|
|
48543
|
+
}
|
|
48544
|
+
function getTwoToneColor() {
|
|
48545
|
+
var colors = ReactIcon.getTwoToneColors();
|
|
48546
|
+
if (!colors.calculated) {
|
|
48547
|
+
return colors.primaryColor;
|
|
48548
|
+
}
|
|
48549
|
+
return [colors.primaryColor, colors.secondaryColor];
|
|
48550
|
+
}
|
|
48551
|
+
|
|
48552
|
+
var _excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
48553
|
+
// Initial setting
|
|
48554
|
+
// should move it to antd main repo?
|
|
48555
|
+
setTwoToneColor('#1890ff');
|
|
48556
|
+
var Icon = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
48557
|
+
var _classNames;
|
|
48558
|
+
var className = props.className,
|
|
48559
|
+
icon = props.icon,
|
|
48560
|
+
spin = props.spin,
|
|
48561
|
+
rotate = props.rotate,
|
|
48562
|
+
tabIndex = props.tabIndex,
|
|
48563
|
+
onClick = props.onClick,
|
|
48564
|
+
twoToneColor = props.twoToneColor,
|
|
48565
|
+
restProps = _objectWithoutProperties(props, _excluded);
|
|
48566
|
+
var _React$useContext = React__namespace.useContext(Context),
|
|
48567
|
+
_React$useContext$pre = _React$useContext.prefixCls,
|
|
48568
|
+
prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre,
|
|
48569
|
+
rootClassName = _React$useContext.rootClassName;
|
|
48570
|
+
var classString = classnames(rootClassName, prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), _defineProperty(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className);
|
|
48571
|
+
var iconTabIndex = tabIndex;
|
|
48572
|
+
if (iconTabIndex === undefined && onClick) {
|
|
48573
|
+
iconTabIndex = -1;
|
|
48574
|
+
}
|
|
48575
|
+
var svgStyle = rotate ? {
|
|
48576
|
+
msTransform: "rotate(".concat(rotate, "deg)"),
|
|
48577
|
+
transform: "rotate(".concat(rotate, "deg)")
|
|
48578
|
+
} : undefined;
|
|
48579
|
+
var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),
|
|
48580
|
+
_normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),
|
|
48581
|
+
primaryColor = _normalizeTwoToneColo2[0],
|
|
48582
|
+
secondaryColor = _normalizeTwoToneColo2[1];
|
|
48583
|
+
return /*#__PURE__*/React__namespace.createElement("span", _objectSpread2(_objectSpread2({
|
|
48584
|
+
role: "img",
|
|
48585
|
+
"aria-label": icon.name
|
|
48586
|
+
}, restProps), {}, {
|
|
48587
|
+
ref: ref,
|
|
48588
|
+
tabIndex: iconTabIndex,
|
|
48589
|
+
onClick: onClick,
|
|
48590
|
+
className: classString
|
|
48591
|
+
}), /*#__PURE__*/React__namespace.createElement(ReactIcon, {
|
|
48592
|
+
icon: icon,
|
|
48593
|
+
primaryColor: primaryColor,
|
|
48594
|
+
secondaryColor: secondaryColor,
|
|
48595
|
+
style: svgStyle
|
|
48596
|
+
}));
|
|
48597
|
+
});
|
|
48598
|
+
Icon.displayName = 'AntdIcon';
|
|
48599
|
+
Icon.getTwoToneColor = getTwoToneColor;
|
|
48600
|
+
Icon.setTwoToneColor = setTwoToneColor;
|
|
48601
|
+
var AntdIcon = Icon;
|
|
48602
|
+
|
|
48603
|
+
// This icon file is generated automatically.
|
|
48604
|
+
var FolderOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" } }] }, "name": "folder", "theme": "outlined" };
|
|
48605
|
+
var FolderOutlinedSvg = FolderOutlined$2;
|
|
48606
|
+
|
|
48607
|
+
var FolderOutlined = function FolderOutlined(props, ref) {
|
|
48608
|
+
return /*#__PURE__*/React__namespace.createElement(AntdIcon, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
48609
|
+
ref: ref,
|
|
48610
|
+
icon: FolderOutlinedSvg
|
|
48611
|
+
}));
|
|
48612
|
+
};
|
|
48613
|
+
FolderOutlined.displayName = 'FolderOutlined';
|
|
48614
|
+
var FolderOutlined$1 = /*#__PURE__*/React__namespace.forwardRef(FolderOutlined);
|
|
48615
|
+
|
|
48616
|
+
// This icon file is generated automatically.
|
|
48617
|
+
var InfoCircleOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, "name": "info-circle", "theme": "outlined" };
|
|
48618
|
+
var InfoCircleOutlinedSvg = InfoCircleOutlined$2;
|
|
48619
|
+
|
|
48620
|
+
var InfoCircleOutlined = function InfoCircleOutlined(props, ref) {
|
|
48621
|
+
return /*#__PURE__*/React__namespace.createElement(AntdIcon, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
48622
|
+
ref: ref,
|
|
48623
|
+
icon: InfoCircleOutlinedSvg
|
|
48624
|
+
}));
|
|
48625
|
+
};
|
|
48626
|
+
InfoCircleOutlined.displayName = 'InfoCircleOutlined';
|
|
48627
|
+
var InfoCircleOutlined$1 = /*#__PURE__*/React__namespace.forwardRef(InfoCircleOutlined);
|
|
48628
|
+
|
|
48629
|
+
// This icon file is generated automatically.
|
|
48630
|
+
var LoadingOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, "name": "loading", "theme": "outlined" };
|
|
48631
|
+
var LoadingOutlinedSvg = LoadingOutlined$2;
|
|
48632
|
+
|
|
48633
|
+
var LoadingOutlined = function LoadingOutlined(props, ref) {
|
|
48634
|
+
return /*#__PURE__*/React__namespace.createElement(AntdIcon, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
48635
|
+
ref: ref,
|
|
48636
|
+
icon: LoadingOutlinedSvg
|
|
48637
|
+
}));
|
|
48638
|
+
};
|
|
48639
|
+
LoadingOutlined.displayName = 'LoadingOutlined';
|
|
48640
|
+
var LoadingOutlined$1 = /*#__PURE__*/React__namespace.forwardRef(LoadingOutlined);
|
|
48641
|
+
|
|
48642
|
+
// This icon file is generated automatically.
|
|
48643
|
+
var PartitionOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z" } }] }, "name": "partition", "theme": "outlined" };
|
|
48644
|
+
var PartitionOutlinedSvg = PartitionOutlined$2;
|
|
48645
|
+
|
|
48646
|
+
var PartitionOutlined = function PartitionOutlined(props, ref) {
|
|
48647
|
+
return /*#__PURE__*/React__namespace.createElement(AntdIcon, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
48648
|
+
ref: ref,
|
|
48649
|
+
icon: PartitionOutlinedSvg
|
|
48650
|
+
}));
|
|
48651
|
+
};
|
|
48652
|
+
PartitionOutlined.displayName = 'PartitionOutlined';
|
|
48653
|
+
var PartitionOutlined$1 = /*#__PURE__*/React__namespace.forwardRef(PartitionOutlined);
|
|
48654
|
+
|
|
47292
48655
|
dayjs_min.extend(duration);
|
|
47293
48656
|
dayjs_min.extend(utc);
|
|
47294
48657
|
var formatDuration = function (duration) {
|
|
@@ -47298,7 +48661,8 @@ var StudyCard = function (_a) {
|
|
|
47298
48661
|
var _b, _c, _d, _e;
|
|
47299
48662
|
var projectName = _a.projectName, projectOwner = _a.projectOwner, _study = _a.study; _a.canWrite; _a.runList; var style = _a.style, authUser = _a.authUser, client = _a.client; _a.showMenu; _a.onDelete;
|
|
47300
48663
|
var _j = useJobs(client); _j.cancelJob; _j.deleteJob; var fetchJob = _j.fetchJob;
|
|
47301
|
-
var _k =
|
|
48664
|
+
var _k = React.useState(false), open = _k[0], SetOpen = _k[1];
|
|
48665
|
+
var _l = useSWR(authUser && _study ? [projectOwner, projectName, _study.id] : undefined, fetchJob, {
|
|
47302
48666
|
revalidateOnFocus: false,
|
|
47303
48667
|
refreshInterval: !_study || _study.status.finished_at ? undefined : 5000,
|
|
47304
48668
|
fallbackData: _study,
|
|
@@ -47319,7 +48683,7 @@ var StudyCard = function (_a) {
|
|
|
47319
48683
|
})
|
|
47320
48684
|
.catch(function () { setSingleRun(undefined); });
|
|
47321
48685
|
}
|
|
47322
|
-
}), study =
|
|
48686
|
+
}), study = _l.data; _l.error; _l.isValidating;
|
|
47323
48687
|
var total = React.useMemo(function () {
|
|
47324
48688
|
if (!study)
|
|
47325
48689
|
return undefined;
|
|
@@ -47342,12 +48706,12 @@ var StudyCard = function (_a) {
|
|
|
47342
48706
|
}
|
|
47343
48707
|
return study.status.status.toLocaleLowerCase();
|
|
47344
48708
|
}, [study]);
|
|
47345
|
-
var
|
|
48709
|
+
var _m = React.useState(undefined), singleRun = _m[0], setSingleRun = _m[1];
|
|
47346
48710
|
/*
|
|
47347
48711
|
* Single run - Fetch run if just one
|
|
47348
48712
|
*/
|
|
47349
48713
|
var listRuns = useRuns(client).listRuns;
|
|
47350
|
-
var
|
|
48714
|
+
var _o = React.useState(getDuration(study)), duration = _o[0], setDuration = _o[1];
|
|
47351
48715
|
React.useEffect(function () {
|
|
47352
48716
|
if (!study)
|
|
47353
48717
|
return undefined;
|
|
@@ -47362,49 +48726,62 @@ var StudyCard = function (_a) {
|
|
|
47362
48726
|
}, [study]);
|
|
47363
48727
|
return (React__default["default"].createElement("div", { className: 'grid-container', style: __assign({ borderColor: (_c = (_b = statusMap[status]) === null || _b === void 0 ? void 0 : _b.color) !== null && _c !== void 0 ? _c : '#d0d7de' }, style) },
|
|
47364
48728
|
React__default["default"].createElement("div", { className: 'item1' },
|
|
47365
|
-
React__default["default"].createElement("
|
|
47366
|
-
React__default["default"].createElement(
|
|
47367
|
-
|
|
47368
|
-
|
|
47369
|
-
|
|
47370
|
-
|
|
47371
|
-
React__default["default"].createElement("div", { className: 'item3' },
|
|
47372
|
-
(study && total == 1) && singleRun &&
|
|
48729
|
+
React__default["default"].createElement("a", { className: 'link', style: { marginRight: '0.75rem' }, href: authUser && "/".concat(authUser.username) },
|
|
48730
|
+
React__default["default"].createElement(Avatar, { src: authUser ? authUser.picture : '', size: 32 })),
|
|
48731
|
+
React__default["default"].createElement("span", { style: { marginRight: '0.75rem' } }, "/"),
|
|
48732
|
+
React__default["default"].createElement("a", { className: 'link', href: projectName && "/".concat(projectOwner, "/projects/").concat(projectName) }, projectName !== null && projectName !== void 0 ? projectName : '--')),
|
|
48733
|
+
React__default["default"].createElement("div", { className: 'item2' },
|
|
48734
|
+
(study && total == 1) && singleRun ?
|
|
47373
48735
|
React__default["default"].createElement("div", null,
|
|
47374
|
-
React__default["default"].createElement("
|
|
47375
|
-
React__default["default"].createElement(
|
|
47376
|
-
|
|
48736
|
+
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' }, className: 'link', href: "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id, "/runs/").concat(singleRun.id) },
|
|
48737
|
+
React__default["default"].createElement(InfoCircleOutlined$1, null)),
|
|
48738
|
+
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' }, className: 'link', href: "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id, "/runs/").concat(singleRun.id, "/workspace?path=runs/").concat(singleRun.id) },
|
|
48739
|
+
React__default["default"].createElement(FolderOutlined$1, null)),
|
|
47377
48740
|
React__default["default"].createElement("a", { className: 'link', href: "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id, "/runs/").concat(singleRun.id, "/debug") },
|
|
47378
|
-
React__default["default"].createElement(
|
|
48741
|
+
React__default["default"].createElement(PartitionOutlined$1, null))) : React__default["default"].createElement(LoadingOutlined$1, null),
|
|
47379
48742
|
(study && total > 1) &&
|
|
47380
48743
|
React__default["default"].createElement("div", null,
|
|
47381
|
-
React__default["default"].createElement("
|
|
47382
|
-
React__default["default"].createElement(
|
|
47383
|
-
|
|
47384
|
-
|
|
48744
|
+
React__default["default"].createElement("a", { className: 'link', href: "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id, "/workspace") },
|
|
48745
|
+
React__default["default"].createElement(FolderOutlined$1, null)))),
|
|
48746
|
+
React__default["default"].createElement("div", { className: 'item3' },
|
|
48747
|
+
React__default["default"].createElement("div", null,
|
|
48748
|
+
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' }, className: 'link', href: study && "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id) }, study ? (_d = study.spec.name) !== null && _d !== void 0 ? _d : "Study: ".concat(study.id) : '--'),
|
|
48749
|
+
singleRun &&
|
|
48750
|
+
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' }, className: 'link', href: study && "/".concat(projectOwner, "/projects/").concat(projectName, "/studies/").concat(study.id, "/runs/").concat(singleRun.id) }, "(#".concat(singleRun.generation, ")")))),
|
|
48751
|
+
React__default["default"].createElement("div", { className: 'item4' }, study ? dayjs_min(study.status.started_at).format('[on] ddd[,] MMMM DD[,] YYYY') : '--'),
|
|
48752
|
+
React__default["default"].createElement("div", { className: 'item5' },
|
|
47385
48753
|
React__default["default"].createElement("span", { style: { marginRight: '0.75rem' } },
|
|
47386
48754
|
React__default["default"].createElement(Avatar, { src: study ? study.author.picture_url : '', size: 32 })),
|
|
47387
|
-
React__default["default"].createElement("a", { href: study ? "/".concat(study.author.name) : '', target: '_blank', rel: "noreferrer" }, study ? ((_e = study.author.display_name) !== null && _e !== void 0 ? _e : study.author.name) : '--')),
|
|
47388
|
-
React__default["default"].createElement("div", { className: '
|
|
48755
|
+
React__default["default"].createElement("a", { className: 'link', href: study ? "/".concat(study.author.name) : '', target: '_blank', rel: "noreferrer" }, study ? ((_e = study.author.display_name) !== null && _e !== void 0 ? _e : study.author.name) : '--')),
|
|
48756
|
+
React__default["default"].createElement("div", { className: 'item6' },
|
|
47389
48757
|
React__default["default"].createElement("span", { style: { marginRight: '0.75rem' } },
|
|
47390
48758
|
React__default["default"].createElement(Avatar, { src: study ? study.recipe.metadata.icon : '', size: 32 })),
|
|
47391
|
-
React__default["default"].createElement("a", { href: study ? recipeLinkFromSource(study.recipe.source) : '', target: '_blank', rel: "noreferrer" }, study ? study.recipe.metadata.name : '--'),
|
|
47392
|
-
study && React__default["default"].createElement("span", { className: 'light-text' },
|
|
47393
|
-
|
|
47394
|
-
|
|
47395
|
-
|
|
47396
|
-
React__default["default"].createElement("
|
|
47397
|
-
|
|
47398
|
-
|
|
47399
|
-
(
|
|
47400
|
-
|
|
47401
|
-
|
|
47402
|
-
|
|
47403
|
-
|
|
47404
|
-
|
|
47405
|
-
|
|
47406
|
-
|
|
47407
|
-
|
|
48759
|
+
React__default["default"].createElement("a", { className: 'link', href: study ? recipeLinkFromSource(study.recipe.source) : '', target: '_blank', rel: "noreferrer" }, study ? study.recipe.metadata.name : '--'),
|
|
48760
|
+
study && React__default["default"].createElement("span", { className: 'light-text' },
|
|
48761
|
+
" ",
|
|
48762
|
+
study.recipe.metadata.tag)),
|
|
48763
|
+
open && React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
48764
|
+
React__default["default"].createElement("div", { className: 'item7' }, study ? study.spec.description : '--'),
|
|
48765
|
+
React__default["default"].createElement("div", { className: 'item8' },
|
|
48766
|
+
React__default["default"].createElement("span", { className: 'status-label', style: { marginRight: '0.75rem' } }, study ? status.toUpperCase() : '--'),
|
|
48767
|
+
React__default["default"].createElement("span", { className: 'light-text' },
|
|
48768
|
+
(study && total == 1) && singleRun &&
|
|
48769
|
+
"".concat(singleRun.meta.progress.completed, " / ").concat(singleRun.meta.progress.total, " STEPS"),
|
|
48770
|
+
(study && total > 1) &&
|
|
48771
|
+
"".concat(study.status.runs_completed, " / ").concat(total, " RUNS"))),
|
|
48772
|
+
React__default["default"].createElement("div", { className: 'item9' },
|
|
48773
|
+
React__default["default"].createElement("div", { style: { marginBottom: '0.5rem' } },
|
|
48774
|
+
React__default["default"].createElement(Cpu$1, { size: 24, style: { marginRight: '0.75rem' } }),
|
|
48775
|
+
React__default["default"].createElement("span", { className: 'light-text' }, study ? "".concat(formatDuration(dayjs_min.duration(study.resources_duration.cpu, 'seconds'))) : '--')),
|
|
48776
|
+
React__default["default"].createElement("div", null,
|
|
48777
|
+
React__default["default"].createElement(Clock$1, { size: 24, style: { marginRight: '0.75rem' } }),
|
|
48778
|
+
React__default["default"].createElement("span", { className: 'light-text' }, study ? "".concat(formatDuration(duration)) : '--')))),
|
|
48779
|
+
React__default["default"].createElement("div", { className: 'item10' },
|
|
48780
|
+
React__default["default"].createElement("a", { className: 'link', onClick: function () { return SetOpen(function (state) { return !state; }); } },
|
|
48781
|
+
!open && React__default["default"].createElement(ChevronCompactDown$1, { size: 16 }),
|
|
48782
|
+
!open && ' See More...',
|
|
48783
|
+
open && React__default["default"].createElement(ChevronCompactUp$1, { size: 16 }),
|
|
48784
|
+
open && ' See Less...'))));
|
|
47408
48785
|
};
|
|
47409
48786
|
|
|
47410
48787
|
exports.APIClient = APIClient;
|