@trops/dash-core 0.1.149 → 0.1.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +8 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -10433,13 +10433,13 @@ var DAYS = [{
|
|
|
10433
10433
|
}];
|
|
10434
10434
|
var INTERVAL_UNITS = [{
|
|
10435
10435
|
value: "seconds",
|
|
10436
|
-
|
|
10436
|
+
label: "Seconds"
|
|
10437
10437
|
}, {
|
|
10438
10438
|
value: "minutes",
|
|
10439
|
-
|
|
10439
|
+
label: "Minutes"
|
|
10440
10440
|
}, {
|
|
10441
10441
|
value: "hours",
|
|
10442
|
-
|
|
10442
|
+
label: "Hours"
|
|
10443
10443
|
}];
|
|
10444
10444
|
function intervalToMs(value, unit) {
|
|
10445
10445
|
var num = parseInt(value, 10);
|
|
@@ -10654,8 +10654,8 @@ function TaskScheduleEditor(_ref) {
|
|
|
10654
10654
|
label: "Every",
|
|
10655
10655
|
type: "number",
|
|
10656
10656
|
value: String(intervalValue),
|
|
10657
|
-
onChange: function onChange(
|
|
10658
|
-
return handleIntervalChange(
|
|
10657
|
+
onChange: function onChange(val) {
|
|
10658
|
+
return handleIntervalChange(val, intervalUnit);
|
|
10659
10659
|
},
|
|
10660
10660
|
className: "w-24",
|
|
10661
10661
|
min: "1"
|
|
@@ -10697,8 +10697,8 @@ function TaskScheduleEditor(_ref) {
|
|
|
10697
10697
|
label: "Time",
|
|
10698
10698
|
type: "time",
|
|
10699
10699
|
value: time,
|
|
10700
|
-
onChange: function onChange(
|
|
10701
|
-
return handleTimeChange(
|
|
10700
|
+
onChange: function onChange(val) {
|
|
10701
|
+
return handleTimeChange(val);
|
|
10702
10702
|
},
|
|
10703
10703
|
className: "w-36"
|
|
10704
10704
|
})]
|
|
@@ -26021,6 +26021,7 @@ var ComponentManager = {
|
|
|
26021
26021
|
eventHandlers: "eventHandlers" in c ? c["eventHandlers"] : [],
|
|
26022
26022
|
providers: "providers" in c ? c["providers"] : [],
|
|
26023
26023
|
notifications: "notifications" in c ? c["notifications"] : [],
|
|
26024
|
+
scheduledTasks: "scheduledTasks" in c ? c["scheduledTasks"] : [],
|
|
26024
26025
|
icon: "icon" in c ? c["icon"] : null
|
|
26025
26026
|
};
|
|
26026
26027
|
}
|