@databrainhq/plugin 0.9.16 → 0.9.18
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/README.md +26 -26
- package/dist/index.es.js +253 -246
- package/dist/index.umd.js +79 -79
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +17 -17
- package/package.json +98 -98
package/dist/index.es.js
CHANGED
|
@@ -2644,17 +2644,17 @@ var classnames = { exports: {} };
|
|
|
2644
2644
|
})(classnames);
|
|
2645
2645
|
var r$4 = classnames.exports;
|
|
2646
2646
|
var styles$M = {
|
|
2647
|
-
"btn-primary": "_btn-
|
|
2648
|
-
"btn-secondary": "_btn-
|
|
2649
|
-
"btn-reject": "_btn-
|
|
2650
|
-
"btn-outlined": "_btn-
|
|
2651
|
-
"btn-tertiary": "_btn-
|
|
2652
|
-
"btn-default": "_btn-
|
|
2653
|
-
"btn-large": "_btn-
|
|
2654
|
-
"btn-small": "_btn-
|
|
2655
|
-
"btn-xs": "_btn-
|
|
2656
|
-
"btn-medium": "_btn-
|
|
2657
|
-
"btn-11rem": "_btn-
|
|
2647
|
+
"btn-primary": "_btn-primary_17kvk_1",
|
|
2648
|
+
"btn-secondary": "_btn-secondary_17kvk_5",
|
|
2649
|
+
"btn-reject": "_btn-reject_17kvk_9",
|
|
2650
|
+
"btn-outlined": "_btn-outlined_17kvk_14",
|
|
2651
|
+
"btn-tertiary": "_btn-tertiary_17kvk_18",
|
|
2652
|
+
"btn-default": "_btn-default_17kvk_22",
|
|
2653
|
+
"btn-large": "_btn-large_17kvk_25",
|
|
2654
|
+
"btn-small": "_btn-small_17kvk_28",
|
|
2655
|
+
"btn-xs": "_btn-xs_17kvk_31",
|
|
2656
|
+
"btn-medium": "_btn-medium_17kvk_34",
|
|
2657
|
+
"btn-11rem": "_btn-11rem_17kvk_38"
|
|
2658
2658
|
};
|
|
2659
2659
|
var jsxRuntime$1 = { exports: {} };
|
|
2660
2660
|
var reactJsxRuntime_production_min = {};
|
|
@@ -4949,44 +4949,44 @@ let xe$1 = "div", ne = S.RenderStrategy, re = C$2(function(e3, s4) {
|
|
|
4949
4949
|
let n2 = useContext(F) !== null, m4 = s() !== null;
|
|
4950
4950
|
return e__default.createElement(e__default.Fragment, null, !n2 && m4 ? e__default.createElement(q, { ref: s$12, ...e3 }) : e__default.createElement(re, { ref: s$12, ...e3 }));
|
|
4951
4951
|
}), We$1 = Object.assign(q, { Child: Pe$1, Root: q });
|
|
4952
|
-
const listbox = "
|
|
4953
|
-
const listBoxButton = "
|
|
4954
|
-
const selectedOptionText = "
|
|
4955
|
-
const transitionDiv = "
|
|
4956
|
-
const listboxButtonWrapper = "
|
|
4957
|
-
const arrowicon = "
|
|
4958
|
-
const leave$2 = "
|
|
4959
|
-
const leaveFrom$2 = "
|
|
4960
|
-
const leaveTo$2 = "
|
|
4961
|
-
const notAvailable = "
|
|
4962
|
-
const option$2 = "
|
|
4963
|
-
const activeOption = "
|
|
4964
|
-
const optionSelected = "
|
|
4965
|
-
const inactiveOption = "
|
|
4966
|
-
const optionLabel = "
|
|
4967
|
-
const optionSubLabel = "
|
|
4968
|
-
const selectedLabel = "
|
|
4969
|
-
const nonselectedLabel = "
|
|
4970
|
-
const check = "
|
|
4971
|
-
const checkActive = "
|
|
4972
|
-
const checkInactive = "
|
|
4973
|
-
const checkIcon$1 = "
|
|
4974
|
-
const checkIconSelected = "
|
|
4975
|
-
const checkIconUnselected = "
|
|
4976
|
-
const loadMore$1 = "
|
|
4977
|
-
const loadMoreIcon$1 = "
|
|
4978
|
-
const selectedList = "
|
|
4979
|
-
const selectedListItem = "
|
|
4980
|
-
const label$8 = "
|
|
4981
|
-
const search$2 = "
|
|
4952
|
+
const listbox = "_listbox_12rbw_1";
|
|
4953
|
+
const listBoxButton = "_listBoxButton_12rbw_13";
|
|
4954
|
+
const selectedOptionText = "_selectedOptionText_12rbw_29";
|
|
4955
|
+
const transitionDiv = "_transitionDiv_12rbw_33";
|
|
4956
|
+
const listboxButtonWrapper = "_listboxButtonWrapper_12rbw_37";
|
|
4957
|
+
const arrowicon = "_arrowicon_12rbw_40";
|
|
4958
|
+
const leave$2 = "_leave_12rbw_43";
|
|
4959
|
+
const leaveFrom$2 = "_leaveFrom_12rbw_46";
|
|
4960
|
+
const leaveTo$2 = "_leaveTo_12rbw_49";
|
|
4961
|
+
const notAvailable = "_notAvailable_12rbw_52";
|
|
4962
|
+
const option$2 = "_option_12rbw_55";
|
|
4963
|
+
const activeOption = "_activeOption_12rbw_58";
|
|
4964
|
+
const optionSelected = "_optionSelected_12rbw_61";
|
|
4965
|
+
const inactiveOption = "_inactiveOption_12rbw_64";
|
|
4966
|
+
const optionLabel = "_optionLabel_12rbw_67";
|
|
4967
|
+
const optionSubLabel = "_optionSubLabel_12rbw_70";
|
|
4968
|
+
const selectedLabel = "_selectedLabel_12rbw_73";
|
|
4969
|
+
const nonselectedLabel = "_nonselectedLabel_12rbw_76";
|
|
4970
|
+
const check = "_check_12rbw_79";
|
|
4971
|
+
const checkActive = "_checkActive_12rbw_82";
|
|
4972
|
+
const checkInactive = "_checkInactive_12rbw_85";
|
|
4973
|
+
const checkIcon$1 = "_checkIcon_12rbw_88";
|
|
4974
|
+
const checkIconSelected = "_checkIconSelected_12rbw_91";
|
|
4975
|
+
const checkIconUnselected = "_checkIconUnselected_12rbw_94";
|
|
4976
|
+
const loadMore$1 = "_loadMore_12rbw_97";
|
|
4977
|
+
const loadMoreIcon$1 = "_loadMoreIcon_12rbw_100";
|
|
4978
|
+
const selectedList = "_selectedList_12rbw_103";
|
|
4979
|
+
const selectedListItem = "_selectedListItem_12rbw_106";
|
|
4980
|
+
const label$8 = "_label_12rbw_109";
|
|
4981
|
+
const search$2 = "_search_12rbw_112";
|
|
4982
4982
|
var style = {
|
|
4983
4983
|
listbox,
|
|
4984
|
-
"listBox-label": "_listBox-
|
|
4985
|
-
"listBox-labelFloating": "_listBox-
|
|
4986
|
-
"listBoxButton-container": "_listBoxButton-
|
|
4987
|
-
"listBoxButton-containerFloating": "_listBoxButton-
|
|
4984
|
+
"listBox-label": "_listBox-label_12rbw_5",
|
|
4985
|
+
"listBox-labelFloating": "_listBox-labelFloating_12rbw_9",
|
|
4986
|
+
"listBoxButton-container": "_listBoxButton-container_12rbw_13",
|
|
4987
|
+
"listBoxButton-containerFloating": "_listBoxButton-containerFloating_12rbw_17",
|
|
4988
4988
|
listBoxButton,
|
|
4989
|
-
"listBox-options": "_listBox-
|
|
4989
|
+
"listBox-options": "_listBox-options_12rbw_25",
|
|
4990
4990
|
selectedOptionText,
|
|
4991
4991
|
transitionDiv,
|
|
4992
4992
|
listboxButtonWrapper,
|
|
@@ -5016,22 +5016,22 @@ var style = {
|
|
|
5016
5016
|
label: label$8,
|
|
5017
5017
|
search: search$2
|
|
5018
5018
|
};
|
|
5019
|
-
const primary$1 = "
|
|
5020
|
-
const secondary = "
|
|
5021
|
-
const tertiary = "
|
|
5019
|
+
const primary$1 = "_primary_18yak_1";
|
|
5020
|
+
const secondary = "_secondary_18yak_5";
|
|
5021
|
+
const tertiary = "_tertiary_18yak_10";
|
|
5022
5022
|
var styles$K = {
|
|
5023
5023
|
primary: primary$1,
|
|
5024
5024
|
secondary,
|
|
5025
5025
|
tertiary,
|
|
5026
|
-
"font-18": "_font-
|
|
5027
|
-
"font-20": "_font-
|
|
5028
|
-
"font-14": "_font-
|
|
5029
|
-
"font-14a": "_font-
|
|
5030
|
-
"font-14b": "_font-
|
|
5031
|
-
"font-14c": "_font-
|
|
5032
|
-
"font-14d": "_font-
|
|
5033
|
-
"font-15": "_font-
|
|
5034
|
-
"font-34": "_font-
|
|
5026
|
+
"font-18": "_font-18_18yak_14",
|
|
5027
|
+
"font-20": "_font-20_18yak_18",
|
|
5028
|
+
"font-14": "_font-14_18yak_22",
|
|
5029
|
+
"font-14a": "_font-14a_18yak_26",
|
|
5030
|
+
"font-14b": "_font-14b_18yak_30",
|
|
5031
|
+
"font-14c": "_font-14c_18yak_34",
|
|
5032
|
+
"font-14d": "_font-14d_18yak_38",
|
|
5033
|
+
"font-15": "_font-15_18yak_42",
|
|
5034
|
+
"font-34": "_font-34_18yak_45"
|
|
5035
5035
|
};
|
|
5036
5036
|
const variants = {
|
|
5037
5037
|
h1: "h1",
|
|
@@ -5059,10 +5059,10 @@ const Text = ({
|
|
|
5059
5059
|
children: children2
|
|
5060
5060
|
});
|
|
5061
5061
|
};
|
|
5062
|
-
const search$1 = "
|
|
5062
|
+
const search$1 = "_search_1klck_1";
|
|
5063
5063
|
var styles$J = {
|
|
5064
|
-
"searchTab-container": "_searchTab-
|
|
5065
|
-
"searchTab-input": "_searchTab-
|
|
5064
|
+
"searchTab-container": "_searchTab-container_1klck_1",
|
|
5065
|
+
"searchTab-input": "_searchTab-input_1klck_5",
|
|
5066
5066
|
search: search$1
|
|
5067
5067
|
};
|
|
5068
5068
|
const iconoirSearch = (props) => /* @__PURE__ */ jsx("svg", {
|
|
@@ -7448,23 +7448,23 @@ const ExternalMetricForm = ({
|
|
|
7448
7448
|
})]
|
|
7449
7449
|
});
|
|
7450
7450
|
};
|
|
7451
|
-
const container$d = "
|
|
7452
|
-
const wrapper$2 = "
|
|
7453
|
-
const label$4 = "
|
|
7454
|
-
const noOptions = "
|
|
7455
|
-
const floatingLabel = "
|
|
7456
|
-
const floatingText = "
|
|
7457
|
-
const normalText = "
|
|
7458
|
-
const dropdown$1 = "
|
|
7459
|
-
const options$1 = "
|
|
7460
|
-
const checkedOption$2 = "
|
|
7461
|
-
const option$1 = "
|
|
7462
|
-
const icon$1 = "
|
|
7463
|
-
const text$2 = "
|
|
7464
|
-
const search = "
|
|
7465
|
-
const loadMore = "
|
|
7466
|
-
const loadMoreIcon = "
|
|
7467
|
-
const aboveList = "
|
|
7451
|
+
const container$d = "_container_ufsrv_1";
|
|
7452
|
+
const wrapper$2 = "_wrapper_ufsrv_5";
|
|
7453
|
+
const label$4 = "_label_ufsrv_9";
|
|
7454
|
+
const noOptions = "_noOptions_ufsrv_13";
|
|
7455
|
+
const floatingLabel = "_floatingLabel_ufsrv_17";
|
|
7456
|
+
const floatingText = "_floatingText_ufsrv_21";
|
|
7457
|
+
const normalText = "_normalText_ufsrv_25";
|
|
7458
|
+
const dropdown$1 = "_dropdown_ufsrv_29";
|
|
7459
|
+
const options$1 = "_options_ufsrv_33";
|
|
7460
|
+
const checkedOption$2 = "_checkedOption_ufsrv_37";
|
|
7461
|
+
const option$1 = "_option_ufsrv_33";
|
|
7462
|
+
const icon$1 = "_icon_ufsrv_45";
|
|
7463
|
+
const text$2 = "_text_ufsrv_49";
|
|
7464
|
+
const search = "_search_ufsrv_53";
|
|
7465
|
+
const loadMore = "_loadMore_ufsrv_57";
|
|
7466
|
+
const loadMoreIcon = "_loadMoreIcon_ufsrv_61";
|
|
7467
|
+
const aboveList = "_aboveList_ufsrv_65";
|
|
7468
7468
|
var styles$A = {
|
|
7469
7469
|
container: container$d,
|
|
7470
7470
|
wrapper: wrapper$2,
|
|
@@ -8188,6 +8188,14 @@ const FloatingDropDown = ({
|
|
|
8188
8188
|
return options2.slice(0, limit);
|
|
8189
8189
|
return options2.filter((opt) => opt.label.toLowerCase().includes(searchKeyword)).slice(0, limit);
|
|
8190
8190
|
}, [searchKeyword, options2, limit]);
|
|
8191
|
+
const trimSentence = (sentence, lenghtlimit = 20) => {
|
|
8192
|
+
if (!sentence)
|
|
8193
|
+
return false;
|
|
8194
|
+
if (sentence.length > lenghtlimit) {
|
|
8195
|
+
return `${sentence.substring(0, lenghtlimit)}...`;
|
|
8196
|
+
}
|
|
8197
|
+
return sentence;
|
|
8198
|
+
};
|
|
8191
8199
|
return /* @__PURE__ */ jsxs("div", {
|
|
8192
8200
|
className: r$4(styles$A.container, className),
|
|
8193
8201
|
ref: wrapperRef,
|
|
@@ -8195,7 +8203,7 @@ const FloatingDropDown = ({
|
|
|
8195
8203
|
variant: "span",
|
|
8196
8204
|
styleClass: labelVariant === "floating" ? "custom" : "font-14",
|
|
8197
8205
|
className: `${styles$A.label} ${labelVariant === "floating" ? styles$A.floatingLabel : ""}`,
|
|
8198
|
-
children: label2
|
|
8206
|
+
children: trimSentence(label2, 29)
|
|
8199
8207
|
}) : null, /* @__PURE__ */ jsxs(Button, {
|
|
8200
8208
|
type: "button",
|
|
8201
8209
|
variant: "custom",
|
|
@@ -8206,7 +8214,7 @@ const FloatingDropDown = ({
|
|
|
8206
8214
|
variant: "p",
|
|
8207
8215
|
styleClass: "font-14",
|
|
8208
8216
|
className: `${styles$A.text} ${labelVariant === "floating" ? styles$A.floatingText : ""}`,
|
|
8209
|
-
children: [icon2, selectedOption2.label || selectedOption2.value || "Select an option"]
|
|
8217
|
+
children: [icon2, trimSentence(selectedOption2.label) || trimSentence(selectedOption2.value) || "Select an option"]
|
|
8210
8218
|
}), /* @__PURE__ */ jsx(materialSymbolsKeyboardArrowDown, {})]
|
|
8211
8219
|
}), isShow && !isDisabled && /* @__PURE__ */ jsxs("div", {
|
|
8212
8220
|
className: `${dropdownAbove ? styles$A.aboveList : styles$A.dropdown}`,
|
|
@@ -8228,7 +8236,7 @@ const FloatingDropDown = ({
|
|
|
8228
8236
|
onChange(option2);
|
|
8229
8237
|
setIsShow(false);
|
|
8230
8238
|
},
|
|
8231
|
-
children: option2.label
|
|
8239
|
+
children: trimSentence(option2.label, 25)
|
|
8232
8240
|
}, option2.key || option2.value);
|
|
8233
8241
|
}), limit <= options2.length && /* @__PURE__ */ jsxs(Button, {
|
|
8234
8242
|
variant: "secondary",
|
|
@@ -95715,22 +95723,22 @@ var zt = function(t3) {
|
|
|
95715
95723
|
} }]), a4;
|
|
95716
95724
|
}(), $t = "input", Gt = "navigate";
|
|
95717
95725
|
var reactDatepicker = "";
|
|
95718
|
-
const datePickerContainer = "
|
|
95719
|
-
const buttonWrapper = "
|
|
95720
|
-
const datePickerCalendarWrapper = "
|
|
95721
|
-
const label$2 = "
|
|
95722
|
-
const text = "
|
|
95723
|
-
const button$4 = "
|
|
95724
|
-
const datePickerCalContainer = "
|
|
95725
|
-
const datePickerOptionsWrapper = "
|
|
95726
|
-
const datePickerOption = "
|
|
95727
|
-
const datePickerCalendar = "
|
|
95728
|
-
const
|
|
95729
|
-
const
|
|
95730
|
-
const
|
|
95731
|
-
const
|
|
95732
|
-
const
|
|
95733
|
-
const
|
|
95726
|
+
const datePickerContainer = "_datePickerContainer_2dbbn_1";
|
|
95727
|
+
const buttonWrapper = "_buttonWrapper_2dbbn_5";
|
|
95728
|
+
const datePickerCalendarWrapper = "_datePickerCalendarWrapper_2dbbn_9";
|
|
95729
|
+
const label$2 = "_label_2dbbn_13";
|
|
95730
|
+
const text = "_text_2dbbn_17";
|
|
95731
|
+
const button$4 = "_button_2dbbn_5";
|
|
95732
|
+
const datePickerCalContainer = "_datePickerCalContainer_2dbbn_25";
|
|
95733
|
+
const datePickerOptionsWrapper = "_datePickerOptionsWrapper_2dbbn_29";
|
|
95734
|
+
const datePickerOption = "_datePickerOption_2dbbn_29";
|
|
95735
|
+
const datePickerCalendar = "_datePickerCalendar_2dbbn_9";
|
|
95736
|
+
const checkedOption = "_checkedOption_2dbbn_41";
|
|
95737
|
+
const datePickerCalFooter = "_datePickerCalFooter_2dbbn_45";
|
|
95738
|
+
const dayClassName = "_dayClassName_2dbbn_49";
|
|
95739
|
+
const datePickerSelectedWrapper = "_datePickerSelectedWrapper_2dbbn_53";
|
|
95740
|
+
const datePickerSelectedDate = "_datePickerSelectedDate_2dbbn_57";
|
|
95741
|
+
const clearDateBtn = "_clearDateBtn_2dbbn_61";
|
|
95734
95742
|
var styles$s = {
|
|
95735
95743
|
datePickerContainer,
|
|
95736
95744
|
buttonWrapper,
|
|
@@ -95742,12 +95750,12 @@ var styles$s = {
|
|
|
95742
95750
|
datePickerOptionsWrapper,
|
|
95743
95751
|
datePickerOption,
|
|
95744
95752
|
datePickerCalendar,
|
|
95745
|
-
datePickerCalendarHeader,
|
|
95746
95753
|
checkedOption,
|
|
95747
95754
|
datePickerCalFooter,
|
|
95748
95755
|
dayClassName,
|
|
95749
95756
|
datePickerSelectedWrapper,
|
|
95750
|
-
datePickerSelectedDate
|
|
95757
|
+
datePickerSelectedDate,
|
|
95758
|
+
clearDateBtn
|
|
95751
95759
|
};
|
|
95752
95760
|
const options = [{
|
|
95753
95761
|
type: "day",
|
|
@@ -95858,6 +95866,23 @@ const DateRangePicker = ({
|
|
|
95858
95866
|
onChange == null ? void 0 : onChange(void 0);
|
|
95859
95867
|
}
|
|
95860
95868
|
}, [startDate, endDate]);
|
|
95869
|
+
const onDateSelect = (dates) => {
|
|
95870
|
+
const [start2, end2] = dates;
|
|
95871
|
+
if (start2) {
|
|
95872
|
+
const startDateFormat = start2.toISOString().slice(0, 10);
|
|
95873
|
+
const endDateFormat = endDate == null ? void 0 : endDate.toISOString().slice(0, 10);
|
|
95874
|
+
setTimeGrainValue(`${startDateFormat} - ${endDateFormat}`);
|
|
95875
|
+
setStartDate(start2);
|
|
95876
|
+
} else
|
|
95877
|
+
setStartDate(void 0);
|
|
95878
|
+
if (end2) {
|
|
95879
|
+
const endDateFormat = end2.toISOString().slice(0, 10);
|
|
95880
|
+
const startDateFormat = startDate == null ? void 0 : startDate.toISOString().slice(0, 10);
|
|
95881
|
+
setTimeGrainValue(`${startDateFormat} - ${endDateFormat}`);
|
|
95882
|
+
setEndDate(end2);
|
|
95883
|
+
} else
|
|
95884
|
+
setEndDate(void 0);
|
|
95885
|
+
};
|
|
95861
95886
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
95862
95887
|
children: /* @__PURE__ */ jsx(PopoverMenu, {
|
|
95863
95888
|
position: "bottom-left",
|
|
@@ -95899,37 +95924,19 @@ const DateRangePicker = ({
|
|
|
95899
95924
|
}, label2))
|
|
95900
95925
|
}), /* @__PURE__ */ jsxs("div", {
|
|
95901
95926
|
className: styles$s.datePickerCalContainer,
|
|
95902
|
-
children: [/* @__PURE__ */
|
|
95927
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
95903
95928
|
className: styles$s.datePickerCalendarWrapper,
|
|
95904
|
-
children:
|
|
95929
|
+
children: /* @__PURE__ */ jsx(zt, {
|
|
95905
95930
|
selected: startDate,
|
|
95906
95931
|
startDate,
|
|
95907
|
-
selectsStart: true,
|
|
95908
95932
|
endDate,
|
|
95909
|
-
|
|
95910
|
-
|
|
95911
|
-
const endDateFormat = endDate == null ? void 0 : endDate.toISOString().slice(0, 10);
|
|
95912
|
-
setTimeGrainValue(`${startDateFormat} - ${endDateFormat}`);
|
|
95913
|
-
setStartDate(date);
|
|
95914
|
-
},
|
|
95933
|
+
selectsRange: true,
|
|
95934
|
+
monthsShown: 2,
|
|
95915
95935
|
open: true,
|
|
95916
95936
|
inline: true,
|
|
95937
|
+
onChange: onDateSelect,
|
|
95917
95938
|
calendarClassName: styles$s.datePickerCalendar
|
|
95918
|
-
})
|
|
95919
|
-
selected: endDate,
|
|
95920
|
-
startDate,
|
|
95921
|
-
endDate,
|
|
95922
|
-
selectsEnd: true,
|
|
95923
|
-
onChange: (date) => {
|
|
95924
|
-
const startDateFormat = startDate == null ? void 0 : startDate.toISOString().slice(0, 10);
|
|
95925
|
-
const endDateFormat = date.toISOString().slice(0, 10);
|
|
95926
|
-
setTimeGrainValue(`${startDateFormat} - ${endDateFormat}`);
|
|
95927
|
-
setEndDate(date);
|
|
95928
|
-
},
|
|
95929
|
-
calendarClassName: styles$s.datePickerCalendar,
|
|
95930
|
-
open: true,
|
|
95931
|
-
inline: true
|
|
95932
|
-
})]
|
|
95939
|
+
})
|
|
95933
95940
|
}), /* @__PURE__ */ jsxs("div", {
|
|
95934
95941
|
className: styles$s.datePickerCalFooter,
|
|
95935
95942
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -95941,7 +95948,7 @@ const DateRangePicker = ({
|
|
|
95941
95948
|
children: [/* @__PURE__ */ jsx("span", {
|
|
95942
95949
|
children: (startDate == null ? void 0 : startDate.getDate()) || "D"
|
|
95943
95950
|
}), "/", " ", /* @__PURE__ */ jsx("span", {
|
|
95944
|
-
children:
|
|
95951
|
+
children: startDate ? startDate.getMonth() + 1 : "M"
|
|
95945
95952
|
}), " /", " ", /* @__PURE__ */ jsx("span", {
|
|
95946
95953
|
children: (startDate == null ? void 0 : startDate.getFullYear()) || "Y"
|
|
95947
95954
|
})]
|
|
@@ -95950,9 +95957,9 @@ const DateRangePicker = ({
|
|
|
95950
95957
|
styleClass: "font-14",
|
|
95951
95958
|
className: styles$s.datePickerSelectedDate,
|
|
95952
95959
|
children: [/* @__PURE__ */ jsx("span", {
|
|
95953
|
-
children: (endDate == null ? void 0 : endDate.
|
|
95960
|
+
children: (endDate == null ? void 0 : endDate.getDate()) || "D"
|
|
95954
95961
|
}), "/", " ", /* @__PURE__ */ jsx("span", {
|
|
95955
|
-
children:
|
|
95962
|
+
children: endDate ? endDate.getMonth() + 1 : "M"
|
|
95956
95963
|
}), " /", " ", /* @__PURE__ */ jsx("span", {
|
|
95957
95964
|
children: (endDate == null ? void 0 : endDate.getFullYear()) || "Y"
|
|
95958
95965
|
})]
|
|
@@ -96322,12 +96329,12 @@ const InfoTooltip = ({
|
|
|
96322
96329
|
});
|
|
96323
96330
|
};
|
|
96324
96331
|
var styles$q = {
|
|
96325
|
-
"header-container": "_header-
|
|
96326
|
-
"btn-container": "_btn-
|
|
96327
|
-
"back-btn": "_back-
|
|
96328
|
-
"sql-btn": "_sql-
|
|
96329
|
-
"save-btn": "_save-
|
|
96330
|
-
"save-btn-icon": "_save-btn-
|
|
96332
|
+
"header-container": "_header-container_t2r6v_1",
|
|
96333
|
+
"btn-container": "_btn-container_t2r6v_5",
|
|
96334
|
+
"back-btn": "_back-btn_t2r6v_9",
|
|
96335
|
+
"sql-btn": "_sql-btn_t2r6v_13",
|
|
96336
|
+
"save-btn": "_save-btn_t2r6v_17",
|
|
96337
|
+
"save-btn-icon": "_save-btn-icon_t2r6v_21"
|
|
96331
96338
|
};
|
|
96332
96339
|
const Header = ({
|
|
96333
96340
|
setShowMetricCreateModal,
|
|
@@ -96380,20 +96387,20 @@ const Header = ({
|
|
|
96380
96387
|
});
|
|
96381
96388
|
};
|
|
96382
96389
|
var styles$p = {
|
|
96383
|
-
"create-btn": "_create-
|
|
96384
|
-
"modal-container": "_modal-
|
|
96385
|
-
"query-modal": "_query-
|
|
96390
|
+
"create-btn": "_create-btn_ihjk8_1",
|
|
96391
|
+
"modal-container": "_modal-container_ihjk8_5",
|
|
96392
|
+
"query-modal": "_query-modal_ihjk8_9"
|
|
96386
96393
|
};
|
|
96387
|
-
const container$7 = "
|
|
96388
|
-
const header$3 = "
|
|
96389
|
-
const wrapper$1 = "
|
|
96390
|
-
const column = "
|
|
96391
|
-
const columnText$1 = "
|
|
96394
|
+
const container$7 = "_container_1q2ss_1";
|
|
96395
|
+
const header$3 = "_header_1q2ss_5";
|
|
96396
|
+
const wrapper$1 = "_wrapper_1q2ss_9";
|
|
96397
|
+
const column = "_column_1q2ss_17";
|
|
96398
|
+
const columnText$1 = "_columnText_1q2ss_21";
|
|
96392
96399
|
var styles$o = {
|
|
96393
96400
|
container: container$7,
|
|
96394
96401
|
header: header$3,
|
|
96395
96402
|
wrapper: wrapper$1,
|
|
96396
|
-
"col-container": "_col-
|
|
96403
|
+
"col-container": "_col-container_1q2ss_13",
|
|
96397
96404
|
column,
|
|
96398
96405
|
columnText: columnText$1
|
|
96399
96406
|
};
|
|
@@ -96508,9 +96515,9 @@ const Tab = ({
|
|
|
96508
96515
|
}, option2))
|
|
96509
96516
|
});
|
|
96510
96517
|
};
|
|
96511
|
-
const timeSeriesSettingsContainer = "
|
|
96512
|
-
const timeSeriesSettingsType = "
|
|
96513
|
-
const label$1 = "
|
|
96518
|
+
const timeSeriesSettingsContainer = "_timeSeriesSettingsContainer_2mqdh_1";
|
|
96519
|
+
const timeSeriesSettingsType = "_timeSeriesSettingsType_2mqdh_5";
|
|
96520
|
+
const label$1 = "_label_2mqdh_9";
|
|
96514
96521
|
var styles$l = {
|
|
96515
96522
|
timeSeriesSettingsContainer,
|
|
96516
96523
|
timeSeriesSettingsType,
|
|
@@ -97866,16 +97873,16 @@ const ChartTab = ({
|
|
|
97866
97873
|
})]
|
|
97867
97874
|
});
|
|
97868
97875
|
};
|
|
97869
|
-
const container$5 = "
|
|
97870
|
-
const header$1 = "
|
|
97871
|
-
const tabButton$1 = "
|
|
97872
|
-
const selectedTab = "
|
|
97873
|
-
const table$1 = "
|
|
97876
|
+
const container$5 = "_container_38zl3_1";
|
|
97877
|
+
const header$1 = "_header_38zl3_5";
|
|
97878
|
+
const tabButton$1 = "_tabButton_38zl3_16";
|
|
97879
|
+
const selectedTab = "_selectedTab_38zl3_19";
|
|
97880
|
+
const table$1 = "_table_38zl3_22";
|
|
97874
97881
|
var styles$i = {
|
|
97875
97882
|
container: container$5,
|
|
97876
97883
|
header: header$1,
|
|
97877
|
-
"text-container": "_text-
|
|
97878
|
-
"btn-container": "_btn-
|
|
97884
|
+
"text-container": "_text-container_38zl3_9",
|
|
97885
|
+
"btn-container": "_btn-container_38zl3_13",
|
|
97879
97886
|
tabButton: tabButton$1,
|
|
97880
97887
|
selectedTab,
|
|
97881
97888
|
table: table$1
|
|
@@ -97986,19 +97993,19 @@ const TableTab = ({
|
|
|
97986
97993
|
})]
|
|
97987
97994
|
});
|
|
97988
97995
|
};
|
|
97989
|
-
const mainContainerUpdate = "
|
|
97990
|
-
const wrapper = "
|
|
97991
|
-
const updateWrapper = "
|
|
97992
|
-
const updateWrapperContent = "
|
|
97993
|
-
const createWrapperContent = "
|
|
97994
|
-
const searchCommand = "
|
|
97995
|
-
const tabButton = "
|
|
97996
|
-
const tabActive = "
|
|
97997
|
-
const dynamicGroupFormat = "
|
|
97996
|
+
const mainContainerUpdate = "_mainContainerUpdate_1v17s_4";
|
|
97997
|
+
const wrapper = "_wrapper_1v17s_12";
|
|
97998
|
+
const updateWrapper = "_updateWrapper_1v17s_15";
|
|
97999
|
+
const updateWrapperContent = "_updateWrapperContent_1v17s_18";
|
|
98000
|
+
const createWrapperContent = "_createWrapperContent_1v17s_21";
|
|
98001
|
+
const searchCommand = "_searchCommand_1v17s_24";
|
|
98002
|
+
const tabButton = "_tabButton_1v17s_27";
|
|
98003
|
+
const tabActive = "_tabActive_1v17s_30";
|
|
98004
|
+
const dynamicGroupFormat = "_dynamicGroupFormat_1v17s_34";
|
|
97998
98005
|
var styles$h = {
|
|
97999
|
-
"main-container": "_main-
|
|
98006
|
+
"main-container": "_main-container_1v17s_1",
|
|
98000
98007
|
mainContainerUpdate,
|
|
98001
|
-
"outputTab-header": "_outputTab-
|
|
98008
|
+
"outputTab-header": "_outputTab-header_1v17s_8",
|
|
98002
98009
|
wrapper,
|
|
98003
98010
|
updateWrapper,
|
|
98004
98011
|
updateWrapperContent,
|
|
@@ -98160,30 +98167,30 @@ const MetricOutput = ({
|
|
|
98160
98167
|
})]
|
|
98161
98168
|
});
|
|
98162
98169
|
};
|
|
98163
|
-
const fieldValueIcon = "
|
|
98164
|
-
const fieldAddBtnIcon = "
|
|
98165
|
-
const group = "
|
|
98166
|
-
const tooltipWrapper = "
|
|
98167
|
-
const tooltip = "
|
|
98168
|
-
const dropdown = "
|
|
98169
|
-
const filterDropdown = "
|
|
98170
|
-
const filterValues = "
|
|
98171
|
-
const columnText = "
|
|
98172
|
-
const disabled = "
|
|
98173
|
-
const checkIcon = "
|
|
98174
|
-
const generateButton = "
|
|
98170
|
+
const fieldValueIcon = "_fieldValueIcon_1ielp_25";
|
|
98171
|
+
const fieldAddBtnIcon = "_fieldAddBtnIcon_1ielp_33";
|
|
98172
|
+
const group = "_group_1ielp_1";
|
|
98173
|
+
const tooltipWrapper = "_tooltipWrapper_1ielp_45";
|
|
98174
|
+
const tooltip = "_tooltip_1ielp_45";
|
|
98175
|
+
const dropdown = "_dropdown_1ielp_57";
|
|
98176
|
+
const filterDropdown = "_filterDropdown_1ielp_61";
|
|
98177
|
+
const filterValues = "_filterValues_1ielp_65";
|
|
98178
|
+
const columnText = "_columnText_1ielp_69";
|
|
98179
|
+
const disabled = "_disabled_1ielp_73";
|
|
98180
|
+
const checkIcon = "_checkIcon_1ielp_77";
|
|
98181
|
+
const generateButton = "_generateButton_1ielp_81";
|
|
98175
98182
|
var styles$g = {
|
|
98176
|
-
"form-container": "_form-
|
|
98177
|
-
"field-container": "_field-
|
|
98178
|
-
"field-label": "_field-
|
|
98179
|
-
"field-wrapper": "_field-
|
|
98180
|
-
"field-inner-container": "_field-inner-
|
|
98181
|
-
"field-value": "_field-
|
|
98183
|
+
"form-container": "_form-container_1ielp_1",
|
|
98184
|
+
"field-container": "_field-container_1ielp_5",
|
|
98185
|
+
"field-label": "_field-label_1ielp_9",
|
|
98186
|
+
"field-wrapper": "_field-wrapper_1ielp_13",
|
|
98187
|
+
"field-inner-container": "_field-inner-container_1ielp_17",
|
|
98188
|
+
"field-value": "_field-value_1ielp_21",
|
|
98182
98189
|
fieldValueIcon,
|
|
98183
|
-
"field-add-btn": "_field-add-
|
|
98190
|
+
"field-add-btn": "_field-add-btn_1ielp_29",
|
|
98184
98191
|
fieldAddBtnIcon,
|
|
98185
|
-
"field-value-container": "_field-value-
|
|
98186
|
-
"field-prompt": "_field-
|
|
98192
|
+
"field-value-container": "_field-value-container_1ielp_37",
|
|
98193
|
+
"field-prompt": "_field-prompt_1ielp_41",
|
|
98187
98194
|
group,
|
|
98188
98195
|
tooltipWrapper,
|
|
98189
98196
|
tooltip,
|
|
@@ -98194,10 +98201,10 @@ var styles$g = {
|
|
|
98194
98201
|
disabled,
|
|
98195
98202
|
checkIcon,
|
|
98196
98203
|
generateButton,
|
|
98197
|
-
"modal-container": "_modal-
|
|
98198
|
-
"filter-dropdown": "_filter-
|
|
98199
|
-
"editor-field": "_editor-
|
|
98200
|
-
"tab-border": "_tab-
|
|
98204
|
+
"modal-container": "_modal-container_1ielp_85",
|
|
98205
|
+
"filter-dropdown": "_filter-dropdown_1ielp_89",
|
|
98206
|
+
"editor-field": "_editor-field_1ielp_93",
|
|
98207
|
+
"tab-border": "_tab-border_1ielp_97"
|
|
98201
98208
|
};
|
|
98202
98209
|
const button$1 = "_button_1qdka_1";
|
|
98203
98210
|
const menu$1 = "_menu_1qdka_7";
|
|
@@ -125909,10 +125916,10 @@ const MetricForm = ({
|
|
|
125909
125916
|
})]
|
|
125910
125917
|
});
|
|
125911
125918
|
};
|
|
125912
|
-
const container$3 = "
|
|
125913
|
-
const header = "
|
|
125914
|
-
const enableGroupBy = "
|
|
125915
|
-
const enableGroupButton = "
|
|
125919
|
+
const container$3 = "_container_rofqe_1";
|
|
125920
|
+
const header = "_header_rofqe_5";
|
|
125921
|
+
const enableGroupBy = "_enableGroupBy_rofqe_8";
|
|
125922
|
+
const enableGroupButton = "_enableGroupButton_rofqe_11";
|
|
125916
125923
|
var styles$e = {
|
|
125917
125924
|
container: container$3,
|
|
125918
125925
|
header,
|
|
@@ -126371,7 +126378,7 @@ const EmbeddedMetricCreation = ({
|
|
|
126371
126378
|
})]
|
|
126372
126379
|
});
|
|
126373
126380
|
};
|
|
126374
|
-
const container$2 = "
|
|
126381
|
+
const container$2 = "_container_epyr2_1";
|
|
126375
126382
|
var styles$d = {
|
|
126376
126383
|
container: container$2
|
|
126377
126384
|
};
|
|
@@ -131139,8 +131146,8 @@ const ChartImageDownloadButton = ({
|
|
|
131139
131146
|
}), text2]
|
|
131140
131147
|
});
|
|
131141
131148
|
};
|
|
131142
|
-
const metricFilter = "
|
|
131143
|
-
const customContainer = "
|
|
131149
|
+
const metricFilter = "_metricFilter_k2gef_1";
|
|
131150
|
+
const customContainer = "_customContainer_k2gef_4";
|
|
131144
131151
|
var styles$9 = {
|
|
131145
131152
|
metricFilter,
|
|
131146
131153
|
customContainer
|
|
@@ -131243,24 +131250,24 @@ const MetricFilterDropDown = ({
|
|
|
131243
131250
|
}) : void 0
|
|
131244
131251
|
});
|
|
131245
131252
|
};
|
|
131246
|
-
const container$1 = "
|
|
131247
|
-
const popover = "
|
|
131248
|
-
const button = "
|
|
131249
|
-
const buttonOpen = "
|
|
131250
|
-
const menu = "
|
|
131251
|
-
const enter = "
|
|
131252
|
-
const enterFrom = "
|
|
131253
|
-
const enterTo = "
|
|
131254
|
-
const leave = "
|
|
131255
|
-
const leaveFrom = "
|
|
131256
|
-
const leaveTo = "
|
|
131257
|
-
const center = "
|
|
131258
|
-
const top = "
|
|
131259
|
-
const bottom = "
|
|
131260
|
-
const left = "
|
|
131261
|
-
const right = "
|
|
131262
|
-
const chartOptionBtn = "
|
|
131263
|
-
const chartpopup = "
|
|
131253
|
+
const container$1 = "_container_14i90_1";
|
|
131254
|
+
const popover = "_popover_14i90_5";
|
|
131255
|
+
const button = "_button_14i90_9";
|
|
131256
|
+
const buttonOpen = "_buttonOpen_14i90_13";
|
|
131257
|
+
const menu = "_menu_14i90_17";
|
|
131258
|
+
const enter = "_enter_14i90_21";
|
|
131259
|
+
const enterFrom = "_enterFrom_14i90_25";
|
|
131260
|
+
const enterTo = "_enterTo_14i90_29";
|
|
131261
|
+
const leave = "_leave_14i90_33";
|
|
131262
|
+
const leaveFrom = "_leaveFrom_14i90_37";
|
|
131263
|
+
const leaveTo = "_leaveTo_14i90_41";
|
|
131264
|
+
const center = "_center_14i90_45";
|
|
131265
|
+
const top = "_top_14i90_49";
|
|
131266
|
+
const bottom = "_bottom_14i90_53";
|
|
131267
|
+
const left = "_left_14i90_57";
|
|
131268
|
+
const right = "_right_14i90_61";
|
|
131269
|
+
const chartOptionBtn = "_chartOptionBtn_14i90_113";
|
|
131270
|
+
const chartpopup = "_chartpopup_14i90_117";
|
|
131264
131271
|
var styles$8 = {
|
|
131265
131272
|
container: container$1,
|
|
131266
131273
|
popover,
|
|
@@ -131278,23 +131285,23 @@ var styles$8 = {
|
|
|
131278
131285
|
bottom,
|
|
131279
131286
|
left,
|
|
131280
131287
|
right,
|
|
131281
|
-
"left-top-end": "_left-top-
|
|
131282
|
-
"right-top-end": "_right-top-
|
|
131283
|
-
"left-bottom-end": "_left-bottom-
|
|
131284
|
-
"right-bottom-end": "_right-bottom-
|
|
131285
|
-
"top-left": "_top-
|
|
131286
|
-
"top-right": "_top-
|
|
131287
|
-
"bottom-left": "_bottom-
|
|
131288
|
-
"bottom-right": "_bottom-
|
|
131289
|
-
"left-top": "_left-
|
|
131290
|
-
"left-bottom": "_left-
|
|
131291
|
-
"right-top": "_right-
|
|
131292
|
-
"right-bottom": "_right-
|
|
131288
|
+
"left-top-end": "_left-top-end_14i90_65",
|
|
131289
|
+
"right-top-end": "_right-top-end_14i90_69",
|
|
131290
|
+
"left-bottom-end": "_left-bottom-end_14i90_73",
|
|
131291
|
+
"right-bottom-end": "_right-bottom-end_14i90_77",
|
|
131292
|
+
"top-left": "_top-left_14i90_81",
|
|
131293
|
+
"top-right": "_top-right_14i90_85",
|
|
131294
|
+
"bottom-left": "_bottom-left_14i90_89",
|
|
131295
|
+
"bottom-right": "_bottom-right_14i90_93",
|
|
131296
|
+
"left-top": "_left-top_14i90_65",
|
|
131297
|
+
"left-bottom": "_left-bottom_14i90_73",
|
|
131298
|
+
"right-top": "_right-top_14i90_69",
|
|
131299
|
+
"right-bottom": "_right-bottom_14i90_77",
|
|
131293
131300
|
chartOptionBtn,
|
|
131294
131301
|
chartpopup
|
|
131295
131302
|
};
|
|
131296
|
-
const fullscreen = "
|
|
131297
|
-
const loading = "
|
|
131303
|
+
const fullscreen = "_fullscreen_1gpy3_1";
|
|
131304
|
+
const loading = "_loading_1gpy3_5";
|
|
131298
131305
|
var styles$7 = {
|
|
131299
131306
|
fullscreen,
|
|
131300
131307
|
loading
|
|
@@ -131454,8 +131461,8 @@ const ChartPopup = ({
|
|
|
131454
131461
|
};
|
|
131455
131462
|
var ChartPopup$1 = e__default.memo(ChartPopup);
|
|
131456
131463
|
var styles$6 = {
|
|
131457
|
-
"dbc-container": "_dbc-
|
|
131458
|
-
"active-dimension": "_active-
|
|
131464
|
+
"dbc-container": "_dbc-container_1dw7c_1",
|
|
131465
|
+
"active-dimension": "_active-dimension_1dw7c_5"
|
|
131459
131466
|
};
|
|
131460
131467
|
const DrillBreadCrumb = ({
|
|
131461
131468
|
dimensions,
|
|
@@ -133512,33 +133519,33 @@ const mdiPlus = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
133512
133519
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z"
|
|
133513
133520
|
})
|
|
133514
133521
|
});
|
|
133515
|
-
const scheduleEmailButton = "
|
|
133522
|
+
const scheduleEmailButton = "_scheduleEmailButton_13nzt_1";
|
|
133516
133523
|
var styles$2 = {
|
|
133517
133524
|
scheduleEmailButton
|
|
133518
133525
|
};
|
|
133519
133526
|
var styles$1 = {
|
|
133520
|
-
"form-wrapper": "_form-
|
|
133521
|
-
"form-primary-text": "_form-primary-
|
|
133522
|
-
"week-days-container": "_week-days-
|
|
133523
|
-
"main-label": "_main-
|
|
133524
|
-
"time-element": "_time-
|
|
133525
|
-
"schedule-time": "_schedule-
|
|
133526
|
-
"cancel-btn": "_cancel-
|
|
133527
|
-
"delete-btn": "_delete-
|
|
133528
|
-
"field-width": "_field-
|
|
133529
|
-
"timezone-field": "_timezone-
|
|
133530
|
-
"success-text": "_success-
|
|
133527
|
+
"form-wrapper": "_form-wrapper_ynoky_1",
|
|
133528
|
+
"form-primary-text": "_form-primary-text_ynoky_5",
|
|
133529
|
+
"week-days-container": "_week-days-container_ynoky_9",
|
|
133530
|
+
"main-label": "_main-label_ynoky_12",
|
|
133531
|
+
"time-element": "_time-element_ynoky_16",
|
|
133532
|
+
"schedule-time": "_schedule-time_ynoky_19",
|
|
133533
|
+
"cancel-btn": "_cancel-btn_ynoky_23",
|
|
133534
|
+
"delete-btn": "_delete-btn_ynoky_26",
|
|
133535
|
+
"field-width": "_field-width_ynoky_29",
|
|
133536
|
+
"timezone-field": "_timezone-field_ynoky_33",
|
|
133537
|
+
"success-text": "_success-text_ynoky_37"
|
|
133531
133538
|
};
|
|
133532
|
-
const tag = "
|
|
133533
|
-
const tagBtn = "
|
|
133534
|
-
const inputFieldContainer = "
|
|
133539
|
+
const tag = "_tag_qld84_1";
|
|
133540
|
+
const tagBtn = "_tagBtn_qld84_7";
|
|
133541
|
+
const inputFieldContainer = "_inputFieldContainer_qld84_11";
|
|
133535
133542
|
var styles = {
|
|
133536
133543
|
tag,
|
|
133537
|
-
"tag-text": "_tag-
|
|
133544
|
+
"tag-text": "_tag-text_qld84_4",
|
|
133538
133545
|
tagBtn,
|
|
133539
133546
|
inputFieldContainer,
|
|
133540
|
-
"tag-container": "_tag-
|
|
133541
|
-
"cross-icon": "_cross-
|
|
133547
|
+
"tag-container": "_tag-container_qld84_15",
|
|
133548
|
+
"cross-icon": "_cross-icon_qld84_19"
|
|
133542
133549
|
};
|
|
133543
133550
|
const TagInputField = ({
|
|
133544
133551
|
control,
|