@synerise/ds-date-range-picker 0.31.0 → 0.31.2
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/CHANGELOG.md +20 -0
- package/dist/DateRangePicker.js +8 -4
- package/dist/DateRangePicker.styles.js +16 -16
- package/dist/DateRangePicker.types.js +0 -1
- package/dist/Footer/Footer.js +8 -4
- package/dist/RangeFilter/Filters/MonthlyFilter/MonthlyFilter.js +11 -5
- package/dist/RangeFilter/Filters/new/Daily/Daily.js +7 -3
- package/dist/RangeFilter/Filters/new/Monthly/Monthly.js +8 -4
- package/dist/RangeFilter/Filters/new/Weekly/Weekly.js +7 -3
- package/dist/RangeFilter/RangeFilter.js +10 -4
- package/dist/RangeFilter/Shared/AddButton/AddButton.js +1 -1
- package/dist/RangeFilter/Shared/RangeFilterStatus/RangeFilterStatus.styles.d.ts +8 -8
- package/dist/RangeFilter/Shared/TimeWindow/Day/Day.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeFormContainer/RangeForm/RangeForm.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeFormContainer/RangeFormContainer.js +7 -3
- package/dist/RangeFilter/Shared/TimeWindow/TimeWindow.js +11 -5
- package/dist/RangeFilter/utils.js +7 -3
- package/dist/RangePicker/RangePicker.js +39 -33
- package/dist/RangePickerInput/RangePickerInput.js +7 -3
- package/dist/RawDateRangePicker.js +11 -5
- package/dist/RelativeRangePicker/Elements/TimestampRange/TimestampRange.js +7 -3
- package/dist/RelativeRangePicker/RelativeRangePicker.js +10 -4
- package/dist/RelativeRangePicker/RelativeRangePicker.styles.js +1 -1
- package/dist/RelativeRangePicker/utils/findMatchingPreset.utils.js +7 -3
- package/dist/RelativeRangePicker/utils/updatePresetKey.utils.js +7 -3
- package/dist/utils.js +68 -64
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.31.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@0.31.1...@synerise/ds-date-range-picker@0.31.2) (2024-11-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** onError fn types ([c34bdfe](https://github.com/Synerise/synerise-design/commit/c34bdfe9da898d7999c605f9fbcbba4716dfb6d4))
|
|
12
|
+
* **factors:** deep merge of default and prop texts ([787b436](https://github.com/Synerise/synerise-design/commit/787b4367213922eca21292a0a933c7ff5c241dd9))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [0.31.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@0.31.0...@synerise/ds-date-range-picker@0.31.1) (2024-11-12)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @synerise/ds-date-range-picker
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [0.31.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@0.30.5...@synerise/ds-date-range-picker@0.31.0) (2024-11-12)
|
|
7
27
|
|
|
8
28
|
|
package/dist/DateRangePicker.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
|
|
9
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
10
|
+
|
|
11
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
12
|
|
|
9
13
|
import React, { useCallback, useState, useRef, useMemo, useEffect } from 'react';
|
|
10
14
|
import { isEqual } from 'lodash';
|
|
@@ -51,37 +51,37 @@ export var PickerWrapper = styled.div.withConfig({
|
|
|
51
51
|
displayName: "DateRangePickerstyles__PickerWrapper",
|
|
52
52
|
componentId: "zmtbjf-5"
|
|
53
53
|
})([".ant-popover.ds-date-range-popover > .ant-popover-content{margin:-5px 0;}.ant-dropdown.ds-date-range-popover > .ant-popover-arrow.ant-popover-arrow.ant-popover-arrow.ant-popover-arrow{display:none !important;}.ant-dropdown.ds-date-range-popover > .ant-popover-content > .ant-popover-inner{background:transparent;}.ant-dropdown.ds-date-range-popover > .ant-popover-content > .ant-popover-inner > .ant-popover-inner-content{padding:0;}.ant-dropdown.ds-date-range-popover .ds-date-range-picker{box-shadow:0 16px 32px 0 rgba(35,41,54,0.1);padding:16px;}.ant-popover.ds-date-range-popover.ant-popover-placement-bottomLeft > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}.ant-popover.ds-date-range-popover.ant-popover-placement-bottomRight > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}.ant-popover.ds-date-range-popover.ant-popover-placement-rightTop > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}.ant-popover.ds-date-range-popover.ant-popover-placement-rightBottom > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}.ant-popover.ds-date-range-popover.ant-popover-placement-leftBottom > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}.ant-popover.ds-date-range-popover.ant-popover-placement-leftTop > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}.ant-popover.ds-date-range-popover.ant-popover-placement-topRight > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}.ant-popover.ds-date-range-popover.ant-popover-placement-topLeft > .ant-popover-content > .ant-popover-arrow{background-color:", ";border-style:none;border-width:0;}"], function (props) {
|
|
54
|
-
var _props$theme$palette
|
|
54
|
+
var _props$theme$palette, _props$arrowColor, _props$arrowColor2;
|
|
55
55
|
|
|
56
|
-
return props.arrowColor ? (_props$theme$palette
|
|
56
|
+
return props.arrowColor ? (_props$theme$palette = props.theme.palette[((_props$arrowColor = props.arrowColor) == null ? void 0 : _props$arrowColor.bottomLeft) + "-050"]) != null ? _props$theme$palette : (_props$arrowColor2 = props.arrowColor) == null ? void 0 : _props$arrowColor2.bottomLeft : props.theme.palette.white;
|
|
57
57
|
}, function (props) {
|
|
58
|
-
var _props$theme$
|
|
58
|
+
var _props$theme$palette2, _props$arrowColor3, _props$arrowColor4;
|
|
59
59
|
|
|
60
|
-
return props.arrowColor ? (_props$theme$
|
|
60
|
+
return props.arrowColor ? (_props$theme$palette2 = props.theme.palette[((_props$arrowColor3 = props.arrowColor) == null ? void 0 : _props$arrowColor3.bottomRight) + "-050"]) != null ? _props$theme$palette2 : (_props$arrowColor4 = props.arrowColor) == null ? void 0 : _props$arrowColor4.bottomRight : props.theme.palette.white;
|
|
61
61
|
}, function (props) {
|
|
62
|
-
var _props$theme$
|
|
62
|
+
var _props$theme$palette3, _props$arrowColor5, _props$arrowColor6;
|
|
63
63
|
|
|
64
|
-
return props.arrowColor ? (_props$theme$
|
|
64
|
+
return props.arrowColor ? (_props$theme$palette3 = props.theme.palette[((_props$arrowColor5 = props.arrowColor) == null ? void 0 : _props$arrowColor5.rightTop) + "-050"]) != null ? _props$theme$palette3 : (_props$arrowColor6 = props.arrowColor) == null ? void 0 : _props$arrowColor6.rightTop : props.theme.palette.white;
|
|
65
65
|
}, function (props) {
|
|
66
|
-
var _props$theme$
|
|
66
|
+
var _props$theme$palette4, _props$arrowColor7, _props$arrowColor8;
|
|
67
67
|
|
|
68
|
-
return props.arrowColor ? (_props$theme$
|
|
68
|
+
return props.arrowColor ? (_props$theme$palette4 = props.theme.palette[((_props$arrowColor7 = props.arrowColor) == null ? void 0 : _props$arrowColor7.rightBottom) + "-050"]) != null ? _props$theme$palette4 : (_props$arrowColor8 = props.arrowColor) == null ? void 0 : _props$arrowColor8.rightBottom : props.theme.palette.white;
|
|
69
69
|
}, function (props) {
|
|
70
|
-
var _props$theme$
|
|
70
|
+
var _props$theme$palette5, _props$arrowColor9, _props$arrowColor10;
|
|
71
71
|
|
|
72
|
-
return props.arrowColor ? (_props$theme$
|
|
72
|
+
return props.arrowColor ? (_props$theme$palette5 = props.theme.palette[((_props$arrowColor9 = props.arrowColor) == null ? void 0 : _props$arrowColor9.leftBottom) + "-050"]) != null ? _props$theme$palette5 : (_props$arrowColor10 = props.arrowColor) == null ? void 0 : _props$arrowColor10.leftBottom : props.theme.palette.white;
|
|
73
73
|
}, function (props) {
|
|
74
|
-
var _props$theme$
|
|
74
|
+
var _props$theme$palette6, _props$arrowColor11, _props$arrowColor12;
|
|
75
75
|
|
|
76
|
-
return props.arrowColor ? (_props$theme$
|
|
76
|
+
return props.arrowColor ? (_props$theme$palette6 = props.theme.palette[((_props$arrowColor11 = props.arrowColor) == null ? void 0 : _props$arrowColor11.leftTop) + "-050"]) != null ? _props$theme$palette6 : (_props$arrowColor12 = props.arrowColor) == null ? void 0 : _props$arrowColor12.leftTop : props.theme.palette.white;
|
|
77
77
|
}, function (props) {
|
|
78
|
-
var _props$theme$
|
|
78
|
+
var _props$theme$palette7, _props$arrowColor13, _props$arrowColor14;
|
|
79
79
|
|
|
80
|
-
return props.arrowColor ? (_props$theme$
|
|
80
|
+
return props.arrowColor ? (_props$theme$palette7 = props.theme.palette[((_props$arrowColor13 = props.arrowColor) == null ? void 0 : _props$arrowColor13.topRight) + "-050"]) != null ? _props$theme$palette7 : (_props$arrowColor14 = props.arrowColor) == null ? void 0 : _props$arrowColor14.topRight : props.theme.palette['grey-050'];
|
|
81
81
|
}, function (props) {
|
|
82
|
-
var _props$theme$
|
|
82
|
+
var _props$theme$palette8, _props$arrowColor15, _props$arrowColor16;
|
|
83
83
|
|
|
84
|
-
return props.arrowColor ? (_props$theme$
|
|
84
|
+
return props.arrowColor ? (_props$theme$palette8 = props.theme.palette[((_props$arrowColor15 = props.arrowColor) == null ? void 0 : _props$arrowColor15.topLeft) + "-050"]) != null ? _props$theme$palette8 : (_props$arrowColor16 = props.arrowColor) == null ? void 0 : _props$arrowColor16.topLeft : props.theme.palette['grey-050'];
|
|
85
85
|
});
|
|
86
86
|
export var OverlayContainer = styled.div.withConfig({
|
|
87
87
|
displayName: "DateRangePickerstyles__OverlayContainer",
|
package/dist/Footer/Footer.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
var _excluded = ["canApply", "onApply", "intl", "canSwitchMode", "onSwitchMode", "mode", "dateOnly", "message", "texts", "value", "format", "valueFormatOptions", "showTime", "displayDateContainerClass"];
|
|
2
2
|
|
|
3
|
-
function _extends() { _extends = Object.assign
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
|
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
5
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
8
|
|
|
9
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
12
|
+
|
|
13
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
14
|
|
|
11
15
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
16
|
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass
|
|
7
|
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
10
|
+
|
|
11
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
+
|
|
13
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
14
|
+
|
|
15
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
16
|
|
|
11
17
|
import React from 'react';
|
|
12
18
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
import React, { useMemo, useCallback } from 'react';
|
|
8
12
|
import { useIntl } from 'react-intl';
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
|
|
9
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
10
|
+
|
|
11
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
12
|
|
|
9
13
|
import React from 'react';
|
|
10
14
|
import { useIntl } from 'react-intl';
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
import React, { useRef, useEffect, useCallback, useState, useMemo } from 'react';
|
|
8
12
|
import { useIntl } from 'react-intl';
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass
|
|
5
|
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
12
|
+
|
|
13
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
14
|
|
|
9
15
|
import React from 'react';
|
|
10
16
|
import { cloneDeep } from 'lodash';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["label"];
|
|
2
2
|
|
|
3
|
-
function _extends() { _extends = Object.assign
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
|
|
5
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
|
|
@@ -294,22 +294,22 @@ export declare const ContentItem: import("styled-components").StyledComponent<im
|
|
|
294
294
|
id: import("react").ReactText;
|
|
295
295
|
name: string;
|
|
296
296
|
}) => void) | undefined;
|
|
297
|
+
changeOrderDisabled?: boolean | undefined;
|
|
297
298
|
dashed?: boolean | undefined;
|
|
298
|
-
|
|
299
|
+
expanded?: boolean | undefined;
|
|
300
|
+
headerPrefix?: import("react").ReactNode;
|
|
301
|
+
headerSuffix?: import("react").ReactNode;
|
|
302
|
+
hideExpander?: boolean | undefined;
|
|
303
|
+
onDuplicate?: ((duplicateParams: {
|
|
299
304
|
id: import("react").ReactText;
|
|
300
305
|
}) => void) | undefined;
|
|
301
|
-
|
|
306
|
+
onExpand?: ((id: import("react").ReactText, isExpanded: boolean) => void) | undefined;
|
|
307
|
+
onRemove?: ((removeParams: {
|
|
302
308
|
id: import("react").ReactText;
|
|
303
309
|
}) => void) | undefined;
|
|
304
|
-
changeOrderDisabled?: boolean | undefined;
|
|
305
310
|
texts?: {
|
|
306
311
|
[k: string]: import("react").ReactNode;
|
|
307
312
|
} | undefined;
|
|
308
|
-
hideExpander?: boolean | undefined;
|
|
309
|
-
expanded?: boolean | undefined;
|
|
310
|
-
onExpand?: ((id: import("react").ReactText, isExpanded: boolean) => void) | undefined;
|
|
311
|
-
headerSuffix?: import("react").ReactNode;
|
|
312
|
-
headerPrefix?: import("react").ReactNode;
|
|
313
313
|
contentWithoutPadding?: boolean | undefined;
|
|
314
314
|
onMoveTop?: ((item: {
|
|
315
315
|
id: import("react").ReactText;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["active", "label", "onToggle", "onClear", "readOnly", "restricted", "dayKey", "texts", "intl"];
|
|
2
2
|
|
|
3
|
-
function _extends() { _extends = Object.assign
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
|
|
5
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { useIntl } from 'react-intl';
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
import React from 'react';
|
|
8
12
|
import RangeForm from './RangeForm/RangeForm';
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
var _excluded = ["days", "numberOfDays", "daily", "intl", "texts", "disabled"];
|
|
2
2
|
|
|
3
|
-
function _extends() { _extends = Object.assign
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
|
|
5
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
|
|
7
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
7
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
8
|
|
|
9
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
9
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10
10
|
|
|
11
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass
|
|
11
|
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
12
12
|
|
|
13
|
-
function
|
|
13
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
14
|
+
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
18
|
+
|
|
19
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
14
20
|
|
|
15
21
|
import React, { PureComponent, createRef } from 'react';
|
|
16
22
|
import { range } from 'lodash';
|
|
@@ -5,11 +5,15 @@ var _excluded = ["start", "stop", "day"],
|
|
|
5
5
|
_excluded3 = ["restricted", "display"],
|
|
6
6
|
_excluded4 = ["restricted", "display"];
|
|
7
7
|
|
|
8
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
8
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9
9
|
|
|
10
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
10
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11
11
|
|
|
12
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
|
+
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
15
|
+
|
|
16
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
13
17
|
|
|
14
18
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
15
19
|
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass
|
|
5
|
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
12
|
+
|
|
13
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
14
|
|
|
9
15
|
import React, { PureComponent } from 'react';
|
|
10
16
|
import { DateUtils } from 'react-day-picker';
|
|
@@ -135,9 +141,9 @@ var RangePicker = /*#__PURE__*/function (_PureComponent) {
|
|
|
135
141
|
|
|
136
142
|
_defineProperty(_this, "handleAddDay", function (numberOfDays, side) {
|
|
137
143
|
if (side === COLUMNS.LEFT) {
|
|
138
|
-
var _this$
|
|
139
|
-
onChange = _this$
|
|
140
|
-
value = _this$
|
|
144
|
+
var _this$props4 = _this.props,
|
|
145
|
+
onChange = _this$props4.onChange,
|
|
146
|
+
value = _this$props4.value;
|
|
141
147
|
onChange(_objectSpread({}, value, {
|
|
142
148
|
type: ABSOLUTE,
|
|
143
149
|
from: fnsAddDays(legacyParse(value.from), numberOfDays)
|
|
@@ -145,9 +151,9 @@ var RangePicker = /*#__PURE__*/function (_PureComponent) {
|
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
if (side === COLUMNS.RIGHT) {
|
|
148
|
-
var _this$
|
|
149
|
-
_onChange = _this$
|
|
150
|
-
_value = _this$
|
|
154
|
+
var _this$props5 = _this.props,
|
|
155
|
+
_onChange = _this$props5.onChange,
|
|
156
|
+
_value = _this$props5.value;
|
|
151
157
|
|
|
152
158
|
_onChange(_objectSpread({}, _value, {
|
|
153
159
|
type: ABSOLUTE,
|
|
@@ -217,10 +223,10 @@ var RangePicker = /*#__PURE__*/function (_PureComponent) {
|
|
|
217
223
|
|
|
218
224
|
_defineProperty(_this, "renderDay", function (day) {
|
|
219
225
|
var text = day.getDate();
|
|
220
|
-
var _this$
|
|
221
|
-
value = _this$
|
|
222
|
-
intl = _this$
|
|
223
|
-
formatValue = _this$
|
|
226
|
+
var _this$props6 = _this.props,
|
|
227
|
+
value = _this$props6.value,
|
|
228
|
+
intl = _this$props6.intl,
|
|
229
|
+
formatValue = _this$props6.formatValue;
|
|
224
230
|
|
|
225
231
|
var formatDate = function formatDate(date) {
|
|
226
232
|
if (typeof date === 'string') {
|
|
@@ -270,10 +276,10 @@ var RangePicker = /*#__PURE__*/function (_PureComponent) {
|
|
|
270
276
|
});
|
|
271
277
|
|
|
272
278
|
_defineProperty(_this, "renderDatePicker", function (side) {
|
|
273
|
-
var _this$
|
|
274
|
-
value = _this$
|
|
275
|
-
disabledDate = _this$
|
|
276
|
-
forceAdjacentMonths = _this$
|
|
279
|
+
var _this$props7 = _this.props,
|
|
280
|
+
value = _this$props7.value,
|
|
281
|
+
disabledDate = _this$props7.disabledDate,
|
|
282
|
+
forceAdjacentMonths = _this$props7.forceAdjacentMonths;
|
|
277
283
|
var _this$state2 = _this.state,
|
|
278
284
|
enteredTo = _this$state2.enteredTo,
|
|
279
285
|
left = _this$state2.left,
|
|
@@ -329,9 +335,9 @@ var RangePicker = /*#__PURE__*/function (_PureComponent) {
|
|
|
329
335
|
});
|
|
330
336
|
|
|
331
337
|
_defineProperty(_this, "renderTimePicker", function (side) {
|
|
332
|
-
var _this$
|
|
333
|
-
value = _this$
|
|
334
|
-
is12HoursClock = _this$
|
|
338
|
+
var _this$props8 = _this.props,
|
|
339
|
+
value = _this$props8.value,
|
|
340
|
+
is12HoursClock = _this$props8.is12HoursClock;
|
|
335
341
|
var from = value.from,
|
|
336
342
|
to = value.to;
|
|
337
343
|
|
|
@@ -416,10 +422,10 @@ var RangePicker = /*#__PURE__*/function (_PureComponent) {
|
|
|
416
422
|
_proto.getSnapshotBeforeUpdate = function getSnapshotBeforeUpdate(prevProps) {
|
|
417
423
|
var _prevProps$value, _prevProps$value2;
|
|
418
424
|
|
|
419
|
-
var _this$
|
|
420
|
-
value = _this$
|
|
421
|
-
forceAdjacentMonths = _this$
|
|
422
|
-
startAlwaysOnTheLeft = _this$
|
|
425
|
+
var _this$props9 = this.props,
|
|
426
|
+
value = _this$props9.value,
|
|
427
|
+
forceAdjacentMonths = _this$props9.forceAdjacentMonths,
|
|
428
|
+
startAlwaysOnTheLeft = _this$props9.startAlwaysOnTheLeft;
|
|
423
429
|
var _this$props$jumpToSta = this.props.jumpToStartAndEnd,
|
|
424
430
|
jumpToStartAndEnd = _this$props$jumpToSta === void 0 ? true : _this$props$jumpToSta;
|
|
425
431
|
var _this$state3 = this.state,
|
|
@@ -458,14 +464,14 @@ var RangePicker = /*#__PURE__*/function (_PureComponent) {
|
|
|
458
464
|
};
|
|
459
465
|
|
|
460
466
|
_proto.render = function render() {
|
|
461
|
-
var _this$
|
|
462
|
-
mode = _this$
|
|
463
|
-
onChange = _this$
|
|
464
|
-
value = _this$
|
|
465
|
-
canSwitchMode = _this$
|
|
466
|
-
dateOnly = _this$
|
|
467
|
-
onSwitchMode = _this$
|
|
468
|
-
texts = _this$
|
|
467
|
+
var _this$props10 = this.props,
|
|
468
|
+
mode = _this$props10.mode,
|
|
469
|
+
onChange = _this$props10.onChange,
|
|
470
|
+
value = _this$props10.value,
|
|
471
|
+
canSwitchMode = _this$props10.canSwitchMode,
|
|
472
|
+
dateOnly = _this$props10.dateOnly,
|
|
473
|
+
onSwitchMode = _this$props10.onSwitchMode,
|
|
474
|
+
texts = _this$props10.texts;
|
|
469
475
|
var _this$props$showNowBu = this.props.showNowButton,
|
|
470
476
|
showNowButton = _this$props$showNowBu === void 0 ? true : _this$props$showNowBu;
|
|
471
477
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(S.Sides, null, /*#__PURE__*/React.createElement(S.Side, {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
import React, { useCallback, useMemo, useState } from 'react';
|
|
8
12
|
import Icon, { ArrowRightS, CalendarM, Close3S } from '@synerise/ds-icon';
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass
|
|
3
|
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
4
4
|
|
|
5
|
-
function
|
|
5
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
8
|
|
|
9
|
-
function
|
|
9
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10
|
+
|
|
11
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
+
|
|
13
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
14
|
+
|
|
15
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
16
|
|
|
11
17
|
import React, { PureComponent } from 'react';
|
|
12
18
|
import { omitBy, isUndefined } from 'lodash';
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
8
12
|
import React from 'react';
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass
|
|
5
|
+
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
12
|
+
|
|
13
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
14
|
|
|
9
15
|
import React from 'react';
|
|
10
16
|
import { injectIntl } from 'react-intl';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["children"],
|
|
2
2
|
_excluded2 = ["children"];
|
|
3
3
|
|
|
4
|
-
function _extends() { _extends = Object.assign
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
5
|
|
|
6
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7
7
|
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
import * as CONST from '../../constants';
|
|
8
12
|
export var findMatchingPreset = function findMatchingPreset(range) {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
import { findMatchingPreset } from './findMatchingPreset.utils';
|
|
8
12
|
import { CUSTOM_RANGE_KEY } from '../../constants';
|
package/dist/utils.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
2
|
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
|
|
5
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8
|
+
|
|
9
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
10
|
|
|
7
11
|
import fnsMin from 'date-fns/min';
|
|
8
12
|
import fnsMax from 'date-fns/max';
|
|
@@ -120,55 +124,55 @@ var getIntlMessage = function getIntlMessage(textMessageId, intl, areDefaultText
|
|
|
120
124
|
|
|
121
125
|
export var getDefaultTexts = function getDefaultTexts(intl, disableDefault, texts) {
|
|
122
126
|
var defaultTexts = {
|
|
123
|
-
apply: getIntlMessage("DS.DATE-RANGE-PICKER.APPLY", intl, disableDefault),
|
|
124
|
-
after: getIntlMessage("DS.DATE-RANGE-PICKER.AFTER", intl, disableDefault),
|
|
125
|
-
allTime: getIntlMessage("DS.DATE-RANGE-PICKER.ALL-TIME", intl, disableDefault),
|
|
126
|
-
before: getIntlMessage("DS.DATE-RANGE-PICKER.BEFORE", intl, disableDefault),
|
|
127
|
-
custom: getIntlMessage("DS.DATE-RANGE-PICKER.CUSTOM", intl, disableDefault),
|
|
128
|
-
clear: getIntlMessage("DS.DATE-RANGE-PICKER.CLEAR", intl, disableDefault),
|
|
127
|
+
apply: getIntlMessage("DS.DATE-RANGE-PICKER.APPLY", intl, disableDefault, 'Apply'),
|
|
128
|
+
after: getIntlMessage("DS.DATE-RANGE-PICKER.AFTER", intl, disableDefault, 'After'),
|
|
129
|
+
allTime: getIntlMessage("DS.DATE-RANGE-PICKER.ALL-TIME", intl, disableDefault, 'Lifetime'),
|
|
130
|
+
before: getIntlMessage("DS.DATE-RANGE-PICKER.BEFORE", intl, disableDefault, 'Before'),
|
|
131
|
+
custom: getIntlMessage("DS.DATE-RANGE-PICKER.CUSTOM", intl, disableDefault, 'Custom'),
|
|
132
|
+
clear: getIntlMessage("DS.DATE-RANGE-PICKER.CLEAR", intl, disableDefault, 'Clear'),
|
|
129
133
|
clickToSelect: getIntlMessage("DS.DATE-RANGE-PICKER.CLICK-TO-SELECT", intl, disableDefault, 'Click to select'),
|
|
130
|
-
days: getIntlMessage("DS.DATE-RANGE-PICKER.DAYS", intl, disableDefault),
|
|
131
|
-
emptyDateError: getIntlMessage("DS.DATE-RANGE-PICKER.EMPTY-DATE-ERROR", intl, disableDefault),
|
|
132
|
-
endDate: getIntlMessage("DS.DATE-RANGE-PICKER.END-DATE", intl, disableDefault),
|
|
133
|
-
endDatePlaceholder: getIntlMessage("DS.DATE-RANGE-PICKER.END-DATE-PLACEHOLDER", intl, disableDefault),
|
|
134
|
-
filter: getIntlMessage("DS.DATE-RANGE-PICKER.FILTER", intl, disableDefault),
|
|
135
|
-
hours: getIntlMessage("DS.DATE-RANGE-PICKER.HOURS", intl, disableDefault),
|
|
136
|
-
last: getIntlMessage("DS.DATE-RANGE-PICKER.LAST", intl, disableDefault),
|
|
137
|
-
last3Months: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-3-MONTHS", intl, disableDefault),
|
|
138
|
-
last6Months: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-6-MONTHS", intl, disableDefault),
|
|
139
|
-
lastMonth: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-MONTH", intl, disableDefault),
|
|
140
|
-
lastWeek: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-WEEK", intl, disableDefault),
|
|
141
|
-
lastYear: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-YEAR", intl, disableDefault),
|
|
142
|
-
last7Days: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-7-DAYS", intl, disableDefault),
|
|
143
|
-
minutes: getIntlMessage("DS.DATE-RANGE-PICKER.MINUTES", intl, disableDefault),
|
|
144
|
-
months: getIntlMessage("DS.DATE-RANGE-PICKER.MONTHS", intl, disableDefault),
|
|
145
|
-
more: getIntlMessage("DS.DATE-RANGE-PICKER.MORE", intl, disableDefault),
|
|
146
|
-
next: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT", intl, disableDefault),
|
|
147
|
-
next3Months: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-3-MONTHS", intl, disableDefault),
|
|
148
|
-
next6Months: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-6-MONTHS", intl, disableDefault),
|
|
149
|
-
next7Days: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-7-DAYS", intl, disableDefault),
|
|
150
|
-
nextMonth: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-MONTH", intl, disableDefault),
|
|
151
|
-
nextWeek: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-WEEK", intl, disableDefault),
|
|
152
|
-
nextYear: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-YEAR", intl, disableDefault),
|
|
153
|
-
now: getIntlMessage("DS.DATE-RANGE-PICKER.NOW", intl, disableDefault),
|
|
154
|
-
relativeDateRange: getIntlMessage("DS.DATE-RANGE-PICKER.RELATIVE-DATE-RANGE", intl, disableDefault),
|
|
155
|
-
seconds: getIntlMessage("DS.DATE-RANGE-PICKER.SECONDS", intl, disableDefault),
|
|
156
|
-
selectDate: getIntlMessage("DS.DATE-RANGE-PICKER.SELECT-DATE", intl, disableDefault),
|
|
157
|
-
selectTime: getIntlMessage("DS.DATE-RANGE-PICKER.SELECT-TIME", intl, disableDefault),
|
|
158
|
-
since: getIntlMessage("DS.DATE-RANGE-PICKER.SINCE", intl, disableDefault),
|
|
159
|
-
startDate: getIntlMessage("DS.DATE-RANGE-PICKER.START-DATE", intl, disableDefault),
|
|
160
|
-
startDatePlaceholder: getIntlMessage("DS.DATE-RANGE-PICKER.START-DATE-PLACEHOLDER", intl, disableDefault),
|
|
161
|
-
thisMonth: getIntlMessage("DS.DATE-RANGE-PICKER.THIS-MONTH", intl, disableDefault),
|
|
162
|
-
thisWeek: getIntlMessage("DS.DATE-RANGE-PICKER.THIS-WEEK", intl, disableDefault),
|
|
163
|
-
timestampLast: getIntlMessage("DS.DATE-RANGE-PICKER.TIMESTAMP-LAST", intl, disableDefault),
|
|
164
|
-
timestampNext: getIntlMessage("DS.DATE-RANGE-PICKER.TIMESTAMP-NEXT", intl, disableDefault),
|
|
165
|
-
timestampTill: getIntlMessage("DS.DATE-RANGE-PICKER.TIMESTAMP-TILL", intl, disableDefault),
|
|
166
|
-
today: getIntlMessage("DS.DATE-RANGE-PICKER.TODAY", intl, disableDefault),
|
|
167
|
-
tomorrow: getIntlMessage("DS.DATE-RANGE-PICKER.TOMORROW", intl, disableDefault),
|
|
168
|
-
weeks: getIntlMessage("DS.DATE-RANGE-PICKER.WEEKS", intl, disableDefault),
|
|
169
|
-
years: getIntlMessage("DS.DATE-RANGE-PICKER.YEARS", intl, disableDefault),
|
|
170
|
-
yesterday: getIntlMessage("DS.DATE-RANGE-PICKER.YESTERDAY", intl, disableDefault),
|
|
171
|
-
pasteRange: getIntlMessage("DS.DATE-RANGE-PICKER.PASTE-RANGE", intl, disableDefault),
|
|
134
|
+
days: getIntlMessage("DS.DATE-RANGE-PICKER.DAYS", intl, disableDefault, 'days'),
|
|
135
|
+
emptyDateError: getIntlMessage("DS.DATE-RANGE-PICKER.EMPTY-DATE-ERROR", intl, disableDefault, 'Date cannot be empty'),
|
|
136
|
+
endDate: getIntlMessage("DS.DATE-RANGE-PICKER.END-DATE", intl, disableDefault, 'End date'),
|
|
137
|
+
endDatePlaceholder: getIntlMessage("DS.DATE-RANGE-PICKER.END-DATE-PLACEHOLDER", intl, disableDefault, 'End date'),
|
|
138
|
+
filter: getIntlMessage("DS.DATE-RANGE-PICKER.FILTER", intl, disableDefault, 'Filter'),
|
|
139
|
+
hours: getIntlMessage("DS.DATE-RANGE-PICKER.HOURS", intl, disableDefault, 'Hours'),
|
|
140
|
+
last: getIntlMessage("DS.DATE-RANGE-PICKER.LAST", intl, disableDefault, 'Last'),
|
|
141
|
+
last3Months: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-3-MONTHS", intl, disableDefault, 'Last 3 months'),
|
|
142
|
+
last6Months: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-6-MONTHS", intl, disableDefault, 'Last 6 months'),
|
|
143
|
+
lastMonth: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-MONTH", intl, disableDefault, 'Last month'),
|
|
144
|
+
lastWeek: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-WEEK", intl, disableDefault, 'Last week'),
|
|
145
|
+
lastYear: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-YEAR", intl, disableDefault, 'Last year'),
|
|
146
|
+
last7Days: getIntlMessage("DS.DATE-RANGE-PICKER.LAST-7-DAYS", intl, disableDefault, 'Last 7 days'),
|
|
147
|
+
minutes: getIntlMessage("DS.DATE-RANGE-PICKER.MINUTES", intl, disableDefault, 'Minutes'),
|
|
148
|
+
months: getIntlMessage("DS.DATE-RANGE-PICKER.MONTHS", intl, disableDefault, 'Months'),
|
|
149
|
+
more: getIntlMessage("DS.DATE-RANGE-PICKER.MORE", intl, disableDefault, 'More'),
|
|
150
|
+
next: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT", intl, disableDefault, 'Next'),
|
|
151
|
+
next3Months: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-3-MONTHS", intl, disableDefault, 'Next 3 months'),
|
|
152
|
+
next6Months: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-6-MONTHS", intl, disableDefault, 'Next 6 months'),
|
|
153
|
+
next7Days: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-7-DAYS", intl, disableDefault, 'Next 7 days'),
|
|
154
|
+
nextMonth: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-MONTH", intl, disableDefault, 'Next month'),
|
|
155
|
+
nextWeek: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-WEEK", intl, disableDefault, 'Next week'),
|
|
156
|
+
nextYear: getIntlMessage("DS.DATE-RANGE-PICKER.NEXT-YEAR", intl, disableDefault, 'Next year'),
|
|
157
|
+
now: getIntlMessage("DS.DATE-RANGE-PICKER.NOW", intl, disableDefault, 'Now'),
|
|
158
|
+
relativeDateRange: getIntlMessage("DS.DATE-RANGE-PICKER.RELATIVE-DATE-RANGE", intl, disableDefault, 'Relative date range'),
|
|
159
|
+
seconds: getIntlMessage("DS.DATE-RANGE-PICKER.SECONDS", intl, disableDefault, 'Seconds'),
|
|
160
|
+
selectDate: getIntlMessage("DS.DATE-RANGE-PICKER.SELECT-DATE", intl, disableDefault, 'Select date'),
|
|
161
|
+
selectTime: getIntlMessage("DS.DATE-RANGE-PICKER.SELECT-TIME", intl, disableDefault, 'Select time'),
|
|
162
|
+
since: getIntlMessage("DS.DATE-RANGE-PICKER.SINCE", intl, disableDefault, 'Since'),
|
|
163
|
+
startDate: getIntlMessage("DS.DATE-RANGE-PICKER.START-DATE", intl, disableDefault, 'Start date'),
|
|
164
|
+
startDatePlaceholder: getIntlMessage("DS.DATE-RANGE-PICKER.START-DATE-PLACEHOLDER", intl, disableDefault, 'Start date'),
|
|
165
|
+
thisMonth: getIntlMessage("DS.DATE-RANGE-PICKER.THIS-MONTH", intl, disableDefault, 'This month'),
|
|
166
|
+
thisWeek: getIntlMessage("DS.DATE-RANGE-PICKER.THIS-WEEK", intl, disableDefault, 'This week'),
|
|
167
|
+
timestampLast: getIntlMessage("DS.DATE-RANGE-PICKER.TIMESTAMP-LAST", intl, disableDefault, 'Last'),
|
|
168
|
+
timestampNext: getIntlMessage("DS.DATE-RANGE-PICKER.TIMESTAMP-NEXT", intl, disableDefault, 'Next'),
|
|
169
|
+
timestampTill: getIntlMessage("DS.DATE-RANGE-PICKER.TIMESTAMP-TILL", intl, disableDefault, 'Until'),
|
|
170
|
+
today: getIntlMessage("DS.DATE-RANGE-PICKER.TODAY", intl, disableDefault, 'Today'),
|
|
171
|
+
tomorrow: getIntlMessage("DS.DATE-RANGE-PICKER.TOMORROW", intl, disableDefault, 'Tomorrow'),
|
|
172
|
+
weeks: getIntlMessage("DS.DATE-RANGE-PICKER.WEEKS", intl, disableDefault, 'Weeks'),
|
|
173
|
+
years: getIntlMessage("DS.DATE-RANGE-PICKER.YEARS", intl, disableDefault, 'Years'),
|
|
174
|
+
yesterday: getIntlMessage("DS.DATE-RANGE-PICKER.YESTERDAY", intl, disableDefault, 'Yesterday'),
|
|
175
|
+
pasteRange: getIntlMessage("DS.DATE-RANGE-PICKER.PASTE-RANGE", intl, disableDefault, 'Paste range'),
|
|
172
176
|
clearRange: getIntlMessage("DS.DATE-RANGE-PICKER.CLEAR-RANGE", intl, disableDefault, 'Clear range'),
|
|
173
177
|
copyRange: getIntlMessage("DS.DATE-RANGE-PICKER.COPY-RANGE", intl, disableDefault, 'Copy range'),
|
|
174
178
|
remove: getIntlMessage("DS.DATE-RANGE-PICKER.REMOVE", intl, disableDefault, 'Remove'),
|
|
@@ -180,27 +184,27 @@ export var getDefaultTexts = function getDefaultTexts(intl, disableDefault, text
|
|
|
180
184
|
datesFilter: getIntlMessage("DS.DATE-RANGE-PICKER.DATES_FILTER", intl, disableDefault, 'Date filter'),
|
|
181
185
|
cancel: getIntlMessage("DS.DATE-RANGE-PICKER.CANCEL", intl, disableDefault, 'Cancel'),
|
|
182
186
|
everyDay: getIntlMessage("DS.DATE-RANGE-PICKER.EVERY_DAY", intl, disableDefault, 'Every day'),
|
|
183
|
-
nthDayOfMonth: getIntlMessage("DS.DATE-RANGE-PICKER.NTH-DAY-OF-MONTH", intl, disableDefault),
|
|
184
|
-
daysOf: getIntlMessage("DS.DATE-RANGE-PICKER.DAYS-OF", intl, disableDefault),
|
|
185
|
-
countedFrom: getIntlMessage("DS.DATE-RANGE-PICKER.COUNTED-FROM", intl, disableDefault),
|
|
186
|
-
addRule: getIntlMessage("DS.DATE-RANGE-PICKER.ADD-RULE", intl, disableDefault),
|
|
187
|
+
nthDayOfMonth: getIntlMessage("DS.DATE-RANGE-PICKER.NTH-DAY-OF-MONTH", intl, disableDefault, 'Day of month'),
|
|
188
|
+
daysOf: getIntlMessage("DS.DATE-RANGE-PICKER.DAYS-OF", intl, disableDefault, 'Days of'),
|
|
189
|
+
countedFrom: getIntlMessage("DS.DATE-RANGE-PICKER.COUNTED-FROM", intl, disableDefault, 'Counted from'),
|
|
190
|
+
addRule: getIntlMessage("DS.DATE-RANGE-PICKER.ADD-RULE", intl, disableDefault, 'Add rule'),
|
|
187
191
|
addTime: getIntlMessage("DS.DATE-RANGE-PICKER.ADD-TIME", intl, disableDefault, 'Add range'),
|
|
188
|
-
change: getIntlMessage("DS.DATE-RANGE-PICKER.CHANGE", intl, disableDefault),
|
|
189
|
-
weekly: getIntlMessage("DS.DATE-RANGE-PICKER.WEEKLY", intl, disableDefault),
|
|
192
|
+
change: getIntlMessage("DS.DATE-RANGE-PICKER.CHANGE", intl, disableDefault, 'Change'),
|
|
193
|
+
weekly: getIntlMessage("DS.DATE-RANGE-PICKER.WEEKLY", intl, disableDefault, 'Weekly'),
|
|
190
194
|
monthly: getIntlMessage("DS.DATE-RANGE-PICKER.MONTHLY", intl, disableDefault, 'Monthly'),
|
|
191
195
|
daily: getIntlMessage("DS.DATE-RANGE-PICKER.DAILY", intl, disableDefault, 'Daily'),
|
|
192
196
|
filterName: getIntlMessage("DS.DATE-RANGE-PICKER.FILTER-NAME", intl, disableDefault, 'Filter name'),
|
|
193
197
|
saveFilter: getIntlMessage("DS.DATE-RANGE-PICKER.SAVE-FILTER", intl, disableDefault, 'Save filter'),
|
|
194
198
|
selected: getIntlMessage("DS.DATE-RANGE-PICKER.SELECTED", intl, disableDefault, 'Selected'),
|
|
195
|
-
selectDaysDescription: getIntlMessage("DS.DATE-RANGE-PICKER.SELECT-DAYS-DESCRIPTION", intl, disableDefault),
|
|
199
|
+
selectDaysDescription: getIntlMessage("DS.DATE-RANGE-PICKER.SELECT-DAYS-DESCRIPTION", intl, disableDefault, 'Select days'),
|
|
196
200
|
selectAll: getIntlMessage("DS.DATE-RANGE-PICKER.SELECT-ALL", intl, disableDefault, 'Select all'),
|
|
197
201
|
unselectAll: getIntlMessage("DS.DATE-RANGE-PICKER.UNSELECT-ALL", intl, disableDefault, 'Unselect all'),
|
|
198
|
-
inverseSelection: getIntlMessage("DS.DATE-RANGE-PICKER.FILTER-INVERSE-SELECTION", intl, disableDefault),
|
|
199
|
-
setTimeFor: getIntlMessage("DS.DATE-RANGE-PICKER.SET_TIME_FOR", intl, disableDefault),
|
|
200
|
-
week: getIntlMessage("DS.DATE-RANGE-PICKER.IN-WEEK", intl, disableDefault),
|
|
201
|
-
month: getIntlMessage("DS.DATE-RANGE-PICKER.IN-MONTH", intl, disableDefault),
|
|
202
|
-
beginning: getIntlMessage("DS.DATE-RANGE-PICKER.BEGINNING", intl, disableDefault),
|
|
203
|
-
ending: getIntlMessage("DS.DATE-RANGE-PICKER.END", intl, disableDefault),
|
|
202
|
+
inverseSelection: getIntlMessage("DS.DATE-RANGE-PICKER.FILTER-INVERSE-SELECTION", intl, disableDefault, 'Inverse'),
|
|
203
|
+
setTimeFor: getIntlMessage("DS.DATE-RANGE-PICKER.SET_TIME_FOR", intl, disableDefault, 'Set time for'),
|
|
204
|
+
week: getIntlMessage("DS.DATE-RANGE-PICKER.IN-WEEK", intl, disableDefault, 'Week'),
|
|
205
|
+
month: getIntlMessage("DS.DATE-RANGE-PICKER.IN-MONTH", intl, disableDefault, 'Month'),
|
|
206
|
+
beginning: getIntlMessage("DS.DATE-RANGE-PICKER.BEGINNING", intl, disableDefault, 'Beginning'),
|
|
207
|
+
ending: getIntlMessage("DS.DATE-RANGE-PICKER.END", intl, disableDefault, 'Ending'),
|
|
204
208
|
maximumRanges: getIntlMessage('DS.DATE-RANGE-PICKER.MAXIMUM-RANGES-MESSAGE', intl, disableDefault, 'The maximum amount of ranges have been selected.')
|
|
205
209
|
};
|
|
206
210
|
return _objectSpread({}, defaultTexts, {}, texts);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-date-range-picker",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
4
4
|
"description": "Date-Range-Picker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,39 +35,39 @@
|
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@date-fns/upgrade": "^1.0.3",
|
|
38
|
-
"@synerise/ds-badge": "^0.8.
|
|
39
|
-
"@synerise/ds-button": "^0.21.
|
|
40
|
-
"@synerise/ds-button-group": "^0.7.
|
|
41
|
-
"@synerise/ds-data-format": "^0.6.
|
|
42
|
-
"@synerise/ds-date-picker": "^0.13.
|
|
43
|
-
"@synerise/ds-dropdown": "^0.18.
|
|
44
|
-
"@synerise/ds-icon": "^0.
|
|
45
|
-
"@synerise/ds-inline-edit": "^0.
|
|
46
|
-
"@synerise/ds-input": "^0.24.
|
|
47
|
-
"@synerise/ds-input-number": "^0.10.
|
|
48
|
-
"@synerise/ds-list-item": "^0.4.
|
|
49
|
-
"@synerise/ds-manageable-list": "^0.29.
|
|
50
|
-
"@synerise/ds-scrollbar": "^0.11.
|
|
51
|
-
"@synerise/ds-select": "^0.16.
|
|
52
|
-
"@synerise/ds-slider": "^0.14.
|
|
53
|
-
"@synerise/ds-tags": "^0.10.
|
|
54
|
-
"@synerise/ds-time-picker": "^0.11.
|
|
55
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
56
|
-
"@synerise/ds-utils": "^0.31.
|
|
38
|
+
"@synerise/ds-badge": "^0.8.19",
|
|
39
|
+
"@synerise/ds-button": "^0.21.19",
|
|
40
|
+
"@synerise/ds-button-group": "^0.7.23",
|
|
41
|
+
"@synerise/ds-data-format": "^0.6.1",
|
|
42
|
+
"@synerise/ds-date-picker": "^0.13.2",
|
|
43
|
+
"@synerise/ds-dropdown": "^0.18.24",
|
|
44
|
+
"@synerise/ds-icon": "^0.67.0",
|
|
45
|
+
"@synerise/ds-inline-edit": "^0.9.1",
|
|
46
|
+
"@synerise/ds-input": "^0.24.14",
|
|
47
|
+
"@synerise/ds-input-number": "^0.10.15",
|
|
48
|
+
"@synerise/ds-list-item": "^0.4.19",
|
|
49
|
+
"@synerise/ds-manageable-list": "^0.29.2",
|
|
50
|
+
"@synerise/ds-scrollbar": "^0.11.19",
|
|
51
|
+
"@synerise/ds-select": "^0.16.26",
|
|
52
|
+
"@synerise/ds-slider": "^0.14.2",
|
|
53
|
+
"@synerise/ds-tags": "^0.10.18",
|
|
54
|
+
"@synerise/ds-time-picker": "^0.11.2",
|
|
55
|
+
"@synerise/ds-tooltip": "^0.14.49",
|
|
56
|
+
"@synerise/ds-utils": "^0.31.2",
|
|
57
57
|
"date-fns": "^2.16.1",
|
|
58
58
|
"date-fns-tz": "1.1.4",
|
|
59
59
|
"dayjs": "^1.8.35",
|
|
60
60
|
"lodash": "^4.17.21",
|
|
61
61
|
"ramda": "^0.27.0",
|
|
62
62
|
"react-day-picker": "^7.4.8",
|
|
63
|
-
"react-intl": "6.8.4",
|
|
64
63
|
"uuid": "^8.3.2"
|
|
65
64
|
},
|
|
66
65
|
"peerDependencies": {
|
|
67
66
|
"@synerise/ds-core": "*",
|
|
68
67
|
"antd": "4.7.0",
|
|
69
68
|
"react": ">=16.9.0 <= 17.0.2",
|
|
69
|
+
"react-intl": ">=3.12.0 <= 6.8",
|
|
70
70
|
"styled-components": "5.0.1"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "05f083c767e2cec3c2f91c9475aee89852a77d6c"
|
|
73
73
|
}
|