intelicoreact 1.3.69 → 1.3.71
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.
|
@@ -89,12 +89,19 @@ const InputCurrency = _ref => {
|
|
|
89
89
|
value: inputValue,
|
|
90
90
|
onChange: formatCurrencyInput,
|
|
91
91
|
onClick: onInputClick,
|
|
92
|
-
onKeyDown: onKeyDown
|
|
93
|
-
|
|
92
|
+
onKeyDown: onKeyDown
|
|
93
|
+
}, attributesOfNativeInput, {
|
|
94
|
+
onFocus: e => {
|
|
95
|
+
var _attributesOfNativeIn;
|
|
96
|
+
attributesOfNativeInput === null || attributesOfNativeInput === void 0 || (_attributesOfNativeIn = attributesOfNativeInput.onFocus) === null || _attributesOfNativeIn === void 0 || _attributesOfNativeIn.call(attributesOfNativeInput, e);
|
|
97
|
+
setIsFocused(true);
|
|
98
|
+
},
|
|
94
99
|
onBlur: (e, value) => {
|
|
100
|
+
var _attributesOfNativeIn2;
|
|
101
|
+
attributesOfNativeInput === null || attributesOfNativeInput === void 0 || (_attributesOfNativeIn2 = attributesOfNativeInput.onBlur) === null || _attributesOfNativeIn2 === void 0 || _attributesOfNativeIn2.call(attributesOfNativeInput, e);
|
|
95
102
|
if (!isNoCheckMinMax) checkMinMax(e, value);
|
|
96
103
|
setIsFocused(false);
|
|
97
104
|
}
|
|
98
|
-
}
|
|
105
|
+
})));
|
|
99
106
|
};
|
|
100
107
|
var _default = exports.default = InputCurrency;
|
|
@@ -150,12 +150,12 @@ const InputDateRange = props => {
|
|
|
150
150
|
return (_document$querySelect = document.querySelector("div#root")) !== null && _document$querySelect !== void 0 ? _document$querySelect : document.querySelector("div#app");
|
|
151
151
|
};
|
|
152
152
|
const initDateRangeContainer = () => {
|
|
153
|
-
var _document$getElementB;
|
|
153
|
+
var _document$getElementB, _getParentNode;
|
|
154
154
|
(_document$getElementB = document.getElementById(dateRangeContainerId)) === null || _document$getElementB === void 0 || _document$getElementB.remove();
|
|
155
155
|
const dateRangeContainer = document.createElement("div");
|
|
156
156
|
dateRangeContainer.setAttribute("id", dateRangeContainerId);
|
|
157
157
|
dateRangeContainer.classList.add("input-date-range__mobile-container");
|
|
158
|
-
getParentNode().append(dateRangeContainer);
|
|
158
|
+
(_getParentNode = getParentNode()) === null || _getParentNode === void 0 || _getParentNode.append(dateRangeContainer);
|
|
159
159
|
};
|
|
160
160
|
const getDateRangeContainer = () => {
|
|
161
161
|
return document.getElementById(dateRangeContainerId);
|
|
@@ -125,8 +125,10 @@ const INTERVALS = exports.INTERVALS = {
|
|
|
125
125
|
},
|
|
126
126
|
allTime: {
|
|
127
127
|
label: "All Time",
|
|
128
|
-
start: () =>
|
|
129
|
-
end: () =>
|
|
128
|
+
start: () => (0, _momentTimezone.default)("2022-01-01T00:00:00"),
|
|
129
|
+
end: () => (0, _momentTimezone.default)()
|
|
130
|
+
// start: () => null,
|
|
131
|
+
// end: () => null,
|
|
130
132
|
}
|
|
131
133
|
};
|
|
132
134
|
const ALL_TIME_KEY = exports.ALL_TIME_KEY = "allTime";
|