@darajs/core 1.4.4 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dara_core-1.4.4-py3-none-any.whl → dara_core-1.4.6-py3-none-any.whl} +0 -0
- package/dist/shared/utils/use-action.d.ts +7 -3
- package/dist/shared/utils/use-action.d.ts.map +1 -1
- package/dist/shared/utils/use-action.js +37 -32
- package/dist/shared/utils/use-action.js.map +1 -1
- package/dist/types/core.d.ts +5 -1
- package/dist/types/core.d.ts.map +1 -1
- package/dist/umd/dara.core.umd.js +393 -279
- package/package.json +9 -9
|
@@ -31,8 +31,8 @@ var __publicField = (obj, key, value) => {
|
|
|
31
31
|
const React__namespace = /* @__PURE__ */ _interopNamespace(React);
|
|
32
32
|
const ReactDOM__default = /* @__PURE__ */ _interopDefaultLegacy(ReactDOM);
|
|
33
33
|
const styled__default = /* @__PURE__ */ _interopDefaultLegacy(styled);
|
|
34
|
-
function _extends$
|
|
35
|
-
_extends$
|
|
34
|
+
function _extends$4() {
|
|
35
|
+
_extends$4 = Object.assign ? Object.assign.bind() : function(target) {
|
|
36
36
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
37
37
|
var source = arguments[i2];
|
|
38
38
|
for (var key in source) {
|
|
@@ -43,7 +43,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43
43
|
}
|
|
44
44
|
return target;
|
|
45
45
|
};
|
|
46
|
-
return _extends$
|
|
46
|
+
return _extends$4.apply(this, arguments);
|
|
47
47
|
}
|
|
48
48
|
function isAbsolute(pathname) {
|
|
49
49
|
return pathname.charAt(0) === "/";
|
|
@@ -187,7 +187,7 @@ var __publicField = (obj, key, value) => {
|
|
|
187
187
|
location2 = parsePath(path);
|
|
188
188
|
location2.state = state;
|
|
189
189
|
} else {
|
|
190
|
-
location2 = _extends$
|
|
190
|
+
location2 = _extends$4({}, path);
|
|
191
191
|
if (location2.pathname === void 0)
|
|
192
192
|
location2.pathname = "";
|
|
193
193
|
if (location2.search) {
|
|
@@ -338,7 +338,7 @@ var __publicField = (obj, key, value) => {
|
|
|
338
338
|
}
|
|
339
339
|
var transitionManager = createTransitionManager();
|
|
340
340
|
function setState(nextState) {
|
|
341
|
-
_extends$
|
|
341
|
+
_extends$4(history2, nextState);
|
|
342
342
|
history2.length = globalHistory.length;
|
|
343
343
|
transitionManager.notifyListeners(history2.location, history2.action);
|
|
344
344
|
}
|
|
@@ -562,7 +562,7 @@ var __publicField = (obj, key, value) => {
|
|
|
562
562
|
}
|
|
563
563
|
var transitionManager = createTransitionManager();
|
|
564
564
|
function setState(nextState) {
|
|
565
|
-
_extends$
|
|
565
|
+
_extends$4(history2, nextState);
|
|
566
566
|
history2.length = globalHistory.length;
|
|
567
567
|
transitionManager.notifyListeners(history2.location, history2.action);
|
|
568
568
|
}
|
|
@@ -749,7 +749,7 @@ var __publicField = (obj, key, value) => {
|
|
|
749
749
|
var _props = props, getUserConfirmation = _props.getUserConfirmation, _props$initialEntries = _props.initialEntries, initialEntries = _props$initialEntries === void 0 ? ["/"] : _props$initialEntries, _props$initialIndex = _props.initialIndex, initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex, _props$keyLength = _props.keyLength, keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
|
|
750
750
|
var transitionManager = createTransitionManager();
|
|
751
751
|
function setState(nextState) {
|
|
752
|
-
_extends$
|
|
752
|
+
_extends$4(history2, nextState);
|
|
753
753
|
history2.length = history2.entries.length;
|
|
754
754
|
transitionManager.notifyListeners(history2.location, history2.action);
|
|
755
755
|
}
|
|
@@ -859,17 +859,17 @@ var __publicField = (obj, key, value) => {
|
|
|
859
859
|
createRoot = m$3.createRoot;
|
|
860
860
|
m$3.hydrateRoot;
|
|
861
861
|
}
|
|
862
|
-
function _setPrototypeOf$
|
|
863
|
-
_setPrototypeOf$
|
|
862
|
+
function _setPrototypeOf$5(o2, p2) {
|
|
863
|
+
_setPrototypeOf$5 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
|
|
864
864
|
o3.__proto__ = p3;
|
|
865
865
|
return o3;
|
|
866
866
|
};
|
|
867
|
-
return _setPrototypeOf$
|
|
867
|
+
return _setPrototypeOf$5(o2, p2);
|
|
868
868
|
}
|
|
869
|
-
function _inheritsLoose$
|
|
869
|
+
function _inheritsLoose$2(subClass, superClass) {
|
|
870
870
|
subClass.prototype = Object.create(superClass.prototype);
|
|
871
871
|
subClass.prototype.constructor = subClass;
|
|
872
|
-
_setPrototypeOf$
|
|
872
|
+
_setPrototypeOf$5(subClass, superClass);
|
|
873
873
|
}
|
|
874
874
|
var propTypes = { exports: {} };
|
|
875
875
|
var ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -1265,7 +1265,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1265
1265
|
module2.exports = reactIs_production_min$1;
|
|
1266
1266
|
}
|
|
1267
1267
|
})(reactIs$2);
|
|
1268
|
-
function _objectWithoutPropertiesLoose$
|
|
1268
|
+
function _objectWithoutPropertiesLoose$7(source, excluded) {
|
|
1269
1269
|
if (source == null)
|
|
1270
1270
|
return {};
|
|
1271
1271
|
var target = {};
|
|
@@ -1403,7 +1403,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1403
1403
|
var _Provider$childContex, _Consumer$contextType;
|
|
1404
1404
|
var contextProp = "__create-react-context-" + getUniqueId() + "__";
|
|
1405
1405
|
var Provider = /* @__PURE__ */ function(_React$Component) {
|
|
1406
|
-
_inheritsLoose$
|
|
1406
|
+
_inheritsLoose$2(Provider2, _React$Component);
|
|
1407
1407
|
function Provider2() {
|
|
1408
1408
|
var _this;
|
|
1409
1409
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -1441,7 +1441,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1441
1441
|
}(React__default.default.Component);
|
|
1442
1442
|
Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = propTypes.exports.object.isRequired, _Provider$childContex);
|
|
1443
1443
|
var Consumer = /* @__PURE__ */ function(_React$Component2) {
|
|
1444
|
-
_inheritsLoose$
|
|
1444
|
+
_inheritsLoose$2(Consumer2, _React$Component2);
|
|
1445
1445
|
function Consumer2() {
|
|
1446
1446
|
var _this2;
|
|
1447
1447
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
@@ -1506,7 +1506,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1506
1506
|
var historyContext = /* @__PURE__ */ createNamedContext("Router-History");
|
|
1507
1507
|
var context = /* @__PURE__ */ createNamedContext("Router");
|
|
1508
1508
|
var Router = /* @__PURE__ */ function(_React$Component) {
|
|
1509
|
-
_inheritsLoose$
|
|
1509
|
+
_inheritsLoose$2(Router2, _React$Component);
|
|
1510
1510
|
Router2.computeRootMatch = function computeRootMatch(pathname) {
|
|
1511
1511
|
return {
|
|
1512
1512
|
path: "/",
|
|
@@ -1575,7 +1575,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1575
1575
|
return Router2;
|
|
1576
1576
|
}(React__default.default.Component);
|
|
1577
1577
|
var MemoryRouter = /* @__PURE__ */ function(_React$Component) {
|
|
1578
|
-
_inheritsLoose$
|
|
1578
|
+
_inheritsLoose$2(MemoryRouter2, _React$Component);
|
|
1579
1579
|
function MemoryRouter2() {
|
|
1580
1580
|
var _this;
|
|
1581
1581
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -1595,7 +1595,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1595
1595
|
return MemoryRouter2;
|
|
1596
1596
|
}(React__default.default.Component);
|
|
1597
1597
|
var Lifecycle = /* @__PURE__ */ function(_React$Component) {
|
|
1598
|
-
_inheritsLoose$
|
|
1598
|
+
_inheritsLoose$2(Lifecycle2, _React$Component);
|
|
1599
1599
|
function Lifecycle2() {
|
|
1600
1600
|
return _React$Component.apply(this, arguments) || this;
|
|
1601
1601
|
}
|
|
@@ -1671,7 +1671,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1671
1671
|
!context2 ? invariant$1(false) : void 0;
|
|
1672
1672
|
var history2 = context2.history, staticContext = context2.staticContext;
|
|
1673
1673
|
var method = push ? history2.push : history2.replace;
|
|
1674
|
-
var location2 = createLocation(computedMatch ? typeof to === "string" ? generatePath(to, computedMatch.params) : _extends$
|
|
1674
|
+
var location2 = createLocation(computedMatch ? typeof to === "string" ? generatePath(to, computedMatch.params) : _extends$4({}, to, {
|
|
1675
1675
|
pathname: generatePath(to.pathname, computedMatch.params)
|
|
1676
1676
|
}) : to);
|
|
1677
1677
|
if (staticContext) {
|
|
@@ -1684,7 +1684,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1684
1684
|
},
|
|
1685
1685
|
onUpdate: function onUpdate(self2, prevProps) {
|
|
1686
1686
|
var prevLocation = createLocation(prevProps.to);
|
|
1687
|
-
if (!locationsAreEqual(prevLocation, _extends$
|
|
1687
|
+
if (!locationsAreEqual(prevLocation, _extends$4({}, location2, {
|
|
1688
1688
|
key: prevLocation.key
|
|
1689
1689
|
}))) {
|
|
1690
1690
|
method(location2);
|
|
@@ -1757,7 +1757,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1757
1757
|
return React__default.default.Children.count(children) === 0;
|
|
1758
1758
|
}
|
|
1759
1759
|
var Route = /* @__PURE__ */ function(_React$Component) {
|
|
1760
|
-
_inheritsLoose$
|
|
1760
|
+
_inheritsLoose$2(Route2, _React$Component);
|
|
1761
1761
|
function Route2() {
|
|
1762
1762
|
return _React$Component.apply(this, arguments) || this;
|
|
1763
1763
|
}
|
|
@@ -1768,7 +1768,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1768
1768
|
!context$1 ? invariant$1(false) : void 0;
|
|
1769
1769
|
var location2 = _this.props.location || context$1.location;
|
|
1770
1770
|
var match2 = _this.props.computedMatch ? _this.props.computedMatch : _this.props.path ? matchPath(location2.pathname, _this.props) : context$1.match;
|
|
1771
|
-
var props = _extends$
|
|
1771
|
+
var props = _extends$4({}, context$1, {
|
|
1772
1772
|
location: location2,
|
|
1773
1773
|
match: match2
|
|
1774
1774
|
});
|
|
@@ -1789,7 +1789,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1789
1789
|
function addBasename(basename, location2) {
|
|
1790
1790
|
if (!basename)
|
|
1791
1791
|
return location2;
|
|
1792
|
-
return _extends$
|
|
1792
|
+
return _extends$4({}, location2, {
|
|
1793
1793
|
pathname: addLeadingSlash(basename) + location2.pathname
|
|
1794
1794
|
});
|
|
1795
1795
|
}
|
|
@@ -1799,7 +1799,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1799
1799
|
var base = addLeadingSlash(basename);
|
|
1800
1800
|
if (location2.pathname.indexOf(base) !== 0)
|
|
1801
1801
|
return location2;
|
|
1802
|
-
return _extends$
|
|
1802
|
+
return _extends$4({}, location2, {
|
|
1803
1803
|
pathname: location2.pathname.substr(base.length)
|
|
1804
1804
|
});
|
|
1805
1805
|
}
|
|
@@ -1814,7 +1814,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1814
1814
|
function noop$6() {
|
|
1815
1815
|
}
|
|
1816
1816
|
var StaticRouter = /* @__PURE__ */ function(_React$Component) {
|
|
1817
|
-
_inheritsLoose$
|
|
1817
|
+
_inheritsLoose$2(StaticRouter2, _React$Component);
|
|
1818
1818
|
function StaticRouter2() {
|
|
1819
1819
|
var _this;
|
|
1820
1820
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -1843,7 +1843,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1843
1843
|
context2.url = createURL(context2.location);
|
|
1844
1844
|
};
|
|
1845
1845
|
_proto.render = function render2() {
|
|
1846
|
-
var _this$props2 = this.props, _this$props2$basename = _this$props2.basename, basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, _this$props2$context = _this$props2.context, context2 = _this$props2$context === void 0 ? {} : _this$props2$context, _this$props2$location = _this$props2.location, location2 = _this$props2$location === void 0 ? "/" : _this$props2$location, rest = _objectWithoutPropertiesLoose$
|
|
1846
|
+
var _this$props2 = this.props, _this$props2$basename = _this$props2.basename, basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, _this$props2$context = _this$props2.context, context2 = _this$props2$context === void 0 ? {} : _this$props2$context, _this$props2$location = _this$props2.location, location2 = _this$props2$location === void 0 ? "/" : _this$props2$location, rest = _objectWithoutPropertiesLoose$7(_this$props2, ["basename", "context", "location"]);
|
|
1847
1847
|
var history2 = {
|
|
1848
1848
|
createHref: function createHref(path) {
|
|
1849
1849
|
return addLeadingSlash(basename + createURL(path));
|
|
@@ -1858,7 +1858,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1858
1858
|
listen: this.handleListen,
|
|
1859
1859
|
block: this.handleBlock
|
|
1860
1860
|
};
|
|
1861
|
-
return /* @__PURE__ */ React__default.default.createElement(Router, _extends$
|
|
1861
|
+
return /* @__PURE__ */ React__default.default.createElement(Router, _extends$4({}, rest, {
|
|
1862
1862
|
history: history2,
|
|
1863
1863
|
staticContext: context2
|
|
1864
1864
|
}));
|
|
@@ -1866,7 +1866,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1866
1866
|
return StaticRouter2;
|
|
1867
1867
|
}(React__default.default.Component);
|
|
1868
1868
|
var Switch$1 = /* @__PURE__ */ function(_React$Component) {
|
|
1869
|
-
_inheritsLoose$
|
|
1869
|
+
_inheritsLoose$2(Switch2, _React$Component);
|
|
1870
1870
|
function Switch2() {
|
|
1871
1871
|
return _React$Component.apply(this, arguments) || this;
|
|
1872
1872
|
}
|
|
@@ -1881,7 +1881,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1881
1881
|
if (match2 == null && /* @__PURE__ */ React__default.default.isValidElement(child)) {
|
|
1882
1882
|
element = child;
|
|
1883
1883
|
var path = child.props.path || child.props.from;
|
|
1884
|
-
match2 = path ? matchPath(location2.pathname, _extends$
|
|
1884
|
+
match2 = path ? matchPath(location2.pathname, _extends$4({}, child.props, {
|
|
1885
1885
|
path
|
|
1886
1886
|
})) : context2.match;
|
|
1887
1887
|
}
|
|
@@ -1897,10 +1897,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1897
1897
|
function withRouter(Component) {
|
|
1898
1898
|
var displayName = "withRouter(" + (Component.displayName || Component.name) + ")";
|
|
1899
1899
|
var C2 = function C3(props) {
|
|
1900
|
-
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose$
|
|
1900
|
+
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose$7(props, ["wrappedComponentRef"]);
|
|
1901
1901
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
1902
1902
|
!context2 ? invariant$1(false) : void 0;
|
|
1903
|
-
return /* @__PURE__ */ React__default.default.createElement(Component, _extends$
|
|
1903
|
+
return /* @__PURE__ */ React__default.default.createElement(Component, _extends$4({}, remainingProps, context2, {
|
|
1904
1904
|
ref: wrappedComponentRef
|
|
1905
1905
|
}));
|
|
1906
1906
|
});
|
|
@@ -1926,7 +1926,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1926
1926
|
return path ? matchPath(location2.pathname, path) : match2;
|
|
1927
1927
|
}
|
|
1928
1928
|
var BrowserRouter = /* @__PURE__ */ function(_React$Component) {
|
|
1929
|
-
_inheritsLoose$
|
|
1929
|
+
_inheritsLoose$2(BrowserRouter2, _React$Component);
|
|
1930
1930
|
function BrowserRouter2() {
|
|
1931
1931
|
var _this;
|
|
1932
1932
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -1946,7 +1946,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1946
1946
|
return BrowserRouter2;
|
|
1947
1947
|
}(React__default.default.Component);
|
|
1948
1948
|
var HashRouter = /* @__PURE__ */ function(_React$Component) {
|
|
1949
|
-
_inheritsLoose$
|
|
1949
|
+
_inheritsLoose$2(HashRouter2, _React$Component);
|
|
1950
1950
|
function HashRouter2() {
|
|
1951
1951
|
var _this;
|
|
1952
1952
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -1982,9 +1982,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1982
1982
|
return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
|
|
1983
1983
|
}
|
|
1984
1984
|
var LinkAnchor = forwardRef$1(function(_ref2, forwardedRef) {
|
|
1985
|
-
var innerRef = _ref2.innerRef, navigate = _ref2.navigate, _onClick = _ref2.onClick, rest = _objectWithoutPropertiesLoose$
|
|
1985
|
+
var innerRef = _ref2.innerRef, navigate = _ref2.navigate, _onClick = _ref2.onClick, rest = _objectWithoutPropertiesLoose$7(_ref2, ["innerRef", "navigate", "onClick"]);
|
|
1986
1986
|
var target = rest.target;
|
|
1987
|
-
var props = _extends$
|
|
1987
|
+
var props = _extends$4({}, rest, {
|
|
1988
1988
|
onClick: function onClick(event) {
|
|
1989
1989
|
try {
|
|
1990
1990
|
if (_onClick)
|
|
@@ -2007,13 +2007,13 @@ var __publicField = (obj, key, value) => {
|
|
|
2007
2007
|
return /* @__PURE__ */ React__default.default.createElement("a", props);
|
|
2008
2008
|
});
|
|
2009
2009
|
var Link = forwardRef$1(function(_ref2, forwardedRef) {
|
|
2010
|
-
var _ref2$component = _ref2.component, component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, replace2 = _ref2.replace, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$
|
|
2010
|
+
var _ref2$component = _ref2.component, component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, replace2 = _ref2.replace, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$7(_ref2, ["component", "replace", "to", "innerRef"]);
|
|
2011
2011
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
2012
2012
|
!context2 ? invariant$1(false) : void 0;
|
|
2013
2013
|
var history2 = context2.history;
|
|
2014
2014
|
var location2 = normalizeToLocation(resolveToLocation(to, context2.location), context2.location);
|
|
2015
2015
|
var href = location2 ? history2.createHref(location2) : "";
|
|
2016
|
-
var props = _extends$
|
|
2016
|
+
var props = _extends$4({}, rest, {
|
|
2017
2017
|
href,
|
|
2018
2018
|
navigate: function navigate() {
|
|
2019
2019
|
var location3 = resolveToLocation(to, context2.location);
|
|
@@ -2046,7 +2046,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2046
2046
|
}).join(" ");
|
|
2047
2047
|
}
|
|
2048
2048
|
var NavLink = forwardRef$1$1(function(_ref2, forwardedRef) {
|
|
2049
|
-
var _ref$ariaCurrent = _ref2["aria-current"], ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, _ref$activeClassName = _ref2.activeClassName, activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, activeStyle = _ref2.activeStyle, classNameProp = _ref2.className, exact = _ref2.exact, isActiveProp = _ref2.isActive, locationProp = _ref2.location, sensitive = _ref2.sensitive, strict = _ref2.strict, styleProp = _ref2.style, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$
|
|
2049
|
+
var _ref$ariaCurrent = _ref2["aria-current"], ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, _ref$activeClassName = _ref2.activeClassName, activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, activeStyle = _ref2.activeStyle, classNameProp = _ref2.className, exact = _ref2.exact, isActiveProp = _ref2.isActive, locationProp = _ref2.location, sensitive = _ref2.sensitive, strict = _ref2.strict, styleProp = _ref2.style, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$7(_ref2, ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive", "location", "sensitive", "strict", "style", "to", "innerRef"]);
|
|
2050
2050
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
2051
2051
|
!context2 ? invariant$1(false) : void 0;
|
|
2052
2052
|
var currentLocation = locationProp || context2.location;
|
|
@@ -2064,9 +2064,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2064
2064
|
var style = typeof styleProp === "function" ? styleProp(isActive) : styleProp;
|
|
2065
2065
|
if (isActive) {
|
|
2066
2066
|
className = joinClassnames(className, activeClassName);
|
|
2067
|
-
style = _extends$
|
|
2067
|
+
style = _extends$4({}, style, activeStyle);
|
|
2068
2068
|
}
|
|
2069
|
-
var props = _extends$
|
|
2069
|
+
var props = _extends$4({
|
|
2070
2070
|
"aria-current": isActive && ariaCurrent || null,
|
|
2071
2071
|
className,
|
|
2072
2072
|
style,
|
|
@@ -10579,8 +10579,8 @@ var __publicField = (obj, key, value) => {
|
|
|
10579
10579
|
}
|
|
10580
10580
|
return obj;
|
|
10581
10581
|
}
|
|
10582
|
-
function _extends$
|
|
10583
|
-
_extends$
|
|
10582
|
+
function _extends$3() {
|
|
10583
|
+
_extends$3 = Object.assign || function(target) {
|
|
10584
10584
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
10585
10585
|
var source = arguments[i2];
|
|
10586
10586
|
for (var key in source) {
|
|
@@ -10591,7 +10591,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10591
10591
|
}
|
|
10592
10592
|
return target;
|
|
10593
10593
|
};
|
|
10594
|
-
return _extends$
|
|
10594
|
+
return _extends$3.apply(this, arguments);
|
|
10595
10595
|
}
|
|
10596
10596
|
const {
|
|
10597
10597
|
DefaultValue,
|
|
@@ -11855,7 +11855,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11855
11855
|
}
|
|
11856
11856
|
const serialize = useCallback$2((x2) => x2 === void 0 ? "" : Recoil_nullthrows(JSON.stringify(x2), "Unable to serialize state with JSON"), []);
|
|
11857
11857
|
const deserialize = useCallback$2((x2) => JSON.parse(x2), []);
|
|
11858
|
-
return /* @__PURE__ */ React__default.default.createElement(RecoilURLSync$1, _extends$
|
|
11858
|
+
return /* @__PURE__ */ React__default.default.createElement(RecoilURLSync$1, _extends$3({}, options, {
|
|
11859
11859
|
serialize,
|
|
11860
11860
|
deserialize
|
|
11861
11861
|
}));
|
|
@@ -11948,7 +11948,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11948
11948
|
}
|
|
11949
11949
|
}), [handlers]);
|
|
11950
11950
|
const deserialize = useCallback$3((x2) => reader.read(x2), [reader]);
|
|
11951
|
-
return /* @__PURE__ */ React__default.default.createElement(RecoilURLSync$2, _extends$
|
|
11951
|
+
return /* @__PURE__ */ React__default.default.createElement(RecoilURLSync$2, _extends$3({}, options, {
|
|
11952
11952
|
serialize,
|
|
11953
11953
|
deserialize
|
|
11954
11954
|
}));
|
|
@@ -12195,21 +12195,21 @@ var __publicField = (obj, key, value) => {
|
|
|
12195
12195
|
}
|
|
12196
12196
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
12197
12197
|
if (superClass)
|
|
12198
|
-
_setPrototypeOf$
|
|
12198
|
+
_setPrototypeOf$4(subClass, superClass);
|
|
12199
12199
|
}
|
|
12200
|
-
function _setPrototypeOf$
|
|
12201
|
-
_setPrototypeOf$
|
|
12200
|
+
function _setPrototypeOf$4(o2, p2) {
|
|
12201
|
+
_setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
12202
12202
|
o3.__proto__ = p3;
|
|
12203
12203
|
return o3;
|
|
12204
12204
|
};
|
|
12205
|
-
return _setPrototypeOf$
|
|
12205
|
+
return _setPrototypeOf$4(o2, p2);
|
|
12206
12206
|
}
|
|
12207
12207
|
function _createSuper$3(Derived) {
|
|
12208
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
12208
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$4();
|
|
12209
12209
|
return function _createSuperInternal() {
|
|
12210
|
-
var Super = _getPrototypeOf$
|
|
12210
|
+
var Super = _getPrototypeOf$4(Derived), result;
|
|
12211
12211
|
if (hasNativeReflectConstruct) {
|
|
12212
|
-
var NewTarget = _getPrototypeOf$
|
|
12212
|
+
var NewTarget = _getPrototypeOf$4(this).constructor;
|
|
12213
12213
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
12214
12214
|
} else {
|
|
12215
12215
|
result = Super.apply(this, arguments);
|
|
@@ -12223,15 +12223,15 @@ var __publicField = (obj, key, value) => {
|
|
|
12223
12223
|
} else if (call !== void 0) {
|
|
12224
12224
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
12225
12225
|
}
|
|
12226
|
-
return _assertThisInitialized$
|
|
12226
|
+
return _assertThisInitialized$5(self2);
|
|
12227
12227
|
}
|
|
12228
|
-
function _assertThisInitialized$
|
|
12228
|
+
function _assertThisInitialized$5(self2) {
|
|
12229
12229
|
if (self2 === void 0) {
|
|
12230
12230
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
12231
12231
|
}
|
|
12232
12232
|
return self2;
|
|
12233
12233
|
}
|
|
12234
|
-
function _isNativeReflectConstruct$
|
|
12234
|
+
function _isNativeReflectConstruct$4() {
|
|
12235
12235
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
12236
12236
|
return false;
|
|
12237
12237
|
if (Reflect.construct.sham)
|
|
@@ -12246,11 +12246,11 @@ var __publicField = (obj, key, value) => {
|
|
|
12246
12246
|
return false;
|
|
12247
12247
|
}
|
|
12248
12248
|
}
|
|
12249
|
-
function _getPrototypeOf$
|
|
12250
|
-
_getPrototypeOf$
|
|
12249
|
+
function _getPrototypeOf$4(o2) {
|
|
12250
|
+
_getPrototypeOf$4 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
12251
12251
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
12252
12252
|
};
|
|
12253
|
-
return _getPrototypeOf$
|
|
12253
|
+
return _getPrototypeOf$4(o2);
|
|
12254
12254
|
}
|
|
12255
12255
|
function _defineProperty$9(obj, key, value) {
|
|
12256
12256
|
if (key in obj) {
|
|
@@ -12267,10 +12267,10 @@ var __publicField = (obj, key, value) => {
|
|
|
12267
12267
|
var _this;
|
|
12268
12268
|
_classCallCheck$4(this, Collapse2);
|
|
12269
12269
|
_this = _super.call(this, props);
|
|
12270
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12271
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12272
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12273
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12270
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "timeout", void 0);
|
|
12271
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "container", void 0);
|
|
12272
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "content", void 0);
|
|
12273
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onResize", function() {
|
|
12274
12274
|
clearTimeout(_this.timeout);
|
|
12275
12275
|
if (!_this.container || !_this.content) {
|
|
12276
12276
|
return;
|
|
@@ -12301,7 +12301,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12301
12301
|
}, checkTimeout);
|
|
12302
12302
|
}
|
|
12303
12303
|
});
|
|
12304
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12304
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onRest", function(_ref2) {
|
|
12305
12305
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
12306
12306
|
if (!_this.container || !_this.content) {
|
|
12307
12307
|
return;
|
|
@@ -12323,7 +12323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12323
12323
|
}
|
|
12324
12324
|
}
|
|
12325
12325
|
});
|
|
12326
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12326
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onWork", function(_ref2) {
|
|
12327
12327
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
12328
12328
|
if (!_this.container || !_this.content) {
|
|
12329
12329
|
return;
|
|
@@ -12346,10 +12346,10 @@ var __publicField = (obj, key, value) => {
|
|
|
12346
12346
|
});
|
|
12347
12347
|
}
|
|
12348
12348
|
});
|
|
12349
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12349
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onRefContainer", function(container) {
|
|
12350
12350
|
_this.container = container;
|
|
12351
12351
|
});
|
|
12352
|
-
_defineProperty$9(_assertThisInitialized$
|
|
12352
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onRefContent", function(content) {
|
|
12353
12353
|
_this.content = content;
|
|
12354
12354
|
});
|
|
12355
12355
|
if (props.initialStyle) {
|
|
@@ -12452,8 +12452,8 @@ var __publicField = (obj, key, value) => {
|
|
|
12452
12452
|
function _interopRequireDefault(obj) {
|
|
12453
12453
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
12454
12454
|
}
|
|
12455
|
-
function _extends$
|
|
12456
|
-
_extends$
|
|
12455
|
+
function _extends$2() {
|
|
12456
|
+
_extends$2 = Object.assign || function(target) {
|
|
12457
12457
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
12458
12458
|
var source = arguments[i2];
|
|
12459
12459
|
for (var key in source) {
|
|
@@ -12464,7 +12464,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12464
12464
|
}
|
|
12465
12465
|
return target;
|
|
12466
12466
|
};
|
|
12467
|
-
return _extends$
|
|
12467
|
+
return _extends$2.apply(this, arguments);
|
|
12468
12468
|
}
|
|
12469
12469
|
function ownKeys$5(object2, enumerableOnly) {
|
|
12470
12470
|
var keys2 = Object.keys(object2);
|
|
@@ -12499,7 +12499,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12499
12499
|
function _objectWithoutProperties$3(source, excluded) {
|
|
12500
12500
|
if (source == null)
|
|
12501
12501
|
return {};
|
|
12502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
12502
|
+
var target = _objectWithoutPropertiesLoose$6(source, excluded);
|
|
12503
12503
|
var key, i2;
|
|
12504
12504
|
if (Object.getOwnPropertySymbols) {
|
|
12505
12505
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -12514,7 +12514,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12514
12514
|
}
|
|
12515
12515
|
return target;
|
|
12516
12516
|
}
|
|
12517
|
-
function _objectWithoutPropertiesLoose$
|
|
12517
|
+
function _objectWithoutPropertiesLoose$6(source, excluded) {
|
|
12518
12518
|
if (source == null)
|
|
12519
12519
|
return {};
|
|
12520
12520
|
var target = {};
|
|
@@ -12556,21 +12556,21 @@ var __publicField = (obj, key, value) => {
|
|
|
12556
12556
|
}
|
|
12557
12557
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
12558
12558
|
if (superClass)
|
|
12559
|
-
_setPrototypeOf$
|
|
12559
|
+
_setPrototypeOf$3(subClass, superClass);
|
|
12560
12560
|
}
|
|
12561
|
-
function _setPrototypeOf$
|
|
12562
|
-
_setPrototypeOf$
|
|
12561
|
+
function _setPrototypeOf$3(o2, p2) {
|
|
12562
|
+
_setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
12563
12563
|
o3.__proto__ = p3;
|
|
12564
12564
|
return o3;
|
|
12565
12565
|
};
|
|
12566
|
-
return _setPrototypeOf$
|
|
12566
|
+
return _setPrototypeOf$3(o2, p2);
|
|
12567
12567
|
}
|
|
12568
12568
|
function _createSuper$2(Derived) {
|
|
12569
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
12569
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$3();
|
|
12570
12570
|
return function _createSuperInternal() {
|
|
12571
|
-
var Super = _getPrototypeOf$
|
|
12571
|
+
var Super = _getPrototypeOf$3(Derived), result;
|
|
12572
12572
|
if (hasNativeReflectConstruct) {
|
|
12573
|
-
var NewTarget = _getPrototypeOf$
|
|
12573
|
+
var NewTarget = _getPrototypeOf$3(this).constructor;
|
|
12574
12574
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
12575
12575
|
} else {
|
|
12576
12576
|
result = Super.apply(this, arguments);
|
|
@@ -12584,15 +12584,15 @@ var __publicField = (obj, key, value) => {
|
|
|
12584
12584
|
} else if (call !== void 0) {
|
|
12585
12585
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
12586
12586
|
}
|
|
12587
|
-
return _assertThisInitialized$
|
|
12587
|
+
return _assertThisInitialized$4(self2);
|
|
12588
12588
|
}
|
|
12589
|
-
function _assertThisInitialized$
|
|
12589
|
+
function _assertThisInitialized$4(self2) {
|
|
12590
12590
|
if (self2 === void 0) {
|
|
12591
12591
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
12592
12592
|
}
|
|
12593
12593
|
return self2;
|
|
12594
12594
|
}
|
|
12595
|
-
function _isNativeReflectConstruct$
|
|
12595
|
+
function _isNativeReflectConstruct$3() {
|
|
12596
12596
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
12597
12597
|
return false;
|
|
12598
12598
|
if (Reflect.construct.sham)
|
|
@@ -12607,11 +12607,11 @@ var __publicField = (obj, key, value) => {
|
|
|
12607
12607
|
return false;
|
|
12608
12608
|
}
|
|
12609
12609
|
}
|
|
12610
|
-
function _getPrototypeOf$
|
|
12611
|
-
_getPrototypeOf$
|
|
12610
|
+
function _getPrototypeOf$3(o2) {
|
|
12611
|
+
_getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
12612
12612
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
12613
12613
|
};
|
|
12614
|
-
return _getPrototypeOf$
|
|
12614
|
+
return _getPrototypeOf$3(o2);
|
|
12615
12615
|
}
|
|
12616
12616
|
function _defineProperty$8(obj, key, value) {
|
|
12617
12617
|
if (key in obj) {
|
|
@@ -12628,7 +12628,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12628
12628
|
var _this;
|
|
12629
12629
|
_classCallCheck$3(this, UnmountClosed2);
|
|
12630
12630
|
_this = _super.call(this, props);
|
|
12631
|
-
_defineProperty$8(_assertThisInitialized$
|
|
12631
|
+
_defineProperty$8(_assertThisInitialized$4(_this), "onWork", function(_ref2) {
|
|
12632
12632
|
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded$5);
|
|
12633
12633
|
_this.setState({
|
|
12634
12634
|
isResting: false,
|
|
@@ -12641,7 +12641,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12641
12641
|
}, rest));
|
|
12642
12642
|
}
|
|
12643
12643
|
});
|
|
12644
|
-
_defineProperty$8(_assertThisInitialized$
|
|
12644
|
+
_defineProperty$8(_assertThisInitialized$4(_this), "onRest", function(_ref2) {
|
|
12645
12645
|
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded2);
|
|
12646
12646
|
_this.setState({
|
|
12647
12647
|
isResting: true,
|
|
@@ -12655,7 +12655,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12655
12655
|
}, rest));
|
|
12656
12656
|
}
|
|
12657
12657
|
});
|
|
12658
|
-
_defineProperty$8(_assertThisInitialized$
|
|
12658
|
+
_defineProperty$8(_assertThisInitialized$4(_this), "getInitialStyle", function() {
|
|
12659
12659
|
var _this$state = _this.state, isOpened = _this$state.isOpened, isInitialRender = _this$state.isInitialRender;
|
|
12660
12660
|
if (isInitialRender) {
|
|
12661
12661
|
return isOpened ? {
|
|
@@ -12694,7 +12694,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12694
12694
|
key: "render",
|
|
12695
12695
|
value: function render2() {
|
|
12696
12696
|
var _this$state2 = this.state, isResting = _this$state2.isResting, isOpened = _this$state2.isOpened;
|
|
12697
|
-
return isResting && !isOpened ? null : /* @__PURE__ */ _react["default"].createElement(_Collapse.Collapse, _extends$
|
|
12697
|
+
return isResting && !isOpened ? null : /* @__PURE__ */ _react["default"].createElement(_Collapse.Collapse, _extends$2({}, this.props, {
|
|
12698
12698
|
initialStyle: this.getInitialStyle(),
|
|
12699
12699
|
onWork: this.onWork,
|
|
12700
12700
|
onRest: this.onRest
|
|
@@ -15323,7 +15323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15323
15323
|
}
|
|
15324
15324
|
return obj;
|
|
15325
15325
|
}
|
|
15326
|
-
function _objectWithoutPropertiesLoose$
|
|
15326
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
15327
15327
|
if (source == null)
|
|
15328
15328
|
return {};
|
|
15329
15329
|
var target = {};
|
|
@@ -15340,7 +15340,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15340
15340
|
function _objectWithoutProperties$2(source, excluded) {
|
|
15341
15341
|
if (source == null)
|
|
15342
15342
|
return {};
|
|
15343
|
-
var target = _objectWithoutPropertiesLoose$
|
|
15343
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
15344
15344
|
var key, i2;
|
|
15345
15345
|
if (Object.getOwnPropertySymbols) {
|
|
15346
15346
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -17421,22 +17421,52 @@ var __publicField = (obj, key, value) => {
|
|
|
17421
17421
|
border: 1px solid ${(props) => props.color};
|
|
17422
17422
|
border-radius: ${(props) => props.height ? `${props.height / 2}px` : "1rem"};
|
|
17423
17423
|
`;
|
|
17424
|
-
function
|
|
17424
|
+
function _extends$1() {
|
|
17425
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
17426
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
17427
|
+
var source = arguments[i2];
|
|
17428
|
+
for (var key in source) {
|
|
17429
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
17430
|
+
target[key] = source[key];
|
|
17431
|
+
}
|
|
17432
|
+
}
|
|
17433
|
+
}
|
|
17434
|
+
return target;
|
|
17435
|
+
};
|
|
17436
|
+
return _extends$1.apply(this, arguments);
|
|
17437
|
+
}
|
|
17438
|
+
function _assertThisInitialized$3(self2) {
|
|
17425
17439
|
if (self2 === void 0) {
|
|
17426
17440
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17427
17441
|
}
|
|
17428
17442
|
return self2;
|
|
17429
17443
|
}
|
|
17430
|
-
function
|
|
17431
|
-
|
|
17444
|
+
function _setPrototypeOf$2(o2, p2) {
|
|
17445
|
+
_setPrototypeOf$2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
|
|
17446
|
+
o3.__proto__ = p3;
|
|
17447
|
+
return o3;
|
|
17448
|
+
};
|
|
17449
|
+
return _setPrototypeOf$2(o2, p2);
|
|
17450
|
+
}
|
|
17451
|
+
function _inheritsLoose$1(subClass, superClass) {
|
|
17452
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
17453
|
+
subClass.prototype.constructor = subClass;
|
|
17454
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
17455
|
+
}
|
|
17456
|
+
function _getPrototypeOf$2(o2) {
|
|
17457
|
+
_getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
|
|
17432
17458
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
17433
17459
|
};
|
|
17434
|
-
return _getPrototypeOf$
|
|
17460
|
+
return _getPrototypeOf$2(o2);
|
|
17435
17461
|
}
|
|
17436
|
-
function _isNativeFunction(fn) {
|
|
17437
|
-
|
|
17462
|
+
function _isNativeFunction$1(fn) {
|
|
17463
|
+
try {
|
|
17464
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
17465
|
+
} catch (e3) {
|
|
17466
|
+
return typeof fn === "function";
|
|
17467
|
+
}
|
|
17438
17468
|
}
|
|
17439
|
-
function _isNativeReflectConstruct$
|
|
17469
|
+
function _isNativeReflectConstruct$2() {
|
|
17440
17470
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
17441
17471
|
return false;
|
|
17442
17472
|
if (Reflect.construct.sham)
|
|
@@ -17451,26 +17481,26 @@ var __publicField = (obj, key, value) => {
|
|
|
17451
17481
|
return false;
|
|
17452
17482
|
}
|
|
17453
17483
|
}
|
|
17454
|
-
function _construct(Parent, args, Class) {
|
|
17455
|
-
if (_isNativeReflectConstruct$
|
|
17456
|
-
_construct = Reflect.construct.bind();
|
|
17484
|
+
function _construct$1(Parent, args, Class) {
|
|
17485
|
+
if (_isNativeReflectConstruct$2()) {
|
|
17486
|
+
_construct$1 = Reflect.construct.bind();
|
|
17457
17487
|
} else {
|
|
17458
|
-
_construct = function _construct2(Parent2, args2, Class2) {
|
|
17488
|
+
_construct$1 = function _construct2(Parent2, args2, Class2) {
|
|
17459
17489
|
var a2 = [null];
|
|
17460
17490
|
a2.push.apply(a2, args2);
|
|
17461
17491
|
var Constructor = Function.bind.apply(Parent2, a2);
|
|
17462
17492
|
var instance = new Constructor();
|
|
17463
17493
|
if (Class2)
|
|
17464
|
-
_setPrototypeOf$
|
|
17494
|
+
_setPrototypeOf$2(instance, Class2.prototype);
|
|
17465
17495
|
return instance;
|
|
17466
17496
|
};
|
|
17467
17497
|
}
|
|
17468
|
-
return _construct.apply(null, arguments);
|
|
17498
|
+
return _construct$1.apply(null, arguments);
|
|
17469
17499
|
}
|
|
17470
|
-
function _wrapNativeSuper(Class) {
|
|
17500
|
+
function _wrapNativeSuper$1(Class) {
|
|
17471
17501
|
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
17472
|
-
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
17473
|
-
if (Class2 === null || !_isNativeFunction(Class2))
|
|
17502
|
+
_wrapNativeSuper$1 = function _wrapNativeSuper2(Class2) {
|
|
17503
|
+
if (Class2 === null || !_isNativeFunction$1(Class2))
|
|
17474
17504
|
return Class2;
|
|
17475
17505
|
if (typeof Class2 !== "function") {
|
|
17476
17506
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -17481,7 +17511,7 @@ var __publicField = (obj, key, value) => {
|
|
|
17481
17511
|
_cache.set(Class2, Wrapper2);
|
|
17482
17512
|
}
|
|
17483
17513
|
function Wrapper2() {
|
|
17484
|
-
return _construct(Class2, arguments, _getPrototypeOf$
|
|
17514
|
+
return _construct$1(Class2, arguments, _getPrototypeOf$2(this).constructor);
|
|
17485
17515
|
}
|
|
17486
17516
|
Wrapper2.prototype = Object.create(Class2.prototype, {
|
|
17487
17517
|
constructor: {
|
|
@@ -17491,9 +17521,9 @@ var __publicField = (obj, key, value) => {
|
|
|
17491
17521
|
configurable: true
|
|
17492
17522
|
}
|
|
17493
17523
|
});
|
|
17494
|
-
return _setPrototypeOf$
|
|
17524
|
+
return _setPrototypeOf$2(Wrapper2, Class2);
|
|
17495
17525
|
};
|
|
17496
|
-
return _wrapNativeSuper(Class);
|
|
17526
|
+
return _wrapNativeSuper$1(Class);
|
|
17497
17527
|
}
|
|
17498
17528
|
var PolishedError$1 = /* @__PURE__ */ function(_Error) {
|
|
17499
17529
|
_inheritsLoose$1(PolishedError2, _Error);
|
|
@@ -17502,10 +17532,10 @@ var __publicField = (obj, key, value) => {
|
|
|
17502
17532
|
{
|
|
17503
17533
|
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/master/src/internalHelpers/errors.md#" + code + " for more information.") || this;
|
|
17504
17534
|
}
|
|
17505
|
-
return _assertThisInitialized$
|
|
17535
|
+
return _assertThisInitialized$3(_this);
|
|
17506
17536
|
}
|
|
17507
17537
|
return PolishedError2;
|
|
17508
|
-
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
17538
|
+
}(/* @__PURE__ */ _wrapNativeSuper$1(Error));
|
|
17509
17539
|
function colorToInt$1(color) {
|
|
17510
17540
|
return Math.round(color * 255);
|
|
17511
17541
|
}
|
|
@@ -17849,7 +17879,7 @@ var __publicField = (obj, key, value) => {
|
|
|
17849
17879
|
return color;
|
|
17850
17880
|
var parsedColor = parseToRgb$1(color);
|
|
17851
17881
|
var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
17852
|
-
var colorWithAlpha = _extends$
|
|
17882
|
+
var colorWithAlpha = _extends$1({}, parsedColor, {
|
|
17853
17883
|
alpha: guard$1(0, 1, (alpha * 100 - parseFloat(amount) * 100) / 100)
|
|
17854
17884
|
});
|
|
17855
17885
|
return rgba$1(colorWithAlpha);
|
|
@@ -18713,6 +18743,20 @@ var __publicField = (obj, key, value) => {
|
|
|
18713
18743
|
setPreviousFilter(filterValue);
|
|
18714
18744
|
}, children: "Apply" })] });
|
|
18715
18745
|
}
|
|
18746
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
18747
|
+
if (source == null)
|
|
18748
|
+
return {};
|
|
18749
|
+
var target = {};
|
|
18750
|
+
var sourceKeys = Object.keys(source);
|
|
18751
|
+
var key, i2;
|
|
18752
|
+
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
18753
|
+
key = sourceKeys[i2];
|
|
18754
|
+
if (excluded.indexOf(key) >= 0)
|
|
18755
|
+
continue;
|
|
18756
|
+
target[key] = source[key];
|
|
18757
|
+
}
|
|
18758
|
+
return target;
|
|
18759
|
+
}
|
|
18716
18760
|
var reactIs = { exports: {} };
|
|
18717
18761
|
var reactIs_production_min = {};
|
|
18718
18762
|
/** @license React v17.0.2
|
|
@@ -19243,7 +19287,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19243
19287
|
}
|
|
19244
19288
|
});
|
|
19245
19289
|
if (props.onStateChange && Object.keys(changes).length) {
|
|
19246
|
-
props.onStateChange(_extends$
|
|
19290
|
+
props.onStateChange(_extends$1({
|
|
19247
19291
|
type
|
|
19248
19292
|
}, changes));
|
|
19249
19293
|
}
|
|
@@ -19252,7 +19296,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19252
19296
|
var props = action.props, type = action.type;
|
|
19253
19297
|
var handler = "on" + capitalizeString(key) + "Change";
|
|
19254
19298
|
if (props[handler] && newState[key] !== void 0 && newState[key] !== state[key]) {
|
|
19255
|
-
props[handler](_extends$
|
|
19299
|
+
props[handler](_extends$1({
|
|
19256
19300
|
type
|
|
19257
19301
|
}, newState));
|
|
19258
19302
|
}
|
|
@@ -19316,7 +19360,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19316
19360
|
actionRef.current = action2;
|
|
19317
19361
|
state2 = getState(state2, action2.props);
|
|
19318
19362
|
var changes = reducer2(state2, action2);
|
|
19319
|
-
var newState = action2.props.stateReducer(state2, _extends$
|
|
19363
|
+
var newState = action2.props.stateReducer(state2, _extends$1({}, action2, {
|
|
19320
19364
|
changes
|
|
19321
19365
|
}));
|
|
19322
19366
|
return newState;
|
|
@@ -19324,7 +19368,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19324
19368
|
var _useReducer = React.useReducer(enhancedReducer, initialState2), state = _useReducer[0], dispatch2 = _useReducer[1];
|
|
19325
19369
|
var propsRef = useLatestRef(props);
|
|
19326
19370
|
var dispatchWithProps = React.useCallback(function(action2) {
|
|
19327
|
-
return dispatch2(_extends$
|
|
19371
|
+
return dispatch2(_extends$1({
|
|
19328
19372
|
props: propsRef.current
|
|
19329
19373
|
}, action2));
|
|
19330
19374
|
}, [propsRef]);
|
|
@@ -19456,13 +19500,13 @@ var __publicField = (obj, key, value) => {
|
|
|
19456
19500
|
return noop$4;
|
|
19457
19501
|
};
|
|
19458
19502
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
19459
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
19503
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$3);
|
|
19460
19504
|
React.useEffect(function() {
|
|
19461
19505
|
if (isInitialMount || false) {
|
|
19462
19506
|
return;
|
|
19463
19507
|
}
|
|
19464
19508
|
updateA11yStatus(function() {
|
|
19465
|
-
return getA11yMessage(_extends$
|
|
19509
|
+
return getA11yMessage(_extends$1({
|
|
19466
19510
|
highlightedIndex,
|
|
19467
19511
|
highlightedItem: items[highlightedIndex],
|
|
19468
19512
|
resultCount: items.length
|
|
@@ -19492,10 +19536,10 @@ var __publicField = (obj, key, value) => {
|
|
|
19492
19536
|
inputValue = true;
|
|
19493
19537
|
}
|
|
19494
19538
|
var shouldSelect = ((_props$items = props.items) == null ? void 0 : _props$items.length) && highlightedIndex >= 0;
|
|
19495
|
-
return _extends$
|
|
19539
|
+
return _extends$1({
|
|
19496
19540
|
isOpen: false,
|
|
19497
19541
|
highlightedIndex: -1
|
|
19498
|
-
}, shouldSelect && _extends$
|
|
19542
|
+
}, shouldSelect && _extends$1({
|
|
19499
19543
|
selectedItem: props.items[highlightedIndex],
|
|
19500
19544
|
isOpen: getDefaultValue$1(props, "isOpen"),
|
|
19501
19545
|
highlightedIndex: getDefaultValue$1(props, "highlightedIndex")
|
|
@@ -19556,7 +19600,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19556
19600
|
default:
|
|
19557
19601
|
throw new Error("Reducer called without proper action type.");
|
|
19558
19602
|
}
|
|
19559
|
-
return _extends$
|
|
19603
|
+
return _extends$1({}, state, changes);
|
|
19560
19604
|
}
|
|
19561
19605
|
function getItemIndexByCharacterKey(_a) {
|
|
19562
19606
|
var keysSoFar = _a.keysSoFar, highlightedIndex = _a.highlightedIndex, items = _a.items, itemToString2 = _a.itemToString, getItemNodeFromIndex = _a.getItemNodeFromIndex;
|
|
@@ -19752,7 +19796,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19752
19796
|
};
|
|
19753
19797
|
break;
|
|
19754
19798
|
case ToggleButtonBlur:
|
|
19755
|
-
changes = _extends$
|
|
19799
|
+
changes = _extends$1({
|
|
19756
19800
|
isOpen: false,
|
|
19757
19801
|
highlightedIndex: -1
|
|
19758
19802
|
}, state.highlightedIndex >= 0 && ((_props$items = props.items) == null ? void 0 : _props$items.length) && {
|
|
@@ -19767,7 +19811,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19767
19811
|
default:
|
|
19768
19812
|
return downshiftCommonReducer(state, action, stateChangeTypes$2);
|
|
19769
19813
|
}
|
|
19770
|
-
return _extends$
|
|
19814
|
+
return _extends$1({}, state, changes);
|
|
19771
19815
|
}
|
|
19772
19816
|
var _excluded$2 = ["onMouseLeave", "refKey", "onKeyDown", "onBlur", "ref"], _excluded2$2 = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], _excluded3$1 = ["item", "index", "onMouseMove", "onClick", "onPress", "refKey", "ref", "disabled"];
|
|
19773
19817
|
useSelect.stateChangeTypes = stateChangeTypes$2;
|
|
@@ -19775,7 +19819,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19775
19819
|
if (userProps === void 0) {
|
|
19776
19820
|
userProps = {};
|
|
19777
19821
|
}
|
|
19778
|
-
var props = _extends$
|
|
19822
|
+
var props = _extends$1({}, defaultProps$2, userProps);
|
|
19779
19823
|
var items = props.items, scrollIntoView2 = props.scrollIntoView, environment = props.environment, itemToString2 = props.itemToString, getA11ySelectionMessage2 = props.getA11ySelectionMessage, getA11yStatusMessage2 = props.getA11yStatusMessage;
|
|
19780
19824
|
var initialState2 = getInitialState$2(props);
|
|
19781
19825
|
var _useControlledReducer = useControlledReducer$1(downshiftSelectReducer, initialState2, props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
@@ -19794,14 +19838,14 @@ var __publicField = (obj, key, value) => {
|
|
|
19794
19838
|
var getItemNodeFromIndex = React.useCallback(function(index2) {
|
|
19795
19839
|
return itemRefs.current[elementIds.getItemId(index2)];
|
|
19796
19840
|
}, [elementIds]);
|
|
19797
|
-
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$
|
|
19841
|
+
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$1({
|
|
19798
19842
|
isInitialMount: isInitialMountRef.current,
|
|
19799
19843
|
previousResultCount: previousResultCountRef.current,
|
|
19800
19844
|
items,
|
|
19801
19845
|
environment,
|
|
19802
19846
|
itemToString: itemToString2
|
|
19803
19847
|
}, state));
|
|
19804
|
-
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$
|
|
19848
|
+
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$1({
|
|
19805
19849
|
isInitialMount: isInitialMountRef.current,
|
|
19806
19850
|
previousResultCount: previousResultCountRef.current,
|
|
19807
19851
|
items,
|
|
@@ -19986,7 +20030,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19986
20030
|
});
|
|
19987
20031
|
}, [dispatch2]);
|
|
19988
20032
|
var getLabelProps = React.useCallback(function(labelProps) {
|
|
19989
|
-
return _extends$
|
|
20033
|
+
return _extends$1({
|
|
19990
20034
|
id: elementIds.labelId,
|
|
19991
20035
|
htmlFor: elementIds.toggleButtonId
|
|
19992
20036
|
}, labelProps);
|
|
@@ -19996,7 +20040,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19996
20040
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
19997
20041
|
_ref2.onKeyDown;
|
|
19998
20042
|
_ref2.onBlur;
|
|
19999
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
20043
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$2);
|
|
20000
20044
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20001
20045
|
_ref22.suppressRefError;
|
|
20002
20046
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -20004,7 +20048,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20004
20048
|
type: MenuMouseLeave$1
|
|
20005
20049
|
});
|
|
20006
20050
|
};
|
|
20007
|
-
return _extends$
|
|
20051
|
+
return _extends$1((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
20008
20052
|
menuRef.current = menuNode;
|
|
20009
20053
|
}), _extends2.id = elementIds.menuId, _extends2.role = "listbox", _extends2["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, menuHandleMouseLeave), _extends2), rest);
|
|
20010
20054
|
}, [dispatch2, setGetterPropCallInfo, elementIds]);
|
|
@@ -20012,7 +20056,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20012
20056
|
var _extends3;
|
|
20013
20057
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
20014
20058
|
_ref3.onPress;
|
|
20015
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
20059
|
+
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$2);
|
|
20016
20060
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
20017
20061
|
_ref4.suppressRefError;
|
|
20018
20062
|
var latestState = latest.current.state;
|
|
@@ -20040,7 +20084,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20040
20084
|
});
|
|
20041
20085
|
}
|
|
20042
20086
|
};
|
|
20043
|
-
var toggleProps = _extends$
|
|
20087
|
+
var toggleProps = _extends$1((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(toggleButtonNode) {
|
|
20044
20088
|
toggleButtonRef.current = toggleButtonNode;
|
|
20045
20089
|
}), _extends3["aria-activedescendant"] = latestState.isOpen && latestState.highlightedIndex > -1 ? elementIds.getItemId(latestState.highlightedIndex) : "", _extends3["aria-controls"] = elementIds.menuId, _extends3["aria-expanded"] = latest.current.state.isOpen, _extends3["aria-haspopup"] = "listbox", _extends3["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends3.id = elementIds.toggleButtonId, _extends3.role = "combobox", _extends3.tabIndex = 0, _extends3.onBlur = callAllEventHandlers(onBlur, toggleButtonHandleBlur), _extends3), rest);
|
|
20046
20090
|
if (!rest.disabled) {
|
|
@@ -20055,7 +20099,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20055
20099
|
var _extends4;
|
|
20056
20100
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
20057
20101
|
_ref5.onPress;
|
|
20058
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
20102
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3$1);
|
|
20059
20103
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
20060
20104
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
20061
20105
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -20075,7 +20119,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20075
20119
|
index: index2
|
|
20076
20120
|
});
|
|
20077
20121
|
};
|
|
20078
|
-
var itemProps = _extends$
|
|
20122
|
+
var itemProps = _extends$1((_extends4 = {
|
|
20079
20123
|
disabled: disabled2,
|
|
20080
20124
|
role: "option",
|
|
20081
20125
|
"aria-selected": "" + (item === selectedItem),
|
|
@@ -20167,7 +20211,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20167
20211
|
if (inputValue === "" && selectedItem && props.defaultInputValue === void 0 && props.initialInputValue === void 0 && props.inputValue === void 0) {
|
|
20168
20212
|
inputValue = props.itemToString(selectedItem);
|
|
20169
20213
|
}
|
|
20170
|
-
return _extends$
|
|
20214
|
+
return _extends$1({}, initialState2, {
|
|
20171
20215
|
inputValue
|
|
20172
20216
|
});
|
|
20173
20217
|
}
|
|
@@ -20228,7 +20272,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20228
20272
|
}, [state.selectedItem, props.selectedItem]);
|
|
20229
20273
|
return [getState(state, props), dispatch2];
|
|
20230
20274
|
}
|
|
20231
|
-
var defaultProps$1$1 = _extends$
|
|
20275
|
+
var defaultProps$1$1 = _extends$1({}, defaultProps$3, {
|
|
20232
20276
|
selectedItemChanged: function selectedItemChanged(prevItem, item) {
|
|
20233
20277
|
return prevItem !== item;
|
|
20234
20278
|
},
|
|
@@ -20279,7 +20323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20279
20323
|
changes = getChangesOnSelection(props, state.highlightedIndex);
|
|
20280
20324
|
break;
|
|
20281
20325
|
case InputKeyDownEscape:
|
|
20282
|
-
changes = _extends$
|
|
20326
|
+
changes = _extends$1({
|
|
20283
20327
|
isOpen: false,
|
|
20284
20328
|
highlightedIndex: -1
|
|
20285
20329
|
}, !state.isOpen && {
|
|
@@ -20308,7 +20352,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20308
20352
|
};
|
|
20309
20353
|
break;
|
|
20310
20354
|
case InputBlur:
|
|
20311
|
-
changes = _extends$
|
|
20355
|
+
changes = _extends$1({
|
|
20312
20356
|
isOpen: false,
|
|
20313
20357
|
highlightedIndex: -1
|
|
20314
20358
|
}, state.highlightedIndex >= 0 && ((_props$items = props.items) == null ? void 0 : _props$items.length) && action.selectItem && {
|
|
@@ -20343,7 +20387,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20343
20387
|
default:
|
|
20344
20388
|
return downshiftCommonReducer(state, action, stateChangeTypes$1$1);
|
|
20345
20389
|
}
|
|
20346
|
-
return _extends$
|
|
20390
|
+
return _extends$1({}, state, changes);
|
|
20347
20391
|
}
|
|
20348
20392
|
var _excluded$1 = ["onMouseLeave", "refKey", "ref"], _excluded2$1 = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], _excluded3 = ["onClick", "onPress", "refKey", "ref"], _excluded4 = ["onKeyDown", "onChange", "onInput", "onFocus", "onBlur", "onChangeText", "refKey", "ref"];
|
|
20349
20393
|
useCombobox.stateChangeTypes = stateChangeTypes$1$1;
|
|
@@ -20351,7 +20395,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20351
20395
|
if (userProps === void 0) {
|
|
20352
20396
|
userProps = {};
|
|
20353
20397
|
}
|
|
20354
|
-
var props = _extends$
|
|
20398
|
+
var props = _extends$1({}, defaultProps$1$1, userProps);
|
|
20355
20399
|
var initialIsOpen = props.initialIsOpen, defaultIsOpen = props.defaultIsOpen, items = props.items, scrollIntoView2 = props.scrollIntoView, environment = props.environment, getA11yStatusMessage2 = props.getA11yStatusMessage, getA11ySelectionMessage2 = props.getA11ySelectionMessage, itemToString2 = props.itemToString;
|
|
20356
20400
|
var initialState2 = getInitialState$1(props);
|
|
20357
20401
|
var _useControlledReducer = useControlledReducer(downshiftUseComboboxReducer, initialState2, props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
@@ -20370,14 +20414,14 @@ var __publicField = (obj, key, value) => {
|
|
|
20370
20414
|
var getItemNodeFromIndex = React.useCallback(function(index2) {
|
|
20371
20415
|
return itemRefs.current[elementIds.getItemId(index2)];
|
|
20372
20416
|
}, [elementIds]);
|
|
20373
|
-
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$
|
|
20417
|
+
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$1({
|
|
20374
20418
|
isInitialMount: isInitialMountRef.current,
|
|
20375
20419
|
previousResultCount: previousResultCountRef.current,
|
|
20376
20420
|
items,
|
|
20377
20421
|
environment,
|
|
20378
20422
|
itemToString: itemToString2
|
|
20379
20423
|
}, state));
|
|
20380
|
-
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$
|
|
20424
|
+
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$1({
|
|
20381
20425
|
isInitialMount: isInitialMountRef.current,
|
|
20382
20426
|
previousResultCount: previousResultCountRef.current,
|
|
20383
20427
|
items,
|
|
@@ -20510,17 +20554,17 @@ var __publicField = (obj, key, value) => {
|
|
|
20510
20554
|
};
|
|
20511
20555
|
}, [dispatch2, latest, getItemNodeFromIndex]);
|
|
20512
20556
|
var getLabelProps = React.useCallback(function(labelProps) {
|
|
20513
|
-
return _extends$
|
|
20557
|
+
return _extends$1({
|
|
20514
20558
|
id: elementIds.labelId,
|
|
20515
20559
|
htmlFor: elementIds.inputId
|
|
20516
20560
|
}, labelProps);
|
|
20517
20561
|
}, [elementIds]);
|
|
20518
20562
|
var getMenuProps = React.useCallback(function(_temp, _temp2) {
|
|
20519
20563
|
var _extends2;
|
|
20520
|
-
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
20564
|
+
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$1);
|
|
20521
20565
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20522
20566
|
_ref22.suppressRefError;
|
|
20523
|
-
return _extends$
|
|
20567
|
+
return _extends$1((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
20524
20568
|
menuRef.current = menuNode;
|
|
20525
20569
|
}), _extends2.id = elementIds.menuId, _extends2.role = "listbox", _extends2["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, function() {
|
|
20526
20570
|
dispatch2({
|
|
@@ -20532,7 +20576,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20532
20576
|
var _extends3, _ref4;
|
|
20533
20577
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, itemProp = _ref3.item, indexProp = _ref3.index, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onMouseMove = _ref3.onMouseMove, onMouseDown = _ref3.onMouseDown, onClick = _ref3.onClick;
|
|
20534
20578
|
_ref3.onPress;
|
|
20535
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
20579
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$1);
|
|
20536
20580
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
20537
20581
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
20538
20582
|
var onSelectKey = "onClick";
|
|
@@ -20557,7 +20601,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20557
20601
|
var itemHandleMouseDown = function itemHandleMouseDown2(e3) {
|
|
20558
20602
|
return e3.preventDefault();
|
|
20559
20603
|
};
|
|
20560
|
-
return _extends$
|
|
20604
|
+
return _extends$1((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(itemNode) {
|
|
20561
20605
|
if (itemNode) {
|
|
20562
20606
|
itemRefs.current[elementIds.getItemId(index2)] = itemNode;
|
|
20563
20607
|
}
|
|
@@ -20570,16 +20614,16 @@ var __publicField = (obj, key, value) => {
|
|
|
20570
20614
|
var _extends4;
|
|
20571
20615
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
20572
20616
|
_ref5.onPress;
|
|
20573
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
20617
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3);
|
|
20574
20618
|
var latestState = latest.current.state;
|
|
20575
20619
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
20576
20620
|
dispatch2({
|
|
20577
20621
|
type: ToggleButtonClick
|
|
20578
20622
|
});
|
|
20579
20623
|
};
|
|
20580
|
-
return _extends$
|
|
20624
|
+
return _extends$1((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function(toggleButtonNode) {
|
|
20581
20625
|
toggleButtonRef.current = toggleButtonNode;
|
|
20582
|
-
}), _extends4["aria-controls"] = elementIds.menuId, _extends4["aria-expanded"] = latestState.isOpen, _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$
|
|
20626
|
+
}), _extends4["aria-controls"] = elementIds.menuId, _extends4["aria-expanded"] = latestState.isOpen, _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$1({}, {
|
|
20583
20627
|
onClick: callAllEventHandlers(onClick, toggleButtonHandleClick)
|
|
20584
20628
|
}), rest);
|
|
20585
20629
|
}, [dispatch2, latest, elementIds]);
|
|
@@ -20587,7 +20631,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20587
20631
|
var _extends5;
|
|
20588
20632
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
20589
20633
|
_ref6.onChangeText;
|
|
20590
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
20634
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$4(_ref6, _excluded4);
|
|
20591
20635
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
20592
20636
|
_ref7.suppressRefError;
|
|
20593
20637
|
var latestState = latest.current.state;
|
|
@@ -20625,7 +20669,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20625
20669
|
var _eventHandlers;
|
|
20626
20670
|
eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange2, onInput, inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, inputHandleBlur), _eventHandlers.onFocus = callAllEventHandlers(onFocus, inputHandleFocus), _eventHandlers);
|
|
20627
20671
|
}
|
|
20628
|
-
return _extends$
|
|
20672
|
+
return _extends$1((_extends5 = {}, _extends5[refKey] = handleRefs(ref, function(inputNode) {
|
|
20629
20673
|
inputRef.current = inputNode;
|
|
20630
20674
|
}), _extends5["aria-activedescendant"] = latestState.isOpen && latestState.highlightedIndex > -1 ? elementIds.getItemId(latestState.highlightedIndex) : "", _extends5["aria-autocomplete"] = "list", _extends5["aria-controls"] = elementIds.menuId, _extends5["aria-expanded"] = latestState.isOpen, _extends5["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends5.autoComplete = "off", _extends5.id = elementIds.inputId, _extends5.role = "combobox", _extends5.value = latestState.inputValue, _extends5), eventHandlers, rest);
|
|
20631
20675
|
}, [setGetterPropCallInfo, latest, elementIds, inputKeyDownHandlers, dispatch2, mouseAndTouchTrackersRef, environment]);
|
|
@@ -36721,7 +36765,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36721
36765
|
writable: false
|
|
36722
36766
|
});
|
|
36723
36767
|
if (superClass)
|
|
36724
|
-
_setPrototypeOf$
|
|
36768
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
36725
36769
|
}
|
|
36726
36770
|
function _possibleConstructorReturn$1(self2, call) {
|
|
36727
36771
|
if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
|
|
@@ -36729,14 +36773,14 @@ var __publicField = (obj, key, value) => {
|
|
|
36729
36773
|
} else if (call !== void 0) {
|
|
36730
36774
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
36731
36775
|
}
|
|
36732
|
-
return _assertThisInitialized$
|
|
36776
|
+
return _assertThisInitialized$3(self2);
|
|
36733
36777
|
}
|
|
36734
36778
|
function _createSuper$1(Derived) {
|
|
36735
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
36779
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$2();
|
|
36736
36780
|
return function _createSuperInternal() {
|
|
36737
|
-
var Super = _getPrototypeOf$
|
|
36781
|
+
var Super = _getPrototypeOf$2(Derived), result;
|
|
36738
36782
|
if (hasNativeReflectConstruct) {
|
|
36739
|
-
var NewTarget = _getPrototypeOf$
|
|
36783
|
+
var NewTarget = _getPrototypeOf$2(this).constructor;
|
|
36740
36784
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
36741
36785
|
} else {
|
|
36742
36786
|
result = Super.apply(this, arguments);
|
|
@@ -36853,8 +36897,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36853
36897
|
args[_key] = arguments[_key];
|
|
36854
36898
|
}
|
|
36855
36899
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
36856
|
-
_defineProperty$5(_assertThisInitialized$
|
|
36857
|
-
_defineProperty$5(_assertThisInitialized$
|
|
36900
|
+
_defineProperty$5(_assertThisInitialized$3(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
36901
|
+
_defineProperty$5(_assertThisInitialized$3(_this2), "subPriority", -1);
|
|
36858
36902
|
return _this2;
|
|
36859
36903
|
}
|
|
36860
36904
|
_createClass$1(DateToSystemTimezoneSetter2, [{
|
|
@@ -36908,8 +36952,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36908
36952
|
args[_key] = arguments[_key];
|
|
36909
36953
|
}
|
|
36910
36954
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
36911
|
-
_defineProperty$5(_assertThisInitialized$
|
|
36912
|
-
_defineProperty$5(_assertThisInitialized$
|
|
36955
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 140);
|
|
36956
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
36913
36957
|
return _this;
|
|
36914
36958
|
}
|
|
36915
36959
|
_createClass$1(EraParser2, [{
|
|
@@ -37095,8 +37139,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37095
37139
|
args[_key] = arguments[_key];
|
|
37096
37140
|
}
|
|
37097
37141
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37098
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37099
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37142
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37143
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
37100
37144
|
return _this;
|
|
37101
37145
|
}
|
|
37102
37146
|
_createClass$1(YearParser2, [{
|
|
@@ -37152,8 +37196,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37152
37196
|
args[_key] = arguments[_key];
|
|
37153
37197
|
}
|
|
37154
37198
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37155
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37156
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37199
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37200
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
37157
37201
|
return _this;
|
|
37158
37202
|
}
|
|
37159
37203
|
_createClass$1(LocalWeekYearParser2, [{
|
|
@@ -37209,8 +37253,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37209
37253
|
args[_key] = arguments[_key];
|
|
37210
37254
|
}
|
|
37211
37255
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37212
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37213
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37256
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37257
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
37214
37258
|
return _this;
|
|
37215
37259
|
}
|
|
37216
37260
|
_createClass$1(ISOWeekYearParser2, [{
|
|
@@ -37242,8 +37286,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37242
37286
|
args[_key] = arguments[_key];
|
|
37243
37287
|
}
|
|
37244
37288
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37245
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37246
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37289
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37290
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
37247
37291
|
return _this;
|
|
37248
37292
|
}
|
|
37249
37293
|
_createClass$1(ExtendedYearParser2, [{
|
|
@@ -37274,8 +37318,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37274
37318
|
args[_key] = arguments[_key];
|
|
37275
37319
|
}
|
|
37276
37320
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37277
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37278
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37321
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 120);
|
|
37322
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
37279
37323
|
return _this;
|
|
37280
37324
|
}
|
|
37281
37325
|
_createClass$1(QuarterParser2, [{
|
|
@@ -37341,8 +37385,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37341
37385
|
args[_key] = arguments[_key];
|
|
37342
37386
|
}
|
|
37343
37387
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37344
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37345
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37388
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 120);
|
|
37389
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
37346
37390
|
return _this;
|
|
37347
37391
|
}
|
|
37348
37392
|
_createClass$1(StandAloneQuarterParser2, [{
|
|
@@ -37408,8 +37452,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37408
37452
|
args[_key] = arguments[_key];
|
|
37409
37453
|
}
|
|
37410
37454
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37411
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37412
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37455
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37456
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 110);
|
|
37413
37457
|
return _this;
|
|
37414
37458
|
}
|
|
37415
37459
|
_createClass$1(MonthParser2, [{
|
|
@@ -37479,8 +37523,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37479
37523
|
args[_key] = arguments[_key];
|
|
37480
37524
|
}
|
|
37481
37525
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37482
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37483
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37526
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 110);
|
|
37527
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37484
37528
|
return _this;
|
|
37485
37529
|
}
|
|
37486
37530
|
_createClass$1(StandAloneMonthParser2, [{
|
|
@@ -37558,8 +37602,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37558
37602
|
args[_key] = arguments[_key];
|
|
37559
37603
|
}
|
|
37560
37604
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37561
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37562
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37605
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 100);
|
|
37606
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
37563
37607
|
return _this;
|
|
37564
37608
|
}
|
|
37565
37609
|
_createClass$1(LocalWeekParser2, [{
|
|
@@ -37607,8 +37651,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37607
37651
|
args[_key] = arguments[_key];
|
|
37608
37652
|
}
|
|
37609
37653
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37610
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37611
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37654
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 100);
|
|
37655
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
37612
37656
|
return _this;
|
|
37613
37657
|
}
|
|
37614
37658
|
_createClass$1(ISOWeekParser2, [{
|
|
@@ -37650,9 +37694,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37650
37694
|
args[_key] = arguments[_key];
|
|
37651
37695
|
}
|
|
37652
37696
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37653
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37654
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37655
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37697
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37698
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "subPriority", 1);
|
|
37699
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37656
37700
|
return _this;
|
|
37657
37701
|
}
|
|
37658
37702
|
_createClass$1(DateParser2, [{
|
|
@@ -37701,9 +37745,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37701
37745
|
args[_key] = arguments[_key];
|
|
37702
37746
|
}
|
|
37703
37747
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37704
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37705
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37706
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37748
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37749
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "subpriority", 1);
|
|
37750
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
37707
37751
|
return _this;
|
|
37708
37752
|
}
|
|
37709
37753
|
_createClass$1(DayOfYearParser2, [{
|
|
@@ -37769,8 +37813,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37769
37813
|
args[_key] = arguments[_key];
|
|
37770
37814
|
}
|
|
37771
37815
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37772
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37773
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37816
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37817
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
37774
37818
|
return _this;
|
|
37775
37819
|
}
|
|
37776
37820
|
_createClass$1(DayParser2, [{
|
|
@@ -37845,8 +37889,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37845
37889
|
args[_key] = arguments[_key];
|
|
37846
37890
|
}
|
|
37847
37891
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37848
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37849
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37892
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37893
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
37850
37894
|
return _this;
|
|
37851
37895
|
}
|
|
37852
37896
|
_createClass$1(LocalDayParser2, [{
|
|
@@ -37930,8 +37974,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37930
37974
|
args[_key] = arguments[_key];
|
|
37931
37975
|
}
|
|
37932
37976
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37933
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37934
|
-
_defineProperty$5(_assertThisInitialized$
|
|
37977
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37978
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
37935
37979
|
return _this;
|
|
37936
37980
|
}
|
|
37937
37981
|
_createClass$1(StandAloneLocalDayParser2, [{
|
|
@@ -38030,8 +38074,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38030
38074
|
args[_key] = arguments[_key];
|
|
38031
38075
|
}
|
|
38032
38076
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38033
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38034
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38077
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
38078
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
38035
38079
|
return _this;
|
|
38036
38080
|
}
|
|
38037
38081
|
_createClass$1(ISODayParser2, [{
|
|
@@ -38117,8 +38161,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38117
38161
|
args[_key] = arguments[_key];
|
|
38118
38162
|
}
|
|
38119
38163
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38120
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38121
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38164
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
|
|
38165
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
38122
38166
|
return _this;
|
|
38123
38167
|
}
|
|
38124
38168
|
_createClass$1(AMPMParser2, [{
|
|
@@ -38173,8 +38217,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38173
38217
|
args[_key] = arguments[_key];
|
|
38174
38218
|
}
|
|
38175
38219
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38176
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38177
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38220
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
|
|
38221
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
38178
38222
|
return _this;
|
|
38179
38223
|
}
|
|
38180
38224
|
_createClass$1(AMPMMidnightParser2, [{
|
|
@@ -38229,8 +38273,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38229
38273
|
args[_key] = arguments[_key];
|
|
38230
38274
|
}
|
|
38231
38275
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38232
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38233
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38276
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
|
|
38277
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
38234
38278
|
return _this;
|
|
38235
38279
|
}
|
|
38236
38280
|
_createClass$1(DayPeriodParser2, [{
|
|
@@ -38285,8 +38329,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38285
38329
|
args[_key] = arguments[_key];
|
|
38286
38330
|
}
|
|
38287
38331
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38288
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38289
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38332
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38333
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
38290
38334
|
return _this;
|
|
38291
38335
|
}
|
|
38292
38336
|
_createClass$1(Hour1to12Parser2, [{
|
|
@@ -38334,8 +38378,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38334
38378
|
args[_key] = arguments[_key];
|
|
38335
38379
|
}
|
|
38336
38380
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38337
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38338
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38381
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38382
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
38339
38383
|
return _this;
|
|
38340
38384
|
}
|
|
38341
38385
|
_createClass$1(Hour0to23Parser2, [{
|
|
@@ -38376,8 +38420,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38376
38420
|
args[_key] = arguments[_key];
|
|
38377
38421
|
}
|
|
38378
38422
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38379
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38380
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38423
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38424
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
38381
38425
|
return _this;
|
|
38382
38426
|
}
|
|
38383
38427
|
_createClass$1(Hour0To11Parser2, [{
|
|
@@ -38423,8 +38467,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38423
38467
|
args[_key] = arguments[_key];
|
|
38424
38468
|
}
|
|
38425
38469
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38426
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38427
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38470
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38471
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
38428
38472
|
return _this;
|
|
38429
38473
|
}
|
|
38430
38474
|
_createClass$1(Hour1To24Parser2, [{
|
|
@@ -38466,8 +38510,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38466
38510
|
args[_key] = arguments[_key];
|
|
38467
38511
|
}
|
|
38468
38512
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38469
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38470
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38513
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 60);
|
|
38514
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38471
38515
|
return _this;
|
|
38472
38516
|
}
|
|
38473
38517
|
_createClass$1(MinuteParser2, [{
|
|
@@ -38508,8 +38552,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38508
38552
|
args[_key] = arguments[_key];
|
|
38509
38553
|
}
|
|
38510
38554
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38511
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38512
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38555
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 50);
|
|
38556
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38513
38557
|
return _this;
|
|
38514
38558
|
}
|
|
38515
38559
|
_createClass$1(SecondParser2, [{
|
|
@@ -38550,8 +38594,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38550
38594
|
args[_key] = arguments[_key];
|
|
38551
38595
|
}
|
|
38552
38596
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38553
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38554
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38597
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 30);
|
|
38598
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38555
38599
|
return _this;
|
|
38556
38600
|
}
|
|
38557
38601
|
_createClass$1(FractionOfSecondParser2, [{
|
|
@@ -38581,8 +38625,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38581
38625
|
args[_key] = arguments[_key];
|
|
38582
38626
|
}
|
|
38583
38627
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38584
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38585
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38628
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 10);
|
|
38629
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
38586
38630
|
return _this;
|
|
38587
38631
|
}
|
|
38588
38632
|
_createClass$1(ISOTimezoneWithZParser2, [{
|
|
@@ -38623,8 +38667,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38623
38667
|
args[_key] = arguments[_key];
|
|
38624
38668
|
}
|
|
38625
38669
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38626
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38627
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38670
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 10);
|
|
38671
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
38628
38672
|
return _this;
|
|
38629
38673
|
}
|
|
38630
38674
|
_createClass$1(ISOTimezoneParser2, [{
|
|
@@ -38665,8 +38709,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38665
38709
|
args[_key] = arguments[_key];
|
|
38666
38710
|
}
|
|
38667
38711
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38668
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38669
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38712
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 40);
|
|
38713
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38670
38714
|
return _this;
|
|
38671
38715
|
}
|
|
38672
38716
|
_createClass$1(TimestampSecondsParser2, [{
|
|
@@ -38694,8 +38738,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38694
38738
|
args[_key] = arguments[_key];
|
|
38695
38739
|
}
|
|
38696
38740
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38697
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38698
|
-
_defineProperty$5(_assertThisInitialized$
|
|
38741
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 20);
|
|
38742
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38699
38743
|
return _this;
|
|
38700
38744
|
}
|
|
38701
38745
|
_createClass$1(TimestampMillisecondsParser2, [{
|
|
@@ -39112,7 +39156,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39112
39156
|
}
|
|
39113
39157
|
return target;
|
|
39114
39158
|
}
|
|
39115
|
-
function _assertThisInitialized$
|
|
39159
|
+
function _assertThisInitialized$2(self2) {
|
|
39116
39160
|
if (self2 === void 0) {
|
|
39117
39161
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
39118
39162
|
}
|
|
@@ -39244,7 +39288,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39244
39288
|
_this.__outsideClickHandler(event);
|
|
39245
39289
|
};
|
|
39246
39290
|
events.forEach(function(eventName) {
|
|
39247
|
-
document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$
|
|
39291
|
+
document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$2(_this), eventName));
|
|
39248
39292
|
});
|
|
39249
39293
|
};
|
|
39250
39294
|
_this.disableOnClickOutside = function() {
|
|
@@ -39256,7 +39300,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39256
39300
|
events = [events];
|
|
39257
39301
|
}
|
|
39258
39302
|
events.forEach(function(eventName) {
|
|
39259
|
-
return document.removeEventListener(eventName, fn, getEventHandlerOptions(_assertThisInitialized$
|
|
39303
|
+
return document.removeEventListener(eventName, fn, getEventHandlerOptions(_assertThisInitialized$2(_this), eventName));
|
|
39260
39304
|
});
|
|
39261
39305
|
delete handlersMap[_this._uid];
|
|
39262
39306
|
}
|
|
@@ -43985,11 +44029,11 @@ var __publicField = (obj, key, value) => {
|
|
|
43985
44029
|
if (superClass)
|
|
43986
44030
|
_setPrototypeOf(subClass, superClass);
|
|
43987
44031
|
}
|
|
43988
|
-
function _getPrototypeOf(o2) {
|
|
43989
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
44032
|
+
function _getPrototypeOf$1(o2) {
|
|
44033
|
+
_getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
43990
44034
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
43991
44035
|
};
|
|
43992
|
-
return _getPrototypeOf(o2);
|
|
44036
|
+
return _getPrototypeOf$1(o2);
|
|
43993
44037
|
}
|
|
43994
44038
|
function _setPrototypeOf(o2, p2) {
|
|
43995
44039
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
@@ -43998,7 +44042,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43998
44042
|
};
|
|
43999
44043
|
return _setPrototypeOf(o2, p2);
|
|
44000
44044
|
}
|
|
44001
|
-
function _isNativeReflectConstruct() {
|
|
44045
|
+
function _isNativeReflectConstruct$1() {
|
|
44002
44046
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
44003
44047
|
return false;
|
|
44004
44048
|
if (Reflect.construct.sham)
|
|
@@ -44013,7 +44057,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44013
44057
|
return false;
|
|
44014
44058
|
}
|
|
44015
44059
|
}
|
|
44016
|
-
function _assertThisInitialized(self2) {
|
|
44060
|
+
function _assertThisInitialized$1(self2) {
|
|
44017
44061
|
if (self2 === void 0) {
|
|
44018
44062
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
44019
44063
|
}
|
|
@@ -44023,14 +44067,14 @@ var __publicField = (obj, key, value) => {
|
|
|
44023
44067
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
44024
44068
|
return call;
|
|
44025
44069
|
}
|
|
44026
|
-
return _assertThisInitialized(self2);
|
|
44070
|
+
return _assertThisInitialized$1(self2);
|
|
44027
44071
|
}
|
|
44028
44072
|
function _createSuper(Derived) {
|
|
44029
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
44073
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$1();
|
|
44030
44074
|
return function _createSuperInternal() {
|
|
44031
|
-
var Super = _getPrototypeOf(Derived), result;
|
|
44075
|
+
var Super = _getPrototypeOf$1(Derived), result;
|
|
44032
44076
|
if (hasNativeReflectConstruct) {
|
|
44033
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
44077
|
+
var NewTarget = _getPrototypeOf$1(this).constructor;
|
|
44034
44078
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
44035
44079
|
} else {
|
|
44036
44080
|
result = Super.apply(this, arguments);
|
|
@@ -44602,7 +44646,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44602
44646
|
_this.onKeyDown = function(e3, handleID) {
|
|
44603
44647
|
var validUpKeys = ["ArrowRight", "ArrowUp"];
|
|
44604
44648
|
var validDownKeys = ["ArrowDown", "ArrowLeft"];
|
|
44605
|
-
var _assertThisInitialize = _assertThisInitialized(_this), handles = _assertThisInitialize.state.handles, _assertThisInitialize2 = _assertThisInitialize.props, _assertThisInitialize3 = _assertThisInitialize2.step, step = _assertThisInitialize3 === void 0 ? 0.1 : _assertThisInitialize3, _assertThisInitialize4 = _assertThisInitialize2.reversed, reversed = _assertThisInitialize4 === void 0 ? false : _assertThisInitialize4, _assertThisInitialize5 = _assertThisInitialize2.vertical, vertical = _assertThisInitialize5 === void 0 ? false : _assertThisInitialize5, _assertThisInitialize6 = _assertThisInitialize2.domain, domain = _assertThisInitialize6 === void 0 ? [0, 100] : _assertThisInitialize6;
|
|
44649
|
+
var _assertThisInitialize = _assertThisInitialized$1(_this), handles = _assertThisInitialize.state.handles, _assertThisInitialize2 = _assertThisInitialize.props, _assertThisInitialize3 = _assertThisInitialize2.step, step = _assertThisInitialize3 === void 0 ? 0.1 : _assertThisInitialize3, _assertThisInitialize4 = _assertThisInitialize2.reversed, reversed = _assertThisInitialize4 === void 0 ? false : _assertThisInitialize4, _assertThisInitialize5 = _assertThisInitialize2.vertical, vertical = _assertThisInitialize5 === void 0 ? false : _assertThisInitialize5, _assertThisInitialize6 = _assertThisInitialize2.domain, domain = _assertThisInitialize6 === void 0 ? [0, 100] : _assertThisInitialize6;
|
|
44606
44650
|
var key = e3.key || "".concat(e3.keyCode);
|
|
44607
44651
|
if (!validUpKeys.concat(validDownKeys).includes(key)) {
|
|
44608
44652
|
return;
|
|
@@ -44645,7 +44689,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44645
44689
|
_this.onStart(e3, handleID, true);
|
|
44646
44690
|
};
|
|
44647
44691
|
_this.getEventData = function(e3, isTouch) {
|
|
44648
|
-
var _assertThisInitialize7 = _assertThisInitialized(_this), _assertThisInitialize8 = _assertThisInitialize7.state, pixelToStep = _assertThisInitialize8.pixelToStep, valueToPerc = _assertThisInitialize8.valueToPerc, vertical = _assertThisInitialize7.props.vertical;
|
|
44692
|
+
var _assertThisInitialize7 = _assertThisInitialized$1(_this), _assertThisInitialize8 = _assertThisInitialize7.state, pixelToStep = _assertThisInitialize8.pixelToStep, valueToPerc = _assertThisInitialize8.valueToPerc, vertical = _assertThisInitialize7.props.vertical;
|
|
44649
44693
|
pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
|
|
44650
44694
|
var value;
|
|
44651
44695
|
if (isTouch && e3 instanceof TouchEvent) {
|
|
@@ -44659,14 +44703,14 @@ var __publicField = (obj, key, value) => {
|
|
|
44659
44703
|
};
|
|
44660
44704
|
};
|
|
44661
44705
|
_this.onMouseMove = function(e3) {
|
|
44662
|
-
var _assertThisInitialize9 = _assertThisInitialized(_this), _assertThisInitialize10 = _assertThisInitialize9.state, curr = _assertThisInitialize10.handles, pixelToStep = _assertThisInitialize10.pixelToStep, _assertThisInitialize11 = _assertThisInitialize10.activeHandleID, activeHandleID = _assertThisInitialize11 === void 0 ? "" : _assertThisInitialize11, _assertThisInitialize12 = _assertThisInitialize9.props, vertical = _assertThisInitialize12.vertical, _assertThisInitialize13 = _assertThisInitialize12.reversed, reversed = _assertThisInitialize13 === void 0 ? false : _assertThisInitialize13;
|
|
44706
|
+
var _assertThisInitialize9 = _assertThisInitialized$1(_this), _assertThisInitialize10 = _assertThisInitialize9.state, curr = _assertThisInitialize10.handles, pixelToStep = _assertThisInitialize10.pixelToStep, _assertThisInitialize11 = _assertThisInitialize10.activeHandleID, activeHandleID = _assertThisInitialize11 === void 0 ? "" : _assertThisInitialize11, _assertThisInitialize12 = _assertThisInitialize9.props, vertical = _assertThisInitialize12.vertical, _assertThisInitialize13 = _assertThisInitialize12.reversed, reversed = _assertThisInitialize13 === void 0 ? false : _assertThisInitialize13;
|
|
44663
44707
|
pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
|
|
44664
44708
|
var updateValue = pixelToStep.getValue(vertical ? e3.clientY : e3.pageX);
|
|
44665
44709
|
var nextHandles = getUpdatedHandles(curr, activeHandleID, updateValue, reversed);
|
|
44666
44710
|
_this.submitUpdate(nextHandles);
|
|
44667
44711
|
};
|
|
44668
44712
|
_this.onTouchMove = function(e3) {
|
|
44669
|
-
var _assertThisInitialize14 = _assertThisInitialized(_this), _assertThisInitialize15 = _assertThisInitialize14.state, curr = _assertThisInitialize15.handles, pixelToStep = _assertThisInitialize15.pixelToStep, activeHandleID = _assertThisInitialize15.activeHandleID, _assertThisInitialize16 = _assertThisInitialize14.props, vertical = _assertThisInitialize16.vertical, reversed = _assertThisInitialize16.reversed;
|
|
44713
|
+
var _assertThisInitialize14 = _assertThisInitialized$1(_this), _assertThisInitialize15 = _assertThisInitialize14.state, curr = _assertThisInitialize15.handles, pixelToStep = _assertThisInitialize15.pixelToStep, activeHandleID = _assertThisInitialize15.activeHandleID, _assertThisInitialize16 = _assertThisInitialize14.props, vertical = _assertThisInitialize16.vertical, reversed = _assertThisInitialize16.reversed;
|
|
44670
44714
|
if (pixelToStep === null || isNotValidTouch(e3)) {
|
|
44671
44715
|
return;
|
|
44672
44716
|
}
|
|
@@ -44676,7 +44720,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44676
44720
|
_this.submitUpdate(nextHandles);
|
|
44677
44721
|
};
|
|
44678
44722
|
_this.onMouseUp = function() {
|
|
44679
|
-
var _assertThisInitialize17 = _assertThisInitialized(_this), _assertThisInitialize18 = _assertThisInitialize17.state, _assertThisInitialize19 = _assertThisInitialize18.handles, handles = _assertThisInitialize19 === void 0 ? [] : _assertThisInitialize19, activeHandleID = _assertThisInitialize18.activeHandleID, _assertThisInitialize20 = _assertThisInitialize17.props, _assertThisInitialize21 = _assertThisInitialize20.onChange, onChange2 = _assertThisInitialize21 === void 0 ? noop$3 : _assertThisInitialize21, _assertThisInitialize22 = _assertThisInitialize20.onSlideEnd, onSlideEnd = _assertThisInitialize22 === void 0 ? noop$3 : _assertThisInitialize22;
|
|
44723
|
+
var _assertThisInitialize17 = _assertThisInitialized$1(_this), _assertThisInitialize18 = _assertThisInitialize17.state, _assertThisInitialize19 = _assertThisInitialize18.handles, handles = _assertThisInitialize19 === void 0 ? [] : _assertThisInitialize19, activeHandleID = _assertThisInitialize18.activeHandleID, _assertThisInitialize20 = _assertThisInitialize17.props, _assertThisInitialize21 = _assertThisInitialize20.onChange, onChange2 = _assertThisInitialize21 === void 0 ? noop$3 : _assertThisInitialize21, _assertThisInitialize22 = _assertThisInitialize20.onSlideEnd, onSlideEnd = _assertThisInitialize22 === void 0 ? noop$3 : _assertThisInitialize22;
|
|
44680
44724
|
onChange2(handles.map(function(d2) {
|
|
44681
44725
|
return d2.val;
|
|
44682
44726
|
}));
|
|
@@ -44694,7 +44738,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44694
44738
|
}
|
|
44695
44739
|
};
|
|
44696
44740
|
_this.onTouchEnd = function() {
|
|
44697
|
-
var _assertThisInitialize23 = _assertThisInitialized(_this), _assertThisInitialize24 = _assertThisInitialize23.state, handles = _assertThisInitialize24.handles, activeHandleID = _assertThisInitialize24.activeHandleID, _assertThisInitialize25 = _assertThisInitialize23.props, _assertThisInitialize26 = _assertThisInitialize25.onChange, onChange2 = _assertThisInitialize26 === void 0 ? noop$3 : _assertThisInitialize26, _assertThisInitialize27 = _assertThisInitialize25.onSlideEnd, onSlideEnd = _assertThisInitialize27 === void 0 ? noop$3 : _assertThisInitialize27;
|
|
44741
|
+
var _assertThisInitialize23 = _assertThisInitialized$1(_this), _assertThisInitialize24 = _assertThisInitialize23.state, handles = _assertThisInitialize24.handles, activeHandleID = _assertThisInitialize24.activeHandleID, _assertThisInitialize25 = _assertThisInitialize23.props, _assertThisInitialize26 = _assertThisInitialize25.onChange, onChange2 = _assertThisInitialize26 === void 0 ? noop$3 : _assertThisInitialize26, _assertThisInitialize27 = _assertThisInitialize25.onSlideEnd, onSlideEnd = _assertThisInitialize27 === void 0 ? noop$3 : _assertThisInitialize27;
|
|
44698
44742
|
onChange2(handles.map(function(d2) {
|
|
44699
44743
|
return d2.val;
|
|
44700
44744
|
}));
|
|
@@ -47808,11 +47852,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
47808
47852
|
function List2(props) {
|
|
47809
47853
|
var _this;
|
|
47810
47854
|
_this = _PureComponent.call(this, props) || this;
|
|
47811
|
-
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized$
|
|
47855
|
+
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized$3(_assertThisInitialized$3(_this)));
|
|
47812
47856
|
_this._outerRef = void 0;
|
|
47813
47857
|
_this._resetIsScrollingTimeoutId = null;
|
|
47814
47858
|
_this.state = {
|
|
47815
|
-
instance: _assertThisInitialized$
|
|
47859
|
+
instance: _assertThisInitialized$3(_assertThisInitialized$3(_this)),
|
|
47816
47860
|
isScrolling: false,
|
|
47817
47861
|
scrollDirection: "forward",
|
|
47818
47862
|
scrollOffset: typeof _this.props.initialScrollOffset === "number" ? _this.props.initialScrollOffset : 0,
|
|
@@ -48026,7 +48070,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
48026
48070
|
className,
|
|
48027
48071
|
onScroll,
|
|
48028
48072
|
ref: this._outerRefSetter,
|
|
48029
|
-
style: _extends$
|
|
48073
|
+
style: _extends$1({
|
|
48030
48074
|
position: "relative",
|
|
48031
48075
|
height,
|
|
48032
48076
|
width,
|
|
@@ -48178,8 +48222,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
48178
48222
|
return false;
|
|
48179
48223
|
}
|
|
48180
48224
|
function areEqual(prevProps, nextProps) {
|
|
48181
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
48182
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
48225
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$4(prevProps, ["style"]);
|
|
48226
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$4(nextProps, ["style"]);
|
|
48183
48227
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
48184
48228
|
}
|
|
48185
48229
|
const GlobalStyle = styled.createGlobalStyle`
|
|
@@ -50471,14 +50515,88 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50471
50515
|
}
|
|
50472
50516
|
return DelayMessage2;
|
|
50473
50517
|
}();
|
|
50518
|
+
function _assertThisInitialized(self2) {
|
|
50519
|
+
if (self2 === void 0) {
|
|
50520
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
50521
|
+
}
|
|
50522
|
+
return self2;
|
|
50523
|
+
}
|
|
50524
|
+
function _getPrototypeOf(o2) {
|
|
50525
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
|
|
50526
|
+
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
50527
|
+
};
|
|
50528
|
+
return _getPrototypeOf(o2);
|
|
50529
|
+
}
|
|
50530
|
+
function _isNativeFunction(fn) {
|
|
50531
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
50532
|
+
}
|
|
50533
|
+
function _isNativeReflectConstruct() {
|
|
50534
|
+
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
50535
|
+
return false;
|
|
50536
|
+
if (Reflect.construct.sham)
|
|
50537
|
+
return false;
|
|
50538
|
+
if (typeof Proxy === "function")
|
|
50539
|
+
return true;
|
|
50540
|
+
try {
|
|
50541
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
50542
|
+
}));
|
|
50543
|
+
return true;
|
|
50544
|
+
} catch (e3) {
|
|
50545
|
+
return false;
|
|
50546
|
+
}
|
|
50547
|
+
}
|
|
50548
|
+
function _construct(Parent, args, Class) {
|
|
50549
|
+
if (_isNativeReflectConstruct()) {
|
|
50550
|
+
_construct = Reflect.construct.bind();
|
|
50551
|
+
} else {
|
|
50552
|
+
_construct = function _construct2(Parent2, args2, Class2) {
|
|
50553
|
+
var a2 = [null];
|
|
50554
|
+
a2.push.apply(a2, args2);
|
|
50555
|
+
var Constructor = Function.bind.apply(Parent2, a2);
|
|
50556
|
+
var instance = new Constructor();
|
|
50557
|
+
if (Class2)
|
|
50558
|
+
_setPrototypeOf$5(instance, Class2.prototype);
|
|
50559
|
+
return instance;
|
|
50560
|
+
};
|
|
50561
|
+
}
|
|
50562
|
+
return _construct.apply(null, arguments);
|
|
50563
|
+
}
|
|
50564
|
+
function _wrapNativeSuper(Class) {
|
|
50565
|
+
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
50566
|
+
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
50567
|
+
if (Class2 === null || !_isNativeFunction(Class2))
|
|
50568
|
+
return Class2;
|
|
50569
|
+
if (typeof Class2 !== "function") {
|
|
50570
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
50571
|
+
}
|
|
50572
|
+
if (typeof _cache !== "undefined") {
|
|
50573
|
+
if (_cache.has(Class2))
|
|
50574
|
+
return _cache.get(Class2);
|
|
50575
|
+
_cache.set(Class2, Wrapper2);
|
|
50576
|
+
}
|
|
50577
|
+
function Wrapper2() {
|
|
50578
|
+
return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
|
|
50579
|
+
}
|
|
50580
|
+
Wrapper2.prototype = Object.create(Class2.prototype, {
|
|
50581
|
+
constructor: {
|
|
50582
|
+
value: Wrapper2,
|
|
50583
|
+
enumerable: false,
|
|
50584
|
+
writable: true,
|
|
50585
|
+
configurable: true
|
|
50586
|
+
}
|
|
50587
|
+
});
|
|
50588
|
+
return _setPrototypeOf$5(Wrapper2, Class2);
|
|
50589
|
+
};
|
|
50590
|
+
return _wrapNativeSuper(Class);
|
|
50591
|
+
}
|
|
50474
50592
|
var PolishedError = /* @__PURE__ */ function(_Error) {
|
|
50475
|
-
_inheritsLoose$
|
|
50593
|
+
_inheritsLoose$2(PolishedError2, _Error);
|
|
50476
50594
|
function PolishedError2(code) {
|
|
50477
50595
|
var _this;
|
|
50478
50596
|
{
|
|
50479
50597
|
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
|
|
50480
50598
|
}
|
|
50481
|
-
return _assertThisInitialized
|
|
50599
|
+
return _assertThisInitialized(_this);
|
|
50482
50600
|
}
|
|
50483
50601
|
return PolishedError2;
|
|
50484
50602
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
@@ -50829,11 +50947,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50829
50947
|
if (weight === 0)
|
|
50830
50948
|
return otherColor;
|
|
50831
50949
|
var parsedColor1 = parseToRgb(color);
|
|
50832
|
-
var color1 = _extends$
|
|
50950
|
+
var color1 = _extends$4({}, parsedColor1, {
|
|
50833
50951
|
alpha: typeof parsedColor1.alpha === "number" ? parsedColor1.alpha : 1
|
|
50834
50952
|
});
|
|
50835
50953
|
var parsedColor2 = parseToRgb(otherColor);
|
|
50836
|
-
var color2 = _extends$
|
|
50954
|
+
var color2 = _extends$4({}, parsedColor2, {
|
|
50837
50955
|
alpha: typeof parsedColor2.alpha === "number" ? parsedColor2.alpha : 1
|
|
50838
50956
|
});
|
|
50839
50957
|
var alphaDelta = color1.alpha - color2.alpha;
|
|
@@ -50857,7 +50975,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50857
50975
|
return color;
|
|
50858
50976
|
var parsedColor = parseToRgb(color);
|
|
50859
50977
|
var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
50860
|
-
var colorWithAlpha = _extends$
|
|
50978
|
+
var colorWithAlpha = _extends$4({}, parsedColor, {
|
|
50861
50979
|
alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
|
|
50862
50980
|
});
|
|
50863
50981
|
return rgba(colorWithAlpha);
|
|
@@ -57023,22 +57141,29 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
57023
57141
|
this.actionImpl = actionImpl;
|
|
57024
57142
|
}
|
|
57025
57143
|
}
|
|
57026
|
-
async function resolveActionImpl(actionImpl, getAction, importers) {
|
|
57144
|
+
async function resolveActionImpl(actionImpl, getAction, importers, actionCtx) {
|
|
57145
|
+
let actionHandler;
|
|
57027
57146
|
if (!ACTION_HANDLER_BY_NAME[actionImpl.name]) {
|
|
57028
|
-
let actionDef;
|
|
57029
57147
|
try {
|
|
57030
|
-
actionDef = getAction(actionImpl);
|
|
57148
|
+
const actionDef = getAction(actionImpl);
|
|
57149
|
+
const moduleContent = await importers[actionDef.py_module]();
|
|
57150
|
+
actionHandler = moduleContent[actionImpl.name];
|
|
57151
|
+
ACTION_HANDLER_BY_NAME[actionImpl.name] = actionHandler;
|
|
57031
57152
|
} catch {
|
|
57032
|
-
|
|
57153
|
+
if (actionCtx.onUnhandledAction) {
|
|
57154
|
+
actionHandler = actionCtx.onUnhandledAction;
|
|
57155
|
+
} else {
|
|
57156
|
+
throw new UnhandledActionError(`Action definition for impl "${actionImpl.name}" not found`, actionImpl);
|
|
57157
|
+
}
|
|
57033
57158
|
}
|
|
57034
|
-
|
|
57035
|
-
|
|
57159
|
+
} else {
|
|
57160
|
+
actionHandler = ACTION_HANDLER_BY_NAME[actionImpl.name];
|
|
57036
57161
|
}
|
|
57037
|
-
return
|
|
57162
|
+
return actionHandler;
|
|
57038
57163
|
}
|
|
57039
57164
|
async function executeAction(input, action, actionCtx, getAction, importers) {
|
|
57040
57165
|
if (isActionImpl(action)) {
|
|
57041
|
-
const handler = await resolveActionImpl(action, getAction, importers);
|
|
57166
|
+
const handler = await resolveActionImpl(action, getAction, importers, actionCtx);
|
|
57042
57167
|
const result = handler(actionCtx, action);
|
|
57043
57168
|
if (result instanceof Promise) {
|
|
57044
57169
|
await result;
|
|
@@ -57060,7 +57185,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
57060
57185
|
}
|
|
57061
57186
|
};
|
|
57062
57187
|
const onError = (error) => {
|
|
57063
|
-
console.error("Error executing action:", error);
|
|
57064
57188
|
if (!isSettled) {
|
|
57065
57189
|
isSettled = true;
|
|
57066
57190
|
sub.unsubscribe();
|
|
@@ -57070,7 +57194,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
57070
57194
|
sub = observable2.pipe(
|
|
57071
57195
|
concatMap(async (actionImpl) => {
|
|
57072
57196
|
if (actionImpl) {
|
|
57073
|
-
const handler = await resolveActionImpl(actionImpl, getAction, importers);
|
|
57197
|
+
const handler = await resolveActionImpl(actionImpl, getAction, importers, actionCtx);
|
|
57074
57198
|
return [handler, actionImpl];
|
|
57075
57199
|
}
|
|
57076
57200
|
return null;
|
|
@@ -57133,6 +57257,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
57133
57257
|
const fullActionContext = {
|
|
57134
57258
|
...actionCtx.current,
|
|
57135
57259
|
input,
|
|
57260
|
+
onUnhandledAction: (_a = optionsRef.current) == null ? void 0 : _a.onUnhandledAction,
|
|
57136
57261
|
gotoSnapshot: cbInterface.gotoSnapshot,
|
|
57137
57262
|
refresh: cbInterface.refresh,
|
|
57138
57263
|
reset: cbInterface.reset,
|
|
@@ -57143,25 +57268,14 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
57143
57268
|
try {
|
|
57144
57269
|
await executeAction(input, actionToExecute, fullActionContext, getAction, importers);
|
|
57145
57270
|
} catch (error) {
|
|
57271
|
+
console.error(error);
|
|
57272
|
+
let message = "Try again or contact the application owner";
|
|
57146
57273
|
if (error instanceof UnhandledActionError) {
|
|
57147
|
-
|
|
57148
|
-
const result = optionsRef.current.onUnhandledAction(error.actionImpl, fullActionContext);
|
|
57149
|
-
if (result instanceof Promise) {
|
|
57150
|
-
await result;
|
|
57151
|
-
}
|
|
57152
|
-
} else {
|
|
57153
|
-
actionCtx.current.notificationCtx.pushNotification({
|
|
57154
|
-
key: "_actionError",
|
|
57155
|
-
message: `Action "${error.actionImpl.name}" not registered`,
|
|
57156
|
-
status: Status.ERROR,
|
|
57157
|
-
title: "Error executing action"
|
|
57158
|
-
});
|
|
57159
|
-
}
|
|
57160
|
-
continue;
|
|
57274
|
+
message = error.message;
|
|
57161
57275
|
}
|
|
57162
57276
|
actionCtx.current.notificationCtx.pushNotification({
|
|
57163
57277
|
key: "_actionError",
|
|
57164
|
-
message
|
|
57278
|
+
message,
|
|
57165
57279
|
status: Status.ERROR,
|
|
57166
57280
|
title: "Error executing action"
|
|
57167
57281
|
});
|
|
@@ -92269,15 +92383,15 @@ Inferred class string: "${iconClasses}."`
|
|
|
92269
92383
|
var _class;
|
|
92270
92384
|
var getItemOffset = _ref2.getItemOffset, getEstimatedTotalSize2 = _ref2.getEstimatedTotalSize, getItemSize = _ref2.getItemSize, getOffsetForIndexAndAlignment = _ref2.getOffsetForIndexAndAlignment, getStartIndexForOffset = _ref2.getStartIndexForOffset, getStopIndexForStartIndex = _ref2.getStopIndexForStartIndex, initInstanceProps = _ref2.initInstanceProps, shouldResetStyleCacheOnItemSizeChange = _ref2.shouldResetStyleCacheOnItemSizeChange, validateProps = _ref2.validateProps;
|
|
92271
92385
|
return _class = /* @__PURE__ */ function(_PureComponent) {
|
|
92272
|
-
_inheritsLoose$
|
|
92386
|
+
_inheritsLoose$2(List2, _PureComponent);
|
|
92273
92387
|
function List2(props) {
|
|
92274
92388
|
var _this;
|
|
92275
92389
|
_this = _PureComponent.call(this, props) || this;
|
|
92276
|
-
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized
|
|
92390
|
+
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));
|
|
92277
92391
|
_this._outerRef = void 0;
|
|
92278
92392
|
_this._resetIsScrollingTimeoutId = null;
|
|
92279
92393
|
_this.state = {
|
|
92280
|
-
instance: _assertThisInitialized
|
|
92394
|
+
instance: _assertThisInitialized(_this),
|
|
92281
92395
|
isScrolling: false,
|
|
92282
92396
|
scrollDirection: "forward",
|
|
92283
92397
|
scrollOffset: typeof _this.props.initialScrollOffset === "number" ? _this.props.initialScrollOffset : 0,
|
|
@@ -92500,7 +92614,7 @@ Inferred class string: "${iconClasses}."`
|
|
|
92500
92614
|
className,
|
|
92501
92615
|
onScroll,
|
|
92502
92616
|
ref: this._outerRefSetter,
|
|
92503
|
-
style: _extends$
|
|
92617
|
+
style: _extends$4({
|
|
92504
92618
|
position: "relative",
|
|
92505
92619
|
height,
|
|
92506
92620
|
width,
|