pollination-react-io 1.79.1 → 1.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.esm.js +326 -219
- package/build/index.esm.js.map +1 -1
- package/build/index.js +326 -219
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -3,8 +3,8 @@ import React__default, { createContext, useMemo, createElement, useContext, useR
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
4
4
|
import ReactDOM__default, { flushSync } from 'react-dom';
|
5
5
|
|
6
|
-
function _extends$
|
7
|
-
_extends$
|
6
|
+
function _extends$L() {
|
7
|
+
_extends$L = Object.assign ? Object.assign.bind() : function (target) {
|
8
8
|
for (var i = 1; i < arguments.length; i++) {
|
9
9
|
var source = arguments[i];
|
10
10
|
for (var key in source) {
|
@@ -15,7 +15,7 @@ function _extends$K() {
|
|
15
15
|
}
|
16
16
|
return target;
|
17
17
|
};
|
18
|
-
return _extends$
|
18
|
+
return _extends$L.apply(this, arguments);
|
19
19
|
}
|
20
20
|
|
21
21
|
function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) {
|
@@ -201,11 +201,11 @@ function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultCon
|
|
201
201
|
return /*#__PURE__*/ isValidElement(newElement) ? newElement.props.children : null;
|
202
202
|
} else return child;
|
203
203
|
});
|
204
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$
|
204
|
+
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$L({}, slotProps, {
|
205
205
|
ref: forwardedRef
|
206
206
|
}), /*#__PURE__*/ isValidElement(newElement) ? /*#__PURE__*/ cloneElement(newElement, undefined, newChildren) : null);
|
207
207
|
}
|
208
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$
|
208
|
+
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends$L({}, slotProps, {
|
209
209
|
ref: forwardedRef
|
210
210
|
}), children);
|
211
211
|
});
|
@@ -283,7 +283,7 @@ const $8927f6f2acc4f386$var$NODES = [
|
|
283
283
|
useEffect(()=>{
|
284
284
|
window[Symbol.for('radix-ui')] = true;
|
285
285
|
}, []);
|
286
|
-
return /*#__PURE__*/ createElement(Comp, _extends$
|
286
|
+
return /*#__PURE__*/ createElement(Comp, _extends$L({}, primitiveProps, {
|
287
287
|
ref: forwardedRef
|
288
288
|
}));
|
289
289
|
});
|
@@ -347,7 +347,7 @@ const $cddcb0b647441e34$export$e2255cf6045e8d47 = /*#__PURE__*/ forwardRef((prop
|
|
347
347
|
scope: __scopeAvatar,
|
348
348
|
imageLoadingStatus: imageLoadingStatus,
|
349
349
|
onImageLoadingStatusChange: setImageLoadingStatus
|
350
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$
|
350
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$L({}, avatarProps, {
|
351
351
|
ref: forwardedRef
|
352
352
|
})));
|
353
353
|
});
|
@@ -368,7 +368,7 @@ const $cddcb0b647441e34$export$2cd8ae1985206fe8 = /*#__PURE__*/ forwardRef((prop
|
|
368
368
|
imageLoadingStatus,
|
369
369
|
handleLoadingStatusChange
|
370
370
|
]);
|
371
|
-
return imageLoadingStatus === 'loaded' ? /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.img, _extends$
|
371
|
+
return imageLoadingStatus === 'loaded' ? /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.img, _extends$L({}, imageProps, {
|
372
372
|
ref: forwardedRef,
|
373
373
|
src: src
|
374
374
|
})) : null;
|
@@ -390,7 +390,7 @@ const $cddcb0b647441e34$export$69fffb6a9571fbfe = /*#__PURE__*/ forwardRef((prop
|
|
390
390
|
}, [
|
391
391
|
delayMs
|
392
392
|
]);
|
393
|
-
return canRender && context.imageLoadingStatus !== 'loaded' ? /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$
|
393
|
+
return canRender && context.imageLoadingStatus !== 'loaded' ? /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$L({}, fallbackProps, {
|
394
394
|
ref: forwardedRef
|
395
395
|
})) : null;
|
396
396
|
});
|
@@ -1795,20 +1795,20 @@ if (process.env.NODE_ENV !== 'production') {
|
|
1795
1795
|
|
1796
1796
|
var PropTypes = propTypes$5;
|
1797
1797
|
|
1798
|
-
var _excluded$
|
1798
|
+
var _excluded$P = ["color", "size", "title"];
|
1799
1799
|
|
1800
|
-
function _extends$
|
1800
|
+
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); }
|
1801
1801
|
|
1802
|
-
function _objectWithoutProperties$
|
1802
|
+
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; }
|
1803
1803
|
|
1804
|
-
function _objectWithoutPropertiesLoose$
|
1804
|
+
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; }
|
1805
1805
|
var ArrowClockwise = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
1806
1806
|
var color = _ref.color,
|
1807
1807
|
size = _ref.size,
|
1808
1808
|
title = _ref.title,
|
1809
|
-
rest = _objectWithoutProperties$
|
1809
|
+
rest = _objectWithoutProperties$G(_ref, _excluded$P);
|
1810
1810
|
|
1811
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
1811
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$K({
|
1812
1812
|
ref: ref,
|
1813
1813
|
xmlns: "http://www.w3.org/2000/svg",
|
1814
1814
|
viewBox: "0 0 16 16",
|
@@ -1834,20 +1834,20 @@ ArrowClockwise.defaultProps = {
|
|
1834
1834
|
};
|
1835
1835
|
var ArrowClockwise$1 = ArrowClockwise;
|
1836
1836
|
|
1837
|
-
var _excluded$
|
1837
|
+
var _excluded$O = ["color", "size", "title"];
|
1838
1838
|
|
1839
|
-
function _extends$
|
1839
|
+
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); }
|
1840
1840
|
|
1841
|
-
function _objectWithoutProperties$
|
1841
|
+
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; }
|
1842
1842
|
|
1843
|
-
function _objectWithoutPropertiesLoose$
|
1843
|
+
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; }
|
1844
1844
|
var ArrowDown = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
1845
1845
|
var color = _ref.color,
|
1846
1846
|
size = _ref.size,
|
1847
1847
|
title = _ref.title,
|
1848
|
-
rest = _objectWithoutProperties$
|
1848
|
+
rest = _objectWithoutProperties$F(_ref, _excluded$O);
|
1849
1849
|
|
1850
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
1850
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$J({
|
1851
1851
|
ref: ref,
|
1852
1852
|
xmlns: "http://www.w3.org/2000/svg",
|
1853
1853
|
viewBox: "0 0 16 16",
|
@@ -1871,20 +1871,20 @@ ArrowDown.defaultProps = {
|
|
1871
1871
|
};
|
1872
1872
|
var ArrowDown$1 = ArrowDown;
|
1873
1873
|
|
1874
|
-
var _excluded$
|
1874
|
+
var _excluded$N = ["color", "size", "title"];
|
1875
1875
|
|
1876
|
-
function _extends$
|
1876
|
+
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); }
|
1877
1877
|
|
1878
|
-
function _objectWithoutProperties$
|
1878
|
+
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; }
|
1879
1879
|
|
1880
|
-
function _objectWithoutPropertiesLoose$
|
1880
|
+
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; }
|
1881
1881
|
var ArrowRepeat = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
1882
1882
|
var color = _ref.color,
|
1883
1883
|
size = _ref.size,
|
1884
1884
|
title = _ref.title,
|
1885
|
-
rest = _objectWithoutProperties$
|
1885
|
+
rest = _objectWithoutProperties$E(_ref, _excluded$N);
|
1886
1886
|
|
1887
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
1887
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$I({
|
1888
1888
|
ref: ref,
|
1889
1889
|
xmlns: "http://www.w3.org/2000/svg",
|
1890
1890
|
viewBox: "0 0 16 16",
|
@@ -1910,20 +1910,20 @@ ArrowRepeat.defaultProps = {
|
|
1910
1910
|
};
|
1911
1911
|
var ArrowRepeat$1 = ArrowRepeat;
|
1912
1912
|
|
1913
|
-
var _excluded$
|
1913
|
+
var _excluded$M = ["color", "size", "title"];
|
1914
1914
|
|
1915
|
-
function _extends$
|
1915
|
+
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); }
|
1916
1916
|
|
1917
|
-
function _objectWithoutProperties$
|
1917
|
+
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; }
|
1918
1918
|
|
1919
|
-
function _objectWithoutPropertiesLoose$
|
1919
|
+
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; }
|
1920
1920
|
var ArrowUpSquare = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
1921
1921
|
var color = _ref.color,
|
1922
1922
|
size = _ref.size,
|
1923
1923
|
title = _ref.title,
|
1924
|
-
rest = _objectWithoutProperties$
|
1924
|
+
rest = _objectWithoutProperties$D(_ref, _excluded$M);
|
1925
1925
|
|
1926
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
1926
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$H({
|
1927
1927
|
ref: ref,
|
1928
1928
|
xmlns: "http://www.w3.org/2000/svg",
|
1929
1929
|
viewBox: "0 0 16 16",
|
@@ -1947,20 +1947,20 @@ ArrowUpSquare.defaultProps = {
|
|
1947
1947
|
};
|
1948
1948
|
var ArrowUpSquare$1 = ArrowUpSquare;
|
1949
1949
|
|
1950
|
-
var _excluded$
|
1950
|
+
var _excluded$L = ["color", "size", "title"];
|
1951
1951
|
|
1952
|
-
function _extends$
|
1952
|
+
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); }
|
1953
1953
|
|
1954
|
-
function _objectWithoutProperties$
|
1954
|
+
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; }
|
1955
1955
|
|
1956
|
-
function _objectWithoutPropertiesLoose$
|
1956
|
+
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; }
|
1957
1957
|
var BoundingBox = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
1958
1958
|
var color = _ref.color,
|
1959
1959
|
size = _ref.size,
|
1960
1960
|
title = _ref.title,
|
1961
|
-
rest = _objectWithoutProperties$
|
1961
|
+
rest = _objectWithoutProperties$C(_ref, _excluded$L);
|
1962
1962
|
|
1963
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
1963
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$G({
|
1964
1964
|
ref: ref,
|
1965
1965
|
xmlns: "http://www.w3.org/2000/svg",
|
1966
1966
|
viewBox: "0 0 16 16",
|
@@ -1983,20 +1983,20 @@ BoundingBox.defaultProps = {
|
|
1983
1983
|
};
|
1984
1984
|
var BoundingBox$1 = BoundingBox;
|
1985
1985
|
|
1986
|
-
var _excluded$
|
1986
|
+
var _excluded$K = ["color", "size", "title"];
|
1987
1987
|
|
1988
|
-
function _extends$
|
1988
|
+
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); }
|
1989
1989
|
|
1990
|
-
function _objectWithoutProperties$
|
1990
|
+
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; }
|
1991
1991
|
|
1992
|
-
function _objectWithoutPropertiesLoose$
|
1992
|
+
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; }
|
1993
1993
|
var BuildingAdd = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
1994
1994
|
var color = _ref.color,
|
1995
1995
|
size = _ref.size,
|
1996
1996
|
title = _ref.title,
|
1997
|
-
rest = _objectWithoutProperties$
|
1997
|
+
rest = _objectWithoutProperties$B(_ref, _excluded$K);
|
1998
1998
|
|
1999
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
1999
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$F({
|
2000
2000
|
ref: ref,
|
2001
2001
|
xmlns: "http://www.w3.org/2000/svg",
|
2002
2002
|
viewBox: "0 0 16 16",
|
@@ -2023,20 +2023,20 @@ BuildingAdd.defaultProps = {
|
|
2023
2023
|
};
|
2024
2024
|
var BuildingAdd$1 = BuildingAdd;
|
2025
2025
|
|
2026
|
-
var _excluded$
|
2026
|
+
var _excluded$J = ["color", "size", "title"];
|
2027
2027
|
|
2028
|
-
function _extends$
|
2028
|
+
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); }
|
2029
2029
|
|
2030
|
-
function _objectWithoutProperties$
|
2030
|
+
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; }
|
2031
2031
|
|
2032
|
-
function _objectWithoutPropertiesLoose$
|
2032
|
+
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; }
|
2033
2033
|
var Building = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2034
2034
|
var color = _ref.color,
|
2035
2035
|
size = _ref.size,
|
2036
2036
|
title = _ref.title,
|
2037
|
-
rest = _objectWithoutProperties$
|
2037
|
+
rest = _objectWithoutProperties$A(_ref, _excluded$J);
|
2038
2038
|
|
2039
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2039
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$E({
|
2040
2040
|
ref: ref,
|
2041
2041
|
xmlns: "http://www.w3.org/2000/svg",
|
2042
2042
|
viewBox: "0 0 16 16",
|
@@ -2061,20 +2061,20 @@ Building.defaultProps = {
|
|
2061
2061
|
};
|
2062
2062
|
var Building$1 = Building;
|
2063
2063
|
|
2064
|
-
var _excluded$
|
2064
|
+
var _excluded$I = ["color", "size", "title"];
|
2065
2065
|
|
2066
|
-
function _extends$
|
2066
|
+
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); }
|
2067
2067
|
|
2068
|
-
function _objectWithoutProperties$
|
2068
|
+
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; }
|
2069
2069
|
|
2070
|
-
function _objectWithoutPropertiesLoose$
|
2070
|
+
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; }
|
2071
2071
|
var CaretDownFill = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2072
2072
|
var color = _ref.color,
|
2073
2073
|
size = _ref.size,
|
2074
2074
|
title = _ref.title,
|
2075
|
-
rest = _objectWithoutProperties$
|
2075
|
+
rest = _objectWithoutProperties$z(_ref, _excluded$I);
|
2076
2076
|
|
2077
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2077
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$D({
|
2078
2078
|
ref: ref,
|
2079
2079
|
xmlns: "http://www.w3.org/2000/svg",
|
2080
2080
|
viewBox: "0 0 16 16",
|
@@ -2097,20 +2097,20 @@ CaretDownFill.defaultProps = {
|
|
2097
2097
|
};
|
2098
2098
|
var CaretDownFill$1 = CaretDownFill;
|
2099
2099
|
|
2100
|
-
var _excluded$
|
2100
|
+
var _excluded$H = ["color", "size", "title"];
|
2101
2101
|
|
2102
|
-
function _extends$
|
2102
|
+
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); }
|
2103
2103
|
|
2104
|
-
function _objectWithoutProperties$
|
2104
|
+
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; }
|
2105
2105
|
|
2106
|
-
function _objectWithoutPropertiesLoose$
|
2106
|
+
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; }
|
2107
2107
|
var CheckCircle = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2108
2108
|
var color = _ref.color,
|
2109
2109
|
size = _ref.size,
|
2110
2110
|
title = _ref.title,
|
2111
|
-
rest = _objectWithoutProperties$
|
2111
|
+
rest = _objectWithoutProperties$y(_ref, _excluded$H);
|
2112
2112
|
|
2113
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2113
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$C({
|
2114
2114
|
ref: ref,
|
2115
2115
|
xmlns: "http://www.w3.org/2000/svg",
|
2116
2116
|
viewBox: "0 0 16 16",
|
@@ -2135,20 +2135,20 @@ CheckCircle.defaultProps = {
|
|
2135
2135
|
};
|
2136
2136
|
var CheckCircle$1 = CheckCircle;
|
2137
2137
|
|
2138
|
-
var _excluded$
|
2138
|
+
var _excluded$G = ["color", "size", "title"];
|
2139
2139
|
|
2140
|
-
function _extends$
|
2140
|
+
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); }
|
2141
2141
|
|
2142
|
-
function _objectWithoutProperties$
|
2142
|
+
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; }
|
2143
2143
|
|
2144
|
-
function _objectWithoutPropertiesLoose$
|
2144
|
+
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; }
|
2145
2145
|
var ChevronLeft = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2146
2146
|
var color = _ref.color,
|
2147
2147
|
size = _ref.size,
|
2148
2148
|
title = _ref.title,
|
2149
|
-
rest = _objectWithoutProperties$
|
2149
|
+
rest = _objectWithoutProperties$x(_ref, _excluded$G);
|
2150
2150
|
|
2151
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2151
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$B({
|
2152
2152
|
ref: ref,
|
2153
2153
|
xmlns: "http://www.w3.org/2000/svg",
|
2154
2154
|
viewBox: "0 0 16 16",
|
@@ -2172,20 +2172,20 @@ ChevronLeft.defaultProps = {
|
|
2172
2172
|
};
|
2173
2173
|
var ChevronLeft$1 = ChevronLeft;
|
2174
2174
|
|
2175
|
-
var _excluded$
|
2175
|
+
var _excluded$F = ["color", "size", "title"];
|
2176
2176
|
|
2177
|
-
function _extends$
|
2177
|
+
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); }
|
2178
2178
|
|
2179
|
-
function _objectWithoutProperties$
|
2179
|
+
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; }
|
2180
2180
|
|
2181
|
-
function _objectWithoutPropertiesLoose$
|
2181
|
+
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; }
|
2182
2182
|
var ChevronRight = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2183
2183
|
var color = _ref.color,
|
2184
2184
|
size = _ref.size,
|
2185
2185
|
title = _ref.title,
|
2186
|
-
rest = _objectWithoutProperties$
|
2186
|
+
rest = _objectWithoutProperties$w(_ref, _excluded$F);
|
2187
2187
|
|
2188
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2188
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$A({
|
2189
2189
|
ref: ref,
|
2190
2190
|
xmlns: "http://www.w3.org/2000/svg",
|
2191
2191
|
viewBox: "0 0 16 16",
|
@@ -2209,20 +2209,20 @@ ChevronRight.defaultProps = {
|
|
2209
2209
|
};
|
2210
2210
|
var ChevronRight$1 = ChevronRight;
|
2211
2211
|
|
2212
|
-
var _excluded$
|
2212
|
+
var _excluded$E = ["color", "size", "title"];
|
2213
2213
|
|
2214
|
-
function _extends$
|
2214
|
+
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); }
|
2215
2215
|
|
2216
|
-
function _objectWithoutProperties$
|
2216
|
+
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; }
|
2217
2217
|
|
2218
|
-
function _objectWithoutPropertiesLoose$
|
2218
|
+
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; }
|
2219
2219
|
var Clock = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2220
2220
|
var color = _ref.color,
|
2221
2221
|
size = _ref.size,
|
2222
2222
|
title = _ref.title,
|
2223
|
-
rest = _objectWithoutProperties$
|
2223
|
+
rest = _objectWithoutProperties$v(_ref, _excluded$E);
|
2224
2224
|
|
2225
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2225
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$z({
|
2226
2226
|
ref: ref,
|
2227
2227
|
xmlns: "http://www.w3.org/2000/svg",
|
2228
2228
|
viewBox: "0 0 16 16",
|
@@ -2247,20 +2247,20 @@ Clock.defaultProps = {
|
|
2247
2247
|
};
|
2248
2248
|
var Clock$1 = Clock;
|
2249
2249
|
|
2250
|
-
var _excluded$
|
2250
|
+
var _excluded$D = ["color", "size", "title"];
|
2251
2251
|
|
2252
|
-
function _extends$
|
2252
|
+
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); }
|
2253
2253
|
|
2254
|
-
function _objectWithoutProperties$
|
2254
|
+
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; }
|
2255
2255
|
|
2256
|
-
function _objectWithoutPropertiesLoose$
|
2256
|
+
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; }
|
2257
2257
|
var CloudArrowUp = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2258
2258
|
var color = _ref.color,
|
2259
2259
|
size = _ref.size,
|
2260
2260
|
title = _ref.title,
|
2261
|
-
rest = _objectWithoutProperties$
|
2261
|
+
rest = _objectWithoutProperties$u(_ref, _excluded$D);
|
2262
2262
|
|
2263
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2263
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$y({
|
2264
2264
|
ref: ref,
|
2265
2265
|
xmlns: "http://www.w3.org/2000/svg",
|
2266
2266
|
viewBox: "0 0 16 16",
|
@@ -2286,20 +2286,20 @@ CloudArrowUp.defaultProps = {
|
|
2286
2286
|
};
|
2287
2287
|
var CloudArrowUp$1 = CloudArrowUp;
|
2288
2288
|
|
2289
|
-
var _excluded$
|
2289
|
+
var _excluded$C = ["color", "size", "title"];
|
2290
2290
|
|
2291
|
-
function _extends$
|
2291
|
+
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); }
|
2292
2292
|
|
2293
|
-
function _objectWithoutProperties$
|
2293
|
+
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; }
|
2294
2294
|
|
2295
|
-
function _objectWithoutPropertiesLoose$
|
2295
|
+
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; }
|
2296
2296
|
var CloudPlus = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2297
2297
|
var color = _ref.color,
|
2298
2298
|
size = _ref.size,
|
2299
2299
|
title = _ref.title,
|
2300
|
-
rest = _objectWithoutProperties$
|
2300
|
+
rest = _objectWithoutProperties$t(_ref, _excluded$C);
|
2301
2301
|
|
2302
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
2302
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$x({
|
2303
2303
|
ref: ref,
|
2304
2304
|
xmlns: "http://www.w3.org/2000/svg",
|
2305
2305
|
viewBox: "0 0 16 16",
|
@@ -2325,6 +2325,42 @@ CloudPlus.defaultProps = {
|
|
2325
2325
|
};
|
2326
2326
|
var CloudPlus$1 = CloudPlus;
|
2327
2327
|
|
2328
|
+
var _excluded$B = ["color", "size", "title"];
|
2329
|
+
|
2330
|
+
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); }
|
2331
|
+
|
2332
|
+
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; }
|
2333
|
+
|
2334
|
+
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; }
|
2335
|
+
var Cpu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2336
|
+
var color = _ref.color,
|
2337
|
+
size = _ref.size,
|
2338
|
+
title = _ref.title,
|
2339
|
+
rest = _objectWithoutProperties$s(_ref, _excluded$B);
|
2340
|
+
|
2341
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$w({
|
2342
|
+
ref: ref,
|
2343
|
+
xmlns: "http://www.w3.org/2000/svg",
|
2344
|
+
viewBox: "0 0 16 16",
|
2345
|
+
width: size,
|
2346
|
+
height: size,
|
2347
|
+
fill: color
|
2348
|
+
}, rest), title ? /*#__PURE__*/React__default.createElement("title", null, title) : null, /*#__PURE__*/React__default.createElement("path", {
|
2349
|
+
d: "M5 0a.5.5 0 0 1 .5.5V2h1V.5a.5.5 0 0 1 1 0V2h1V.5a.5.5 0 0 1 1 0V2h1V.5a.5.5 0 0 1 1 0V2A2.5 2.5 0 0 1 14 4.5h1.5a.5.5 0 0 1 0 1H14v1h1.5a.5.5 0 0 1 0 1H14v1h1.5a.5.5 0 0 1 0 1H14v1h1.5a.5.5 0 0 1 0 1H14a2.5 2.5 0 0 1-2.5 2.5v1.5a.5.5 0 0 1-1 0V14h-1v1.5a.5.5 0 0 1-1 0V14h-1v1.5a.5.5 0 0 1-1 0V14h-1v1.5a.5.5 0 0 1-1 0V14A2.5 2.5 0 0 1 2 11.5H.5a.5.5 0 0 1 0-1H2v-1H.5a.5.5 0 0 1 0-1H2v-1H.5a.5.5 0 0 1 0-1H2v-1H.5a.5.5 0 0 1 0-1H2A2.5 2.5 0 0 1 4.5 2V.5A.5.5 0 0 1 5 0zm-.5 3A1.5 1.5 0 0 0 3 4.5v7A1.5 1.5 0 0 0 4.5 13h7a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 11.5 3h-7zM5 6.5A1.5 1.5 0 0 1 6.5 5h3A1.5 1.5 0 0 1 11 6.5v3A1.5 1.5 0 0 1 9.5 11h-3A1.5 1.5 0 0 1 5 9.5v-3zM6.5 6a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3z"
|
2350
|
+
}));
|
2351
|
+
});
|
2352
|
+
Cpu.propTypes = {
|
2353
|
+
color: PropTypes.string,
|
2354
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
2355
|
+
title: PropTypes.string
|
2356
|
+
};
|
2357
|
+
Cpu.defaultProps = {
|
2358
|
+
color: 'currentColor',
|
2359
|
+
size: '1em',
|
2360
|
+
title: null
|
2361
|
+
};
|
2362
|
+
var Cpu$1 = Cpu;
|
2363
|
+
|
2328
2364
|
var _excluded$A = ["color", "size", "title"];
|
2329
2365
|
|
2330
2366
|
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); }
|
@@ -2332,7 +2368,7 @@ function _extends$v() { _extends$v = Object.assign || function (target) { for (v
|
|
2332
2368
|
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; }
|
2333
2369
|
|
2334
2370
|
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; }
|
2335
|
-
var
|
2371
|
+
var CursorText = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2336
2372
|
var color = _ref.color,
|
2337
2373
|
size = _ref.size,
|
2338
2374
|
title = _ref.title,
|
@@ -2346,20 +2382,20 @@ var Cpu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
2346
2382
|
height: size,
|
2347
2383
|
fill: color
|
2348
2384
|
}, rest), title ? /*#__PURE__*/React__default.createElement("title", null, title) : null, /*#__PURE__*/React__default.createElement("path", {
|
2349
|
-
d: "M5
|
2385
|
+
d: "M5 2a.5.5 0 0 1 .5-.5c.862 0 1.573.287 2.06.566.174.099.321.198.44.286.119-.088.266-.187.44-.286A4.165 4.165 0 0 1 10.5 1.5a.5.5 0 0 1 0 1c-.638 0-1.177.213-1.564.434a3.49 3.49 0 0 0-.436.294V7.5H9a.5.5 0 0 1 0 1h-.5v4.272c.1.08.248.187.436.294.387.221.926.434 1.564.434a.5.5 0 0 1 0 1 4.165 4.165 0 0 1-2.06-.566A4.561 4.561 0 0 1 8 13.65a4.561 4.561 0 0 1-.44.285 4.165 4.165 0 0 1-2.06.566.5.5 0 0 1 0-1c.638 0 1.177-.213 1.564-.434.188-.107.335-.214.436-.294V8.5H7a.5.5 0 0 1 0-1h.5V3.228a3.49 3.49 0 0 0-.436-.294A3.166 3.166 0 0 0 5.5 2.5.5.5 0 0 1 5 2zm3.352 1.355zm-.704 9.29z"
|
2350
2386
|
}));
|
2351
2387
|
});
|
2352
|
-
|
2388
|
+
CursorText.propTypes = {
|
2353
2389
|
color: PropTypes.string,
|
2354
2390
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
2355
2391
|
title: PropTypes.string
|
2356
2392
|
};
|
2357
|
-
|
2393
|
+
CursorText.defaultProps = {
|
2358
2394
|
color: 'currentColor',
|
2359
2395
|
size: '1em',
|
2360
2396
|
title: null
|
2361
2397
|
};
|
2362
|
-
var
|
2398
|
+
var CursorText$1 = CursorText;
|
2363
2399
|
|
2364
2400
|
var _excluded$z = ["color", "size", "title"];
|
2365
2401
|
|
@@ -2368,7 +2404,7 @@ function _extends$u() { _extends$u = Object.assign || function (target) { for (v
|
|
2368
2404
|
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; }
|
2369
2405
|
|
2370
2406
|
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; }
|
2371
|
-
var
|
2407
|
+
var Database = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
2372
2408
|
var color = _ref.color,
|
2373
2409
|
size = _ref.size,
|
2374
2410
|
title = _ref.title,
|
@@ -2382,20 +2418,20 @@ var CursorText = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
2382
2418
|
height: size,
|
2383
2419
|
fill: color
|
2384
2420
|
}, rest), title ? /*#__PURE__*/React__default.createElement("title", null, title) : null, /*#__PURE__*/React__default.createElement("path", {
|
2385
|
-
d: "
|
2421
|
+
d: "M4.318 2.687C5.234 2.271 6.536 2 8 2s2.766.27 3.682.687C12.644 3.125 13 3.627 13 4c0 .374-.356.875-1.318 1.313C10.766 5.729 9.464 6 8 6s-2.766-.27-3.682-.687C3.356 4.875 3 4.373 3 4c0-.374.356-.875 1.318-1.313ZM13 5.698V7c0 .374-.356.875-1.318 1.313C10.766 8.729 9.464 9 8 9s-2.766-.27-3.682-.687C3.356 7.875 3 7.373 3 7V5.698c.271.202.58.378.904.525C4.978 6.711 6.427 7 8 7s3.022-.289 4.096-.777A4.92 4.92 0 0 0 13 5.698ZM14 4c0-1.007-.875-1.755-1.904-2.223C11.022 1.289 9.573 1 8 1s-3.022.289-4.096.777C2.875 2.245 2 2.993 2 4v9c0 1.007.875 1.755 1.904 2.223C4.978 15.71 6.427 16 8 16s3.022-.289 4.096-.777C13.125 14.755 14 14.007 14 13V4Zm-1 4.698V10c0 .374-.356.875-1.318 1.313C10.766 11.729 9.464 12 8 12s-2.766-.27-3.682-.687C3.356 10.875 3 10.373 3 10V8.698c.271.202.58.378.904.525C4.978 9.71 6.427 10 8 10s3.022-.289 4.096-.777A4.92 4.92 0 0 0 13 8.698Zm0 3V13c0 .374-.356.875-1.318 1.313C10.766 14.729 9.464 15 8 15s-2.766-.27-3.682-.687C3.356 13.875 3 13.373 3 13v-1.302c.271.202.58.378.904.525C4.978 12.71 6.427 13 8 13s3.022-.289 4.096-.777c.324-.147.633-.323.904-.525Z"
|
2386
2422
|
}));
|
2387
2423
|
});
|
2388
|
-
|
2424
|
+
Database.propTypes = {
|
2389
2425
|
color: PropTypes.string,
|
2390
2426
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
2391
2427
|
title: PropTypes.string
|
2392
2428
|
};
|
2393
|
-
|
2429
|
+
Database.defaultProps = {
|
2394
2430
|
color: 'currentColor',
|
2395
2431
|
size: '1em',
|
2396
2432
|
title: null
|
2397
2433
|
};
|
2398
|
-
var
|
2434
|
+
var Database$1 = Database;
|
2399
2435
|
|
2400
2436
|
var _excluded$y = ["color", "size", "title"];
|
2401
2437
|
|
@@ -4201,7 +4237,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4201
4237
|
|
4202
4238
|
otherStateToSet = pickState(otherStateToSet);
|
4203
4239
|
|
4204
|
-
_this.internalSetState(_extends$
|
4240
|
+
_this.internalSetState(_extends$L({
|
4205
4241
|
highlightedIndex: highlightedIndex
|
4206
4242
|
}, otherStateToSet));
|
4207
4243
|
};
|
@@ -4218,7 +4254,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4218
4254
|
_this.selectItem = function (item, otherStateToSet, cb) {
|
4219
4255
|
otherStateToSet = pickState(otherStateToSet);
|
4220
4256
|
|
4221
|
-
_this.internalSetState(_extends$
|
4257
|
+
_this.internalSetState(_extends$L({
|
4222
4258
|
isOpen: _this.props.defaultIsOpen,
|
4223
4259
|
highlightedIndex: _this.props.defaultHighlightedIndex,
|
4224
4260
|
selectedItem: item,
|
@@ -4250,7 +4286,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4250
4286
|
// See https://github.com/downshift-js/downshift/issues/217 for more info.
|
4251
4287
|
|
4252
4288
|
if (!isStateToSetFunction && stateToSet.hasOwnProperty('inputValue')) {
|
4253
|
-
_this.props.onInputValueChange(stateToSet.inputValue, _extends$
|
4289
|
+
_this.props.onInputValueChange(stateToSet.inputValue, _extends$L({}, _this.getStateAndHelpers(), stateToSet));
|
4254
4290
|
}
|
4255
4291
|
|
4256
4292
|
return _this.setState(function (state) {
|
@@ -4298,7 +4334,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4298
4334
|
// earlier, so we'll call it now that we know what the inputValue state will be.
|
4299
4335
|
|
4300
4336
|
if (isStateToSetFunction && newStateToSet.hasOwnProperty('inputValue')) {
|
4301
|
-
_this.props.onInputValueChange(newStateToSet.inputValue, _extends$
|
4337
|
+
_this.props.onInputValueChange(newStateToSet.inputValue, _extends$L({}, _this.getStateAndHelpers(), newStateToSet));
|
4302
4338
|
}
|
4303
4339
|
|
4304
4340
|
return nextState;
|
@@ -4353,7 +4389,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4353
4389
|
var _this$getState = _this.getState(),
|
4354
4390
|
isOpen = _this$getState.isOpen;
|
4355
4391
|
|
4356
|
-
return _extends$
|
4392
|
+
return _extends$L((_extends2 = {}, _extends2[refKey] = handleRefs(ref, _this.rootRef), _extends2.role = 'combobox', _extends2['aria-expanded'] = isOpen, _extends2['aria-haspopup'] = 'listbox', _extends2['aria-owns'] = isOpen ? _this.menuId : null, _extends2['aria-labelledby'] = _this.labelId, _extends2), rest);
|
4357
4393
|
};
|
4358
4394
|
|
4359
4395
|
_this.keyDownHandlers = {
|
@@ -4446,7 +4482,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4446
4482
|
},
|
4447
4483
|
Escape: function Escape(event) {
|
4448
4484
|
event.preventDefault();
|
4449
|
-
this.reset(_extends$
|
4485
|
+
this.reset(_extends$L({
|
4450
4486
|
type: keyDownEscape
|
4451
4487
|
}, !this.state.isOpen && {
|
4452
4488
|
selectedItem: null,
|
@@ -4454,7 +4490,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4454
4490
|
}));
|
4455
4491
|
}
|
4456
4492
|
};
|
4457
|
-
_this.buttonKeyDownHandlers = _extends$
|
4493
|
+
_this.buttonKeyDownHandlers = _extends$L({}, _this.keyDownHandlers, {
|
4458
4494
|
' ': function _(event) {
|
4459
4495
|
event.preventDefault();
|
4460
4496
|
this.toggleMenu({
|
@@ -4462,7 +4498,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4462
4498
|
});
|
4463
4499
|
}
|
4464
4500
|
});
|
4465
|
-
_this.inputKeyDownHandlers = _extends$
|
4501
|
+
_this.inputKeyDownHandlers = _extends$L({}, _this.keyDownHandlers, {
|
4466
4502
|
Home: function Home(event) {
|
4467
4503
|
var _this4 = this;
|
4468
4504
|
|
@@ -4534,7 +4570,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4534
4570
|
onBlur: callAllEventHandlers(onBlur, _this.buttonHandleBlur)
|
4535
4571
|
};
|
4536
4572
|
var eventHandlers = rest.disabled ? {} : enabledEventHandlers;
|
4537
|
-
return _extends$
|
4573
|
+
return _extends$L({
|
4538
4574
|
type: 'button',
|
4539
4575
|
role: 'button',
|
4540
4576
|
'aria-label': isOpen ? 'close menu' : 'open menu',
|
@@ -4598,7 +4634,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4598
4634
|
};
|
4599
4635
|
|
4600
4636
|
_this.getLabelProps = function (props) {
|
4601
|
-
return _extends$
|
4637
|
+
return _extends$L({
|
4602
4638
|
htmlFor: _this.inputId,
|
4603
4639
|
id: _this.labelId
|
4604
4640
|
}, props);
|
@@ -4632,7 +4668,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4632
4668
|
eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, _this.inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, _this.inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, _this.inputHandleBlur), _eventHandlers);
|
4633
4669
|
}
|
4634
4670
|
|
4635
|
-
return _extends$
|
4671
|
+
return _extends$L({
|
4636
4672
|
'aria-autocomplete': 'list',
|
4637
4673
|
'aria-activedescendant': isOpen && typeof highlightedIndex === 'number' && highlightedIndex >= 0 ? _this.getItemId(highlightedIndex) : null,
|
4638
4674
|
'aria-controls': isOpen ? _this.menuId : null,
|
@@ -4695,7 +4731,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4695
4731
|
_this.getMenuProps.called = true;
|
4696
4732
|
_this.getMenuProps.refKey = refKey;
|
4697
4733
|
_this.getMenuProps.suppressRefError = suppressRefError;
|
4698
|
-
return _extends$
|
4734
|
+
return _extends$L((_extends3 = {}, _extends3[refKey] = handleRefs(ref, _this.menuRef), _extends3.role = 'listbox', _extends3['aria-labelledby'] = props && props['aria-label'] ? null : _this.labelId, _extends3.id = _this.menuId, _extends3), props);
|
4699
4735
|
};
|
4700
4736
|
|
4701
4737
|
_this.getItemProps = function (_temp7) {
|
@@ -4762,7 +4798,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4762
4798
|
var eventHandlers = rest.disabled ? {
|
4763
4799
|
onMouseDown: enabledEventHandlers.onMouseDown
|
4764
4800
|
} : enabledEventHandlers;
|
4765
|
-
return _extends$
|
4801
|
+
return _extends$L({
|
4766
4802
|
id: _this.getItemId(index),
|
4767
4803
|
role: 'option',
|
4768
4804
|
'aria-selected': _this.getState().highlightedIndex === index
|
@@ -4782,7 +4818,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4782
4818
|
|
4783
4819
|
_this.internalSetState(function (_ref8) {
|
4784
4820
|
var selectedItem = _ref8.selectedItem;
|
4785
|
-
return _extends$
|
4821
|
+
return _extends$L({
|
4786
4822
|
isOpen: _this.props.defaultIsOpen,
|
4787
4823
|
highlightedIndex: _this.props.defaultHighlightedIndex,
|
4788
4824
|
inputValue: _this.props.itemToString(selectedItem)
|
@@ -4799,7 +4835,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4799
4835
|
|
4800
4836
|
_this.internalSetState(function (_ref9) {
|
4801
4837
|
var isOpen = _ref9.isOpen;
|
4802
|
-
return _extends$
|
4838
|
+
return _extends$L({
|
4803
4839
|
isOpen: !isOpen
|
4804
4840
|
}, isOpen && {
|
4805
4841
|
highlightedIndex: _this.props.defaultHighlightedIndex
|
@@ -4838,7 +4874,7 @@ var Downshift = /*#__PURE__*/function () {
|
|
4838
4874
|
|
4839
4875
|
var resultCount = _this.getItemCount();
|
4840
4876
|
|
4841
|
-
var status = _this.props.getA11yStatusMessage(_extends$
|
4877
|
+
var status = _this.props.getA11yStatusMessage(_extends$L({
|
4842
4878
|
itemToString: _this.props.itemToString,
|
4843
4879
|
previousResultCount: _this.previousResultCount,
|
4844
4880
|
resultCount: resultCount,
|
@@ -5328,7 +5364,7 @@ function callOnChangeProps(action, state, newState) {
|
|
5328
5364
|
});
|
5329
5365
|
|
5330
5366
|
if (props.onStateChange && Object.keys(changes).length) {
|
5331
|
-
props.onStateChange(_extends$
|
5367
|
+
props.onStateChange(_extends$L({
|
5332
5368
|
type: type
|
5333
5369
|
}, changes));
|
5334
5370
|
}
|
@@ -5340,7 +5376,7 @@ function invokeOnChangeHandler(key, action, state, newState) {
|
|
5340
5376
|
var handler = "on" + capitalizeString(key) + "Change";
|
5341
5377
|
|
5342
5378
|
if (props[handler] && newState[key] !== undefined && newState[key] !== state[key]) {
|
5343
|
-
props[handler](_extends$
|
5379
|
+
props[handler](_extends$L({
|
5344
5380
|
type: type
|
5345
5381
|
}, newState));
|
5346
5382
|
}
|
@@ -5450,7 +5486,7 @@ function useEnhancedReducer(reducer, initialState, props) {
|
|
5450
5486
|
actionRef.current = action;
|
5451
5487
|
state = getState(state, action.props);
|
5452
5488
|
var changes = reducer(state, action);
|
5453
|
-
var newState = action.props.stateReducer(state, _extends$
|
5489
|
+
var newState = action.props.stateReducer(state, _extends$L({}, action, {
|
5454
5490
|
changes: changes
|
5455
5491
|
}));
|
5456
5492
|
return newState;
|
@@ -5462,7 +5498,7 @@ function useEnhancedReducer(reducer, initialState, props) {
|
|
5462
5498
|
|
5463
5499
|
var propsRef = useLatestRef$1(props);
|
5464
5500
|
var dispatchWithProps = useCallback(function (action) {
|
5465
|
-
return dispatch(_extends$
|
5501
|
+
return dispatch(_extends$L({
|
5466
5502
|
props: propsRef.current
|
5467
5503
|
}, action));
|
5468
5504
|
}, [propsRef]);
|
@@ -5708,7 +5744,7 @@ function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
5708
5744
|
}
|
5709
5745
|
|
5710
5746
|
updateA11yStatus(function () {
|
5711
|
-
return getA11yMessage(_extends$
|
5747
|
+
return getA11yMessage(_extends$L({
|
5712
5748
|
highlightedIndex: highlightedIndex,
|
5713
5749
|
highlightedItem: items[highlightedIndex],
|
5714
5750
|
resultCount: items.length
|
@@ -5830,7 +5866,7 @@ function downshiftCommonReducer(state, action, stateChangeTypes) {
|
|
5830
5866
|
throw new Error('Reducer called without proper action type.');
|
5831
5867
|
}
|
5832
5868
|
|
5833
|
-
return _extends$
|
5869
|
+
return _extends$L({}, state, changes);
|
5834
5870
|
}
|
5835
5871
|
({
|
5836
5872
|
items: PropTypes.array.isRequired,
|
@@ -5970,7 +6006,7 @@ function getInitialState$1(props) {
|
|
5970
6006
|
inputValue = props.itemToString(selectedItem);
|
5971
6007
|
}
|
5972
6008
|
|
5973
|
-
return _extends$
|
6009
|
+
return _extends$L({}, initialState, {
|
5974
6010
|
inputValue: inputValue
|
5975
6011
|
});
|
5976
6012
|
}
|
@@ -6061,7 +6097,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
6061
6097
|
};
|
6062
6098
|
}
|
6063
6099
|
|
6064
|
-
var defaultProps$1$1 = _extends$
|
6100
|
+
var defaultProps$1$1 = _extends$L({}, defaultProps$3$1, {
|
6065
6101
|
getA11yStatusMessage: getA11yStatusMessage$1,
|
6066
6102
|
circularNavigation: true
|
6067
6103
|
});
|
@@ -6113,7 +6149,7 @@ function downshiftUseComboboxReducer(state, action) {
|
|
6113
6149
|
break;
|
6114
6150
|
|
6115
6151
|
case InputKeyDownEnter:
|
6116
|
-
changes = _extends$
|
6152
|
+
changes = _extends$L({}, state.isOpen && state.highlightedIndex >= 0 && {
|
6117
6153
|
selectedItem: props.items[state.highlightedIndex],
|
6118
6154
|
isOpen: getDefaultValue$1(props, 'isOpen'),
|
6119
6155
|
highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
|
@@ -6122,7 +6158,7 @@ function downshiftUseComboboxReducer(state, action) {
|
|
6122
6158
|
break;
|
6123
6159
|
|
6124
6160
|
case InputKeyDownEscape:
|
6125
|
-
changes = _extends$
|
6161
|
+
changes = _extends$L({
|
6126
6162
|
isOpen: false,
|
6127
6163
|
highlightedIndex: -1
|
6128
6164
|
}, !state.isOpen && {
|
@@ -6144,7 +6180,7 @@ function downshiftUseComboboxReducer(state, action) {
|
|
6144
6180
|
break;
|
6145
6181
|
|
6146
6182
|
case InputBlur:
|
6147
|
-
changes = _extends$
|
6183
|
+
changes = _extends$L({
|
6148
6184
|
isOpen: false,
|
6149
6185
|
highlightedIndex: -1
|
6150
6186
|
}, state.highlightedIndex >= 0 && action.selectItem && {
|
@@ -6178,7 +6214,7 @@ function downshiftUseComboboxReducer(state, action) {
|
|
6178
6214
|
return downshiftCommonReducer(state, action, stateChangeTypes$1);
|
6179
6215
|
}
|
6180
6216
|
|
6181
|
-
return _extends$
|
6217
|
+
return _extends$L({}, state, changes);
|
6182
6218
|
}
|
6183
6219
|
/* eslint-enable complexity */
|
6184
6220
|
|
@@ -6196,7 +6232,7 @@ function useCombobox(userProps) {
|
|
6196
6232
|
|
6197
6233
|
validatePropTypes$1(userProps, useCombobox); // Props defaults and destructuring.
|
6198
6234
|
|
6199
|
-
var props = _extends$
|
6235
|
+
var props = _extends$L({}, defaultProps$1$1, userProps);
|
6200
6236
|
|
6201
6237
|
var initialIsOpen = props.initialIsOpen,
|
6202
6238
|
defaultIsOpen = props.defaultIsOpen,
|
@@ -6238,7 +6274,7 @@ function useCombobox(userProps) {
|
|
6238
6274
|
}, [elementIds]); // Effects.
|
6239
6275
|
// Sets a11y status message on changes in state.
|
6240
6276
|
|
6241
|
-
useA11yMessageSetter(getA11yStatusMessage, [isOpen, highlightedIndex, inputValue, items], _extends$
|
6277
|
+
useA11yMessageSetter(getA11yStatusMessage, [isOpen, highlightedIndex, inputValue, items], _extends$L({
|
6242
6278
|
isInitialMount: isInitialMountRef.current,
|
6243
6279
|
previousResultCount: previousResultCountRef.current,
|
6244
6280
|
items: items,
|
@@ -6246,7 +6282,7 @@ function useCombobox(userProps) {
|
|
6246
6282
|
itemToString: itemToString
|
6247
6283
|
}, state)); // Sets a11y status message on changes in selectedItem.
|
6248
6284
|
|
6249
|
-
useA11yMessageSetter(getA11ySelectionMessage, [selectedItem], _extends$
|
6285
|
+
useA11yMessageSetter(getA11ySelectionMessage, [selectedItem], _extends$L({
|
6250
6286
|
isInitialMount: isInitialMountRef.current,
|
6251
6287
|
previousResultCount: previousResultCountRef.current,
|
6252
6288
|
items: items,
|
@@ -6370,7 +6406,7 @@ function useCombobox(userProps) {
|
|
6370
6406
|
}, [dispatch, latest, getItemNodeFromIndex]); // Getter props.
|
6371
6407
|
|
6372
6408
|
var getLabelProps = useCallback(function (labelProps) {
|
6373
|
-
return _extends$
|
6409
|
+
return _extends$L({
|
6374
6410
|
id: elementIds.labelId,
|
6375
6411
|
htmlFor: elementIds.inputId
|
6376
6412
|
}, labelProps);
|
@@ -6390,7 +6426,7 @@ function useCombobox(userProps) {
|
|
6390
6426
|
suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro;
|
6391
6427
|
|
6392
6428
|
setGetterPropCallInfo('getMenuProps', suppressRefError, refKey, menuRef);
|
6393
|
-
return _extends$
|
6429
|
+
return _extends$L((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (menuNode) {
|
6394
6430
|
menuRef.current = menuNode;
|
6395
6431
|
}), _extends2.id = elementIds.menuId, _extends2.role = 'listbox', _extends2['aria-labelledby'] = elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, function () {
|
6396
6432
|
dispatch({
|
@@ -6447,7 +6483,7 @@ function useCombobox(userProps) {
|
|
6447
6483
|
}
|
6448
6484
|
};
|
6449
6485
|
|
6450
|
-
return _extends$
|
6486
|
+
return _extends$L((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (itemNode) {
|
6451
6487
|
if (itemNode) {
|
6452
6488
|
itemRefs.current[elementIds.getItemId(itemIndex)] = itemNode;
|
6453
6489
|
}
|
@@ -6476,9 +6512,9 @@ function useCombobox(userProps) {
|
|
6476
6512
|
}
|
6477
6513
|
};
|
6478
6514
|
|
6479
|
-
return _extends$
|
6515
|
+
return _extends$L((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function (toggleButtonNode) {
|
6480
6516
|
toggleButtonRef.current = toggleButtonNode;
|
6481
|
-
}), _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$
|
6517
|
+
}), _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$L({}, {
|
6482
6518
|
onClick: callAllEventHandlers(onClick, toggleButtonHandleClick)
|
6483
6519
|
}), rest);
|
6484
6520
|
}, [dispatch, latest, elementIds]);
|
@@ -6539,7 +6575,7 @@ function useCombobox(userProps) {
|
|
6539
6575
|
eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, inputHandleBlur), _eventHandlers);
|
6540
6576
|
}
|
6541
6577
|
|
6542
|
-
return _extends$
|
6578
|
+
return _extends$L((_extends5 = {}, _extends5[refKey] = handleRefs(ref, function (inputNode) {
|
6543
6579
|
inputRef.current = inputNode;
|
6544
6580
|
}), _extends5.id = elementIds.inputId, _extends5['aria-autocomplete'] = 'list', _extends5['aria-controls'] = elementIds.menuId, _extends5), latestState.isOpen && latestState.highlightedIndex > -1 && {
|
6545
6581
|
'aria-activedescendant': elementIds.getItemId(latestState.highlightedIndex)
|
@@ -6565,7 +6601,7 @@ function useCombobox(userProps) {
|
|
6565
6601
|
suppressRefError = _ref9$suppressRefErro === void 0 ? false : _ref9$suppressRefErro;
|
6566
6602
|
|
6567
6603
|
setGetterPropCallInfo('getComboboxProps', suppressRefError, refKey, comboboxRef);
|
6568
|
-
return _extends$
|
6604
|
+
return _extends$L((_extends6 = {}, _extends6[refKey] = handleRefs(ref, function (comboboxNode) {
|
6569
6605
|
comboboxRef.current = comboboxNode;
|
6570
6606
|
}), _extends6.role = 'combobox', _extends6['aria-haspopup'] = 'listbox', _extends6['aria-owns'] = elementIds.menuId, _extends6['aria-expanded'] = latest.current.state.isOpen, _extends6), rest);
|
6571
6607
|
}, [latest, setGetterPropCallInfo, elementIds]); // returns
|
@@ -6710,7 +6746,7 @@ const $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /*#__PURE__*/ forwardRef((prop
|
|
6710
6746
|
'aria-orientation': ariaOrientation,
|
6711
6747
|
role: 'separator'
|
6712
6748
|
};
|
6713
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
6749
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
6714
6750
|
"data-orientation": orientation
|
6715
6751
|
}, semanticProps, domProps, {
|
6716
6752
|
ref: forwardedRef
|
@@ -9229,7 +9265,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ forwardRef((prop
|
|
9229
9265
|
return ()=>document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate)
|
9230
9266
|
;
|
9231
9267
|
}, []);
|
9232
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
9268
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({}, layerProps, {
|
9233
9269
|
ref: composedRefs,
|
9234
9270
|
style: {
|
9235
9271
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? 'auto' : 'none' : undefined,
|
@@ -9501,7 +9537,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /*#__PURE__*/ forwardRef((prop
|
|
9501
9537
|
trapped,
|
9502
9538
|
focusScope.paused
|
9503
9539
|
]);
|
9504
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
9540
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
9505
9541
|
tabIndex: -1
|
9506
9542
|
}, scopeProps, {
|
9507
9543
|
ref: composedRefs,
|
@@ -11276,7 +11312,7 @@ const arrow = options => {
|
|
11276
11312
|
|
11277
11313
|
const $7e8f5cd07187803e$export$21b07c8f274aebd5 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
11278
11314
|
const { children: children , width: width = 10 , height: height = 5 , ...arrowProps } = props;
|
11279
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends$
|
11315
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends$L({}, arrowProps, {
|
11280
11316
|
ref: forwardedRef,
|
11281
11317
|
width: width,
|
11282
11318
|
height: height,
|
@@ -11363,7 +11399,7 @@ const $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /*#__PURE__*/ forwardRef((props
|
|
11363
11399
|
// `anchorRef` with their virtual ref in this case.
|
11364
11400
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
11365
11401
|
});
|
11366
|
-
return virtualRef ? null : /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
11402
|
+
return virtualRef ? null : /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({}, anchorProps, {
|
11367
11403
|
ref: composedRefs
|
11368
11404
|
}));
|
11369
11405
|
});
|
@@ -11558,7 +11594,7 @@ const $cf1ac5d9fe0e8206$export$79d62cd4e10a3fd0 = /*#__PURE__*/ forwardRef(funct
|
|
11558
11594
|
}[contentContext.placedSide],
|
11559
11595
|
visibility: contentContext.shouldHideArrow ? 'hidden' : undefined
|
11560
11596
|
}
|
11561
|
-
}, /*#__PURE__*/ createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends$
|
11597
|
+
}, /*#__PURE__*/ createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends$L({}, arrowProps, {
|
11562
11598
|
ref: forwardedRef,
|
11563
11599
|
style: {
|
11564
11600
|
...arrowProps.style,
|
@@ -11769,7 +11805,7 @@ const $d7bdfb9eb0fdf311$export$8699f7c8af148338 = /*#__PURE__*/ forwardRef((prop
|
|
11769
11805
|
scope: props.__scopeRovingFocusGroup
|
11770
11806
|
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$Collection.Slot, {
|
11771
11807
|
scope: props.__scopeRovingFocusGroup
|
11772
|
-
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, _extends$
|
11808
|
+
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, _extends$L({}, props, {
|
11773
11809
|
ref: forwardedRef
|
11774
11810
|
}))));
|
11775
11811
|
});
|
@@ -11809,7 +11845,7 @@ const $d7bdfb9eb0fdf311$export$8699f7c8af148338 = /*#__PURE__*/ forwardRef((prop
|
|
11809
11845
|
]),
|
11810
11846
|
onItemShiftTab: useCallback(()=>setIsTabbingBackOut(true)
|
11811
11847
|
, [])
|
11812
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
11848
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
11813
11849
|
tabIndex: isTabbingBackOut ? -1 : 0,
|
11814
11850
|
"data-orientation": orientation
|
11815
11851
|
}, groupProps, {
|
@@ -11867,7 +11903,7 @@ const $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 = /*#__PURE__*/ forwardRef((props
|
|
11867
11903
|
id: id,
|
11868
11904
|
focusable: focusable,
|
11869
11905
|
active: active
|
11870
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$
|
11906
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$L({
|
11871
11907
|
tabIndex: isCurrentTabStop ? 0 : -1,
|
11872
11908
|
"data-orientation": context.orientation
|
11873
11909
|
}, itemProps, {
|
@@ -12778,7 +12814,7 @@ const $6cc32821e9371a1c$export$d9b273488cd8ce6f = (props)=>{
|
|
12778
12814
|
const $6cc32821e9371a1c$export$9fa5ebd18bee4d43 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
12779
12815
|
const { __scopeMenu: __scopeMenu , ...anchorProps } = props;
|
12780
12816
|
const popperScope = $6cc32821e9371a1c$var$usePopperScope(__scopeMenu);
|
12781
|
-
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$
|
12817
|
+
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$L({}, popperScope, anchorProps, {
|
12782
12818
|
ref: forwardedRef
|
12783
12819
|
}));
|
12784
12820
|
});
|
@@ -12803,9 +12839,9 @@ const $6cc32821e9371a1c$export$479f0f2f71193efe = /*#__PURE__*/ forwardRef((prop
|
|
12803
12839
|
present: forceMount || context.open
|
12804
12840
|
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$var$Collection.Slot, {
|
12805
12841
|
scope: props.__scopeMenu
|
12806
|
-
}, rootContext.modal ? /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuRootContentModal, _extends$
|
12842
|
+
}, rootContext.modal ? /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuRootContentModal, _extends$L({}, contentProps, {
|
12807
12843
|
ref: forwardedRef
|
12808
|
-
})) : /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuRootContentNonModal, _extends$
|
12844
|
+
})) : /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuRootContentNonModal, _extends$L({}, contentProps, {
|
12809
12845
|
ref: forwardedRef
|
12810
12846
|
})))));
|
12811
12847
|
});
|
@@ -12817,7 +12853,7 @@ const $6cc32821e9371a1c$export$479f0f2f71193efe = /*#__PURE__*/ forwardRef((prop
|
|
12817
12853
|
const content = ref.current;
|
12818
12854
|
if (content) return hideOthers(content);
|
12819
12855
|
}, []);
|
12820
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuContentImpl, _extends$
|
12856
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuContentImpl, _extends$L({}, props, {
|
12821
12857
|
ref: composedRefs // we make sure we're not trapping once it's been closed
|
12822
12858
|
,
|
12823
12859
|
trapFocus: context.open // make sure to only disable pointer events when open
|
@@ -12834,7 +12870,7 @@ const $6cc32821e9371a1c$export$479f0f2f71193efe = /*#__PURE__*/ forwardRef((prop
|
|
12834
12870
|
});
|
12835
12871
|
const $6cc32821e9371a1c$var$MenuRootContentNonModal = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
12836
12872
|
const context = $6cc32821e9371a1c$var$useMenuContext($6cc32821e9371a1c$var$CONTENT_NAME, props.__scopeMenu);
|
12837
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuContentImpl, _extends$
|
12873
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuContentImpl, _extends$L({}, props, {
|
12838
12874
|
ref: forwardedRef,
|
12839
12875
|
trapFocus: false,
|
12840
12876
|
disableOutsidePointerEvents: false,
|
@@ -12943,7 +12979,7 @@ const $6cc32821e9371a1c$var$MenuRootContentNonModal = /*#__PURE__*/ forwardRef((
|
|
12943
12979
|
onFocusOutside: onFocusOutside,
|
12944
12980
|
onInteractOutside: onInteractOutside,
|
12945
12981
|
onDismiss: onDismiss
|
12946
|
-
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends$
|
12982
|
+
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends$L({
|
12947
12983
|
asChild: true
|
12948
12984
|
}, rovingFocusGroupScope, {
|
12949
12985
|
dir: rootContext.dir,
|
@@ -12955,7 +12991,7 @@ const $6cc32821e9371a1c$var$MenuRootContentNonModal = /*#__PURE__*/ forwardRef((
|
|
12955
12991
|
// only focus first item when using keyboard
|
12956
12992
|
if (!rootContext.isUsingKeyboardRef.current) event.preventDefault();
|
12957
12993
|
}
|
12958
|
-
}), /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$
|
12994
|
+
}), /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$L({
|
12959
12995
|
role: "menu",
|
12960
12996
|
"aria-orientation": "vertical",
|
12961
12997
|
"data-state": $6cc32821e9371a1c$var$getOpenState(context.open),
|
@@ -13009,7 +13045,7 @@ const $6cc32821e9371a1c$var$MenuRootContentNonModal = /*#__PURE__*/ forwardRef((
|
|
13009
13045
|
});
|
13010
13046
|
const $6cc32821e9371a1c$export$22a631d1f72787bb = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13011
13047
|
const { __scopeMenu: __scopeMenu , ...groupProps } = props;
|
13012
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
13048
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
13013
13049
|
role: "group"
|
13014
13050
|
}, groupProps, {
|
13015
13051
|
ref: forwardedRef
|
@@ -13017,7 +13053,7 @@ const $6cc32821e9371a1c$export$22a631d1f72787bb = /*#__PURE__*/ forwardRef((prop
|
|
13017
13053
|
});
|
13018
13054
|
const $6cc32821e9371a1c$export$dd37bec0e8a99143 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13019
13055
|
const { __scopeMenu: __scopeMenu , ...labelProps } = props;
|
13020
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
13056
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({}, labelProps, {
|
13021
13057
|
ref: forwardedRef
|
13022
13058
|
}));
|
13023
13059
|
});
|
@@ -13048,7 +13084,7 @@ const $6cc32821e9371a1c$export$2ce376c2cc3355c8 = /*#__PURE__*/ forwardRef((prop
|
|
13048
13084
|
else rootContext.onClose();
|
13049
13085
|
}
|
13050
13086
|
};
|
13051
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuItemImpl, _extends$
|
13087
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$MenuItemImpl, _extends$L({}, itemProps, {
|
13052
13088
|
ref: composedRefs,
|
13053
13089
|
disabled: disabled,
|
13054
13090
|
onClick: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onClick, handleSelect),
|
@@ -13100,11 +13136,11 @@ const $6cc32821e9371a1c$export$2ce376c2cc3355c8 = /*#__PURE__*/ forwardRef((prop
|
|
13100
13136
|
scope: __scopeMenu,
|
13101
13137
|
disabled: disabled,
|
13102
13138
|
textValue: textValue !== null && textValue !== void 0 ? textValue : textContent
|
13103
|
-
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends$
|
13139
|
+
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends$L({
|
13104
13140
|
asChild: true
|
13105
13141
|
}, rovingFocusGroupScope, {
|
13106
13142
|
focusable: !disabled
|
13107
|
-
}), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
13143
|
+
}), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
13108
13144
|
role: "menuitem",
|
13109
13145
|
"data-highlighted": isFocused ? '' : undefined,
|
13110
13146
|
"aria-disabled": disabled || undefined,
|
@@ -13134,7 +13170,7 @@ const $6cc32821e9371a1c$export$f6f243521332502d = /*#__PURE__*/ forwardRef((prop
|
|
13134
13170
|
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$ItemIndicatorProvider, {
|
13135
13171
|
scope: props.__scopeMenu,
|
13136
13172
|
checked: checked
|
13137
|
-
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$2ce376c2cc3355c8, _extends$
|
13173
|
+
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$2ce376c2cc3355c8, _extends$L({
|
13138
13174
|
role: "menuitemcheckbox",
|
13139
13175
|
"aria-checked": checked
|
13140
13176
|
}, checkboxItemProps, {
|
@@ -13160,7 +13196,7 @@ const $6cc32821e9371a1c$export$ea2200c9eee416b3 = /*#__PURE__*/ forwardRef((prop
|
|
13160
13196
|
scope: props.__scopeMenu,
|
13161
13197
|
value: value,
|
13162
13198
|
onValueChange: handleValueChange
|
13163
|
-
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$22a631d1f72787bb, _extends$
|
13199
|
+
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$22a631d1f72787bb, _extends$L({}, groupProps, {
|
13164
13200
|
ref: forwardedRef
|
13165
13201
|
})));
|
13166
13202
|
});
|
@@ -13174,7 +13210,7 @@ const $6cc32821e9371a1c$export$69bd225e9817f6d0 = /*#__PURE__*/ forwardRef((prop
|
|
13174
13210
|
return /*#__PURE__*/ createElement($6cc32821e9371a1c$var$ItemIndicatorProvider, {
|
13175
13211
|
scope: props.__scopeMenu,
|
13176
13212
|
checked: checked
|
13177
|
-
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$2ce376c2cc3355c8, _extends$
|
13213
|
+
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$2ce376c2cc3355c8, _extends$L({
|
13178
13214
|
role: "menuitemradio",
|
13179
13215
|
"aria-checked": checked
|
13180
13216
|
}, radioItemProps, {
|
@@ -13199,7 +13235,7 @@ const $6cc32821e9371a1c$export$a2593e23056970a3 = /*#__PURE__*/ forwardRef((prop
|
|
13199
13235
|
const indicatorContext = $6cc32821e9371a1c$var$useItemIndicatorContext($6cc32821e9371a1c$var$ITEM_INDICATOR_NAME, __scopeMenu);
|
13200
13236
|
return /*#__PURE__*/ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
13201
13237
|
present: forceMount || indicatorContext.checked
|
13202
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$
|
13238
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$L({}, itemIndicatorProps, {
|
13203
13239
|
ref: forwardedRef,
|
13204
13240
|
"data-state": $6cc32821e9371a1c$var$getCheckedState(indicatorContext.checked)
|
13205
13241
|
})));
|
@@ -13207,7 +13243,7 @@ const $6cc32821e9371a1c$export$a2593e23056970a3 = /*#__PURE__*/ forwardRef((prop
|
|
13207
13243
|
const $6cc32821e9371a1c$export$bcdda4773debf5fa = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13208
13244
|
const { __scopeMenu: __scopeMenu , ...arrowProps } = props;
|
13209
13245
|
const popperScope = $6cc32821e9371a1c$var$usePopperScope(__scopeMenu);
|
13210
|
-
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$
|
13246
|
+
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$L({}, popperScope, arrowProps, {
|
13211
13247
|
ref: forwardedRef
|
13212
13248
|
}));
|
13213
13249
|
});
|
@@ -13335,7 +13371,7 @@ const $d08ef79370b62062$export$e44a253a59704894 = (props)=>{
|
|
13335
13371
|
setOpen
|
13336
13372
|
]),
|
13337
13373
|
modal: modal
|
13338
|
-
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$be92b6f5f03c0fe9, _extends$
|
13374
|
+
}, /*#__PURE__*/ createElement($6cc32821e9371a1c$export$be92b6f5f03c0fe9, _extends$L({}, menuScope, {
|
13339
13375
|
open: open,
|
13340
13376
|
onOpenChange: setOpen,
|
13341
13377
|
dir: dir,
|
@@ -13349,9 +13385,9 @@ const $d08ef79370b62062$export$d2469213b3befba9 = /*#__PURE__*/ forwardRef((prop
|
|
13349
13385
|
const { __scopeDropdownMenu: __scopeDropdownMenu , disabled: disabled = false , ...triggerProps } = props;
|
13350
13386
|
const context = $d08ef79370b62062$var$useDropdownMenuContext($d08ef79370b62062$var$TRIGGER_NAME, __scopeDropdownMenu);
|
13351
13387
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13352
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$b688253958b8dfe7, _extends$
|
13388
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$b688253958b8dfe7, _extends$L({
|
13353
13389
|
asChild: true
|
13354
|
-
}, menuScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$
|
13390
|
+
}, menuScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$L({
|
13355
13391
|
type: "button",
|
13356
13392
|
id: context.triggerId,
|
13357
13393
|
"aria-haspopup": "menu",
|
@@ -13393,7 +13429,7 @@ const $d08ef79370b62062$export$6e76d93a37c01248 = /*#__PURE__*/ forwardRef((prop
|
|
13393
13429
|
const context = $d08ef79370b62062$var$useDropdownMenuContext($d08ef79370b62062$var$CONTENT_NAME, __scopeDropdownMenu);
|
13394
13430
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13395
13431
|
const hasInteractedOutsideRef = useRef(false);
|
13396
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$7c6e2c02157bb7d2, _extends$
|
13432
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$7c6e2c02157bb7d2, _extends$L({
|
13397
13433
|
id: context.contentId,
|
13398
13434
|
"aria-labelledby": context.triggerId
|
13399
13435
|
}, menuScope, contentProps, {
|
@@ -13420,56 +13456,56 @@ const $d08ef79370b62062$export$6e76d93a37c01248 = /*#__PURE__*/ forwardRef((prop
|
|
13420
13456
|
const $d08ef79370b62062$export$246bebaba3a2f70e = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13421
13457
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...groupProps } = props;
|
13422
13458
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13423
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$eb2fcfdbd7ba97d4, _extends$
|
13459
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$eb2fcfdbd7ba97d4, _extends$L({}, menuScope, groupProps, {
|
13424
13460
|
ref: forwardedRef
|
13425
13461
|
}));
|
13426
13462
|
});
|
13427
13463
|
const $d08ef79370b62062$export$76e48c5b57f24495 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13428
13464
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...labelProps } = props;
|
13429
13465
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13430
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$b04be29aa201d4f5, _extends$
|
13466
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$b04be29aa201d4f5, _extends$L({}, menuScope, labelProps, {
|
13431
13467
|
ref: forwardedRef
|
13432
13468
|
}));
|
13433
13469
|
});
|
13434
13470
|
const $d08ef79370b62062$export$ed97964d1871885d = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13435
13471
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...itemProps } = props;
|
13436
13472
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13437
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$6d08773d2e66f8f2, _extends$
|
13473
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$6d08773d2e66f8f2, _extends$L({}, menuScope, itemProps, {
|
13438
13474
|
ref: forwardedRef
|
13439
13475
|
}));
|
13440
13476
|
});
|
13441
13477
|
const $d08ef79370b62062$export$53a69729da201fa9 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13442
13478
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...checkboxItemProps } = props;
|
13443
13479
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13444
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$16ce288f89fa631c, _extends$
|
13480
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$16ce288f89fa631c, _extends$L({}, menuScope, checkboxItemProps, {
|
13445
13481
|
ref: forwardedRef
|
13446
13482
|
}));
|
13447
13483
|
});
|
13448
13484
|
const $d08ef79370b62062$export$3323ad73d55f587e = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13449
13485
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...radioGroupProps } = props;
|
13450
13486
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13451
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$a98f0dcb43a68a25, _extends$
|
13487
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$a98f0dcb43a68a25, _extends$L({}, menuScope, radioGroupProps, {
|
13452
13488
|
ref: forwardedRef
|
13453
13489
|
}));
|
13454
13490
|
});
|
13455
13491
|
const $d08ef79370b62062$export$e4f69b41b1637536 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13456
13492
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...radioItemProps } = props;
|
13457
13493
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13458
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$371ab307eab489c0, _extends$
|
13494
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$371ab307eab489c0, _extends$L({}, menuScope, radioItemProps, {
|
13459
13495
|
ref: forwardedRef
|
13460
13496
|
}));
|
13461
13497
|
});
|
13462
13498
|
const $d08ef79370b62062$export$42355ae145153fb6 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13463
13499
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...itemIndicatorProps } = props;
|
13464
13500
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13465
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$c3468e2714d175fa, _extends$
|
13501
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$c3468e2714d175fa, _extends$L({}, menuScope, itemIndicatorProps, {
|
13466
13502
|
ref: forwardedRef
|
13467
13503
|
}));
|
13468
13504
|
});
|
13469
13505
|
const $d08ef79370b62062$export$34b8980744021ec5 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
13470
13506
|
const { __scopeDropdownMenu: __scopeDropdownMenu , ...arrowProps } = props;
|
13471
13507
|
const menuScope = $d08ef79370b62062$var$useMenuScope(__scopeDropdownMenu);
|
13472
|
-
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$21b07c8f274aebd5, _extends$
|
13508
|
+
return /*#__PURE__*/ createElement($6cc32821e9371a1c$export$21b07c8f274aebd5, _extends$L({}, menuScope, arrowProps, {
|
13473
13509
|
ref: forwardedRef
|
13474
13510
|
}));
|
13475
13511
|
});
|
@@ -15285,7 +15321,7 @@ const $409067139f391064$export$6eb0f7ddcda6131f = /*#__PURE__*/ forwardRef((prop
|
|
15285
15321
|
, [
|
15286
15322
|
setOpen
|
15287
15323
|
])
|
15288
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
15324
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
15289
15325
|
"data-state": $409067139f391064$var$getState(open),
|
15290
15326
|
"data-disabled": disabled ? '' : undefined
|
15291
15327
|
}, collapsibleProps, {
|
@@ -15298,7 +15334,7 @@ const $409067139f391064$export$6eb0f7ddcda6131f = /*#__PURE__*/ forwardRef((prop
|
|
15298
15334
|
const $409067139f391064$export$c135dce7b15bbbdc = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
15299
15335
|
const { __scopeCollapsible: __scopeCollapsible , ...triggerProps } = props;
|
15300
15336
|
const context = $409067139f391064$var$useCollapsibleContext($409067139f391064$var$TRIGGER_NAME, __scopeCollapsible);
|
15301
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$
|
15337
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$L({
|
15302
15338
|
type: "button",
|
15303
15339
|
"aria-controls": context.contentId,
|
15304
15340
|
"aria-expanded": context.open || false,
|
@@ -15318,7 +15354,7 @@ const $409067139f391064$export$aadde00976f34151 = /*#__PURE__*/ forwardRef((prop
|
|
15318
15354
|
const context = $409067139f391064$var$useCollapsibleContext($409067139f391064$var$CONTENT_NAME, props.__scopeCollapsible);
|
15319
15355
|
return /*#__PURE__*/ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
15320
15356
|
present: forceMount || context.open
|
15321
|
-
}, ({ present: present })=>/*#__PURE__*/ createElement($409067139f391064$var$CollapsibleContentImpl, _extends$
|
15357
|
+
}, ({ present: present })=>/*#__PURE__*/ createElement($409067139f391064$var$CollapsibleContentImpl, _extends$L({}, contentProps, {
|
15322
15358
|
ref: forwardedRef,
|
15323
15359
|
present: present
|
15324
15360
|
}))
|
@@ -15374,7 +15410,7 @@ const $409067139f391064$export$aadde00976f34151 = /*#__PURE__*/ forwardRef((prop
|
|
15374
15410
|
context.open,
|
15375
15411
|
present
|
15376
15412
|
]);
|
15377
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
15413
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
15378
15414
|
"data-state": $409067139f391064$var$getState(context.open),
|
15379
15415
|
"data-disabled": context.disabled ? '' : undefined,
|
15380
15416
|
id: context.contentId,
|
@@ -15583,7 +15619,7 @@ const $ce77a8961b41be9e$export$d7b12c4107be0d61 = /*#__PURE__*/ forwardRef((prop
|
|
15583
15619
|
scope: __scopeRadio,
|
15584
15620
|
checked: checked,
|
15585
15621
|
disabled: disabled
|
15586
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$
|
15622
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$L({
|
15587
15623
|
type: "button",
|
15588
15624
|
role: "radio",
|
15589
15625
|
"aria-checked": checked,
|
@@ -15626,7 +15662,7 @@ const $ce77a8961b41be9e$export$d35a9ffa9a04f9e7 = /*#__PURE__*/ forwardRef((prop
|
|
15626
15662
|
const context = $ce77a8961b41be9e$var$useRadioContext($ce77a8961b41be9e$var$INDICATOR_NAME, __scopeRadio);
|
15627
15663
|
return /*#__PURE__*/ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
15628
15664
|
present: forceMount || context.checked
|
15629
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$
|
15665
|
+
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$L({
|
15630
15666
|
"data-state": $ce77a8961b41be9e$var$getState(context.checked),
|
15631
15667
|
"data-disabled": context.disabled ? '' : undefined
|
15632
15668
|
}, indicatorProps, {
|
@@ -15655,7 +15691,7 @@ const $ce77a8961b41be9e$export$d35a9ffa9a04f9e7 = /*#__PURE__*/ forwardRef((prop
|
|
15655
15691
|
checked,
|
15656
15692
|
bubbles
|
15657
15693
|
]);
|
15658
|
-
return /*#__PURE__*/ createElement("input", _extends$
|
15694
|
+
return /*#__PURE__*/ createElement("input", _extends$L({
|
15659
15695
|
type: "radio",
|
15660
15696
|
"aria-hidden": true,
|
15661
15697
|
defaultChecked: checked
|
@@ -15710,13 +15746,13 @@ const $f99a8c78507165f7$export$a98f0dcb43a68a25 = /*#__PURE__*/ forwardRef((prop
|
|
15710
15746
|
required: required,
|
15711
15747
|
value: value,
|
15712
15748
|
onValueChange: setValue
|
15713
|
-
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends$
|
15749
|
+
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends$L({
|
15714
15750
|
asChild: true
|
15715
15751
|
}, rovingFocusGroupScope, {
|
15716
15752
|
orientation: orientation,
|
15717
15753
|
dir: direction,
|
15718
15754
|
loop: loop
|
15719
|
-
}), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$
|
15755
|
+
}), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends$L({
|
15720
15756
|
role: "radiogroup",
|
15721
15757
|
"aria-required": required,
|
15722
15758
|
"aria-orientation": orientation,
|
@@ -15751,12 +15787,12 @@ const $f99a8c78507165f7$export$9f866c100ef519e4 = /*#__PURE__*/ forwardRef((prop
|
|
15751
15787
|
document.removeEventListener('keyup', handleKeyUp);
|
15752
15788
|
};
|
15753
15789
|
}, []);
|
15754
|
-
return /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends$
|
15790
|
+
return /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends$L({
|
15755
15791
|
asChild: true
|
15756
15792
|
}, rovingFocusGroupScope, {
|
15757
15793
|
focusable: !disabled,
|
15758
15794
|
active: checked
|
15759
|
-
}), /*#__PURE__*/ createElement($ce77a8961b41be9e$export$d7b12c4107be0d61, _extends$
|
15795
|
+
}), /*#__PURE__*/ createElement($ce77a8961b41be9e$export$d7b12c4107be0d61, _extends$L({
|
15760
15796
|
disabled: disabled,
|
15761
15797
|
required: context.required,
|
15762
15798
|
checked: checked
|
@@ -15782,7 +15818,7 @@ const $f99a8c78507165f7$export$9f866c100ef519e4 = /*#__PURE__*/ forwardRef((prop
|
|
15782
15818
|
const $f99a8c78507165f7$export$5fb54c671a65c88 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
15783
15819
|
const { __scopeRadioGroup: __scopeRadioGroup , ...indicatorProps } = props;
|
15784
15820
|
const radioScope = $f99a8c78507165f7$var$useRadioScope(__scopeRadioGroup);
|
15785
|
-
return /*#__PURE__*/ createElement($ce77a8961b41be9e$export$d35a9ffa9a04f9e7, _extends$
|
15821
|
+
return /*#__PURE__*/ createElement($ce77a8961b41be9e$export$d35a9ffa9a04f9e7, _extends$L({}, radioScope, indicatorProps, {
|
15786
15822
|
ref: forwardedRef
|
15787
15823
|
}));
|
15788
15824
|
});
|
@@ -15864,6 +15900,11 @@ var SettingsButton = function (_a) {
|
|
15864
15900
|
var css_248z$e = "";
|
15865
15901
|
styleInject(css_248z$e);
|
15866
15902
|
|
15903
|
+
var Tag = function (_a) {
|
15904
|
+
var style = _a.style, children = _a.children;
|
15905
|
+
return (React__default.createElement("code", { style: __assign({ width: 'fit-content', display: 'flex', alignItems: 'center', padding: '0px 6px', border: '1px solid var(--primary)', borderRadius: 4, color: 'var(--primary)', background: 'var(--primary0)', textDecoration: 'none', fontVariantNumeric: 'tabular-nums' }, style) }, children));
|
15906
|
+
};
|
15907
|
+
|
15867
15908
|
var css_248z$d = ":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.text-input {\n width: 100%;\n display: flex;\n border-radius: 4px;\n box-sizing: border-box;\n border: 1px solid var(--primary);\n}\n\n.text-input:hover {\n box-shadow: 0 1px 2px 0 rgba(26, 115, 232, 0.45), 0 1px 3px 1px rgba(26, 115, 232, 0.3);\n}\n\n.text-input-disabled:hover {\n box-shadow: none;\n}\n\n.text-input input {\n width: 100%;\n color: var(--slate12);\n}\n\n.text-input input::placeholder {\n color: var(--slate10);\n}\n\n.text-input i svg {\n fill: var(--primary);\n}\n\n.text-input button,\n.text-input textarea,\n.text-input input {\n display: flex;\n padding: 9px 10px;\n cursor: pointer;\n float: left;\n z-index: 10;\n align-items: center;\n gap: 8px;\n border: none;\n line-height: 1.5rem;\n}\n\n.text-input button:first-child,\n.text-input input:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n\n.text-input button:last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n border-left-color: #096dd9;\n}\n\n.text-input button:not(:last-child),\n.text-input input:not(:last-child) {\n border-right: none;\n}\n\n.text-input textarea:not(:last-child) {\n border-right: none;\n}\n\n.text-input button:focus-visible,\n.text-input input:focus-visible {\n outline: none;\n}\n\n.text-input textarea:focus-visible {\n outline: none;\n}\n\n.text-input button:focus,\n.text-input input:focus {\n outline: none;\n}\n\n/* Clear floats (clearfix hack) */\n.text-input:after {\n content: \"\";\n clear: both;\n display: table;\n}";
|
15868
15909
|
styleInject(css_248z$d);
|
15869
15910
|
|
@@ -15901,7 +15942,7 @@ var TextInput = function (_a) {
|
|
15901
15942
|
};
|
15902
15943
|
|
15903
15944
|
const $ea1ef594cf570d83$export$439d29a4e110a164 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
15904
|
-
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$
|
15945
|
+
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends$L({}, props, {
|
15905
15946
|
ref: forwardedRef,
|
15906
15947
|
style: {
|
15907
15948
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
@@ -16036,9 +16077,9 @@ const $a093c7e1ec25a057$export$8c610744efcf8a1d = /*#__PURE__*/ forwardRef((prop
|
|
16036
16077
|
}, [
|
16037
16078
|
handlePointerUp
|
16038
16079
|
]);
|
16039
|
-
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$
|
16080
|
+
return /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends$L({
|
16040
16081
|
asChild: true
|
16041
|
-
}, popperScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$
|
16082
|
+
}, popperScope), /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends$L({
|
16042
16083
|
// We purposefully avoid adding `type=button` here because tooltip triggers are also
|
16043
16084
|
// commonly anchors and the anchor `type` attribute signifies MIME type.
|
16044
16085
|
"aria-describedby": context.open ? context.contentId : undefined,
|
@@ -16089,11 +16130,11 @@ const $a093c7e1ec25a057$export$e9003e2be37ec060 = /*#__PURE__*/ forwardRef((prop
|
|
16089
16130
|
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$CONTENT_NAME, props.__scopeTooltip);
|
16090
16131
|
return /*#__PURE__*/ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
16091
16132
|
present: forceMount || context.open
|
16092
|
-
}, context.disableHoverableContent ? /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
16133
|
+
}, context.disableHoverableContent ? /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$L({
|
16093
16134
|
side: side
|
16094
16135
|
}, contentProps, {
|
16095
16136
|
ref: forwardedRef
|
16096
|
-
})) : /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$
|
16137
|
+
})) : /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends$L({
|
16097
16138
|
side: side
|
16098
16139
|
}, contentProps, {
|
16099
16140
|
ref: forwardedRef
|
@@ -16192,7 +16233,7 @@ const $a093c7e1ec25a057$var$TooltipContentHoverable = /*#__PURE__*/ forwardRef((
|
|
16192
16233
|
onClose,
|
16193
16234
|
handleRemoveGraceArea
|
16194
16235
|
]);
|
16195
|
-
return /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$
|
16236
|
+
return /*#__PURE__*/ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends$L({}, props, {
|
16196
16237
|
ref: composedRefs
|
16197
16238
|
}));
|
16198
16239
|
});
|
@@ -16237,7 +16278,7 @@ const $a093c7e1ec25a057$var$TooltipContentImpl = /*#__PURE__*/ forwardRef((props
|
|
16237
16278
|
onFocusOutside: (event)=>event.preventDefault()
|
16238
16279
|
,
|
16239
16280
|
onDismiss: onClose
|
16240
|
-
}, /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$
|
16281
|
+
}, /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends$L({
|
16241
16282
|
"data-state": context.stateAttribute
|
16242
16283
|
}, popperScope, contentProps, {
|
16243
16284
|
ref: forwardedRef,
|
@@ -16262,7 +16303,7 @@ const $a093c7e1ec25a057$export$c27ee0ad710f7559 = /*#__PURE__*/ forwardRef((prop
|
|
16262
16303
|
const popperScope = $a093c7e1ec25a057$var$usePopperScope(__scopeTooltip);
|
16263
16304
|
const visuallyHiddenContentContext = $a093c7e1ec25a057$var$useVisuallyHiddenContentContext($a093c7e1ec25a057$var$ARROW_NAME, __scopeTooltip); // if the arrow is inside the `VisuallyHidden`, we don't want to render it all to
|
16264
16305
|
// prevent issues in positioning the arrow due to the duplicate
|
16265
|
-
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$
|
16306
|
+
return visuallyHiddenContentContext.isInside ? null : /*#__PURE__*/ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends$L({}, popperScope, arrowProps, {
|
16266
16307
|
ref: forwardedRef
|
16267
16308
|
}));
|
16268
16309
|
});
|
@@ -45862,7 +45903,7 @@ var onErrorRetry = function (_, __, config, revalidate, opts) {
|
|
45862
45903
|
setTimeout(revalidate, timeout, opts);
|
45863
45904
|
};
|
45864
45905
|
// Default cache provider
|
45865
|
-
var _a = initCache(new Map()), cache = _a[0], mutate = _a[1];
|
45906
|
+
var _a$1 = initCache(new Map()), cache = _a$1[0], mutate = _a$1[1];
|
45866
45907
|
// Default config
|
45867
45908
|
var defaultConfig = mergeObjects({
|
45868
45909
|
// events
|
@@ -48261,7 +48302,7 @@ function genCSSMotionList(transitionSupport) {
|
|
48261
48302
|
eventProps = _objectWithoutProperties(_ref2, _excluded2);
|
48262
48303
|
|
48263
48304
|
var visible = status === STATUS_ADD || status === STATUS_KEEP;
|
48264
|
-
return /*#__PURE__*/React.createElement(CSSMotion$1, _extends$
|
48305
|
+
return /*#__PURE__*/React.createElement(CSSMotion$1, _extends$L({}, motionProps, {
|
48265
48306
|
key: eventProps.key,
|
48266
48307
|
visible: visible,
|
48267
48308
|
eventProps: eventProps,
|
@@ -48368,7 +48409,7 @@ function Mask(props) {
|
|
48368
48409
|
}));
|
48369
48410
|
}
|
48370
48411
|
|
48371
|
-
return /*#__PURE__*/React.createElement(CSSMotion, _extends$
|
48412
|
+
return /*#__PURE__*/React.createElement(CSSMotion, _extends$L({}, motion, {
|
48372
48413
|
visible: visible,
|
48373
48414
|
removeOnLeave: true
|
48374
48415
|
}), function (_ref) {
|
@@ -51484,7 +51525,7 @@ var PopupInner = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
51484
51525
|
}, children);
|
51485
51526
|
}
|
51486
51527
|
|
51487
|
-
return /*#__PURE__*/React.createElement(CSSMotion, _extends$
|
51528
|
+
return /*#__PURE__*/React.createElement(CSSMotion, _extends$L({
|
51488
51529
|
visible: visible,
|
51489
51530
|
ref: elementRef,
|
51490
51531
|
leavedClassName: "".concat(prefixCls, "-hidden")
|
@@ -51560,7 +51601,7 @@ var MobilePopupInner = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
51560
51601
|
childNode = popupRender(childNode);
|
51561
51602
|
}
|
51562
51603
|
|
51563
|
-
return /*#__PURE__*/React.createElement(CSSMotion, _extends$
|
51604
|
+
return /*#__PURE__*/React.createElement(CSSMotion, _extends$L({
|
51564
51605
|
visible: visible,
|
51565
51606
|
ref: elementRef,
|
51566
51607
|
removeOnLeave: true
|
@@ -51607,10 +51648,10 @@ var Popup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
51607
51648
|
setInMobile(isMobile());
|
51608
51649
|
}
|
51609
51650
|
}, [visible, mobile]);
|
51610
|
-
var popupNode = inMobile ? /*#__PURE__*/React.createElement(MobilePopupInner, _extends$
|
51651
|
+
var popupNode = inMobile ? /*#__PURE__*/React.createElement(MobilePopupInner, _extends$L({}, cloneProps, {
|
51611
51652
|
mobile: mobile,
|
51612
51653
|
ref: ref
|
51613
|
-
})) : /*#__PURE__*/React.createElement(PopupInner, _extends$
|
51654
|
+
})) : /*#__PURE__*/React.createElement(PopupInner, _extends$L({}, cloneProps, {
|
51614
51655
|
ref: ref
|
51615
51656
|
})); // We can use fragment directly but this may failed some selector usage. Keep as origin logic
|
51616
51657
|
|
@@ -51914,7 +51955,7 @@ function generateTrigger(PortalComponent) {
|
|
51914
51955
|
|
51915
51956
|
mouseProps.onMouseDown = _this.onPopupMouseDown;
|
51916
51957
|
mouseProps.onTouchStart = _this.onPopupMouseDown;
|
51917
|
-
return /*#__PURE__*/React.createElement(Popup, _extends$
|
51958
|
+
return /*#__PURE__*/React.createElement(Popup, _extends$L({
|
51918
51959
|
prefixCls: prefixCls,
|
51919
51960
|
destroyPopupOnHide: destroyPopupOnHide,
|
51920
51961
|
visible: popupVisible,
|
@@ -53650,14 +53691,50 @@ var overlayOptions = [
|
|
53650
53691
|
var SendResults = function (_a) {
|
53651
53692
|
var _b;
|
53652
53693
|
var results = _a.results, defaultAction = _a.defaultAction, defaultKey = _a.defaultKey, optionsConfig = _a.optionsConfig, geometryOptions = _a.geometryOptions;
|
53653
|
-
var _c = useState(
|
53654
|
-
|
53655
|
-
|
53694
|
+
var _c = useState(results), currResults = _c[0], setCurrResults = _c[1];
|
53695
|
+
useEffect(function () { return setCurrResults(results); }, [results]);
|
53696
|
+
/**
|
53697
|
+
* Dataset mapping
|
53698
|
+
*/
|
53699
|
+
var dataSets = useMemo(function () {
|
53700
|
+
var _a;
|
53701
|
+
if (!currResults)
|
53702
|
+
return [];
|
53703
|
+
var res = results;
|
53704
|
+
var analysisGeometry = (_a = res === null || res === void 0 ? void 0 : res.geometry) === null || _a === void 0 ? void 0 : _a.filter(function (g) { return g.type === 'AnalysisGeometry'; });
|
53705
|
+
if (!analysisGeometry || (analysisGeometry === null || analysisGeometry === void 0 ? void 0 : analysisGeometry.length) === 0)
|
53706
|
+
return [];
|
53707
|
+
return analysisGeometry.map(function (a) {
|
53708
|
+
var _a, _b, _c;
|
53709
|
+
var labels = (_b = (_a = a === null || a === void 0 ? void 0 : a.data_sets) === null || _a === void 0 ? void 0 : _a.map(function (d, index) { var _a, _b; return (_b = (_a = d === null || d === void 0 ? void 0 : d.data_type) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : "Data-".concat(index); })) !== null && _b !== void 0 ? _b : [];
|
53710
|
+
return {
|
53711
|
+
identifier: a === null || a === void 0 ? void 0 : a.identifier,
|
53712
|
+
activeData: a === null || a === void 0 ? void 0 : a.active_data,
|
53713
|
+
labels: labels,
|
53714
|
+
ids: (_c = labels === null || labels === void 0 ? void 0 : labels.map(function (l, index) { return "".concat(index, "::").concat(a === null || a === void 0 ? void 0 : a.identifier, "::").concat(l); })) !== null && _c !== void 0 ? _c : []
|
53715
|
+
};
|
53716
|
+
});
|
53717
|
+
}, [currResults]);
|
53718
|
+
var _d = useState(defaultKey !== null && defaultKey !== void 0 ? defaultKey : performance.now().toString()), key = _d[0], setKey = _d[1];
|
53719
|
+
var _e = useState(), currOption = _e[0], setCurrOption = _e[1];
|
53656
53720
|
var host = getHost();
|
53657
53721
|
var sendMessage = useSendMessage().sendMessage;
|
53658
53722
|
var disabled = useMemo(function () {
|
53659
53723
|
return !checkPollinationPanel();
|
53660
53724
|
}, []);
|
53725
|
+
var onSelect = function (o) { return setCurrOption(o); };
|
53726
|
+
var onSelectDataSet = function (o) {
|
53727
|
+
console.log(o);
|
53728
|
+
setCurrResults(function (prev) {
|
53729
|
+
var _a = o.id.split('::'), num = _a[0], id = _a[1]; _a[2];
|
53730
|
+
prev.geometry.forEach(function (geo) {
|
53731
|
+
if ((geo === null || geo === void 0 ? void 0 : geo.identifier) === id) {
|
53732
|
+
geo['active_data'] = Number(num);
|
53733
|
+
}
|
53734
|
+
});
|
53735
|
+
return prev;
|
53736
|
+
});
|
53737
|
+
};
|
53661
53738
|
var values = useMemo(function () {
|
53662
53739
|
if (!optionsConfig)
|
53663
53740
|
return overlayOptions;
|
@@ -53673,21 +53750,21 @@ var SendResults = function (_a) {
|
|
53673
53750
|
setKey(defaultKey);
|
53674
53751
|
}, [defaultKey]);
|
53675
53752
|
useEffect(function () {
|
53676
|
-
if (disabled || (currOption === null || currOption === void 0 ? void 0 : currOption.id) !== Action.subscribePreview)
|
53753
|
+
if (disabled || !currResults || (currOption === null || currOption === void 0 ? void 0 : currOption.id) !== Action.subscribePreview)
|
53677
53754
|
return;
|
53678
53755
|
sendMessage('SubscribePreviewResults', {
|
53679
|
-
data:
|
53756
|
+
data: currResults,
|
53680
53757
|
uniqueId: key,
|
53681
53758
|
options: geometryOptions,
|
53682
53759
|
});
|
53683
53760
|
return function () {
|
53684
53761
|
sendMessage('ClearResults', {
|
53685
|
-
data:
|
53762
|
+
data: currResults,
|
53686
53763
|
uniqueId: key,
|
53687
53764
|
options: geometryOptions,
|
53688
53765
|
});
|
53689
53766
|
};
|
53690
|
-
}, [disabled, geometryOptions, key,
|
53767
|
+
}, [disabled, geometryOptions, key, currResults, currOption, sendMessage]);
|
53691
53768
|
var helpTextButton = {
|
53692
53769
|
add: "Add results to the ".concat(host, " viewport"),
|
53693
53770
|
preview: "Preview results in the ".concat(host, " viewport"),
|
@@ -53708,20 +53785,42 @@ var SendResults = function (_a) {
|
|
53708
53785
|
React__default.createElement(Button, { title: helpTextButton[currOption === null || currOption === void 0 ? void 0 : currOption.id], disabled: disabled, style: {
|
53709
53786
|
width: '100%',
|
53710
53787
|
fontSize: '14px',
|
53711
|
-
border: 'solid 1px #fff'
|
53788
|
+
border: 'solid 1px #fff',
|
53712
53789
|
}, onClick: function (e) {
|
53713
53790
|
e.stopPropagation();
|
53714
53791
|
if (disabled)
|
53715
53792
|
return;
|
53716
53793
|
sendMessage(getAction(currOption === null || currOption === void 0 ? void 0 : currOption.id), {
|
53717
|
-
data:
|
53794
|
+
data: currResults,
|
53718
53795
|
uniqueId: key,
|
53719
53796
|
options: geometryOptions,
|
53720
53797
|
});
|
53721
53798
|
} },
|
53722
53799
|
!disabled && (currOption === null || currOption === void 0 ? void 0 : currOption.icon),
|
53723
53800
|
!disabled && ((_b = currOption === null || currOption === void 0 ? void 0 : currOption.label) !== null && _b !== void 0 ? _b : 'Pollination'),
|
53724
|
-
disabled && React__default.createElement("span", { style: { color: 'red' } }, "Enabled in Pollination CAD plugins")
|
53801
|
+
disabled && React__default.createElement("span", { style: { color: 'red' } }, "Enabled in Pollination CAD plugins"),
|
53802
|
+
(currOption === null || currOption === void 0 ? void 0 : currOption.id)
|
53803
|
+
&& ((currOption === null || currOption === void 0 ? void 0 : currOption.id) === Action.preview || (currOption === null || currOption === void 0 ? void 0 : currOption.id) === Action.subscribePreview)
|
53804
|
+
&& dataSets.length > 1 && (dataSets === null || dataSets === void 0 ? void 0 : dataSets.map(function (d) {
|
53805
|
+
var _a, _b;
|
53806
|
+
return React__default.createElement(BaseDropdown, { childOverlayStyle: {
|
53807
|
+
width: 'auto',
|
53808
|
+
backgroundColor: 'white',
|
53809
|
+
color: '#393e46',
|
53810
|
+
fontSize: '14px',
|
53811
|
+
padding: '10px',
|
53812
|
+
cursor: 'pointer'
|
53813
|
+
}, icon: React__default.createElement(Database$1, { size: 10, color: '#393e46' }), triggerStyle: {
|
53814
|
+
border: 'solid 1px #393e46',
|
53815
|
+
backgroundColor: '#fff',
|
53816
|
+
}, placement: 'bottomCenter', activeId: (_a = d.ids) === null || _a === void 0 ? void 0 : _a.at(d === null || d === void 0 ? void 0 : d.activeData), action: 'hover', disabled: disabled, onSelect: onSelectDataSet, options: (_b = d === null || d === void 0 ? void 0 : d.labels) === null || _b === void 0 ? void 0 : _b.map(function (l, index) {
|
53817
|
+
return {
|
53818
|
+
type: 'label',
|
53819
|
+
id: "".concat(index, "::").concat(d.identifier, "::").concat(l),
|
53820
|
+
label: l,
|
53821
|
+
};
|
53822
|
+
}) });
|
53823
|
+
}))));
|
53725
53824
|
};
|
53726
53825
|
|
53727
53826
|
var JobTabs;
|
@@ -55311,6 +55410,10 @@ var StudyCard = function (_a) {
|
|
55311
55410
|
" Cancel")))));
|
55312
55411
|
};
|
55313
55412
|
|
55413
|
+
var timezone = createCommonjsModule(function (module, exports) {
|
55414
|
+
!function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u<i.length;u+=1){var f=i[u],s=f.type,m=f.value,c=t[s];c>=0&&(r[c]=parseInt(m,10));}var d=r[3],l=24===d?0:d,v=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",h=+e;return (o.utc(v).valueOf()-(h-=h%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,"minute");}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return "timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return [i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t;};}}));
|
55415
|
+
});
|
55416
|
+
|
55314
55417
|
var RunTabs;
|
55315
55418
|
(function (RunTabs) {
|
55316
55419
|
RunTabs["details"] = "details";
|
@@ -55318,8 +55421,11 @@ var RunTabs;
|
|
55318
55421
|
RunTabs["workspace"] = "workspace";
|
55319
55422
|
})(RunTabs || (RunTabs = {}));
|
55320
55423
|
|
55424
|
+
var _a, _b, _c;
|
55321
55425
|
dayjs_min.extend(duration);
|
55322
55426
|
dayjs_min.extend(utc);
|
55427
|
+
dayjs_min.extend(timezone);
|
55428
|
+
var tmz = (_c = (_b = (_a = Intl === null || Intl === void 0 ? void 0 : Intl.DateTimeFormat()) === null || _a === void 0 ? void 0 : _a.resolvedOptions()) === null || _b === void 0 ? void 0 : _b.timeZone) === null || _c === void 0 ? void 0 : _c.toString();
|
55323
55429
|
var formatDuration = function (duration) {
|
55324
55430
|
return "".concat(duration.days() > 0 ? "".concat(duration.days(), " day").concat(duration.days() !== 1 ? 's' : '', " and ") : '', " ").concat(duration.format('HH:mm:ss'));
|
55325
55431
|
};
|
@@ -55494,7 +55600,8 @@ var RunCard = function (_a) {
|
|
55494
55600
|
else {
|
55495
55601
|
window.location.href = "/".concat(projectOwner, "/projects/").concat(projectName, "/?tab=local+studies");
|
55496
55602
|
}
|
55497
|
-
}, style: hover.project ? { all: 'unset', cursor: 'pointer', color: '#40a9ff' } : { all: 'unset', cursor: 'pointer' } }, projectName !== null && projectName !== void 0 ? projectName : '--'
|
55603
|
+
}, style: hover.project ? { all: 'unset', cursor: 'pointer', color: '#40a9ff' } : { all: 'unset', cursor: 'pointer' } }, projectName !== null && projectName !== void 0 ? projectName : '--',
|
55604
|
+
localRun && React__default.createElement(Tag, { style: { display: 'inline', marginLeft: '5px' } }, "local"))),
|
55498
55605
|
React__default.createElement("div", { className: 'item2' },
|
55499
55606
|
React__default.createElement("div", null,
|
55500
55607
|
!localRun && (!isReady || !study) && React__default.createElement(LoadingOutlined$1, { style: { margin: '0 10px 0 0' } }),
|
@@ -55588,7 +55695,7 @@ var RunCard = function (_a) {
|
|
55588
55695
|
}, style: { all: 'unset', cursor: 'pointer', color: "".concat(hover.study
|
55589
55696
|
? '#40a9ff' : '#000') } }, localRun ? (localStudy ? localStudy.name : _run['studyName'] // Get name from _run
|
55590
55697
|
) : (study ? (_g = study.spec.name) !== null && _g !== void 0 ? _g : "Study: ".concat(study.id) : '--'))),
|
55591
|
-
React__default.createElement("div", { className: 'item4', title: run && dayjs_min(run.status.started_at).format('[on] MMM DD YYYY [at] hh:mm') }, run ? dayjs_min(run.status.started_at).format('[on] MMM DD YYYY') : '--'),
|
55698
|
+
React__default.createElement("div", { className: 'item4', title: run && dayjs_min(run.status.started_at).utc(true).tz(tmz).format('[on] MMM DD YYYY [at] hh:mm') }, run ? dayjs_min(run.status.started_at).utc(true).tz(tmz).format('[on] MMM DD YYYY') : '--'),
|
55592
55699
|
React__default.createElement("div", { className: 'item5' },
|
55593
55700
|
React__default.createElement("span", { style: { marginRight: '0.75rem' } },
|
55594
55701
|
!localRun && React__default.createElement(Avatar, { color: hover.author ? '#40a9ff' : undefined, src: run ? (_h = run.author) === null || _h === void 0 ? void 0 : _h.picture_url : '', size: 24 }),
|