@darajs/components 1.2.2 → 1.2.4
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/common/input/input.d.ts.map +1 -1
- package/dist/common/input/input.js +15 -3
- package/dist/common/input/input.js.map +1 -1
- package/dist/common/label/label.js +1 -1
- package/dist/common/label/label.js.map +1 -1
- package/dist/common/paragraph/paragraph.js +1 -1
- package/dist/common/paragraph/paragraph.js.map +1 -1
- package/dist/common/radio-group/radio-group.js +2 -1
- package/dist/common/radio-group/radio-group.js.map +1 -1
- package/dist/common/table/table.d.ts.map +1 -1
- package/dist/common/table/table.js +1 -0
- package/dist/common/table/table.js.map +1 -1
- package/dist/common/text/text.js +2 -2
- package/dist/common/text/text.js.map +1 -1
- package/dist/dara_components-1.2.4-py3-none-any.whl +0 -0
- package/dist/plotting/plotly/plotly.d.ts.map +1 -1
- package/dist/plotting/plotly/plotly.js +3 -2
- package/dist/plotting/plotly/plotly.js.map +1 -1
- package/dist/umd/dara.components.umd.js +513 -802
- package/package.json +13 -13
- package/dist/dara_components-1.2.2-py3-none-any.whl +0 -0
|
@@ -212,18 +212,18 @@
|
|
|
212
212
|
}
|
|
213
213
|
})(jsxRuntime);
|
|
214
214
|
var Collapse$2 = {};
|
|
215
|
-
function _typeof$
|
|
215
|
+
function _typeof$9(obj) {
|
|
216
216
|
"@babel/helpers - typeof";
|
|
217
217
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
218
|
-
_typeof$
|
|
218
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
219
219
|
return typeof obj2;
|
|
220
220
|
};
|
|
221
221
|
} else {
|
|
222
|
-
_typeof$
|
|
222
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
223
223
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
return _typeof$
|
|
226
|
+
return _typeof$9(obj);
|
|
227
227
|
}
|
|
228
228
|
Object.defineProperty(Collapse$2, "__esModule", {
|
|
229
229
|
value: true
|
|
@@ -283,10 +283,10 @@
|
|
|
283
283
|
return _possibleConstructorReturn$3(this, result);
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
-
function _possibleConstructorReturn$3(self2,
|
|
287
|
-
if (
|
|
288
|
-
return
|
|
289
|
-
} else if (
|
|
286
|
+
function _possibleConstructorReturn$3(self2, call2) {
|
|
287
|
+
if (call2 && (_typeof$9(call2) === "object" || typeof call2 === "function")) {
|
|
288
|
+
return call2;
|
|
289
|
+
} else if (call2 !== void 0) {
|
|
290
290
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
291
291
|
}
|
|
292
292
|
return _assertThisInitialized$5(self2);
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
};
|
|
319
319
|
return _getPrototypeOf$4(o2);
|
|
320
320
|
}
|
|
321
|
-
function _defineProperty$
|
|
321
|
+
function _defineProperty$s(obj, key, value) {
|
|
322
322
|
if (key in obj) {
|
|
323
323
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
324
324
|
} else {
|
|
@@ -333,10 +333,10 @@
|
|
|
333
333
|
var _this;
|
|
334
334
|
_classCallCheck$j(this, Collapse2);
|
|
335
335
|
_this = _super.call(this, props);
|
|
336
|
-
_defineProperty$
|
|
337
|
-
_defineProperty$
|
|
338
|
-
_defineProperty$
|
|
339
|
-
_defineProperty$
|
|
336
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "timeout", void 0);
|
|
337
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "container", void 0);
|
|
338
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "content", void 0);
|
|
339
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onResize", function() {
|
|
340
340
|
clearTimeout(_this.timeout);
|
|
341
341
|
if (!_this.container || !_this.content) {
|
|
342
342
|
return;
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
}, checkTimeout);
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
|
-
_defineProperty$
|
|
370
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onRest", function(_ref2) {
|
|
371
371
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
372
372
|
if (!_this.container || !_this.content) {
|
|
373
373
|
return;
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
|
-
_defineProperty$
|
|
392
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onWork", function(_ref2) {
|
|
393
393
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
394
394
|
if (!_this.container || !_this.content) {
|
|
395
395
|
return;
|
|
@@ -412,10 +412,10 @@
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
|
-
_defineProperty$
|
|
415
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onRefContainer", function(container) {
|
|
416
416
|
_this.container = container;
|
|
417
417
|
});
|
|
418
|
-
_defineProperty$
|
|
418
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onRefContent", function(content2) {
|
|
419
419
|
_this.content = content2;
|
|
420
420
|
});
|
|
421
421
|
if (props.initialStyle) {
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
return Collapse2;
|
|
485
485
|
}(_react$1["default"].Component);
|
|
486
486
|
Collapse$2.Collapse = Collapse$1;
|
|
487
|
-
_defineProperty$
|
|
487
|
+
_defineProperty$s(Collapse$1, "defaultProps", {
|
|
488
488
|
theme: {
|
|
489
489
|
collapse: "ReactCollapse--collapse",
|
|
490
490
|
content: "ReactCollapse--content"
|
|
@@ -495,18 +495,18 @@
|
|
|
495
495
|
checkTimeout: 50
|
|
496
496
|
});
|
|
497
497
|
var UnmountClosed$2 = {};
|
|
498
|
-
function _typeof$
|
|
498
|
+
function _typeof$8(obj) {
|
|
499
499
|
"@babel/helpers - typeof";
|
|
500
500
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
501
|
-
_typeof$
|
|
501
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
502
502
|
return typeof obj2;
|
|
503
503
|
};
|
|
504
504
|
} else {
|
|
505
|
-
_typeof$
|
|
505
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
506
506
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
return _typeof$
|
|
509
|
+
return _typeof$8(obj);
|
|
510
510
|
}
|
|
511
511
|
Object.defineProperty(UnmountClosed$2, "__esModule", {
|
|
512
512
|
value: true
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
};
|
|
533
533
|
return _extends$4.apply(this, arguments);
|
|
534
534
|
}
|
|
535
|
-
function ownKeys$
|
|
535
|
+
function ownKeys$9(object2, enumerableOnly) {
|
|
536
536
|
var keys2 = Object.keys(object2);
|
|
537
537
|
if (Object.getOwnPropertySymbols) {
|
|
538
538
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -549,23 +549,23 @@
|
|
|
549
549
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
550
550
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
551
551
|
if (i2 % 2) {
|
|
552
|
-
ownKeys$
|
|
553
|
-
_defineProperty$
|
|
552
|
+
ownKeys$9(Object(source), true).forEach(function(key) {
|
|
553
|
+
_defineProperty$r(target, key, source[key]);
|
|
554
554
|
});
|
|
555
555
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
556
556
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
557
557
|
} else {
|
|
558
|
-
ownKeys$
|
|
558
|
+
ownKeys$9(Object(source)).forEach(function(key) {
|
|
559
559
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
560
560
|
});
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
return target;
|
|
564
564
|
}
|
|
565
|
-
function _objectWithoutProperties$
|
|
565
|
+
function _objectWithoutProperties$3(source, excluded) {
|
|
566
566
|
if (source == null)
|
|
567
567
|
return {};
|
|
568
|
-
var target = _objectWithoutPropertiesLoose$
|
|
568
|
+
var target = _objectWithoutPropertiesLoose$6(source, excluded);
|
|
569
569
|
var key, i2;
|
|
570
570
|
if (Object.getOwnPropertySymbols) {
|
|
571
571
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
}
|
|
581
581
|
return target;
|
|
582
582
|
}
|
|
583
|
-
function _objectWithoutPropertiesLoose$
|
|
583
|
+
function _objectWithoutPropertiesLoose$6(source, excluded) {
|
|
584
584
|
if (source == null)
|
|
585
585
|
return {};
|
|
586
586
|
var target = {};
|
|
@@ -644,10 +644,10 @@
|
|
|
644
644
|
return _possibleConstructorReturn$2(this, result);
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
|
-
function _possibleConstructorReturn$2(self2,
|
|
648
|
-
if (
|
|
649
|
-
return
|
|
650
|
-
} else if (
|
|
647
|
+
function _possibleConstructorReturn$2(self2, call2) {
|
|
648
|
+
if (call2 && (_typeof$8(call2) === "object" || typeof call2 === "function")) {
|
|
649
|
+
return call2;
|
|
650
|
+
} else if (call2 !== void 0) {
|
|
651
651
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
652
652
|
}
|
|
653
653
|
return _assertThisInitialized$4(self2);
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
};
|
|
680
680
|
return _getPrototypeOf$3(o2);
|
|
681
681
|
}
|
|
682
|
-
function _defineProperty$
|
|
682
|
+
function _defineProperty$r(obj, key, value) {
|
|
683
683
|
if (key in obj) {
|
|
684
684
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
685
685
|
} else {
|
|
@@ -694,8 +694,8 @@
|
|
|
694
694
|
var _this;
|
|
695
695
|
_classCallCheck$i(this, UnmountClosed2);
|
|
696
696
|
_this = _super.call(this, props);
|
|
697
|
-
_defineProperty$
|
|
698
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
697
|
+
_defineProperty$r(_assertThisInitialized$4(_this), "onWork", function(_ref2) {
|
|
698
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded$6);
|
|
699
699
|
_this.setState({
|
|
700
700
|
isResting: false,
|
|
701
701
|
isOpened
|
|
@@ -707,8 +707,8 @@
|
|
|
707
707
|
}, rest));
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
_defineProperty$
|
|
711
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
710
|
+
_defineProperty$r(_assertThisInitialized$4(_this), "onRest", function(_ref2) {
|
|
711
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded2$3);
|
|
712
712
|
_this.setState({
|
|
713
713
|
isResting: true,
|
|
714
714
|
isOpened,
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
}, rest));
|
|
722
722
|
}
|
|
723
723
|
});
|
|
724
|
-
_defineProperty$
|
|
724
|
+
_defineProperty$r(_assertThisInitialized$4(_this), "getInitialStyle", function() {
|
|
725
725
|
var _this$state = _this.state, isOpened = _this$state.isOpened, isInitialRender = _this$state.isInitialRender;
|
|
726
726
|
if (isInitialRender) {
|
|
727
727
|
return isOpened ? {
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
return UnmountClosed2;
|
|
771
771
|
}(_react["default"].PureComponent);
|
|
772
772
|
UnmountClosed$2.UnmountClosed = UnmountClosed$1;
|
|
773
|
-
_defineProperty$
|
|
773
|
+
_defineProperty$r(UnmountClosed$1, "defaultProps", {
|
|
774
774
|
onWork: void 0,
|
|
775
775
|
onRest: void 0
|
|
776
776
|
});
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
iconName: "check",
|
|
923
923
|
icon: [448, 512, [10003, 10004], "f00c", "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]
|
|
924
924
|
};
|
|
925
|
-
function ownKeys$
|
|
925
|
+
function ownKeys$8(object2, enumerableOnly) {
|
|
926
926
|
var keys2 = Object.keys(object2);
|
|
927
927
|
if (Object.getOwnPropertySymbols) {
|
|
928
928
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -932,24 +932,24 @@
|
|
|
932
932
|
}
|
|
933
933
|
return keys2;
|
|
934
934
|
}
|
|
935
|
-
function _objectSpread2$
|
|
935
|
+
function _objectSpread2$2(target) {
|
|
936
936
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
937
937
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
938
|
-
i2 % 2 ? ownKeys$
|
|
939
|
-
_defineProperty$
|
|
940
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
938
|
+
i2 % 2 ? ownKeys$8(Object(source), true).forEach(function(key) {
|
|
939
|
+
_defineProperty$q(target, key, source[key]);
|
|
940
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function(key) {
|
|
941
941
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
942
942
|
});
|
|
943
943
|
}
|
|
944
944
|
return target;
|
|
945
945
|
}
|
|
946
|
-
function _typeof$
|
|
946
|
+
function _typeof$7(obj) {
|
|
947
947
|
"@babel/helpers - typeof";
|
|
948
|
-
return _typeof$
|
|
948
|
+
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
949
949
|
return typeof obj2;
|
|
950
950
|
} : function(obj2) {
|
|
951
951
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
952
|
-
}, _typeof$
|
|
952
|
+
}, _typeof$7(obj);
|
|
953
953
|
}
|
|
954
954
|
function _classCallCheck$h(instance2, Constructor) {
|
|
955
955
|
if (!(instance2 instanceof Constructor)) {
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
});
|
|
977
977
|
return Constructor;
|
|
978
978
|
}
|
|
979
|
-
function _defineProperty$
|
|
979
|
+
function _defineProperty$q(obj, key, value) {
|
|
980
980
|
if (key in obj) {
|
|
981
981
|
Object.defineProperty(obj, key, {
|
|
982
982
|
value,
|
|
@@ -990,20 +990,20 @@
|
|
|
990
990
|
return obj;
|
|
991
991
|
}
|
|
992
992
|
function _slicedToArray$a(arr, i2) {
|
|
993
|
-
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$
|
|
993
|
+
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$b(arr, i2) || _nonIterableRest$a();
|
|
994
994
|
}
|
|
995
|
-
function _toConsumableArray$
|
|
996
|
-
return _arrayWithoutHoles$
|
|
995
|
+
function _toConsumableArray$4(arr) {
|
|
996
|
+
return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$b(arr) || _nonIterableSpread$4();
|
|
997
997
|
}
|
|
998
|
-
function _arrayWithoutHoles$
|
|
998
|
+
function _arrayWithoutHoles$4(arr) {
|
|
999
999
|
if (Array.isArray(arr))
|
|
1000
|
-
return _arrayLikeToArray$
|
|
1000
|
+
return _arrayLikeToArray$b(arr);
|
|
1001
1001
|
}
|
|
1002
1002
|
function _arrayWithHoles$a(arr) {
|
|
1003
1003
|
if (Array.isArray(arr))
|
|
1004
1004
|
return arr;
|
|
1005
1005
|
}
|
|
1006
|
-
function _iterableToArray$
|
|
1006
|
+
function _iterableToArray$4(iter2) {
|
|
1007
1007
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
1008
1008
|
return Array.from(iter2);
|
|
1009
1009
|
}
|
|
@@ -1035,27 +1035,27 @@
|
|
|
1035
1035
|
}
|
|
1036
1036
|
return _arr;
|
|
1037
1037
|
}
|
|
1038
|
-
function _unsupportedIterableToArray$
|
|
1038
|
+
function _unsupportedIterableToArray$b(o2, minLen) {
|
|
1039
1039
|
if (!o2)
|
|
1040
1040
|
return;
|
|
1041
1041
|
if (typeof o2 === "string")
|
|
1042
|
-
return _arrayLikeToArray$
|
|
1042
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1043
1043
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
1044
1044
|
if (n2 === "Object" && o2.constructor)
|
|
1045
1045
|
n2 = o2.constructor.name;
|
|
1046
1046
|
if (n2 === "Map" || n2 === "Set")
|
|
1047
1047
|
return Array.from(o2);
|
|
1048
1048
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
1049
|
-
return _arrayLikeToArray$
|
|
1049
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1050
1050
|
}
|
|
1051
|
-
function _arrayLikeToArray$
|
|
1051
|
+
function _arrayLikeToArray$b(arr, len) {
|
|
1052
1052
|
if (len == null || len > arr.length)
|
|
1053
1053
|
len = arr.length;
|
|
1054
1054
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
1055
1055
|
arr2[i2] = arr[i2];
|
|
1056
1056
|
return arr2;
|
|
1057
1057
|
}
|
|
1058
|
-
function _nonIterableSpread$
|
|
1058
|
+
function _nonIterableSpread$4() {
|
|
1059
1059
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1060
1060
|
}
|
|
1061
1061
|
function _nonIterableRest$a() {
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
var HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
|
|
1103
1103
|
var MUTATION_APPROACH_ASYNC = "async";
|
|
1104
1104
|
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
|
|
1105
|
-
var PRODUCTION$
|
|
1105
|
+
var PRODUCTION$1 = function() {
|
|
1106
1106
|
try {
|
|
1107
1107
|
return true;
|
|
1108
1108
|
} catch (e3) {
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
}
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
|
-
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$
|
|
1122
|
+
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$q(_familyProxy, FAMILY_CLASSIC, {
|
|
1123
1123
|
"fa": "solid",
|
|
1124
1124
|
"fas": "solid",
|
|
1125
1125
|
"fa-solid": "solid",
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
"fa-brands": "brands",
|
|
1136
1136
|
"fak": "kit",
|
|
1137
1137
|
"fa-kit": "kit"
|
|
1138
|
-
}), _defineProperty$
|
|
1138
|
+
}), _defineProperty$q(_familyProxy, FAMILY_SHARP, {
|
|
1139
1139
|
"fa": "solid",
|
|
1140
1140
|
"fass": "solid",
|
|
1141
1141
|
"fa-solid": "solid",
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
"fasl": "light",
|
|
1145
1145
|
"fa-light": "light"
|
|
1146
1146
|
}), _familyProxy));
|
|
1147
|
-
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$
|
|
1147
|
+
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$q(_familyProxy2, FAMILY_CLASSIC, {
|
|
1148
1148
|
"solid": "fas",
|
|
1149
1149
|
"regular": "far",
|
|
1150
1150
|
"light": "fal",
|
|
@@ -1152,12 +1152,12 @@
|
|
|
1152
1152
|
"duotone": "fad",
|
|
1153
1153
|
"brands": "fab",
|
|
1154
1154
|
"kit": "fak"
|
|
1155
|
-
}), _defineProperty$
|
|
1155
|
+
}), _defineProperty$q(_familyProxy2, FAMILY_SHARP, {
|
|
1156
1156
|
"solid": "fass",
|
|
1157
1157
|
"regular": "fasr",
|
|
1158
1158
|
"light": "fasl"
|
|
1159
1159
|
}), _familyProxy2));
|
|
1160
|
-
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$
|
|
1160
|
+
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$q(_familyProxy3, FAMILY_CLASSIC, {
|
|
1161
1161
|
"fab": "fa-brands",
|
|
1162
1162
|
"fad": "fa-duotone",
|
|
1163
1163
|
"fak": "fa-kit",
|
|
@@ -1165,12 +1165,12 @@
|
|
|
1165
1165
|
"far": "fa-regular",
|
|
1166
1166
|
"fas": "fa-solid",
|
|
1167
1167
|
"fat": "fa-thin"
|
|
1168
|
-
}), _defineProperty$
|
|
1168
|
+
}), _defineProperty$q(_familyProxy3, FAMILY_SHARP, {
|
|
1169
1169
|
"fass": "fa-solid",
|
|
1170
1170
|
"fasr": "fa-regular",
|
|
1171
1171
|
"fasl": "fa-light"
|
|
1172
1172
|
}), _familyProxy3));
|
|
1173
|
-
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$
|
|
1173
|
+
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$q(_familyProxy4, FAMILY_CLASSIC, {
|
|
1174
1174
|
"fa-brands": "fab",
|
|
1175
1175
|
"fa-duotone": "fad",
|
|
1176
1176
|
"fa-kit": "fak",
|
|
@@ -1178,7 +1178,7 @@
|
|
|
1178
1178
|
"fa-regular": "far",
|
|
1179
1179
|
"fa-solid": "fas",
|
|
1180
1180
|
"fa-thin": "fat"
|
|
1181
|
-
}), _defineProperty$
|
|
1181
|
+
}), _defineProperty$q(_familyProxy4, FAMILY_SHARP, {
|
|
1182
1182
|
"fa-solid": "fass",
|
|
1183
1183
|
"fa-regular": "fasr",
|
|
1184
1184
|
"fa-light": "fasl"
|
|
@@ -1186,13 +1186,13 @@
|
|
|
1186
1186
|
var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/;
|
|
1187
1187
|
var LAYERS_TEXT_CLASSNAME = "fa-layers-text";
|
|
1188
1188
|
var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i;
|
|
1189
|
-
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$
|
|
1189
|
+
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$q(_familyProxy5, FAMILY_CLASSIC, {
|
|
1190
1190
|
"900": "fas",
|
|
1191
1191
|
"400": "far",
|
|
1192
1192
|
"normal": "far",
|
|
1193
1193
|
"300": "fal",
|
|
1194
1194
|
"100": "fat"
|
|
1195
|
-
}), _defineProperty$
|
|
1195
|
+
}), _defineProperty$q(_familyProxy5, FAMILY_SHARP, {
|
|
1196
1196
|
"900": "fass",
|
|
1197
1197
|
"400": "fasr",
|
|
1198
1198
|
"300": "fasl"
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
var prefixes = /* @__PURE__ */ new Set();
|
|
1210
1210
|
Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
|
|
1211
1211
|
Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
|
|
1212
|
-
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$
|
|
1212
|
+
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$4(prefixes), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", DUOTONE_CLASSES.GROUP, DUOTONE_CLASSES.SWAP_OPACITY, DUOTONE_CLASSES.PRIMARY, DUOTONE_CLASSES.SECONDARY]).concat(oneToTen.map(function(n2) {
|
|
1213
1213
|
return "".concat(n2, "x");
|
|
1214
1214
|
})).concat(oneToTwenty.map(function(n2) {
|
|
1215
1215
|
return "w-".concat(n2);
|
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
if (initial.familyPrefix) {
|
|
1259
1259
|
initial.cssPrefix = initial.familyPrefix;
|
|
1260
1260
|
}
|
|
1261
|
-
var _config = _objectSpread2$
|
|
1261
|
+
var _config = _objectSpread2$2(_objectSpread2$2({}, _default$2), initial);
|
|
1262
1262
|
if (!_config.autoReplaceSvg)
|
|
1263
1263
|
_config.observeMutations = false;
|
|
1264
1264
|
var config$1 = {};
|
|
@@ -1562,7 +1562,7 @@
|
|
|
1562
1562
|
if (typeof namespace$1.hooks.addPack === "function" && !skipHooks) {
|
|
1563
1563
|
namespace$1.hooks.addPack(prefix, normalizeIcons(icons));
|
|
1564
1564
|
} else {
|
|
1565
|
-
namespace$1.styles[prefix] = _objectSpread2$
|
|
1565
|
+
namespace$1.styles[prefix] = _objectSpread2$2(_objectSpread2$2({}, namespace$1.styles[prefix] || {}), normalized);
|
|
1566
1566
|
}
|
|
1567
1567
|
if (prefix === "fas") {
|
|
1568
1568
|
defineIcons("fa", icons);
|
|
@@ -1570,14 +1570,14 @@
|
|
|
1570
1570
|
}
|
|
1571
1571
|
var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
|
|
1572
1572
|
var styles = namespace$1.styles, shims = namespace$1.shims;
|
|
1573
|
-
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$
|
|
1573
|
+
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$q(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_LONG_STYLE, FAMILY_SHARP, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _LONG_STYLE);
|
|
1574
1574
|
var _defaultUsablePrefix = null;
|
|
1575
1575
|
var _byUnicode = {};
|
|
1576
1576
|
var _byLigature = {};
|
|
1577
1577
|
var _byOldName = {};
|
|
1578
1578
|
var _byOldUnicode = {};
|
|
1579
1579
|
var _byAlias = {};
|
|
1580
|
-
var PREFIXES = (_PREFIXES = {}, _defineProperty$
|
|
1580
|
+
var PREFIXES = (_PREFIXES = {}, _defineProperty$q(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES, FAMILY_SHARP, Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP])), _PREFIXES);
|
|
1581
1581
|
function isReserved(name2) {
|
|
1582
1582
|
return ~RESERVED_CLASSES.indexOf(name2);
|
|
1583
1583
|
}
|
|
@@ -1713,12 +1713,12 @@
|
|
|
1713
1713
|
var defined = styleOrPrefix in namespace$1.styles ? styleOrPrefix : null;
|
|
1714
1714
|
return prefix || defined || null;
|
|
1715
1715
|
}
|
|
1716
|
-
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$
|
|
1716
|
+
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_SHARP, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _PREFIXES_FOR_FAMILY);
|
|
1717
1717
|
function getCanonicalIcon(values) {
|
|
1718
1718
|
var _famProps;
|
|
1719
1719
|
var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1720
1720
|
var _params$skipLookups = params.skipLookups, skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
|
|
1721
|
-
var famProps = (_famProps = {}, _defineProperty$
|
|
1721
|
+
var famProps = (_famProps = {}, _defineProperty$q(_famProps, FAMILY_CLASSIC, "".concat(config$1.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty$q(_famProps, FAMILY_SHARP, "".concat(config$1.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
|
|
1722
1722
|
var givenPrefix = null;
|
|
1723
1723
|
var family = FAMILY_CLASSIC;
|
|
1724
1724
|
if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function(v2) {
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
}
|
|
1791
1791
|
var additions = definitions2.reduce(this._pullDefinitions, {});
|
|
1792
1792
|
Object.keys(additions).forEach(function(key) {
|
|
1793
|
-
_this.definitions[key] = _objectSpread2$
|
|
1793
|
+
_this.definitions[key] = _objectSpread2$2(_objectSpread2$2({}, _this.definitions[key] || {}), additions[key]);
|
|
1794
1794
|
defineIcons(key, additions[key]);
|
|
1795
1795
|
var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
|
|
1796
1796
|
if (longPrefix)
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
if (typeof mixout[tk] === "function") {
|
|
1848
1848
|
obj[tk] = mixout[tk];
|
|
1849
1849
|
}
|
|
1850
|
-
if (_typeof$
|
|
1850
|
+
if (_typeof$7(mixout[tk]) === "object") {
|
|
1851
1851
|
Object.keys(mixout[tk]).forEach(function(sk) {
|
|
1852
1852
|
if (!obj[tk]) {
|
|
1853
1853
|
obj[tk] = {};
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
if (_icon === null) {
|
|
1945
1945
|
return null;
|
|
1946
1946
|
}
|
|
1947
|
-
if (_typeof$
|
|
1947
|
+
if (_typeof$7(_icon) === "object" && _icon.prefix && _icon.iconName) {
|
|
1948
1948
|
return {
|
|
1949
1949
|
prefix: _icon.prefix,
|
|
1950
1950
|
iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
|
|
@@ -2023,7 +2023,7 @@
|
|
|
2023
2023
|
x: width / height / 2,
|
|
2024
2024
|
y: 0.5
|
|
2025
2025
|
};
|
|
2026
|
-
attributes2["style"] = joinStyles(_objectSpread2$
|
|
2026
|
+
attributes2["style"] = joinStyles(_objectSpread2$2(_objectSpread2$2({}, styles2), {}, {
|
|
2027
2027
|
"transform-origin": "".concat(offset2.x + transform.x / 16, "em ").concat(offset2.y + transform.y / 16, "em")
|
|
2028
2028
|
}));
|
|
2029
2029
|
}
|
|
@@ -2043,7 +2043,7 @@
|
|
|
2043
2043
|
},
|
|
2044
2044
|
children: [{
|
|
2045
2045
|
tag: "symbol",
|
|
2046
|
-
attributes: _objectSpread2$
|
|
2046
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, attributes2), {}, {
|
|
2047
2047
|
id: id2
|
|
2048
2048
|
}),
|
|
2049
2049
|
children: children2
|
|
@@ -2061,7 +2061,7 @@
|
|
|
2061
2061
|
}).concat(extra.classes).join(" ");
|
|
2062
2062
|
var content2 = {
|
|
2063
2063
|
children: [],
|
|
2064
|
-
attributes: _objectSpread2$
|
|
2064
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, extra.attributes), {}, {
|
|
2065
2065
|
"data-prefix": prefix,
|
|
2066
2066
|
"data-icon": iconName,
|
|
2067
2067
|
"class": attrClass,
|
|
@@ -2086,7 +2086,7 @@
|
|
|
2086
2086
|
});
|
|
2087
2087
|
delete content2.attributes.title;
|
|
2088
2088
|
}
|
|
2089
|
-
var args = _objectSpread2$
|
|
2089
|
+
var args = _objectSpread2$2(_objectSpread2$2({}, content2), {}, {
|
|
2090
2090
|
prefix,
|
|
2091
2091
|
iconName,
|
|
2092
2092
|
main: main2,
|
|
@@ -2094,7 +2094,7 @@
|
|
|
2094
2094
|
maskId,
|
|
2095
2095
|
transform,
|
|
2096
2096
|
symbol,
|
|
2097
|
-
styles: _objectSpread2$
|
|
2097
|
+
styles: _objectSpread2$2(_objectSpread2$2({}, uploadedIconWidthStyle), extra.styles)
|
|
2098
2098
|
});
|
|
2099
2099
|
var _ref22 = mask.found && main2.found ? callProvided("generateAbstractMask", args) || {
|
|
2100
2100
|
children: [],
|
|
@@ -2113,7 +2113,7 @@
|
|
|
2113
2113
|
}
|
|
2114
2114
|
function makeLayersTextAbstract(params) {
|
|
2115
2115
|
var content2 = params.content, width = params.width, height = params.height, transform = params.transform, title = params.title, extra = params.extra, _params$watchable2 = params.watchable, watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
|
|
2116
|
-
var attributes2 = _objectSpread2$
|
|
2116
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2117
2117
|
"title": title
|
|
2118
2118
|
} : {}), {}, {
|
|
2119
2119
|
"class": extra.classes.join(" ")
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
if (watchable) {
|
|
2122
2122
|
attributes2[DATA_FA_I2SVG] = "";
|
|
2123
2123
|
}
|
|
2124
|
-
var styles2 = _objectSpread2$
|
|
2124
|
+
var styles2 = _objectSpread2$2({}, extra.styles);
|
|
2125
2125
|
if (transformIsMeaningful(transform)) {
|
|
2126
2126
|
styles2["transform"] = transformForCss({
|
|
2127
2127
|
transform,
|
|
@@ -2154,7 +2154,7 @@
|
|
|
2154
2154
|
}
|
|
2155
2155
|
function makeLayersCounterAbstract(params) {
|
|
2156
2156
|
var content2 = params.content, title = params.title, extra = params.extra;
|
|
2157
|
-
var attributes2 = _objectSpread2$
|
|
2157
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2158
2158
|
"title": title
|
|
2159
2159
|
} : {}), {}, {
|
|
2160
2160
|
"class": extra.classes.join(" ")
|
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
height: 512
|
|
2231
2231
|
};
|
|
2232
2232
|
function maybeNotifyMissing(iconName, prefix) {
|
|
2233
|
-
if (!PRODUCTION$
|
|
2233
|
+
if (!PRODUCTION$1 && !config$1.showMissingIcons && iconName) {
|
|
2234
2234
|
console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix, '" is missing.'));
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
@@ -2256,7 +2256,7 @@
|
|
|
2256
2256
|
return resolve2(asFoundIcon(icon2));
|
|
2257
2257
|
}
|
|
2258
2258
|
maybeNotifyMissing(iconName, prefix);
|
|
2259
|
-
resolve2(_objectSpread2$
|
|
2259
|
+
resolve2(_objectSpread2$2(_objectSpread2$2({}, missingIconResolutionMixin), {}, {
|
|
2260
2260
|
icon: config$1.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
|
|
2261
2261
|
}));
|
|
2262
2262
|
});
|
|
@@ -2545,7 +2545,7 @@
|
|
|
2545
2545
|
var extraAttributes = attributesParser(node2);
|
|
2546
2546
|
var pluginMeta = chainHooks("parseNodeAttributes", {}, node2);
|
|
2547
2547
|
var extraStyles = parser2.styleParser ? styleParser(node2) : [];
|
|
2548
|
-
return _objectSpread2$
|
|
2548
|
+
return _objectSpread2$2({
|
|
2549
2549
|
iconName,
|
|
2550
2550
|
title: node2.getAttribute("title"),
|
|
2551
2551
|
titleId: node2.getAttribute("data-fa-title-id"),
|
|
@@ -2582,7 +2582,7 @@
|
|
|
2582
2582
|
});
|
|
2583
2583
|
Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2584
2584
|
Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2585
|
-
knownPrefixes = _toConsumableArray$
|
|
2585
|
+
knownPrefixes = _toConsumableArray$4(knownPrefixes);
|
|
2586
2586
|
function onTree(root2) {
|
|
2587
2587
|
var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2588
2588
|
if (!IS_DOM)
|
|
@@ -2625,7 +2625,7 @@
|
|
|
2625
2625
|
acc.push(mutation);
|
|
2626
2626
|
}
|
|
2627
2627
|
} catch (e3) {
|
|
2628
|
-
if (!PRODUCTION$
|
|
2628
|
+
if (!PRODUCTION$1) {
|
|
2629
2629
|
if (e3.name === "MissingIcon") {
|
|
2630
2630
|
console.error(e3);
|
|
2631
2631
|
}
|
|
@@ -2666,7 +2666,7 @@
|
|
|
2666
2666
|
if (mask) {
|
|
2667
2667
|
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
|
2668
2668
|
}
|
|
2669
|
-
return next2(iconDefinition, _objectSpread2$
|
|
2669
|
+
return next2(iconDefinition, _objectSpread2$2(_objectSpread2$2({}, params), {}, {
|
|
2670
2670
|
mask
|
|
2671
2671
|
}));
|
|
2672
2672
|
};
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
if (!iconDefinition)
|
|
2678
2678
|
return;
|
|
2679
2679
|
var prefix = iconDefinition.prefix, iconName = iconDefinition.iconName, icon2 = iconDefinition.icon;
|
|
2680
|
-
return domVariants(_objectSpread2$
|
|
2680
|
+
return domVariants(_objectSpread2$2({
|
|
2681
2681
|
type: "icon"
|
|
2682
2682
|
}, iconDefinition), function() {
|
|
2683
2683
|
callHooks("beforeDOMElementCreation", {
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
},
|
|
2705
2705
|
prefix,
|
|
2706
2706
|
iconName,
|
|
2707
|
-
transform: _objectSpread2$
|
|
2707
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2708
2708
|
symbol,
|
|
2709
2709
|
title,
|
|
2710
2710
|
maskId,
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
return [{
|
|
2812
2812
|
tag: "span",
|
|
2813
2813
|
attributes: {
|
|
2814
|
-
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$
|
|
2814
|
+
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$4(classes)).join(" ")
|
|
2815
2815
|
},
|
|
2816
2816
|
children: children2
|
|
2817
2817
|
}];
|
|
@@ -2840,7 +2840,7 @@
|
|
|
2840
2840
|
extra: {
|
|
2841
2841
|
attributes: attributes2,
|
|
2842
2842
|
styles: styles2,
|
|
2843
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$
|
|
2843
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$4(classes))
|
|
2844
2844
|
}
|
|
2845
2845
|
});
|
|
2846
2846
|
});
|
|
@@ -2864,12 +2864,12 @@
|
|
|
2864
2864
|
});
|
|
2865
2865
|
return makeLayersTextAbstract({
|
|
2866
2866
|
content: content2,
|
|
2867
|
-
transform: _objectSpread2$
|
|
2867
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2868
2868
|
title,
|
|
2869
2869
|
extra: {
|
|
2870
2870
|
attributes: attributes2,
|
|
2871
2871
|
styles: styles2,
|
|
2872
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$
|
|
2872
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$4(classes))
|
|
2873
2873
|
}
|
|
2874
2874
|
});
|
|
2875
2875
|
});
|
|
@@ -2955,7 +2955,7 @@
|
|
|
2955
2955
|
var extra = meta2.extra;
|
|
2956
2956
|
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position2;
|
|
2957
2957
|
findIcon(iconName, prefix).then(function(main2) {
|
|
2958
|
-
var _abstract = makeInlineSvgAbstract(_objectSpread2$
|
|
2958
|
+
var _abstract = makeInlineSvgAbstract(_objectSpread2$2(_objectSpread2$2({}, meta2), {}, {
|
|
2959
2959
|
icons: {
|
|
2960
2960
|
main: main2,
|
|
2961
2961
|
mask: emptyCanonicalIcon()
|
|
@@ -3154,14 +3154,14 @@
|
|
|
3154
3154
|
};
|
|
3155
3155
|
return {
|
|
3156
3156
|
tag: "g",
|
|
3157
|
-
attributes: _objectSpread2$
|
|
3157
|
+
attributes: _objectSpread2$2({}, operations.outer),
|
|
3158
3158
|
children: [{
|
|
3159
3159
|
tag: "g",
|
|
3160
|
-
attributes: _objectSpread2$
|
|
3160
|
+
attributes: _objectSpread2$2({}, operations.inner),
|
|
3161
3161
|
children: [{
|
|
3162
3162
|
tag: main2.icon.tag,
|
|
3163
3163
|
children: main2.icon.children,
|
|
3164
|
-
attributes: _objectSpread2$
|
|
3164
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, main2.icon.attributes), operations.path)
|
|
3165
3165
|
}]
|
|
3166
3166
|
}]
|
|
3167
3167
|
};
|
|
@@ -3217,7 +3217,7 @@
|
|
|
3217
3217
|
});
|
|
3218
3218
|
var maskRect = {
|
|
3219
3219
|
tag: "rect",
|
|
3220
|
-
attributes: _objectSpread2$
|
|
3220
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3221
3221
|
fill: "white"
|
|
3222
3222
|
})
|
|
3223
3223
|
};
|
|
@@ -3226,22 +3226,22 @@
|
|
|
3226
3226
|
} : {};
|
|
3227
3227
|
var maskInnerGroup = {
|
|
3228
3228
|
tag: "g",
|
|
3229
|
-
attributes: _objectSpread2$
|
|
3230
|
-
children: [fillBlack(_objectSpread2$
|
|
3229
|
+
attributes: _objectSpread2$2({}, trans.inner),
|
|
3230
|
+
children: [fillBlack(_objectSpread2$2({
|
|
3231
3231
|
tag: mainPath.tag,
|
|
3232
|
-
attributes: _objectSpread2$
|
|
3232
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, mainPath.attributes), trans.path)
|
|
3233
3233
|
}, maskInnerGroupChildrenMixin))]
|
|
3234
3234
|
};
|
|
3235
3235
|
var maskOuterGroup = {
|
|
3236
3236
|
tag: "g",
|
|
3237
|
-
attributes: _objectSpread2$
|
|
3237
|
+
attributes: _objectSpread2$2({}, trans.outer),
|
|
3238
3238
|
children: [maskInnerGroup]
|
|
3239
3239
|
};
|
|
3240
3240
|
var maskId = "mask-".concat(explicitMaskId || nextUniqueId$1());
|
|
3241
3241
|
var clipId = "clip-".concat(explicitMaskId || nextUniqueId$1());
|
|
3242
3242
|
var maskTag = {
|
|
3243
3243
|
tag: "mask",
|
|
3244
|
-
attributes: _objectSpread2$
|
|
3244
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3245
3245
|
id: maskId,
|
|
3246
3246
|
maskUnits: "userSpaceOnUse",
|
|
3247
3247
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
};
|
|
3261
3261
|
children2.push(defs2, {
|
|
3262
3262
|
tag: "rect",
|
|
3263
|
-
attributes: _objectSpread2$
|
|
3263
|
+
attributes: _objectSpread2$2({
|
|
3264
3264
|
fill: "currentColor",
|
|
3265
3265
|
"clip-path": "url(#".concat(clipId, ")"),
|
|
3266
3266
|
mask: "url(#".concat(maskId, ")")
|
|
@@ -3291,16 +3291,16 @@
|
|
|
3291
3291
|
};
|
|
3292
3292
|
gChildren.push({
|
|
3293
3293
|
tag: "path",
|
|
3294
|
-
attributes: _objectSpread2$
|
|
3294
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3295
3295
|
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
3296
3296
|
})
|
|
3297
3297
|
});
|
|
3298
|
-
var OPACITY_ANIMATE = _objectSpread2$
|
|
3298
|
+
var OPACITY_ANIMATE = _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3299
3299
|
attributeName: "opacity"
|
|
3300
3300
|
});
|
|
3301
3301
|
var dot2 = {
|
|
3302
3302
|
tag: "circle",
|
|
3303
|
-
attributes: _objectSpread2$
|
|
3303
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3304
3304
|
cx: "256",
|
|
3305
3305
|
cy: "364",
|
|
3306
3306
|
r: "28"
|
|
@@ -3310,13 +3310,13 @@
|
|
|
3310
3310
|
if (!reduceMotion) {
|
|
3311
3311
|
dot2.children.push({
|
|
3312
3312
|
tag: "animate",
|
|
3313
|
-
attributes: _objectSpread2$
|
|
3313
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3314
3314
|
attributeName: "r",
|
|
3315
3315
|
values: "28;14;28;28;14;28;"
|
|
3316
3316
|
})
|
|
3317
3317
|
}, {
|
|
3318
3318
|
tag: "animate",
|
|
3319
|
-
attributes: _objectSpread2$
|
|
3319
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3320
3320
|
values: "1;0;1;1;0;1;"
|
|
3321
3321
|
})
|
|
3322
3322
|
});
|
|
@@ -3324,13 +3324,13 @@
|
|
|
3324
3324
|
gChildren.push(dot2);
|
|
3325
3325
|
gChildren.push({
|
|
3326
3326
|
tag: "path",
|
|
3327
|
-
attributes: _objectSpread2$
|
|
3327
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3328
3328
|
opacity: "1",
|
|
3329
3329
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
3330
3330
|
}),
|
|
3331
3331
|
children: reduceMotion ? [] : [{
|
|
3332
3332
|
tag: "animate",
|
|
3333
|
-
attributes: _objectSpread2$
|
|
3333
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3334
3334
|
values: "1;0;0;0;0;1;"
|
|
3335
3335
|
})
|
|
3336
3336
|
}]
|
|
@@ -3338,13 +3338,13 @@
|
|
|
3338
3338
|
if (!reduceMotion) {
|
|
3339
3339
|
gChildren.push({
|
|
3340
3340
|
tag: "path",
|
|
3341
|
-
attributes: _objectSpread2$
|
|
3341
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3342
3342
|
opacity: "0",
|
|
3343
3343
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
3344
3344
|
}),
|
|
3345
3345
|
children: [{
|
|
3346
3346
|
tag: "animate",
|
|
3347
|
-
attributes: _objectSpread2$
|
|
3347
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3348
3348
|
values: "0;0;1;1;0;0;"
|
|
3349
3349
|
})
|
|
3350
3350
|
}]
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
{
|
|
3441
3441
|
propTypes.exports = factoryWithThrowingShims();
|
|
3442
3442
|
}
|
|
3443
|
-
function ownKeys$
|
|
3443
|
+
function ownKeys$7(object2, enumerableOnly) {
|
|
3444
3444
|
var keys2 = Object.keys(object2);
|
|
3445
3445
|
if (Object.getOwnPropertySymbols) {
|
|
3446
3446
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -3450,26 +3450,26 @@
|
|
|
3450
3450
|
}
|
|
3451
3451
|
return keys2;
|
|
3452
3452
|
}
|
|
3453
|
-
function _objectSpread2$
|
|
3453
|
+
function _objectSpread2$1(target) {
|
|
3454
3454
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
3455
3455
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
3456
|
-
i2 % 2 ? ownKeys$
|
|
3457
|
-
_defineProperty$
|
|
3458
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
3456
|
+
i2 % 2 ? ownKeys$7(Object(source), true).forEach(function(key) {
|
|
3457
|
+
_defineProperty$p(target, key, source[key]);
|
|
3458
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function(key) {
|
|
3459
3459
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3460
3460
|
});
|
|
3461
3461
|
}
|
|
3462
3462
|
return target;
|
|
3463
3463
|
}
|
|
3464
|
-
function _typeof$
|
|
3464
|
+
function _typeof$6(obj) {
|
|
3465
3465
|
"@babel/helpers - typeof";
|
|
3466
|
-
return _typeof$
|
|
3466
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
3467
3467
|
return typeof obj2;
|
|
3468
3468
|
} : function(obj2) {
|
|
3469
3469
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
3470
|
-
}, _typeof$
|
|
3470
|
+
}, _typeof$6(obj);
|
|
3471
3471
|
}
|
|
3472
|
-
function _defineProperty$
|
|
3472
|
+
function _defineProperty$p(obj, key, value) {
|
|
3473
3473
|
if (key in obj) {
|
|
3474
3474
|
Object.defineProperty(obj, key, {
|
|
3475
3475
|
value,
|
|
@@ -3482,7 +3482,7 @@
|
|
|
3482
3482
|
}
|
|
3483
3483
|
return obj;
|
|
3484
3484
|
}
|
|
3485
|
-
function _objectWithoutPropertiesLoose$
|
|
3485
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
3486
3486
|
if (source == null)
|
|
3487
3487
|
return {};
|
|
3488
3488
|
var target = {};
|
|
@@ -3496,10 +3496,10 @@
|
|
|
3496
3496
|
}
|
|
3497
3497
|
return target;
|
|
3498
3498
|
}
|
|
3499
|
-
function _objectWithoutProperties$
|
|
3499
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
3500
3500
|
if (source == null)
|
|
3501
3501
|
return {};
|
|
3502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
3502
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
3503
3503
|
var key, i2;
|
|
3504
3504
|
if (Object.getOwnPropertySymbols) {
|
|
3505
3505
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -3514,41 +3514,41 @@
|
|
|
3514
3514
|
}
|
|
3515
3515
|
return target;
|
|
3516
3516
|
}
|
|
3517
|
-
function _toConsumableArray$
|
|
3518
|
-
return _arrayWithoutHoles$
|
|
3517
|
+
function _toConsumableArray$3(arr) {
|
|
3518
|
+
return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$a(arr) || _nonIterableSpread$3();
|
|
3519
3519
|
}
|
|
3520
|
-
function _arrayWithoutHoles$
|
|
3520
|
+
function _arrayWithoutHoles$3(arr) {
|
|
3521
3521
|
if (Array.isArray(arr))
|
|
3522
|
-
return _arrayLikeToArray$
|
|
3522
|
+
return _arrayLikeToArray$a(arr);
|
|
3523
3523
|
}
|
|
3524
|
-
function _iterableToArray$
|
|
3524
|
+
function _iterableToArray$3(iter2) {
|
|
3525
3525
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
3526
3526
|
return Array.from(iter2);
|
|
3527
3527
|
}
|
|
3528
|
-
function _unsupportedIterableToArray$
|
|
3528
|
+
function _unsupportedIterableToArray$a(o2, minLen) {
|
|
3529
3529
|
if (!o2)
|
|
3530
3530
|
return;
|
|
3531
3531
|
if (typeof o2 === "string")
|
|
3532
|
-
return _arrayLikeToArray$
|
|
3532
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3533
3533
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
3534
3534
|
if (n2 === "Object" && o2.constructor)
|
|
3535
3535
|
n2 = o2.constructor.name;
|
|
3536
3536
|
if (n2 === "Map" || n2 === "Set")
|
|
3537
3537
|
return Array.from(o2);
|
|
3538
3538
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
3539
|
-
return _arrayLikeToArray$
|
|
3539
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3540
3540
|
}
|
|
3541
|
-
function _arrayLikeToArray$
|
|
3541
|
+
function _arrayLikeToArray$a(arr, len) {
|
|
3542
3542
|
if (len == null || len > arr.length)
|
|
3543
3543
|
len = arr.length;
|
|
3544
3544
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
3545
3545
|
arr2[i2] = arr[i2];
|
|
3546
3546
|
return arr2;
|
|
3547
3547
|
}
|
|
3548
|
-
function _nonIterableSpread$
|
|
3548
|
+
function _nonIterableSpread$3() {
|
|
3549
3549
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3550
3550
|
}
|
|
3551
|
-
function classList$
|
|
3551
|
+
function classList$1(props) {
|
|
3552
3552
|
var _classes;
|
|
3553
3553
|
var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem2 = props.listItem, flip2 = props.flip, size = props.size, rotation2 = props.rotation, pull = props.pull;
|
|
3554
3554
|
var classes = (_classes = {
|
|
@@ -3569,19 +3569,19 @@
|
|
|
3569
3569
|
"fa-flip": flip2 === true,
|
|
3570
3570
|
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
3571
3571
|
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
3572
|
-
}, _defineProperty$
|
|
3572
|
+
}, _defineProperty$p(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$p(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$p(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$p(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
3573
3573
|
return Object.keys(classes).map(function(key) {
|
|
3574
3574
|
return classes[key] ? key : null;
|
|
3575
3575
|
}).filter(function(key) {
|
|
3576
3576
|
return key;
|
|
3577
3577
|
});
|
|
3578
3578
|
}
|
|
3579
|
-
function _isNumerical
|
|
3579
|
+
function _isNumerical(obj) {
|
|
3580
3580
|
obj = obj - 0;
|
|
3581
3581
|
return obj === obj;
|
|
3582
3582
|
}
|
|
3583
|
-
function camelize
|
|
3584
|
-
if (_isNumerical
|
|
3583
|
+
function camelize(string2) {
|
|
3584
|
+
if (_isNumerical(string2)) {
|
|
3585
3585
|
return string2;
|
|
3586
3586
|
}
|
|
3587
3587
|
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
@@ -3590,29 +3590,29 @@
|
|
|
3590
3590
|
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
3591
3591
|
}
|
|
3592
3592
|
var _excluded$5 = ["style"];
|
|
3593
|
-
function capitalize$
|
|
3593
|
+
function capitalize$1(val) {
|
|
3594
3594
|
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
3595
3595
|
}
|
|
3596
|
-
function styleToObject$
|
|
3596
|
+
function styleToObject$1(style2) {
|
|
3597
3597
|
return style2.split(";").map(function(s2) {
|
|
3598
3598
|
return s2.trim();
|
|
3599
3599
|
}).filter(function(s2) {
|
|
3600
3600
|
return s2;
|
|
3601
3601
|
}).reduce(function(acc, pair2) {
|
|
3602
3602
|
var i2 = pair2.indexOf(":");
|
|
3603
|
-
var prop = camelize
|
|
3603
|
+
var prop = camelize(pair2.slice(0, i2));
|
|
3604
3604
|
var value = pair2.slice(i2 + 1).trim();
|
|
3605
|
-
prop.startsWith("webkit") ? acc[capitalize$
|
|
3605
|
+
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
3606
3606
|
return acc;
|
|
3607
3607
|
}, {});
|
|
3608
3608
|
}
|
|
3609
|
-
function convert$
|
|
3609
|
+
function convert$1(createElement2, element2) {
|
|
3610
3610
|
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3611
3611
|
if (typeof element2 === "string") {
|
|
3612
3612
|
return element2;
|
|
3613
3613
|
}
|
|
3614
3614
|
var children2 = (element2.children || []).map(function(child) {
|
|
3615
|
-
return convert$
|
|
3615
|
+
return convert$1(createElement2, child);
|
|
3616
3616
|
});
|
|
3617
3617
|
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
3618
3618
|
var val = element2.attributes[key];
|
|
@@ -3622,36 +3622,36 @@
|
|
|
3622
3622
|
delete element2.attributes["class"];
|
|
3623
3623
|
break;
|
|
3624
3624
|
case "style":
|
|
3625
|
-
acc.attrs["style"] = styleToObject$
|
|
3625
|
+
acc.attrs["style"] = styleToObject$1(val);
|
|
3626
3626
|
break;
|
|
3627
3627
|
default:
|
|
3628
3628
|
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
3629
3629
|
acc.attrs[key.toLowerCase()] = val;
|
|
3630
3630
|
} else {
|
|
3631
|
-
acc.attrs[camelize
|
|
3631
|
+
acc.attrs[camelize(key)] = val;
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
return acc;
|
|
3635
3635
|
}, {
|
|
3636
3636
|
attrs: {}
|
|
3637
3637
|
});
|
|
3638
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$
|
|
3639
|
-
mixins.attrs["style"] = _objectSpread2$
|
|
3640
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2$
|
|
3638
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$2(extraProps, _excluded$5);
|
|
3639
|
+
mixins.attrs["style"] = _objectSpread2$1(_objectSpread2$1({}, mixins.attrs["style"]), existingStyle);
|
|
3640
|
+
return createElement2.apply(void 0, [element2.tag, _objectSpread2$1(_objectSpread2$1({}, mixins.attrs), remaining)].concat(_toConsumableArray$3(children2)));
|
|
3641
3641
|
}
|
|
3642
|
-
var PRODUCTION
|
|
3642
|
+
var PRODUCTION = false;
|
|
3643
3643
|
try {
|
|
3644
|
-
PRODUCTION
|
|
3644
|
+
PRODUCTION = true;
|
|
3645
3645
|
} catch (e3) {
|
|
3646
3646
|
}
|
|
3647
|
-
function log
|
|
3648
|
-
if (!PRODUCTION
|
|
3647
|
+
function log() {
|
|
3648
|
+
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
3649
3649
|
var _console;
|
|
3650
3650
|
(_console = console).error.apply(_console, arguments);
|
|
3651
3651
|
}
|
|
3652
3652
|
}
|
|
3653
|
-
function normalizeIconArgs
|
|
3654
|
-
if (icon2 && _typeof$
|
|
3653
|
+
function normalizeIconArgs(icon2) {
|
|
3654
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
3655
3655
|
return icon2;
|
|
3656
3656
|
}
|
|
3657
3657
|
if (parse$1$1.icon) {
|
|
@@ -3660,7 +3660,7 @@
|
|
|
3660
3660
|
if (icon2 === null) {
|
|
3661
3661
|
return null;
|
|
3662
3662
|
}
|
|
3663
|
-
if (icon2 && _typeof$
|
|
3663
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
3664
3664
|
return icon2;
|
|
3665
3665
|
}
|
|
3666
3666
|
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
@@ -3676,23 +3676,23 @@
|
|
|
3676
3676
|
};
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
|
-
function objectWithKey
|
|
3680
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$
|
|
3679
|
+
function objectWithKey(key, value) {
|
|
3680
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$p({}, key, value) : {};
|
|
3681
3681
|
}
|
|
3682
|
-
var FontAwesomeIcon
|
|
3682
|
+
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
3683
3683
|
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
3684
|
-
var iconLookup = normalizeIconArgs
|
|
3685
|
-
var classes = objectWithKey
|
|
3686
|
-
var transform = objectWithKey
|
|
3687
|
-
var mask = objectWithKey
|
|
3688
|
-
var renderedIcon = icon(iconLookup, _objectSpread2$
|
|
3684
|
+
var iconLookup = normalizeIconArgs(iconArgs);
|
|
3685
|
+
var classes = objectWithKey("classes", [].concat(_toConsumableArray$3(classList$1(props)), _toConsumableArray$3(className.split(" "))));
|
|
3686
|
+
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
3687
|
+
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
3688
|
+
var renderedIcon = icon(iconLookup, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, classes), transform), mask), {}, {
|
|
3689
3689
|
symbol,
|
|
3690
3690
|
title,
|
|
3691
3691
|
titleId,
|
|
3692
3692
|
maskId
|
|
3693
3693
|
}));
|
|
3694
3694
|
if (!renderedIcon) {
|
|
3695
|
-
log
|
|
3695
|
+
log("Could not find icon", iconLookup);
|
|
3696
3696
|
return null;
|
|
3697
3697
|
}
|
|
3698
3698
|
var abstract = renderedIcon.abstract;
|
|
@@ -3700,14 +3700,14 @@
|
|
|
3700
3700
|
ref
|
|
3701
3701
|
};
|
|
3702
3702
|
Object.keys(props).forEach(function(key) {
|
|
3703
|
-
if (!FontAwesomeIcon
|
|
3703
|
+
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
3704
3704
|
extraProps[key] = props[key];
|
|
3705
3705
|
}
|
|
3706
3706
|
});
|
|
3707
|
-
return convertCurry
|
|
3707
|
+
return convertCurry(abstract[0], extraProps);
|
|
3708
3708
|
});
|
|
3709
|
-
FontAwesomeIcon
|
|
3710
|
-
FontAwesomeIcon
|
|
3709
|
+
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
3710
|
+
FontAwesomeIcon.propTypes = {
|
|
3711
3711
|
beat: propTypes.exports.bool,
|
|
3712
3712
|
border: propTypes.exports.bool,
|
|
3713
3713
|
beatFade: propTypes.exports.bool,
|
|
@@ -3736,7 +3736,7 @@
|
|
|
3736
3736
|
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
3737
3737
|
swapOpacity: propTypes.exports.bool
|
|
3738
3738
|
};
|
|
3739
|
-
FontAwesomeIcon
|
|
3739
|
+
FontAwesomeIcon.defaultProps = {
|
|
3740
3740
|
border: false,
|
|
3741
3741
|
className: "",
|
|
3742
3742
|
mask: null,
|
|
@@ -3764,7 +3764,7 @@
|
|
|
3764
3764
|
transform: null,
|
|
3765
3765
|
swapOpacity: false
|
|
3766
3766
|
};
|
|
3767
|
-
var convertCurry
|
|
3767
|
+
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
3768
3768
|
var Icon$2 = function(e3) {
|
|
3769
3769
|
var t2 = {};
|
|
3770
3770
|
function r2(n2) {
|
|
@@ -3886,7 +3886,7 @@
|
|
|
3886
3886
|
t2.default = d2;
|
|
3887
3887
|
}]);
|
|
3888
3888
|
const shouldForwardProp$4 = (prop) => !["asButton"].includes(prop);
|
|
3889
|
-
const StyledFAIcon = styled__default.default(FontAwesomeIcon
|
|
3889
|
+
const StyledFAIcon = styled__default.default(FontAwesomeIcon).withConfig({ shouldForwardProp: shouldForwardProp$4 })`
|
|
3890
3890
|
cursor: ${(props) => props.asButton ? "pointer" : "inherit"};
|
|
3891
3891
|
color: inherit;
|
|
3892
3892
|
${(props) => props.asButton ? `:hover { color: ${props.theme.colors.grey6}; }` : ""}
|
|
@@ -4507,11 +4507,11 @@
|
|
|
4507
4507
|
var _Symbol = Symbol$6;
|
|
4508
4508
|
var Symbol$5 = _Symbol;
|
|
4509
4509
|
var objectProto$e = Object.prototype;
|
|
4510
|
-
var hasOwnProperty$
|
|
4510
|
+
var hasOwnProperty$e = objectProto$e.hasOwnProperty;
|
|
4511
4511
|
var nativeObjectToString$1 = objectProto$e.toString;
|
|
4512
4512
|
var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : void 0;
|
|
4513
4513
|
function getRawTag$1(value) {
|
|
4514
|
-
var isOwn = hasOwnProperty$
|
|
4514
|
+
var isOwn = hasOwnProperty$e.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
4515
4515
|
try {
|
|
4516
4516
|
value[symToStringTag$1] = void 0;
|
|
4517
4517
|
var unmasked = true;
|
|
@@ -4592,9 +4592,9 @@
|
|
|
4592
4592
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
4593
4593
|
var funcProto = Function.prototype, objectProto$c = Object.prototype;
|
|
4594
4594
|
var funcToString = funcProto.toString;
|
|
4595
|
-
var hasOwnProperty$
|
|
4595
|
+
var hasOwnProperty$d = objectProto$c.hasOwnProperty;
|
|
4596
4596
|
var reIsNative = RegExp(
|
|
4597
|
-
"^" + funcToString.call(hasOwnProperty$
|
|
4597
|
+
"^" + funcToString.call(hasOwnProperty$d).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
4598
4598
|
);
|
|
4599
4599
|
function baseIsNative$1(value) {
|
|
4600
4600
|
if (!isObject$8(value) || isMasked(value)) {
|
|
@@ -4635,22 +4635,22 @@
|
|
|
4635
4635
|
var nativeCreate$2 = _nativeCreate;
|
|
4636
4636
|
var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
|
|
4637
4637
|
var objectProto$b = Object.prototype;
|
|
4638
|
-
var hasOwnProperty$
|
|
4638
|
+
var hasOwnProperty$c = objectProto$b.hasOwnProperty;
|
|
4639
4639
|
function hashGet$1(key) {
|
|
4640
4640
|
var data2 = this.__data__;
|
|
4641
4641
|
if (nativeCreate$2) {
|
|
4642
4642
|
var result = data2[key];
|
|
4643
4643
|
return result === HASH_UNDEFINED$2 ? void 0 : result;
|
|
4644
4644
|
}
|
|
4645
|
-
return hasOwnProperty$
|
|
4645
|
+
return hasOwnProperty$c.call(data2, key) ? data2[key] : void 0;
|
|
4646
4646
|
}
|
|
4647
4647
|
var _hashGet = hashGet$1;
|
|
4648
4648
|
var nativeCreate$1 = _nativeCreate;
|
|
4649
4649
|
var objectProto$a = Object.prototype;
|
|
4650
|
-
var hasOwnProperty$
|
|
4650
|
+
var hasOwnProperty$b = objectProto$a.hasOwnProperty;
|
|
4651
4651
|
function hashHas$1(key) {
|
|
4652
4652
|
var data2 = this.__data__;
|
|
4653
|
-
return nativeCreate$1 ? data2[key] !== void 0 : hasOwnProperty$
|
|
4653
|
+
return nativeCreate$1 ? data2[key] !== void 0 : hasOwnProperty$b.call(data2, key);
|
|
4654
4654
|
}
|
|
4655
4655
|
var _hashHas = hashHas$1;
|
|
4656
4656
|
var nativeCreate = _nativeCreate;
|
|
@@ -4984,12 +4984,12 @@
|
|
|
4984
4984
|
var _baseIsArguments = baseIsArguments$1;
|
|
4985
4985
|
var baseIsArguments = _baseIsArguments, isObjectLike$5 = isObjectLike_1;
|
|
4986
4986
|
var objectProto$8 = Object.prototype;
|
|
4987
|
-
var hasOwnProperty$
|
|
4987
|
+
var hasOwnProperty$a = objectProto$8.hasOwnProperty;
|
|
4988
4988
|
var propertyIsEnumerable = objectProto$8.propertyIsEnumerable;
|
|
4989
4989
|
var isArguments$1 = baseIsArguments(function() {
|
|
4990
4990
|
return arguments;
|
|
4991
4991
|
}()) ? baseIsArguments : function(value) {
|
|
4992
|
-
return isObjectLike$5(value) && hasOwnProperty$
|
|
4992
|
+
return isObjectLike$5(value) && hasOwnProperty$a.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
4993
4993
|
};
|
|
4994
4994
|
var isArguments_1 = isArguments$1;
|
|
4995
4995
|
var isBuffer$5 = { exports: {} };
|
|
@@ -5061,11 +5061,11 @@
|
|
|
5061
5061
|
var isTypedArray_1 = isTypedArray$2;
|
|
5062
5062
|
var baseTimes = _baseTimes, isArguments = isArguments_1, isArray$c = isArray_1, isBuffer$4 = isBuffer$5.exports, isIndex$1 = _isIndex, isTypedArray$1 = isTypedArray_1;
|
|
5063
5063
|
var objectProto$7 = Object.prototype;
|
|
5064
|
-
var hasOwnProperty$
|
|
5064
|
+
var hasOwnProperty$9 = objectProto$7.hasOwnProperty;
|
|
5065
5065
|
function arrayLikeKeys$2(value, inherited) {
|
|
5066
5066
|
var isArr = isArray$c(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer$4(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
|
|
5067
5067
|
for (var key in value) {
|
|
5068
|
-
if ((inherited || hasOwnProperty$
|
|
5068
|
+
if ((inherited || hasOwnProperty$9.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType2 && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex$1(key, length2)))) {
|
|
5069
5069
|
result.push(key);
|
|
5070
5070
|
}
|
|
5071
5071
|
}
|
|
@@ -5089,14 +5089,14 @@
|
|
|
5089
5089
|
var _nativeKeys = nativeKeys$1;
|
|
5090
5090
|
var isPrototype$2 = _isPrototype, nativeKeys = _nativeKeys;
|
|
5091
5091
|
var objectProto$5 = Object.prototype;
|
|
5092
|
-
var hasOwnProperty$
|
|
5092
|
+
var hasOwnProperty$8 = objectProto$5.hasOwnProperty;
|
|
5093
5093
|
function baseKeys$1(object2) {
|
|
5094
5094
|
if (!isPrototype$2(object2)) {
|
|
5095
5095
|
return nativeKeys(object2);
|
|
5096
5096
|
}
|
|
5097
5097
|
var result = [];
|
|
5098
5098
|
for (var key in Object(object2)) {
|
|
5099
|
-
if (hasOwnProperty$
|
|
5099
|
+
if (hasOwnProperty$8.call(object2, key) && key != "constructor") {
|
|
5100
5100
|
result.push(key);
|
|
5101
5101
|
}
|
|
5102
5102
|
}
|
|
@@ -5121,7 +5121,7 @@
|
|
|
5121
5121
|
var getAllKeys$1 = _getAllKeys;
|
|
5122
5122
|
var COMPARE_PARTIAL_FLAG$1 = 1;
|
|
5123
5123
|
var objectProto$4 = Object.prototype;
|
|
5124
|
-
var hasOwnProperty$
|
|
5124
|
+
var hasOwnProperty$7 = objectProto$4.hasOwnProperty;
|
|
5125
5125
|
function equalObjects$1(object2, other, bitmask, customizer, equalFunc, stack) {
|
|
5126
5126
|
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1, objProps = getAllKeys$1(object2), objLength = objProps.length, othProps = getAllKeys$1(other), othLength = othProps.length;
|
|
5127
5127
|
if (objLength != othLength && !isPartial) {
|
|
@@ -5130,7 +5130,7 @@
|
|
|
5130
5130
|
var index2 = objLength;
|
|
5131
5131
|
while (index2--) {
|
|
5132
5132
|
var key = objProps[index2];
|
|
5133
|
-
if (!(isPartial ? key in other : hasOwnProperty$
|
|
5133
|
+
if (!(isPartial ? key in other : hasOwnProperty$7.call(other, key))) {
|
|
5134
5134
|
return false;
|
|
5135
5135
|
}
|
|
5136
5136
|
}
|
|
@@ -5208,7 +5208,7 @@
|
|
|
5208
5208
|
var COMPARE_PARTIAL_FLAG = 1;
|
|
5209
5209
|
var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", objectTag$1 = "[object Object]";
|
|
5210
5210
|
var objectProto$3 = Object.prototype;
|
|
5211
|
-
var hasOwnProperty$
|
|
5211
|
+
var hasOwnProperty$6 = objectProto$3.hasOwnProperty;
|
|
5212
5212
|
function baseIsEqualDeep$1(object2, other, bitmask, customizer, equalFunc, stack) {
|
|
5213
5213
|
var objIsArr = isArray$b(object2), othIsArr = isArray$b(other), objTag = objIsArr ? arrayTag$1 : getTag$3(object2), othTag = othIsArr ? arrayTag$1 : getTag$3(other);
|
|
5214
5214
|
objTag = objTag == argsTag$1 ? objectTag$1 : objTag;
|
|
@@ -5226,7 +5226,7 @@
|
|
|
5226
5226
|
return objIsArr || isTypedArray(object2) ? equalArrays(object2, other, bitmask, customizer, equalFunc, stack) : equalByTag(object2, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
5227
5227
|
}
|
|
5228
5228
|
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
5229
|
-
var objIsWrapped = objIsObj && hasOwnProperty$
|
|
5229
|
+
var objIsWrapped = objIsObj && hasOwnProperty$6.call(object2, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$6.call(other, "__wrapped__");
|
|
5230
5230
|
if (objIsWrapped || othIsWrapped) {
|
|
5231
5231
|
var objUnwrapped = objIsWrapped ? object2.value() : object2, othUnwrapped = othIsWrapped ? other.value() : other;
|
|
5232
5232
|
stack || (stack = new Stack$4());
|
|
@@ -5808,7 +5808,11 @@
|
|
|
5808
5808
|
return _getPrototypeOf$2(o2);
|
|
5809
5809
|
}
|
|
5810
5810
|
function _isNativeFunction$1(fn2) {
|
|
5811
|
-
|
|
5811
|
+
try {
|
|
5812
|
+
return Function.toString.call(fn2).indexOf("[native code]") !== -1;
|
|
5813
|
+
} catch (e3) {
|
|
5814
|
+
return typeof fn2 === "function";
|
|
5815
|
+
}
|
|
5812
5816
|
}
|
|
5813
5817
|
function _isNativeReflectConstruct$2() {
|
|
5814
5818
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
@@ -7149,7 +7153,7 @@
|
|
|
7149
7153
|
setPreviousFilter(filterValue);
|
|
7150
7154
|
}, children: "Apply" })] });
|
|
7151
7155
|
}
|
|
7152
|
-
function _objectWithoutPropertiesLoose$
|
|
7156
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
7153
7157
|
if (source == null)
|
|
7154
7158
|
return {};
|
|
7155
7159
|
var target = {};
|
|
@@ -7906,7 +7910,7 @@
|
|
|
7906
7910
|
return noop$5;
|
|
7907
7911
|
};
|
|
7908
7912
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
7909
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
7913
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$3);
|
|
7910
7914
|
React.useEffect(function() {
|
|
7911
7915
|
if (isInitialMount || false) {
|
|
7912
7916
|
return;
|
|
@@ -8446,7 +8450,7 @@
|
|
|
8446
8450
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
8447
8451
|
_ref2.onKeyDown;
|
|
8448
8452
|
_ref2.onBlur;
|
|
8449
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8453
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$2);
|
|
8450
8454
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8451
8455
|
_ref22.suppressRefError;
|
|
8452
8456
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -8462,7 +8466,7 @@
|
|
|
8462
8466
|
var _extends3;
|
|
8463
8467
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
8464
8468
|
_ref3.onPress;
|
|
8465
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
8469
|
+
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$2);
|
|
8466
8470
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
8467
8471
|
_ref4.suppressRefError;
|
|
8468
8472
|
var latestState = latest.current.state;
|
|
@@ -8505,7 +8509,7 @@
|
|
|
8505
8509
|
var _extends4;
|
|
8506
8510
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
8507
8511
|
_ref5.onPress;
|
|
8508
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8512
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3$1);
|
|
8509
8513
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
8510
8514
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
8511
8515
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -8795,7 +8799,7 @@
|
|
|
8795
8799
|
}
|
|
8796
8800
|
return _extends$3({}, state, changes);
|
|
8797
8801
|
}
|
|
8798
|
-
var _excluded$1
|
|
8802
|
+
var _excluded$1 = ["onMouseLeave", "refKey", "ref"], _excluded2$1 = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], _excluded3 = ["onClick", "onPress", "refKey", "ref"], _excluded4 = ["onKeyDown", "onChange", "onInput", "onFocus", "onBlur", "onChangeText", "refKey", "ref"];
|
|
8799
8803
|
useCombobox.stateChangeTypes = stateChangeTypes$1$1;
|
|
8800
8804
|
function useCombobox(userProps) {
|
|
8801
8805
|
if (userProps === void 0) {
|
|
@@ -8967,7 +8971,7 @@
|
|
|
8967
8971
|
}, [elementIds]);
|
|
8968
8972
|
var getMenuProps = React.useCallback(function(_temp, _temp2) {
|
|
8969
8973
|
var _extends2;
|
|
8970
|
-
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8974
|
+
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$1);
|
|
8971
8975
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8972
8976
|
_ref22.suppressRefError;
|
|
8973
8977
|
return _extends$3((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
@@ -8982,7 +8986,7 @@
|
|
|
8982
8986
|
var _extends3, _ref4;
|
|
8983
8987
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, itemProp = _ref3.item, indexProp = _ref3.index, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onMouseMove = _ref3.onMouseMove, onMouseDown = _ref3.onMouseDown, onClick = _ref3.onClick;
|
|
8984
8988
|
_ref3.onPress;
|
|
8985
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8989
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$1);
|
|
8986
8990
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
8987
8991
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
8988
8992
|
var onSelectKey = "onClick";
|
|
@@ -9020,7 +9024,7 @@
|
|
|
9020
9024
|
var _extends4;
|
|
9021
9025
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
9022
9026
|
_ref5.onPress;
|
|
9023
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
9027
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3);
|
|
9024
9028
|
var latestState = latest.current.state;
|
|
9025
9029
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
9026
9030
|
dispatch2({
|
|
@@ -9037,7 +9041,7 @@
|
|
|
9037
9041
|
var _extends5;
|
|
9038
9042
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
9039
9043
|
_ref6.onChangeText;
|
|
9040
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
9044
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$4(_ref6, _excluded4);
|
|
9041
9045
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
9042
9046
|
_ref7.suppressRefError;
|
|
9043
9047
|
var latestState = latest.current.state;
|
|
@@ -9426,7 +9430,7 @@
|
|
|
9426
9430
|
}, [dispatch2, keyNavigationPrevious]);
|
|
9427
9431
|
var getSelectedItemProps = React.useCallback(function(_temp) {
|
|
9428
9432
|
var _extends2;
|
|
9429
|
-
var _ref3 = _temp === void 0 ? {} : _temp, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onClick = _ref3.onClick, onKeyDown = _ref3.onKeyDown, selectedItemProp = _ref3.selectedItem, indexProp = _ref3.index, rest = _objectWithoutPropertiesLoose$
|
|
9433
|
+
var _ref3 = _temp === void 0 ? {} : _temp, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onClick = _ref3.onClick, onKeyDown = _ref3.onKeyDown, selectedItemProp = _ref3.selectedItem, indexProp = _ref3.index, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded$4);
|
|
9430
9434
|
var latestState = latest.current.state;
|
|
9431
9435
|
var _getItemAndIndex = getItemAndIndex(selectedItemProp, indexProp, latestState.selectedItems, "Pass either item or index to getSelectedItemProps!"), index2 = _getItemAndIndex[1];
|
|
9432
9436
|
var isFocusable = index2 > -1 && index2 === latestState.activeIndex;
|
|
@@ -9450,7 +9454,7 @@
|
|
|
9450
9454
|
}, [dispatch2, latest, selectedItemKeyDownHandlers]);
|
|
9451
9455
|
var getDropdownProps = React.useCallback(function(_temp2, _temp3) {
|
|
9452
9456
|
var _extends3;
|
|
9453
|
-
var _ref4 = _temp2 === void 0 ? {} : _temp2, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, ref = _ref4.ref, onKeyDown = _ref4.onKeyDown, onClick = _ref4.onClick, _ref4$preventKeyActio = _ref4.preventKeyAction, preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio, rest = _objectWithoutPropertiesLoose$
|
|
9457
|
+
var _ref4 = _temp2 === void 0 ? {} : _temp2, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, ref = _ref4.ref, onKeyDown = _ref4.onKeyDown, onClick = _ref4.onClick, _ref4$preventKeyActio = _ref4.preventKeyAction, preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio, rest = _objectWithoutPropertiesLoose$4(_ref4, _excluded2);
|
|
9454
9458
|
var _ref5 = _temp3 === void 0 ? {} : _temp3;
|
|
9455
9459
|
_ref5.suppressRefError;
|
|
9456
9460
|
var dropdownHandleKeyDown = function dropdownHandleKeyDown2(event2) {
|
|
@@ -13214,7 +13218,7 @@
|
|
|
13214
13218
|
tippy$1.setDefaultProps({
|
|
13215
13219
|
animation: false
|
|
13216
13220
|
});
|
|
13217
|
-
function _objectWithoutPropertiesLoose$
|
|
13221
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
13218
13222
|
if (source == null)
|
|
13219
13223
|
return {};
|
|
13220
13224
|
var target = {};
|
|
@@ -13311,7 +13315,7 @@
|
|
|
13311
13315
|
var children2 = _ref2.children, content2 = _ref2.content, visible = _ref2.visible, singleton = _ref2.singleton, render2 = _ref2.render, reference2 = _ref2.reference, _ref$disabled = _ref2.disabled, disabled2 = _ref$disabled === void 0 ? false : _ref$disabled, _ref$ignoreAttributes = _ref2.ignoreAttributes, ignoreAttributes = _ref$ignoreAttributes === void 0 ? true : _ref$ignoreAttributes;
|
|
13312
13316
|
_ref2.__source;
|
|
13313
13317
|
_ref2.__self;
|
|
13314
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
13318
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$3(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
13315
13319
|
var isControlledMode = visible !== void 0;
|
|
13316
13320
|
var isSingletonMode = singleton !== void 0;
|
|
13317
13321
|
var _useState = React.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -13456,7 +13460,7 @@
|
|
|
13456
13460
|
}
|
|
13457
13461
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
13458
13462
|
return /* @__PURE__ */ React.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
13459
|
-
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
13463
|
+
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$3(_ref2, ["children"]);
|
|
13460
13464
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children2 ? /* @__PURE__ */ React.cloneElement(children2, {
|
|
13461
13465
|
ref: function ref(node2) {
|
|
13462
13466
|
preserveRef(_ref22, node2);
|
|
@@ -23664,13 +23668,13 @@
|
|
|
23664
23668
|
})();
|
|
23665
23669
|
})(classnames);
|
|
23666
23670
|
const r$2 = classnames.exports;
|
|
23667
|
-
function _typeof$
|
|
23671
|
+
function _typeof$5(o2) {
|
|
23668
23672
|
"@babel/helpers - typeof";
|
|
23669
|
-
return _typeof$
|
|
23673
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
23670
23674
|
return typeof o3;
|
|
23671
23675
|
} : function(o3) {
|
|
23672
23676
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
23673
|
-
}, _typeof$
|
|
23677
|
+
}, _typeof$5(o2);
|
|
23674
23678
|
}
|
|
23675
23679
|
function requiredArgs(required2, args) {
|
|
23676
23680
|
if (args.length < required2) {
|
|
@@ -23679,12 +23683,12 @@
|
|
|
23679
23683
|
}
|
|
23680
23684
|
function isDate$1(value) {
|
|
23681
23685
|
requiredArgs(1, arguments);
|
|
23682
|
-
return value instanceof Date || _typeof$
|
|
23686
|
+
return value instanceof Date || _typeof$5(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
23683
23687
|
}
|
|
23684
23688
|
function toDate(argument) {
|
|
23685
23689
|
requiredArgs(1, arguments);
|
|
23686
23690
|
var argStr = Object.prototype.toString.call(argument);
|
|
23687
|
-
if (argument instanceof Date || _typeof$
|
|
23691
|
+
if (argument instanceof Date || _typeof$5(argument) === "object" && argStr === "[object Date]") {
|
|
23688
23692
|
return new Date(argument.getTime());
|
|
23689
23693
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
23690
23694
|
return new Date(argument);
|
|
@@ -25384,7 +25388,7 @@
|
|
|
25384
25388
|
var datesArray;
|
|
25385
25389
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25386
25390
|
datesArray = dirtyDatesArray;
|
|
25387
|
-
} else if (_typeof$
|
|
25391
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25388
25392
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25389
25393
|
} else {
|
|
25390
25394
|
return new Date(NaN);
|
|
@@ -25403,7 +25407,7 @@
|
|
|
25403
25407
|
var datesArray;
|
|
25404
25408
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25405
25409
|
datesArray = dirtyDatesArray;
|
|
25406
|
-
} else if (_typeof$
|
|
25410
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25407
25411
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25408
25412
|
} else {
|
|
25409
25413
|
return new Date(NaN);
|
|
@@ -25528,30 +25532,30 @@
|
|
|
25528
25532
|
}
|
|
25529
25533
|
return time >= startTime && time <= endTime;
|
|
25530
25534
|
}
|
|
25531
|
-
function _arrayLikeToArray$
|
|
25535
|
+
function _arrayLikeToArray$9(arr, len) {
|
|
25532
25536
|
if (len == null || len > arr.length)
|
|
25533
25537
|
len = arr.length;
|
|
25534
25538
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
25535
25539
|
arr2[i2] = arr[i2];
|
|
25536
25540
|
return arr2;
|
|
25537
25541
|
}
|
|
25538
|
-
function _unsupportedIterableToArray$
|
|
25542
|
+
function _unsupportedIterableToArray$9(o2, minLen) {
|
|
25539
25543
|
if (!o2)
|
|
25540
25544
|
return;
|
|
25541
25545
|
if (typeof o2 === "string")
|
|
25542
|
-
return _arrayLikeToArray$
|
|
25546
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25543
25547
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
25544
25548
|
if (n2 === "Object" && o2.constructor)
|
|
25545
25549
|
n2 = o2.constructor.name;
|
|
25546
25550
|
if (n2 === "Map" || n2 === "Set")
|
|
25547
25551
|
return Array.from(o2);
|
|
25548
25552
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
25549
|
-
return _arrayLikeToArray$
|
|
25553
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25550
25554
|
}
|
|
25551
25555
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
25552
25556
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
25553
25557
|
if (!it2) {
|
|
25554
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
25558
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$9(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
25555
25559
|
if (it2)
|
|
25556
25560
|
o2 = it2;
|
|
25557
25561
|
var i2 = 0;
|
|
@@ -25630,10 +25634,10 @@
|
|
|
25630
25634
|
if (superClass)
|
|
25631
25635
|
_setPrototypeOf$3(subClass, superClass);
|
|
25632
25636
|
}
|
|
25633
|
-
function _possibleConstructorReturn$1(self2,
|
|
25634
|
-
if (
|
|
25635
|
-
return
|
|
25636
|
-
} else if (
|
|
25637
|
+
function _possibleConstructorReturn$1(self2, call2) {
|
|
25638
|
+
if (call2 && (_typeof$5(call2) === "object" || typeof call2 === "function")) {
|
|
25639
|
+
return call2;
|
|
25640
|
+
} else if (call2 !== void 0) {
|
|
25637
25641
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
25638
25642
|
}
|
|
25639
25643
|
return _assertThisInitialized$3(self2);
|
|
@@ -25657,12 +25661,12 @@
|
|
|
25657
25661
|
}
|
|
25658
25662
|
}
|
|
25659
25663
|
function _toPrimitive(input, hint) {
|
|
25660
|
-
if (_typeof$
|
|
25664
|
+
if (_typeof$5(input) !== "object" || input === null)
|
|
25661
25665
|
return input;
|
|
25662
25666
|
var prim = input[Symbol.toPrimitive];
|
|
25663
25667
|
if (prim !== void 0) {
|
|
25664
25668
|
var res = prim.call(input, hint || "default");
|
|
25665
|
-
if (_typeof$
|
|
25669
|
+
if (_typeof$5(res) !== "object")
|
|
25666
25670
|
return res;
|
|
25667
25671
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25668
25672
|
}
|
|
@@ -25670,7 +25674,7 @@
|
|
|
25670
25674
|
}
|
|
25671
25675
|
function _toPropertyKey(arg) {
|
|
25672
25676
|
var key = _toPrimitive(arg, "string");
|
|
25673
|
-
return _typeof$
|
|
25677
|
+
return _typeof$5(key) === "symbol" ? key : String(key);
|
|
25674
25678
|
}
|
|
25675
25679
|
function _defineProperties$g(target, props) {
|
|
25676
25680
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -25692,7 +25696,7 @@
|
|
|
25692
25696
|
});
|
|
25693
25697
|
return Constructor;
|
|
25694
25698
|
}
|
|
25695
|
-
function _defineProperty$
|
|
25699
|
+
function _defineProperty$o(obj, key, value) {
|
|
25696
25700
|
key = _toPropertyKey(key);
|
|
25697
25701
|
if (key in obj) {
|
|
25698
25702
|
Object.defineProperty(obj, key, {
|
|
@@ -25710,8 +25714,8 @@
|
|
|
25710
25714
|
var Setter = /* @__PURE__ */ function() {
|
|
25711
25715
|
function Setter2() {
|
|
25712
25716
|
_classCallCheck$g(this, Setter2);
|
|
25713
|
-
_defineProperty$
|
|
25714
|
-
_defineProperty$
|
|
25717
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25718
|
+
_defineProperty$o(this, "subPriority", 0);
|
|
25715
25719
|
}
|
|
25716
25720
|
_createClass$g(Setter2, [{
|
|
25717
25721
|
key: "validate",
|
|
@@ -25760,8 +25764,8 @@
|
|
|
25760
25764
|
args[_key] = arguments[_key];
|
|
25761
25765
|
}
|
|
25762
25766
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
25763
|
-
_defineProperty$
|
|
25764
|
-
_defineProperty$
|
|
25767
|
+
_defineProperty$o(_assertThisInitialized$3(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
25768
|
+
_defineProperty$o(_assertThisInitialized$3(_this2), "subPriority", -1);
|
|
25765
25769
|
return _this2;
|
|
25766
25770
|
}
|
|
25767
25771
|
_createClass$g(DateToSystemTimezoneSetter2, [{
|
|
@@ -25781,9 +25785,9 @@
|
|
|
25781
25785
|
var Parser$2 = /* @__PURE__ */ function() {
|
|
25782
25786
|
function Parser2() {
|
|
25783
25787
|
_classCallCheck$g(this, Parser2);
|
|
25784
|
-
_defineProperty$
|
|
25785
|
-
_defineProperty$
|
|
25786
|
-
_defineProperty$
|
|
25788
|
+
_defineProperty$o(this, "incompatibleTokens", void 0);
|
|
25789
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25790
|
+
_defineProperty$o(this, "subPriority", void 0);
|
|
25787
25791
|
}
|
|
25788
25792
|
_createClass$g(Parser2, [{
|
|
25789
25793
|
key: "run",
|
|
@@ -25815,8 +25819,8 @@
|
|
|
25815
25819
|
args[_key] = arguments[_key];
|
|
25816
25820
|
}
|
|
25817
25821
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25818
|
-
_defineProperty$
|
|
25819
|
-
_defineProperty$
|
|
25822
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 140);
|
|
25823
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
25820
25824
|
return _this;
|
|
25821
25825
|
}
|
|
25822
25826
|
_createClass$g(EraParser2, [{
|
|
@@ -26002,8 +26006,8 @@
|
|
|
26002
26006
|
args[_key] = arguments[_key];
|
|
26003
26007
|
}
|
|
26004
26008
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26005
|
-
_defineProperty$
|
|
26006
|
-
_defineProperty$
|
|
26009
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26010
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26007
26011
|
return _this;
|
|
26008
26012
|
}
|
|
26009
26013
|
_createClass$g(YearParser2, [{
|
|
@@ -26059,8 +26063,8 @@
|
|
|
26059
26063
|
args[_key] = arguments[_key];
|
|
26060
26064
|
}
|
|
26061
26065
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26062
|
-
_defineProperty$
|
|
26063
|
-
_defineProperty$
|
|
26066
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26067
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26064
26068
|
return _this;
|
|
26065
26069
|
}
|
|
26066
26070
|
_createClass$g(LocalWeekYearParser2, [{
|
|
@@ -26116,8 +26120,8 @@
|
|
|
26116
26120
|
args[_key] = arguments[_key];
|
|
26117
26121
|
}
|
|
26118
26122
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26119
|
-
_defineProperty$
|
|
26120
|
-
_defineProperty$
|
|
26123
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26124
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26121
26125
|
return _this;
|
|
26122
26126
|
}
|
|
26123
26127
|
_createClass$g(ISOWeekYearParser2, [{
|
|
@@ -26149,8 +26153,8 @@
|
|
|
26149
26153
|
args[_key] = arguments[_key];
|
|
26150
26154
|
}
|
|
26151
26155
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26152
|
-
_defineProperty$
|
|
26153
|
-
_defineProperty$
|
|
26156
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26157
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26154
26158
|
return _this;
|
|
26155
26159
|
}
|
|
26156
26160
|
_createClass$g(ExtendedYearParser2, [{
|
|
@@ -26181,8 +26185,8 @@
|
|
|
26181
26185
|
args[_key] = arguments[_key];
|
|
26182
26186
|
}
|
|
26183
26187
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26184
|
-
_defineProperty$
|
|
26185
|
-
_defineProperty$
|
|
26188
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 120);
|
|
26189
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26186
26190
|
return _this;
|
|
26187
26191
|
}
|
|
26188
26192
|
_createClass$g(QuarterParser2, [{
|
|
@@ -26248,8 +26252,8 @@
|
|
|
26248
26252
|
args[_key] = arguments[_key];
|
|
26249
26253
|
}
|
|
26250
26254
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26251
|
-
_defineProperty$
|
|
26252
|
-
_defineProperty$
|
|
26255
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 120);
|
|
26256
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26253
26257
|
return _this;
|
|
26254
26258
|
}
|
|
26255
26259
|
_createClass$g(StandAloneQuarterParser2, [{
|
|
@@ -26315,8 +26319,8 @@
|
|
|
26315
26319
|
args[_key] = arguments[_key];
|
|
26316
26320
|
}
|
|
26317
26321
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26318
|
-
_defineProperty$
|
|
26319
|
-
_defineProperty$
|
|
26322
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26323
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 110);
|
|
26320
26324
|
return _this;
|
|
26321
26325
|
}
|
|
26322
26326
|
_createClass$g(MonthParser2, [{
|
|
@@ -26386,8 +26390,8 @@
|
|
|
26386
26390
|
args[_key] = arguments[_key];
|
|
26387
26391
|
}
|
|
26388
26392
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26389
|
-
_defineProperty$
|
|
26390
|
-
_defineProperty$
|
|
26393
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 110);
|
|
26394
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26391
26395
|
return _this;
|
|
26392
26396
|
}
|
|
26393
26397
|
_createClass$g(StandAloneMonthParser2, [{
|
|
@@ -26465,8 +26469,8 @@
|
|
|
26465
26469
|
args[_key] = arguments[_key];
|
|
26466
26470
|
}
|
|
26467
26471
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26468
|
-
_defineProperty$
|
|
26469
|
-
_defineProperty$
|
|
26472
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 100);
|
|
26473
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26470
26474
|
return _this;
|
|
26471
26475
|
}
|
|
26472
26476
|
_createClass$g(LocalWeekParser2, [{
|
|
@@ -26514,8 +26518,8 @@
|
|
|
26514
26518
|
args[_key] = arguments[_key];
|
|
26515
26519
|
}
|
|
26516
26520
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26517
|
-
_defineProperty$
|
|
26518
|
-
_defineProperty$
|
|
26521
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 100);
|
|
26522
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26519
26523
|
return _this;
|
|
26520
26524
|
}
|
|
26521
26525
|
_createClass$g(ISOWeekParser2, [{
|
|
@@ -26557,9 +26561,9 @@
|
|
|
26557
26561
|
args[_key] = arguments[_key];
|
|
26558
26562
|
}
|
|
26559
26563
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26560
|
-
_defineProperty$
|
|
26561
|
-
_defineProperty$
|
|
26562
|
-
_defineProperty$
|
|
26564
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26565
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "subPriority", 1);
|
|
26566
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26563
26567
|
return _this;
|
|
26564
26568
|
}
|
|
26565
26569
|
_createClass$g(DateParser2, [{
|
|
@@ -26608,9 +26612,9 @@
|
|
|
26608
26612
|
args[_key] = arguments[_key];
|
|
26609
26613
|
}
|
|
26610
26614
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26611
|
-
_defineProperty$
|
|
26612
|
-
_defineProperty$
|
|
26613
|
-
_defineProperty$
|
|
26615
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26616
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "subpriority", 1);
|
|
26617
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
26614
26618
|
return _this;
|
|
26615
26619
|
}
|
|
26616
26620
|
_createClass$g(DayOfYearParser2, [{
|
|
@@ -26676,8 +26680,8 @@
|
|
|
26676
26680
|
args[_key] = arguments[_key];
|
|
26677
26681
|
}
|
|
26678
26682
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26679
|
-
_defineProperty$
|
|
26680
|
-
_defineProperty$
|
|
26683
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26684
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
26681
26685
|
return _this;
|
|
26682
26686
|
}
|
|
26683
26687
|
_createClass$g(DayParser2, [{
|
|
@@ -26752,8 +26756,8 @@
|
|
|
26752
26756
|
args[_key] = arguments[_key];
|
|
26753
26757
|
}
|
|
26754
26758
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26755
|
-
_defineProperty$
|
|
26756
|
-
_defineProperty$
|
|
26759
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26760
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
26757
26761
|
return _this;
|
|
26758
26762
|
}
|
|
26759
26763
|
_createClass$g(LocalDayParser2, [{
|
|
@@ -26837,8 +26841,8 @@
|
|
|
26837
26841
|
args[_key] = arguments[_key];
|
|
26838
26842
|
}
|
|
26839
26843
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26840
|
-
_defineProperty$
|
|
26841
|
-
_defineProperty$
|
|
26844
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26845
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
26842
26846
|
return _this;
|
|
26843
26847
|
}
|
|
26844
26848
|
_createClass$g(StandAloneLocalDayParser2, [{
|
|
@@ -26937,8 +26941,8 @@
|
|
|
26937
26941
|
args[_key] = arguments[_key];
|
|
26938
26942
|
}
|
|
26939
26943
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26940
|
-
_defineProperty$
|
|
26941
|
-
_defineProperty$
|
|
26944
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26945
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
26942
26946
|
return _this;
|
|
26943
26947
|
}
|
|
26944
26948
|
_createClass$g(ISODayParser2, [{
|
|
@@ -27024,8 +27028,8 @@
|
|
|
27024
27028
|
args[_key] = arguments[_key];
|
|
27025
27029
|
}
|
|
27026
27030
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27027
|
-
_defineProperty$
|
|
27028
|
-
_defineProperty$
|
|
27031
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 80);
|
|
27032
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
27029
27033
|
return _this;
|
|
27030
27034
|
}
|
|
27031
27035
|
_createClass$g(AMPMParser2, [{
|
|
@@ -27080,8 +27084,8 @@
|
|
|
27080
27084
|
args[_key] = arguments[_key];
|
|
27081
27085
|
}
|
|
27082
27086
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27083
|
-
_defineProperty$
|
|
27084
|
-
_defineProperty$
|
|
27087
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 80);
|
|
27088
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
27085
27089
|
return _this;
|
|
27086
27090
|
}
|
|
27087
27091
|
_createClass$g(AMPMMidnightParser2, [{
|
|
@@ -27136,8 +27140,8 @@
|
|
|
27136
27140
|
args[_key] = arguments[_key];
|
|
27137
27141
|
}
|
|
27138
27142
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27139
|
-
_defineProperty$
|
|
27140
|
-
_defineProperty$
|
|
27143
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 80);
|
|
27144
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
27141
27145
|
return _this;
|
|
27142
27146
|
}
|
|
27143
27147
|
_createClass$g(DayPeriodParser2, [{
|
|
@@ -27192,8 +27196,8 @@
|
|
|
27192
27196
|
args[_key] = arguments[_key];
|
|
27193
27197
|
}
|
|
27194
27198
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27195
|
-
_defineProperty$
|
|
27196
|
-
_defineProperty$
|
|
27199
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27200
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
27197
27201
|
return _this;
|
|
27198
27202
|
}
|
|
27199
27203
|
_createClass$g(Hour1to12Parser2, [{
|
|
@@ -27241,8 +27245,8 @@
|
|
|
27241
27245
|
args[_key] = arguments[_key];
|
|
27242
27246
|
}
|
|
27243
27247
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27244
|
-
_defineProperty$
|
|
27245
|
-
_defineProperty$
|
|
27248
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27249
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
27246
27250
|
return _this;
|
|
27247
27251
|
}
|
|
27248
27252
|
_createClass$g(Hour0to23Parser2, [{
|
|
@@ -27283,8 +27287,8 @@
|
|
|
27283
27287
|
args[_key] = arguments[_key];
|
|
27284
27288
|
}
|
|
27285
27289
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27286
|
-
_defineProperty$
|
|
27287
|
-
_defineProperty$
|
|
27290
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27291
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
27288
27292
|
return _this;
|
|
27289
27293
|
}
|
|
27290
27294
|
_createClass$g(Hour0To11Parser2, [{
|
|
@@ -27330,8 +27334,8 @@
|
|
|
27330
27334
|
args[_key] = arguments[_key];
|
|
27331
27335
|
}
|
|
27332
27336
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27333
|
-
_defineProperty$
|
|
27334
|
-
_defineProperty$
|
|
27337
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27338
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
27335
27339
|
return _this;
|
|
27336
27340
|
}
|
|
27337
27341
|
_createClass$g(Hour1To24Parser2, [{
|
|
@@ -27373,8 +27377,8 @@
|
|
|
27373
27377
|
args[_key] = arguments[_key];
|
|
27374
27378
|
}
|
|
27375
27379
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27376
|
-
_defineProperty$
|
|
27377
|
-
_defineProperty$
|
|
27380
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 60);
|
|
27381
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
27378
27382
|
return _this;
|
|
27379
27383
|
}
|
|
27380
27384
|
_createClass$g(MinuteParser2, [{
|
|
@@ -27415,8 +27419,8 @@
|
|
|
27415
27419
|
args[_key] = arguments[_key];
|
|
27416
27420
|
}
|
|
27417
27421
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27418
|
-
_defineProperty$
|
|
27419
|
-
_defineProperty$
|
|
27422
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 50);
|
|
27423
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
27420
27424
|
return _this;
|
|
27421
27425
|
}
|
|
27422
27426
|
_createClass$g(SecondParser2, [{
|
|
@@ -27457,8 +27461,8 @@
|
|
|
27457
27461
|
args[_key] = arguments[_key];
|
|
27458
27462
|
}
|
|
27459
27463
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27460
|
-
_defineProperty$
|
|
27461
|
-
_defineProperty$
|
|
27464
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 30);
|
|
27465
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
27462
27466
|
return _this;
|
|
27463
27467
|
}
|
|
27464
27468
|
_createClass$g(FractionOfSecondParser2, [{
|
|
@@ -27488,8 +27492,8 @@
|
|
|
27488
27492
|
args[_key] = arguments[_key];
|
|
27489
27493
|
}
|
|
27490
27494
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27491
|
-
_defineProperty$
|
|
27492
|
-
_defineProperty$
|
|
27495
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 10);
|
|
27496
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
27493
27497
|
return _this;
|
|
27494
27498
|
}
|
|
27495
27499
|
_createClass$g(ISOTimezoneWithZParser2, [{
|
|
@@ -27530,8 +27534,8 @@
|
|
|
27530
27534
|
args[_key] = arguments[_key];
|
|
27531
27535
|
}
|
|
27532
27536
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27533
|
-
_defineProperty$
|
|
27534
|
-
_defineProperty$
|
|
27537
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 10);
|
|
27538
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
27535
27539
|
return _this;
|
|
27536
27540
|
}
|
|
27537
27541
|
_createClass$g(ISOTimezoneParser2, [{
|
|
@@ -27572,8 +27576,8 @@
|
|
|
27572
27576
|
args[_key] = arguments[_key];
|
|
27573
27577
|
}
|
|
27574
27578
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27575
|
-
_defineProperty$
|
|
27576
|
-
_defineProperty$
|
|
27579
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 40);
|
|
27580
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
27577
27581
|
return _this;
|
|
27578
27582
|
}
|
|
27579
27583
|
_createClass$g(TimestampSecondsParser2, [{
|
|
@@ -27601,8 +27605,8 @@
|
|
|
27601
27605
|
args[_key] = arguments[_key];
|
|
27602
27606
|
}
|
|
27603
27607
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27604
|
-
_defineProperty$
|
|
27605
|
-
_defineProperty$
|
|
27608
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 20);
|
|
27609
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
27606
27610
|
return _this;
|
|
27607
27611
|
}
|
|
27608
27612
|
_createClass$g(TimestampMillisecondsParser2, [{
|
|
@@ -27755,7 +27759,7 @@
|
|
|
27755
27759
|
};
|
|
27756
27760
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
27757
27761
|
var _ret = _loop();
|
|
27758
|
-
if (_typeof$
|
|
27762
|
+
if (_typeof$5(_ret) === "object")
|
|
27759
27763
|
return _ret.v;
|
|
27760
27764
|
}
|
|
27761
27765
|
} catch (err) {
|
|
@@ -28005,7 +28009,7 @@
|
|
|
28005
28009
|
};
|
|
28006
28010
|
return _setPrototypeOf$2(o2, p2);
|
|
28007
28011
|
}
|
|
28008
|
-
function _objectWithoutPropertiesLoose$
|
|
28012
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
28009
28013
|
if (source == null)
|
|
28010
28014
|
return {};
|
|
28011
28015
|
var target = {};
|
|
@@ -28207,7 +28211,7 @@
|
|
|
28207
28211
|
_proto.render = function render2() {
|
|
28208
28212
|
var _this$props = this.props;
|
|
28209
28213
|
_this$props.excludeScrollbar;
|
|
28210
|
-
var props = _objectWithoutPropertiesLoose$
|
|
28214
|
+
var props = _objectWithoutPropertiesLoose$2(_this$props, ["excludeScrollbar"]);
|
|
28211
28215
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
28212
28216
|
props.ref = this.getRef;
|
|
28213
28217
|
} else {
|
|
@@ -30187,6 +30191,9 @@
|
|
|
30187
30191
|
display: flex;
|
|
30188
30192
|
flex-direction: ${(props) => props.inline ? "column" : "row"};
|
|
30189
30193
|
align-items: ${(props) => props.inline ? "baseline" : "center"};
|
|
30194
|
+
|
|
30195
|
+
width: 8.5rem;
|
|
30196
|
+
|
|
30190
30197
|
color: ${(props) => props.theme.colors.text};
|
|
30191
30198
|
|
|
30192
30199
|
.react-datepicker-popper {
|
|
@@ -31054,17 +31061,17 @@
|
|
|
31054
31061
|
});
|
|
31055
31062
|
};
|
|
31056
31063
|
}
|
|
31057
|
-
function _toConsumableArray$
|
|
31058
|
-
return _arrayWithoutHoles$
|
|
31064
|
+
function _toConsumableArray$2(arr) {
|
|
31065
|
+
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _nonIterableSpread$2();
|
|
31059
31066
|
}
|
|
31060
|
-
function _nonIterableSpread$
|
|
31067
|
+
function _nonIterableSpread$2() {
|
|
31061
31068
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
31062
31069
|
}
|
|
31063
|
-
function _iterableToArray$
|
|
31070
|
+
function _iterableToArray$2(iter2) {
|
|
31064
31071
|
if (Symbol.iterator in Object(iter2) || Object.prototype.toString.call(iter2) === "[object Arguments]")
|
|
31065
31072
|
return Array.from(iter2);
|
|
31066
31073
|
}
|
|
31067
|
-
function _arrayWithoutHoles$
|
|
31074
|
+
function _arrayWithoutHoles$2(arr) {
|
|
31068
31075
|
if (Array.isArray(arr)) {
|
|
31069
31076
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
31070
31077
|
arr2[i2] = arr[i2];
|
|
@@ -31110,7 +31117,7 @@
|
|
|
31110
31117
|
if (Array.isArray(arr))
|
|
31111
31118
|
return arr;
|
|
31112
31119
|
}
|
|
31113
|
-
function ownKeys$
|
|
31120
|
+
function ownKeys$6(object2, enumerableOnly) {
|
|
31114
31121
|
var keys2 = Object.keys(object2);
|
|
31115
31122
|
if (Object.getOwnPropertySymbols) {
|
|
31116
31123
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -31126,20 +31133,20 @@
|
|
|
31126
31133
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
31127
31134
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
31128
31135
|
if (i2 % 2) {
|
|
31129
|
-
ownKeys$
|
|
31130
|
-
_defineProperty$
|
|
31136
|
+
ownKeys$6(source, true).forEach(function(key) {
|
|
31137
|
+
_defineProperty$n(target, key, source[key]);
|
|
31131
31138
|
});
|
|
31132
31139
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
31133
31140
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
31134
31141
|
} else {
|
|
31135
|
-
ownKeys$
|
|
31142
|
+
ownKeys$6(source).forEach(function(key) {
|
|
31136
31143
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
31137
31144
|
});
|
|
31138
31145
|
}
|
|
31139
31146
|
}
|
|
31140
31147
|
return target;
|
|
31141
31148
|
}
|
|
31142
|
-
function _defineProperty$
|
|
31149
|
+
function _defineProperty$n(obj, key, value) {
|
|
31143
31150
|
if (key in obj) {
|
|
31144
31151
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
31145
31152
|
} else {
|
|
@@ -31147,10 +31154,10 @@
|
|
|
31147
31154
|
}
|
|
31148
31155
|
return obj;
|
|
31149
31156
|
}
|
|
31150
|
-
function _objectWithoutProperties$
|
|
31157
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
31151
31158
|
if (source == null)
|
|
31152
31159
|
return {};
|
|
31153
|
-
var target = _objectWithoutPropertiesLoose$
|
|
31160
|
+
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
31154
31161
|
var key, i2;
|
|
31155
31162
|
if (Object.getOwnPropertySymbols) {
|
|
31156
31163
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -31165,7 +31172,7 @@
|
|
|
31165
31172
|
}
|
|
31166
31173
|
return target;
|
|
31167
31174
|
}
|
|
31168
|
-
function _objectWithoutPropertiesLoose$
|
|
31175
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
31169
31176
|
if (source == null)
|
|
31170
31177
|
return {};
|
|
31171
31178
|
var target = {};
|
|
@@ -31180,8 +31187,8 @@
|
|
|
31180
31187
|
return target;
|
|
31181
31188
|
}
|
|
31182
31189
|
var Dropzone$1 = React.forwardRef(function(_ref2, ref) {
|
|
31183
|
-
var children2 = _ref2.children, params = _objectWithoutProperties$
|
|
31184
|
-
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$
|
|
31190
|
+
var children2 = _ref2.children, params = _objectWithoutProperties$1(_ref2, ["children"]);
|
|
31191
|
+
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$1(_useDropzone, ["open"]);
|
|
31185
31192
|
React.useImperativeHandle(ref, function() {
|
|
31186
31193
|
return {
|
|
31187
31194
|
open
|
|
@@ -31314,7 +31321,7 @@
|
|
|
31314
31321
|
event2.preventDefault();
|
|
31315
31322
|
event2.persist();
|
|
31316
31323
|
stopPropagation(event2);
|
|
31317
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
31324
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$2(dragTargetsRef.current), [event2.target]);
|
|
31318
31325
|
if (isEvtWithFiles(event2)) {
|
|
31319
31326
|
Promise.resolve(getFilesFromEvent(event2)).then(function(draggedFiles2) {
|
|
31320
31327
|
if (isPropagationStopped(event2) && !noDragEventsBubbling) {
|
|
@@ -31442,8 +31449,8 @@
|
|
|
31442
31449
|
};
|
|
31443
31450
|
var getRootProps = React.useMemo(function() {
|
|
31444
31451
|
return function() {
|
|
31445
|
-
var _ref3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, onKeyDown = _ref3.onKeyDown, onFocus = _ref3.onFocus, onBlur = _ref3.onBlur, onClick = _ref3.onClick, onDragEnter2 = _ref3.onDragEnter, onDragOver2 = _ref3.onDragOver, onDragLeave2 = _ref3.onDragLeave, onDrop2 = _ref3.onDrop, rest = _objectWithoutProperties$
|
|
31446
|
-
return _objectSpread$5(_defineProperty$
|
|
31452
|
+
var _ref3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, onKeyDown = _ref3.onKeyDown, onFocus = _ref3.onFocus, onBlur = _ref3.onBlur, onClick = _ref3.onClick, onDragEnter2 = _ref3.onDragEnter, onDragOver2 = _ref3.onDragOver, onDragLeave2 = _ref3.onDragLeave, onDrop2 = _ref3.onDrop, rest = _objectWithoutProperties$1(_ref3, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"]);
|
|
31453
|
+
return _objectSpread$5(_defineProperty$n({
|
|
31447
31454
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
31448
31455
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
31449
31456
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -31462,8 +31469,8 @@
|
|
|
31462
31469
|
}, []);
|
|
31463
31470
|
var getInputProps = React.useMemo(function() {
|
|
31464
31471
|
return function() {
|
|
31465
|
-
var _ref4 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, onChange2 = _ref4.onChange, onClick = _ref4.onClick, rest = _objectWithoutProperties$
|
|
31466
|
-
var inputProps = _defineProperty$
|
|
31472
|
+
var _ref4 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, onChange2 = _ref4.onChange, onClick = _ref4.onClick, rest = _objectWithoutProperties$1(_ref4, ["refKey", "onChange", "onClick"]);
|
|
31473
|
+
var inputProps = _defineProperty$n({
|
|
31467
31474
|
accept,
|
|
31468
31475
|
multiple,
|
|
31469
31476
|
type: "file",
|
|
@@ -32079,7 +32086,7 @@
|
|
|
32079
32086
|
return jsxRuntime.exports.jsxs(Wrapper$7, { className: props.className, isDisabled: props.disabled, isOpen, maxRows, maxWidth, style: props.style, children: [jsxRuntime.exports.jsx(Tooltip$1, { content: props.errorMsg, disabled: !props.errorMsg, styling: "error", children: jsxRuntime.exports.jsxs(InputWrapper$3, { isDisabled: props.disabled, isOpen, ref: referenceElement, children: [jsxRuntime.exports.jsxs(TagWrapper, { maxRows, children: [selectedItems.map((selectedItem, index2) => jsxRuntime.exports.jsxs(Tag$1, Object.assign({ disabled: props.disabled }, getSelectedItemProps({ index: index2, selectedItem }), { children: [jsxRuntime.exports.jsx(TagText, { children: selectedItem.label }), jsxRuntime.exports.jsx(Cross$1, { asButton: true, onClick: (e3) => {
|
|
32080
32087
|
e3.stopPropagation();
|
|
32081
32088
|
return removeSelectedItem(selectedItem);
|
|
32082
|
-
} })] }), selectedItem.value)), jsxRuntime.exports.jsx(Input$1, Object.assign({}, getInputProps(getDropdownProps({ preventKeyAction: isOpen })), { disabled: props.disabled, onFocus: openMenu, placeholder: props.placeholder, size: props.size }))] }), jsxRuntime.exports.jsx(ChevronButton, Object.assign({}, getToggleButtonProps(), { children: jsxRuntime.exports.jsx(Chevron$2, { disabled: props.disabled, isOpen }) }))] }) }), ReactDOM__default.default.createPortal(jsxRuntime.exports.jsxs(DropdownList$1, Object.assign({}, menuProps, attributes2.popper, { isOpen, ref: setMenuReference, style: Object.assign(Object.assign({}, styles2.popper), { width: parseFloat((_c = styles2.popper) === null || _c === void 0 ? void 0 : _c.width), zIndex: 9999 }), children: [filteredItems.length > 0 && filteredItems.map((item, index2) => React.createElement(ListItem, Object.assign({}, getItemProps({ index: index2, item }), { hovered: index2 === highlightedIndex, key: `item-${index2}`, size: props.size, title: item.label }), item.label)), filteredItems.length === 0 && jsxRuntime.exports.jsx(NoItemsLabel, { children: "No Items" })] })), document.body)] });
|
|
32089
|
+
} })] }), selectedItem.value)), jsxRuntime.exports.jsx(Input$1, Object.assign({}, getInputProps(getDropdownProps({ preventKeyAction: isOpen })), { disabled: props.disabled, onFocus: openMenu, placeholder: props.placeholder, size: props.size, style: { flex: "1 1 5ch" } }))] }), jsxRuntime.exports.jsx(ChevronButton, Object.assign({}, getToggleButtonProps(), { children: jsxRuntime.exports.jsx(Chevron$2, { disabled: props.disabled, isOpen }) }))] }) }), ReactDOM__default.default.createPortal(jsxRuntime.exports.jsxs(DropdownList$1, Object.assign({}, menuProps, attributes2.popper, { isOpen, ref: setMenuReference, style: Object.assign(Object.assign({}, styles2.popper), { width: parseFloat((_c = styles2.popper) === null || _c === void 0 ? void 0 : _c.width), zIndex: 9999 }), children: [filteredItems.length > 0 && filteredItems.map((item, index2) => React.createElement(ListItem, Object.assign({}, getItemProps({ index: index2, item }), { hovered: index2 === highlightedIndex, key: `item-${index2}`, size: props.size, title: item.label }), item.label)), filteredItems.length === 0 && jsxRuntime.exports.jsx(NoItemsLabel, { children: "No Items" })] })), document.body)] });
|
|
32083
32090
|
}
|
|
32084
32091
|
var __rest$7 = globalThis && globalThis.__rest || function(s2, e3) {
|
|
32085
32092
|
var t2 = {};
|
|
@@ -32411,7 +32418,6 @@
|
|
|
32411
32418
|
}
|
|
32412
32419
|
|
|
32413
32420
|
input {
|
|
32414
|
-
width: calc(100% - 1.25rem);
|
|
32415
32421
|
height: calc(2.5rem - 2px);
|
|
32416
32422
|
border: none;
|
|
32417
32423
|
border-radius: 0.25rem;
|
|
@@ -32451,6 +32457,7 @@
|
|
|
32451
32457
|
// Fix: Overrides the 22ch default width of the nested regular input
|
|
32452
32458
|
> div:first-child {
|
|
32453
32459
|
width: 100%;
|
|
32460
|
+
height: auto;
|
|
32454
32461
|
}
|
|
32455
32462
|
`;
|
|
32456
32463
|
const numericFilter = (integerOnly) => (e3) => {
|
|
@@ -32540,7 +32547,7 @@
|
|
|
32540
32547
|
React.useEffect(() => {
|
|
32541
32548
|
setInput(getInitialValue(props.value, props.initialValue));
|
|
32542
32549
|
}, [props.value]);
|
|
32543
|
-
return jsxRuntime.exports.jsxs("div", { children: [jsxRuntime.exports.jsxs(InputWrapper$2, { disabled: props.disabled, errorMsg: props.errorMsg, stepper: props.stepper, children: [jsxRuntime.exports.jsx(Input$3, { autoFocus: props.autoFocus, className: props.className, disabled: props.disabled, keydownFilter, maxValue: props.maxValue, minValue: props.minValue, onBlur: props.onBlur, onChange: onChange2, onComplete: props.onComplete, onKeyDown, placeholder: props.placeholder, ref,
|
|
32550
|
+
return jsxRuntime.exports.jsxs("div", { children: [jsxRuntime.exports.jsxs(InputWrapper$2, { disabled: props.disabled, errorMsg: props.errorMsg, stepper: props.stepper, style: props.style, children: [jsxRuntime.exports.jsx(Input$3, { autoFocus: props.autoFocus, className: props.className, disabled: props.disabled, keydownFilter, maxValue: props.maxValue, minValue: props.minValue, onBlur: props.onBlur, onChange: onChange2, onComplete: props.onComplete, onKeyDown, placeholder: props.placeholder, ref, value: input }), props.stepper && jsxRuntime.exports.jsx(InputStepper, { disabled: props.disabled, step: step2, stepSkip: props.stepSkip })] }), props.errorMsg && jsxRuntime.exports.jsx(ErrorMessage$2, { children: props.errorMsg })] });
|
|
32544
32551
|
});
|
|
32545
32552
|
Input$3.displayName = "NumericInput";
|
|
32546
32553
|
var isArray$a = isArray_1;
|
|
@@ -33081,7 +33088,7 @@
|
|
|
33081
33088
|
_defineProperties$f(Constructor, staticProps);
|
|
33082
33089
|
return Constructor;
|
|
33083
33090
|
}
|
|
33084
|
-
function _defineProperty$
|
|
33091
|
+
function _defineProperty$m(obj, key, value) {
|
|
33085
33092
|
if (key in obj) {
|
|
33086
33093
|
Object.defineProperty(obj, key, {
|
|
33087
33094
|
value,
|
|
@@ -33094,7 +33101,7 @@
|
|
|
33094
33101
|
}
|
|
33095
33102
|
return obj;
|
|
33096
33103
|
}
|
|
33097
|
-
function ownKeys$
|
|
33104
|
+
function ownKeys$5(object2, enumerableOnly) {
|
|
33098
33105
|
var keys2 = Object.keys(object2);
|
|
33099
33106
|
if (Object.getOwnPropertySymbols) {
|
|
33100
33107
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -33106,17 +33113,17 @@
|
|
|
33106
33113
|
}
|
|
33107
33114
|
return keys2;
|
|
33108
33115
|
}
|
|
33109
|
-
function _objectSpread2
|
|
33116
|
+
function _objectSpread2(target) {
|
|
33110
33117
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
33111
33118
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
33112
33119
|
if (i2 % 2) {
|
|
33113
|
-
ownKeys$
|
|
33114
|
-
_defineProperty$
|
|
33120
|
+
ownKeys$5(Object(source), true).forEach(function(key) {
|
|
33121
|
+
_defineProperty$m(target, key, source[key]);
|
|
33115
33122
|
});
|
|
33116
33123
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
33117
33124
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
33118
33125
|
} else {
|
|
33119
|
-
ownKeys$
|
|
33126
|
+
ownKeys$5(Object(source)).forEach(function(key) {
|
|
33120
33127
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
33121
33128
|
});
|
|
33122
33129
|
}
|
|
@@ -33171,9 +33178,9 @@
|
|
|
33171
33178
|
}
|
|
33172
33179
|
return self2;
|
|
33173
33180
|
}
|
|
33174
|
-
function _possibleConstructorReturn(self2,
|
|
33175
|
-
if (
|
|
33176
|
-
return
|
|
33181
|
+
function _possibleConstructorReturn(self2, call2) {
|
|
33182
|
+
if (call2 && (typeof call2 === "object" || typeof call2 === "function")) {
|
|
33183
|
+
return call2;
|
|
33177
33184
|
}
|
|
33178
33185
|
return _assertThisInitialized$1(self2);
|
|
33179
33186
|
}
|
|
@@ -33191,20 +33198,20 @@
|
|
|
33191
33198
|
};
|
|
33192
33199
|
}
|
|
33193
33200
|
function _slicedToArray$7(arr, i2) {
|
|
33194
|
-
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$
|
|
33201
|
+
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$8(arr, i2) || _nonIterableRest$7();
|
|
33195
33202
|
}
|
|
33196
|
-
function _toConsumableArray$
|
|
33197
|
-
return _arrayWithoutHoles$
|
|
33203
|
+
function _toConsumableArray$1(arr) {
|
|
33204
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
33198
33205
|
}
|
|
33199
|
-
function _arrayWithoutHoles$
|
|
33206
|
+
function _arrayWithoutHoles$1(arr) {
|
|
33200
33207
|
if (Array.isArray(arr))
|
|
33201
|
-
return _arrayLikeToArray$
|
|
33208
|
+
return _arrayLikeToArray$8(arr);
|
|
33202
33209
|
}
|
|
33203
33210
|
function _arrayWithHoles$7(arr) {
|
|
33204
33211
|
if (Array.isArray(arr))
|
|
33205
33212
|
return arr;
|
|
33206
33213
|
}
|
|
33207
|
-
function _iterableToArray$
|
|
33214
|
+
function _iterableToArray$1(iter2) {
|
|
33208
33215
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter2))
|
|
33209
33216
|
return Array.from(iter2);
|
|
33210
33217
|
}
|
|
@@ -33235,27 +33242,27 @@
|
|
|
33235
33242
|
}
|
|
33236
33243
|
return _arr;
|
|
33237
33244
|
}
|
|
33238
|
-
function _unsupportedIterableToArray$
|
|
33245
|
+
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
33239
33246
|
if (!o2)
|
|
33240
33247
|
return;
|
|
33241
33248
|
if (typeof o2 === "string")
|
|
33242
|
-
return _arrayLikeToArray$
|
|
33249
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33243
33250
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
33244
33251
|
if (n2 === "Object" && o2.constructor)
|
|
33245
33252
|
n2 = o2.constructor.name;
|
|
33246
33253
|
if (n2 === "Map" || n2 === "Set")
|
|
33247
33254
|
return Array.from(o2);
|
|
33248
33255
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
33249
|
-
return _arrayLikeToArray$
|
|
33256
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33250
33257
|
}
|
|
33251
|
-
function _arrayLikeToArray$
|
|
33258
|
+
function _arrayLikeToArray$8(arr, len) {
|
|
33252
33259
|
if (len == null || len > arr.length)
|
|
33253
33260
|
len = arr.length;
|
|
33254
33261
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
33255
33262
|
arr2[i2] = arr[i2];
|
|
33256
33263
|
return arr2;
|
|
33257
33264
|
}
|
|
33258
|
-
function _nonIterableSpread$
|
|
33265
|
+
function _nonIterableSpread$1() {
|
|
33259
33266
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33260
33267
|
}
|
|
33261
33268
|
function _nonIterableRest$7() {
|
|
@@ -33283,10 +33290,10 @@
|
|
|
33283
33290
|
if (val === updateValue) {
|
|
33284
33291
|
return handles;
|
|
33285
33292
|
}
|
|
33286
|
-
return [].concat(_toConsumableArray$
|
|
33293
|
+
return [].concat(_toConsumableArray$1(handles.slice(0, index2)), [{
|
|
33287
33294
|
key,
|
|
33288
33295
|
val: updateValue
|
|
33289
|
-
}], _toConsumableArray$
|
|
33296
|
+
}], _toConsumableArray$1(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
33290
33297
|
}
|
|
33291
33298
|
return handles;
|
|
33292
33299
|
}
|
|
@@ -33424,7 +33431,7 @@
|
|
|
33424
33431
|
_this.getRailProps = function() {
|
|
33425
33432
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
33426
33433
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33427
|
-
return _objectSpread2
|
|
33434
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33428
33435
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33429
33436
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33430
33437
|
});
|
|
@@ -33463,7 +33470,7 @@
|
|
|
33463
33470
|
_this.getHandleProps = function(id2) {
|
|
33464
33471
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
33465
33472
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33466
|
-
return _objectSpread2
|
|
33473
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33467
33474
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
33468
33475
|
return emitKeyboard && emitKeyboard(e3, id2);
|
|
33469
33476
|
}),
|
|
@@ -33626,7 +33633,7 @@
|
|
|
33626
33633
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
33627
33634
|
_this.getTrackProps = function(props) {
|
|
33628
33635
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33629
|
-
return _objectSpread2
|
|
33636
|
+
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
33630
33637
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33631
33638
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33632
33639
|
});
|
|
@@ -34029,11 +34036,11 @@
|
|
|
34029
34036
|
return child;
|
|
34030
34037
|
}
|
|
34031
34038
|
});
|
|
34032
|
-
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34039
|
+
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34033
34040
|
style: rootStyle,
|
|
34034
34041
|
className,
|
|
34035
34042
|
ref: this.slider
|
|
34036
|
-
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34043
|
+
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34037
34044
|
style: rootStyle,
|
|
34038
34045
|
className,
|
|
34039
34046
|
ref: this.slider
|
|
@@ -34410,331 +34417,6 @@
|
|
|
34410
34417
|
return jsxRuntime.exports.jsxs(SwitchWrapper, { className, "data-testid": "wrapper", enabled, onClick, ref, style: style2, children: [jsxRuntime.exports.jsx(SwitchHandle, { "data-testid": "handle", enabled }), jsxRuntime.exports.jsx("div", { style: { userSelect: "none" }, children: labelIconToShow })] });
|
|
34411
34418
|
}
|
|
34412
34419
|
const UISwitch = React.forwardRef(Switch$1);
|
|
34413
|
-
function ownKeys$5(object2, enumerableOnly) {
|
|
34414
|
-
var keys2 = Object.keys(object2);
|
|
34415
|
-
if (Object.getOwnPropertySymbols) {
|
|
34416
|
-
var symbols = Object.getOwnPropertySymbols(object2);
|
|
34417
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
34418
|
-
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
34419
|
-
})), keys2.push.apply(keys2, symbols);
|
|
34420
|
-
}
|
|
34421
|
-
return keys2;
|
|
34422
|
-
}
|
|
34423
|
-
function _objectSpread2(target) {
|
|
34424
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
34425
|
-
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
34426
|
-
i2 % 2 ? ownKeys$5(Object(source), true).forEach(function(key) {
|
|
34427
|
-
_defineProperty$m(target, key, source[key]);
|
|
34428
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
34429
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34430
|
-
});
|
|
34431
|
-
}
|
|
34432
|
-
return target;
|
|
34433
|
-
}
|
|
34434
|
-
function _typeof$5(obj) {
|
|
34435
|
-
"@babel/helpers - typeof";
|
|
34436
|
-
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
34437
|
-
return typeof obj2;
|
|
34438
|
-
} : function(obj2) {
|
|
34439
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
34440
|
-
}, _typeof$5(obj);
|
|
34441
|
-
}
|
|
34442
|
-
function _defineProperty$m(obj, key, value) {
|
|
34443
|
-
if (key in obj) {
|
|
34444
|
-
Object.defineProperty(obj, key, {
|
|
34445
|
-
value,
|
|
34446
|
-
enumerable: true,
|
|
34447
|
-
configurable: true,
|
|
34448
|
-
writable: true
|
|
34449
|
-
});
|
|
34450
|
-
} else {
|
|
34451
|
-
obj[key] = value;
|
|
34452
|
-
}
|
|
34453
|
-
return obj;
|
|
34454
|
-
}
|
|
34455
|
-
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
34456
|
-
if (source == null)
|
|
34457
|
-
return {};
|
|
34458
|
-
var target = {};
|
|
34459
|
-
var sourceKeys = Object.keys(source);
|
|
34460
|
-
var key, i2;
|
|
34461
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
34462
|
-
key = sourceKeys[i2];
|
|
34463
|
-
if (excluded.indexOf(key) >= 0)
|
|
34464
|
-
continue;
|
|
34465
|
-
target[key] = source[key];
|
|
34466
|
-
}
|
|
34467
|
-
return target;
|
|
34468
|
-
}
|
|
34469
|
-
function _objectWithoutProperties$1(source, excluded) {
|
|
34470
|
-
if (source == null)
|
|
34471
|
-
return {};
|
|
34472
|
-
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
34473
|
-
var key, i2;
|
|
34474
|
-
if (Object.getOwnPropertySymbols) {
|
|
34475
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
34476
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
34477
|
-
key = sourceSymbolKeys[i2];
|
|
34478
|
-
if (excluded.indexOf(key) >= 0)
|
|
34479
|
-
continue;
|
|
34480
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
34481
|
-
continue;
|
|
34482
|
-
target[key] = source[key];
|
|
34483
|
-
}
|
|
34484
|
-
}
|
|
34485
|
-
return target;
|
|
34486
|
-
}
|
|
34487
|
-
function _toConsumableArray$1(arr) {
|
|
34488
|
-
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
34489
|
-
}
|
|
34490
|
-
function _arrayWithoutHoles$1(arr) {
|
|
34491
|
-
if (Array.isArray(arr))
|
|
34492
|
-
return _arrayLikeToArray$8(arr);
|
|
34493
|
-
}
|
|
34494
|
-
function _iterableToArray$1(iter2) {
|
|
34495
|
-
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
34496
|
-
return Array.from(iter2);
|
|
34497
|
-
}
|
|
34498
|
-
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
34499
|
-
if (!o2)
|
|
34500
|
-
return;
|
|
34501
|
-
if (typeof o2 === "string")
|
|
34502
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34503
|
-
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
34504
|
-
if (n2 === "Object" && o2.constructor)
|
|
34505
|
-
n2 = o2.constructor.name;
|
|
34506
|
-
if (n2 === "Map" || n2 === "Set")
|
|
34507
|
-
return Array.from(o2);
|
|
34508
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
34509
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34510
|
-
}
|
|
34511
|
-
function _arrayLikeToArray$8(arr, len) {
|
|
34512
|
-
if (len == null || len > arr.length)
|
|
34513
|
-
len = arr.length;
|
|
34514
|
-
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
34515
|
-
arr2[i2] = arr[i2];
|
|
34516
|
-
return arr2;
|
|
34517
|
-
}
|
|
34518
|
-
function _nonIterableSpread$1() {
|
|
34519
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34520
|
-
}
|
|
34521
|
-
function classList$1(props) {
|
|
34522
|
-
var _classes;
|
|
34523
|
-
var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem2 = props.listItem, flip2 = props.flip, size = props.size, rotation2 = props.rotation, pull = props.pull;
|
|
34524
|
-
var classes = (_classes = {
|
|
34525
|
-
"fa-beat": beat,
|
|
34526
|
-
"fa-fade": fade,
|
|
34527
|
-
"fa-beat-fade": beatFade,
|
|
34528
|
-
"fa-bounce": bounce,
|
|
34529
|
-
"fa-shake": shake,
|
|
34530
|
-
"fa-flash": flash,
|
|
34531
|
-
"fa-spin": spin,
|
|
34532
|
-
"fa-spin-reverse": spinReverse,
|
|
34533
|
-
"fa-spin-pulse": spinPulse,
|
|
34534
|
-
"fa-pulse": pulse,
|
|
34535
|
-
"fa-fw": fixedWidth,
|
|
34536
|
-
"fa-inverse": inverse,
|
|
34537
|
-
"fa-border": border,
|
|
34538
|
-
"fa-li": listItem2,
|
|
34539
|
-
"fa-flip": flip2 === true,
|
|
34540
|
-
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
34541
|
-
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
34542
|
-
}, _defineProperty$m(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$m(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$m(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$m(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
34543
|
-
return Object.keys(classes).map(function(key) {
|
|
34544
|
-
return classes[key] ? key : null;
|
|
34545
|
-
}).filter(function(key) {
|
|
34546
|
-
return key;
|
|
34547
|
-
});
|
|
34548
|
-
}
|
|
34549
|
-
function _isNumerical(obj) {
|
|
34550
|
-
obj = obj - 0;
|
|
34551
|
-
return obj === obj;
|
|
34552
|
-
}
|
|
34553
|
-
function camelize(string2) {
|
|
34554
|
-
if (_isNumerical(string2)) {
|
|
34555
|
-
return string2;
|
|
34556
|
-
}
|
|
34557
|
-
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
34558
|
-
return chr ? chr.toUpperCase() : "";
|
|
34559
|
-
});
|
|
34560
|
-
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
34561
|
-
}
|
|
34562
|
-
var _excluded$1 = ["style"];
|
|
34563
|
-
function capitalize$1(val) {
|
|
34564
|
-
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
34565
|
-
}
|
|
34566
|
-
function styleToObject$1(style2) {
|
|
34567
|
-
return style2.split(";").map(function(s2) {
|
|
34568
|
-
return s2.trim();
|
|
34569
|
-
}).filter(function(s2) {
|
|
34570
|
-
return s2;
|
|
34571
|
-
}).reduce(function(acc, pair2) {
|
|
34572
|
-
var i2 = pair2.indexOf(":");
|
|
34573
|
-
var prop = camelize(pair2.slice(0, i2));
|
|
34574
|
-
var value = pair2.slice(i2 + 1).trim();
|
|
34575
|
-
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
34576
|
-
return acc;
|
|
34577
|
-
}, {});
|
|
34578
|
-
}
|
|
34579
|
-
function convert$1(createElement2, element2) {
|
|
34580
|
-
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
34581
|
-
if (typeof element2 === "string") {
|
|
34582
|
-
return element2;
|
|
34583
|
-
}
|
|
34584
|
-
var children2 = (element2.children || []).map(function(child) {
|
|
34585
|
-
return convert$1(createElement2, child);
|
|
34586
|
-
});
|
|
34587
|
-
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
34588
|
-
var val = element2.attributes[key];
|
|
34589
|
-
switch (key) {
|
|
34590
|
-
case "class":
|
|
34591
|
-
acc.attrs["className"] = val;
|
|
34592
|
-
delete element2.attributes["class"];
|
|
34593
|
-
break;
|
|
34594
|
-
case "style":
|
|
34595
|
-
acc.attrs["style"] = styleToObject$1(val);
|
|
34596
|
-
break;
|
|
34597
|
-
default:
|
|
34598
|
-
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
34599
|
-
acc.attrs[key.toLowerCase()] = val;
|
|
34600
|
-
} else {
|
|
34601
|
-
acc.attrs[camelize(key)] = val;
|
|
34602
|
-
}
|
|
34603
|
-
}
|
|
34604
|
-
return acc;
|
|
34605
|
-
}, {
|
|
34606
|
-
attrs: {}
|
|
34607
|
-
});
|
|
34608
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$1(extraProps, _excluded$1);
|
|
34609
|
-
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
34610
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray$1(children2)));
|
|
34611
|
-
}
|
|
34612
|
-
var PRODUCTION = false;
|
|
34613
|
-
try {
|
|
34614
|
-
PRODUCTION = true;
|
|
34615
|
-
} catch (e3) {
|
|
34616
|
-
}
|
|
34617
|
-
function log() {
|
|
34618
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
34619
|
-
var _console;
|
|
34620
|
-
(_console = console).error.apply(_console, arguments);
|
|
34621
|
-
}
|
|
34622
|
-
}
|
|
34623
|
-
function normalizeIconArgs(icon2) {
|
|
34624
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
34625
|
-
return icon2;
|
|
34626
|
-
}
|
|
34627
|
-
if (parse$1$1.icon) {
|
|
34628
|
-
return parse$1$1.icon(icon2);
|
|
34629
|
-
}
|
|
34630
|
-
if (icon2 === null) {
|
|
34631
|
-
return null;
|
|
34632
|
-
}
|
|
34633
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
34634
|
-
return icon2;
|
|
34635
|
-
}
|
|
34636
|
-
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
34637
|
-
return {
|
|
34638
|
-
prefix: icon2[0],
|
|
34639
|
-
iconName: icon2[1]
|
|
34640
|
-
};
|
|
34641
|
-
}
|
|
34642
|
-
if (typeof icon2 === "string") {
|
|
34643
|
-
return {
|
|
34644
|
-
prefix: "fas",
|
|
34645
|
-
iconName: icon2
|
|
34646
|
-
};
|
|
34647
|
-
}
|
|
34648
|
-
}
|
|
34649
|
-
function objectWithKey(key, value) {
|
|
34650
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$m({}, key, value) : {};
|
|
34651
|
-
}
|
|
34652
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
34653
|
-
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
34654
|
-
var iconLookup = normalizeIconArgs(iconArgs);
|
|
34655
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray$1(classList$1(props)), _toConsumableArray$1(className.split(" "))));
|
|
34656
|
-
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
34657
|
-
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
34658
|
-
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
34659
|
-
symbol,
|
|
34660
|
-
title,
|
|
34661
|
-
titleId,
|
|
34662
|
-
maskId
|
|
34663
|
-
}));
|
|
34664
|
-
if (!renderedIcon) {
|
|
34665
|
-
log("Could not find icon", iconLookup);
|
|
34666
|
-
return null;
|
|
34667
|
-
}
|
|
34668
|
-
var abstract = renderedIcon.abstract;
|
|
34669
|
-
var extraProps = {
|
|
34670
|
-
ref
|
|
34671
|
-
};
|
|
34672
|
-
Object.keys(props).forEach(function(key) {
|
|
34673
|
-
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
34674
|
-
extraProps[key] = props[key];
|
|
34675
|
-
}
|
|
34676
|
-
});
|
|
34677
|
-
return convertCurry(abstract[0], extraProps);
|
|
34678
|
-
});
|
|
34679
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
34680
|
-
FontAwesomeIcon.propTypes = {
|
|
34681
|
-
beat: propTypes.exports.bool,
|
|
34682
|
-
border: propTypes.exports.bool,
|
|
34683
|
-
beatFade: propTypes.exports.bool,
|
|
34684
|
-
bounce: propTypes.exports.bool,
|
|
34685
|
-
className: propTypes.exports.string,
|
|
34686
|
-
fade: propTypes.exports.bool,
|
|
34687
|
-
flash: propTypes.exports.bool,
|
|
34688
|
-
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34689
|
-
maskId: propTypes.exports.string,
|
|
34690
|
-
fixedWidth: propTypes.exports.bool,
|
|
34691
|
-
inverse: propTypes.exports.bool,
|
|
34692
|
-
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
34693
|
-
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34694
|
-
listItem: propTypes.exports.bool,
|
|
34695
|
-
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
34696
|
-
pulse: propTypes.exports.bool,
|
|
34697
|
-
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
34698
|
-
shake: propTypes.exports.bool,
|
|
34699
|
-
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
34700
|
-
spin: propTypes.exports.bool,
|
|
34701
|
-
spinPulse: propTypes.exports.bool,
|
|
34702
|
-
spinReverse: propTypes.exports.bool,
|
|
34703
|
-
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
34704
|
-
title: propTypes.exports.string,
|
|
34705
|
-
titleId: propTypes.exports.string,
|
|
34706
|
-
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
34707
|
-
swapOpacity: propTypes.exports.bool
|
|
34708
|
-
};
|
|
34709
|
-
FontAwesomeIcon.defaultProps = {
|
|
34710
|
-
border: false,
|
|
34711
|
-
className: "",
|
|
34712
|
-
mask: null,
|
|
34713
|
-
maskId: null,
|
|
34714
|
-
fixedWidth: false,
|
|
34715
|
-
inverse: false,
|
|
34716
|
-
flip: false,
|
|
34717
|
-
icon: null,
|
|
34718
|
-
listItem: false,
|
|
34719
|
-
pull: null,
|
|
34720
|
-
pulse: false,
|
|
34721
|
-
rotation: null,
|
|
34722
|
-
size: null,
|
|
34723
|
-
spin: false,
|
|
34724
|
-
spinPulse: false,
|
|
34725
|
-
spinReverse: false,
|
|
34726
|
-
beat: false,
|
|
34727
|
-
fade: false,
|
|
34728
|
-
beatFade: false,
|
|
34729
|
-
bounce: false,
|
|
34730
|
-
shake: false,
|
|
34731
|
-
symbol: false,
|
|
34732
|
-
title: "",
|
|
34733
|
-
titleId: null,
|
|
34734
|
-
transform: null,
|
|
34735
|
-
swapOpacity: false
|
|
34736
|
-
};
|
|
34737
|
-
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
34738
34420
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
34739
34421
|
return typeof value === "number" && value !== value;
|
|
34740
34422
|
};
|
|
@@ -36639,11 +36321,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
36639
36321
|
if (superClass)
|
|
36640
36322
|
Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
|
|
36641
36323
|
};
|
|
36642
|
-
var possibleConstructorReturn = function(self2,
|
|
36324
|
+
var possibleConstructorReturn = function(self2, call2) {
|
|
36643
36325
|
if (!self2) {
|
|
36644
36326
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36645
36327
|
}
|
|
36646
|
-
return
|
|
36328
|
+
return call2 && (typeof call2 === "object" || typeof call2 === "function") ? call2 : self2;
|
|
36647
36329
|
};
|
|
36648
36330
|
var slicedToArray = function() {
|
|
36649
36331
|
function sliceIterator(arr, i2) {
|
|
@@ -37443,8 +37125,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37443
37125
|
return false;
|
|
37444
37126
|
}
|
|
37445
37127
|
function areEqual(prevProps, nextProps) {
|
|
37446
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
37447
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
37128
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$4(prevProps, ["style"]);
|
|
37129
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$4(nextProps, ["style"]);
|
|
37448
37130
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
37449
37131
|
}
|
|
37450
37132
|
const GlobalStyle = styled.createGlobalStyle`
|
|
@@ -43099,6 +42781,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43099
42781
|
}
|
|
43100
42782
|
const StyledInput$2 = core$2.injectCss(Input$3);
|
|
43101
42783
|
const StyledNumericInput = core$2.injectCss(NumericInput);
|
|
42784
|
+
function getNumericValue(value) {
|
|
42785
|
+
return value == null || Number.isNaN(Number(value)) ? null : Number(value);
|
|
42786
|
+
}
|
|
43102
42787
|
function Input(props) {
|
|
43103
42788
|
const formCtx2 = useFormContext(props);
|
|
43104
42789
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
@@ -43109,8 +42794,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43109
42794
|
const debouncedSetValue = React.useMemo(() => debounce_1(setValue, 500), [setValue]);
|
|
43110
42795
|
const debouncedUpdateForm = React.useMemo(() => debounce_1(formCtx2.updateForm, 500), [formCtx2.updateForm]);
|
|
43111
42796
|
function handleChange(val) {
|
|
43112
|
-
|
|
43113
|
-
|
|
42797
|
+
let newValue = val;
|
|
42798
|
+
if (props.type === "number") {
|
|
42799
|
+
newValue = getNumericValue(newValue);
|
|
42800
|
+
}
|
|
42801
|
+
setInternalValue(newValue);
|
|
42802
|
+
debouncedSetValue(newValue);
|
|
43114
42803
|
debouncedAction(val);
|
|
43115
42804
|
debouncedUpdateForm(val);
|
|
43116
42805
|
}
|
|
@@ -43118,7 +42807,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43118
42807
|
debouncedAction.cancel();
|
|
43119
42808
|
debouncedSetValue.cancel();
|
|
43120
42809
|
debouncedUpdateForm.cancel();
|
|
43121
|
-
|
|
42810
|
+
let newValue = value;
|
|
42811
|
+
if (props.type === "number") {
|
|
42812
|
+
newValue = getNumericValue(newValue);
|
|
42813
|
+
}
|
|
42814
|
+
setInternalValue(newValue);
|
|
43122
42815
|
}, [value]);
|
|
43123
42816
|
if (props.type === "number") {
|
|
43124
42817
|
return /* @__PURE__ */ React__default.default.createElement(
|
|
@@ -43164,8 +42857,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43164
42857
|
$rawCss: css2,
|
|
43165
42858
|
className: props.className,
|
|
43166
42859
|
style: {
|
|
43167
|
-
|
|
43168
|
-
|
|
42860
|
+
flexDirection: props.direction === "horizontal" ? "row" : "column",
|
|
42861
|
+
...style2
|
|
43169
42862
|
}
|
|
43170
42863
|
},
|
|
43171
42864
|
typeof props.value === "string" ? /* @__PURE__ */ React__default.default.createElement(
|
|
@@ -44238,7 +43931,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
44238
43931
|
}
|
|
44239
43932
|
return items;
|
|
44240
43933
|
}
|
|
44241
|
-
const hasOwnProperty$
|
|
43934
|
+
const hasOwnProperty$5 = {}.hasOwnProperty;
|
|
44242
43935
|
function combineExtensions(extensions2) {
|
|
44243
43936
|
const all2 = {};
|
|
44244
43937
|
let index2 = -1;
|
|
@@ -44250,13 +43943,13 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
44250
43943
|
function syntaxExtension(all2, extension2) {
|
|
44251
43944
|
let hook;
|
|
44252
43945
|
for (hook in extension2) {
|
|
44253
|
-
const maybe = hasOwnProperty$
|
|
43946
|
+
const maybe = hasOwnProperty$5.call(all2, hook) ? all2[hook] : void 0;
|
|
44254
43947
|
const left2 = maybe || (all2[hook] = {});
|
|
44255
43948
|
const right2 = extension2[hook];
|
|
44256
43949
|
let code2;
|
|
44257
43950
|
if (right2) {
|
|
44258
43951
|
for (code2 in right2) {
|
|
44259
|
-
if (!hasOwnProperty$
|
|
43952
|
+
if (!hasOwnProperty$5.call(left2, code2))
|
|
44260
43953
|
left2[code2] = [];
|
|
44261
43954
|
const value = right2[code2];
|
|
44262
43955
|
constructs(
|
|
@@ -50005,6 +49698,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50005
49698
|
autoComplete: spaceSeparated,
|
|
50006
49699
|
autoFocus: boolean,
|
|
50007
49700
|
autoPlay: boolean,
|
|
49701
|
+
blocking: spaceSeparated,
|
|
50008
49702
|
capture: boolean,
|
|
50009
49703
|
charSet: null,
|
|
50010
49704
|
checked: boolean,
|
|
@@ -50030,6 +49724,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50030
49724
|
draggable: booleanish,
|
|
50031
49725
|
encType: null,
|
|
50032
49726
|
enterKeyHint: null,
|
|
49727
|
+
fetchPriority: null,
|
|
50033
49728
|
form: null,
|
|
50034
49729
|
formAction: null,
|
|
50035
49730
|
formEncType: null,
|
|
@@ -50047,6 +49742,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50047
49742
|
id: null,
|
|
50048
49743
|
imageSizes: null,
|
|
50049
49744
|
imageSrcSet: null,
|
|
49745
|
+
inert: boolean,
|
|
50050
49746
|
inputMode: null,
|
|
50051
49747
|
integrity: null,
|
|
50052
49748
|
is: null,
|
|
@@ -50170,6 +49866,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50170
49866
|
ping: spaceSeparated,
|
|
50171
49867
|
placeholder: null,
|
|
50172
49868
|
playsInline: boolean,
|
|
49869
|
+
popover: null,
|
|
49870
|
+
popoverTarget: null,
|
|
49871
|
+
popoverTargetAction: null,
|
|
50173
49872
|
poster: null,
|
|
50174
49873
|
preload: null,
|
|
50175
49874
|
readOnly: boolean,
|
|
@@ -50427,6 +50126,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50427
50126
|
textAnchor: "text-anchor",
|
|
50428
50127
|
textDecoration: "text-decoration",
|
|
50429
50128
|
textRendering: "text-rendering",
|
|
50129
|
+
transformOrigin: "transform-origin",
|
|
50430
50130
|
typeOf: "typeof",
|
|
50431
50131
|
underlinePosition: "underline-position",
|
|
50432
50132
|
underlineThickness: "underline-thickness",
|
|
@@ -50788,6 +50488,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50788
50488
|
typeOf: commaOrSpaceSeparated,
|
|
50789
50489
|
to: null,
|
|
50790
50490
|
transform: null,
|
|
50491
|
+
transformOrigin: null,
|
|
50791
50492
|
u1: null,
|
|
50792
50493
|
u2: null,
|
|
50793
50494
|
underlinePosition: number$4,
|
|
@@ -58773,7 +58474,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
58773
58474
|
}
|
|
58774
58475
|
events2[index2 + 1][1].type = "data";
|
|
58775
58476
|
events2[index2 + 3][1].type = "gfmFootnoteCallLabelMarker";
|
|
58776
|
-
const
|
|
58477
|
+
const call2 = {
|
|
58777
58478
|
type: "gfmFootnoteCall",
|
|
58778
58479
|
start: Object.assign({}, events2[index2 + 3][1].start),
|
|
58779
58480
|
end: Object.assign({}, events2[events2.length - 1][1].end)
|
|
@@ -58800,7 +58501,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
58800
58501
|
const replacement = [
|
|
58801
58502
|
events2[index2 + 1],
|
|
58802
58503
|
events2[index2 + 2],
|
|
58803
|
-
["enter",
|
|
58504
|
+
["enter", call2, context2],
|
|
58804
58505
|
events2[index2 + 3],
|
|
58805
58506
|
events2[index2 + 4],
|
|
58806
58507
|
["enter", marker, context2],
|
|
@@ -58811,7 +58512,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
58811
58512
|
["exit", string2, context2],
|
|
58812
58513
|
events2[events2.length - 2],
|
|
58813
58514
|
events2[events2.length - 1],
|
|
58814
|
-
["exit",
|
|
58515
|
+
["exit", call2, context2]
|
|
58815
58516
|
];
|
|
58816
58517
|
events2.splice(index2, events2.length - index2 + 1, ...replacement);
|
|
58817
58518
|
return events2;
|
|
@@ -60987,7 +60688,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
60987
60688
|
const StyledP = core$2.injectCss("p");
|
|
60988
60689
|
function Paragraph(props) {
|
|
60989
60690
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
60990
|
-
return /* @__PURE__ */ React__default.default.createElement(StyledP, { $rawCss: css2, className: props.className, style: {
|
|
60691
|
+
return /* @__PURE__ */ React__default.default.createElement(StyledP, { $rawCss: css2, className: props.className, style: { textAlign: props.align, ...style2 } }, /* @__PURE__ */ React__default.default.createElement(core$2.DisplayCtx.Provider, { value: { component: ComponentType.PARAGRAPH, direction: "horizontal" } }, props.children.map((child, idx) => /* @__PURE__ */ React__default.default.createElement(core$2.DynamicComponent, { component: child, key: `stack-${idx}-${child.name}` }))));
|
|
60991
60692
|
}
|
|
60992
60693
|
const ProgressBarWrapper = styled__default.default.div`
|
|
60993
60694
|
display: flex;
|
|
@@ -61175,6 +60876,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
61175
60876
|
}
|
|
61176
60877
|
const StyledRadio = core$2.injectCss(RadioGroup$1);
|
|
61177
60878
|
function RadioGroup(props) {
|
|
60879
|
+
var _a3;
|
|
61178
60880
|
const formCtx2 = useFormContext(props);
|
|
61179
60881
|
const [items] = core$2.useVariable(props.items);
|
|
61180
60882
|
const [value, setValue] = core$2.useVariable(formCtx2.resolveInitialValue([]));
|
|
@@ -61198,7 +60900,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
61198
60900
|
items,
|
|
61199
60901
|
onChange: onChange2,
|
|
61200
60902
|
style: style2,
|
|
61201
|
-
value: items.find((item) => item.value === value)
|
|
60903
|
+
value: (_a3 = items.find((item) => item.value === value)) != null ? _a3 : null
|
|
61202
60904
|
}
|
|
61203
60905
|
);
|
|
61204
60906
|
}
|
|
@@ -61995,7 +61697,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
61995
61697
|
paddingBottom: "1.1rem",
|
|
61996
61698
|
position: "absolute",
|
|
61997
61699
|
right: 0,
|
|
61998
|
-
top: props.searchable ? "3rem" : 0
|
|
61700
|
+
top: props.searchable ? "3rem" : 0,
|
|
61701
|
+
width: "calc(100% - 1px)"
|
|
61999
61702
|
}
|
|
62000
61703
|
},
|
|
62001
61704
|
/* @__PURE__ */ React__default.default.createElement(
|
|
@@ -62032,14 +61735,14 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
62032
61735
|
$rawCss: css2,
|
|
62033
61736
|
className: props.className,
|
|
62034
61737
|
style: {
|
|
62035
|
-
...style2,
|
|
62036
61738
|
border: (_a3 = props == null ? void 0 : props.border) != null ? _a3 : "none",
|
|
62037
61739
|
color: color2,
|
|
62038
61740
|
fontStyle: props.italic ? "italic" : "normal",
|
|
62039
61741
|
fontWeight: props.bold ? "bold" : "normal",
|
|
62040
61742
|
marginRight: "0.1em",
|
|
62041
61743
|
textAlign: props.align,
|
|
62042
|
-
textDecoration: props.underline ? "underline" : ""
|
|
61744
|
+
textDecoration: props.underline ? "underline" : "",
|
|
61745
|
+
...style2
|
|
62043
61746
|
}
|
|
62044
61747
|
},
|
|
62045
61748
|
`${typeof text2 === "string" ? text2.trimEnd() : text2} `
|
|
@@ -62053,10 +61756,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
62053
61756
|
as: tag,
|
|
62054
61757
|
className: props.className,
|
|
62055
61758
|
style: {
|
|
62056
|
-
...style2,
|
|
62057
61759
|
color: color2,
|
|
62058
61760
|
margin: "0",
|
|
62059
|
-
textAlign: props.align
|
|
61761
|
+
textAlign: props.align,
|
|
61762
|
+
...style2
|
|
62060
61763
|
}
|
|
62061
61764
|
},
|
|
62062
61765
|
text2
|
|
@@ -62318,10 +62021,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
62318
62021
|
return _possibleConstructorReturn2(this, result);
|
|
62319
62022
|
};
|
|
62320
62023
|
}
|
|
62321
|
-
function _possibleConstructorReturn2(self2,
|
|
62322
|
-
if (
|
|
62323
|
-
return
|
|
62324
|
-
} else if (
|
|
62024
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
62025
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
62026
|
+
return call2;
|
|
62027
|
+
} else if (call2 !== void 0) {
|
|
62325
62028
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
62326
62029
|
}
|
|
62327
62030
|
return _assertThisInitialized2(self2);
|
|
@@ -155287,10 +154990,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
155287
154990
|
return _possibleConstructorReturn2(this, result);
|
|
155288
154991
|
};
|
|
155289
154992
|
}
|
|
155290
|
-
function _possibleConstructorReturn2(self2,
|
|
155291
|
-
if (
|
|
155292
|
-
return
|
|
155293
|
-
} else if (
|
|
154993
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
154994
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
154995
|
+
return call2;
|
|
154996
|
+
} else if (call2 !== void 0) {
|
|
155294
154997
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
155295
154998
|
}
|
|
155296
154999
|
return _assertThisInitialized2(self2);
|
|
@@ -185136,10 +184839,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
185136
184839
|
return _possibleConstructorReturn2(this, result);
|
|
185137
184840
|
};
|
|
185138
184841
|
}
|
|
185139
|
-
function _possibleConstructorReturn2(self2,
|
|
185140
|
-
if (
|
|
185141
|
-
return
|
|
185142
|
-
} else if (
|
|
184842
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
184843
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
184844
|
+
return call2;
|
|
184845
|
+
} else if (call2 !== void 0) {
|
|
185143
184846
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
185144
184847
|
}
|
|
185145
184848
|
return _assertThisInitialized2(self2);
|
|
@@ -199454,9 +199157,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
199454
199157
|
_defineProperties2(Constructor, staticProps);
|
|
199455
199158
|
return Constructor;
|
|
199456
199159
|
}
|
|
199457
|
-
function _possibleConstructorReturn2(self2,
|
|
199458
|
-
if (
|
|
199459
|
-
return
|
|
199160
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
199161
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
199162
|
+
return call2;
|
|
199460
199163
|
}
|
|
199461
199164
|
return _assertThisInitialized2(self2);
|
|
199462
199165
|
}
|
|
@@ -199890,9 +199593,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
199890
199593
|
throw new TypeError("Cannot call a class as a function");
|
|
199891
199594
|
}
|
|
199892
199595
|
}
|
|
199893
|
-
function _possibleConstructorReturn2(self2,
|
|
199894
|
-
if (
|
|
199895
|
-
return
|
|
199596
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
199597
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
199598
|
+
return call2;
|
|
199896
199599
|
}
|
|
199897
199600
|
return _assertThisInitialized2(self2);
|
|
199898
199601
|
}
|
|
@@ -213755,7 +213458,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213755
213458
|
};
|
|
213756
213459
|
},
|
|
213757
213460
|
49441: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
213758
|
-
var iteratorSymbol = __webpack_require__2(8260).iterator, isArguments2 = __webpack_require__2(73051), isFunction2 = __webpack_require__2(33717), toPosInt = __webpack_require__2(35976), callable = __webpack_require__2(78513), validValue = __webpack_require__2(36672), isValue = __webpack_require__2(95296), isString2 = __webpack_require__2(87963), isArray2 = Array.isArray,
|
|
213461
|
+
var iteratorSymbol = __webpack_require__2(8260).iterator, isArguments2 = __webpack_require__2(73051), isFunction2 = __webpack_require__2(33717), toPosInt = __webpack_require__2(35976), callable = __webpack_require__2(78513), validValue = __webpack_require__2(36672), isValue = __webpack_require__2(95296), isString2 = __webpack_require__2(87963), isArray2 = Array.isArray, call2 = Function.prototype.call, desc = { configurable: true, enumerable: true, writable: true, value: null }, defineProperty2 = Object.defineProperty;
|
|
213759
213462
|
module3.exports = function(arrayLike) {
|
|
213760
213463
|
var mapFn = arguments[1], thisArg = arguments[2], Context, i2, j2, arr, length2, code2, iterator2, result, getIterator, value;
|
|
213761
213464
|
arrayLike = Object(validValue(arrayLike));
|
|
@@ -213790,7 +213493,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213790
213493
|
result = iterator2.next();
|
|
213791
213494
|
i2 = 0;
|
|
213792
213495
|
while (!result.done) {
|
|
213793
|
-
value = mapFn ?
|
|
213496
|
+
value = mapFn ? call2.call(mapFn, thisArg, result.value, i2) : result.value;
|
|
213794
213497
|
if (Context) {
|
|
213795
213498
|
desc.value = value;
|
|
213796
213499
|
defineProperty2(arr, i2, desc);
|
|
@@ -213812,7 +213515,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213812
213515
|
if (code2 >= 55296 && code2 <= 56319)
|
|
213813
213516
|
value += arrayLike[++i2];
|
|
213814
213517
|
}
|
|
213815
|
-
value = mapFn ?
|
|
213518
|
+
value = mapFn ? call2.call(mapFn, thisArg, value, j2) : value;
|
|
213816
213519
|
if (Context) {
|
|
213817
213520
|
desc.value = value;
|
|
213818
213521
|
defineProperty2(arr, j2, desc);
|
|
@@ -213829,7 +213532,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213829
213532
|
if (Context)
|
|
213830
213533
|
arr = new Context(length2);
|
|
213831
213534
|
for (i2 = 0; i2 < length2; ++i2) {
|
|
213832
|
-
value = mapFn ?
|
|
213535
|
+
value = mapFn ? call2.call(mapFn, thisArg, arrayLike[i2], i2) : arrayLike[i2];
|
|
213833
213536
|
if (Context) {
|
|
213834
213537
|
desc.value = value;
|
|
213835
213538
|
defineProperty2(arr, i2, desc);
|
|
@@ -213900,7 +213603,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213900
213603
|
};
|
|
213901
213604
|
},
|
|
213902
213605
|
67260: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
213903
|
-
var callable = __webpack_require__2(78513), value = __webpack_require__2(36672), bind2 = Function.prototype.bind,
|
|
213606
|
+
var callable = __webpack_require__2(78513), value = __webpack_require__2(36672), bind2 = Function.prototype.bind, call2 = Function.prototype.call, keys2 = Object.keys, objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
213904
213607
|
module3.exports = function(method, defVal) {
|
|
213905
213608
|
return function(obj, cb) {
|
|
213906
213609
|
var list2, thisArg = arguments[2], compareFn = arguments[3];
|
|
@@ -213912,10 +213615,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213912
213615
|
}
|
|
213913
213616
|
if (typeof method !== "function")
|
|
213914
213617
|
method = list2[method];
|
|
213915
|
-
return
|
|
213618
|
+
return call2.call(method, list2, function(key, index2) {
|
|
213916
213619
|
if (!objPropertyIsEnumerable.call(obj, key))
|
|
213917
213620
|
return defVal;
|
|
213918
|
-
return
|
|
213621
|
+
return call2.call(cb, thisArg, obj[key], key, obj, index2);
|
|
213919
213622
|
});
|
|
213920
213623
|
};
|
|
213921
213624
|
};
|
|
@@ -214048,12 +213751,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214048
213751
|
};
|
|
214049
213752
|
},
|
|
214050
213753
|
16906: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
214051
|
-
var callable = __webpack_require__2(78513), forEach = __webpack_require__2(96437),
|
|
213754
|
+
var callable = __webpack_require__2(78513), forEach = __webpack_require__2(96437), call2 = Function.prototype.call;
|
|
214052
213755
|
module3.exports = function(obj, cb) {
|
|
214053
213756
|
var result = {}, thisArg = arguments[2];
|
|
214054
213757
|
callable(cb);
|
|
214055
213758
|
forEach(obj, function(value, key, targetObj, index2) {
|
|
214056
|
-
result[key] =
|
|
213759
|
+
result[key] = call2.call(cb, thisArg, value, key, targetObj, index2);
|
|
214057
213760
|
});
|
|
214058
213761
|
return result;
|
|
214059
213762
|
};
|
|
@@ -214247,7 +213950,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214247
213950
|
},
|
|
214248
213951
|
27515: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
214249
213952
|
var isArguments2 = __webpack_require__2(73051), callable = __webpack_require__2(78513), isString2 = __webpack_require__2(87963), get2 = __webpack_require__2(66661);
|
|
214250
|
-
var isArray2 = Array.isArray,
|
|
213953
|
+
var isArray2 = Array.isArray, call2 = Function.prototype.call, some2 = Array.prototype.some;
|
|
214251
213954
|
module3.exports = function(iterable, cb) {
|
|
214252
213955
|
var mode, thisArg = arguments[2], result, doBreak, broken, i2, length2, char, code2;
|
|
214253
213956
|
if (isArray2(iterable) || isArguments2(iterable))
|
|
@@ -214262,7 +213965,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214262
213965
|
};
|
|
214263
213966
|
if (mode === "array") {
|
|
214264
213967
|
some2.call(iterable, function(value) {
|
|
214265
|
-
|
|
213968
|
+
call2.call(cb, thisArg, value, doBreak);
|
|
214266
213969
|
return broken;
|
|
214267
213970
|
});
|
|
214268
213971
|
return;
|
|
@@ -214276,7 +213979,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214276
213979
|
if (code2 >= 55296 && code2 <= 56319)
|
|
214277
213980
|
char += iterable[++i2];
|
|
214278
213981
|
}
|
|
214279
|
-
|
|
213982
|
+
call2.call(cb, thisArg, char, doBreak);
|
|
214280
213983
|
if (broken)
|
|
214281
213984
|
break;
|
|
214282
213985
|
}
|
|
@@ -214284,7 +213987,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214284
213987
|
}
|
|
214285
213988
|
result = iterable.next();
|
|
214286
213989
|
while (!result.done) {
|
|
214287
|
-
|
|
213990
|
+
call2.call(cb, thisArg, result.value, doBreak);
|
|
214288
213991
|
if (broken)
|
|
214289
213992
|
return;
|
|
214290
213993
|
result = iterable.next();
|
|
@@ -272571,7 +272274,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
272571
272274
|
callback(err || new ERR_STREAM_DESTROYED("pipe"));
|
|
272572
272275
|
};
|
|
272573
272276
|
}
|
|
272574
|
-
function
|
|
272277
|
+
function call2(fn2) {
|
|
272575
272278
|
fn2();
|
|
272576
272279
|
}
|
|
272577
272280
|
function pipe(from, to) {
|
|
@@ -272602,10 +272305,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
272602
272305
|
if (!error2)
|
|
272603
272306
|
error2 = err;
|
|
272604
272307
|
if (err)
|
|
272605
|
-
destroys.forEach(
|
|
272308
|
+
destroys.forEach(call2);
|
|
272606
272309
|
if (reading)
|
|
272607
272310
|
return;
|
|
272608
|
-
destroys.forEach(
|
|
272311
|
+
destroys.forEach(call2);
|
|
272609
272312
|
callback(error2);
|
|
272610
272313
|
});
|
|
272611
272314
|
});
|
|
@@ -283057,7 +282760,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
283057
282760
|
}
|
|
283058
282761
|
});
|
|
283059
282762
|
}
|
|
283060
|
-
const StyledPlotly = core$2.injectCss(
|
|
282763
|
+
const StyledPlotly = core$2.injectCss("div");
|
|
283061
282764
|
function Plotly(props) {
|
|
283062
282765
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
283063
282766
|
const [figure, setFigure] = React.useState(() => JSON.parse(props.figure));
|
|
@@ -283082,19 +282785,18 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
283082
282785
|
acc[eventHandlerName] = eventHandler;
|
|
283083
282786
|
return acc;
|
|
283084
282787
|
}, {});
|
|
283085
|
-
return /* @__PURE__ */ React__default.default.createElement(
|
|
283086
|
-
|
|
282788
|
+
return /* @__PURE__ */ React__default.default.createElement(StyledPlotly, { $rawCss: css2, style: { flex: "1 1 auto", minHeight: "350px", ...style2 } }, /* @__PURE__ */ React__default.default.createElement(AutoSizer, null, ({ height, width }) => /* @__PURE__ */ React__default.default.createElement(
|
|
282789
|
+
Plot,
|
|
283087
282790
|
{
|
|
283088
|
-
$rawCss: css2,
|
|
283089
282791
|
config: { responsive: true },
|
|
283090
282792
|
data: figure.data,
|
|
283091
282793
|
frames: figure.frames,
|
|
283092
282794
|
layout: figure.layout,
|
|
283093
282795
|
...eventHandlers,
|
|
283094
|
-
style: {
|
|
282796
|
+
style: { height, width },
|
|
283095
282797
|
useResizeHandler: true
|
|
283096
282798
|
}
|
|
283097
|
-
);
|
|
282799
|
+
)));
|
|
283098
282800
|
}
|
|
283099
282801
|
const StyledImg = core$2.injectCss("img");
|
|
283100
282802
|
function Matplotlib(props) {
|
|
@@ -288112,24 +287814,24 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
288112
287814
|
this.flags = flags;
|
|
288113
287815
|
}
|
|
288114
287816
|
get anchor() {
|
|
288115
|
-
return this.flags &
|
|
287817
|
+
return this.flags & 32 ? this.to : this.from;
|
|
288116
287818
|
}
|
|
288117
287819
|
get head() {
|
|
288118
|
-
return this.flags &
|
|
287820
|
+
return this.flags & 32 ? this.from : this.to;
|
|
288119
287821
|
}
|
|
288120
287822
|
get empty() {
|
|
288121
287823
|
return this.from == this.to;
|
|
288122
287824
|
}
|
|
288123
287825
|
get assoc() {
|
|
288124
|
-
return this.flags &
|
|
287826
|
+
return this.flags & 8 ? -1 : this.flags & 16 ? 1 : 0;
|
|
288125
287827
|
}
|
|
288126
287828
|
get bidiLevel() {
|
|
288127
|
-
let level = this.flags &
|
|
288128
|
-
return level ==
|
|
287829
|
+
let level = this.flags & 7;
|
|
287830
|
+
return level == 7 ? null : level;
|
|
288129
287831
|
}
|
|
288130
287832
|
get goalColumn() {
|
|
288131
|
-
let value = this.flags >>
|
|
288132
|
-
return value ==
|
|
287833
|
+
let value = this.flags >> 6;
|
|
287834
|
+
return value == 16777215 ? void 0 : value;
|
|
288133
287835
|
}
|
|
288134
287836
|
map(change, assoc = -1) {
|
|
288135
287837
|
let from, to;
|
|
@@ -288217,11 +287919,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
288217
287919
|
return new EditorSelection(ranges, mainIndex);
|
|
288218
287920
|
}
|
|
288219
287921
|
static cursor(pos, assoc = 0, bidiLevel, goalColumn) {
|
|
288220
|
-
return SelectionRange.create(pos, pos, (assoc == 0 ? 0 : assoc < 0 ?
|
|
287922
|
+
return SelectionRange.create(pos, pos, (assoc == 0 ? 0 : assoc < 0 ? 8 : 16) | (bidiLevel == null ? 7 : Math.min(6, bidiLevel)) | (goalColumn !== null && goalColumn !== void 0 ? goalColumn : 16777215) << 6);
|
|
288221
287923
|
}
|
|
288222
287924
|
static range(anchor, head, goalColumn, bidiLevel) {
|
|
288223
|
-
let flags = (goalColumn !== null && goalColumn !== void 0 ? goalColumn :
|
|
288224
|
-
return head < anchor ? SelectionRange.create(head, anchor,
|
|
287925
|
+
let flags = (goalColumn !== null && goalColumn !== void 0 ? goalColumn : 16777215) << 6 | (bidiLevel == null ? 7 : Math.min(6, bidiLevel));
|
|
287926
|
+
return head < anchor ? SelectionRange.create(head, anchor, 32 | 16 | flags) : SelectionRange.create(anchor, head, (head > anchor ? 8 : 0) | flags);
|
|
288225
287927
|
}
|
|
288226
287928
|
static normalized(ranges, mainIndex = 0) {
|
|
288227
287929
|
let main2 = ranges[mainIndex];
|
|
@@ -288255,6 +287957,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
288255
287957
|
this.default = combine2([]);
|
|
288256
287958
|
this.extensions = typeof enables == "function" ? enables(this) : enables;
|
|
288257
287959
|
}
|
|
287960
|
+
get reader() {
|
|
287961
|
+
return this;
|
|
287962
|
+
}
|
|
288258
287963
|
static define(config2 = {}) {
|
|
288259
287964
|
return new Facet(config2.combine || ((a2) => a2), config2.compareInput || ((a2, b2) => a2 === b2), config2.compare || (!config2.combine ? sameArray$1 : (a2, b2) => a2 === b2), !!config2.static, config2.enables);
|
|
288260
287965
|
}
|
|
@@ -290574,7 +290279,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
290574
290279
|
if (!breakAtEnd && last && after.merge(0, toOff, last, true, 0, openEnd)) {
|
|
290575
290280
|
insert2[insert2.length - 1] = after;
|
|
290576
290281
|
} else {
|
|
290577
|
-
if (toOff)
|
|
290282
|
+
if (toOff || after.children.length && !after.children[0].length)
|
|
290578
290283
|
after.merge(0, toOff, null, false, 0, openEnd);
|
|
290579
290284
|
insert2.push(after);
|
|
290580
290285
|
}
|
|
@@ -291510,7 +291215,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
291510
291215
|
this.flushBuffer();
|
|
291511
291216
|
else
|
|
291512
291217
|
this.pendingBuffer = 0;
|
|
291513
|
-
if (!openEnd &&
|
|
291218
|
+
if (!this.posCovered() && !(openEnd && this.content.length && this.content[this.content.length - 1] instanceof BlockWidgetView))
|
|
291514
291219
|
this.getLine();
|
|
291515
291220
|
}
|
|
291516
291221
|
buildText(length2, active, openStart) {
|
|
@@ -292555,7 +292260,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
292555
292260
|
if (end2 == off)
|
|
292556
292261
|
return null;
|
|
292557
292262
|
let rects = textRange(child.dom, off, end2).getClientRects();
|
|
292558
|
-
|
|
292263
|
+
for (let i3 = 0; i3 < rects.length; i3++) {
|
|
292264
|
+
let rect = rects[i3];
|
|
292265
|
+
if (i3 == rects.length - 1 || rect.top < rect.bottom && rect.left < rect.right)
|
|
292266
|
+
return rect;
|
|
292267
|
+
}
|
|
292268
|
+
return null;
|
|
292559
292269
|
}
|
|
292560
292270
|
measureVisibleLineHeights(viewport2) {
|
|
292561
292271
|
let result = [], { from, to } = viewport2;
|
|
@@ -293160,20 +292870,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
293160
292870
|
this.compositionPendingChange = false;
|
|
293161
292871
|
this.mouseSelection = null;
|
|
293162
292872
|
this.handleEvent = this.handleEvent.bind(this);
|
|
293163
|
-
view.scrollDOM.addEventListener("mousedown", (event2) => {
|
|
293164
|
-
if (event2.target == view.scrollDOM && event2.clientY > view.contentDOM.getBoundingClientRect().bottom) {
|
|
293165
|
-
this.runHandlers("mousedown", event2);
|
|
293166
|
-
if (!event2.defaultPrevented && event2.button == 2) {
|
|
293167
|
-
let start2 = view.contentDOM.style.minHeight;
|
|
293168
|
-
view.contentDOM.style.minHeight = "100%";
|
|
293169
|
-
setTimeout(() => view.contentDOM.style.minHeight = start2, 200);
|
|
293170
|
-
}
|
|
293171
|
-
}
|
|
293172
|
-
});
|
|
293173
|
-
view.scrollDOM.addEventListener("drop", (event2) => {
|
|
293174
|
-
if (event2.target == view.scrollDOM && event2.clientY > view.contentDOM.getBoundingClientRect().bottom)
|
|
293175
|
-
this.runHandlers("drop", event2);
|
|
293176
|
-
});
|
|
293177
292873
|
this.notifiedFocused = view.hasFocus;
|
|
293178
292874
|
if (browser.safari)
|
|
293179
292875
|
view.contentDOM.addEventListener("input", () => null);
|
|
@@ -293558,7 +293254,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
293558
293254
|
let mouseSel = view.inputState.mouseSelection;
|
|
293559
293255
|
if (mouseSel) {
|
|
293560
293256
|
mouseSel.start(event2);
|
|
293561
|
-
return
|
|
293257
|
+
return mouseSel.dragging === false;
|
|
293562
293258
|
}
|
|
293563
293259
|
}
|
|
293564
293260
|
return false;
|
|
@@ -295109,6 +294805,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
295109
294805
|
whiteSpace: "pre",
|
|
295110
294806
|
wordWrap: "normal",
|
|
295111
294807
|
boxSizing: "border-box",
|
|
294808
|
+
minHeight: "100%",
|
|
295112
294809
|
padding: "4px 0",
|
|
295113
294810
|
outline: "none",
|
|
295114
294811
|
"&[contenteditable=true]": {
|
|
@@ -295903,8 +295600,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
295903
295600
|
if (readSelection)
|
|
295904
295601
|
this.readSelectionRange();
|
|
295905
295602
|
let domChange = this.readChange();
|
|
295906
|
-
if (!domChange)
|
|
295603
|
+
if (!domChange) {
|
|
295604
|
+
this.view.requestMeasure();
|
|
295907
295605
|
return false;
|
|
295606
|
+
}
|
|
295908
295607
|
let startState = this.view.state;
|
|
295909
295608
|
let handled = applyDOMChange(this.view, domChange);
|
|
295910
295609
|
if (this.view.state == startState)
|
|
@@ -301091,10 +300790,13 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301091
300790
|
const selectParentSyntax = ({ state, dispatch: dispatch2 }) => {
|
|
301092
300791
|
let selection2 = updateSel(state.selection, (range2) => {
|
|
301093
300792
|
var _a3;
|
|
301094
|
-
let
|
|
301095
|
-
|
|
301096
|
-
|
|
301097
|
-
|
|
300793
|
+
let stack = syntaxTree(state).resolveStack(range2.from, 1);
|
|
300794
|
+
for (let cur = stack; cur; cur = cur.next) {
|
|
300795
|
+
let { node: node2 } = cur;
|
|
300796
|
+
if ((node2.from < range2.from && node2.to >= range2.to || node2.to > range2.to && node2.from <= range2.from) && ((_a3 = node2.parent) === null || _a3 === void 0 ? void 0 : _a3.parent))
|
|
300797
|
+
return EditorSelection.range(node2.to, node2.from);
|
|
300798
|
+
}
|
|
300799
|
+
return range2;
|
|
301098
300800
|
});
|
|
301099
300801
|
dispatch2(setSel(state, selection2));
|
|
301100
300802
|
return true;
|
|
@@ -301117,7 +300819,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301117
300819
|
let changes = state.changeByRange((range2) => {
|
|
301118
300820
|
let { from, to } = range2;
|
|
301119
300821
|
if (from == to) {
|
|
301120
|
-
let towards = by(
|
|
300822
|
+
let towards = by(range2);
|
|
301121
300823
|
if (towards < from) {
|
|
301122
300824
|
event2 = "delete.backward";
|
|
301123
300825
|
towards = skipAtomic(target, towards, false);
|
|
@@ -301131,7 +300833,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301131
300833
|
from = skipAtomic(target, from, false);
|
|
301132
300834
|
to = skipAtomic(target, to, true);
|
|
301133
300835
|
}
|
|
301134
|
-
return from == to ? { range: range2 } : { changes: { from, to }, range: EditorSelection.cursor(from) };
|
|
300836
|
+
return from == to ? { range: range2 } : { changes: { from, to }, range: EditorSelection.cursor(from, from < range2.head ? -1 : 1) };
|
|
301135
300837
|
});
|
|
301136
300838
|
if (changes.changes.empty)
|
|
301137
300839
|
return false;
|
|
@@ -301151,8 +300853,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301151
300853
|
});
|
|
301152
300854
|
return pos;
|
|
301153
300855
|
}
|
|
301154
|
-
const deleteByChar = (target, forward) => deleteBy(target, (
|
|
301155
|
-
let { state } = target, line = state.doc.lineAt(pos), before, targetPos;
|
|
300856
|
+
const deleteByChar = (target, forward) => deleteBy(target, (range2) => {
|
|
300857
|
+
let pos = range2.from, { state } = target, line = state.doc.lineAt(pos), before, targetPos;
|
|
301156
300858
|
if (!forward && pos > line.from && pos < line.from + 200 && !/[^ \t]/.test(before = line.text.slice(0, pos - line.from))) {
|
|
301157
300859
|
if (before[before.length - 1] == " ")
|
|
301158
300860
|
return pos - 1;
|
|
@@ -301169,12 +300871,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301169
300871
|
});
|
|
301170
300872
|
const deleteCharBackward = (view) => deleteByChar(view, false);
|
|
301171
300873
|
const deleteCharForward = (view) => deleteByChar(view, true);
|
|
301172
|
-
const deleteByGroup = (target, forward) => deleteBy(target, (
|
|
301173
|
-
let pos =
|
|
300874
|
+
const deleteByGroup = (target, forward) => deleteBy(target, (range2) => {
|
|
300875
|
+
let pos = range2.head, { state } = target, line = state.doc.lineAt(pos);
|
|
301174
300876
|
let categorize = state.charCategorizer(pos);
|
|
301175
300877
|
for (let cat = null; ; ) {
|
|
301176
300878
|
if (pos == (forward ? line.to : line.from)) {
|
|
301177
|
-
if (pos ==
|
|
300879
|
+
if (pos == range2.head && line.number != (forward ? state.doc.lines : 1))
|
|
301178
300880
|
pos += forward ? 1 : -1;
|
|
301179
300881
|
break;
|
|
301180
300882
|
}
|
|
@@ -301183,7 +300885,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301183
300885
|
let nextCat = categorize(nextChar2);
|
|
301184
300886
|
if (cat != null && nextCat != cat)
|
|
301185
300887
|
break;
|
|
301186
|
-
if (nextChar2 != " " || pos !=
|
|
300888
|
+
if (nextChar2 != " " || pos != range2.head)
|
|
301187
300889
|
cat = nextCat;
|
|
301188
300890
|
pos = next2;
|
|
301189
300891
|
}
|
|
@@ -301191,13 +300893,17 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301191
300893
|
});
|
|
301192
300894
|
const deleteGroupBackward = (target) => deleteByGroup(target, false);
|
|
301193
300895
|
const deleteGroupForward = (target) => deleteByGroup(target, true);
|
|
301194
|
-
const deleteToLineEnd = (view) => deleteBy(view, (
|
|
301195
|
-
let lineEnd = view.lineBlockAt(
|
|
301196
|
-
return
|
|
300896
|
+
const deleteToLineEnd = (view) => deleteBy(view, (range2) => {
|
|
300897
|
+
let lineEnd = view.lineBlockAt(range2.head).to;
|
|
300898
|
+
return range2.head < lineEnd ? lineEnd : Math.min(view.state.doc.length, range2.head + 1);
|
|
300899
|
+
});
|
|
300900
|
+
const deleteLineBoundaryBackward = (view) => deleteBy(view, (range2) => {
|
|
300901
|
+
let lineStart = view.moveToLineBoundary(range2, false).head;
|
|
300902
|
+
return range2.head > lineStart ? lineStart : Math.max(0, range2.head - 1);
|
|
301197
300903
|
});
|
|
301198
|
-
const
|
|
301199
|
-
let lineStart = view.
|
|
301200
|
-
return
|
|
300904
|
+
const deleteLineBoundaryForward = (view) => deleteBy(view, (range2) => {
|
|
300905
|
+
let lineStart = view.moveToLineBoundary(range2, true).head;
|
|
300906
|
+
return range2.head < lineStart ? lineStart : Math.min(view.state.doc.length, range2.head + 1);
|
|
301201
300907
|
});
|
|
301202
300908
|
const splitLine = ({ state, dispatch: dispatch2 }) => {
|
|
301203
300909
|
if (state.readOnly)
|
|
@@ -301456,8 +301162,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301456
301162
|
{ key: "Delete", run: deleteCharForward },
|
|
301457
301163
|
{ key: "Mod-Backspace", mac: "Alt-Backspace", run: deleteGroupBackward },
|
|
301458
301164
|
{ key: "Mod-Delete", mac: "Alt-Delete", run: deleteGroupForward },
|
|
301459
|
-
{ mac: "Mod-Backspace", run:
|
|
301460
|
-
{ mac: "Mod-Delete", run:
|
|
301165
|
+
{ mac: "Mod-Backspace", run: deleteLineBoundaryBackward },
|
|
301166
|
+
{ mac: "Mod-Delete", run: deleteLineBoundaryForward }
|
|
301461
301167
|
].concat(/* @__PURE__ */ emacsStyleKeymap.map((b2) => ({ mac: b2.key, run: b2.run, shift: b2.shift })));
|
|
301462
301168
|
const defaultKeymap = /* @__PURE__ */ [
|
|
301463
301169
|
{ key: "Alt-ArrowLeft", mac: "Ctrl-ArrowLeft", run: cursorSyntaxLeft, shift: selectSyntaxLeft },
|
|
@@ -301679,6 +301385,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301679
301385
|
stack.pushState(s2, this.pos);
|
|
301680
301386
|
stack.storeNode(0, stack.pos, stack.pos, 4, true);
|
|
301681
301387
|
stack.shiftContext(nextStates[i2], this.pos);
|
|
301388
|
+
stack.reducePos = this.pos;
|
|
301682
301389
|
stack.score -= 200;
|
|
301683
301390
|
result.push(stack);
|
|
301684
301391
|
}
|
|
@@ -301746,6 +301453,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301746
301453
|
return parser2.data[parser2.stateSlot(this.state, 1)] == 65535 && !parser2.stateSlot(this.state, 4);
|
|
301747
301454
|
}
|
|
301748
301455
|
restart() {
|
|
301456
|
+
this.storeNode(0, this.pos, this.pos, 4, true);
|
|
301749
301457
|
this.state = this.stack[0];
|
|
301750
301458
|
this.stack.length = 0;
|
|
301751
301459
|
}
|
|
@@ -307869,8 +307577,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
307869
307577
|
};
|
|
307870
307578
|
var implementation = implementation$1;
|
|
307871
307579
|
var functionBind = Function.prototype.bind || implementation;
|
|
307872
|
-
var
|
|
307873
|
-
var
|
|
307580
|
+
var hasOwnProperty$4 = {}.hasOwnProperty;
|
|
307581
|
+
var call = Function.prototype.call;
|
|
307582
|
+
var src$1 = call.bind ? call.bind(hasOwnProperty$4) : function(O2, P2) {
|
|
307583
|
+
return call.call(hasOwnProperty$4, O2, P2);
|
|
307584
|
+
};
|
|
307874
307585
|
var undefined$1;
|
|
307875
307586
|
var $SyntaxError = SyntaxError;
|
|
307876
307587
|
var $Function = Function;
|
|
@@ -332505,7 +332216,7 @@ ${e3}`);
|
|
|
332505
332216
|
}
|
|
332506
332217
|
reduce(callback, initialValue) {
|
|
332507
332218
|
if (initialValue === void 0) {
|
|
332508
|
-
const
|
|
332219
|
+
const call2 = callback;
|
|
332509
332220
|
let first = true;
|
|
332510
332221
|
let accumulator = void 0;
|
|
332511
332222
|
for (const [index2, element2] of this.entries()) {
|
|
@@ -332513,7 +332224,7 @@ ${e3}`);
|
|
|
332513
332224
|
accumulator = element2;
|
|
332514
332225
|
first = false;
|
|
332515
332226
|
} else {
|
|
332516
|
-
accumulator =
|
|
332227
|
+
accumulator = call2(accumulator, element2, index2);
|
|
332517
332228
|
}
|
|
332518
332229
|
}
|
|
332519
332230
|
if (first) {
|
|
@@ -332521,10 +332232,10 @@ ${e3}`);
|
|
|
332521
332232
|
}
|
|
332522
332233
|
return accumulator;
|
|
332523
332234
|
} else {
|
|
332524
|
-
const
|
|
332235
|
+
const call2 = callback;
|
|
332525
332236
|
let accumulator = initialValue;
|
|
332526
332237
|
for (const [index2, element2] of this.entries()) {
|
|
332527
|
-
accumulator =
|
|
332238
|
+
accumulator = call2(accumulator, element2, index2);
|
|
332528
332239
|
}
|
|
332529
332240
|
return accumulator;
|
|
332530
332241
|
}
|