react-cron-generator 1.3.3 → 1.3.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/cron-tab/daily.js +2 -2
- package/dist/cron-tab/hourly.js +2 -2
- package/dist/cron-tab/monthly.js +2 -2
- package/dist/cron.js +4 -4
- package/package.json +1 -1
package/dist/cron-tab/daily.js
CHANGED
|
@@ -31,8 +31,8 @@ var DailyCron = /*#__PURE__*/function (_Component) {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
_createClass(DailyCron, [{
|
|
34
|
-
key: "
|
|
35
|
-
value: function
|
|
34
|
+
key: "UNSAFE_componentWillMount",
|
|
35
|
+
value: function UNSAFE_componentWillMount() {
|
|
36
36
|
this.state.value = this.props.value;
|
|
37
37
|
this.state.every = this.props.value[3] !== '?';
|
|
38
38
|
}
|
package/dist/cron-tab/hourly.js
CHANGED
|
@@ -28,8 +28,8 @@ var HourlyCron = /*#__PURE__*/function (_Component) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
_createClass(HourlyCron, [{
|
|
31
|
-
key: "
|
|
32
|
-
value: function
|
|
31
|
+
key: "UNSAFE_componentWillMount",
|
|
32
|
+
value: function UNSAFE_componentWillMount() {
|
|
33
33
|
this.state.value = this.props.value;
|
|
34
34
|
|
|
35
35
|
if (this.state.value[2].split('/')[1] || this.state.value[2] === '*') {
|
package/dist/cron-tab/monthly.js
CHANGED
|
@@ -32,8 +32,8 @@ var MonthlyCron = /*#__PURE__*/function (_Component) {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
_createClass(MonthlyCron, [{
|
|
35
|
-
key: "
|
|
36
|
-
value: function
|
|
35
|
+
key: "UNSAFE_componentWillMount",
|
|
36
|
+
value: function UNSAFE_componentWillMount() {
|
|
37
37
|
this.state.value = this.props.value;
|
|
38
38
|
|
|
39
39
|
if (this.state.value[3] === 'L') {
|
package/dist/cron.js
CHANGED
|
@@ -28,8 +28,8 @@ var Cron = /*#__PURE__*/function (_Component) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
_createClass(Cron, [{
|
|
31
|
-
key: "
|
|
32
|
-
value: function
|
|
31
|
+
key: "UNSAFE_componentWillMount",
|
|
32
|
+
value: function UNSAFE_componentWillMount() {
|
|
33
33
|
this.setValue(this.props.value);
|
|
34
34
|
|
|
35
35
|
if (this.props.translateFn && !this.props.locale) {
|
|
@@ -41,8 +41,8 @@ var Cron = /*#__PURE__*/function (_Component) {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}, {
|
|
44
|
-
key: "
|
|
45
|
-
value: function
|
|
44
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
45
|
+
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
|
46
46
|
if (this.props.value !== nextProps.value && this.state.value) {
|
|
47
47
|
var newVal = '';
|
|
48
48
|
newVal = this.state.value.toString().replace(/,/g, ' ');
|