@databrainhq/plugin 0.9.5 → 0.9.6
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/components/FloatingDropDown/index.d.ts +3 -1
- package/dist/components/MetricList/MetricList.d.ts +2 -28
- package/dist/components/Table/index.d.ts +2 -1
- package/dist/index.es.js +549 -431
- package/dist/index.umd.js +97 -97
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +17 -17
- package/package.json +96 -96
package/dist/index.es.js
CHANGED
|
@@ -2515,7 +2515,7 @@ function useQuery(arg1, arg2, arg3) {
|
|
|
2515
2515
|
const container$h = "_container_12kmo_1";
|
|
2516
2516
|
const fixed = "_fixed_12kmo_1";
|
|
2517
2517
|
const flex = "_flex_12kmo_1";
|
|
2518
|
-
const table$
|
|
2518
|
+
const table$3 = "_table_12kmo_1";
|
|
2519
2519
|
const grid = "_grid_12kmo_1";
|
|
2520
2520
|
const hidden = "_hidden_12kmo_1";
|
|
2521
2521
|
const transform = "_transform_12kmo_1";
|
|
@@ -2542,7 +2542,8 @@ var styles$L = {
|
|
|
2542
2542
|
"ml-[40px]": "_ml-[40px]_12kmo_1",
|
|
2543
2543
|
"mb-2": "_mb-2_12kmo_1",
|
|
2544
2544
|
flex,
|
|
2545
|
-
table: table$
|
|
2545
|
+
table: table$3,
|
|
2546
|
+
"!table": "_!table_12kmo_1",
|
|
2546
2547
|
grid,
|
|
2547
2548
|
hidden,
|
|
2548
2549
|
"h-screen": "_h-screen_12kmo_1",
|
|
@@ -2647,17 +2648,17 @@ var classnames$1 = { exports: {} };
|
|
|
2647
2648
|
})(classnames$1);
|
|
2648
2649
|
var classnames = classnames$1.exports;
|
|
2649
2650
|
var styles$K = {
|
|
2650
|
-
"btn-primary": "_btn-
|
|
2651
|
-
"btn-secondary": "_btn-
|
|
2652
|
-
"btn-reject": "_btn-
|
|
2653
|
-
"btn-outlined": "_btn-
|
|
2654
|
-
"btn-tertiary": "_btn-
|
|
2655
|
-
"btn-default": "_btn-
|
|
2656
|
-
"btn-large": "_btn-
|
|
2657
|
-
"btn-small": "_btn-
|
|
2658
|
-
"btn-xs": "_btn-
|
|
2659
|
-
"btn-medium": "_btn-
|
|
2660
|
-
"btn-11rem": "_btn-
|
|
2651
|
+
"btn-primary": "_btn-primary_17kvk_1",
|
|
2652
|
+
"btn-secondary": "_btn-secondary_17kvk_5",
|
|
2653
|
+
"btn-reject": "_btn-reject_17kvk_9",
|
|
2654
|
+
"btn-outlined": "_btn-outlined_17kvk_14",
|
|
2655
|
+
"btn-tertiary": "_btn-tertiary_17kvk_18",
|
|
2656
|
+
"btn-default": "_btn-default_17kvk_22",
|
|
2657
|
+
"btn-large": "_btn-large_17kvk_25",
|
|
2658
|
+
"btn-small": "_btn-small_17kvk_28",
|
|
2659
|
+
"btn-xs": "_btn-xs_17kvk_31",
|
|
2660
|
+
"btn-medium": "_btn-medium_17kvk_34",
|
|
2661
|
+
"btn-11rem": "_btn-11rem_17kvk_38"
|
|
2661
2662
|
};
|
|
2662
2663
|
var jsxRuntime$1 = { exports: {} };
|
|
2663
2664
|
var reactJsxRuntime_production_min = {};
|
|
@@ -4952,42 +4953,42 @@ let xe = "div", ne = S.RenderStrategy, re = C$2(function(e2, s2) {
|
|
|
4952
4953
|
let n2 = useContext(F) !== null, m2 = s() !== null;
|
|
4953
4954
|
return React__default.createElement(React__default.Fragment, null, !n2 && m2 ? React__default.createElement(q, { ref: s$12, ...e2 }) : React__default.createElement(re, { ref: s$12, ...e2 }));
|
|
4954
4955
|
}), We = Object.assign(q, { Child: Pe, Root: q });
|
|
4955
|
-
const listBoxButton = "
|
|
4956
|
-
const selectedOptionText = "
|
|
4957
|
-
const transitionDiv = "
|
|
4958
|
-
const listboxButtonWrapper = "
|
|
4959
|
-
const arrowicon = "
|
|
4960
|
-
const leave$2 = "
|
|
4961
|
-
const leaveFrom$2 = "
|
|
4962
|
-
const leaveTo$2 = "
|
|
4963
|
-
const notAvailable = "
|
|
4964
|
-
const option$1 = "
|
|
4965
|
-
const activeOption = "
|
|
4966
|
-
const optionSelected = "
|
|
4967
|
-
const inactiveOption = "
|
|
4968
|
-
const optionLabel = "
|
|
4969
|
-
const optionSubLabel = "
|
|
4970
|
-
const selectedLabel = "
|
|
4971
|
-
const nonselectedLabel = "
|
|
4972
|
-
const check = "
|
|
4973
|
-
const checkActive = "
|
|
4974
|
-
const checkInactive = "
|
|
4975
|
-
const checkIcon$1 = "
|
|
4976
|
-
const checkIconSelected = "
|
|
4977
|
-
const checkIconUnselected = "
|
|
4978
|
-
const loadMore$1 = "
|
|
4979
|
-
const loadMoreIcon$1 = "
|
|
4980
|
-
const selectedList = "
|
|
4981
|
-
const selectedListItem = "
|
|
4982
|
-
const label$7 = "
|
|
4983
|
-
const clientText$1 = "
|
|
4956
|
+
const listBoxButton = "_listBoxButton_1jb3f_9";
|
|
4957
|
+
const selectedOptionText = "_selectedOptionText_1jb3f_25";
|
|
4958
|
+
const transitionDiv = "_transitionDiv_1jb3f_29";
|
|
4959
|
+
const listboxButtonWrapper = "_listboxButtonWrapper_1jb3f_33";
|
|
4960
|
+
const arrowicon = "_arrowicon_1jb3f_36";
|
|
4961
|
+
const leave$2 = "_leave_1jb3f_39";
|
|
4962
|
+
const leaveFrom$2 = "_leaveFrom_1jb3f_42";
|
|
4963
|
+
const leaveTo$2 = "_leaveTo_1jb3f_45";
|
|
4964
|
+
const notAvailable = "_notAvailable_1jb3f_48";
|
|
4965
|
+
const option$1 = "_option_1jb3f_51";
|
|
4966
|
+
const activeOption = "_activeOption_1jb3f_54";
|
|
4967
|
+
const optionSelected = "_optionSelected_1jb3f_57";
|
|
4968
|
+
const inactiveOption = "_inactiveOption_1jb3f_60";
|
|
4969
|
+
const optionLabel = "_optionLabel_1jb3f_63";
|
|
4970
|
+
const optionSubLabel = "_optionSubLabel_1jb3f_66";
|
|
4971
|
+
const selectedLabel = "_selectedLabel_1jb3f_69";
|
|
4972
|
+
const nonselectedLabel = "_nonselectedLabel_1jb3f_72";
|
|
4973
|
+
const check = "_check_1jb3f_75";
|
|
4974
|
+
const checkActive = "_checkActive_1jb3f_78";
|
|
4975
|
+
const checkInactive = "_checkInactive_1jb3f_81";
|
|
4976
|
+
const checkIcon$1 = "_checkIcon_1jb3f_84";
|
|
4977
|
+
const checkIconSelected = "_checkIconSelected_1jb3f_87";
|
|
4978
|
+
const checkIconUnselected = "_checkIconUnselected_1jb3f_90";
|
|
4979
|
+
const loadMore$1 = "_loadMore_1jb3f_93";
|
|
4980
|
+
const loadMoreIcon$1 = "_loadMoreIcon_1jb3f_96";
|
|
4981
|
+
const selectedList = "_selectedList_1jb3f_99";
|
|
4982
|
+
const selectedListItem = "_selectedListItem_1jb3f_102";
|
|
4983
|
+
const label$7 = "_label_1jb3f_105";
|
|
4984
|
+
const clientText$1 = "_clientText_1jb3f_108";
|
|
4984
4985
|
var style = {
|
|
4985
|
-
"listBox-label": "_listBox-
|
|
4986
|
-
"listBox-labelFloating": "_listBox-
|
|
4987
|
-
"listBoxButton-container": "_listBoxButton-
|
|
4988
|
-
"listBoxButton-containerFloating": "_listBoxButton-
|
|
4986
|
+
"listBox-label": "_listBox-label_1jb3f_1",
|
|
4987
|
+
"listBox-labelFloating": "_listBox-labelFloating_1jb3f_5",
|
|
4988
|
+
"listBoxButton-container": "_listBoxButton-container_1jb3f_9",
|
|
4989
|
+
"listBoxButton-containerFloating": "_listBoxButton-containerFloating_1jb3f_13",
|
|
4989
4990
|
listBoxButton,
|
|
4990
|
-
"listBox-option": "_listBox-
|
|
4991
|
+
"listBox-option": "_listBox-option_1jb3f_21",
|
|
4991
4992
|
selectedOptionText,
|
|
4992
4993
|
transitionDiv,
|
|
4993
4994
|
listboxButtonWrapper,
|
|
@@ -5017,22 +5018,22 @@ var style = {
|
|
|
5017
5018
|
label: label$7,
|
|
5018
5019
|
clientText: clientText$1
|
|
5019
5020
|
};
|
|
5020
|
-
const primary$1 = "
|
|
5021
|
-
const secondary = "
|
|
5022
|
-
const tertiary = "
|
|
5021
|
+
const primary$1 = "_primary_18yak_1";
|
|
5022
|
+
const secondary = "_secondary_18yak_5";
|
|
5023
|
+
const tertiary = "_tertiary_18yak_10";
|
|
5023
5024
|
var styles$I = {
|
|
5024
5025
|
primary: primary$1,
|
|
5025
5026
|
secondary,
|
|
5026
5027
|
tertiary,
|
|
5027
|
-
"font-18": "_font-
|
|
5028
|
-
"font-20": "_font-
|
|
5029
|
-
"font-14": "_font-
|
|
5030
|
-
"font-14a": "_font-
|
|
5031
|
-
"font-14b": "_font-
|
|
5032
|
-
"font-14c": "_font-
|
|
5033
|
-
"font-14d": "_font-
|
|
5034
|
-
"font-15": "_font-
|
|
5035
|
-
"font-34": "_font-
|
|
5028
|
+
"font-18": "_font-18_18yak_14",
|
|
5029
|
+
"font-20": "_font-20_18yak_18",
|
|
5030
|
+
"font-14": "_font-14_18yak_22",
|
|
5031
|
+
"font-14a": "_font-14a_18yak_26",
|
|
5032
|
+
"font-14b": "_font-14b_18yak_30",
|
|
5033
|
+
"font-14c": "_font-14c_18yak_34",
|
|
5034
|
+
"font-14d": "_font-14d_18yak_38",
|
|
5035
|
+
"font-15": "_font-15_18yak_42",
|
|
5036
|
+
"font-34": "_font-34_18yak_45"
|
|
5036
5037
|
};
|
|
5037
5038
|
const variants = {
|
|
5038
5039
|
h1: "h1",
|
|
@@ -5060,10 +5061,10 @@ const Text = ({
|
|
|
5060
5061
|
children: children2
|
|
5061
5062
|
});
|
|
5062
5063
|
};
|
|
5063
|
-
const search$1 = "
|
|
5064
|
+
const search$1 = "_search_1klck_1";
|
|
5064
5065
|
var styles$H = {
|
|
5065
|
-
"searchTab-container": "_searchTab-
|
|
5066
|
-
"searchTab-input": "_searchTab-
|
|
5066
|
+
"searchTab-container": "_searchTab-container_1klck_1",
|
|
5067
|
+
"searchTab-input": "_searchTab-input_1klck_5",
|
|
5067
5068
|
search: search$1
|
|
5068
5069
|
};
|
|
5069
5070
|
const iconoirSearch = (props) => /* @__PURE__ */ jsx("svg", {
|
|
@@ -6527,7 +6528,7 @@ const TextAreaField = ({
|
|
|
6527
6528
|
});
|
|
6528
6529
|
};
|
|
6529
6530
|
const group$1 = "_group_13otg_1";
|
|
6530
|
-
const button$
|
|
6531
|
+
const button$7 = "_button_13otg_9";
|
|
6531
6532
|
const checkbox = "_checkbox_13otg_17";
|
|
6532
6533
|
const enabled = "_enabled_13otg_43";
|
|
6533
6534
|
const notenabled = "_notenabled_13otg_59";
|
|
@@ -6536,7 +6537,7 @@ const labelActive = "_labelActive_13otg_83";
|
|
|
6536
6537
|
const labelInactive = "_labelInactive_13otg_91";
|
|
6537
6538
|
var styles$A = {
|
|
6538
6539
|
group: group$1,
|
|
6539
|
-
button: button$
|
|
6540
|
+
button: button$7,
|
|
6540
6541
|
checkbox,
|
|
6541
6542
|
"switch": "_switch_13otg_25",
|
|
6542
6543
|
enabled,
|
|
@@ -7321,25 +7322,26 @@ const ExternalMetricForm = ({
|
|
|
7321
7322
|
})]
|
|
7322
7323
|
});
|
|
7323
7324
|
};
|
|
7324
|
-
const container$d = "
|
|
7325
|
-
const wrapper$
|
|
7326
|
-
const label$3 = "
|
|
7327
|
-
const floatingLabel = "
|
|
7328
|
-
const floatingText = "
|
|
7329
|
-
const clientText = "
|
|
7330
|
-
const normalText = "
|
|
7331
|
-
const dropdown$1 = "
|
|
7332
|
-
const options = "
|
|
7333
|
-
const checkedOption = "
|
|
7334
|
-
const option = "
|
|
7335
|
-
const icon$1 = "
|
|
7336
|
-
const text$
|
|
7337
|
-
const search = "
|
|
7338
|
-
const loadMore = "
|
|
7339
|
-
const loadMoreIcon = "
|
|
7325
|
+
const container$d = "_container_1f7qx_1";
|
|
7326
|
+
const wrapper$2 = "_wrapper_1f7qx_5";
|
|
7327
|
+
const label$3 = "_label_1f7qx_9";
|
|
7328
|
+
const floatingLabel = "_floatingLabel_1f7qx_13";
|
|
7329
|
+
const floatingText = "_floatingText_1f7qx_16";
|
|
7330
|
+
const clientText = "_clientText_1f7qx_20";
|
|
7331
|
+
const normalText = "_normalText_1f7qx_24";
|
|
7332
|
+
const dropdown$1 = "_dropdown_1f7qx_28";
|
|
7333
|
+
const options = "_options_1f7qx_32";
|
|
7334
|
+
const checkedOption = "_checkedOption_1f7qx_36";
|
|
7335
|
+
const option = "_option_1f7qx_32";
|
|
7336
|
+
const icon$1 = "_icon_1f7qx_44";
|
|
7337
|
+
const text$1 = "_text_1f7qx_48";
|
|
7338
|
+
const search = "_search_1f7qx_52";
|
|
7339
|
+
const loadMore = "_loadMore_1f7qx_56";
|
|
7340
|
+
const loadMoreIcon = "_loadMoreIcon_1f7qx_60";
|
|
7341
|
+
const aboveList = "_aboveList_1f7qx_64";
|
|
7340
7342
|
var styles$y = {
|
|
7341
7343
|
container: container$d,
|
|
7342
|
-
wrapper: wrapper$
|
|
7344
|
+
wrapper: wrapper$2,
|
|
7343
7345
|
label: label$3,
|
|
7344
7346
|
floatingLabel,
|
|
7345
7347
|
floatingText,
|
|
@@ -7350,10 +7352,11 @@ var styles$y = {
|
|
|
7350
7352
|
checkedOption,
|
|
7351
7353
|
option,
|
|
7352
7354
|
icon: icon$1,
|
|
7353
|
-
text: text$
|
|
7355
|
+
text: text$1,
|
|
7354
7356
|
search,
|
|
7355
7357
|
loadMore,
|
|
7356
|
-
loadMoreIcon
|
|
7358
|
+
loadMoreIcon,
|
|
7359
|
+
aboveList
|
|
7357
7360
|
};
|
|
7358
7361
|
const useEmbeddedDashboard = (token) => {
|
|
7359
7362
|
var _a2, _b2;
|
|
@@ -8070,12 +8073,14 @@ const FloatingDropDown = ({
|
|
|
8070
8073
|
selectedOption: selectedOption2,
|
|
8071
8074
|
onChange,
|
|
8072
8075
|
className,
|
|
8076
|
+
buttonClass,
|
|
8073
8077
|
options: options2,
|
|
8074
8078
|
isDisabled,
|
|
8075
8079
|
children: children2,
|
|
8076
8080
|
icon: icon2,
|
|
8077
8081
|
isSearchEnabled,
|
|
8078
|
-
closeControl
|
|
8082
|
+
closeControl,
|
|
8083
|
+
dropdownAbove
|
|
8079
8084
|
}) => {
|
|
8080
8085
|
const [isShow, setIsShow] = useState(false);
|
|
8081
8086
|
const wrapperRef = useRef(null);
|
|
@@ -8102,7 +8107,7 @@ const FloatingDropDown = ({
|
|
|
8102
8107
|
type: "button",
|
|
8103
8108
|
variant: "custom",
|
|
8104
8109
|
isDisabled,
|
|
8105
|
-
className: styles$y.wrapper,
|
|
8110
|
+
className: classnames(styles$y.wrapper, buttonClass),
|
|
8106
8111
|
onClick: () => setIsShow(!isShow),
|
|
8107
8112
|
children: [/* @__PURE__ */ jsxs(Text, {
|
|
8108
8113
|
variant: "p",
|
|
@@ -8111,7 +8116,7 @@ const FloatingDropDown = ({
|
|
|
8111
8116
|
children: [icon2, selectedOption2.label || selectedOption2.value || "Select An Option"]
|
|
8112
8117
|
}), /* @__PURE__ */ jsx(materialSymbolsKeyboardArrowDown, {})]
|
|
8113
8118
|
}), isShow && !isDisabled && /* @__PURE__ */ jsxs("div", {
|
|
8114
|
-
className: styles$y.dropdown
|
|
8119
|
+
className: `${dropdownAbove ? styles$y.aboveList : styles$y.dropdown}`,
|
|
8115
8120
|
children: [isSearchEnabled && /* @__PURE__ */ jsx(SearchTab, {
|
|
8116
8121
|
className: styles$y.search,
|
|
8117
8122
|
setSearchKeyword
|
|
@@ -19902,9 +19907,9 @@ function blurSeriesFromHighlightPayload(seriesModel, payload, api) {
|
|
|
19902
19907
|
var el = data.getItemGraphicEl(dataIndex);
|
|
19903
19908
|
if (!el) {
|
|
19904
19909
|
var count2 = data.count();
|
|
19905
|
-
var
|
|
19906
|
-
while (!el &&
|
|
19907
|
-
el = data.getItemGraphicEl(
|
|
19910
|
+
var current2 = 0;
|
|
19911
|
+
while (!el && current2 < count2) {
|
|
19912
|
+
el = data.getItemGraphicEl(current2++);
|
|
19908
19913
|
}
|
|
19909
19914
|
}
|
|
19910
19915
|
if (el) {
|
|
@@ -25754,13 +25759,13 @@ var Task = function() {
|
|
|
25754
25759
|
}();
|
|
25755
25760
|
var iterator = function() {
|
|
25756
25761
|
var end2;
|
|
25757
|
-
var
|
|
25762
|
+
var current2;
|
|
25758
25763
|
var modBy;
|
|
25759
25764
|
var modDataCount;
|
|
25760
25765
|
var winCount;
|
|
25761
25766
|
var it = {
|
|
25762
25767
|
reset: function(s2, e2, sStep, sCount) {
|
|
25763
|
-
|
|
25768
|
+
current2 = s2;
|
|
25764
25769
|
end2 = e2;
|
|
25765
25770
|
modBy = sStep;
|
|
25766
25771
|
modDataCount = sCount;
|
|
@@ -25770,12 +25775,12 @@ var iterator = function() {
|
|
|
25770
25775
|
};
|
|
25771
25776
|
return it;
|
|
25772
25777
|
function sequentialNext() {
|
|
25773
|
-
return
|
|
25778
|
+
return current2 < end2 ? current2++ : null;
|
|
25774
25779
|
}
|
|
25775
25780
|
function modNext() {
|
|
25776
|
-
var dataIndex =
|
|
25777
|
-
var result =
|
|
25778
|
-
|
|
25781
|
+
var dataIndex = current2 % winCount * modBy + Math.ceil(current2 / winCount);
|
|
25782
|
+
var result = current2 >= end2 ? null : dataIndex < modDataCount ? dataIndex : current2;
|
|
25783
|
+
current2++;
|
|
25779
25784
|
return result;
|
|
25780
25785
|
}
|
|
25781
25786
|
}();
|
|
@@ -40910,7 +40915,7 @@ var LineView = function(_super) {
|
|
|
40910
40915
|
var point = [symbol.x, symbol.y];
|
|
40911
40916
|
var start2 = void 0;
|
|
40912
40917
|
var end2 = void 0;
|
|
40913
|
-
var
|
|
40918
|
+
var current2 = void 0;
|
|
40914
40919
|
if (clipShape) {
|
|
40915
40920
|
if (isCoordSysPolar) {
|
|
40916
40921
|
var polarClip = clipShape;
|
|
@@ -40918,26 +40923,26 @@ var LineView = function(_super) {
|
|
|
40918
40923
|
if (isHorizontalOrRadial) {
|
|
40919
40924
|
start2 = polarClip.startAngle;
|
|
40920
40925
|
end2 = polarClip.endAngle;
|
|
40921
|
-
|
|
40926
|
+
current2 = -coord[1] / 180 * Math.PI;
|
|
40922
40927
|
} else {
|
|
40923
40928
|
start2 = polarClip.r0;
|
|
40924
40929
|
end2 = polarClip.r;
|
|
40925
|
-
|
|
40930
|
+
current2 = coord[0];
|
|
40926
40931
|
}
|
|
40927
40932
|
} else {
|
|
40928
40933
|
var gridClip = clipShape;
|
|
40929
40934
|
if (isHorizontalOrRadial) {
|
|
40930
40935
|
start2 = gridClip.x;
|
|
40931
40936
|
end2 = gridClip.x + gridClip.width;
|
|
40932
|
-
|
|
40937
|
+
current2 = symbol.x;
|
|
40933
40938
|
} else {
|
|
40934
40939
|
start2 = gridClip.y + gridClip.height;
|
|
40935
40940
|
end2 = gridClip.y;
|
|
40936
|
-
|
|
40941
|
+
current2 = symbol.y;
|
|
40937
40942
|
}
|
|
40938
40943
|
}
|
|
40939
40944
|
}
|
|
40940
|
-
var ratio = end2 === start2 ? 0 : (
|
|
40945
|
+
var ratio = end2 === start2 ? 0 : (current2 - start2) / (end2 - start2);
|
|
40941
40946
|
if (isAxisInverse) {
|
|
40942
40947
|
ratio = 1 - ratio;
|
|
40943
40948
|
}
|
|
@@ -41071,17 +41076,17 @@ var LineView = function(_super) {
|
|
|
41071
41076
|
var polygon = this._polygon;
|
|
41072
41077
|
var seriesModel = data.hostModel;
|
|
41073
41078
|
var diff2 = lineAnimationDiff(this._data, data, this._stackedOnPoints, stackedOnPoints, this._coordSys, coordSys, this._valueOrigin);
|
|
41074
|
-
var
|
|
41079
|
+
var current2 = diff2.current;
|
|
41075
41080
|
var stackedOnCurrent = diff2.stackedOnCurrent;
|
|
41076
41081
|
var next = diff2.next;
|
|
41077
41082
|
var stackedOnNext = diff2.stackedOnNext;
|
|
41078
41083
|
if (step) {
|
|
41079
|
-
|
|
41084
|
+
current2 = turnPointsIntoStep(diff2.current, coordSys, step, connectNulls);
|
|
41080
41085
|
stackedOnCurrent = turnPointsIntoStep(diff2.stackedOnCurrent, coordSys, step, connectNulls);
|
|
41081
41086
|
next = turnPointsIntoStep(diff2.next, coordSys, step, connectNulls);
|
|
41082
41087
|
stackedOnNext = turnPointsIntoStep(diff2.stackedOnNext, coordSys, step, connectNulls);
|
|
41083
41088
|
}
|
|
41084
|
-
if (getBoundingDiff(
|
|
41089
|
+
if (getBoundingDiff(current2, next) > 3e3 || polygon && getBoundingDiff(stackedOnCurrent, stackedOnNext) > 3e3) {
|
|
41085
41090
|
polyline.stopAnimation();
|
|
41086
41091
|
polyline.setShape({
|
|
41087
41092
|
points: next
|
|
@@ -41096,20 +41101,20 @@ var LineView = function(_super) {
|
|
|
41096
41101
|
return;
|
|
41097
41102
|
}
|
|
41098
41103
|
polyline.shape.__points = diff2.current;
|
|
41099
|
-
polyline.shape.points =
|
|
41104
|
+
polyline.shape.points = current2;
|
|
41100
41105
|
var target = {
|
|
41101
41106
|
shape: {
|
|
41102
41107
|
points: next
|
|
41103
41108
|
}
|
|
41104
41109
|
};
|
|
41105
|
-
if (diff2.current !==
|
|
41110
|
+
if (diff2.current !== current2) {
|
|
41106
41111
|
target.shape.__points = diff2.next;
|
|
41107
41112
|
}
|
|
41108
41113
|
polyline.stopAnimation();
|
|
41109
41114
|
updateProps$1(polyline, target, seriesModel);
|
|
41110
41115
|
if (polygon) {
|
|
41111
41116
|
polygon.setShape({
|
|
41112
|
-
points:
|
|
41117
|
+
points: current2,
|
|
41113
41118
|
stackedOnPoints: stackedOnCurrent
|
|
41114
41119
|
});
|
|
41115
41120
|
polygon.stopAnimation();
|
|
@@ -44862,15 +44867,15 @@ function fixMinMaxLabelShow(axisModel, labelEls, tickEls) {
|
|
|
44862
44867
|
function ignoreEl(el) {
|
|
44863
44868
|
el && (el.ignore = true);
|
|
44864
44869
|
}
|
|
44865
|
-
function isTwoLabelOverlapped(
|
|
44866
|
-
var firstRect =
|
|
44870
|
+
function isTwoLabelOverlapped(current2, next) {
|
|
44871
|
+
var firstRect = current2 && current2.getBoundingRect().clone();
|
|
44867
44872
|
var nextRect = next && next.getBoundingRect().clone();
|
|
44868
44873
|
if (!firstRect || !nextRect) {
|
|
44869
44874
|
return;
|
|
44870
44875
|
}
|
|
44871
44876
|
var mRotationBack = identity([]);
|
|
44872
|
-
rotate(mRotationBack, mRotationBack, -
|
|
44873
|
-
firstRect.applyTransform(mul([], mRotationBack,
|
|
44877
|
+
rotate(mRotationBack, mRotationBack, -current2.rotation);
|
|
44878
|
+
firstRect.applyTransform(mul([], mRotationBack, current2.getLocalTransform()));
|
|
44874
44879
|
nextRect.applyTransform(mul([], mRotationBack, next.getLocalTransform()));
|
|
44875
44880
|
return firstRect.intersect(nextRect);
|
|
44876
44881
|
}
|
|
@@ -48842,8 +48847,8 @@ var GeoView = function(_super) {
|
|
|
48842
48847
|
};
|
|
48843
48848
|
GeoView2.prototype._handleRegionClick = function(e2) {
|
|
48844
48849
|
var eventData;
|
|
48845
|
-
findEventDispatcher(e2.target, function(
|
|
48846
|
-
return (eventData = getECData(
|
|
48850
|
+
findEventDispatcher(e2.target, function(current2) {
|
|
48851
|
+
return (eventData = getECData(current2).eventData) != null;
|
|
48847
48852
|
}, true);
|
|
48848
48853
|
if (eventData) {
|
|
48849
48854
|
this._api.dispatchAction({
|
|
@@ -50328,11 +50333,11 @@ function enableAriaDecalForTree(seriesModel) {
|
|
|
50328
50333
|
var tree = data.tree;
|
|
50329
50334
|
var decalPaletteScope2 = {};
|
|
50330
50335
|
tree.eachNode(function(node) {
|
|
50331
|
-
var
|
|
50332
|
-
while (
|
|
50333
|
-
|
|
50336
|
+
var current2 = node;
|
|
50337
|
+
while (current2 && current2.depth > 1) {
|
|
50338
|
+
current2 = current2.parentNode;
|
|
50334
50339
|
}
|
|
50335
|
-
var decal = getDecalFromPalette(seriesModel.ecModel,
|
|
50340
|
+
var decal = getDecalFromPalette(seriesModel.ecModel, current2.name || current2.dataIndex + "", decalPaletteScope2);
|
|
50336
50341
|
node.setVisual("decal", decal);
|
|
50337
50342
|
});
|
|
50338
50343
|
}
|
|
@@ -62003,11 +62008,11 @@ function sort(children2, sortOrder) {
|
|
|
62003
62008
|
function sunburstVisual(ecModel) {
|
|
62004
62009
|
var paletteScope = {};
|
|
62005
62010
|
function pickColor(node, seriesModel, treeHeight) {
|
|
62006
|
-
var
|
|
62007
|
-
while (
|
|
62008
|
-
|
|
62011
|
+
var current2 = node;
|
|
62012
|
+
while (current2 && current2.depth > 1) {
|
|
62013
|
+
current2 = current2.parentNode;
|
|
62009
62014
|
}
|
|
62010
|
-
var color2 = seriesModel.getColorFromPalette(
|
|
62015
|
+
var color2 = seriesModel.getColorFromPalette(current2.name || current2.dataIndex + "", paletteScope);
|
|
62011
62016
|
if (node.depth > 1 && isString$1(color2)) {
|
|
62012
62017
|
color2 = lift(color2, (node.depth - 1) / (treeHeight - 1) * 0.5);
|
|
62013
62018
|
}
|
|
@@ -68446,8 +68451,8 @@ var DataView = function(_super) {
|
|
|
68446
68451
|
viewMain.appendChild(textarea2);
|
|
68447
68452
|
}
|
|
68448
68453
|
var blockMetaList = result.meta;
|
|
68449
|
-
var
|
|
68450
|
-
|
|
68454
|
+
var buttonContainer2 = document.createElement("div");
|
|
68455
|
+
buttonContainer2.style.cssText = "position:absolute;bottom:5px;left:0;right:0";
|
|
68451
68456
|
var buttonStyle = "float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px";
|
|
68452
68457
|
var closeButton = document.createElement("div");
|
|
68453
68458
|
var refreshButton = document.createElement("div");
|
|
@@ -68486,11 +68491,11 @@ var DataView = function(_super) {
|
|
|
68486
68491
|
closeButton.innerHTML = lang[1];
|
|
68487
68492
|
refreshButton.innerHTML = lang[2];
|
|
68488
68493
|
refreshButton.style.cssText = closeButton.style.cssText = buttonStyle;
|
|
68489
|
-
!model.get("readOnly") &&
|
|
68490
|
-
|
|
68494
|
+
!model.get("readOnly") && buttonContainer2.appendChild(refreshButton);
|
|
68495
|
+
buttonContainer2.appendChild(closeButton);
|
|
68491
68496
|
root2.appendChild(header2);
|
|
68492
68497
|
root2.appendChild(viewMain);
|
|
68493
|
-
root2.appendChild(
|
|
68498
|
+
root2.appendChild(buttonContainer2);
|
|
68494
68499
|
viewMain.style.height = container2.clientHeight - 80 + "px";
|
|
68495
68500
|
container2.appendChild(root2);
|
|
68496
68501
|
this._dom = root2;
|
|
@@ -73916,10 +73921,10 @@ var ScrollableLegendView = function(_super) {
|
|
|
73916
73921
|
var pageText = controllerGroup.childOfName("pageText");
|
|
73917
73922
|
var pageFormatter = legendModel.get("pageFormatter");
|
|
73918
73923
|
var pageIndex = pageInfo.pageIndex;
|
|
73919
|
-
var
|
|
73924
|
+
var current2 = pageIndex != null ? pageIndex + 1 : 0;
|
|
73920
73925
|
var total = pageInfo.pageCount;
|
|
73921
|
-
pageText && pageFormatter && pageText.setStyle("text", isString$1(pageFormatter) ? pageFormatter.replace("{current}",
|
|
73922
|
-
current,
|
|
73926
|
+
pageText && pageFormatter && pageText.setStyle("text", isString$1(pageFormatter) ? pageFormatter.replace("{current}", current2 == null ? "" : current2 + "").replace("{total}", total == null ? "" : total + "") : pageFormatter({
|
|
73927
|
+
current: current2,
|
|
73923
73928
|
total
|
|
73924
73929
|
}));
|
|
73925
73930
|
};
|
|
@@ -81606,7 +81611,7 @@ const StackedBarChart = ({
|
|
|
81606
81611
|
children: /* @__PURE__ */ jsx(EChartsReact, {
|
|
81607
81612
|
style: {
|
|
81608
81613
|
width: "100%",
|
|
81609
|
-
height: "
|
|
81614
|
+
height: "90%"
|
|
81610
81615
|
},
|
|
81611
81616
|
option: option2,
|
|
81612
81617
|
onEvents: {
|
|
@@ -84029,7 +84034,7 @@ const alphanumeric = (rowA, rowB, columnId) => {
|
|
|
84029
84034
|
const alphanumericCaseSensitive = (rowA, rowB, columnId) => {
|
|
84030
84035
|
return compareAlphanumeric(toString$1(rowA.getValue(columnId)), toString$1(rowB.getValue(columnId)));
|
|
84031
84036
|
};
|
|
84032
|
-
const text
|
|
84037
|
+
const text = (rowA, rowB, columnId) => {
|
|
84033
84038
|
return compareBasic(toString$1(rowA.getValue(columnId)).toLowerCase(), toString$1(rowB.getValue(columnId)).toLowerCase());
|
|
84034
84039
|
};
|
|
84035
84040
|
const textCaseSensitive = (rowA, rowB, columnId) => {
|
|
@@ -84091,7 +84096,7 @@ function compareAlphanumeric(aStr, bStr) {
|
|
|
84091
84096
|
const sortingFns = {
|
|
84092
84097
|
alphanumeric,
|
|
84093
84098
|
alphanumericCaseSensitive,
|
|
84094
|
-
text
|
|
84099
|
+
text,
|
|
84095
84100
|
textCaseSensitive,
|
|
84096
84101
|
datetime,
|
|
84097
84102
|
basic
|
|
@@ -85626,41 +85631,51 @@ function getAccessorAttributes(accessor) {
|
|
|
85626
85631
|
...accessor
|
|
85627
85632
|
};
|
|
85628
85633
|
}
|
|
85629
|
-
const tableData = "
|
|
85630
|
-
const tableHeadCol$1 = "
|
|
85631
|
-
const tableRow$1 = "
|
|
85632
|
-
const tableRowCol$1 = "
|
|
85633
|
-
const row = "
|
|
85634
|
-
const container$b = "
|
|
85635
|
-
const table$
|
|
85636
|
-
const previewTable = "
|
|
85637
|
-
const preview = "
|
|
85638
|
-
const searchButton = "
|
|
85639
|
-
const previewText = "
|
|
85640
|
-
const noData$1 = "
|
|
85641
|
-
const error$2 = "
|
|
85642
|
-
const errorMsg = "
|
|
85643
|
-
const tableIcon = "
|
|
85644
|
-
const stripedRow = "
|
|
85645
|
-
const rowHover = "
|
|
85646
|
-
const rightBorder = "
|
|
85647
|
-
const searchContainer = "
|
|
85648
|
-
const sortButton = "
|
|
85649
|
-
const
|
|
85650
|
-
const
|
|
85651
|
-
const
|
|
85652
|
-
const
|
|
85653
|
-
const
|
|
85654
|
-
const
|
|
85634
|
+
const tableData = "_tableData_1bay1_7";
|
|
85635
|
+
const tableHeadCol$1 = "_tableHeadCol_1bay1_13";
|
|
85636
|
+
const tableRow$1 = "_tableRow_1bay1_19";
|
|
85637
|
+
const tableRowCol$1 = "_tableRowCol_1bay1_25";
|
|
85638
|
+
const row = "_row_1bay1_31";
|
|
85639
|
+
const container$b = "_container_1bay1_37";
|
|
85640
|
+
const table$2 = "_table_1bay1_1";
|
|
85641
|
+
const previewTable = "_previewTable_1bay1_49";
|
|
85642
|
+
const preview = "_preview_1bay1_49";
|
|
85643
|
+
const searchButton = "_searchButton_1bay1_61";
|
|
85644
|
+
const previewText = "_previewText_1bay1_67";
|
|
85645
|
+
const noData$1 = "_noData_1bay1_73";
|
|
85646
|
+
const error$2 = "_error_1bay1_79";
|
|
85647
|
+
const errorMsg = "_errorMsg_1bay1_85";
|
|
85648
|
+
const tableIcon = "_tableIcon_1bay1_91";
|
|
85649
|
+
const stripedRow = "_stripedRow_1bay1_97";
|
|
85650
|
+
const rowHover = "_rowHover_1bay1_103";
|
|
85651
|
+
const rightBorder = "_rightBorder_1bay1_109";
|
|
85652
|
+
const searchContainer = "_searchContainer_1bay1_115";
|
|
85653
|
+
const sortButton = "_sortButton_1bay1_121";
|
|
85654
|
+
const searchTab = "_searchTab_1bay1_127";
|
|
85655
|
+
const searchTabInput = "_searchTabInput_1bay1_133";
|
|
85656
|
+
const searchTabIcon = "_searchTabIcon_1bay1_139";
|
|
85657
|
+
const noDataHead = "_noDataHead_1bay1_145";
|
|
85658
|
+
const noDataBody = "_noDataBody_1bay1_151";
|
|
85659
|
+
const showSort = "_showSort_1bay1_157";
|
|
85660
|
+
const noSort = "_noSort_1bay1_163";
|
|
85661
|
+
const pagination = "_pagination_1bay1_169";
|
|
85662
|
+
const rowStyle = "_rowStyle_1bay1_175";
|
|
85663
|
+
const rowText = "_rowText_1bay1_181";
|
|
85664
|
+
const rowsDropdown = "_rowsDropdown_1bay1_187";
|
|
85665
|
+
const pageStyle = "_pageStyle_1bay1_193";
|
|
85666
|
+
const buttonContainer = "_buttonContainer_1bay1_199";
|
|
85667
|
+
const button$6 = "_button_1bay1_199";
|
|
85668
|
+
const paginationWrapper = "_paginationWrapper_1bay1_217";
|
|
85669
|
+
const current = "_current_1bay1_223";
|
|
85655
85670
|
var styles$u = {
|
|
85656
|
-
"table-loader-container": "_table-loader-
|
|
85671
|
+
"table-loader-container": "_table-loader-container_1bay1_1",
|
|
85657
85672
|
tableData,
|
|
85658
85673
|
tableHeadCol: tableHeadCol$1,
|
|
85659
85674
|
tableRow: tableRow$1,
|
|
85660
85675
|
tableRowCol: tableRowCol$1,
|
|
85661
85676
|
row,
|
|
85662
85677
|
container: container$b,
|
|
85663
|
-
table: table$
|
|
85678
|
+
table: table$2,
|
|
85664
85679
|
previewTable,
|
|
85665
85680
|
preview,
|
|
85666
85681
|
searchButton,
|
|
@@ -85674,12 +85689,22 @@ var styles$u = {
|
|
|
85674
85689
|
rightBorder,
|
|
85675
85690
|
searchContainer,
|
|
85676
85691
|
sortButton,
|
|
85677
|
-
debounceInput,
|
|
85678
85692
|
searchTab,
|
|
85693
|
+
searchTabInput,
|
|
85694
|
+
searchTabIcon,
|
|
85679
85695
|
noDataHead,
|
|
85680
85696
|
noDataBody,
|
|
85681
85697
|
showSort,
|
|
85682
|
-
noSort
|
|
85698
|
+
noSort,
|
|
85699
|
+
pagination,
|
|
85700
|
+
rowStyle,
|
|
85701
|
+
rowText,
|
|
85702
|
+
rowsDropdown,
|
|
85703
|
+
pageStyle,
|
|
85704
|
+
buttonContainer,
|
|
85705
|
+
button: button$6,
|
|
85706
|
+
paginationWrapper,
|
|
85707
|
+
current
|
|
85683
85708
|
};
|
|
85684
85709
|
const DebouncedInput = ({
|
|
85685
85710
|
value: initialValue,
|
|
@@ -85697,11 +85722,19 @@ const DebouncedInput = ({
|
|
|
85697
85722
|
}, debounce2);
|
|
85698
85723
|
return () => clearTimeout(timeout);
|
|
85699
85724
|
}, [debounce2, onChange, value]);
|
|
85700
|
-
return /* @__PURE__ */
|
|
85701
|
-
|
|
85702
|
-
|
|
85703
|
-
|
|
85704
|
-
|
|
85725
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
85726
|
+
className: `${styles$u.searchTab} ${props.className || ""}`,
|
|
85727
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
85728
|
+
...props,
|
|
85729
|
+
value,
|
|
85730
|
+
onChange: (e2) => setValue(e2.target.value),
|
|
85731
|
+
className: styles$u.searchTabInput
|
|
85732
|
+
}), /* @__PURE__ */ jsx(iconoirSearch, {
|
|
85733
|
+
className: styles$u.searchTabIcon,
|
|
85734
|
+
color: "#C7C7C7",
|
|
85735
|
+
width: "30px",
|
|
85736
|
+
height: "30px"
|
|
85737
|
+
})]
|
|
85705
85738
|
});
|
|
85706
85739
|
};
|
|
85707
85740
|
var TableIcon = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIj48ZGVmcz48c3R5bGU+LmNscy0xe3N0cm9rZTojMTgyYzYwO30uY2xzLTEsLmNscy0ye2ZpbGw6bm9uZTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7fS5jbHMtM3tmaWxsOiM1ODY1ZjY7b3BhY2l0eTouMTt9LmNscy00e2ZpbGw6I2YyZjNmNDt9LmNscy01e2ZpbGw6I2MxYzdjOTt9LmNscy02e2ZpbGw6IzE4MmM2MDt9LmNscy0ye3N0cm9rZTojNTg2NWY2O3N0cm9rZS13aWR0aDo0cHg7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTI3MS4xMSwxNzkuNzJsLS4wOSwyMC4zM3MuMTksNC4wNS4zOCw0LjUyLjc1LDEuODgsMS40MSwyLjM1LDEuMjcuOTksMi4yMSwxLjMyLDEuMTguNjEsMi42NC42MSwyMi42OC4wNSwyMi42OC4wNWwtMjkuMjItMjkuMThaIi8+PGxpbmUgY2xhc3M9ImNscy0xIiB4MT0iMjAzLjcxIiB5MT0iMjA4LjAxIiB4Mj0iMjM0LjkyIiB5Mj0iMjA4LjAxIi8+PGxpbmUgY2xhc3M9ImNscy0yIiB4MT0iMjAzLjcxIiB5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IgaGVpZ2h0PSI0Ii8+PHJlY3QgY2xhc3M9ImNscy00IiB4PSIyMjQuMjMiIHk9IjI3Ny45NiIgd2lkdGg9IjguNDciIGhlaWdodD0iNCIvPjxyZWN0IGNsYXNzPSJjbHMtNCIgeD0iMjQyLjY5IiB5PSIyNzcuOTYiIHdpZHRoPSI4LjQ3IiBoZWlnaHQ9IjQiLz48cmVjdCBjbGFzcz0iY2xzLTQiIHg9IjI2MC42MiIgeT0iMjc3Ljk2IiB3aWR0aD0iOC40NyIgaGVpZ2h0PSI0Ii8+PHJlY3QgY2xhc3M9ImNscy00IiB4PSIyNzguODMiIHk9IjI3Ny45NiIgd2lkdGg9IjguNDciIGhlaWdodD0iNCIvPjwvZz48Zz48cmVjdCBjbGFzcz0iY2xzLTQiIHg9IjIwNi4xNyIgeT0iMjg2LjQzIiB3aWR0aD0iOC40NyIgaGVpZ2h0PSI0Ii8+PHJlY3QgY2xhc3M9ImNscy00IiB4PSIyMjQuMjMiIHk9IjI4Ni40MyIgd2lkdGg9IjguNDciIGhlaWdodD0iNCIvPjxyZWN0IGNsYXNzPSJjbHMtNCIgeD0iMjQyLjY5IiB5PSIyODYuNDMiIHdpZHRoPSI4LjQ3IiBoZWlnaHQ9IjQiLz48cmVjdCBjbGFzcz0iY2xzLTQiIHg9IjI2MC42MiIgeT0iMjg2LjQzIiB3aWR0aD0iOC40NyIgaGVpZ2h0PSI0Ii8+PHJlY3QgY2xhc3M9ImNscy00IiB4PSIyNzguODMiIHk9IjI4Ni40MyIgd2lkdGg9IjguNDciIGhlaWdodD0iNCIvPjwvZz48L3N2Zz4=";
|
|
@@ -85732,8 +85765,10 @@ const Table = ({
|
|
|
85732
85765
|
isLoading,
|
|
85733
85766
|
error: error2,
|
|
85734
85767
|
tableSettings,
|
|
85735
|
-
tableName
|
|
85768
|
+
tableName,
|
|
85769
|
+
className = ""
|
|
85736
85770
|
}) => {
|
|
85771
|
+
var _a2, _b2, _c2, _d;
|
|
85737
85772
|
const columnHelper = createColumnHelper();
|
|
85738
85773
|
const columns = [];
|
|
85739
85774
|
const tableData2 = (data == null ? void 0 : data.length) ? data : [];
|
|
@@ -85757,7 +85792,25 @@ const Table = ({
|
|
|
85757
85792
|
};
|
|
85758
85793
|
const [sorting, setSorting] = useState([]);
|
|
85759
85794
|
const [rowSelection, setRowSelection] = useState({});
|
|
85795
|
+
const [rowSize, setRowSize] = useState({
|
|
85796
|
+
value: "25",
|
|
85797
|
+
label: "Show 25"
|
|
85798
|
+
});
|
|
85799
|
+
const rowSizeList = [{
|
|
85800
|
+
label: "Show 25",
|
|
85801
|
+
value: "25"
|
|
85802
|
+
}, {
|
|
85803
|
+
label: "Show 50",
|
|
85804
|
+
value: "50"
|
|
85805
|
+
}, {
|
|
85806
|
+
label: "Show 75",
|
|
85807
|
+
value: "75"
|
|
85808
|
+
}, {
|
|
85809
|
+
label: "Show 100",
|
|
85810
|
+
value: "100"
|
|
85811
|
+
}];
|
|
85760
85812
|
const [globalFilter, setGlobalFilter] = useState("");
|
|
85813
|
+
let fetchData;
|
|
85761
85814
|
if (data) {
|
|
85762
85815
|
for (const key in data[0]) {
|
|
85763
85816
|
const colName = key;
|
|
@@ -85767,6 +85820,13 @@ const Table = ({
|
|
|
85767
85820
|
});
|
|
85768
85821
|
columns.push(col);
|
|
85769
85822
|
}
|
|
85823
|
+
fetchData = async (options2) => {
|
|
85824
|
+
await new Promise((r2) => setTimeout(r2, 500));
|
|
85825
|
+
return {
|
|
85826
|
+
rows: data.slice(options2.pageIndex * options2.pageSize, (options2.pageIndex + 1) * options2.pageSize),
|
|
85827
|
+
pageCount: Math.ceil(data.length / options2.pageSize)
|
|
85828
|
+
};
|
|
85829
|
+
};
|
|
85770
85830
|
}
|
|
85771
85831
|
const fuzzyFilter = (row2, columnId, value, addMeta) => {
|
|
85772
85832
|
const itemRank = rankItem(row2.getValue(columnId), value);
|
|
@@ -85775,15 +85835,36 @@ const Table = ({
|
|
|
85775
85835
|
});
|
|
85776
85836
|
return itemRank.passed;
|
|
85777
85837
|
};
|
|
85838
|
+
const [isHovered, setHovered] = useState("");
|
|
85839
|
+
const [{
|
|
85840
|
+
pageIndex,
|
|
85841
|
+
pageSize
|
|
85842
|
+
}, setPagination] = React__default.useState({
|
|
85843
|
+
pageIndex: 0,
|
|
85844
|
+
pageSize: 10
|
|
85845
|
+
});
|
|
85846
|
+
const fetchDataOptions = {
|
|
85847
|
+
pageIndex,
|
|
85848
|
+
pageSize
|
|
85849
|
+
};
|
|
85850
|
+
const dataQuery = useQuery(["data", fetchDataOptions], () => fetchData(fetchDataOptions), {
|
|
85851
|
+
keepPreviousData: true
|
|
85852
|
+
});
|
|
85853
|
+
const pagination2 = React__default.useMemo(() => ({
|
|
85854
|
+
pageIndex,
|
|
85855
|
+
pageSize
|
|
85856
|
+
}), [pageIndex, pageSize]);
|
|
85778
85857
|
const table2 = useReactTable({
|
|
85779
|
-
data: tableData2,
|
|
85858
|
+
data: (_b2 = (_a2 = dataQuery.data) == null ? void 0 : _a2.rows) != null ? _b2 : tableData2,
|
|
85780
85859
|
columns,
|
|
85860
|
+
pageCount: (_d = (_c2 = dataQuery.data) == null ? void 0 : _c2.pageCount) != null ? _d : -1,
|
|
85781
85861
|
filterFns: {
|
|
85782
85862
|
fuzzy: fuzzyFilter
|
|
85783
85863
|
},
|
|
85784
85864
|
state: {
|
|
85785
85865
|
sorting,
|
|
85786
|
-
globalFilter
|
|
85866
|
+
globalFilter,
|
|
85867
|
+
pagination: pagination2
|
|
85787
85868
|
},
|
|
85788
85869
|
enableGlobalFilter: true,
|
|
85789
85870
|
onRowSelectionChange: setRowSelection,
|
|
@@ -85793,11 +85874,15 @@ const Table = ({
|
|
|
85793
85874
|
getFilteredRowModel: getFilteredRowModel(),
|
|
85794
85875
|
getSortedRowModel: getSortedRowModel(),
|
|
85795
85876
|
onGlobalFilterChange: setGlobalFilter,
|
|
85877
|
+
onPaginationChange: setPagination,
|
|
85878
|
+
manualPagination: true,
|
|
85796
85879
|
debugTable: true
|
|
85797
85880
|
});
|
|
85798
|
-
|
|
85881
|
+
useEffect(() => {
|
|
85882
|
+
table2.setPageSize(Number(rowSize.value));
|
|
85883
|
+
}, [rowSize, table2]);
|
|
85799
85884
|
return /* @__PURE__ */ jsx("div", {
|
|
85800
|
-
className: styles$u.container
|
|
85885
|
+
className: `${styles$u.container} ${className}`,
|
|
85801
85886
|
children: /* @__PURE__ */ jsxs("div", {
|
|
85802
85887
|
className: styles$u.previewTable,
|
|
85803
85888
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -85807,13 +85892,10 @@ const Table = ({
|
|
|
85807
85892
|
variant: "h1",
|
|
85808
85893
|
className: styles$u.previewText,
|
|
85809
85894
|
children: tableName
|
|
85810
|
-
}), (tableSettings == null ? void 0 : tableSettings.enableTableSearch) && /* @__PURE__ */ jsx(
|
|
85811
|
-
|
|
85812
|
-
|
|
85813
|
-
|
|
85814
|
-
className: styles$u.debounceInput,
|
|
85815
|
-
placeholder: "Search"
|
|
85816
|
-
})
|
|
85895
|
+
}), (tableSettings == null ? void 0 : tableSettings.enableTableSearch) && /* @__PURE__ */ jsx(DebouncedInput, {
|
|
85896
|
+
value: globalFilter,
|
|
85897
|
+
onChange: (value) => setGlobalFilter(String(value)),
|
|
85898
|
+
placeholder: "Search"
|
|
85817
85899
|
})]
|
|
85818
85900
|
}), /* @__PURE__ */ jsxs("div", {
|
|
85819
85901
|
className: styles$u.tableData,
|
|
@@ -85826,58 +85908,60 @@ const Table = ({
|
|
|
85826
85908
|
color: "blue"
|
|
85827
85909
|
}
|
|
85828
85910
|
})
|
|
85829
|
-
}), !!(data == null ? void 0 : data.length) && !isLoading && /* @__PURE__ */
|
|
85830
|
-
|
|
85831
|
-
|
|
85832
|
-
children:
|
|
85833
|
-
|
|
85834
|
-
|
|
85835
|
-
|
|
85836
|
-
|
|
85837
|
-
|
|
85838
|
-
|
|
85839
|
-
|
|
85840
|
-
|
|
85841
|
-
|
|
85842
|
-
|
|
85843
|
-
|
|
85844
|
-
|
|
85845
|
-
|
|
85846
|
-
|
|
85847
|
-
|
|
85848
|
-
|
|
85849
|
-
|
|
85850
|
-
|
|
85851
|
-
|
|
85852
|
-
|
|
85853
|
-
|
|
85854
|
-
|
|
85855
|
-
|
|
85856
|
-
|
|
85857
|
-
|
|
85911
|
+
}), !!(data == null ? void 0 : data.length) && !isLoading && /* @__PURE__ */ jsx(Fragment, {
|
|
85912
|
+
children: /* @__PURE__ */ jsxs("table", {
|
|
85913
|
+
className: styles$u.table,
|
|
85914
|
+
children: [/* @__PURE__ */ jsx("thead", {
|
|
85915
|
+
children: table2.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx("tr", {
|
|
85916
|
+
className: styles$u.row,
|
|
85917
|
+
children: headerGroup.headers.map((header2) => {
|
|
85918
|
+
var _a3;
|
|
85919
|
+
return /* @__PURE__ */ jsx("th", {
|
|
85920
|
+
className: styles$u.tableHeadCol,
|
|
85921
|
+
colSpan: header2.colSpan,
|
|
85922
|
+
children: (tableSettings == null ? void 0 : tableSettings.enableSorting) ? /* @__PURE__ */ jsx("div", {
|
|
85923
|
+
className: header2.column.getCanSort() ? styles$u.sortButton : "",
|
|
85924
|
+
onClick: header2.column.getToggleSortingHandler(),
|
|
85925
|
+
onMouseOver: () => setHovered(header2.id),
|
|
85926
|
+
onMouseOut: () => setHovered(""),
|
|
85927
|
+
children: header2.isPlaceholder ? null : /* @__PURE__ */ jsxs("div", {
|
|
85928
|
+
style: headerStyle,
|
|
85929
|
+
children: [flexRender(header2.column.columnDef.header, header2.getContext()), /* @__PURE__ */ jsx("div", {
|
|
85930
|
+
className: isHovered === header2.id ? styles$u.showSort : styles$u.noSort,
|
|
85931
|
+
children: (_a3 = {
|
|
85932
|
+
asc: " \u{1F53C}",
|
|
85933
|
+
desc: " \u{1F53D}"
|
|
85934
|
+
}[header2.column.getIsSorted()]) != null ? _a3 : null
|
|
85935
|
+
})]
|
|
85936
|
+
})
|
|
85937
|
+
}) : /* @__PURE__ */ jsx(Fragment, {
|
|
85938
|
+
children: header2.isPlaceholder ? null : /* @__PURE__ */ jsx("div", {
|
|
85939
|
+
style: headerStyle,
|
|
85940
|
+
children: flexRender(header2.column.columnDef.header, header2.getContext())
|
|
85941
|
+
})
|
|
85858
85942
|
})
|
|
85859
|
-
})
|
|
85860
|
-
}
|
|
85861
|
-
})
|
|
85862
|
-
},
|
|
85863
|
-
|
|
85864
|
-
|
|
85865
|
-
|
|
85866
|
-
|
|
85867
|
-
|
|
85868
|
-
|
|
85869
|
-
|
|
85870
|
-
|
|
85871
|
-
|
|
85872
|
-
|
|
85873
|
-
|
|
85874
|
-
|
|
85875
|
-
|
|
85876
|
-
|
|
85877
|
-
})
|
|
85878
|
-
},
|
|
85879
|
-
}
|
|
85880
|
-
})
|
|
85943
|
+
}, header2.id);
|
|
85944
|
+
})
|
|
85945
|
+
}, headerGroup.id))
|
|
85946
|
+
}), /* @__PURE__ */ jsx("tbody", {
|
|
85947
|
+
children: table2.getRowModel().rows.map((row2) => /* @__PURE__ */ jsx("tr", {
|
|
85948
|
+
className: `${styles$u.tableRow} ${(tableSettings == null ? void 0 : tableSettings.showRowHover) ? styles$u.rowHover : ""} ${(tableSettings == null ? void 0 : tableSettings.enableStripedRows) && Number(row2.id) % 2 !== 0 ? styles$u.stripedRow : ""}`,
|
|
85949
|
+
children: row2.getVisibleCells().map((cell) => /* @__PURE__ */ jsxs("td", {
|
|
85950
|
+
className: `${styles$u.tableRowCol} ${!(tableSettings == null ? void 0 : tableSettings.hideVerticalDivider) ? styles$u.rightBorder : ""}`,
|
|
85951
|
+
children: [!!tableSettings && /* @__PURE__ */ jsx("div", {
|
|
85952
|
+
style: divStyle,
|
|
85953
|
+
children: flexRender(cell.column.columnDef.cell, cell.getContext())
|
|
85954
|
+
}), !tableSettings && /* @__PURE__ */ jsx("div", {
|
|
85955
|
+
style: {
|
|
85956
|
+
textAlign: "center",
|
|
85957
|
+
width: "100%"
|
|
85958
|
+
},
|
|
85959
|
+
children: flexRender(cell.column.columnDef.cell, cell.getContext())
|
|
85960
|
+
})]
|
|
85961
|
+
}, cell.id))
|
|
85962
|
+
}, row2.id))
|
|
85963
|
+
})]
|
|
85964
|
+
})
|
|
85881
85965
|
}), !(data == null ? void 0 : data.length) && !isLoading && !error2.length && /* @__PURE__ */ jsxs("div", {
|
|
85882
85966
|
className: styles$u.noData,
|
|
85883
85967
|
children: [/* @__PURE__ */ jsx("img", {
|
|
@@ -85905,6 +85989,37 @@ const Table = ({
|
|
|
85905
85989
|
children: error2
|
|
85906
85990
|
})
|
|
85907
85991
|
})]
|
|
85992
|
+
}), data && /* @__PURE__ */ jsxs("div", {
|
|
85993
|
+
className: styles$u.pagination,
|
|
85994
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
85995
|
+
className: styles$u.rowStyle,
|
|
85996
|
+
children: /* @__PURE__ */ jsx(FloatingDropDown, {
|
|
85997
|
+
onChange: setRowSize,
|
|
85998
|
+
selectedOption: rowSize,
|
|
85999
|
+
options: rowSizeList,
|
|
86000
|
+
labelVariant: "static",
|
|
86001
|
+
dropdownAbove: true,
|
|
86002
|
+
buttonClass: styles$u.rowsDropdown
|
|
86003
|
+
})
|
|
86004
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
86005
|
+
className: styles$u.pageStyle,
|
|
86006
|
+
children: [table2.getState().pagination.pageSize * table2.getState().pagination.pageIndex + 1, "-", data.length <= table2.getState().pagination.pageSize * (table2.getState().pagination.pageIndex + 1) ? data.length : table2.getState().pagination.pageSize * (table2.getState().pagination.pageIndex + 1), " ", "of ", data.length]
|
|
86007
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
86008
|
+
className: styles$u.buttonContainer,
|
|
86009
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
86010
|
+
variant: "custom",
|
|
86011
|
+
className: styles$u.button,
|
|
86012
|
+
onClick: () => table2.previousPage(),
|
|
86013
|
+
disabled: !table2.getCanPreviousPage(),
|
|
86014
|
+
children: "Prev"
|
|
86015
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
86016
|
+
variant: "custom",
|
|
86017
|
+
className: styles$u.button,
|
|
86018
|
+
onClick: () => table2.nextPage(),
|
|
86019
|
+
disabled: !table2.getCanNextPage(),
|
|
86020
|
+
children: "Next"
|
|
86021
|
+
})]
|
|
86022
|
+
})]
|
|
85908
86023
|
})]
|
|
85909
86024
|
})
|
|
85910
86025
|
});
|
|
@@ -86789,12 +86904,12 @@ const InfoTooltip = ({
|
|
|
86789
86904
|
});
|
|
86790
86905
|
};
|
|
86791
86906
|
var styles$p = {
|
|
86792
|
-
"header-container": "_header-
|
|
86793
|
-
"btn-container": "_btn-
|
|
86794
|
-
"back-btn": "_back-
|
|
86795
|
-
"sql-btn": "_sql-
|
|
86796
|
-
"save-btn": "_save-
|
|
86797
|
-
"save-btn-icon": "_save-btn-
|
|
86907
|
+
"header-container": "_header-container_t2r6v_1",
|
|
86908
|
+
"btn-container": "_btn-container_t2r6v_5",
|
|
86909
|
+
"back-btn": "_back-btn_t2r6v_9",
|
|
86910
|
+
"sql-btn": "_sql-btn_t2r6v_13",
|
|
86911
|
+
"save-btn": "_save-btn_t2r6v_17",
|
|
86912
|
+
"save-btn-icon": "_save-btn-icon_t2r6v_21"
|
|
86798
86913
|
};
|
|
86799
86914
|
const Header = ({
|
|
86800
86915
|
setShowMetricCreateModal,
|
|
@@ -86847,20 +86962,20 @@ const Header = ({
|
|
|
86847
86962
|
});
|
|
86848
86963
|
};
|
|
86849
86964
|
var styles$o = {
|
|
86850
|
-
"create-btn": "_create-
|
|
86851
|
-
"modal-container": "_modal-
|
|
86852
|
-
"query-modal": "_query-
|
|
86965
|
+
"create-btn": "_create-btn_ihjk8_1",
|
|
86966
|
+
"modal-container": "_modal-container_ihjk8_5",
|
|
86967
|
+
"query-modal": "_query-modal_ihjk8_9"
|
|
86853
86968
|
};
|
|
86854
|
-
const container$7 = "
|
|
86855
|
-
const header$3 = "
|
|
86856
|
-
const wrapper$
|
|
86857
|
-
const column = "
|
|
86858
|
-
const columnText$1 = "
|
|
86969
|
+
const container$7 = "_container_1q2ss_1";
|
|
86970
|
+
const header$3 = "_header_1q2ss_5";
|
|
86971
|
+
const wrapper$1 = "_wrapper_1q2ss_9";
|
|
86972
|
+
const column = "_column_1q2ss_17";
|
|
86973
|
+
const columnText$1 = "_columnText_1q2ss_21";
|
|
86859
86974
|
var styles$n = {
|
|
86860
86975
|
container: container$7,
|
|
86861
86976
|
header: header$3,
|
|
86862
|
-
wrapper: wrapper$
|
|
86863
|
-
"col-container": "_col-
|
|
86977
|
+
wrapper: wrapper$1,
|
|
86978
|
+
"col-container": "_col-container_1q2ss_13",
|
|
86864
86979
|
column,
|
|
86865
86980
|
columnText: columnText$1
|
|
86866
86981
|
};
|
|
@@ -88237,52 +88352,45 @@ const ChartTab = ({
|
|
|
88237
88352
|
})]
|
|
88238
88353
|
});
|
|
88239
88354
|
};
|
|
88240
|
-
const container$5 = "
|
|
88241
|
-
const wrapper$1 = "_wrapper_wjdaz_9";
|
|
88242
|
-
const text = "_text_wjdaz_17";
|
|
88243
|
-
const table$2 = "_table_wjdaz_23";
|
|
88355
|
+
const container$5 = "_container_epyr2_1";
|
|
88244
88356
|
var styles$i = {
|
|
88245
|
-
container: container$5
|
|
88246
|
-
wrapper: wrapper$1,
|
|
88247
|
-
text,
|
|
88248
|
-
table: table$2
|
|
88357
|
+
container: container$5
|
|
88249
88358
|
};
|
|
88250
88359
|
const InputTables = ({
|
|
88251
88360
|
previewTableDataList
|
|
88252
88361
|
}) => {
|
|
88253
88362
|
return /* @__PURE__ */ jsx("div", {
|
|
88254
88363
|
className: styles$i.container,
|
|
88255
|
-
children: /* @__PURE__ */ jsx(
|
|
88256
|
-
|
|
88257
|
-
|
|
88258
|
-
|
|
88259
|
-
|
|
88260
|
-
|
|
88261
|
-
|
|
88262
|
-
|
|
88263
|
-
|
|
88264
|
-
|
|
88265
|
-
|
|
88266
|
-
|
|
88267
|
-
|
|
88268
|
-
|
|
88269
|
-
|
|
88270
|
-
|
|
88271
|
-
|
|
88272
|
-
|
|
88273
|
-
})
|
|
88364
|
+
children: previewTableDataList == null ? void 0 : previewTableDataList.map((table2) => /* @__PURE__ */ jsx(Table, {
|
|
88365
|
+
data: table2.data,
|
|
88366
|
+
error: table2.isError,
|
|
88367
|
+
isLoading: false,
|
|
88368
|
+
tableName: table2.name,
|
|
88369
|
+
tableSettings: {
|
|
88370
|
+
showTableTitle: true,
|
|
88371
|
+
hideVerticalDivider: false,
|
|
88372
|
+
showRowHover: false,
|
|
88373
|
+
enableStripedRows: false,
|
|
88374
|
+
enableTableSearch: false,
|
|
88375
|
+
contentAlignment: "center",
|
|
88376
|
+
enableFilter: false,
|
|
88377
|
+
enableSorting: false,
|
|
88378
|
+
lineGap: "",
|
|
88379
|
+
showTableDesc: false
|
|
88380
|
+
}
|
|
88381
|
+
}, table2.name))
|
|
88274
88382
|
});
|
|
88275
88383
|
};
|
|
88276
|
-
const container$4 = "
|
|
88277
|
-
const header$1 = "
|
|
88278
|
-
const tabButton$1 = "
|
|
88279
|
-
const selectedTab = "
|
|
88280
|
-
const table$1 = "
|
|
88384
|
+
const container$4 = "_container_38zl3_1";
|
|
88385
|
+
const header$1 = "_header_38zl3_5";
|
|
88386
|
+
const tabButton$1 = "_tabButton_38zl3_16";
|
|
88387
|
+
const selectedTab = "_selectedTab_38zl3_19";
|
|
88388
|
+
const table$1 = "_table_38zl3_22";
|
|
88281
88389
|
var styles$h = {
|
|
88282
88390
|
container: container$4,
|
|
88283
88391
|
header: header$1,
|
|
88284
|
-
"text-container": "_text-
|
|
88285
|
-
"btn-container": "_btn-
|
|
88392
|
+
"text-container": "_text-container_38zl3_9",
|
|
88393
|
+
"btn-container": "_btn-container_38zl3_13",
|
|
88286
88394
|
tabButton: tabButton$1,
|
|
88287
88395
|
selectedTab,
|
|
88288
88396
|
table: table$1
|
|
@@ -88363,18 +88471,18 @@ const TableTab = ({
|
|
|
88363
88471
|
})]
|
|
88364
88472
|
});
|
|
88365
88473
|
};
|
|
88366
|
-
const mainContainerUpdate = "
|
|
88367
|
-
const wrapper = "
|
|
88368
|
-
const updateWrapper = "
|
|
88369
|
-
const updateWrapperContent = "
|
|
88370
|
-
const createWrapperContent = "
|
|
88371
|
-
const searchCommand = "
|
|
88372
|
-
const tabButton = "
|
|
88373
|
-
const tabActive = "
|
|
88474
|
+
const mainContainerUpdate = "_mainContainerUpdate_70jy1_4";
|
|
88475
|
+
const wrapper = "_wrapper_70jy1_12";
|
|
88476
|
+
const updateWrapper = "_updateWrapper_70jy1_15";
|
|
88477
|
+
const updateWrapperContent = "_updateWrapperContent_70jy1_18";
|
|
88478
|
+
const createWrapperContent = "_createWrapperContent_70jy1_21";
|
|
88479
|
+
const searchCommand = "_searchCommand_70jy1_24";
|
|
88480
|
+
const tabButton = "_tabButton_70jy1_27";
|
|
88481
|
+
const tabActive = "_tabActive_70jy1_30";
|
|
88374
88482
|
var styles$g = {
|
|
88375
|
-
"main-container": "_main-
|
|
88483
|
+
"main-container": "_main-container_70jy1_1",
|
|
88376
88484
|
mainContainerUpdate,
|
|
88377
|
-
"outputTab-header": "_outputTab-
|
|
88485
|
+
"outputTab-header": "_outputTab-header_70jy1_8",
|
|
88378
88486
|
wrapper,
|
|
88379
88487
|
updateWrapper,
|
|
88380
88488
|
updateWrapperContent,
|
|
@@ -88512,30 +88620,30 @@ const MetricOutput = ({
|
|
|
88512
88620
|
})]
|
|
88513
88621
|
});
|
|
88514
88622
|
};
|
|
88515
|
-
const fieldValueIcon = "
|
|
88516
|
-
const fieldAddBtnIcon = "
|
|
88517
|
-
const group = "
|
|
88518
|
-
const tooltipWrapper = "
|
|
88519
|
-
const tooltip = "
|
|
88520
|
-
const dropdown = "
|
|
88521
|
-
const filterDropdown = "
|
|
88522
|
-
const filterValues = "
|
|
88523
|
-
const columnText = "
|
|
88524
|
-
const disabled = "
|
|
88525
|
-
const checkIcon = "
|
|
88526
|
-
const generateButton = "
|
|
88623
|
+
const fieldValueIcon = "_fieldValueIcon_14dsc_25";
|
|
88624
|
+
const fieldAddBtnIcon = "_fieldAddBtnIcon_14dsc_33";
|
|
88625
|
+
const group = "_group_14dsc_1";
|
|
88626
|
+
const tooltipWrapper = "_tooltipWrapper_14dsc_45";
|
|
88627
|
+
const tooltip = "_tooltip_14dsc_45";
|
|
88628
|
+
const dropdown = "_dropdown_14dsc_57";
|
|
88629
|
+
const filterDropdown = "_filterDropdown_14dsc_61";
|
|
88630
|
+
const filterValues = "_filterValues_14dsc_65";
|
|
88631
|
+
const columnText = "_columnText_14dsc_69";
|
|
88632
|
+
const disabled = "_disabled_14dsc_73";
|
|
88633
|
+
const checkIcon = "_checkIcon_14dsc_77";
|
|
88634
|
+
const generateButton = "_generateButton_14dsc_81";
|
|
88527
88635
|
var styles$f = {
|
|
88528
|
-
"form-container": "_form-
|
|
88529
|
-
"field-container": "_field-
|
|
88530
|
-
"field-label": "_field-
|
|
88531
|
-
"field-wrapper": "_field-
|
|
88532
|
-
"field-inner-container": "_field-inner-
|
|
88533
|
-
"field-value": "_field-
|
|
88636
|
+
"form-container": "_form-container_14dsc_1",
|
|
88637
|
+
"field-container": "_field-container_14dsc_5",
|
|
88638
|
+
"field-label": "_field-label_14dsc_9",
|
|
88639
|
+
"field-wrapper": "_field-wrapper_14dsc_13",
|
|
88640
|
+
"field-inner-container": "_field-inner-container_14dsc_17",
|
|
88641
|
+
"field-value": "_field-value_14dsc_21",
|
|
88534
88642
|
fieldValueIcon,
|
|
88535
|
-
"field-add-btn": "_field-add-
|
|
88643
|
+
"field-add-btn": "_field-add-btn_14dsc_29",
|
|
88536
88644
|
fieldAddBtnIcon,
|
|
88537
|
-
"field-value-container": "_field-value-
|
|
88538
|
-
"field-prompt": "_field-
|
|
88645
|
+
"field-value-container": "_field-value-container_14dsc_37",
|
|
88646
|
+
"field-prompt": "_field-prompt_14dsc_41",
|
|
88539
88647
|
group,
|
|
88540
88648
|
tooltipWrapper,
|
|
88541
88649
|
tooltip,
|
|
@@ -88546,12 +88654,12 @@ var styles$f = {
|
|
|
88546
88654
|
disabled,
|
|
88547
88655
|
checkIcon,
|
|
88548
88656
|
generateButton,
|
|
88549
|
-
"saved-container": "_saved-
|
|
88550
|
-
"custom-container": "_custom-
|
|
88551
|
-
"simple-container": "_simple-
|
|
88552
|
-
"filter-dropdown": "_filter-
|
|
88553
|
-
"editor-field": "_editor-
|
|
88554
|
-
"tab-border": "_tab-
|
|
88657
|
+
"saved-container": "_saved-container_14dsc_85",
|
|
88658
|
+
"custom-container": "_custom-container_14dsc_89",
|
|
88659
|
+
"simple-container": "_simple-container_14dsc_93",
|
|
88660
|
+
"filter-dropdown": "_filter-dropdown_14dsc_97",
|
|
88661
|
+
"editor-field": "_editor-field_14dsc_101",
|
|
88662
|
+
"tab-border": "_tab-border_14dsc_105"
|
|
88555
88663
|
};
|
|
88556
88664
|
const button$1 = "_button_18a2n_1";
|
|
88557
88665
|
const menu$1 = "_menu_18a2n_7";
|
|
@@ -116656,10 +116764,10 @@ const MetricForm = ({
|
|
|
116656
116764
|
})]
|
|
116657
116765
|
});
|
|
116658
116766
|
};
|
|
116659
|
-
const container$2 = "
|
|
116660
|
-
const header = "
|
|
116661
|
-
const enableGroupBy = "
|
|
116662
|
-
const enableGroupButton = "
|
|
116767
|
+
const container$2 = "_container_rofqe_1";
|
|
116768
|
+
const header = "_header_rofqe_5";
|
|
116769
|
+
const enableGroupBy = "_enableGroupBy_rofqe_8";
|
|
116770
|
+
const enableGroupButton = "_enableGroupButton_rofqe_11";
|
|
116663
116771
|
var styles$d = {
|
|
116664
116772
|
container: container$2,
|
|
116665
116773
|
header,
|
|
@@ -120050,7 +120158,7 @@ var GridItem = /* @__PURE__ */ function(_React$Component) {
|
|
|
120050
120158
|
}, {
|
|
120051
120159
|
key: "mixinResizable",
|
|
120052
120160
|
value: function mixinResizable(child, position2, isResizable) {
|
|
120053
|
-
var _this$props6 = this.props, cols = _this$props6.cols, x2 = _this$props6.x, minW2 = _this$props6.minW, minH2 = _this$props6.minH, maxW2 = _this$props6.maxW, maxH2 = _this$props6.maxH, transformScale = _this$props6.transformScale, resizeHandles = _this$props6.resizeHandles,
|
|
120161
|
+
var _this$props6 = this.props, cols = _this$props6.cols, x2 = _this$props6.x, minW2 = _this$props6.minW, minH2 = _this$props6.minH, maxW2 = _this$props6.maxW, maxH2 = _this$props6.maxH, transformScale = _this$props6.transformScale, resizeHandles = _this$props6.resizeHandles, resizeHandle2 = _this$props6.resizeHandle;
|
|
120054
120162
|
var positionParams = this.getPositionParams();
|
|
120055
120163
|
var maxWidth = (0, _calculateUtils$1.calcGridItemPosition)(positionParams, 0, 0, cols - x2, 0).width;
|
|
120056
120164
|
var mins = (0, _calculateUtils$1.calcGridItemPosition)(positionParams, 0, 0, minW2, minH2);
|
|
@@ -120073,7 +120181,7 @@ var GridItem = /* @__PURE__ */ function(_React$Component) {
|
|
|
120073
120181
|
onResize: this.onResize,
|
|
120074
120182
|
transformScale,
|
|
120075
120183
|
resizeHandles,
|
|
120076
|
-
handle:
|
|
120184
|
+
handle: resizeHandle2
|
|
120077
120185
|
},
|
|
120078
120186
|
child
|
|
120079
120187
|
);
|
|
@@ -120790,7 +120898,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
|
|
|
120790
120898
|
var l2 = (0, _utils$2.getLayoutItem)(this.state.layout, String(child.key));
|
|
120791
120899
|
if (!l2)
|
|
120792
120900
|
return null;
|
|
120793
|
-
var _this$props8 = this.props, width = _this$props8.width, cols = _this$props8.cols, margin = _this$props8.margin, containerPadding = _this$props8.containerPadding, rowHeight = _this$props8.rowHeight, maxRows = _this$props8.maxRows, isDraggable = _this$props8.isDraggable, isResizable = _this$props8.isResizable, isBounded = _this$props8.isBounded, useCSSTransforms = _this$props8.useCSSTransforms, transformScale = _this$props8.transformScale, draggableCancel = _this$props8.draggableCancel, draggableHandle = _this$props8.draggableHandle, resizeHandles = _this$props8.resizeHandles,
|
|
120901
|
+
var _this$props8 = this.props, width = _this$props8.width, cols = _this$props8.cols, margin = _this$props8.margin, containerPadding = _this$props8.containerPadding, rowHeight = _this$props8.rowHeight, maxRows = _this$props8.maxRows, isDraggable = _this$props8.isDraggable, isResizable = _this$props8.isResizable, isBounded = _this$props8.isBounded, useCSSTransforms = _this$props8.useCSSTransforms, transformScale = _this$props8.transformScale, draggableCancel = _this$props8.draggableCancel, draggableHandle = _this$props8.draggableHandle, resizeHandles = _this$props8.resizeHandles, resizeHandle2 = _this$props8.resizeHandle;
|
|
120794
120902
|
var _this$state3 = this.state, mounted = _this$state3.mounted, droppingPosition = _this$state3.droppingPosition;
|
|
120795
120903
|
var draggable = typeof l2.isDraggable === "boolean" ? l2.isDraggable : !l2.static && isDraggable;
|
|
120796
120904
|
var resizable2 = typeof l2.isResizable === "boolean" ? l2.isResizable : !l2.static && isResizable;
|
|
@@ -120829,7 +120937,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
|
|
|
120829
120937
|
static: l2.static,
|
|
120830
120938
|
droppingPosition: isDroppingItem ? droppingPosition : void 0,
|
|
120831
120939
|
resizeHandles: resizeHandlesOptions,
|
|
120832
|
-
resizeHandle
|
|
120940
|
+
resizeHandle: resizeHandle2
|
|
120833
120941
|
}, child);
|
|
120834
120942
|
}
|
|
120835
120943
|
}, {
|
|
@@ -121626,48 +121734,51 @@ function WidthProvideRGL(ComposedComponent) {
|
|
|
121626
121734
|
module.exports.WidthProvider = WidthProvider.default;
|
|
121627
121735
|
})(reactGridLayout);
|
|
121628
121736
|
var styles$c = "";
|
|
121629
|
-
const
|
|
121737
|
+
const resizeHandle = "_resizeHandle_170un_17";
|
|
121738
|
+
const fullscreen$2 = "_fullscreen_170un_57";
|
|
121630
121739
|
var styles$b = {
|
|
121631
|
-
"MetricList-container": "_MetricList-
|
|
121632
|
-
"MetricList-wrapper": "_MetricList-
|
|
121633
|
-
|
|
121634
|
-
"
|
|
121635
|
-
"noMetric-
|
|
121636
|
-
"
|
|
121740
|
+
"MetricList-container": "_MetricList-container_170un_1",
|
|
121741
|
+
"MetricList-wrapper": "_MetricList-wrapper_170un_9",
|
|
121742
|
+
resizeHandle,
|
|
121743
|
+
"MetricList-wrapper-move": "_MetricList-wrapper-move_170un_25",
|
|
121744
|
+
"noMetric-container": "_noMetric-container_170un_33",
|
|
121745
|
+
"noMetric-wrapper": "_noMetric-wrapper_170un_41",
|
|
121746
|
+
"alt-container": "_alt-container_170un_49",
|
|
121637
121747
|
fullscreen: fullscreen$2
|
|
121638
121748
|
};
|
|
121639
|
-
const cardContainer = "
|
|
121640
|
-
const listHeader = "
|
|
121641
|
-
const metricName = "
|
|
121642
|
-
const metricTitle = "
|
|
121643
|
-
const metricDescription = "
|
|
121644
|
-
const popup = "
|
|
121645
|
-
const metricFilter$1 = "
|
|
121646
|
-
const popupIcon = "
|
|
121647
|
-
const popupMenu = "
|
|
121648
|
-
const popupItem = "
|
|
121649
|
-
const popupItemIcon = "
|
|
121650
|
-
const csvBtn = "
|
|
121651
|
-
const deleteBtn = "
|
|
121652
|
-
const metricData = "
|
|
121653
|
-
const
|
|
121654
|
-
const
|
|
121655
|
-
const
|
|
121656
|
-
const
|
|
121657
|
-
const
|
|
121658
|
-
const
|
|
121659
|
-
const
|
|
121660
|
-
const
|
|
121661
|
-
const
|
|
121662
|
-
const
|
|
121663
|
-
const
|
|
121664
|
-
const
|
|
121665
|
-
const
|
|
121666
|
-
const
|
|
121667
|
-
const
|
|
121668
|
-
const
|
|
121669
|
-
const
|
|
121670
|
-
const
|
|
121749
|
+
const cardContainer = "_cardContainer_2m9mz_1";
|
|
121750
|
+
const listHeader = "_listHeader_2m9mz_9";
|
|
121751
|
+
const metricName = "_metricName_2m9mz_17";
|
|
121752
|
+
const metricTitle = "_metricTitle_2m9mz_25";
|
|
121753
|
+
const metricDescription = "_metricDescription_2m9mz_33";
|
|
121754
|
+
const popup = "_popup_2m9mz_41";
|
|
121755
|
+
const metricFilter$1 = "_metricFilter_2m9mz_49";
|
|
121756
|
+
const popupIcon = "_popupIcon_2m9mz_57";
|
|
121757
|
+
const popupMenu = "_popupMenu_2m9mz_65";
|
|
121758
|
+
const popupItem = "_popupItem_2m9mz_73";
|
|
121759
|
+
const popupItemIcon = "_popupItemIcon_2m9mz_81";
|
|
121760
|
+
const csvBtn = "_csvBtn_2m9mz_89";
|
|
121761
|
+
const deleteBtn = "_deleteBtn_2m9mz_97";
|
|
121762
|
+
const metricData = "_metricData_2m9mz_105";
|
|
121763
|
+
const metricTable = "_metricTable_2m9mz_113";
|
|
121764
|
+
const singleValueData = "_singleValueData_2m9mz_121";
|
|
121765
|
+
const singleValue = "_singleValue_2m9mz_121";
|
|
121766
|
+
const noData = "_noData_2m9mz_137";
|
|
121767
|
+
const noDataContent = "_noDataContent_2m9mz_145";
|
|
121768
|
+
const noDataText = "_noDataText_2m9mz_153";
|
|
121769
|
+
const loading$1 = "_loading_2m9mz_161";
|
|
121770
|
+
const features = "_features_2m9mz_169";
|
|
121771
|
+
const fullscreen$1 = "_fullscreen_2m9mz_177";
|
|
121772
|
+
const deleteModal = "_deleteModal_2m9mz_185";
|
|
121773
|
+
const cancelBtn = "_cancelBtn_2m9mz_193";
|
|
121774
|
+
const warningIcon = "_warningIcon_2m9mz_201";
|
|
121775
|
+
const downloadCsv = "_downloadCsv_2m9mz_209";
|
|
121776
|
+
const downloadCsvWrapper = "_downloadCsvWrapper_2m9mz_217";
|
|
121777
|
+
const downloadCsvHeader = "_downloadCsvHeader_2m9mz_225";
|
|
121778
|
+
const downloadCsvFooter = "_downloadCsvFooter_2m9mz_233";
|
|
121779
|
+
const downloadCsvCancelBtn = "_downloadCsvCancelBtn_2m9mz_241";
|
|
121780
|
+
const downloadCsvNote = "_downloadCsvNote_2m9mz_249";
|
|
121781
|
+
const downloadCsvNoteText = "_downloadCsvNoteText_2m9mz_257";
|
|
121671
121782
|
var styles$a = {
|
|
121672
121783
|
cardContainer,
|
|
121673
121784
|
listHeader,
|
|
@@ -121683,6 +121794,7 @@ var styles$a = {
|
|
|
121683
121794
|
csvBtn,
|
|
121684
121795
|
deleteBtn,
|
|
121685
121796
|
metricData,
|
|
121797
|
+
metricTable,
|
|
121686
121798
|
singleValueData,
|
|
121687
121799
|
singleValue,
|
|
121688
121800
|
noData,
|
|
@@ -121701,8 +121813,8 @@ var styles$a = {
|
|
|
121701
121813
|
downloadCsvCancelBtn,
|
|
121702
121814
|
downloadCsvNote,
|
|
121703
121815
|
downloadCsvNoteText,
|
|
121704
|
-
"tab-border-bottom": "_tab-border-
|
|
121705
|
-
"download-info-text": "_download-info-
|
|
121816
|
+
"tab-border-bottom": "_tab-border-bottom_2m9mz_265",
|
|
121817
|
+
"download-info-text": "_download-info-text_2m9mz_273"
|
|
121706
121818
|
};
|
|
121707
121819
|
var NoData = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMDAgMzAwIj48ZGVmcz48c3R5bGU+LmNscy0xe3N0cm9rZTojMTgyYzYwO30uY2xzLTEsLmNscy0ye2ZpbGw6bm9uZTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7fS5jbHMtM3tmaWxsOiM1ODY1ZjY7b3BhY2l0eTouMTt9LmNscy00e2ZpbGw6I2YyZjNmNDt9LmNscy01e2ZpbGw6I2MxYzdjOTt9LmNscy02e2ZpbGw6I2RhZGVkZjt9LmNscy03e2ZpbGw6IzE4MmM2MDt9LmNscy0ye3N0cm9rZTojNTg2NWY2O3N0cm9rZS13aWR0aDo0cHg7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0ibTIxMC41LDIwMC44M2MuNC0uNjYuNjgtMS40LjgyLTIuMiwxLjU4LTguODcsMy4xNS0xNy43NSw0LjczLTI2LjYyLDIuMDMtMTEuNDQsNC4wNi0yMi44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1LjgxLTQuMDYsMS40OC04LjMzLDIuODItMTUuNzEsMi4xNS0xMi4xMSwxLjk0LTExLjM2LDIuNzUtMTQuNzUuODgtNC42OS4yOC0yLjU4LjA3LTIuMTItLjYtMi43NS0xLjI0LTIuMzYtMS4wOS0xLjU5LTIuMDEtMS4zMS0uOTItLjI4WiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtNyIgcG9pbnRzPSI4NS42OCAyMDMuOTMgMjA0LjU1IDIwMy44NCAyMDkuMzUgMjA4LjczIDE0OC40OCAyMDguODggOTAuOTUgMjA5LjAyIDg5LjUgMjA4LjY2IDg3Ljk4IDIwNy45MiA4Ni44MiAyMDYuNTggODYuMDEgMjA1LjAzIDg1LjY4IDIwMy45MyIvPjwvc3ZnPg==";
|
|
121708
121820
|
const materialSymbolsArchiveOutline = (props) => /* @__PURE__ */ jsx("svg", {
|
|
@@ -121771,8 +121883,8 @@ const ChartImageDownloadButton = ({
|
|
|
121771
121883
|
}), text2]
|
|
121772
121884
|
});
|
|
121773
121885
|
};
|
|
121774
|
-
const metricFilter = "
|
|
121775
|
-
const customContainer = "
|
|
121886
|
+
const metricFilter = "_metricFilter_k2gef_1";
|
|
121887
|
+
const customContainer = "_customContainer_k2gef_4";
|
|
121776
121888
|
var styles$9 = {
|
|
121777
121889
|
metricFilter,
|
|
121778
121890
|
customContainer
|
|
@@ -121875,24 +121987,24 @@ const MetricFilterDropDown = ({
|
|
|
121875
121987
|
}) : void 0
|
|
121876
121988
|
});
|
|
121877
121989
|
};
|
|
121878
|
-
const container$1 = "
|
|
121879
|
-
const popover = "
|
|
121880
|
-
const button = "
|
|
121881
|
-
const buttonOpen = "
|
|
121882
|
-
const menu = "
|
|
121883
|
-
const enter = "
|
|
121884
|
-
const enterFrom = "
|
|
121885
|
-
const enterTo = "
|
|
121886
|
-
const leave = "
|
|
121887
|
-
const leaveFrom = "
|
|
121888
|
-
const leaveTo = "
|
|
121889
|
-
const center = "
|
|
121890
|
-
const top = "
|
|
121891
|
-
const bottom = "
|
|
121892
|
-
const left = "
|
|
121893
|
-
const right = "
|
|
121894
|
-
const chartOptionBtn = "
|
|
121895
|
-
const chartpopup = "
|
|
121990
|
+
const container$1 = "_container_14i90_1";
|
|
121991
|
+
const popover = "_popover_14i90_5";
|
|
121992
|
+
const button = "_button_14i90_9";
|
|
121993
|
+
const buttonOpen = "_buttonOpen_14i90_13";
|
|
121994
|
+
const menu = "_menu_14i90_17";
|
|
121995
|
+
const enter = "_enter_14i90_21";
|
|
121996
|
+
const enterFrom = "_enterFrom_14i90_25";
|
|
121997
|
+
const enterTo = "_enterTo_14i90_29";
|
|
121998
|
+
const leave = "_leave_14i90_33";
|
|
121999
|
+
const leaveFrom = "_leaveFrom_14i90_37";
|
|
122000
|
+
const leaveTo = "_leaveTo_14i90_41";
|
|
122001
|
+
const center = "_center_14i90_45";
|
|
122002
|
+
const top = "_top_14i90_49";
|
|
122003
|
+
const bottom = "_bottom_14i90_53";
|
|
122004
|
+
const left = "_left_14i90_57";
|
|
122005
|
+
const right = "_right_14i90_61";
|
|
122006
|
+
const chartOptionBtn = "_chartOptionBtn_14i90_113";
|
|
122007
|
+
const chartpopup = "_chartpopup_14i90_117";
|
|
121896
122008
|
var styles$8 = {
|
|
121897
122009
|
container: container$1,
|
|
121898
122010
|
popover,
|
|
@@ -121910,23 +122022,23 @@ var styles$8 = {
|
|
|
121910
122022
|
bottom,
|
|
121911
122023
|
left,
|
|
121912
122024
|
right,
|
|
121913
|
-
"left-top-end": "_left-top-
|
|
121914
|
-
"right-top-end": "_right-top-
|
|
121915
|
-
"left-bottom-end": "_left-bottom-
|
|
121916
|
-
"right-bottom-end": "_right-bottom-
|
|
121917
|
-
"top-left": "_top-
|
|
121918
|
-
"top-right": "_top-
|
|
121919
|
-
"bottom-left": "_bottom-
|
|
121920
|
-
"bottom-right": "_bottom-
|
|
121921
|
-
"left-top": "_left-
|
|
121922
|
-
"left-bottom": "_left-
|
|
121923
|
-
"right-top": "_right-
|
|
121924
|
-
"right-bottom": "_right-
|
|
122025
|
+
"left-top-end": "_left-top-end_14i90_65",
|
|
122026
|
+
"right-top-end": "_right-top-end_14i90_69",
|
|
122027
|
+
"left-bottom-end": "_left-bottom-end_14i90_73",
|
|
122028
|
+
"right-bottom-end": "_right-bottom-end_14i90_77",
|
|
122029
|
+
"top-left": "_top-left_14i90_81",
|
|
122030
|
+
"top-right": "_top-right_14i90_85",
|
|
122031
|
+
"bottom-left": "_bottom-left_14i90_89",
|
|
122032
|
+
"bottom-right": "_bottom-right_14i90_93",
|
|
122033
|
+
"left-top": "_left-top_14i90_65",
|
|
122034
|
+
"left-bottom": "_left-bottom_14i90_73",
|
|
122035
|
+
"right-top": "_right-top_14i90_69",
|
|
122036
|
+
"right-bottom": "_right-bottom_14i90_77",
|
|
121925
122037
|
chartOptionBtn,
|
|
121926
122038
|
chartpopup
|
|
121927
122039
|
};
|
|
121928
|
-
const fullscreen = "
|
|
121929
|
-
const loading = "
|
|
122040
|
+
const fullscreen = "_fullscreen_1gpy3_1";
|
|
122041
|
+
const loading = "_loading_1gpy3_5";
|
|
121930
122042
|
var styles$7 = {
|
|
121931
122043
|
fullscreen,
|
|
121932
122044
|
loading
|
|
@@ -122109,8 +122221,8 @@ const ChartPopup = ({
|
|
|
122109
122221
|
};
|
|
122110
122222
|
var ChartPopup$1 = React__default.memo(ChartPopup);
|
|
122111
122223
|
var styles$6 = {
|
|
122112
|
-
"dbc-container": "_dbc-
|
|
122113
|
-
"active-dimension": "_active-
|
|
122224
|
+
"dbc-container": "_dbc-container_1dw7c_1",
|
|
122225
|
+
"active-dimension": "_active-dimension_1dw7c_5"
|
|
122114
122226
|
};
|
|
122115
122227
|
const DrillBreadCrumb = ({
|
|
122116
122228
|
dimensions,
|
|
@@ -122516,11 +122628,8 @@ const MetricCard = ({
|
|
|
122516
122628
|
})]
|
|
122517
122629
|
})]
|
|
122518
122630
|
})]
|
|
122519
|
-
}), (drillDownSettings == null ? void 0 : drillDownSettings.isEnableGroupBy) && /* @__PURE__ */ jsx(DrillBreadCrumb, {
|
|
122520
|
-
dimensions: drillDownSettings.selectedDimensions,
|
|
122521
|
-
drilledLevel
|
|
122522
122631
|
}), chartType2 && /* @__PURE__ */ jsxs("div", {
|
|
122523
|
-
className: styles$a.metricData
|
|
122632
|
+
className: `${styles$a.metricData} ${chartType2 === "table" ? styles$a.metricTable : ""}`,
|
|
122524
122633
|
onContextMenu: (e2) => {
|
|
122525
122634
|
e2.preventDefault();
|
|
122526
122635
|
},
|
|
@@ -122547,6 +122656,9 @@ const MetricCard = ({
|
|
|
122547
122656
|
color: "blue"
|
|
122548
122657
|
}
|
|
122549
122658
|
})
|
|
122659
|
+
}), (drillDownSettings == null ? void 0 : drillDownSettings.isEnableGroupBy) && /* @__PURE__ */ jsx(DrillBreadCrumb, {
|
|
122660
|
+
dimensions: drillDownSettings.selectedDimensions,
|
|
122661
|
+
drilledLevel
|
|
122550
122662
|
}), (chartParams == null ? void 0 : chartParams.name) && columnName && /* @__PURE__ */ jsx(ChartPopup$1, {
|
|
122551
122663
|
isOpen: isShowChartPopup,
|
|
122552
122664
|
setOpen: setShowChartPopup,
|
|
@@ -123045,16 +123157,15 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123045
123157
|
}
|
|
123046
123158
|
};
|
|
123047
123159
|
const csvDownloadUrls = useMemo(() => {
|
|
123048
|
-
|
|
123049
|
-
|
|
123050
|
-
const urls = getUrls(RawCsvUrlsData == null ? void 0 : RawCsvUrlsData.externalMetricRawCsvUrls[0].urls);
|
|
123160
|
+
if (RawCsvUrlsData == null ? void 0 : RawCsvUrlsData.externalMetricRawCsvUrls.length) {
|
|
123161
|
+
const urls = getUrls(RawCsvUrlsData.externalMetricRawCsvUrls[0].urls);
|
|
123051
123162
|
return {
|
|
123052
123163
|
urls,
|
|
123053
123164
|
lastUpdatedAt: timeAgo(
|
|
123054
|
-
Date.parse(RawCsvUrlsData
|
|
123165
|
+
Date.parse(RawCsvUrlsData.externalMetricRawCsvUrls[0].lastUpdatedAt)
|
|
123055
123166
|
),
|
|
123056
123167
|
isExpired: urls.length ? isLinkExpired(urls[0]).isExpired : true,
|
|
123057
|
-
error: RawCsvUrlsData
|
|
123168
|
+
error: RawCsvUrlsData.externalMetricRawCsvUrls[0].error,
|
|
123058
123169
|
expireUrlIn: urls.length ? isLinkExpired(urls[0]).secondsLeft : 0
|
|
123059
123170
|
};
|
|
123060
123171
|
}
|
|
@@ -123491,12 +123602,19 @@ const ExternalMetricList = ({
|
|
|
123491
123602
|
x: (cardLayout == null ? void 0 : cardLayout.x) || metric.resizeAttributes.xAxis || 0,
|
|
123492
123603
|
y: (cardLayout == null ? void 0 : cardLayout.y) || metric.resizeAttributes.yAxis || 0,
|
|
123493
123604
|
minW: 3,
|
|
123494
|
-
minH:
|
|
123495
|
-
maxH: 15
|
|
123605
|
+
minH: metric.chartOptions.chartType !== "single value" ? 8 : 5,
|
|
123606
|
+
maxH: metric.chartOptions.chartType === "table" ? Infinity : 15
|
|
123496
123607
|
};
|
|
123497
123608
|
});
|
|
123498
123609
|
return [allMetricList, layoutAttributes];
|
|
123499
123610
|
}, [externalDashboardMetrics, layout3]);
|
|
123611
|
+
useEffect(() => {
|
|
123612
|
+
if (!metricsList.length || !metricsLayout.length)
|
|
123613
|
+
return;
|
|
123614
|
+
document.querySelectorAll(".react-resizable-handle").forEach((el) => {
|
|
123615
|
+
el.classList.add(styles$b.resizeHandle);
|
|
123616
|
+
});
|
|
123617
|
+
}, [metricsList.length && metricsLayout.length]);
|
|
123500
123618
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
123501
123619
|
children: metricsList.length && metricsLayout.length ? /* @__PURE__ */ jsxs(Fragment, {
|
|
123502
123620
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -123807,33 +123925,33 @@ const mdiPlus = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
123807
123925
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z"
|
|
123808
123926
|
})
|
|
123809
123927
|
});
|
|
123810
|
-
const scheduleEmailButton = "
|
|
123928
|
+
const scheduleEmailButton = "_scheduleEmailButton_13nzt_1";
|
|
123811
123929
|
var styles$2 = {
|
|
123812
123930
|
scheduleEmailButton
|
|
123813
123931
|
};
|
|
123814
123932
|
var styles$1 = {
|
|
123815
|
-
"form-container": "_form-
|
|
123816
|
-
"form-wrapper": "_form-
|
|
123817
|
-
"form-primary-text": "_form-primary-
|
|
123818
|
-
"week-days-container": "_week-days-
|
|
123819
|
-
"main-label": "_main-
|
|
123820
|
-
"time-element": "_time-
|
|
123821
|
-
"cancel-btn": "_cancel-
|
|
123822
|
-
"delete-btn": "_delete-
|
|
123823
|
-
"field-width": "_field-
|
|
123824
|
-
"timezone-field": "_timezone-
|
|
123825
|
-
"success-text": "_success-
|
|
123933
|
+
"form-container": "_form-container_1odg5_1",
|
|
123934
|
+
"form-wrapper": "_form-wrapper_1odg5_4",
|
|
123935
|
+
"form-primary-text": "_form-primary-text_1odg5_8",
|
|
123936
|
+
"week-days-container": "_week-days-container_1odg5_12",
|
|
123937
|
+
"main-label": "_main-label_1odg5_15",
|
|
123938
|
+
"time-element": "_time-element_1odg5_19",
|
|
123939
|
+
"cancel-btn": "_cancel-btn_1odg5_23",
|
|
123940
|
+
"delete-btn": "_delete-btn_1odg5_26",
|
|
123941
|
+
"field-width": "_field-width_1odg5_29",
|
|
123942
|
+
"timezone-field": "_timezone-field_1odg5_33",
|
|
123943
|
+
"success-text": "_success-text_1odg5_37"
|
|
123826
123944
|
};
|
|
123827
|
-
const tag = "
|
|
123828
|
-
const tagBtn = "
|
|
123829
|
-
const inputFieldContainer = "
|
|
123945
|
+
const tag = "_tag_qld84_1";
|
|
123946
|
+
const tagBtn = "_tagBtn_qld84_7";
|
|
123947
|
+
const inputFieldContainer = "_inputFieldContainer_qld84_11";
|
|
123830
123948
|
var styles = {
|
|
123831
123949
|
tag,
|
|
123832
|
-
"tag-text": "_tag-
|
|
123950
|
+
"tag-text": "_tag-text_qld84_4",
|
|
123833
123951
|
tagBtn,
|
|
123834
123952
|
inputFieldContainer,
|
|
123835
|
-
"tag-container": "_tag-
|
|
123836
|
-
"cross-icon": "_cross-
|
|
123953
|
+
"tag-container": "_tag-container_qld84_15",
|
|
123954
|
+
"cross-icon": "_cross-icon_qld84_19"
|
|
123837
123955
|
};
|
|
123838
123956
|
const TagInputField = ({
|
|
123839
123957
|
control,
|