@equinor/echo-components 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { useState, useEffect, useRef, createElement, Component,
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useCallback, createElement, Component, PureComponent, useLayoutEffect, useMemo, createContext as createContext$1, useContext, forwardRef, isValidElement, cloneElement, useDebugValue } from 'react';
|
|
3
3
|
import { Icon as Icon$1, Button, DotProgress, Banner, CircularProgress, Typography, TextField, Dialog, Search, Tooltip as Tooltip$2, Radio, Slider, Menu, Autocomplete } from '@equinor/eds-core-react';
|
|
4
4
|
import * as ReactDOM from 'react-dom';
|
|
5
5
|
import ReactDOM__default, { findDOMNode, createPortal } from 'react-dom';
|
|
@@ -15341,43 +15341,56 @@ function LineChart(_ref) {
|
|
|
15341
15341
|
testId = _ref$testId === void 0 ? 'em-line-chart' : _ref$testId,
|
|
15342
15342
|
_ref$chartConfigs = _ref.chartConfigs,
|
|
15343
15343
|
chartConfigs = _ref$chartConfigs === void 0 ? {} : _ref$chartConfigs,
|
|
15344
|
-
lineChartConfig = _ref.lineChartConfig
|
|
15344
|
+
lineChartConfig = _ref.lineChartConfig,
|
|
15345
|
+
onChartInstance = _ref.onChartInstance;
|
|
15345
15346
|
var height = initialSize.height,
|
|
15346
15347
|
width = initialSize.width;
|
|
15347
15348
|
var defaults = chartConfigs.defaults,
|
|
15348
15349
|
callbacks = chartConfigs.callbacks;
|
|
15349
|
-
var
|
|
15350
|
+
var canvasRef = useRef(null);
|
|
15351
|
+
var chartInstanceRef = useRef(undefined);
|
|
15352
|
+
var initChartDefaults = useCallback(function () {
|
|
15350
15353
|
var _a, _b, _c, _d, _e;
|
|
15351
15354
|
Chart.defaults.font.size = ((_a = defaults === null || defaults === void 0 ? void 0 : defaults.font) === null || _a === void 0 ? void 0 : _a.size) || 12;
|
|
15352
15355
|
Chart.defaults.font.family = ((_b = defaults === null || defaults === void 0 ? void 0 : defaults.font) === null || _b === void 0 ? void 0 : _b.family) || 'Equinor';
|
|
15353
15356
|
Chart.defaults.interaction.mode = ((_c = defaults === null || defaults === void 0 ? void 0 : defaults.interaction) === null || _c === void 0 ? void 0 : _c.mode) || 'nearest'; // popup
|
|
15354
15357
|
Chart.defaults.elements.point.pointStyle = ((_e = (_d = defaults === null || defaults === void 0 ? void 0 : defaults.elements) === null || _d === void 0 ? void 0 : _d.point) === null || _e === void 0 ? void 0 : _e.pointStyle) || false;
|
|
15355
|
-
};
|
|
15356
|
-
var
|
|
15357
|
-
var _useState = useState(undefined),
|
|
15358
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
15359
|
-
chartInstance = _useState2[0],
|
|
15360
|
-
setChartInstance = _useState2[1];
|
|
15361
|
-
useEffect(function () {
|
|
15362
|
-
var canvas = canvasRef.current;
|
|
15363
|
-
if (chartInstance || !canvas) return;
|
|
15358
|
+
}, [defaults]);
|
|
15359
|
+
var setupChartConfig = useCallback(function () {
|
|
15364
15360
|
initChartDefaults();
|
|
15365
|
-
var
|
|
15366
|
-
if (lineChartConfig)
|
|
15361
|
+
var config;
|
|
15362
|
+
if (lineChartConfig) config = lineChartConfig;else if (chartDataSet) {
|
|
15367
15363
|
var options = {
|
|
15368
15364
|
dataConfig: chartDataSet,
|
|
15369
15365
|
chartTitle: chartTitle,
|
|
15370
15366
|
xAxisTitle: xAxisTitle,
|
|
15371
15367
|
yAxisTitle: yAxisTitle,
|
|
15372
|
-
|
|
15368
|
+
chartCallbacks: callbacks
|
|
15373
15369
|
};
|
|
15374
|
-
|
|
15370
|
+
config = generateChartConfig(options);
|
|
15375
15371
|
} else {
|
|
15376
15372
|
throw new Error('Neither chartDataSet nor lineChartConfig were provided!');
|
|
15377
15373
|
}
|
|
15374
|
+
return config;
|
|
15375
|
+
}, [callbacks, chartDataSet, chartTitle, initChartDefaults, lineChartConfig, xAxisTitle, yAxisTitle]);
|
|
15376
|
+
useEffect(function () {
|
|
15377
|
+
var canvas = canvasRef.current;
|
|
15378
|
+
var chartInstance = chartInstanceRef.current;
|
|
15379
|
+
if (!canvas) return;
|
|
15380
|
+
if (chartInstance) chartInstance.destroy();
|
|
15381
|
+
var chartConfig = setupChartConfig();
|
|
15378
15382
|
var lineChart = new Chart(canvas, chartConfig);
|
|
15379
|
-
|
|
15380
|
-
|
|
15383
|
+
onChartInstance === null || onChartInstance === void 0 ? void 0 : onChartInstance(lineChart);
|
|
15384
|
+
chartInstanceRef.current = lineChart;
|
|
15385
|
+
var cleanup = function cleanup() {
|
|
15386
|
+
var chartInstance = chartInstanceRef.current;
|
|
15387
|
+
if (chartInstance) {
|
|
15388
|
+
chartInstance.destroy();
|
|
15389
|
+
chartInstanceRef.current = undefined;
|
|
15390
|
+
}
|
|
15391
|
+
};
|
|
15392
|
+
return cleanup;
|
|
15393
|
+
}, [callbacks, chartDataSet, chartTitle, initChartDefaults, lineChartConfig, onChartInstance, setupChartConfig, xAxisTitle, yAxisTitle]);
|
|
15381
15394
|
return /*#__PURE__*/React__default.createElement("canvas", {
|
|
15382
15395
|
id: id,
|
|
15383
15396
|
ref: canvasRef,
|
|
@@ -15541,6 +15554,37 @@ var ContextMenu = function ContextMenu(_ref) {
|
|
|
15541
15554
|
})), expanded && children);
|
|
15542
15555
|
};
|
|
15543
15556
|
|
|
15557
|
+
function _toPrimitive(input, hint) {
|
|
15558
|
+
if (_typeof$E(input) !== "object" || input === null) return input;
|
|
15559
|
+
var prim = input[Symbol.toPrimitive];
|
|
15560
|
+
if (prim !== undefined) {
|
|
15561
|
+
var res = prim.call(input, hint || "default");
|
|
15562
|
+
if (_typeof$E(res) !== "object") return res;
|
|
15563
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15564
|
+
}
|
|
15565
|
+
return (hint === "string" ? String : Number)(input);
|
|
15566
|
+
}
|
|
15567
|
+
|
|
15568
|
+
function _toPropertyKey(arg) {
|
|
15569
|
+
var key = _toPrimitive(arg, "string");
|
|
15570
|
+
return _typeof$E(key) === "symbol" ? key : String(key);
|
|
15571
|
+
}
|
|
15572
|
+
|
|
15573
|
+
function _defineProperty$x(obj, key, value) {
|
|
15574
|
+
key = _toPropertyKey(key);
|
|
15575
|
+
if (key in obj) {
|
|
15576
|
+
Object.defineProperty(obj, key, {
|
|
15577
|
+
value: value,
|
|
15578
|
+
enumerable: true,
|
|
15579
|
+
configurable: true,
|
|
15580
|
+
writable: true
|
|
15581
|
+
});
|
|
15582
|
+
} else {
|
|
15583
|
+
obj[key] = value;
|
|
15584
|
+
}
|
|
15585
|
+
return obj;
|
|
15586
|
+
}
|
|
15587
|
+
|
|
15544
15588
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
15545
15589
|
|
|
15546
15590
|
function getDefaultExportFromCjs (x) {
|
|
@@ -15959,16 +16003,25 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
15959
16003
|
});
|
|
15960
16004
|
}
|
|
15961
16005
|
|
|
15962
|
-
var css_248z$x = ".CopyToClipboard-module_copyToClipboardContainer__xA1rT{cursor:pointer;display:flex;gap:.5rem}.CopyToClipboard-module_readonlyInput__rfIQF{border-bottom:1px solid
|
|
15963
|
-
var styles$o = {"copyToClipboardContainer":"CopyToClipboard-module_copyToClipboardContainer__xA1rT","readonlyInput":"CopyToClipboard-module_readonlyInput__rfIQF","textFieldSelector":"CopyToClipboard-module_textFieldSelector__0PJ8S","copyButton":"CopyToClipboard-module_copyButton__XdBoF"};
|
|
16006
|
+
var css_248z$x = ".CopyToClipboard-module_copyToClipboardContainer__xA1rT{cursor:pointer;display:flex;gap:.5rem;height:36px;padding:.2rem}.CopyToClipboard-module_warningContainer__kjQ26{background-color:#ffe7d6!important;color:#3d3d3d!important}.CopyToClipboard-module_errorContainer__mg17w{background-color:#ffc1c1!important;color:#3d3d3d!important}.CopyToClipboard-module_copyToClipboardMultiline__OuWT5{align-items:center;height:unset}.CopyToClipboard-module_readonlyInput__rfIQF{background-color:#dcdcdc!important;border-bottom:1px solid #dcdcdc;cursor:pointer;min-width:100px;pointer-events:none}.CopyToClipboard-module_readonlyInput__rfIQF>div>textarea{overflow-y:hidden}.CopyToClipboard-module_textFieldSelector__0PJ8S{flex-grow:3}.CopyToClipboard-module_copyButton__XdBoF{width:100px}.CopyToClipboard-module_errorButton__U6C4W,.CopyToClipboard-module_warningButton__pAYbl{background-color:inherit;border:1px solid #3d3d3d!important;color:#3d3d3d!important}.CopyToClipboard-module_copyButton__XdBoF[aria-pressed=true]>*{border-color:var(--toggleActive);font-size:.7rem}";
|
|
16007
|
+
var styles$o = {"copyToClipboardContainer":"CopyToClipboard-module_copyToClipboardContainer__xA1rT","warningContainer":"CopyToClipboard-module_warningContainer__kjQ26 CopyToClipboard-module_copyToClipboardContainer__xA1rT","errorContainer":"CopyToClipboard-module_errorContainer__mg17w CopyToClipboard-module_copyToClipboardContainer__xA1rT","copyToClipboardMultiline":"CopyToClipboard-module_copyToClipboardMultiline__OuWT5 CopyToClipboard-module_copyToClipboardContainer__xA1rT","readonlyInput":"CopyToClipboard-module_readonlyInput__rfIQF","textFieldSelector":"CopyToClipboard-module_textFieldSelector__0PJ8S","copyButton":"CopyToClipboard-module_copyButton__XdBoF","warningButton":"CopyToClipboard-module_warningButton__pAYbl CopyToClipboard-module_copyButton__XdBoF","errorButton":"CopyToClipboard-module_errorButton__U6C4W CopyToClipboard-module_copyButton__XdBoF"};
|
|
15964
16008
|
styleInject(css_248z$x);
|
|
15965
16009
|
|
|
15966
16010
|
var CopyToClipboard = function CopyToClipboard(props) {
|
|
16011
|
+
var _classnames, _classnames2;
|
|
15967
16012
|
var _a;
|
|
16013
|
+
if (!props.variant) props.variant = 'neutral';
|
|
15968
16014
|
var _useState = useState(false),
|
|
15969
16015
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15970
16016
|
textIsCopied = _useState2[0],
|
|
15971
16017
|
setTextIsCopied = _useState2[1];
|
|
16018
|
+
var edsRef = useRef(null);
|
|
16019
|
+
useEffect(function autosizeTextarea() {
|
|
16020
|
+
if (props.multiline && edsRef.current instanceof HTMLTextAreaElement) {
|
|
16021
|
+
var textarea = edsRef.current.querySelector('textarea');
|
|
16022
|
+
if (textarea) textarea.style.height = String(textarea.scrollHeight) + 'px';
|
|
16023
|
+
}
|
|
16024
|
+
}, [edsRef, props.multiline]);
|
|
15972
16025
|
function handleClipboard(copyableText) {
|
|
15973
16026
|
return __awaiter(this, void 0, void 0, /*#__PURE__*/regenerator.mark(function _callee() {
|
|
15974
16027
|
return regenerator.wrap(function _callee$(_context) {
|
|
@@ -15981,6 +16034,7 @@ var CopyToClipboard = function CopyToClipboard(props) {
|
|
|
15981
16034
|
_context.next = 3;
|
|
15982
16035
|
return navigator.clipboard.writeText(copyableText);
|
|
15983
16036
|
case 3:
|
|
16037
|
+
// This delay will reset the button label after a short period.
|
|
15984
16038
|
setTimeout(function () {
|
|
15985
16039
|
return setTextIsCopied(false);
|
|
15986
16040
|
}, 2000);
|
|
@@ -15992,30 +16046,36 @@ var CopyToClipboard = function CopyToClipboard(props) {
|
|
|
15992
16046
|
}, _callee);
|
|
15993
16047
|
}));
|
|
15994
16048
|
}
|
|
15995
|
-
/** Handles the operation to highlight the text inside an input element while it is disabled. */
|
|
15996
|
-
function handleReadonlySelect(
|
|
15997
|
-
|
|
15998
|
-
|
|
16049
|
+
/** Handles the operation to highlight the text inside an input or textarea element while it is disabled. */
|
|
16050
|
+
function handleReadonlySelect() {
|
|
16051
|
+
if (!edsRef.current) return undefined;
|
|
16052
|
+
var edsInput;
|
|
16053
|
+
if (props.multiline) edsInput = edsRef.current.querySelector('textarea');else edsInput = edsRef.current.querySelector('input');
|
|
16054
|
+
if (edsInput instanceof HTMLInputElement || edsInput instanceof HTMLTextAreaElement) {
|
|
15999
16055
|
edsInput.disabled = false;
|
|
16000
16056
|
edsInput.focus();
|
|
16001
16057
|
edsInput.select();
|
|
16002
16058
|
edsInput.disabled = true;
|
|
16003
16059
|
}
|
|
16004
16060
|
}
|
|
16061
|
+
var containerClassName = classnames$3(props.className, (_classnames = {}, _defineProperty$x(_classnames, styles$o.copyToClipboardMultiline, props.multiline === true), _defineProperty$x(_classnames, styles$o.copyToClipboardContainer, props.variant === 'neutral'), _defineProperty$x(_classnames, styles$o.warningContainer, props.variant === 'warning'), _defineProperty$x(_classnames, styles$o.errorContainer, props.variant === 'error'), _classnames));
|
|
16062
|
+
var copyButtonClassname = classnames$3((_classnames2 = {}, _defineProperty$x(_classnames2, styles$o.copyButton, props.variant === 'neutral'), _defineProperty$x(_classnames2, styles$o.warningButton, props.variant === 'warning'), _defineProperty$x(_classnames2, styles$o.errorButton, props.variant === 'error'), _classnames2));
|
|
16005
16063
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
16006
|
-
className:
|
|
16064
|
+
className: containerClassName
|
|
16007
16065
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
16008
16066
|
className: styles$o.textFieldSelector,
|
|
16009
|
-
onClick: function onClick(
|
|
16010
|
-
return handleReadonlySelect(
|
|
16067
|
+
onClick: function onClick() {
|
|
16068
|
+
return handleReadonlySelect();
|
|
16011
16069
|
}
|
|
16012
16070
|
}, /*#__PURE__*/React__default.createElement(TextField, {
|
|
16071
|
+
ref: edsRef,
|
|
16013
16072
|
className: styles$o.readonlyInput,
|
|
16014
16073
|
id: "copy-".concat((_a = props.copyableText) === null || _a === void 0 ? void 0 : _a.substring(0, 8)),
|
|
16015
16074
|
value: props.copyableText,
|
|
16016
|
-
disabled: true
|
|
16075
|
+
disabled: true,
|
|
16076
|
+
multiline: props.multiline
|
|
16017
16077
|
})), /*#__PURE__*/React__default.createElement(Button, {
|
|
16018
|
-
className:
|
|
16078
|
+
className: copyButtonClassname,
|
|
16019
16079
|
variant: "outlined",
|
|
16020
16080
|
onClick: function onClick() {
|
|
16021
16081
|
return handleClipboard(props.copyableText);
|
|
@@ -21901,14 +21961,14 @@ function _defineProperties$w(target, props) { for (var i = 0; i < props.length;
|
|
|
21901
21961
|
|
|
21902
21962
|
function _createClass$w(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$w(Constructor.prototype, protoProps); if (staticProps) _defineProperties$w(Constructor, staticProps); return Constructor; }
|
|
21903
21963
|
|
|
21904
|
-
function _defineProperty$
|
|
21964
|
+
function _defineProperty$w(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21905
21965
|
|
|
21906
21966
|
var TIMEZONE_UNIT_PRIORITY = 10;
|
|
21907
21967
|
var Setter = /*#__PURE__*/function () {
|
|
21908
21968
|
function Setter() {
|
|
21909
21969
|
_classCallCheck$w(this, Setter);
|
|
21910
21970
|
|
|
21911
|
-
_defineProperty$
|
|
21971
|
+
_defineProperty$w(this, "subPriority", 0);
|
|
21912
21972
|
}
|
|
21913
21973
|
|
|
21914
21974
|
_createClass$w(Setter, [{
|
|
@@ -21973,9 +22033,9 @@ var DateToSystemTimezoneSetter = /*#__PURE__*/function (_Setter2) {
|
|
|
21973
22033
|
|
|
21974
22034
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
21975
22035
|
|
|
21976
|
-
_defineProperty$
|
|
22036
|
+
_defineProperty$w(_assertThisInitialized$x(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
21977
22037
|
|
|
21978
|
-
_defineProperty$
|
|
22038
|
+
_defineProperty$w(_assertThisInitialized$x(_this2), "subPriority", -1);
|
|
21979
22039
|
|
|
21980
22040
|
return _this2;
|
|
21981
22041
|
}
|
|
@@ -22053,7 +22113,7 @@ function _isNativeReflectConstruct$u() { if (typeof Reflect === "undefined" || !
|
|
|
22053
22113
|
|
|
22054
22114
|
function _getPrototypeOf$u(o) { _getPrototypeOf$u = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$u(o); }
|
|
22055
22115
|
|
|
22056
|
-
function _defineProperty$
|
|
22116
|
+
function _defineProperty$v(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22057
22117
|
var EraParser = /*#__PURE__*/function (_Parser) {
|
|
22058
22118
|
_inherits$u(EraParser, _Parser);
|
|
22059
22119
|
|
|
@@ -22070,9 +22130,9 @@ var EraParser = /*#__PURE__*/function (_Parser) {
|
|
|
22070
22130
|
|
|
22071
22131
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22072
22132
|
|
|
22073
|
-
_defineProperty$
|
|
22133
|
+
_defineProperty$v(_assertThisInitialized$w(_this), "priority", 140);
|
|
22074
22134
|
|
|
22075
|
-
_defineProperty$
|
|
22135
|
+
_defineProperty$v(_assertThisInitialized$w(_this), "incompatibleTokens", ['R', 'u', 't', 'T']);
|
|
22076
22136
|
|
|
22077
22137
|
return _this;
|
|
22078
22138
|
}
|
|
@@ -22359,7 +22419,7 @@ function _isNativeReflectConstruct$t() { if (typeof Reflect === "undefined" || !
|
|
|
22359
22419
|
|
|
22360
22420
|
function _getPrototypeOf$t(o) { _getPrototypeOf$t = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$t(o); }
|
|
22361
22421
|
|
|
22362
|
-
function _defineProperty$
|
|
22422
|
+
function _defineProperty$u(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22363
22423
|
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
|
|
22364
22424
|
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
22365
22425
|
// |----------|-------|----|-------|-------|-------|
|
|
@@ -22384,9 +22444,9 @@ var YearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22384
22444
|
|
|
22385
22445
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22386
22446
|
|
|
22387
|
-
_defineProperty$
|
|
22447
|
+
_defineProperty$u(_assertThisInitialized$v(_this), "priority", 130);
|
|
22388
22448
|
|
|
22389
|
-
_defineProperty$
|
|
22449
|
+
_defineProperty$u(_assertThisInitialized$v(_this), "incompatibleTokens", ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
|
|
22390
22450
|
|
|
22391
22451
|
return _this;
|
|
22392
22452
|
}
|
|
@@ -22463,7 +22523,7 @@ function _isNativeReflectConstruct$s() { if (typeof Reflect === "undefined" || !
|
|
|
22463
22523
|
|
|
22464
22524
|
function _getPrototypeOf$s(o) { _getPrototypeOf$s = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$s(o); }
|
|
22465
22525
|
|
|
22466
|
-
function _defineProperty$
|
|
22526
|
+
function _defineProperty$t(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22467
22527
|
// Local week-numbering year
|
|
22468
22528
|
var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
22469
22529
|
_inherits$s(LocalWeekYearParser, _Parser);
|
|
@@ -22481,9 +22541,9 @@ var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22481
22541
|
|
|
22482
22542
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22483
22543
|
|
|
22484
|
-
_defineProperty$
|
|
22544
|
+
_defineProperty$t(_assertThisInitialized$u(_this), "priority", 130);
|
|
22485
22545
|
|
|
22486
|
-
_defineProperty$
|
|
22546
|
+
_defineProperty$t(_assertThisInitialized$u(_this), "incompatibleTokens", ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
|
|
22487
22547
|
|
|
22488
22548
|
return _this;
|
|
22489
22549
|
}
|
|
@@ -22560,7 +22620,7 @@ function _isNativeReflectConstruct$r() { if (typeof Reflect === "undefined" || !
|
|
|
22560
22620
|
|
|
22561
22621
|
function _getPrototypeOf$r(o) { _getPrototypeOf$r = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$r(o); }
|
|
22562
22622
|
|
|
22563
|
-
function _defineProperty$
|
|
22623
|
+
function _defineProperty$s(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22564
22624
|
|
|
22565
22625
|
var ISOWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
22566
22626
|
_inherits$r(ISOWeekYearParser, _Parser);
|
|
@@ -22578,9 +22638,9 @@ var ISOWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22578
22638
|
|
|
22579
22639
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22580
22640
|
|
|
22581
|
-
_defineProperty$
|
|
22641
|
+
_defineProperty$s(_assertThisInitialized$t(_this), "priority", 130);
|
|
22582
22642
|
|
|
22583
|
-
_defineProperty$
|
|
22643
|
+
_defineProperty$s(_assertThisInitialized$t(_this), "incompatibleTokens", ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
|
|
22584
22644
|
|
|
22585
22645
|
return _this;
|
|
22586
22646
|
}
|
|
@@ -22629,7 +22689,7 @@ function _isNativeReflectConstruct$q() { if (typeof Reflect === "undefined" || !
|
|
|
22629
22689
|
|
|
22630
22690
|
function _getPrototypeOf$q(o) { _getPrototypeOf$q = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$q(o); }
|
|
22631
22691
|
|
|
22632
|
-
function _defineProperty$
|
|
22692
|
+
function _defineProperty$r(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22633
22693
|
var ExtendedYearParser = /*#__PURE__*/function (_Parser) {
|
|
22634
22694
|
_inherits$q(ExtendedYearParser, _Parser);
|
|
22635
22695
|
|
|
@@ -22646,9 +22706,9 @@ var ExtendedYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22646
22706
|
|
|
22647
22707
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22648
22708
|
|
|
22649
|
-
_defineProperty$
|
|
22709
|
+
_defineProperty$r(_assertThisInitialized$s(_this), "priority", 130);
|
|
22650
22710
|
|
|
22651
|
-
_defineProperty$
|
|
22711
|
+
_defineProperty$r(_assertThisInitialized$s(_this), "incompatibleTokens", ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
|
|
22652
22712
|
|
|
22653
22713
|
return _this;
|
|
22654
22714
|
}
|
|
@@ -22696,7 +22756,7 @@ function _isNativeReflectConstruct$p() { if (typeof Reflect === "undefined" || !
|
|
|
22696
22756
|
|
|
22697
22757
|
function _getPrototypeOf$p(o) { _getPrototypeOf$p = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$p(o); }
|
|
22698
22758
|
|
|
22699
|
-
function _defineProperty$
|
|
22759
|
+
function _defineProperty$q(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22700
22760
|
var QuarterParser = /*#__PURE__*/function (_Parser) {
|
|
22701
22761
|
_inherits$p(QuarterParser, _Parser);
|
|
22702
22762
|
|
|
@@ -22713,9 +22773,9 @@ var QuarterParser = /*#__PURE__*/function (_Parser) {
|
|
|
22713
22773
|
|
|
22714
22774
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22715
22775
|
|
|
22716
|
-
_defineProperty$
|
|
22776
|
+
_defineProperty$q(_assertThisInitialized$r(_this), "priority", 120);
|
|
22717
22777
|
|
|
22718
|
-
_defineProperty$
|
|
22778
|
+
_defineProperty$q(_assertThisInitialized$r(_this), "incompatibleTokens", ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
22719
22779
|
|
|
22720
22780
|
return _this;
|
|
22721
22781
|
}
|
|
@@ -22807,7 +22867,7 @@ function _isNativeReflectConstruct$o() { if (typeof Reflect === "undefined" || !
|
|
|
22807
22867
|
|
|
22808
22868
|
function _getPrototypeOf$o(o) { _getPrototypeOf$o = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$o(o); }
|
|
22809
22869
|
|
|
22810
|
-
function _defineProperty$
|
|
22870
|
+
function _defineProperty$p(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22811
22871
|
var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
|
|
22812
22872
|
_inherits$o(StandAloneQuarterParser, _Parser);
|
|
22813
22873
|
|
|
@@ -22824,9 +22884,9 @@ var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
|
|
|
22824
22884
|
|
|
22825
22885
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22826
22886
|
|
|
22827
|
-
_defineProperty$
|
|
22887
|
+
_defineProperty$p(_assertThisInitialized$q(_this), "priority", 120);
|
|
22828
22888
|
|
|
22829
|
-
_defineProperty$
|
|
22889
|
+
_defineProperty$p(_assertThisInitialized$q(_this), "incompatibleTokens", ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
22830
22890
|
|
|
22831
22891
|
return _this;
|
|
22832
22892
|
}
|
|
@@ -22918,7 +22978,7 @@ function _isNativeReflectConstruct$n() { if (typeof Reflect === "undefined" || !
|
|
|
22918
22978
|
|
|
22919
22979
|
function _getPrototypeOf$n(o) { _getPrototypeOf$n = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$n(o); }
|
|
22920
22980
|
|
|
22921
|
-
function _defineProperty$
|
|
22981
|
+
function _defineProperty$o(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22922
22982
|
var MonthParser = /*#__PURE__*/function (_Parser) {
|
|
22923
22983
|
_inherits$n(MonthParser, _Parser);
|
|
22924
22984
|
|
|
@@ -22935,9 +22995,9 @@ var MonthParser = /*#__PURE__*/function (_Parser) {
|
|
|
22935
22995
|
|
|
22936
22996
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22937
22997
|
|
|
22938
|
-
_defineProperty$
|
|
22998
|
+
_defineProperty$o(_assertThisInitialized$p(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
22939
22999
|
|
|
22940
|
-
_defineProperty$
|
|
23000
|
+
_defineProperty$o(_assertThisInitialized$p(_this), "priority", 110);
|
|
22941
23001
|
|
|
22942
23002
|
return _this;
|
|
22943
23003
|
}
|
|
@@ -23035,7 +23095,7 @@ function _isNativeReflectConstruct$m() { if (typeof Reflect === "undefined" || !
|
|
|
23035
23095
|
|
|
23036
23096
|
function _getPrototypeOf$m(o) { _getPrototypeOf$m = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$m(o); }
|
|
23037
23097
|
|
|
23038
|
-
function _defineProperty$
|
|
23098
|
+
function _defineProperty$n(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23039
23099
|
var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {
|
|
23040
23100
|
_inherits$m(StandAloneMonthParser, _Parser);
|
|
23041
23101
|
|
|
@@ -23052,9 +23112,9 @@ var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {
|
|
|
23052
23112
|
|
|
23053
23113
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23054
23114
|
|
|
23055
|
-
_defineProperty$
|
|
23115
|
+
_defineProperty$n(_assertThisInitialized$o(_this), "priority", 110);
|
|
23056
23116
|
|
|
23057
|
-
_defineProperty$
|
|
23117
|
+
_defineProperty$n(_assertThisInitialized$o(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
23058
23118
|
|
|
23059
23119
|
return _this;
|
|
23060
23120
|
}
|
|
@@ -23161,7 +23221,7 @@ function _isNativeReflectConstruct$l() { if (typeof Reflect === "undefined" || !
|
|
|
23161
23221
|
|
|
23162
23222
|
function _getPrototypeOf$l(o) { _getPrototypeOf$l = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$l(o); }
|
|
23163
23223
|
|
|
23164
|
-
function _defineProperty$
|
|
23224
|
+
function _defineProperty$m(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23165
23225
|
|
|
23166
23226
|
var LocalWeekParser = /*#__PURE__*/function (_Parser) {
|
|
23167
23227
|
_inherits$l(LocalWeekParser, _Parser);
|
|
@@ -23179,9 +23239,9 @@ var LocalWeekParser = /*#__PURE__*/function (_Parser) {
|
|
|
23179
23239
|
|
|
23180
23240
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23181
23241
|
|
|
23182
|
-
_defineProperty$
|
|
23242
|
+
_defineProperty$m(_assertThisInitialized$n(_this), "priority", 100);
|
|
23183
23243
|
|
|
23184
|
-
_defineProperty$
|
|
23244
|
+
_defineProperty$m(_assertThisInitialized$n(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
|
|
23185
23245
|
|
|
23186
23246
|
return _this;
|
|
23187
23247
|
}
|
|
@@ -23248,7 +23308,7 @@ function _isNativeReflectConstruct$k() { if (typeof Reflect === "undefined" || !
|
|
|
23248
23308
|
|
|
23249
23309
|
function _getPrototypeOf$k(o) { _getPrototypeOf$k = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$k(o); }
|
|
23250
23310
|
|
|
23251
|
-
function _defineProperty$
|
|
23311
|
+
function _defineProperty$l(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23252
23312
|
|
|
23253
23313
|
var ISOWeekParser = /*#__PURE__*/function (_Parser) {
|
|
23254
23314
|
_inherits$k(ISOWeekParser, _Parser);
|
|
@@ -23266,9 +23326,9 @@ var ISOWeekParser = /*#__PURE__*/function (_Parser) {
|
|
|
23266
23326
|
|
|
23267
23327
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23268
23328
|
|
|
23269
|
-
_defineProperty$
|
|
23329
|
+
_defineProperty$l(_assertThisInitialized$m(_this), "priority", 100);
|
|
23270
23330
|
|
|
23271
|
-
_defineProperty$
|
|
23331
|
+
_defineProperty$l(_assertThisInitialized$m(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
|
|
23272
23332
|
|
|
23273
23333
|
return _this;
|
|
23274
23334
|
}
|
|
@@ -23326,7 +23386,7 @@ function _isNativeReflectConstruct$j() { if (typeof Reflect === "undefined" || !
|
|
|
23326
23386
|
|
|
23327
23387
|
function _getPrototypeOf$j(o) { _getPrototypeOf$j = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$j(o); }
|
|
23328
23388
|
|
|
23329
|
-
function _defineProperty$
|
|
23389
|
+
function _defineProperty$k(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23330
23390
|
var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
23331
23391
|
var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // Day of the month
|
|
23332
23392
|
|
|
@@ -23346,11 +23406,11 @@ var DateParser = /*#__PURE__*/function (_Parser) {
|
|
|
23346
23406
|
|
|
23347
23407
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23348
23408
|
|
|
23349
|
-
_defineProperty$
|
|
23409
|
+
_defineProperty$k(_assertThisInitialized$l(_this), "priority", 90);
|
|
23350
23410
|
|
|
23351
|
-
_defineProperty$
|
|
23411
|
+
_defineProperty$k(_assertThisInitialized$l(_this), "subPriority", 1);
|
|
23352
23412
|
|
|
23353
|
-
_defineProperty$
|
|
23413
|
+
_defineProperty$k(_assertThisInitialized$l(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
23354
23414
|
|
|
23355
23415
|
return _this;
|
|
23356
23416
|
}
|
|
@@ -23418,7 +23478,7 @@ function _isNativeReflectConstruct$i() { if (typeof Reflect === "undefined" || !
|
|
|
23418
23478
|
|
|
23419
23479
|
function _getPrototypeOf$i(o) { _getPrototypeOf$i = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$i(o); }
|
|
23420
23480
|
|
|
23421
|
-
function _defineProperty$
|
|
23481
|
+
function _defineProperty$j(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23422
23482
|
var DayOfYearParser = /*#__PURE__*/function (_Parser) {
|
|
23423
23483
|
_inherits$i(DayOfYearParser, _Parser);
|
|
23424
23484
|
|
|
@@ -23435,11 +23495,11 @@ var DayOfYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
23435
23495
|
|
|
23436
23496
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23437
23497
|
|
|
23438
|
-
_defineProperty$
|
|
23498
|
+
_defineProperty$j(_assertThisInitialized$k(_this), "priority", 90);
|
|
23439
23499
|
|
|
23440
|
-
_defineProperty$
|
|
23500
|
+
_defineProperty$j(_assertThisInitialized$k(_this), "subpriority", 1);
|
|
23441
23501
|
|
|
23442
|
-
_defineProperty$
|
|
23502
|
+
_defineProperty$j(_assertThisInitialized$k(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']);
|
|
23443
23503
|
|
|
23444
23504
|
return _this;
|
|
23445
23505
|
}
|
|
@@ -23528,7 +23588,7 @@ function _isNativeReflectConstruct$h() { if (typeof Reflect === "undefined" || !
|
|
|
23528
23588
|
|
|
23529
23589
|
function _getPrototypeOf$h(o) { _getPrototypeOf$h = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$h(o); }
|
|
23530
23590
|
|
|
23531
|
-
function _defineProperty$
|
|
23591
|
+
function _defineProperty$i(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23532
23592
|
|
|
23533
23593
|
var DayParser = /*#__PURE__*/function (_Parser) {
|
|
23534
23594
|
_inherits$h(DayParser, _Parser);
|
|
@@ -23546,9 +23606,9 @@ var DayParser = /*#__PURE__*/function (_Parser) {
|
|
|
23546
23606
|
|
|
23547
23607
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23548
23608
|
|
|
23549
|
-
_defineProperty$
|
|
23609
|
+
_defineProperty$i(_assertThisInitialized$j(_this), "priority", 90);
|
|
23550
23610
|
|
|
23551
|
-
_defineProperty$
|
|
23611
|
+
_defineProperty$i(_assertThisInitialized$j(_this), "incompatibleTokens", ['D', 'i', 'e', 'c', 't', 'T']);
|
|
23552
23612
|
|
|
23553
23613
|
return _this;
|
|
23554
23614
|
}
|
|
@@ -23646,7 +23706,7 @@ function _isNativeReflectConstruct$g() { if (typeof Reflect === "undefined" || !
|
|
|
23646
23706
|
|
|
23647
23707
|
function _getPrototypeOf$g(o) { _getPrototypeOf$g = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$g(o); }
|
|
23648
23708
|
|
|
23649
|
-
function _defineProperty$
|
|
23709
|
+
function _defineProperty$h(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23650
23710
|
|
|
23651
23711
|
var LocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
23652
23712
|
_inherits$g(LocalDayParser, _Parser);
|
|
@@ -23664,9 +23724,9 @@ var LocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
|
23664
23724
|
|
|
23665
23725
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23666
23726
|
|
|
23667
|
-
_defineProperty$
|
|
23727
|
+
_defineProperty$h(_assertThisInitialized$i(_this), "priority", 90);
|
|
23668
23728
|
|
|
23669
|
-
_defineProperty$
|
|
23729
|
+
_defineProperty$h(_assertThisInitialized$i(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']);
|
|
23670
23730
|
|
|
23671
23731
|
return _this;
|
|
23672
23732
|
}
|
|
@@ -23779,7 +23839,7 @@ function _isNativeReflectConstruct$f() { if (typeof Reflect === "undefined" || !
|
|
|
23779
23839
|
|
|
23780
23840
|
function _getPrototypeOf$f(o) { _getPrototypeOf$f = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$f(o); }
|
|
23781
23841
|
|
|
23782
|
-
function _defineProperty$
|
|
23842
|
+
function _defineProperty$g(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23783
23843
|
|
|
23784
23844
|
var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
23785
23845
|
_inherits$f(StandAloneLocalDayParser, _Parser);
|
|
@@ -23797,9 +23857,9 @@ var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
|
23797
23857
|
|
|
23798
23858
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23799
23859
|
|
|
23800
|
-
_defineProperty$
|
|
23860
|
+
_defineProperty$g(_assertThisInitialized$h(_this), "priority", 90);
|
|
23801
23861
|
|
|
23802
|
-
_defineProperty$
|
|
23862
|
+
_defineProperty$g(_assertThisInitialized$h(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']);
|
|
23803
23863
|
|
|
23804
23864
|
return _this;
|
|
23805
23865
|
}
|
|
@@ -23930,7 +23990,7 @@ function _isNativeReflectConstruct$e() { if (typeof Reflect === "undefined" || !
|
|
|
23930
23990
|
|
|
23931
23991
|
function _getPrototypeOf$e(o) { _getPrototypeOf$e = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$e(o); }
|
|
23932
23992
|
|
|
23933
|
-
function _defineProperty$
|
|
23993
|
+
function _defineProperty$f(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23934
23994
|
|
|
23935
23995
|
var ISODayParser = /*#__PURE__*/function (_Parser) {
|
|
23936
23996
|
_inherits$e(ISODayParser, _Parser);
|
|
@@ -23948,9 +24008,9 @@ var ISODayParser = /*#__PURE__*/function (_Parser) {
|
|
|
23948
24008
|
|
|
23949
24009
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23950
24010
|
|
|
23951
|
-
_defineProperty$
|
|
24011
|
+
_defineProperty$f(_assertThisInitialized$g(_this), "priority", 90);
|
|
23952
24012
|
|
|
23953
|
-
_defineProperty$
|
|
24013
|
+
_defineProperty$f(_assertThisInitialized$g(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']);
|
|
23954
24014
|
|
|
23955
24015
|
return _this;
|
|
23956
24016
|
}
|
|
@@ -24066,7 +24126,7 @@ function _isNativeReflectConstruct$d() { if (typeof Reflect === "undefined" || !
|
|
|
24066
24126
|
|
|
24067
24127
|
function _getPrototypeOf$d(o) { _getPrototypeOf$d = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$d(o); }
|
|
24068
24128
|
|
|
24069
|
-
function _defineProperty$
|
|
24129
|
+
function _defineProperty$e(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24070
24130
|
var AMPMParser = /*#__PURE__*/function (_Parser) {
|
|
24071
24131
|
_inherits$d(AMPMParser, _Parser);
|
|
24072
24132
|
|
|
@@ -24083,9 +24143,9 @@ var AMPMParser = /*#__PURE__*/function (_Parser) {
|
|
|
24083
24143
|
|
|
24084
24144
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24085
24145
|
|
|
24086
|
-
_defineProperty$
|
|
24146
|
+
_defineProperty$e(_assertThisInitialized$f(_this), "priority", 80);
|
|
24087
24147
|
|
|
24088
|
-
_defineProperty$
|
|
24148
|
+
_defineProperty$e(_assertThisInitialized$f(_this), "incompatibleTokens", ['b', 'B', 'H', 'k', 't', 'T']);
|
|
24089
24149
|
|
|
24090
24150
|
return _this;
|
|
24091
24151
|
}
|
|
@@ -24158,7 +24218,7 @@ function _isNativeReflectConstruct$c() { if (typeof Reflect === "undefined" || !
|
|
|
24158
24218
|
|
|
24159
24219
|
function _getPrototypeOf$c(o) { _getPrototypeOf$c = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$c(o); }
|
|
24160
24220
|
|
|
24161
|
-
function _defineProperty$
|
|
24221
|
+
function _defineProperty$d(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24162
24222
|
var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {
|
|
24163
24223
|
_inherits$c(AMPMMidnightParser, _Parser);
|
|
24164
24224
|
|
|
@@ -24175,9 +24235,9 @@ var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {
|
|
|
24175
24235
|
|
|
24176
24236
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24177
24237
|
|
|
24178
|
-
_defineProperty$
|
|
24238
|
+
_defineProperty$d(_assertThisInitialized$e(_this), "priority", 80);
|
|
24179
24239
|
|
|
24180
|
-
_defineProperty$
|
|
24240
|
+
_defineProperty$d(_assertThisInitialized$e(_this), "incompatibleTokens", ['a', 'B', 'H', 'k', 't', 'T']);
|
|
24181
24241
|
|
|
24182
24242
|
return _this;
|
|
24183
24243
|
}
|
|
@@ -24250,7 +24310,7 @@ function _isNativeReflectConstruct$b() { if (typeof Reflect === "undefined" || !
|
|
|
24250
24310
|
|
|
24251
24311
|
function _getPrototypeOf$b(o) { _getPrototypeOf$b = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$b(o); }
|
|
24252
24312
|
|
|
24253
|
-
function _defineProperty$
|
|
24313
|
+
function _defineProperty$c(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24254
24314
|
|
|
24255
24315
|
var DayPeriodParser = /*#__PURE__*/function (_Parser) {
|
|
24256
24316
|
_inherits$b(DayPeriodParser, _Parser);
|
|
@@ -24268,9 +24328,9 @@ var DayPeriodParser = /*#__PURE__*/function (_Parser) {
|
|
|
24268
24328
|
|
|
24269
24329
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24270
24330
|
|
|
24271
|
-
_defineProperty$
|
|
24331
|
+
_defineProperty$c(_assertThisInitialized$d(_this), "priority", 80);
|
|
24272
24332
|
|
|
24273
|
-
_defineProperty$
|
|
24333
|
+
_defineProperty$c(_assertThisInitialized$d(_this), "incompatibleTokens", ['a', 'b', 't', 'T']);
|
|
24274
24334
|
|
|
24275
24335
|
return _this;
|
|
24276
24336
|
}
|
|
@@ -24343,7 +24403,7 @@ function _isNativeReflectConstruct$a() { if (typeof Reflect === "undefined" || !
|
|
|
24343
24403
|
|
|
24344
24404
|
function _getPrototypeOf$a(o) { _getPrototypeOf$a = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$a(o); }
|
|
24345
24405
|
|
|
24346
|
-
function _defineProperty$
|
|
24406
|
+
function _defineProperty$b(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24347
24407
|
var Hour1to12Parser = /*#__PURE__*/function (_Parser) {
|
|
24348
24408
|
_inherits$a(Hour1to12Parser, _Parser);
|
|
24349
24409
|
|
|
@@ -24360,9 +24420,9 @@ var Hour1to12Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24360
24420
|
|
|
24361
24421
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24362
24422
|
|
|
24363
|
-
_defineProperty$
|
|
24423
|
+
_defineProperty$b(_assertThisInitialized$c(_this), "priority", 70);
|
|
24364
24424
|
|
|
24365
|
-
_defineProperty$
|
|
24425
|
+
_defineProperty$b(_assertThisInitialized$c(_this), "incompatibleTokens", ['H', 'K', 'k', 't', 'T']);
|
|
24366
24426
|
|
|
24367
24427
|
return _this;
|
|
24368
24428
|
}
|
|
@@ -24430,7 +24490,7 @@ function _isNativeReflectConstruct$9() { if (typeof Reflect === "undefined" || !
|
|
|
24430
24490
|
|
|
24431
24491
|
function _getPrototypeOf$9(o) { _getPrototypeOf$9 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$9(o); }
|
|
24432
24492
|
|
|
24433
|
-
function _defineProperty$
|
|
24493
|
+
function _defineProperty$a(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24434
24494
|
var Hour0to23Parser = /*#__PURE__*/function (_Parser) {
|
|
24435
24495
|
_inherits$9(Hour0to23Parser, _Parser);
|
|
24436
24496
|
|
|
@@ -24447,9 +24507,9 @@ var Hour0to23Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24447
24507
|
|
|
24448
24508
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24449
24509
|
|
|
24450
|
-
_defineProperty$
|
|
24510
|
+
_defineProperty$a(_assertThisInitialized$b(_this), "priority", 70);
|
|
24451
24511
|
|
|
24452
|
-
_defineProperty$
|
|
24512
|
+
_defineProperty$a(_assertThisInitialized$b(_this), "incompatibleTokens", ['a', 'b', 'h', 'K', 'k', 't', 'T']);
|
|
24453
24513
|
|
|
24454
24514
|
return _this;
|
|
24455
24515
|
}
|
|
@@ -24508,7 +24568,7 @@ function _isNativeReflectConstruct$8() { if (typeof Reflect === "undefined" || !
|
|
|
24508
24568
|
|
|
24509
24569
|
function _getPrototypeOf$8(o) { _getPrototypeOf$8 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$8(o); }
|
|
24510
24570
|
|
|
24511
|
-
function _defineProperty$
|
|
24571
|
+
function _defineProperty$9(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24512
24572
|
var Hour0To11Parser = /*#__PURE__*/function (_Parser) {
|
|
24513
24573
|
_inherits$8(Hour0To11Parser, _Parser);
|
|
24514
24574
|
|
|
@@ -24525,9 +24585,9 @@ var Hour0To11Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24525
24585
|
|
|
24526
24586
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24527
24587
|
|
|
24528
|
-
_defineProperty$
|
|
24588
|
+
_defineProperty$9(_assertThisInitialized$a(_this), "priority", 70);
|
|
24529
24589
|
|
|
24530
|
-
_defineProperty$
|
|
24590
|
+
_defineProperty$9(_assertThisInitialized$a(_this), "incompatibleTokens", ['h', 'H', 'k', 't', 'T']);
|
|
24531
24591
|
|
|
24532
24592
|
return _this;
|
|
24533
24593
|
}
|
|
@@ -24593,7 +24653,7 @@ function _isNativeReflectConstruct$7() { if (typeof Reflect === "undefined" || !
|
|
|
24593
24653
|
|
|
24594
24654
|
function _getPrototypeOf$7(o) { _getPrototypeOf$7 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$7(o); }
|
|
24595
24655
|
|
|
24596
|
-
function _defineProperty$
|
|
24656
|
+
function _defineProperty$8(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24597
24657
|
var Hour1To24Parser = /*#__PURE__*/function (_Parser) {
|
|
24598
24658
|
_inherits$7(Hour1To24Parser, _Parser);
|
|
24599
24659
|
|
|
@@ -24610,9 +24670,9 @@ var Hour1To24Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24610
24670
|
|
|
24611
24671
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24612
24672
|
|
|
24613
|
-
_defineProperty$
|
|
24673
|
+
_defineProperty$8(_assertThisInitialized$9(_this), "priority", 70);
|
|
24614
24674
|
|
|
24615
|
-
_defineProperty$
|
|
24675
|
+
_defineProperty$8(_assertThisInitialized$9(_this), "incompatibleTokens", ['a', 'b', 'h', 'H', 'K', 't', 'T']);
|
|
24616
24676
|
|
|
24617
24677
|
return _this;
|
|
24618
24678
|
}
|
|
@@ -24672,7 +24732,7 @@ function _isNativeReflectConstruct$6() { if (typeof Reflect === "undefined" || !
|
|
|
24672
24732
|
|
|
24673
24733
|
function _getPrototypeOf$6(o) { _getPrototypeOf$6 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$6(o); }
|
|
24674
24734
|
|
|
24675
|
-
function _defineProperty$
|
|
24735
|
+
function _defineProperty$7(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24676
24736
|
var MinuteParser = /*#__PURE__*/function (_Parser) {
|
|
24677
24737
|
_inherits$6(MinuteParser, _Parser);
|
|
24678
24738
|
|
|
@@ -24689,9 +24749,9 @@ var MinuteParser = /*#__PURE__*/function (_Parser) {
|
|
|
24689
24749
|
|
|
24690
24750
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24691
24751
|
|
|
24692
|
-
_defineProperty$
|
|
24752
|
+
_defineProperty$7(_assertThisInitialized$8(_this), "priority", 60);
|
|
24693
24753
|
|
|
24694
|
-
_defineProperty$
|
|
24754
|
+
_defineProperty$7(_assertThisInitialized$8(_this), "incompatibleTokens", ['t', 'T']);
|
|
24695
24755
|
|
|
24696
24756
|
return _this;
|
|
24697
24757
|
}
|
|
@@ -24750,7 +24810,7 @@ function _isNativeReflectConstruct$5() { if (typeof Reflect === "undefined" || !
|
|
|
24750
24810
|
|
|
24751
24811
|
function _getPrototypeOf$5(o) { _getPrototypeOf$5 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$5(o); }
|
|
24752
24812
|
|
|
24753
|
-
function _defineProperty$
|
|
24813
|
+
function _defineProperty$6(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24754
24814
|
var SecondParser = /*#__PURE__*/function (_Parser) {
|
|
24755
24815
|
_inherits$5(SecondParser, _Parser);
|
|
24756
24816
|
|
|
@@ -24767,9 +24827,9 @@ var SecondParser = /*#__PURE__*/function (_Parser) {
|
|
|
24767
24827
|
|
|
24768
24828
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24769
24829
|
|
|
24770
|
-
_defineProperty$
|
|
24830
|
+
_defineProperty$6(_assertThisInitialized$7(_this), "priority", 50);
|
|
24771
24831
|
|
|
24772
|
-
_defineProperty$
|
|
24832
|
+
_defineProperty$6(_assertThisInitialized$7(_this), "incompatibleTokens", ['t', 'T']);
|
|
24773
24833
|
|
|
24774
24834
|
return _this;
|
|
24775
24835
|
}
|
|
@@ -24828,7 +24888,7 @@ function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !
|
|
|
24828
24888
|
|
|
24829
24889
|
function _getPrototypeOf$4(o) { _getPrototypeOf$4 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$4(o); }
|
|
24830
24890
|
|
|
24831
|
-
function _defineProperty$
|
|
24891
|
+
function _defineProperty$5(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24832
24892
|
var FractionOfSecondParser = /*#__PURE__*/function (_Parser) {
|
|
24833
24893
|
_inherits$4(FractionOfSecondParser, _Parser);
|
|
24834
24894
|
|
|
@@ -24845,9 +24905,9 @@ var FractionOfSecondParser = /*#__PURE__*/function (_Parser) {
|
|
|
24845
24905
|
|
|
24846
24906
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24847
24907
|
|
|
24848
|
-
_defineProperty$
|
|
24908
|
+
_defineProperty$5(_assertThisInitialized$6(_this), "priority", 30);
|
|
24849
24909
|
|
|
24850
|
-
_defineProperty$
|
|
24910
|
+
_defineProperty$5(_assertThisInitialized$6(_this), "incompatibleTokens", ['t', 'T']);
|
|
24851
24911
|
|
|
24852
24912
|
return _this;
|
|
24853
24913
|
}
|
|
@@ -24894,7 +24954,7 @@ function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !
|
|
|
24894
24954
|
|
|
24895
24955
|
function _getPrototypeOf$3(o) { _getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$3(o); }
|
|
24896
24956
|
|
|
24897
|
-
function _defineProperty$
|
|
24957
|
+
function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24898
24958
|
|
|
24899
24959
|
var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) {
|
|
24900
24960
|
_inherits$3(ISOTimezoneWithZParser, _Parser);
|
|
@@ -24912,9 +24972,9 @@ var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) {
|
|
|
24912
24972
|
|
|
24913
24973
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24914
24974
|
|
|
24915
|
-
_defineProperty$
|
|
24975
|
+
_defineProperty$4(_assertThisInitialized$5(_this), "priority", 10);
|
|
24916
24976
|
|
|
24917
|
-
_defineProperty$
|
|
24977
|
+
_defineProperty$4(_assertThisInitialized$5(_this), "incompatibleTokens", ['t', 'T', 'x']);
|
|
24918
24978
|
|
|
24919
24979
|
return _this;
|
|
24920
24980
|
}
|
|
@@ -24976,7 +25036,7 @@ function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !
|
|
|
24976
25036
|
|
|
24977
25037
|
function _getPrototypeOf$2(o) { _getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$2(o); }
|
|
24978
25038
|
|
|
24979
|
-
function _defineProperty$
|
|
25039
|
+
function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24980
25040
|
|
|
24981
25041
|
var ISOTimezoneParser = /*#__PURE__*/function (_Parser) {
|
|
24982
25042
|
_inherits$2(ISOTimezoneParser, _Parser);
|
|
@@ -24994,9 +25054,9 @@ var ISOTimezoneParser = /*#__PURE__*/function (_Parser) {
|
|
|
24994
25054
|
|
|
24995
25055
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24996
25056
|
|
|
24997
|
-
_defineProperty$
|
|
25057
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "priority", 10);
|
|
24998
25058
|
|
|
24999
|
-
_defineProperty$
|
|
25059
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "incompatibleTokens", ['t', 'T', 'X']);
|
|
25000
25060
|
|
|
25001
25061
|
return _this;
|
|
25002
25062
|
}
|
|
@@ -25058,7 +25118,7 @@ function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !
|
|
|
25058
25118
|
|
|
25059
25119
|
function _getPrototypeOf$1(o) { _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$1(o); }
|
|
25060
25120
|
|
|
25061
|
-
function _defineProperty$
|
|
25121
|
+
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25062
25122
|
var TimestampSecondsParser = /*#__PURE__*/function (_Parser) {
|
|
25063
25123
|
_inherits$1(TimestampSecondsParser, _Parser);
|
|
25064
25124
|
|
|
@@ -25075,9 +25135,9 @@ var TimestampSecondsParser = /*#__PURE__*/function (_Parser) {
|
|
|
25075
25135
|
|
|
25076
25136
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25077
25137
|
|
|
25078
|
-
_defineProperty$
|
|
25138
|
+
_defineProperty$2(_assertThisInitialized$3(_this), "priority", 40);
|
|
25079
25139
|
|
|
25080
|
-
_defineProperty$
|
|
25140
|
+
_defineProperty$2(_assertThisInitialized$3(_this), "incompatibleTokens", '*');
|
|
25081
25141
|
|
|
25082
25142
|
return _this;
|
|
25083
25143
|
}
|
|
@@ -25121,7 +25181,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
25121
25181
|
|
|
25122
25182
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25123
25183
|
|
|
25124
|
-
function _defineProperty$
|
|
25184
|
+
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25125
25185
|
var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {
|
|
25126
25186
|
_inherits(TimestampMillisecondsParser, _Parser);
|
|
25127
25187
|
|
|
@@ -25138,9 +25198,9 @@ var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {
|
|
|
25138
25198
|
|
|
25139
25199
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25140
25200
|
|
|
25141
|
-
_defineProperty$
|
|
25201
|
+
_defineProperty$1(_assertThisInitialized$2(_this), "priority", 20);
|
|
25142
25202
|
|
|
25143
|
-
_defineProperty$
|
|
25203
|
+
_defineProperty$1(_assertThisInitialized$2(_this), "incompatibleTokens", '*');
|
|
25144
25204
|
|
|
25145
25205
|
return _this;
|
|
25146
25206
|
}
|
|
@@ -30351,37 +30411,6 @@ var LinkSection = function LinkSection(_ref) {
|
|
|
30351
30411
|
}, children, linkActionSection);
|
|
30352
30412
|
};
|
|
30353
30413
|
|
|
30354
|
-
function _toPrimitive(input, hint) {
|
|
30355
|
-
if (_typeof$E(input) !== "object" || input === null) return input;
|
|
30356
|
-
var prim = input[Symbol.toPrimitive];
|
|
30357
|
-
if (prim !== undefined) {
|
|
30358
|
-
var res = prim.call(input, hint || "default");
|
|
30359
|
-
if (_typeof$E(res) !== "object") return res;
|
|
30360
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
30361
|
-
}
|
|
30362
|
-
return (hint === "string" ? String : Number)(input);
|
|
30363
|
-
}
|
|
30364
|
-
|
|
30365
|
-
function _toPropertyKey(arg) {
|
|
30366
|
-
var key = _toPrimitive(arg, "string");
|
|
30367
|
-
return _typeof$E(key) === "symbol" ? key : String(key);
|
|
30368
|
-
}
|
|
30369
|
-
|
|
30370
|
-
function _defineProperty$1(obj, key, value) {
|
|
30371
|
-
key = _toPropertyKey(key);
|
|
30372
|
-
if (key in obj) {
|
|
30373
|
-
Object.defineProperty(obj, key, {
|
|
30374
|
-
value: value,
|
|
30375
|
-
enumerable: true,
|
|
30376
|
-
configurable: true,
|
|
30377
|
-
writable: true
|
|
30378
|
-
});
|
|
30379
|
-
} else {
|
|
30380
|
-
obj[key] = value;
|
|
30381
|
-
}
|
|
30382
|
-
return obj;
|
|
30383
|
-
}
|
|
30384
|
-
|
|
30385
30414
|
var Title = function Title(_ref) {
|
|
30386
30415
|
var headerTitle = _ref.headerTitle,
|
|
30387
30416
|
headerIcons = _ref.headerIcons,
|
|
@@ -30410,7 +30439,7 @@ var Title = function Title(_ref) {
|
|
|
30410
30439
|
}));
|
|
30411
30440
|
}
|
|
30412
30441
|
});
|
|
30413
|
-
var titleClassNames = classnames$1(style$4.titleSection, _defineProperty$
|
|
30442
|
+
var titleClassNames = classnames$1(style$4.titleSection, _defineProperty$x({}, style$4.titlePadding, headerIcons && headerIcons.length > 0));
|
|
30414
30443
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
30415
30444
|
className: "".concat(titleClassNames, " ").concat(className)
|
|
30416
30445
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
@@ -32985,7 +33014,7 @@ function SuggestionGroup(_ref3) {
|
|
|
32985
33014
|
color: 'white'
|
|
32986
33015
|
}
|
|
32987
33016
|
}, suggestionGroup.title)), (_a = suggestionGroup.options) === null || _a === void 0 ? void 0 : _a.map(function (suggestion, index) {
|
|
32988
|
-
var className = classnames$3(style$2.item, _defineProperty$
|
|
33017
|
+
var className = classnames$3(style$2.item, _defineProperty$x({}, style$2.activeItem, index === focusedOption));
|
|
32989
33018
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
32990
33019
|
role: 'option',
|
|
32991
33020
|
id: suggestion.id,
|
|
@@ -33119,8 +33148,8 @@ function MainLegend(_ref) {
|
|
|
33119
33148
|
}).join(' ');
|
|
33120
33149
|
return undefined;
|
|
33121
33150
|
};
|
|
33122
|
-
var accordion = classnames$3((_classnames = {}, _defineProperty$
|
|
33123
|
-
var content = classnames$3((_classnames2 = {}, _defineProperty$
|
|
33151
|
+
var accordion = classnames$3((_classnames = {}, _defineProperty$x(_classnames, styles$i.accordionMobile, isMobile), _defineProperty$x(_classnames, styles$i.accordionDesktop, !isMobile), _classnames));
|
|
33152
|
+
var content = classnames$3((_classnames2 = {}, _defineProperty$x(_classnames2, styles$i.contentMobile, isMobile), _defineProperty$x(_classnames2, styles$i.content, !isMobile), _classnames2));
|
|
33124
33153
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, isOpen && /*#__PURE__*/React__default.createElement("div", {
|
|
33125
33154
|
style: legendContentStyle,
|
|
33126
33155
|
className: content
|
|
@@ -33183,8 +33212,8 @@ function LayerLegend(_ref) {
|
|
|
33183
33212
|
return !isOpen;
|
|
33184
33213
|
});
|
|
33185
33214
|
};
|
|
33186
|
-
var left = classnames$3((_classnames = {}, _defineProperty$
|
|
33187
|
-
var header = classnames$3((_classnames2 = {}, _defineProperty$
|
|
33215
|
+
var left = classnames$3((_classnames = {}, _defineProperty$x(_classnames, styles$h.leftActive, isOpen), _defineProperty$x(_classnames, styles$h.leftInactive, !isOpen), _classnames));
|
|
33216
|
+
var header = classnames$3((_classnames2 = {}, _defineProperty$x(_classnames2, styles$h.mobileHeader, isMobile), _defineProperty$x(_classnames2, styles$h.desktopHeader, !isMobile), _classnames2));
|
|
33188
33217
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
33189
33218
|
style: style,
|
|
33190
33219
|
className: styles$h.layerLegendContainer
|
|
@@ -33230,7 +33259,7 @@ function ListItem(props) {
|
|
|
33230
33259
|
var caption = resolvePropToComponent('caption', props.caption);
|
|
33231
33260
|
// Container styling
|
|
33232
33261
|
var Container = (_a = props.as) !== null && _a !== void 0 ? _a : 'li';
|
|
33233
|
-
var containerClassNames = classnames$3(styles$g.listItemContainer, _defineProperty$
|
|
33262
|
+
var containerClassNames = classnames$3(styles$g.listItemContainer, _defineProperty$x({}, styles$g.hoverItem, !!props.onCardClick), props.className);
|
|
33234
33263
|
return /*#__PURE__*/React__default.createElement(Container, {
|
|
33235
33264
|
className: containerClassNames,
|
|
33236
33265
|
style: props.style,
|
|
@@ -37909,7 +37938,7 @@ var MenuButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
37909
37938
|
type: "button",
|
|
37910
37939
|
onClick: onClick,
|
|
37911
37940
|
id: id,
|
|
37912
|
-
className: classnames$1(styles$b.button, _defineProperty$
|
|
37941
|
+
className: classnames$1(styles$b.button, _defineProperty$x({}, styles$b.active, active))
|
|
37913
37942
|
}), children, /*#__PURE__*/React__default.createElement(Typography, {
|
|
37914
37943
|
className: styles$b.text
|
|
37915
37944
|
}, text));
|
|
@@ -39181,7 +39210,7 @@ var PanelWrapper = function PanelWrapper(_ref) {
|
|
|
39181
39210
|
className: styles$a.buttonWrapper,
|
|
39182
39211
|
ref: desktopWrapperRef
|
|
39183
39212
|
}, renderMenuItemsBasedOnRef((_b = desktopWrapperRef.current) === null || _b === void 0 ? void 0 : _b.clientHeight))), !((_c = getActivePanel(activePanel)) === null || _c === void 0 ? void 0 : _c.skipPanelContent) && /*#__PURE__*/React__default.createElement("div", {
|
|
39184
|
-
className: classnames$1(styles$a.contentPanel, (_classnames = {}, _defineProperty$
|
|
39213
|
+
className: classnames$1(styles$a.contentPanel, (_classnames = {}, _defineProperty$x(_classnames, styles$a.narrowPanel, panelSize === 'narrow' && activePanel), _defineProperty$x(_classnames, styles$a.activeContentPanel, activePanel), _classnames))
|
|
39185
39214
|
}, getPanelComponentForActivePanel(activePanel)));
|
|
39186
39215
|
};
|
|
39187
39216
|
|
|
@@ -39248,7 +39277,7 @@ var PanelContent = function PanelContent(_ref) {
|
|
|
39248
39277
|
})), /*#__PURE__*/React__default.createElement(Typography, {
|
|
39249
39278
|
group: "heading",
|
|
39250
39279
|
variant: "h2",
|
|
39251
|
-
className: classnames$3((_classnames = {}, _defineProperty$
|
|
39280
|
+
className: classnames$3((_classnames = {}, _defineProperty$x(_classnames, styles$9.narrowPanelTitleWithBackButton, panelSize === 'narrow' && !!backToMainPanel), _defineProperty$x(_classnames, styles$9.narrowPanelTitleWithoutBackButton, panelSize === 'narrow' && !backToMainPanel), _defineProperty$x(_classnames, styles$9.panelTitleWithBackButton, panelSize !== 'narrow' && !!backToMainPanel), _defineProperty$x(_classnames, styles$9.panelTitle, panelSize !== 'narrow' && !backToMainPanel), _classnames))
|
|
39252
39281
|
}, header), /*#__PURE__*/React__default.createElement(Button, {
|
|
39253
39282
|
variant: "ghost_icon",
|
|
39254
39283
|
onClick: function onClick() {
|
|
@@ -39327,7 +39356,7 @@ var SidebarButton = function SidebarButton(_ref) {
|
|
|
39327
39356
|
onClick: onClick,
|
|
39328
39357
|
id: id,
|
|
39329
39358
|
"aria-pressed": active,
|
|
39330
|
-
className: classnames$1(styles$8.button, (_classnames = {}, _defineProperty$
|
|
39359
|
+
className: classnames$1(styles$8.button, (_classnames = {}, _defineProperty$x(_classnames, styles$8.leftBarButton, buttonPosition === 'left'), _defineProperty$x(_classnames, styles$8.rightBarButton, buttonPosition === 'right'), _defineProperty$x(_classnames, styles$8.bottomBarButton, buttonPosition === 'bottom'), _defineProperty$x(_classnames, styles$8.tabButton, buttonPosition === 'tab'), _classnames))
|
|
39331
39360
|
}, children, count && count > 1 && /*#__PURE__*/React__default.createElement("span", {
|
|
39332
39361
|
className: styles$8.tabItemCount
|
|
39333
39362
|
}, count), /*#__PURE__*/React__default.createElement(Typography, {
|
|
@@ -39417,7 +39446,8 @@ function SheetTopArea(_ref) {
|
|
|
39417
39446
|
onOrientationChange: onOrientationChange
|
|
39418
39447
|
}), closeSheet && /*#__PURE__*/React__default.createElement(Button, {
|
|
39419
39448
|
variant: "ghost_icon",
|
|
39420
|
-
onClick: closeSheet
|
|
39449
|
+
onClick: closeSheet,
|
|
39450
|
+
"aria-label": "Close"
|
|
39421
39451
|
}, /*#__PURE__*/React__default.createElement(Icon$1, {
|
|
39422
39452
|
name: "close",
|
|
39423
39453
|
color: "var(--asBuilt)"
|
|
@@ -39442,7 +39472,8 @@ function SheetOrientationActions(_ref2) {
|
|
|
39442
39472
|
variant: "ghost_icon",
|
|
39443
39473
|
onClick: function onClick() {
|
|
39444
39474
|
return handleChange(SideSheetOrientation.Vertical);
|
|
39445
|
-
}
|
|
39475
|
+
},
|
|
39476
|
+
"aria-label": "Set sheet orientation Vertical"
|
|
39446
39477
|
}, /*#__PURE__*/React__default.createElement(Icon$1, {
|
|
39447
39478
|
name: "sheet_leftposition",
|
|
39448
39479
|
color: calculateColor(SideSheetOrientation.Vertical)
|
|
@@ -39450,7 +39481,8 @@ function SheetOrientationActions(_ref2) {
|
|
|
39450
39481
|
variant: "ghost_icon",
|
|
39451
39482
|
onClick: function onClick() {
|
|
39452
39483
|
return handleChange(SideSheetOrientation.Horizontal);
|
|
39453
|
-
}
|
|
39484
|
+
},
|
|
39485
|
+
"aria-label": "Set sheet orientation Horizontal"
|
|
39454
39486
|
}, /*#__PURE__*/React__default.createElement(Icon$1, {
|
|
39455
39487
|
name: "sheet_bottom_position",
|
|
39456
39488
|
color: calculateColor(SideSheetOrientation.Horizontal)
|
|
@@ -39458,7 +39490,8 @@ function SheetOrientationActions(_ref2) {
|
|
|
39458
39490
|
variant: "ghost_icon",
|
|
39459
39491
|
onClick: function onClick() {
|
|
39460
39492
|
return handleChange(SideSheetOrientation.Fullscreen);
|
|
39461
|
-
}
|
|
39493
|
+
},
|
|
39494
|
+
"aria-label": "Set sheet orientation Fullscreen"
|
|
39462
39495
|
}, /*#__PURE__*/React__default.createElement(Icon$1, {
|
|
39463
39496
|
name: "fullscreen",
|
|
39464
39497
|
color: calculateColor(SideSheetOrientation.Fullscreen)
|
|
@@ -39502,7 +39535,7 @@ function Left(_ref) {
|
|
|
39502
39535
|
_useState2 = _slicedToArray(_useState, 2),
|
|
39503
39536
|
isMinimized = _useState2[0],
|
|
39504
39537
|
setIsMinimized = _useState2[1];
|
|
39505
|
-
var containerClassName = classnames$3(styles$5.left, _defineProperty$
|
|
39538
|
+
var containerClassName = classnames$3(styles$5.left, _defineProperty$x({}, styles$5.collapsedLeft, isMinimized), className);
|
|
39506
39539
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
39507
39540
|
className: containerClassName,
|
|
39508
39541
|
style: style
|