@equinor/echo-components 0.7.3 → 0.7.5
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
|
@@ -15554,37 +15554,6 @@ var ContextMenu = function ContextMenu(_ref) {
|
|
|
15554
15554
|
})), expanded && children);
|
|
15555
15555
|
};
|
|
15556
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
|
-
|
|
15588
15557
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
15589
15558
|
|
|
15590
15559
|
function getDefaultExportFromCjs (x) {
|
|
@@ -16003,12 +15972,11 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
16003
15972
|
});
|
|
16004
15973
|
}
|
|
16005
15974
|
|
|
16006
|
-
var css_248z$x = ".CopyToClipboard-module_copyToClipboardContainer__xA1rT{cursor:pointer;display:flex;gap:.5rem;height:36px;
|
|
16007
|
-
var styles$o = {"copyToClipboardContainer":"CopyToClipboard-module_copyToClipboardContainer__xA1rT","
|
|
15975
|
+
var css_248z$x = ".CopyToClipboard-module_copyToClipboardContainer__xA1rT{color:#3d3d3d!important;cursor:pointer;display:flex;gap:.5rem;height:36px;min-width:100px}.CopyToClipboard-module_copyToClipboardContainer__xA1rT[aria-label=warning]{background-color:#ffe7d6!important}.CopyToClipboard-module_copyToClipboardContainer__xA1rT[aria-label=error]{background-color:#ffc1c1!important}.CopyToClipboard-module_copyToClipboardContainer__xA1rT[aria-label=success]{background-color:#e6faec!important}.CopyToClipboard-module_copyToClipboardContainer__xA1rT[aria-label$=-multiline]{align-items:center;height:unset}.CopyToClipboard-module_copyToClipboardContainer__xA1rT[aria-label$=warning-multiline]{background-color:#ffe7d6!important}.CopyToClipboard-module_copyToClipboardContainer__xA1rT[aria-label$=error-multiline]{background-color:#ffc1c1!important}.CopyToClipboard-module_copyToClipboardContainer__xA1rT[aria-label$=success-multiline]{background-color:#e6faec}.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_copyButton__XdBoF[aria-label=error-button],.CopyToClipboard-module_copyButton__XdBoF[aria-label=success-button],.CopyToClipboard-module_copyButton__XdBoF[aria-label=warning-button]{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}";
|
|
15976
|
+
var styles$o = {"copyToClipboardContainer":"CopyToClipboard-module_copyToClipboardContainer__xA1rT","readonlyInput":"CopyToClipboard-module_readonlyInput__rfIQF","textFieldSelector":"CopyToClipboard-module_textFieldSelector__0PJ8S","copyButton":"CopyToClipboard-module_copyButton__XdBoF"};
|
|
16008
15977
|
styleInject(css_248z$x);
|
|
16009
15978
|
|
|
16010
15979
|
var CopyToClipboard = function CopyToClipboard(props) {
|
|
16011
|
-
var _classnames, _classnames2;
|
|
16012
15980
|
var _a;
|
|
16013
15981
|
if (!props.variant) props.variant = 'neutral';
|
|
16014
15982
|
var _useState = useState(false),
|
|
@@ -16058,10 +16026,9 @@ var CopyToClipboard = function CopyToClipboard(props) {
|
|
|
16058
16026
|
edsInput.disabled = true;
|
|
16059
16027
|
}
|
|
16060
16028
|
}
|
|
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));
|
|
16063
16029
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
16064
|
-
className:
|
|
16030
|
+
className: styles$o.copyToClipboardContainer,
|
|
16031
|
+
"aria-label": props.multiline ? "".concat(props.variant, "-multiline") : props.variant
|
|
16065
16032
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
16066
16033
|
className: styles$o.textFieldSelector,
|
|
16067
16034
|
onClick: function onClick() {
|
|
@@ -16075,7 +16042,8 @@ var CopyToClipboard = function CopyToClipboard(props) {
|
|
|
16075
16042
|
disabled: true,
|
|
16076
16043
|
multiline: props.multiline
|
|
16077
16044
|
})), /*#__PURE__*/React__default.createElement(Button, {
|
|
16078
|
-
|
|
16045
|
+
"aria-label": "".concat(props.variant, "-button"),
|
|
16046
|
+
className: styles$o.copyButton,
|
|
16079
16047
|
variant: "outlined",
|
|
16080
16048
|
onClick: function onClick() {
|
|
16081
16049
|
return handleClipboard(props.copyableText);
|
|
@@ -21961,14 +21929,14 @@ function _defineProperties$w(target, props) { for (var i = 0; i < props.length;
|
|
|
21961
21929
|
|
|
21962
21930
|
function _createClass$w(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$w(Constructor.prototype, protoProps); if (staticProps) _defineProperties$w(Constructor, staticProps); return Constructor; }
|
|
21963
21931
|
|
|
21964
|
-
function _defineProperty$
|
|
21932
|
+
function _defineProperty$x(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; }
|
|
21965
21933
|
|
|
21966
21934
|
var TIMEZONE_UNIT_PRIORITY = 10;
|
|
21967
21935
|
var Setter = /*#__PURE__*/function () {
|
|
21968
21936
|
function Setter() {
|
|
21969
21937
|
_classCallCheck$w(this, Setter);
|
|
21970
21938
|
|
|
21971
|
-
_defineProperty$
|
|
21939
|
+
_defineProperty$x(this, "subPriority", 0);
|
|
21972
21940
|
}
|
|
21973
21941
|
|
|
21974
21942
|
_createClass$w(Setter, [{
|
|
@@ -22033,9 +22001,9 @@ var DateToSystemTimezoneSetter = /*#__PURE__*/function (_Setter2) {
|
|
|
22033
22001
|
|
|
22034
22002
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
22035
22003
|
|
|
22036
|
-
_defineProperty$
|
|
22004
|
+
_defineProperty$x(_assertThisInitialized$x(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
22037
22005
|
|
|
22038
|
-
_defineProperty$
|
|
22006
|
+
_defineProperty$x(_assertThisInitialized$x(_this2), "subPriority", -1);
|
|
22039
22007
|
|
|
22040
22008
|
return _this2;
|
|
22041
22009
|
}
|
|
@@ -22113,7 +22081,7 @@ function _isNativeReflectConstruct$u() { if (typeof Reflect === "undefined" || !
|
|
|
22113
22081
|
|
|
22114
22082
|
function _getPrototypeOf$u(o) { _getPrototypeOf$u = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$u(o); }
|
|
22115
22083
|
|
|
22116
|
-
function _defineProperty$
|
|
22084
|
+
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; }
|
|
22117
22085
|
var EraParser = /*#__PURE__*/function (_Parser) {
|
|
22118
22086
|
_inherits$u(EraParser, _Parser);
|
|
22119
22087
|
|
|
@@ -22130,9 +22098,9 @@ var EraParser = /*#__PURE__*/function (_Parser) {
|
|
|
22130
22098
|
|
|
22131
22099
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22132
22100
|
|
|
22133
|
-
_defineProperty$
|
|
22101
|
+
_defineProperty$w(_assertThisInitialized$w(_this), "priority", 140);
|
|
22134
22102
|
|
|
22135
|
-
_defineProperty$
|
|
22103
|
+
_defineProperty$w(_assertThisInitialized$w(_this), "incompatibleTokens", ['R', 'u', 't', 'T']);
|
|
22136
22104
|
|
|
22137
22105
|
return _this;
|
|
22138
22106
|
}
|
|
@@ -22419,7 +22387,7 @@ function _isNativeReflectConstruct$t() { if (typeof Reflect === "undefined" || !
|
|
|
22419
22387
|
|
|
22420
22388
|
function _getPrototypeOf$t(o) { _getPrototypeOf$t = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$t(o); }
|
|
22421
22389
|
|
|
22422
|
-
function _defineProperty$
|
|
22390
|
+
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; }
|
|
22423
22391
|
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
|
|
22424
22392
|
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
22425
22393
|
// |----------|-------|----|-------|-------|-------|
|
|
@@ -22444,9 +22412,9 @@ var YearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22444
22412
|
|
|
22445
22413
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22446
22414
|
|
|
22447
|
-
_defineProperty$
|
|
22415
|
+
_defineProperty$v(_assertThisInitialized$v(_this), "priority", 130);
|
|
22448
22416
|
|
|
22449
|
-
_defineProperty$
|
|
22417
|
+
_defineProperty$v(_assertThisInitialized$v(_this), "incompatibleTokens", ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
|
|
22450
22418
|
|
|
22451
22419
|
return _this;
|
|
22452
22420
|
}
|
|
@@ -22523,7 +22491,7 @@ function _isNativeReflectConstruct$s() { if (typeof Reflect === "undefined" || !
|
|
|
22523
22491
|
|
|
22524
22492
|
function _getPrototypeOf$s(o) { _getPrototypeOf$s = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$s(o); }
|
|
22525
22493
|
|
|
22526
|
-
function _defineProperty$
|
|
22494
|
+
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; }
|
|
22527
22495
|
// Local week-numbering year
|
|
22528
22496
|
var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
22529
22497
|
_inherits$s(LocalWeekYearParser, _Parser);
|
|
@@ -22541,9 +22509,9 @@ var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22541
22509
|
|
|
22542
22510
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22543
22511
|
|
|
22544
|
-
_defineProperty$
|
|
22512
|
+
_defineProperty$u(_assertThisInitialized$u(_this), "priority", 130);
|
|
22545
22513
|
|
|
22546
|
-
_defineProperty$
|
|
22514
|
+
_defineProperty$u(_assertThisInitialized$u(_this), "incompatibleTokens", ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
|
|
22547
22515
|
|
|
22548
22516
|
return _this;
|
|
22549
22517
|
}
|
|
@@ -22620,7 +22588,7 @@ function _isNativeReflectConstruct$r() { if (typeof Reflect === "undefined" || !
|
|
|
22620
22588
|
|
|
22621
22589
|
function _getPrototypeOf$r(o) { _getPrototypeOf$r = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$r(o); }
|
|
22622
22590
|
|
|
22623
|
-
function _defineProperty$
|
|
22591
|
+
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; }
|
|
22624
22592
|
|
|
22625
22593
|
var ISOWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
22626
22594
|
_inherits$r(ISOWeekYearParser, _Parser);
|
|
@@ -22638,9 +22606,9 @@ var ISOWeekYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22638
22606
|
|
|
22639
22607
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22640
22608
|
|
|
22641
|
-
_defineProperty$
|
|
22609
|
+
_defineProperty$t(_assertThisInitialized$t(_this), "priority", 130);
|
|
22642
22610
|
|
|
22643
|
-
_defineProperty$
|
|
22611
|
+
_defineProperty$t(_assertThisInitialized$t(_this), "incompatibleTokens", ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
|
|
22644
22612
|
|
|
22645
22613
|
return _this;
|
|
22646
22614
|
}
|
|
@@ -22689,7 +22657,7 @@ function _isNativeReflectConstruct$q() { if (typeof Reflect === "undefined" || !
|
|
|
22689
22657
|
|
|
22690
22658
|
function _getPrototypeOf$q(o) { _getPrototypeOf$q = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$q(o); }
|
|
22691
22659
|
|
|
22692
|
-
function _defineProperty$
|
|
22660
|
+
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; }
|
|
22693
22661
|
var ExtendedYearParser = /*#__PURE__*/function (_Parser) {
|
|
22694
22662
|
_inherits$q(ExtendedYearParser, _Parser);
|
|
22695
22663
|
|
|
@@ -22706,9 +22674,9 @@ var ExtendedYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
22706
22674
|
|
|
22707
22675
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22708
22676
|
|
|
22709
|
-
_defineProperty$
|
|
22677
|
+
_defineProperty$s(_assertThisInitialized$s(_this), "priority", 130);
|
|
22710
22678
|
|
|
22711
|
-
_defineProperty$
|
|
22679
|
+
_defineProperty$s(_assertThisInitialized$s(_this), "incompatibleTokens", ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
|
|
22712
22680
|
|
|
22713
22681
|
return _this;
|
|
22714
22682
|
}
|
|
@@ -22756,7 +22724,7 @@ function _isNativeReflectConstruct$p() { if (typeof Reflect === "undefined" || !
|
|
|
22756
22724
|
|
|
22757
22725
|
function _getPrototypeOf$p(o) { _getPrototypeOf$p = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$p(o); }
|
|
22758
22726
|
|
|
22759
|
-
function _defineProperty$
|
|
22727
|
+
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; }
|
|
22760
22728
|
var QuarterParser = /*#__PURE__*/function (_Parser) {
|
|
22761
22729
|
_inherits$p(QuarterParser, _Parser);
|
|
22762
22730
|
|
|
@@ -22773,9 +22741,9 @@ var QuarterParser = /*#__PURE__*/function (_Parser) {
|
|
|
22773
22741
|
|
|
22774
22742
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22775
22743
|
|
|
22776
|
-
_defineProperty$
|
|
22744
|
+
_defineProperty$r(_assertThisInitialized$r(_this), "priority", 120);
|
|
22777
22745
|
|
|
22778
|
-
_defineProperty$
|
|
22746
|
+
_defineProperty$r(_assertThisInitialized$r(_this), "incompatibleTokens", ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
22779
22747
|
|
|
22780
22748
|
return _this;
|
|
22781
22749
|
}
|
|
@@ -22867,7 +22835,7 @@ function _isNativeReflectConstruct$o() { if (typeof Reflect === "undefined" || !
|
|
|
22867
22835
|
|
|
22868
22836
|
function _getPrototypeOf$o(o) { _getPrototypeOf$o = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$o(o); }
|
|
22869
22837
|
|
|
22870
|
-
function _defineProperty$
|
|
22838
|
+
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; }
|
|
22871
22839
|
var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
|
|
22872
22840
|
_inherits$o(StandAloneQuarterParser, _Parser);
|
|
22873
22841
|
|
|
@@ -22884,9 +22852,9 @@ var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
|
|
|
22884
22852
|
|
|
22885
22853
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22886
22854
|
|
|
22887
|
-
_defineProperty$
|
|
22855
|
+
_defineProperty$q(_assertThisInitialized$q(_this), "priority", 120);
|
|
22888
22856
|
|
|
22889
|
-
_defineProperty$
|
|
22857
|
+
_defineProperty$q(_assertThisInitialized$q(_this), "incompatibleTokens", ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
22890
22858
|
|
|
22891
22859
|
return _this;
|
|
22892
22860
|
}
|
|
@@ -22978,7 +22946,7 @@ function _isNativeReflectConstruct$n() { if (typeof Reflect === "undefined" || !
|
|
|
22978
22946
|
|
|
22979
22947
|
function _getPrototypeOf$n(o) { _getPrototypeOf$n = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$n(o); }
|
|
22980
22948
|
|
|
22981
|
-
function _defineProperty$
|
|
22949
|
+
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; }
|
|
22982
22950
|
var MonthParser = /*#__PURE__*/function (_Parser) {
|
|
22983
22951
|
_inherits$n(MonthParser, _Parser);
|
|
22984
22952
|
|
|
@@ -22995,9 +22963,9 @@ var MonthParser = /*#__PURE__*/function (_Parser) {
|
|
|
22995
22963
|
|
|
22996
22964
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
22997
22965
|
|
|
22998
|
-
_defineProperty$
|
|
22966
|
+
_defineProperty$p(_assertThisInitialized$p(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
22999
22967
|
|
|
23000
|
-
_defineProperty$
|
|
22968
|
+
_defineProperty$p(_assertThisInitialized$p(_this), "priority", 110);
|
|
23001
22969
|
|
|
23002
22970
|
return _this;
|
|
23003
22971
|
}
|
|
@@ -23095,7 +23063,7 @@ function _isNativeReflectConstruct$m() { if (typeof Reflect === "undefined" || !
|
|
|
23095
23063
|
|
|
23096
23064
|
function _getPrototypeOf$m(o) { _getPrototypeOf$m = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$m(o); }
|
|
23097
23065
|
|
|
23098
|
-
function _defineProperty$
|
|
23066
|
+
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; }
|
|
23099
23067
|
var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {
|
|
23100
23068
|
_inherits$m(StandAloneMonthParser, _Parser);
|
|
23101
23069
|
|
|
@@ -23112,9 +23080,9 @@ var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {
|
|
|
23112
23080
|
|
|
23113
23081
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23114
23082
|
|
|
23115
|
-
_defineProperty$
|
|
23083
|
+
_defineProperty$o(_assertThisInitialized$o(_this), "priority", 110);
|
|
23116
23084
|
|
|
23117
|
-
_defineProperty$
|
|
23085
|
+
_defineProperty$o(_assertThisInitialized$o(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
23118
23086
|
|
|
23119
23087
|
return _this;
|
|
23120
23088
|
}
|
|
@@ -23221,7 +23189,7 @@ function _isNativeReflectConstruct$l() { if (typeof Reflect === "undefined" || !
|
|
|
23221
23189
|
|
|
23222
23190
|
function _getPrototypeOf$l(o) { _getPrototypeOf$l = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$l(o); }
|
|
23223
23191
|
|
|
23224
|
-
function _defineProperty$
|
|
23192
|
+
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; }
|
|
23225
23193
|
|
|
23226
23194
|
var LocalWeekParser = /*#__PURE__*/function (_Parser) {
|
|
23227
23195
|
_inherits$l(LocalWeekParser, _Parser);
|
|
@@ -23239,9 +23207,9 @@ var LocalWeekParser = /*#__PURE__*/function (_Parser) {
|
|
|
23239
23207
|
|
|
23240
23208
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23241
23209
|
|
|
23242
|
-
_defineProperty$
|
|
23210
|
+
_defineProperty$n(_assertThisInitialized$n(_this), "priority", 100);
|
|
23243
23211
|
|
|
23244
|
-
_defineProperty$
|
|
23212
|
+
_defineProperty$n(_assertThisInitialized$n(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
|
|
23245
23213
|
|
|
23246
23214
|
return _this;
|
|
23247
23215
|
}
|
|
@@ -23308,7 +23276,7 @@ function _isNativeReflectConstruct$k() { if (typeof Reflect === "undefined" || !
|
|
|
23308
23276
|
|
|
23309
23277
|
function _getPrototypeOf$k(o) { _getPrototypeOf$k = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$k(o); }
|
|
23310
23278
|
|
|
23311
|
-
function _defineProperty$
|
|
23279
|
+
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; }
|
|
23312
23280
|
|
|
23313
23281
|
var ISOWeekParser = /*#__PURE__*/function (_Parser) {
|
|
23314
23282
|
_inherits$k(ISOWeekParser, _Parser);
|
|
@@ -23326,9 +23294,9 @@ var ISOWeekParser = /*#__PURE__*/function (_Parser) {
|
|
|
23326
23294
|
|
|
23327
23295
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23328
23296
|
|
|
23329
|
-
_defineProperty$
|
|
23297
|
+
_defineProperty$m(_assertThisInitialized$m(_this), "priority", 100);
|
|
23330
23298
|
|
|
23331
|
-
_defineProperty$
|
|
23299
|
+
_defineProperty$m(_assertThisInitialized$m(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
|
|
23332
23300
|
|
|
23333
23301
|
return _this;
|
|
23334
23302
|
}
|
|
@@ -23386,7 +23354,7 @@ function _isNativeReflectConstruct$j() { if (typeof Reflect === "undefined" || !
|
|
|
23386
23354
|
|
|
23387
23355
|
function _getPrototypeOf$j(o) { _getPrototypeOf$j = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$j(o); }
|
|
23388
23356
|
|
|
23389
|
-
function _defineProperty$
|
|
23357
|
+
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; }
|
|
23390
23358
|
var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
23391
23359
|
var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // Day of the month
|
|
23392
23360
|
|
|
@@ -23406,11 +23374,11 @@ var DateParser = /*#__PURE__*/function (_Parser) {
|
|
|
23406
23374
|
|
|
23407
23375
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23408
23376
|
|
|
23409
|
-
_defineProperty$
|
|
23377
|
+
_defineProperty$l(_assertThisInitialized$l(_this), "priority", 90);
|
|
23410
23378
|
|
|
23411
|
-
_defineProperty$
|
|
23379
|
+
_defineProperty$l(_assertThisInitialized$l(_this), "subPriority", 1);
|
|
23412
23380
|
|
|
23413
|
-
_defineProperty$
|
|
23381
|
+
_defineProperty$l(_assertThisInitialized$l(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
|
|
23414
23382
|
|
|
23415
23383
|
return _this;
|
|
23416
23384
|
}
|
|
@@ -23478,7 +23446,7 @@ function _isNativeReflectConstruct$i() { if (typeof Reflect === "undefined" || !
|
|
|
23478
23446
|
|
|
23479
23447
|
function _getPrototypeOf$i(o) { _getPrototypeOf$i = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$i(o); }
|
|
23480
23448
|
|
|
23481
|
-
function _defineProperty$
|
|
23449
|
+
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; }
|
|
23482
23450
|
var DayOfYearParser = /*#__PURE__*/function (_Parser) {
|
|
23483
23451
|
_inherits$i(DayOfYearParser, _Parser);
|
|
23484
23452
|
|
|
@@ -23495,11 +23463,11 @@ var DayOfYearParser = /*#__PURE__*/function (_Parser) {
|
|
|
23495
23463
|
|
|
23496
23464
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23497
23465
|
|
|
23498
|
-
_defineProperty$
|
|
23466
|
+
_defineProperty$k(_assertThisInitialized$k(_this), "priority", 90);
|
|
23499
23467
|
|
|
23500
|
-
_defineProperty$
|
|
23468
|
+
_defineProperty$k(_assertThisInitialized$k(_this), "subpriority", 1);
|
|
23501
23469
|
|
|
23502
|
-
_defineProperty$
|
|
23470
|
+
_defineProperty$k(_assertThisInitialized$k(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']);
|
|
23503
23471
|
|
|
23504
23472
|
return _this;
|
|
23505
23473
|
}
|
|
@@ -23588,7 +23556,7 @@ function _isNativeReflectConstruct$h() { if (typeof Reflect === "undefined" || !
|
|
|
23588
23556
|
|
|
23589
23557
|
function _getPrototypeOf$h(o) { _getPrototypeOf$h = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$h(o); }
|
|
23590
23558
|
|
|
23591
|
-
function _defineProperty$
|
|
23559
|
+
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; }
|
|
23592
23560
|
|
|
23593
23561
|
var DayParser = /*#__PURE__*/function (_Parser) {
|
|
23594
23562
|
_inherits$h(DayParser, _Parser);
|
|
@@ -23606,9 +23574,9 @@ var DayParser = /*#__PURE__*/function (_Parser) {
|
|
|
23606
23574
|
|
|
23607
23575
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23608
23576
|
|
|
23609
|
-
_defineProperty$
|
|
23577
|
+
_defineProperty$j(_assertThisInitialized$j(_this), "priority", 90);
|
|
23610
23578
|
|
|
23611
|
-
_defineProperty$
|
|
23579
|
+
_defineProperty$j(_assertThisInitialized$j(_this), "incompatibleTokens", ['D', 'i', 'e', 'c', 't', 'T']);
|
|
23612
23580
|
|
|
23613
23581
|
return _this;
|
|
23614
23582
|
}
|
|
@@ -23706,7 +23674,7 @@ function _isNativeReflectConstruct$g() { if (typeof Reflect === "undefined" || !
|
|
|
23706
23674
|
|
|
23707
23675
|
function _getPrototypeOf$g(o) { _getPrototypeOf$g = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$g(o); }
|
|
23708
23676
|
|
|
23709
|
-
function _defineProperty$
|
|
23677
|
+
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; }
|
|
23710
23678
|
|
|
23711
23679
|
var LocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
23712
23680
|
_inherits$g(LocalDayParser, _Parser);
|
|
@@ -23724,9 +23692,9 @@ var LocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
|
23724
23692
|
|
|
23725
23693
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23726
23694
|
|
|
23727
|
-
_defineProperty$
|
|
23695
|
+
_defineProperty$i(_assertThisInitialized$i(_this), "priority", 90);
|
|
23728
23696
|
|
|
23729
|
-
_defineProperty$
|
|
23697
|
+
_defineProperty$i(_assertThisInitialized$i(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']);
|
|
23730
23698
|
|
|
23731
23699
|
return _this;
|
|
23732
23700
|
}
|
|
@@ -23839,7 +23807,7 @@ function _isNativeReflectConstruct$f() { if (typeof Reflect === "undefined" || !
|
|
|
23839
23807
|
|
|
23840
23808
|
function _getPrototypeOf$f(o) { _getPrototypeOf$f = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$f(o); }
|
|
23841
23809
|
|
|
23842
|
-
function _defineProperty$
|
|
23810
|
+
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; }
|
|
23843
23811
|
|
|
23844
23812
|
var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
23845
23813
|
_inherits$f(StandAloneLocalDayParser, _Parser);
|
|
@@ -23857,9 +23825,9 @@ var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
|
|
|
23857
23825
|
|
|
23858
23826
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
23859
23827
|
|
|
23860
|
-
_defineProperty$
|
|
23828
|
+
_defineProperty$h(_assertThisInitialized$h(_this), "priority", 90);
|
|
23861
23829
|
|
|
23862
|
-
_defineProperty$
|
|
23830
|
+
_defineProperty$h(_assertThisInitialized$h(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']);
|
|
23863
23831
|
|
|
23864
23832
|
return _this;
|
|
23865
23833
|
}
|
|
@@ -23990,7 +23958,7 @@ function _isNativeReflectConstruct$e() { if (typeof Reflect === "undefined" || !
|
|
|
23990
23958
|
|
|
23991
23959
|
function _getPrototypeOf$e(o) { _getPrototypeOf$e = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$e(o); }
|
|
23992
23960
|
|
|
23993
|
-
function _defineProperty$
|
|
23961
|
+
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; }
|
|
23994
23962
|
|
|
23995
23963
|
var ISODayParser = /*#__PURE__*/function (_Parser) {
|
|
23996
23964
|
_inherits$e(ISODayParser, _Parser);
|
|
@@ -24008,9 +23976,9 @@ var ISODayParser = /*#__PURE__*/function (_Parser) {
|
|
|
24008
23976
|
|
|
24009
23977
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24010
23978
|
|
|
24011
|
-
_defineProperty$
|
|
23979
|
+
_defineProperty$g(_assertThisInitialized$g(_this), "priority", 90);
|
|
24012
23980
|
|
|
24013
|
-
_defineProperty$
|
|
23981
|
+
_defineProperty$g(_assertThisInitialized$g(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']);
|
|
24014
23982
|
|
|
24015
23983
|
return _this;
|
|
24016
23984
|
}
|
|
@@ -24126,7 +24094,7 @@ function _isNativeReflectConstruct$d() { if (typeof Reflect === "undefined" || !
|
|
|
24126
24094
|
|
|
24127
24095
|
function _getPrototypeOf$d(o) { _getPrototypeOf$d = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$d(o); }
|
|
24128
24096
|
|
|
24129
|
-
function _defineProperty$
|
|
24097
|
+
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; }
|
|
24130
24098
|
var AMPMParser = /*#__PURE__*/function (_Parser) {
|
|
24131
24099
|
_inherits$d(AMPMParser, _Parser);
|
|
24132
24100
|
|
|
@@ -24143,9 +24111,9 @@ var AMPMParser = /*#__PURE__*/function (_Parser) {
|
|
|
24143
24111
|
|
|
24144
24112
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24145
24113
|
|
|
24146
|
-
_defineProperty$
|
|
24114
|
+
_defineProperty$f(_assertThisInitialized$f(_this), "priority", 80);
|
|
24147
24115
|
|
|
24148
|
-
_defineProperty$
|
|
24116
|
+
_defineProperty$f(_assertThisInitialized$f(_this), "incompatibleTokens", ['b', 'B', 'H', 'k', 't', 'T']);
|
|
24149
24117
|
|
|
24150
24118
|
return _this;
|
|
24151
24119
|
}
|
|
@@ -24218,7 +24186,7 @@ function _isNativeReflectConstruct$c() { if (typeof Reflect === "undefined" || !
|
|
|
24218
24186
|
|
|
24219
24187
|
function _getPrototypeOf$c(o) { _getPrototypeOf$c = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$c(o); }
|
|
24220
24188
|
|
|
24221
|
-
function _defineProperty$
|
|
24189
|
+
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; }
|
|
24222
24190
|
var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {
|
|
24223
24191
|
_inherits$c(AMPMMidnightParser, _Parser);
|
|
24224
24192
|
|
|
@@ -24235,9 +24203,9 @@ var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {
|
|
|
24235
24203
|
|
|
24236
24204
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24237
24205
|
|
|
24238
|
-
_defineProperty$
|
|
24206
|
+
_defineProperty$e(_assertThisInitialized$e(_this), "priority", 80);
|
|
24239
24207
|
|
|
24240
|
-
_defineProperty$
|
|
24208
|
+
_defineProperty$e(_assertThisInitialized$e(_this), "incompatibleTokens", ['a', 'B', 'H', 'k', 't', 'T']);
|
|
24241
24209
|
|
|
24242
24210
|
return _this;
|
|
24243
24211
|
}
|
|
@@ -24310,7 +24278,7 @@ function _isNativeReflectConstruct$b() { if (typeof Reflect === "undefined" || !
|
|
|
24310
24278
|
|
|
24311
24279
|
function _getPrototypeOf$b(o) { _getPrototypeOf$b = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$b(o); }
|
|
24312
24280
|
|
|
24313
|
-
function _defineProperty$
|
|
24281
|
+
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; }
|
|
24314
24282
|
|
|
24315
24283
|
var DayPeriodParser = /*#__PURE__*/function (_Parser) {
|
|
24316
24284
|
_inherits$b(DayPeriodParser, _Parser);
|
|
@@ -24328,9 +24296,9 @@ var DayPeriodParser = /*#__PURE__*/function (_Parser) {
|
|
|
24328
24296
|
|
|
24329
24297
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24330
24298
|
|
|
24331
|
-
_defineProperty$
|
|
24299
|
+
_defineProperty$d(_assertThisInitialized$d(_this), "priority", 80);
|
|
24332
24300
|
|
|
24333
|
-
_defineProperty$
|
|
24301
|
+
_defineProperty$d(_assertThisInitialized$d(_this), "incompatibleTokens", ['a', 'b', 't', 'T']);
|
|
24334
24302
|
|
|
24335
24303
|
return _this;
|
|
24336
24304
|
}
|
|
@@ -24403,7 +24371,7 @@ function _isNativeReflectConstruct$a() { if (typeof Reflect === "undefined" || !
|
|
|
24403
24371
|
|
|
24404
24372
|
function _getPrototypeOf$a(o) { _getPrototypeOf$a = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$a(o); }
|
|
24405
24373
|
|
|
24406
|
-
function _defineProperty$
|
|
24374
|
+
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; }
|
|
24407
24375
|
var Hour1to12Parser = /*#__PURE__*/function (_Parser) {
|
|
24408
24376
|
_inherits$a(Hour1to12Parser, _Parser);
|
|
24409
24377
|
|
|
@@ -24420,9 +24388,9 @@ var Hour1to12Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24420
24388
|
|
|
24421
24389
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24422
24390
|
|
|
24423
|
-
_defineProperty$
|
|
24391
|
+
_defineProperty$c(_assertThisInitialized$c(_this), "priority", 70);
|
|
24424
24392
|
|
|
24425
|
-
_defineProperty$
|
|
24393
|
+
_defineProperty$c(_assertThisInitialized$c(_this), "incompatibleTokens", ['H', 'K', 'k', 't', 'T']);
|
|
24426
24394
|
|
|
24427
24395
|
return _this;
|
|
24428
24396
|
}
|
|
@@ -24490,7 +24458,7 @@ function _isNativeReflectConstruct$9() { if (typeof Reflect === "undefined" || !
|
|
|
24490
24458
|
|
|
24491
24459
|
function _getPrototypeOf$9(o) { _getPrototypeOf$9 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$9(o); }
|
|
24492
24460
|
|
|
24493
|
-
function _defineProperty$
|
|
24461
|
+
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; }
|
|
24494
24462
|
var Hour0to23Parser = /*#__PURE__*/function (_Parser) {
|
|
24495
24463
|
_inherits$9(Hour0to23Parser, _Parser);
|
|
24496
24464
|
|
|
@@ -24507,9 +24475,9 @@ var Hour0to23Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24507
24475
|
|
|
24508
24476
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24509
24477
|
|
|
24510
|
-
_defineProperty$
|
|
24478
|
+
_defineProperty$b(_assertThisInitialized$b(_this), "priority", 70);
|
|
24511
24479
|
|
|
24512
|
-
_defineProperty$
|
|
24480
|
+
_defineProperty$b(_assertThisInitialized$b(_this), "incompatibleTokens", ['a', 'b', 'h', 'K', 'k', 't', 'T']);
|
|
24513
24481
|
|
|
24514
24482
|
return _this;
|
|
24515
24483
|
}
|
|
@@ -24568,7 +24536,7 @@ function _isNativeReflectConstruct$8() { if (typeof Reflect === "undefined" || !
|
|
|
24568
24536
|
|
|
24569
24537
|
function _getPrototypeOf$8(o) { _getPrototypeOf$8 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$8(o); }
|
|
24570
24538
|
|
|
24571
|
-
function _defineProperty$
|
|
24539
|
+
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; }
|
|
24572
24540
|
var Hour0To11Parser = /*#__PURE__*/function (_Parser) {
|
|
24573
24541
|
_inherits$8(Hour0To11Parser, _Parser);
|
|
24574
24542
|
|
|
@@ -24585,9 +24553,9 @@ var Hour0To11Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24585
24553
|
|
|
24586
24554
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24587
24555
|
|
|
24588
|
-
_defineProperty$
|
|
24556
|
+
_defineProperty$a(_assertThisInitialized$a(_this), "priority", 70);
|
|
24589
24557
|
|
|
24590
|
-
_defineProperty$
|
|
24558
|
+
_defineProperty$a(_assertThisInitialized$a(_this), "incompatibleTokens", ['h', 'H', 'k', 't', 'T']);
|
|
24591
24559
|
|
|
24592
24560
|
return _this;
|
|
24593
24561
|
}
|
|
@@ -24653,7 +24621,7 @@ function _isNativeReflectConstruct$7() { if (typeof Reflect === "undefined" || !
|
|
|
24653
24621
|
|
|
24654
24622
|
function _getPrototypeOf$7(o) { _getPrototypeOf$7 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$7(o); }
|
|
24655
24623
|
|
|
24656
|
-
function _defineProperty$
|
|
24624
|
+
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; }
|
|
24657
24625
|
var Hour1To24Parser = /*#__PURE__*/function (_Parser) {
|
|
24658
24626
|
_inherits$7(Hour1To24Parser, _Parser);
|
|
24659
24627
|
|
|
@@ -24670,9 +24638,9 @@ var Hour1To24Parser = /*#__PURE__*/function (_Parser) {
|
|
|
24670
24638
|
|
|
24671
24639
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24672
24640
|
|
|
24673
|
-
_defineProperty$
|
|
24641
|
+
_defineProperty$9(_assertThisInitialized$9(_this), "priority", 70);
|
|
24674
24642
|
|
|
24675
|
-
_defineProperty$
|
|
24643
|
+
_defineProperty$9(_assertThisInitialized$9(_this), "incompatibleTokens", ['a', 'b', 'h', 'H', 'K', 't', 'T']);
|
|
24676
24644
|
|
|
24677
24645
|
return _this;
|
|
24678
24646
|
}
|
|
@@ -24732,7 +24700,7 @@ function _isNativeReflectConstruct$6() { if (typeof Reflect === "undefined" || !
|
|
|
24732
24700
|
|
|
24733
24701
|
function _getPrototypeOf$6(o) { _getPrototypeOf$6 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$6(o); }
|
|
24734
24702
|
|
|
24735
|
-
function _defineProperty$
|
|
24703
|
+
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; }
|
|
24736
24704
|
var MinuteParser = /*#__PURE__*/function (_Parser) {
|
|
24737
24705
|
_inherits$6(MinuteParser, _Parser);
|
|
24738
24706
|
|
|
@@ -24749,9 +24717,9 @@ var MinuteParser = /*#__PURE__*/function (_Parser) {
|
|
|
24749
24717
|
|
|
24750
24718
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24751
24719
|
|
|
24752
|
-
_defineProperty$
|
|
24720
|
+
_defineProperty$8(_assertThisInitialized$8(_this), "priority", 60);
|
|
24753
24721
|
|
|
24754
|
-
_defineProperty$
|
|
24722
|
+
_defineProperty$8(_assertThisInitialized$8(_this), "incompatibleTokens", ['t', 'T']);
|
|
24755
24723
|
|
|
24756
24724
|
return _this;
|
|
24757
24725
|
}
|
|
@@ -24810,7 +24778,7 @@ function _isNativeReflectConstruct$5() { if (typeof Reflect === "undefined" || !
|
|
|
24810
24778
|
|
|
24811
24779
|
function _getPrototypeOf$5(o) { _getPrototypeOf$5 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$5(o); }
|
|
24812
24780
|
|
|
24813
|
-
function _defineProperty$
|
|
24781
|
+
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; }
|
|
24814
24782
|
var SecondParser = /*#__PURE__*/function (_Parser) {
|
|
24815
24783
|
_inherits$5(SecondParser, _Parser);
|
|
24816
24784
|
|
|
@@ -24827,9 +24795,9 @@ var SecondParser = /*#__PURE__*/function (_Parser) {
|
|
|
24827
24795
|
|
|
24828
24796
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24829
24797
|
|
|
24830
|
-
_defineProperty$
|
|
24798
|
+
_defineProperty$7(_assertThisInitialized$7(_this), "priority", 50);
|
|
24831
24799
|
|
|
24832
|
-
_defineProperty$
|
|
24800
|
+
_defineProperty$7(_assertThisInitialized$7(_this), "incompatibleTokens", ['t', 'T']);
|
|
24833
24801
|
|
|
24834
24802
|
return _this;
|
|
24835
24803
|
}
|
|
@@ -24888,7 +24856,7 @@ function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !
|
|
|
24888
24856
|
|
|
24889
24857
|
function _getPrototypeOf$4(o) { _getPrototypeOf$4 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$4(o); }
|
|
24890
24858
|
|
|
24891
|
-
function _defineProperty$
|
|
24859
|
+
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; }
|
|
24892
24860
|
var FractionOfSecondParser = /*#__PURE__*/function (_Parser) {
|
|
24893
24861
|
_inherits$4(FractionOfSecondParser, _Parser);
|
|
24894
24862
|
|
|
@@ -24905,9 +24873,9 @@ var FractionOfSecondParser = /*#__PURE__*/function (_Parser) {
|
|
|
24905
24873
|
|
|
24906
24874
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24907
24875
|
|
|
24908
|
-
_defineProperty$
|
|
24876
|
+
_defineProperty$6(_assertThisInitialized$6(_this), "priority", 30);
|
|
24909
24877
|
|
|
24910
|
-
_defineProperty$
|
|
24878
|
+
_defineProperty$6(_assertThisInitialized$6(_this), "incompatibleTokens", ['t', 'T']);
|
|
24911
24879
|
|
|
24912
24880
|
return _this;
|
|
24913
24881
|
}
|
|
@@ -24954,7 +24922,7 @@ function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !
|
|
|
24954
24922
|
|
|
24955
24923
|
function _getPrototypeOf$3(o) { _getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$3(o); }
|
|
24956
24924
|
|
|
24957
|
-
function _defineProperty$
|
|
24925
|
+
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; }
|
|
24958
24926
|
|
|
24959
24927
|
var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) {
|
|
24960
24928
|
_inherits$3(ISOTimezoneWithZParser, _Parser);
|
|
@@ -24972,9 +24940,9 @@ var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) {
|
|
|
24972
24940
|
|
|
24973
24941
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
24974
24942
|
|
|
24975
|
-
_defineProperty$
|
|
24943
|
+
_defineProperty$5(_assertThisInitialized$5(_this), "priority", 10);
|
|
24976
24944
|
|
|
24977
|
-
_defineProperty$
|
|
24945
|
+
_defineProperty$5(_assertThisInitialized$5(_this), "incompatibleTokens", ['t', 'T', 'x']);
|
|
24978
24946
|
|
|
24979
24947
|
return _this;
|
|
24980
24948
|
}
|
|
@@ -25036,7 +25004,7 @@ function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !
|
|
|
25036
25004
|
|
|
25037
25005
|
function _getPrototypeOf$2(o) { _getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$2(o); }
|
|
25038
25006
|
|
|
25039
|
-
function _defineProperty$
|
|
25007
|
+
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; }
|
|
25040
25008
|
|
|
25041
25009
|
var ISOTimezoneParser = /*#__PURE__*/function (_Parser) {
|
|
25042
25010
|
_inherits$2(ISOTimezoneParser, _Parser);
|
|
@@ -25054,9 +25022,9 @@ var ISOTimezoneParser = /*#__PURE__*/function (_Parser) {
|
|
|
25054
25022
|
|
|
25055
25023
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25056
25024
|
|
|
25057
|
-
_defineProperty$
|
|
25025
|
+
_defineProperty$4(_assertThisInitialized$4(_this), "priority", 10);
|
|
25058
25026
|
|
|
25059
|
-
_defineProperty$
|
|
25027
|
+
_defineProperty$4(_assertThisInitialized$4(_this), "incompatibleTokens", ['t', 'T', 'X']);
|
|
25060
25028
|
|
|
25061
25029
|
return _this;
|
|
25062
25030
|
}
|
|
@@ -25118,7 +25086,7 @@ function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !
|
|
|
25118
25086
|
|
|
25119
25087
|
function _getPrototypeOf$1(o) { _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$1(o); }
|
|
25120
25088
|
|
|
25121
|
-
function _defineProperty$
|
|
25089
|
+
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; }
|
|
25122
25090
|
var TimestampSecondsParser = /*#__PURE__*/function (_Parser) {
|
|
25123
25091
|
_inherits$1(TimestampSecondsParser, _Parser);
|
|
25124
25092
|
|
|
@@ -25135,9 +25103,9 @@ var TimestampSecondsParser = /*#__PURE__*/function (_Parser) {
|
|
|
25135
25103
|
|
|
25136
25104
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25137
25105
|
|
|
25138
|
-
_defineProperty$
|
|
25106
|
+
_defineProperty$3(_assertThisInitialized$3(_this), "priority", 40);
|
|
25139
25107
|
|
|
25140
|
-
_defineProperty$
|
|
25108
|
+
_defineProperty$3(_assertThisInitialized$3(_this), "incompatibleTokens", '*');
|
|
25141
25109
|
|
|
25142
25110
|
return _this;
|
|
25143
25111
|
}
|
|
@@ -25181,7 +25149,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
25181
25149
|
|
|
25182
25150
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25183
25151
|
|
|
25184
|
-
function _defineProperty$
|
|
25152
|
+
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; }
|
|
25185
25153
|
var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {
|
|
25186
25154
|
_inherits(TimestampMillisecondsParser, _Parser);
|
|
25187
25155
|
|
|
@@ -25198,9 +25166,9 @@ var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {
|
|
|
25198
25166
|
|
|
25199
25167
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25200
25168
|
|
|
25201
|
-
_defineProperty$
|
|
25169
|
+
_defineProperty$2(_assertThisInitialized$2(_this), "priority", 20);
|
|
25202
25170
|
|
|
25203
|
-
_defineProperty$
|
|
25171
|
+
_defineProperty$2(_assertThisInitialized$2(_this), "incompatibleTokens", '*');
|
|
25204
25172
|
|
|
25205
25173
|
return _this;
|
|
25206
25174
|
}
|
|
@@ -30411,6 +30379,37 @@ var LinkSection = function LinkSection(_ref) {
|
|
|
30411
30379
|
}, children, linkActionSection);
|
|
30412
30380
|
};
|
|
30413
30381
|
|
|
30382
|
+
function _toPrimitive(input, hint) {
|
|
30383
|
+
if (_typeof$E(input) !== "object" || input === null) return input;
|
|
30384
|
+
var prim = input[Symbol.toPrimitive];
|
|
30385
|
+
if (prim !== undefined) {
|
|
30386
|
+
var res = prim.call(input, hint || "default");
|
|
30387
|
+
if (_typeof$E(res) !== "object") return res;
|
|
30388
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
30389
|
+
}
|
|
30390
|
+
return (hint === "string" ? String : Number)(input);
|
|
30391
|
+
}
|
|
30392
|
+
|
|
30393
|
+
function _toPropertyKey(arg) {
|
|
30394
|
+
var key = _toPrimitive(arg, "string");
|
|
30395
|
+
return _typeof$E(key) === "symbol" ? key : String(key);
|
|
30396
|
+
}
|
|
30397
|
+
|
|
30398
|
+
function _defineProperty$1(obj, key, value) {
|
|
30399
|
+
key = _toPropertyKey(key);
|
|
30400
|
+
if (key in obj) {
|
|
30401
|
+
Object.defineProperty(obj, key, {
|
|
30402
|
+
value: value,
|
|
30403
|
+
enumerable: true,
|
|
30404
|
+
configurable: true,
|
|
30405
|
+
writable: true
|
|
30406
|
+
});
|
|
30407
|
+
} else {
|
|
30408
|
+
obj[key] = value;
|
|
30409
|
+
}
|
|
30410
|
+
return obj;
|
|
30411
|
+
}
|
|
30412
|
+
|
|
30414
30413
|
var Title = function Title(_ref) {
|
|
30415
30414
|
var headerTitle = _ref.headerTitle,
|
|
30416
30415
|
headerIcons = _ref.headerIcons,
|
|
@@ -30439,7 +30438,7 @@ var Title = function Title(_ref) {
|
|
|
30439
30438
|
}));
|
|
30440
30439
|
}
|
|
30441
30440
|
});
|
|
30442
|
-
var titleClassNames = classnames$1(style$4.titleSection, _defineProperty$
|
|
30441
|
+
var titleClassNames = classnames$1(style$4.titleSection, _defineProperty$1({}, style$4.titlePadding, headerIcons && headerIcons.length > 0));
|
|
30443
30442
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
30444
30443
|
className: "".concat(titleClassNames, " ").concat(className)
|
|
30445
30444
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
@@ -32744,55 +32743,30 @@ var Keys = {
|
|
|
32744
32743
|
Enter: 'enter',
|
|
32745
32744
|
Escape: 'escape'
|
|
32746
32745
|
};
|
|
32747
|
-
var
|
|
32748
|
-
var
|
|
32749
|
-
var
|
|
32750
|
-
|
|
32751
|
-
|
|
32752
|
-
|
|
32753
|
-
|
|
32754
|
-
setCurrIndex = _useState2[1];
|
|
32755
|
-
var downHandler = useCallback(function (e) {
|
|
32756
|
-
setCurrIndex(function (c) {
|
|
32757
|
-
return c < listLength - 1 ? c + 1 : listLength - 1;
|
|
32758
|
-
});
|
|
32759
|
-
}, [listLength]);
|
|
32760
|
-
var upHandler = useCallback(function (e) {
|
|
32761
|
-
setCurrIndex(function (c) {
|
|
32762
|
-
return c < 0 ? -1 : c - 1;
|
|
32763
|
-
});
|
|
32764
|
-
}, [listLength]);
|
|
32765
|
-
var enter = useCallback(function () {
|
|
32766
|
-
if (keyboardEvents === null || keyboardEvents === void 0 ? void 0 : keyboardEvents.enter) {
|
|
32767
|
-
if (currIndex === -1) {
|
|
32768
|
-
return;
|
|
32769
|
-
}
|
|
32770
|
-
keyboardEvents.enter(currIndex);
|
|
32746
|
+
var useKeyboardNavigation = function useKeyboardNavigation(keyboardEvents) {
|
|
32747
|
+
var listenerTarget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
|
|
32748
|
+
var handleKeyDown = useCallback(function (e) {
|
|
32749
|
+
var key = Keys[e.key];
|
|
32750
|
+
var handler = keyboardEvents[key];
|
|
32751
|
+
if (handler) {
|
|
32752
|
+
handler(e);
|
|
32771
32753
|
}
|
|
32772
|
-
}, [
|
|
32773
|
-
|
|
32774
|
-
up: upHandler,
|
|
32775
|
-
down: downHandler,
|
|
32776
|
-
enter: enter
|
|
32777
|
-
}, listenerTarget);
|
|
32778
|
-
return currIndex;
|
|
32754
|
+
}, [keyboardEvents]);
|
|
32755
|
+
useEventListener('keydown', handleKeyDown, false, listenerTarget);
|
|
32779
32756
|
};
|
|
32780
32757
|
/**
|
|
32781
|
-
*
|
|
32782
|
-
* 2. user presses a key (usually down) - scroll list to focused element, which should be first item
|
|
32783
|
-
* in the first section. Also set focused section.
|
|
32784
|
-
* 3. Potentially jump to last in list if user goes up?
|
|
32758
|
+
* Handles keyboard navigation and key events in the floating search bar suggestions.
|
|
32785
32759
|
*/
|
|
32786
|
-
var
|
|
32760
|
+
var useSearchBarSectionNavigator = function useSearchBarSectionNavigator(sections, initialSelected, keyboardEvents) {
|
|
32787
32761
|
var listenerTarget = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : document;
|
|
32762
|
+
var _useState = useState(initialSelected),
|
|
32763
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
32764
|
+
focusedSection = _useState2[0],
|
|
32765
|
+
setFocusedSection = _useState2[1];
|
|
32788
32766
|
var _useState3 = useState(initialSelected),
|
|
32789
32767
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
32790
|
-
|
|
32791
|
-
|
|
32792
|
-
var _useState5 = useState(initialSelected),
|
|
32793
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
32794
|
-
focusedOption = _useState6[0],
|
|
32795
|
-
setFocusedOption = _useState6[1];
|
|
32768
|
+
focusedOption = _useState4[0],
|
|
32769
|
+
setFocusedOption = _useState4[1];
|
|
32796
32770
|
var up = useCallback(function () {
|
|
32797
32771
|
var nextSection = focusedSection;
|
|
32798
32772
|
var nextOption = focusedOption;
|
|
@@ -32870,17 +32844,6 @@ var useSectionNavigator = function useSectionNavigator(sections, initialSelected
|
|
|
32870
32844
|
focusedOption: focusedOption
|
|
32871
32845
|
};
|
|
32872
32846
|
};
|
|
32873
|
-
var useKeyboardNavigation = function useKeyboardNavigation(keyboardEvents) {
|
|
32874
|
-
var listenerTarget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
|
|
32875
|
-
var handleKeyDown = useCallback(function (e) {
|
|
32876
|
-
var key = Keys[e.key];
|
|
32877
|
-
var handler = keyboardEvents[key];
|
|
32878
|
-
if (handler) {
|
|
32879
|
-
handler(e);
|
|
32880
|
-
}
|
|
32881
|
-
}, [keyboardEvents]);
|
|
32882
|
-
useEventListener('keydown', handleKeyDown, false, listenerTarget);
|
|
32883
|
-
};
|
|
32884
32847
|
|
|
32885
32848
|
var css_248z$m = ".floatingSearchBar-module_searchbarWrapper__-sSMM{max-width:404px;position:relative}.floatingSearchBar-module_searchbar__0U3fZ div[class^=Input__Container]{background:none;box-shadow:none;height:48px}.floatingSearchBar-module_searchbar__0U3fZ div[class^=Input__Container]:focus-within{outline:none}.floatingSearchBar-module_searchbar__0U3fZ input{background:rgba(0,0,0,.8);border-radius:4px;color:#dee5e7}.floatingSearchBar-module_searchbar__0U3fZ svg{color:#dee5e7}.floatingSearchBar-module_searchbar__0U3fZ input::placeholder{color:#dee5e7}.floatingSearchBar-module_searchbar__0U3fZ input:focus,.floatingSearchBar-module_searchbar__0U3fZ input:hover{background:rgba(0,0,0,.9)}.floatingSearchBar-module_searchbar__0U3fZ button{opacity:.6}.floatingSearchBar-module_searchbar__0U3fZ button:hover{background:transparent;opacity:1}.floatingSearchBar-module_searchbar__0U3fZ button:focus{opacity:1;outline-color:var(--white)}.floatingSearchBar-module_items__oxyVh{background:rgba(0,0,0,.9);border-radius:4px;margin-top:4px;max-height:400px;overflow:auto;padding:8px 0;position:absolute;width:100%}.floatingSearchBar-module_items__oxyVh::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.25);border:2px solid hsla(0,0%,100%,.06)}.floatingSearchBar-module_items__oxyVh::-webkit-scrollbar-track{background:rgba(0,0,0,.9)}.floatingSearchBar-module_groupWrapper__B6-q3{color:var(--white);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem;list-style:none;margin:0;padding:0}.floatingSearchBar-module_groupTitle__3fYBM{border-bottom:1px solid hsla(0,0%,100%,.16);padding:.5rem 1rem}.floatingSearchBar-module_item__nxfxG{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:1rem;padding:1rem 1.25rem}.floatingSearchBar-module_item__nxfxG svg{min-width:24px}.floatingSearchBar-module_loading__lY-99{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:1rem;justify-content:center;padding:1rem 1.25rem}.floatingSearchBar-module_item__nxfxG:hover{background:hsla(0,0%,100%,.16);cursor:pointer}.floatingSearchBar-module_activeItem__IQ7gz{background:hsla(0,0%,100%,.16)}";
|
|
32886
32849
|
var style$2 = {"searchbarWrapper":"floatingSearchBar-module_searchbarWrapper__-sSMM","searchbar":"floatingSearchBar-module_searchbar__0U3fZ","items":"floatingSearchBar-module_items__oxyVh","groupWrapper":"floatingSearchBar-module_groupWrapper__B6-q3","groupTitle":"floatingSearchBar-module_groupTitle__3fYBM","item":"floatingSearchBar-module_item__nxfxG","loading":"floatingSearchBar-module_loading__lY-99","activeItem":"floatingSearchBar-module_activeItem__IQ7gz"};
|
|
@@ -32913,13 +32876,14 @@ var FloatingSearchBar = function FloatingSearchBar(_ref) {
|
|
|
32913
32876
|
setIsOpen(true);
|
|
32914
32877
|
};
|
|
32915
32878
|
var closeMenu = function closeMenu() {
|
|
32916
|
-
if (isOpen)
|
|
32917
|
-
setIsOpen(false);
|
|
32918
|
-
}
|
|
32879
|
+
if (isOpen) setIsOpen(false);
|
|
32919
32880
|
};
|
|
32920
32881
|
EchoUtils.Hooks.useOnOutsideClick(closeMenu, {
|
|
32921
32882
|
refs: [containerRef]
|
|
32922
32883
|
});
|
|
32884
|
+
useKeyboardNavigation({
|
|
32885
|
+
escape: closeMenu
|
|
32886
|
+
});
|
|
32923
32887
|
function onClick(suggestion) {
|
|
32924
32888
|
setValue(suggestion.label);
|
|
32925
32889
|
closeMenu();
|
|
@@ -32929,9 +32893,7 @@ var FloatingSearchBar = function FloatingSearchBar(_ref) {
|
|
|
32929
32893
|
ref: containerRef,
|
|
32930
32894
|
className: style$2.searchbarWrapper,
|
|
32931
32895
|
onFocus: function onFocus() {
|
|
32932
|
-
|
|
32933
|
-
openMenu();
|
|
32934
|
-
}
|
|
32896
|
+
return value && openMenu();
|
|
32935
32897
|
},
|
|
32936
32898
|
autoComplete: 'off',
|
|
32937
32899
|
onSubmit: function onSubmit(e) {
|
|
@@ -32945,14 +32907,12 @@ var FloatingSearchBar = function FloatingSearchBar(_ref) {
|
|
|
32945
32907
|
"aria-haspopup": "true",
|
|
32946
32908
|
className: style$2.searchbar,
|
|
32947
32909
|
onChange: function onChange(e) {
|
|
32910
|
+
//TODO: Prevent up and down arrow keys from moving the cursor back and forth.
|
|
32911
|
+
// It appears EDS swallows the Up and Down arrow events.
|
|
32948
32912
|
var val = e.target.value;
|
|
32949
32913
|
setValue(val);
|
|
32950
32914
|
onSearchQueryChange(val);
|
|
32951
|
-
if (val === '')
|
|
32952
|
-
closeMenu();
|
|
32953
|
-
} else if (!isOpen) {
|
|
32954
|
-
openMenu();
|
|
32955
|
-
}
|
|
32915
|
+
if (val === '') closeMenu();else if (!isOpen) openMenu();
|
|
32956
32916
|
},
|
|
32957
32917
|
value: value
|
|
32958
32918
|
}), isOpen && /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -32975,15 +32935,15 @@ function SearchSuggestions(_ref2) {
|
|
|
32975
32935
|
var suggestionGroups = _ref2.suggestionGroups,
|
|
32976
32936
|
containerRef = _ref2.containerRef,
|
|
32977
32937
|
onClick = _ref2.onClick;
|
|
32978
|
-
var
|
|
32938
|
+
var _useSearchBarSectionN = useSearchBarSectionNavigator(suggestionGroups, 0, {
|
|
32979
32939
|
enter: function enter() {
|
|
32980
32940
|
var section = suggestionGroups[focusedSection];
|
|
32981
32941
|
var option = section.options[focusedOption];
|
|
32982
32942
|
onClick(option);
|
|
32983
32943
|
}
|
|
32984
32944
|
}, containerRef !== null && containerRef !== void 0 ? containerRef : undefined),
|
|
32985
|
-
focusedSection =
|
|
32986
|
-
focusedOption =
|
|
32945
|
+
focusedSection = _useSearchBarSectionN.focusedSection,
|
|
32946
|
+
focusedOption = _useSearchBarSectionN.focusedOption;
|
|
32987
32947
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, suggestionGroups.map(function (suggestionGroup, index) {
|
|
32988
32948
|
return /*#__PURE__*/React__default.createElement(SuggestionGroup, {
|
|
32989
32949
|
suggestionGroup: suggestionGroup,
|
|
@@ -33014,7 +32974,7 @@ function SuggestionGroup(_ref3) {
|
|
|
33014
32974
|
color: 'white'
|
|
33015
32975
|
}
|
|
33016
32976
|
}, suggestionGroup.title)), (_a = suggestionGroup.options) === null || _a === void 0 ? void 0 : _a.map(function (suggestion, index) {
|
|
33017
|
-
var className = classnames$3(style$2.item, _defineProperty$
|
|
32977
|
+
var className = classnames$3(style$2.item, _defineProperty$1({}, style$2.activeItem, index === focusedOption));
|
|
33018
32978
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
33019
32979
|
role: 'option',
|
|
33020
32980
|
id: suggestion.id,
|
|
@@ -33148,8 +33108,8 @@ function MainLegend(_ref) {
|
|
|
33148
33108
|
}).join(' ');
|
|
33149
33109
|
return undefined;
|
|
33150
33110
|
};
|
|
33151
|
-
var accordion = classnames$3((_classnames = {}, _defineProperty$
|
|
33152
|
-
var content = classnames$3((_classnames2 = {}, _defineProperty$
|
|
33111
|
+
var accordion = classnames$3((_classnames = {}, _defineProperty$1(_classnames, styles$i.accordionMobile, isMobile), _defineProperty$1(_classnames, styles$i.accordionDesktop, !isMobile), _classnames));
|
|
33112
|
+
var content = classnames$3((_classnames2 = {}, _defineProperty$1(_classnames2, styles$i.contentMobile, isMobile), _defineProperty$1(_classnames2, styles$i.content, !isMobile), _classnames2));
|
|
33153
33113
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, isOpen && /*#__PURE__*/React__default.createElement("div", {
|
|
33154
33114
|
style: legendContentStyle,
|
|
33155
33115
|
className: content
|
|
@@ -33212,8 +33172,8 @@ function LayerLegend(_ref) {
|
|
|
33212
33172
|
return !isOpen;
|
|
33213
33173
|
});
|
|
33214
33174
|
};
|
|
33215
|
-
var left = classnames$3((_classnames = {}, _defineProperty$
|
|
33216
|
-
var header = classnames$3((_classnames2 = {}, _defineProperty$
|
|
33175
|
+
var left = classnames$3((_classnames = {}, _defineProperty$1(_classnames, styles$h.leftActive, isOpen), _defineProperty$1(_classnames, styles$h.leftInactive, !isOpen), _classnames));
|
|
33176
|
+
var header = classnames$3((_classnames2 = {}, _defineProperty$1(_classnames2, styles$h.mobileHeader, isMobile), _defineProperty$1(_classnames2, styles$h.desktopHeader, !isMobile), _classnames2));
|
|
33217
33177
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
33218
33178
|
style: style,
|
|
33219
33179
|
className: styles$h.layerLegendContainer
|
|
@@ -33245,7 +33205,7 @@ function LayerLegend(_ref) {
|
|
|
33245
33205
|
}, children));
|
|
33246
33206
|
}
|
|
33247
33207
|
|
|
33248
|
-
var css_248z$i = ".listItem-module_flexContainer__coznC{display:flex;flex-flow:row nowrap;justify-content:flex-start}.listItem-module_container__sivKu{align-items:center;box-sizing:border-box;gap:.5rem;
|
|
33208
|
+
var css_248z$i = ".listItem-module_flexContainer__coznC{display:flex;flex-flow:row nowrap;justify-content:flex-start}.listItem-module_container__sivKu{align-items:center;box-sizing:border-box;gap:.5rem;padding:.625rem 1rem}.listItem-module_listItemContainer__MtMLQ{border-bottom:1px solid var(--default)}.listItem-module_hoverItem__bPUhP:first-child{border-top:1px solid var(--default)}.listItem-module_hoverItem__bPUhP:hover{background-color:var(--equiGray5);cursor:pointer}.listItem-module_infoContainer__V0R7i{align-items:center;display:grid;flex-grow:1;gap:.2rem;grid-template-columns:1fr}.listItem-module_icon__lHCt6{align-items:center;border-radius:50%;display:flex;flex-direction:column;justify-content:center;padding:.5rem;width:max-content}";
|
|
33249
33209
|
var styles$g = {"flexContainer":"listItem-module_flexContainer__coznC","container":"listItem-module_container__sivKu listItem-module_flexContainer__coznC","listItemContainer":"listItem-module_listItemContainer__MtMLQ listItem-module_container__sivKu listItem-module_flexContainer__coznC","hoverItem":"listItem-module_hoverItem__bPUhP","infoContainer":"listItem-module_infoContainer__V0R7i","icon":"listItem-module_icon__lHCt6"};
|
|
33250
33210
|
styleInject(css_248z$i);
|
|
33251
33211
|
|
|
@@ -33259,7 +33219,7 @@ function ListItem(props) {
|
|
|
33259
33219
|
var caption = resolvePropToComponent('caption', props.caption);
|
|
33260
33220
|
// Container styling
|
|
33261
33221
|
var Container = (_a = props.as) !== null && _a !== void 0 ? _a : 'li';
|
|
33262
|
-
var containerClassNames = classnames$3(styles$g.listItemContainer, _defineProperty$
|
|
33222
|
+
var containerClassNames = classnames$3(styles$g.listItemContainer, _defineProperty$1({}, styles$g.hoverItem, !!props.onCardClick), props.className);
|
|
33263
33223
|
return /*#__PURE__*/React__default.createElement(Container, {
|
|
33264
33224
|
className: containerClassNames,
|
|
33265
33225
|
style: props.style,
|
|
@@ -33267,8 +33227,7 @@ function ListItem(props) {
|
|
|
33267
33227
|
}, props.listAction, props.visual, props.icon && /*#__PURE__*/React__default.createElement("div", {
|
|
33268
33228
|
className: styles$g.icon,
|
|
33269
33229
|
style: {
|
|
33270
|
-
backgroundColor: props.icon.backgroundColor
|
|
33271
|
-
margin: props.icon.backgroundColor ? '0.5rem 0' : ''
|
|
33230
|
+
backgroundColor: props.icon.backgroundColor
|
|
33272
33231
|
}
|
|
33273
33232
|
}, /*#__PURE__*/React__default.createElement(Icon$1, {
|
|
33274
33233
|
name: props.icon.name,
|
|
@@ -37938,7 +37897,7 @@ var MenuButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
37938
37897
|
type: "button",
|
|
37939
37898
|
onClick: onClick,
|
|
37940
37899
|
id: id,
|
|
37941
|
-
className: classnames$1(styles$b.button, _defineProperty$
|
|
37900
|
+
className: classnames$1(styles$b.button, _defineProperty$1({}, styles$b.active, active))
|
|
37942
37901
|
}), children, /*#__PURE__*/React__default.createElement(Typography, {
|
|
37943
37902
|
className: styles$b.text
|
|
37944
37903
|
}, text));
|
|
@@ -39210,7 +39169,7 @@ var PanelWrapper = function PanelWrapper(_ref) {
|
|
|
39210
39169
|
className: styles$a.buttonWrapper,
|
|
39211
39170
|
ref: desktopWrapperRef
|
|
39212
39171
|
}, 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", {
|
|
39213
|
-
className: classnames$1(styles$a.contentPanel, (_classnames = {}, _defineProperty$
|
|
39172
|
+
className: classnames$1(styles$a.contentPanel, (_classnames = {}, _defineProperty$1(_classnames, styles$a.narrowPanel, panelSize === 'narrow' && activePanel), _defineProperty$1(_classnames, styles$a.activeContentPanel, activePanel), _classnames))
|
|
39214
39173
|
}, getPanelComponentForActivePanel(activePanel)));
|
|
39215
39174
|
};
|
|
39216
39175
|
|
|
@@ -39277,7 +39236,7 @@ var PanelContent = function PanelContent(_ref) {
|
|
|
39277
39236
|
})), /*#__PURE__*/React__default.createElement(Typography, {
|
|
39278
39237
|
group: "heading",
|
|
39279
39238
|
variant: "h2",
|
|
39280
|
-
className: classnames$3((_classnames = {}, _defineProperty$
|
|
39239
|
+
className: classnames$3((_classnames = {}, _defineProperty$1(_classnames, styles$9.narrowPanelTitleWithBackButton, panelSize === 'narrow' && !!backToMainPanel), _defineProperty$1(_classnames, styles$9.narrowPanelTitleWithoutBackButton, panelSize === 'narrow' && !backToMainPanel), _defineProperty$1(_classnames, styles$9.panelTitleWithBackButton, panelSize !== 'narrow' && !!backToMainPanel), _defineProperty$1(_classnames, styles$9.panelTitle, panelSize !== 'narrow' && !backToMainPanel), _classnames))
|
|
39281
39240
|
}, header), /*#__PURE__*/React__default.createElement(Button, {
|
|
39282
39241
|
variant: "ghost_icon",
|
|
39283
39242
|
onClick: function onClick() {
|
|
@@ -39356,7 +39315,7 @@ var SidebarButton = function SidebarButton(_ref) {
|
|
|
39356
39315
|
onClick: onClick,
|
|
39357
39316
|
id: id,
|
|
39358
39317
|
"aria-pressed": active,
|
|
39359
|
-
className: classnames$1(styles$8.button, (_classnames = {}, _defineProperty$
|
|
39318
|
+
className: classnames$1(styles$8.button, (_classnames = {}, _defineProperty$1(_classnames, styles$8.leftBarButton, buttonPosition === 'left'), _defineProperty$1(_classnames, styles$8.rightBarButton, buttonPosition === 'right'), _defineProperty$1(_classnames, styles$8.bottomBarButton, buttonPosition === 'bottom'), _defineProperty$1(_classnames, styles$8.tabButton, buttonPosition === 'tab'), _classnames))
|
|
39360
39319
|
}, children, count && count > 1 && /*#__PURE__*/React__default.createElement("span", {
|
|
39361
39320
|
className: styles$8.tabItemCount
|
|
39362
39321
|
}, count), /*#__PURE__*/React__default.createElement(Typography, {
|
|
@@ -39535,7 +39494,7 @@ function Left(_ref) {
|
|
|
39535
39494
|
_useState2 = _slicedToArray(_useState, 2),
|
|
39536
39495
|
isMinimized = _useState2[0],
|
|
39537
39496
|
setIsMinimized = _useState2[1];
|
|
39538
|
-
var containerClassName = classnames$3(styles$5.left, _defineProperty$
|
|
39497
|
+
var containerClassName = classnames$3(styles$5.left, _defineProperty$1({}, styles$5.collapsedLeft, isMinimized), className);
|
|
39539
39498
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
39540
39499
|
className: containerClassName,
|
|
39541
39500
|
style: style
|
|
@@ -40235,5 +40194,5 @@ var OptionsList = function OptionsList(_ref) {
|
|
|
40235
40194
|
}));
|
|
40236
40195
|
};
|
|
40237
40196
|
|
|
40238
|
-
export { BlackLink, ButtonWithPopover, ContextMenu, CopyToClipboard, DataInfoButton, DialogGenerator, DraggableItemsWrapper, Dropdown, EchoBottomBar, EchoCard, EchoHeader, EchoTooltip, FloatingActionButton, FloatingSearchBar, Icon, IconList, InlineTagIconLink, LayerLegend, LineChart, LinkCard, ListItem, ListRow, MainLegend, MenuButton, OptionsList, Panel, PanelContent, PanelContentWrapper, PanelWrapper, RadioButtonGroup, ReactDatePicker, RoundIconButton, RoundIconButtonVariants, SideSheet, SideSheetOrientation, SidebarButton, SliderField, SplitView, TagCategoryIcon, TagCategoryType, TagContextMenu, TagIcon, TagIconShadowWrapper, TextIconButton, TimePicker, WorkOrderListItem, classnames$3 as classnames, echoIcons, getIcon, map_legend_info, notifications_m1, notifications_m2, notifications_m3, notifications_m4, notifications_m5, notifications_m6, notifications_m9, notifications_main_group, punches_main_group, punches_pa, punches_pb, robim_external_ald, robim_external_iwit, robim_external_methane_sensor, robim_external_satellite, robim_external_timp, robim_external_timp_text, themeConst, useIsMobile, useKeyboardNavigation,
|
|
40197
|
+
export { BlackLink, ButtonWithPopover, ContextMenu, CopyToClipboard, DataInfoButton, DialogGenerator, DraggableItemsWrapper, Dropdown, EchoBottomBar, EchoCard, EchoHeader, EchoTooltip, FloatingActionButton, FloatingSearchBar, Icon, IconList, InlineTagIconLink, LayerLegend, LineChart, LinkCard, ListItem, ListRow, MainLegend, MenuButton, OptionsList, Panel, PanelContent, PanelContentWrapper, PanelWrapper, RadioButtonGroup, ReactDatePicker, RoundIconButton, RoundIconButtonVariants, SideSheet, SideSheetOrientation, SidebarButton, SliderField, SplitView, SuggestionGroup, TagCategoryIcon, TagCategoryType, TagContextMenu, TagIcon, TagIconShadowWrapper, TextIconButton, TimePicker, WorkOrderListItem, classnames$3 as classnames, echoIcons, getIcon, map_legend_info, notifications_m1, notifications_m2, notifications_m3, notifications_m4, notifications_m5, notifications_m6, notifications_m9, notifications_main_group, punches_main_group, punches_pa, punches_pb, robim_external_ald, robim_external_iwit, robim_external_methane_sensor, robim_external_satellite, robim_external_timp, robim_external_timp_text, themeConst, useIsMobile, useKeyboardNavigation, usePanelStore, useSearchBarSectionNavigator, workorders_main_group, workorders_pm01, workorders_pm02, workorders_pm03, workorders_pm04, workorders_pm05, workorders_pm06, workorders_pm10, workorders_pm15, workorders_pm20 };
|
|
40239
40198
|
//# sourceMappingURL=index.js.map
|