@databrainhq/plugin 0.9.17 → 0.9.19

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.es.js CHANGED
@@ -95723,22 +95723,22 @@ var zt = function(t3) {
95723
95723
  } }]), a4;
95724
95724
  }(), $t = "input", Gt = "navigate";
95725
95725
  var reactDatepicker = "";
95726
- const datePickerContainer = "_datePickerContainer_lwzws_1";
95727
- const buttonWrapper = "_buttonWrapper_lwzws_9";
95728
- const datePickerCalendarWrapper = "_datePickerCalendarWrapper_lwzws_17";
95729
- const label$2 = "_label_lwzws_25";
95730
- const text = "_text_lwzws_33";
95731
- const button$4 = "_button_lwzws_9";
95732
- const datePickerCalContainer = "_datePickerCalContainer_lwzws_49";
95733
- const datePickerOptionsWrapper = "_datePickerOptionsWrapper_lwzws_57";
95734
- const datePickerOption = "_datePickerOption_lwzws_57";
95735
- const datePickerCalendar = "_datePickerCalendar_lwzws_17";
95736
- const checkedOption = "_checkedOption_lwzws_81";
95737
- const datePickerCalFooter = "_datePickerCalFooter_lwzws_89";
95738
- const dayClassName = "_dayClassName_lwzws_97";
95739
- const datePickerSelectedWrapper = "_datePickerSelectedWrapper_lwzws_105";
95740
- const datePickerSelectedDate = "_datePickerSelectedDate_lwzws_113";
95741
- const clearDateBtn = "_clearDateBtn_lwzws_121";
95726
+ const datePickerContainer = "_datePickerContainer_80cgy_1";
95727
+ const buttonWrapper = "_buttonWrapper_80cgy_9";
95728
+ const datePickerCalendarWrapper = "_datePickerCalendarWrapper_80cgy_17";
95729
+ const label$2 = "_label_80cgy_25";
95730
+ const text = "_text_80cgy_33";
95731
+ const button$4 = "_button_80cgy_9";
95732
+ const datePickerCalContainer = "_datePickerCalContainer_80cgy_49";
95733
+ const datePickerOptionsWrapper = "_datePickerOptionsWrapper_80cgy_57";
95734
+ const datePickerOption = "_datePickerOption_80cgy_57";
95735
+ const datePickerCalendar = "_datePickerCalendar_80cgy_17";
95736
+ const checkedOption = "_checkedOption_80cgy_81";
95737
+ const datePickerCalFooter = "_datePickerCalFooter_80cgy_89";
95738
+ const dayClassName = "_dayClassName_80cgy_97";
95739
+ const datePickerSelectedWrapper = "_datePickerSelectedWrapper_80cgy_105";
95740
+ const datePickerSelectedDate = "_datePickerSelectedDate_80cgy_113";
95741
+ const clearDateBtn = "_clearDateBtn_80cgy_121";
95742
95742
  var styles$s = {
95743
95743
  datePickerContainer,
95744
95744
  buttonWrapper,
@@ -96634,8 +96634,8 @@ const TimeSeriesSettings = ({
96634
96634
  ...prev,
96635
96635
  groupBySettings: {
96636
96636
  ...prev.groupBySettings,
96637
- value: value[0],
96638
- options: value
96637
+ value: Array.isArray(value) && value.length ? value[0] : "monthly",
96638
+ options: value || ["monthly"]
96639
96639
  }
96640
96640
  }))
96641
96641
  })]