@databrainhq/plugin 0.9.12 → 0.9.13
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 +36 -33
- package/dist/index.umd.js +13 -13
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -86704,38 +86704,38 @@ const FilterField = ({
|
|
|
86704
86704
|
})
|
|
86705
86705
|
});
|
|
86706
86706
|
};
|
|
86707
|
-
const container$9 = "
|
|
86708
|
-
const form$1 = "
|
|
86709
|
-
const filterHeader = "
|
|
86710
|
-
const titleContent = "
|
|
86711
|
-
const title = "
|
|
86712
|
-
const buttons = "
|
|
86713
|
-
const apply = "
|
|
86714
|
-
const applyIcon = "
|
|
86715
|
-
const reset = "
|
|
86716
|
-
const filterFields = "
|
|
86717
|
-
const AddFilter$1 = "
|
|
86718
|
-
const filterDropdown$1 = "
|
|
86719
|
-
const filters = "
|
|
86720
|
-
const filterItem = "
|
|
86721
|
-
const filterItemOperator = "
|
|
86722
|
-
const remove = "
|
|
86723
|
-
const filterCol = "
|
|
86724
|
-
const filterText = "
|
|
86725
|
-
const smallText = "
|
|
86726
|
-
const numberField = "
|
|
86727
|
-
const numberFieldWrapper = "
|
|
86728
|
-
const numberFieldLabel = "
|
|
86729
|
-
const numberFieldLabelText = "
|
|
86730
|
-
const numberFieldLabelSelectText = "
|
|
86731
|
-
const numberFieldButtonClass = "
|
|
86732
|
-
const numberFieldLabelMenuClass = "
|
|
86733
|
-
const checkedOption$1 = "
|
|
86734
|
-
const option = "
|
|
86735
|
-
const addFilterMenu = "
|
|
86736
|
-
const appliedFilterTag = "
|
|
86737
|
-
const appliedfilters = "
|
|
86738
|
-
const textBold = "
|
|
86707
|
+
const container$9 = "_container_550f5_1";
|
|
86708
|
+
const form$1 = "_form_550f5_7";
|
|
86709
|
+
const filterHeader = "_filterHeader_550f5_13";
|
|
86710
|
+
const titleContent = "_titleContent_550f5_19";
|
|
86711
|
+
const title = "_title_550f5_19";
|
|
86712
|
+
const buttons = "_buttons_550f5_31";
|
|
86713
|
+
const apply = "_apply_550f5_37";
|
|
86714
|
+
const applyIcon = "_applyIcon_550f5_43";
|
|
86715
|
+
const reset = "_reset_550f5_49";
|
|
86716
|
+
const filterFields = "_filterFields_550f5_55";
|
|
86717
|
+
const AddFilter$1 = "_AddFilter_550f5_61";
|
|
86718
|
+
const filterDropdown$1 = "_filterDropdown_550f5_67";
|
|
86719
|
+
const filters = "_filters_550f5_73";
|
|
86720
|
+
const filterItem = "_filterItem_550f5_79";
|
|
86721
|
+
const filterItemOperator = "_filterItemOperator_550f5_85";
|
|
86722
|
+
const remove = "_remove_550f5_91";
|
|
86723
|
+
const filterCol = "_filterCol_550f5_97";
|
|
86724
|
+
const filterText = "_filterText_550f5_103";
|
|
86725
|
+
const smallText = "_smallText_550f5_109";
|
|
86726
|
+
const numberField = "_numberField_550f5_117";
|
|
86727
|
+
const numberFieldWrapper = "_numberFieldWrapper_550f5_125";
|
|
86728
|
+
const numberFieldLabel = "_numberFieldLabel_550f5_133";
|
|
86729
|
+
const numberFieldLabelText = "_numberFieldLabelText_550f5_141";
|
|
86730
|
+
const numberFieldLabelSelectText = "_numberFieldLabelSelectText_550f5_149";
|
|
86731
|
+
const numberFieldButtonClass = "_numberFieldButtonClass_550f5_157";
|
|
86732
|
+
const numberFieldLabelMenuClass = "_numberFieldLabelMenuClass_550f5_165";
|
|
86733
|
+
const checkedOption$1 = "_checkedOption_550f5_173";
|
|
86734
|
+
const option = "_option_550f5_181";
|
|
86735
|
+
const addFilterMenu = "_addFilterMenu_550f5_189";
|
|
86736
|
+
const appliedFilterTag = "_appliedFilterTag_550f5_197";
|
|
86737
|
+
const appliedfilters = "_appliedfilters_550f5_205";
|
|
86738
|
+
const textBold = "_textBold_550f5_213";
|
|
86739
86739
|
var styles$s = {
|
|
86740
86740
|
container: container$9,
|
|
86741
86741
|
form: form$1,
|
|
@@ -95321,6 +95321,9 @@ const DateRangePicker = ({
|
|
|
95321
95321
|
if (type3 === "month") {
|
|
95322
95322
|
const lastThreeMonths = new Date();
|
|
95323
95323
|
lastThreeMonths.setMonth(lastThreeMonths.getMonth() + startOffset);
|
|
95324
|
+
if (startOffset === 0) {
|
|
95325
|
+
lastThreeMonths.setDate(1);
|
|
95326
|
+
}
|
|
95324
95327
|
setStartDate(lastThreeMonths);
|
|
95325
95328
|
setEndDate(new Date());
|
|
95326
95329
|
} else if (type3 === "year") {
|
|
@@ -131115,7 +131118,7 @@ const MetricCard = ({
|
|
|
131115
131118
|
color: "blue"
|
|
131116
131119
|
}
|
|
131117
131120
|
})
|
|
131118
|
-
}), (drillDownSettings == null ? void 0 : drillDownSettings.isEnableGroupBy) && /* @__PURE__ */ jsx(DrillBreadCrumb, {
|
|
131121
|
+
}), (drillDownSettings == null ? void 0 : drillDownSettings.isEnableGroupBy) && !!dataDb.length && /* @__PURE__ */ jsx(DrillBreadCrumb, {
|
|
131119
131122
|
dimensions: drillDownSettings.selectedDimensions,
|
|
131120
131123
|
drilledLevel
|
|
131121
131124
|
}), (chartParams == null ? void 0 : chartParams.name) && columnName && /* @__PURE__ */ jsx(ChartPopup$1, {
|