@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.js CHANGED
@@ -10451,13 +10451,13 @@ var DAYS = [{
10451
10451
  }];
10452
10452
  var INTERVAL_UNITS = [{
10453
10453
  value: "seconds",
10454
- displayName: "Seconds"
10454
+ label: "Seconds"
10455
10455
  }, {
10456
10456
  value: "minutes",
10457
- displayName: "Minutes"
10457
+ label: "Minutes"
10458
10458
  }, {
10459
10459
  value: "hours",
10460
- displayName: "Hours"
10460
+ label: "Hours"
10461
10461
  }];
10462
10462
  function intervalToMs(value, unit) {
10463
10463
  var num = parseInt(value, 10);
@@ -10672,8 +10672,8 @@ function TaskScheduleEditor(_ref) {
10672
10672
  label: "Every",
10673
10673
  type: "number",
10674
10674
  value: String(intervalValue),
10675
- onChange: function onChange(e) {
10676
- return handleIntervalChange(e.target.value, intervalUnit);
10675
+ onChange: function onChange(val) {
10676
+ return handleIntervalChange(val, intervalUnit);
10677
10677
  },
10678
10678
  className: "w-24",
10679
10679
  min: "1"
@@ -10715,8 +10715,8 @@ function TaskScheduleEditor(_ref) {
10715
10715
  label: "Time",
10716
10716
  type: "time",
10717
10717
  value: time,
10718
- onChange: function onChange(e) {
10719
- return handleTimeChange(e.target.value);
10718
+ onChange: function onChange(val) {
10719
+ return handleTimeChange(val);
10720
10720
  },
10721
10721
  className: "w-36"
10722
10722
  })]
@@ -26039,6 +26039,7 @@ var ComponentManager = {
26039
26039
  eventHandlers: "eventHandlers" in c ? c["eventHandlers"] : [],
26040
26040
  providers: "providers" in c ? c["providers"] : [],
26041
26041
  notifications: "notifications" in c ? c["notifications"] : [],
26042
+ scheduledTasks: "scheduledTasks" in c ? c["scheduledTasks"] : [],
26042
26043
  icon: "icon" in c ? c["icon"] : null
26043
26044
  };
26044
26045
  }