@databrainhq/plugin 0.9.6 → 0.9.7
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/MetricList/components/DownloadRawCsvModal.d.ts +2 -1
- package/dist/components/MetricList/components/MetricCard.d.ts +1 -1
- package/dist/consts/app.d.ts +3 -0
- package/dist/hooks/useDownloadRawCsv.d.ts +11 -3
- package/dist/index.es.js +683 -320
- package/dist/index.umd.js +149 -125
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +17 -17
- package/dist/utils/generated/graphql.d.ts +208 -2
- package/package.json +96 -96
package/dist/index.es.js
CHANGED
|
@@ -2648,17 +2648,17 @@ var classnames$1 = { exports: {} };
|
|
|
2648
2648
|
})(classnames$1);
|
|
2649
2649
|
var classnames = classnames$1.exports;
|
|
2650
2650
|
var styles$K = {
|
|
2651
|
-
"btn-primary": "_btn-
|
|
2652
|
-
"btn-secondary": "_btn-
|
|
2653
|
-
"btn-reject": "_btn-
|
|
2654
|
-
"btn-outlined": "_btn-
|
|
2655
|
-
"btn-tertiary": "_btn-
|
|
2656
|
-
"btn-default": "_btn-
|
|
2657
|
-
"btn-large": "_btn-
|
|
2658
|
-
"btn-small": "_btn-
|
|
2659
|
-
"btn-xs": "_btn-
|
|
2660
|
-
"btn-medium": "_btn-
|
|
2661
|
-
"btn-11rem": "_btn-
|
|
2651
|
+
"btn-primary": "_btn-primary_u81u9_1",
|
|
2652
|
+
"btn-secondary": "_btn-secondary_u81u9_9",
|
|
2653
|
+
"btn-reject": "_btn-reject_u81u9_17",
|
|
2654
|
+
"btn-outlined": "_btn-outlined_u81u9_27",
|
|
2655
|
+
"btn-tertiary": "_btn-tertiary_u81u9_35",
|
|
2656
|
+
"btn-default": "_btn-default_u81u9_43",
|
|
2657
|
+
"btn-large": "_btn-large_u81u9_49",
|
|
2658
|
+
"btn-small": "_btn-small_u81u9_55",
|
|
2659
|
+
"btn-xs": "_btn-xs_u81u9_61",
|
|
2660
|
+
"btn-medium": "_btn-medium_u81u9_67",
|
|
2661
|
+
"btn-11rem": "_btn-11rem_u81u9_75"
|
|
2662
2662
|
};
|
|
2663
2663
|
var jsxRuntime$1 = { exports: {} };
|
|
2664
2664
|
var reactJsxRuntime_production_min = {};
|
|
@@ -4953,42 +4953,42 @@ let xe = "div", ne = S.RenderStrategy, re = C$2(function(e2, s2) {
|
|
|
4953
4953
|
let n2 = useContext(F) !== null, m2 = s() !== null;
|
|
4954
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 }));
|
|
4955
4955
|
}), We = Object.assign(q, { Child: Pe, Root: q });
|
|
4956
|
-
const listBoxButton = "
|
|
4957
|
-
const selectedOptionText = "
|
|
4958
|
-
const transitionDiv = "
|
|
4959
|
-
const listboxButtonWrapper = "
|
|
4960
|
-
const arrowicon = "
|
|
4961
|
-
const leave$2 = "
|
|
4962
|
-
const leaveFrom$2 = "
|
|
4963
|
-
const leaveTo$2 = "
|
|
4964
|
-
const notAvailable = "
|
|
4965
|
-
const option$1 = "
|
|
4966
|
-
const activeOption = "
|
|
4967
|
-
const optionSelected = "
|
|
4968
|
-
const inactiveOption = "
|
|
4969
|
-
const optionLabel = "
|
|
4970
|
-
const optionSubLabel = "
|
|
4971
|
-
const selectedLabel = "
|
|
4972
|
-
const nonselectedLabel = "
|
|
4973
|
-
const check = "
|
|
4974
|
-
const checkActive = "
|
|
4975
|
-
const checkInactive = "
|
|
4976
|
-
const checkIcon$1 = "
|
|
4977
|
-
const checkIconSelected = "
|
|
4978
|
-
const checkIconUnselected = "
|
|
4979
|
-
const loadMore$1 = "
|
|
4980
|
-
const loadMoreIcon$1 = "
|
|
4981
|
-
const selectedList = "
|
|
4982
|
-
const selectedListItem = "
|
|
4983
|
-
const label$7 = "
|
|
4984
|
-
const clientText$1 = "
|
|
4956
|
+
const listBoxButton = "_listBoxButton_ln4ru_17";
|
|
4957
|
+
const selectedOptionText = "_selectedOptionText_ln4ru_49";
|
|
4958
|
+
const transitionDiv = "_transitionDiv_ln4ru_57";
|
|
4959
|
+
const listboxButtonWrapper = "_listboxButtonWrapper_ln4ru_65";
|
|
4960
|
+
const arrowicon = "_arrowicon_ln4ru_71";
|
|
4961
|
+
const leave$2 = "_leave_ln4ru_77";
|
|
4962
|
+
const leaveFrom$2 = "_leaveFrom_ln4ru_83";
|
|
4963
|
+
const leaveTo$2 = "_leaveTo_ln4ru_89";
|
|
4964
|
+
const notAvailable = "_notAvailable_ln4ru_95";
|
|
4965
|
+
const option$1 = "_option_ln4ru_101";
|
|
4966
|
+
const activeOption = "_activeOption_ln4ru_107";
|
|
4967
|
+
const optionSelected = "_optionSelected_ln4ru_113";
|
|
4968
|
+
const inactiveOption = "_inactiveOption_ln4ru_119";
|
|
4969
|
+
const optionLabel = "_optionLabel_ln4ru_125";
|
|
4970
|
+
const optionSubLabel = "_optionSubLabel_ln4ru_131";
|
|
4971
|
+
const selectedLabel = "_selectedLabel_ln4ru_137";
|
|
4972
|
+
const nonselectedLabel = "_nonselectedLabel_ln4ru_143";
|
|
4973
|
+
const check = "_check_ln4ru_149";
|
|
4974
|
+
const checkActive = "_checkActive_ln4ru_155";
|
|
4975
|
+
const checkInactive = "_checkInactive_ln4ru_161";
|
|
4976
|
+
const checkIcon$1 = "_checkIcon_ln4ru_167";
|
|
4977
|
+
const checkIconSelected = "_checkIconSelected_ln4ru_173";
|
|
4978
|
+
const checkIconUnselected = "_checkIconUnselected_ln4ru_179";
|
|
4979
|
+
const loadMore$1 = "_loadMore_ln4ru_185";
|
|
4980
|
+
const loadMoreIcon$1 = "_loadMoreIcon_ln4ru_191";
|
|
4981
|
+
const selectedList = "_selectedList_ln4ru_197";
|
|
4982
|
+
const selectedListItem = "_selectedListItem_ln4ru_203";
|
|
4983
|
+
const label$7 = "_label_ln4ru_209";
|
|
4984
|
+
const clientText$1 = "_clientText_ln4ru_215";
|
|
4985
4985
|
var style = {
|
|
4986
|
-
"listBox-label": "_listBox-
|
|
4987
|
-
"listBox-labelFloating": "_listBox-
|
|
4988
|
-
"listBoxButton-container": "_listBoxButton-
|
|
4989
|
-
"listBoxButton-containerFloating": "_listBoxButton-
|
|
4986
|
+
"listBox-label": "_listBox-label_ln4ru_1",
|
|
4987
|
+
"listBox-labelFloating": "_listBox-labelFloating_ln4ru_9",
|
|
4988
|
+
"listBoxButton-container": "_listBoxButton-container_ln4ru_17",
|
|
4989
|
+
"listBoxButton-containerFloating": "_listBoxButton-containerFloating_ln4ru_25",
|
|
4990
4990
|
listBoxButton,
|
|
4991
|
-
"listBox-option": "_listBox-
|
|
4991
|
+
"listBox-option": "_listBox-option_ln4ru_41",
|
|
4992
4992
|
selectedOptionText,
|
|
4993
4993
|
transitionDiv,
|
|
4994
4994
|
listboxButtonWrapper,
|
|
@@ -5018,22 +5018,22 @@ var style = {
|
|
|
5018
5018
|
label: label$7,
|
|
5019
5019
|
clientText: clientText$1
|
|
5020
5020
|
};
|
|
5021
|
-
const primary$1 = "
|
|
5022
|
-
const secondary = "
|
|
5023
|
-
const tertiary = "
|
|
5021
|
+
const primary$1 = "_primary_1ipyg_1";
|
|
5022
|
+
const secondary = "_secondary_1ipyg_9";
|
|
5023
|
+
const tertiary = "_tertiary_1ipyg_19";
|
|
5024
5024
|
var styles$I = {
|
|
5025
5025
|
primary: primary$1,
|
|
5026
5026
|
secondary,
|
|
5027
5027
|
tertiary,
|
|
5028
|
-
"font-18": "_font-
|
|
5029
|
-
"font-20": "_font-
|
|
5030
|
-
"font-14": "_font-
|
|
5031
|
-
"font-14a": "_font-
|
|
5032
|
-
"font-14b": "_font-
|
|
5033
|
-
"font-14c": "_font-
|
|
5034
|
-
"font-14d": "_font-
|
|
5035
|
-
"font-15": "_font-
|
|
5036
|
-
"font-34": "_font-
|
|
5028
|
+
"font-18": "_font-18_1ipyg_27",
|
|
5029
|
+
"font-20": "_font-20_1ipyg_35",
|
|
5030
|
+
"font-14": "_font-14_1ipyg_43",
|
|
5031
|
+
"font-14a": "_font-14a_1ipyg_51",
|
|
5032
|
+
"font-14b": "_font-14b_1ipyg_59",
|
|
5033
|
+
"font-14c": "_font-14c_1ipyg_67",
|
|
5034
|
+
"font-14d": "_font-14d_1ipyg_75",
|
|
5035
|
+
"font-15": "_font-15_1ipyg_83",
|
|
5036
|
+
"font-34": "_font-34_1ipyg_89"
|
|
5037
5037
|
};
|
|
5038
5038
|
const variants = {
|
|
5039
5039
|
h1: "h1",
|
|
@@ -5061,10 +5061,10 @@ const Text = ({
|
|
|
5061
5061
|
children: children2
|
|
5062
5062
|
});
|
|
5063
5063
|
};
|
|
5064
|
-
const search$1 = "
|
|
5064
|
+
const search$1 = "_search_qirxg_1";
|
|
5065
5065
|
var styles$H = {
|
|
5066
|
-
"searchTab-container": "_searchTab-
|
|
5067
|
-
"searchTab-input": "_searchTab-
|
|
5066
|
+
"searchTab-container": "_searchTab-container_qirxg_1",
|
|
5067
|
+
"searchTab-input": "_searchTab-input_qirxg_9",
|
|
5068
5068
|
search: search$1
|
|
5069
5069
|
};
|
|
5070
5070
|
const iconoirSearch = (props) => /* @__PURE__ */ jsx("svg", {
|
|
@@ -5616,7 +5616,10 @@ const FREQUENCY = [
|
|
|
5616
5616
|
{ value: "Weekly", label: "Weekly" },
|
|
5617
5617
|
{ value: "Monthly", label: "Monthly" }
|
|
5618
5618
|
];
|
|
5619
|
-
const RAW_CSV_OPTIONS = ["download", "
|
|
5619
|
+
const RAW_CSV_OPTIONS = ["Url download", "Email"];
|
|
5620
|
+
const NONE$1 = "NONE";
|
|
5621
|
+
const REQUESTED = "REQUESTED";
|
|
5622
|
+
const AVAILABLE = "AVAILABLE";
|
|
5620
5623
|
const ChartConfig = ({
|
|
5621
5624
|
data,
|
|
5622
5625
|
setXAxis,
|
|
@@ -6921,6 +6924,7 @@ const ExternalMetricRawCsvUrlsDocument = `
|
|
|
6921
6924
|
id
|
|
6922
6925
|
lastUpdatedAt
|
|
6923
6926
|
urls
|
|
6927
|
+
requestStatus
|
|
6924
6928
|
}
|
|
6925
6929
|
}
|
|
6926
6930
|
`;
|
|
@@ -6959,6 +6963,19 @@ const useMetricAccessQuery = (variables, options2) => useQuery(
|
|
|
6959
6963
|
fetcher(MetricAccessDocument, variables),
|
|
6960
6964
|
options2
|
|
6961
6965
|
);
|
|
6966
|
+
const RawCsvSettingsDocument = `
|
|
6967
|
+
query RawCsvSettings($id: uuid = "") {
|
|
6968
|
+
companyWorkspaces_by_pk(id: $id) {
|
|
6969
|
+
rawCsvSettings
|
|
6970
|
+
id
|
|
6971
|
+
}
|
|
6972
|
+
}
|
|
6973
|
+
`;
|
|
6974
|
+
const useRawCsvSettingsQuery = (variables, options2) => useQuery(
|
|
6975
|
+
variables === void 0 ? ["RawCsvSettings"] : ["RawCsvSettings", variables],
|
|
6976
|
+
fetcher(RawCsvSettingsDocument, variables),
|
|
6977
|
+
options2
|
|
6978
|
+
);
|
|
6962
6979
|
const ScheduleEmailReportDocument = `
|
|
6963
6980
|
query ScheduleEmailReport($token: uuid = "") {
|
|
6964
6981
|
scheduleEmailReports(where: {guestToken: {_eq: $token}}) {
|
|
@@ -7194,6 +7211,28 @@ const useUpdateAdminMetricMutation = (options2) => useMutation(
|
|
|
7194
7211
|
(variables) => fetcher(UpdateAdminMetricDocument, variables)(),
|
|
7195
7212
|
options2
|
|
7196
7213
|
);
|
|
7214
|
+
const UpdateCsvDownloadStatusDocument = `
|
|
7215
|
+
mutation UpdateCSVDownloadStatus($configurations: jsonb = "", $expireUrlIn: Int = 60, $externalMetricId: uuid = "", $requestStatus: String = "", $urls: jsonb = "") {
|
|
7216
|
+
insert_externalMetricRawCsvUrls_one(
|
|
7217
|
+
object: {configurations: $configurations, expireUrlIn: $expireUrlIn, externalMetricId: $externalMetricId, requestStatus: $requestStatus, urls: $urls}
|
|
7218
|
+
on_conflict: {constraint: externalMetricRawCsvUrls_externalMetricId_key, update_columns: [configurations, error, expireUrlIn, lastUpdatedAt, requestStatus, urls]}
|
|
7219
|
+
) {
|
|
7220
|
+
id
|
|
7221
|
+
requestStatus
|
|
7222
|
+
configurations
|
|
7223
|
+
error
|
|
7224
|
+
expireUrlIn
|
|
7225
|
+
externalMetricId
|
|
7226
|
+
lastUpdatedAt
|
|
7227
|
+
urls
|
|
7228
|
+
}
|
|
7229
|
+
}
|
|
7230
|
+
`;
|
|
7231
|
+
const useUpdateCsvDownloadStatusMutation = (options2) => useMutation(
|
|
7232
|
+
["UpdateCSVDownloadStatus"],
|
|
7233
|
+
(variables) => fetcher(UpdateCsvDownloadStatusDocument, variables)(),
|
|
7234
|
+
options2
|
|
7235
|
+
);
|
|
7197
7236
|
const UpdateExternalMetricDocument = `
|
|
7198
7237
|
mutation UpdateExternalMetric($externalMetricId: uuid!, $set: externalMetrics_set_input!) {
|
|
7199
7238
|
update_externalMetrics_by_pk(pk_columns: {id: $externalMetricId}, _set: $set) {
|
|
@@ -7322,23 +7361,23 @@ const ExternalMetricForm = ({
|
|
|
7322
7361
|
})]
|
|
7323
7362
|
});
|
|
7324
7363
|
};
|
|
7325
|
-
const container$d = "
|
|
7326
|
-
const wrapper$2 = "
|
|
7327
|
-
const label$3 = "
|
|
7328
|
-
const floatingLabel = "
|
|
7329
|
-
const floatingText = "
|
|
7330
|
-
const clientText = "
|
|
7331
|
-
const normalText = "
|
|
7332
|
-
const dropdown$1 = "
|
|
7333
|
-
const options = "
|
|
7334
|
-
const checkedOption = "
|
|
7335
|
-
const option = "
|
|
7336
|
-
const icon$1 = "
|
|
7337
|
-
const text$1 = "
|
|
7338
|
-
const search = "
|
|
7339
|
-
const loadMore = "
|
|
7340
|
-
const loadMoreIcon = "
|
|
7341
|
-
const aboveList = "
|
|
7364
|
+
const container$d = "_container_1dkbf_1";
|
|
7365
|
+
const wrapper$2 = "_wrapper_1dkbf_9";
|
|
7366
|
+
const label$3 = "_label_1dkbf_17";
|
|
7367
|
+
const floatingLabel = "_floatingLabel_1dkbf_25";
|
|
7368
|
+
const floatingText = "_floatingText_1dkbf_31";
|
|
7369
|
+
const clientText = "_clientText_1dkbf_39";
|
|
7370
|
+
const normalText = "_normalText_1dkbf_47";
|
|
7371
|
+
const dropdown$1 = "_dropdown_1dkbf_55";
|
|
7372
|
+
const options = "_options_1dkbf_63";
|
|
7373
|
+
const checkedOption = "_checkedOption_1dkbf_71";
|
|
7374
|
+
const option = "_option_1dkbf_63";
|
|
7375
|
+
const icon$1 = "_icon_1dkbf_87";
|
|
7376
|
+
const text$1 = "_text_1dkbf_95";
|
|
7377
|
+
const search = "_search_1dkbf_103";
|
|
7378
|
+
const loadMore = "_loadMore_1dkbf_111";
|
|
7379
|
+
const loadMoreIcon = "_loadMoreIcon_1dkbf_119";
|
|
7380
|
+
const aboveList = "_aboveList_1dkbf_127";
|
|
7342
7381
|
var styles$y = {
|
|
7343
7382
|
container: container$d,
|
|
7344
7383
|
wrapper: wrapper$2,
|
|
@@ -7930,6 +7969,9 @@ var index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
7930
7969
|
DATE_NUM,
|
|
7931
7970
|
FREQUENCY,
|
|
7932
7971
|
RAW_CSV_OPTIONS,
|
|
7972
|
+
NONE: NONE$1,
|
|
7973
|
+
REQUESTED,
|
|
7974
|
+
AVAILABLE,
|
|
7933
7975
|
operatorList,
|
|
7934
7976
|
RowLimitList,
|
|
7935
7977
|
AggregateList,
|
|
@@ -86904,12 +86946,12 @@ const InfoTooltip = ({
|
|
|
86904
86946
|
});
|
|
86905
86947
|
};
|
|
86906
86948
|
var styles$p = {
|
|
86907
|
-
"header-container": "_header-
|
|
86908
|
-
"btn-container": "_btn-
|
|
86909
|
-
"back-btn": "_back-
|
|
86910
|
-
"sql-btn": "_sql-
|
|
86911
|
-
"save-btn": "_save-
|
|
86912
|
-
"save-btn-icon": "_save-btn-
|
|
86949
|
+
"header-container": "_header-container_1pbz4_1",
|
|
86950
|
+
"btn-container": "_btn-container_1pbz4_9",
|
|
86951
|
+
"back-btn": "_back-btn_1pbz4_17",
|
|
86952
|
+
"sql-btn": "_sql-btn_1pbz4_25",
|
|
86953
|
+
"save-btn": "_save-btn_1pbz4_33",
|
|
86954
|
+
"save-btn-icon": "_save-btn-icon_1pbz4_41"
|
|
86913
86955
|
};
|
|
86914
86956
|
const Header = ({
|
|
86915
86957
|
setShowMetricCreateModal,
|
|
@@ -86962,20 +87004,20 @@ const Header = ({
|
|
|
86962
87004
|
});
|
|
86963
87005
|
};
|
|
86964
87006
|
var styles$o = {
|
|
86965
|
-
"create-btn": "_create-
|
|
86966
|
-
"modal-container": "_modal-
|
|
86967
|
-
"query-modal": "_query-
|
|
87007
|
+
"create-btn": "_create-btn_zxqu9_1",
|
|
87008
|
+
"modal-container": "_modal-container_zxqu9_9",
|
|
87009
|
+
"query-modal": "_query-modal_zxqu9_17"
|
|
86968
87010
|
};
|
|
86969
|
-
const container$7 = "
|
|
86970
|
-
const header$3 = "
|
|
86971
|
-
const wrapper$1 = "
|
|
86972
|
-
const column = "
|
|
86973
|
-
const columnText$1 = "
|
|
87011
|
+
const container$7 = "_container_u2z1d_1";
|
|
87012
|
+
const header$3 = "_header_u2z1d_9";
|
|
87013
|
+
const wrapper$1 = "_wrapper_u2z1d_17";
|
|
87014
|
+
const column = "_column_u2z1d_33";
|
|
87015
|
+
const columnText$1 = "_columnText_u2z1d_41";
|
|
86974
87016
|
var styles$n = {
|
|
86975
87017
|
container: container$7,
|
|
86976
87018
|
header: header$3,
|
|
86977
87019
|
wrapper: wrapper$1,
|
|
86978
|
-
"col-container": "_col-
|
|
87020
|
+
"col-container": "_col-container_u2z1d_25",
|
|
86979
87021
|
column,
|
|
86980
87022
|
columnText: columnText$1
|
|
86981
87023
|
};
|
|
@@ -88352,7 +88394,7 @@ const ChartTab = ({
|
|
|
88352
88394
|
})]
|
|
88353
88395
|
});
|
|
88354
88396
|
};
|
|
88355
|
-
const container$5 = "
|
|
88397
|
+
const container$5 = "_container_1r4rr_1";
|
|
88356
88398
|
var styles$i = {
|
|
88357
88399
|
container: container$5
|
|
88358
88400
|
};
|
|
@@ -88381,16 +88423,16 @@ const InputTables = ({
|
|
|
88381
88423
|
}, table2.name))
|
|
88382
88424
|
});
|
|
88383
88425
|
};
|
|
88384
|
-
const container$4 = "
|
|
88385
|
-
const header$1 = "
|
|
88386
|
-
const tabButton$1 = "
|
|
88387
|
-
const selectedTab = "
|
|
88388
|
-
const table$1 = "
|
|
88426
|
+
const container$4 = "_container_127xg_1";
|
|
88427
|
+
const header$1 = "_header_127xg_9";
|
|
88428
|
+
const tabButton$1 = "_tabButton_127xg_31";
|
|
88429
|
+
const selectedTab = "_selectedTab_127xg_37";
|
|
88430
|
+
const table$1 = "_table_127xg_43";
|
|
88389
88431
|
var styles$h = {
|
|
88390
88432
|
container: container$4,
|
|
88391
88433
|
header: header$1,
|
|
88392
|
-
"text-container": "_text-
|
|
88393
|
-
"btn-container": "_btn-
|
|
88434
|
+
"text-container": "_text-container_127xg_17",
|
|
88435
|
+
"btn-container": "_btn-container_127xg_25",
|
|
88394
88436
|
tabButton: tabButton$1,
|
|
88395
88437
|
selectedTab,
|
|
88396
88438
|
table: table$1
|
|
@@ -88471,18 +88513,18 @@ const TableTab = ({
|
|
|
88471
88513
|
})]
|
|
88472
88514
|
});
|
|
88473
88515
|
};
|
|
88474
|
-
const mainContainerUpdate = "
|
|
88475
|
-
const wrapper = "
|
|
88476
|
-
const updateWrapper = "
|
|
88477
|
-
const updateWrapperContent = "
|
|
88478
|
-
const createWrapperContent = "
|
|
88479
|
-
const searchCommand = "
|
|
88480
|
-
const tabButton = "
|
|
88481
|
-
const tabActive = "
|
|
88516
|
+
const mainContainerUpdate = "_mainContainerUpdate_z1gwh_7";
|
|
88517
|
+
const wrapper = "_wrapper_z1gwh_23";
|
|
88518
|
+
const updateWrapper = "_updateWrapper_z1gwh_29";
|
|
88519
|
+
const updateWrapperContent = "_updateWrapperContent_z1gwh_35";
|
|
88520
|
+
const createWrapperContent = "_createWrapperContent_z1gwh_41";
|
|
88521
|
+
const searchCommand = "_searchCommand_z1gwh_47";
|
|
88522
|
+
const tabButton = "_tabButton_z1gwh_53";
|
|
88523
|
+
const tabActive = "_tabActive_z1gwh_59";
|
|
88482
88524
|
var styles$g = {
|
|
88483
|
-
"main-container": "_main-
|
|
88525
|
+
"main-container": "_main-container_z1gwh_1",
|
|
88484
88526
|
mainContainerUpdate,
|
|
88485
|
-
"outputTab-header": "_outputTab-
|
|
88527
|
+
"outputTab-header": "_outputTab-header_z1gwh_15",
|
|
88486
88528
|
wrapper,
|
|
88487
88529
|
updateWrapper,
|
|
88488
88530
|
updateWrapperContent,
|
|
@@ -88620,30 +88662,30 @@ const MetricOutput = ({
|
|
|
88620
88662
|
})]
|
|
88621
88663
|
});
|
|
88622
88664
|
};
|
|
88623
|
-
const fieldValueIcon = "
|
|
88624
|
-
const fieldAddBtnIcon = "
|
|
88625
|
-
const group = "
|
|
88626
|
-
const tooltipWrapper = "
|
|
88627
|
-
const tooltip = "
|
|
88628
|
-
const dropdown = "
|
|
88629
|
-
const filterDropdown = "
|
|
88630
|
-
const filterValues = "
|
|
88631
|
-
const columnText = "
|
|
88632
|
-
const disabled = "
|
|
88633
|
-
const checkIcon = "
|
|
88634
|
-
const generateButton = "
|
|
88665
|
+
const fieldValueIcon = "_fieldValueIcon_107sf_49";
|
|
88666
|
+
const fieldAddBtnIcon = "_fieldAddBtnIcon_107sf_65";
|
|
88667
|
+
const group = "_group_107sf_1";
|
|
88668
|
+
const tooltipWrapper = "_tooltipWrapper_107sf_89";
|
|
88669
|
+
const tooltip = "_tooltip_107sf_89";
|
|
88670
|
+
const dropdown = "_dropdown_107sf_113";
|
|
88671
|
+
const filterDropdown = "_filterDropdown_107sf_121";
|
|
88672
|
+
const filterValues = "_filterValues_107sf_129";
|
|
88673
|
+
const columnText = "_columnText_107sf_137";
|
|
88674
|
+
const disabled = "_disabled_107sf_145";
|
|
88675
|
+
const checkIcon = "_checkIcon_107sf_153";
|
|
88676
|
+
const generateButton = "_generateButton_107sf_161";
|
|
88635
88677
|
var styles$f = {
|
|
88636
|
-
"form-container": "_form-
|
|
88637
|
-
"field-container": "_field-
|
|
88638
|
-
"field-label": "_field-
|
|
88639
|
-
"field-wrapper": "_field-
|
|
88640
|
-
"field-inner-container": "_field-inner-
|
|
88641
|
-
"field-value": "_field-
|
|
88678
|
+
"form-container": "_form-container_107sf_1",
|
|
88679
|
+
"field-container": "_field-container_107sf_9",
|
|
88680
|
+
"field-label": "_field-label_107sf_17",
|
|
88681
|
+
"field-wrapper": "_field-wrapper_107sf_25",
|
|
88682
|
+
"field-inner-container": "_field-inner-container_107sf_33",
|
|
88683
|
+
"field-value": "_field-value_107sf_41",
|
|
88642
88684
|
fieldValueIcon,
|
|
88643
|
-
"field-add-btn": "_field-add-
|
|
88685
|
+
"field-add-btn": "_field-add-btn_107sf_57",
|
|
88644
88686
|
fieldAddBtnIcon,
|
|
88645
|
-
"field-value-container": "_field-value-
|
|
88646
|
-
"field-prompt": "_field-
|
|
88687
|
+
"field-value-container": "_field-value-container_107sf_73",
|
|
88688
|
+
"field-prompt": "_field-prompt_107sf_81",
|
|
88647
88689
|
group,
|
|
88648
88690
|
tooltipWrapper,
|
|
88649
88691
|
tooltip,
|
|
@@ -88654,12 +88696,12 @@ var styles$f = {
|
|
|
88654
88696
|
disabled,
|
|
88655
88697
|
checkIcon,
|
|
88656
88698
|
generateButton,
|
|
88657
|
-
"saved-container": "_saved-
|
|
88658
|
-
"custom-container": "_custom-
|
|
88659
|
-
"simple-container": "_simple-
|
|
88660
|
-
"filter-dropdown": "_filter-
|
|
88661
|
-
"editor-field": "_editor-
|
|
88662
|
-
"tab-border": "_tab-
|
|
88699
|
+
"saved-container": "_saved-container_107sf_169",
|
|
88700
|
+
"custom-container": "_custom-container_107sf_177",
|
|
88701
|
+
"simple-container": "_simple-container_107sf_185",
|
|
88702
|
+
"filter-dropdown": "_filter-dropdown_107sf_193",
|
|
88703
|
+
"editor-field": "_editor-field_107sf_201",
|
|
88704
|
+
"tab-border": "_tab-border_107sf_209"
|
|
88663
88705
|
};
|
|
88664
88706
|
const button$1 = "_button_18a2n_1";
|
|
88665
88707
|
const menu$1 = "_menu_18a2n_7";
|
|
@@ -116764,10 +116806,10 @@ const MetricForm = ({
|
|
|
116764
116806
|
})]
|
|
116765
116807
|
});
|
|
116766
116808
|
};
|
|
116767
|
-
const container$2 = "
|
|
116768
|
-
const header = "
|
|
116769
|
-
const enableGroupBy = "
|
|
116770
|
-
const enableGroupButton = "
|
|
116809
|
+
const container$2 = "_container_1v000_1";
|
|
116810
|
+
const header = "_header_1v000_9";
|
|
116811
|
+
const enableGroupBy = "_enableGroupBy_1v000_15";
|
|
116812
|
+
const enableGroupButton = "_enableGroupButton_1v000_21";
|
|
116771
116813
|
var styles$d = {
|
|
116772
116814
|
container: container$2,
|
|
116773
116815
|
header,
|
|
@@ -121746,39 +121788,57 @@ var styles$b = {
|
|
|
121746
121788
|
"alt-container": "_alt-container_170un_49",
|
|
121747
121789
|
fullscreen: fullscreen$2
|
|
121748
121790
|
};
|
|
121749
|
-
const cardContainer = "
|
|
121750
|
-
const listHeader = "
|
|
121751
|
-
const metricName = "
|
|
121752
|
-
const metricTitle = "
|
|
121753
|
-
const metricDescription = "
|
|
121754
|
-
const popup = "
|
|
121755
|
-
const metricFilter$1 = "
|
|
121756
|
-
const popupIcon = "
|
|
121757
|
-
const popupMenu = "
|
|
121758
|
-
const popupItem = "
|
|
121759
|
-
const popupItemIcon = "
|
|
121760
|
-
const csvBtn = "
|
|
121761
|
-
const deleteBtn = "
|
|
121762
|
-
const metricData = "
|
|
121763
|
-
const metricTable = "
|
|
121764
|
-
const singleValueData = "
|
|
121765
|
-
const singleValue = "
|
|
121766
|
-
const noData = "
|
|
121767
|
-
const noDataContent = "
|
|
121768
|
-
const noDataText = "
|
|
121769
|
-
const loading$1 = "
|
|
121770
|
-
const features = "
|
|
121771
|
-
const fullscreen$1 = "
|
|
121772
|
-
const deleteModal = "
|
|
121773
|
-
const cancelBtn = "
|
|
121774
|
-
const warningIcon = "
|
|
121775
|
-
const downloadCsv = "
|
|
121776
|
-
const downloadCsvWrapper = "
|
|
121777
|
-
const downloadCsvHeader = "
|
|
121778
|
-
const downloadCsvFooter = "
|
|
121779
|
-
const downloadCsvCancelBtn = "
|
|
121780
|
-
const downloadCsvNote = "
|
|
121781
|
-
const
|
|
121791
|
+
const cardContainer = "_cardContainer_1qrhu_1";
|
|
121792
|
+
const listHeader = "_listHeader_1qrhu_9";
|
|
121793
|
+
const metricName = "_metricName_1qrhu_17";
|
|
121794
|
+
const metricTitle = "_metricTitle_1qrhu_25";
|
|
121795
|
+
const metricDescription = "_metricDescription_1qrhu_33";
|
|
121796
|
+
const popup = "_popup_1qrhu_41";
|
|
121797
|
+
const metricFilter$1 = "_metricFilter_1qrhu_49";
|
|
121798
|
+
const popupIcon = "_popupIcon_1qrhu_57";
|
|
121799
|
+
const popupMenu = "_popupMenu_1qrhu_65";
|
|
121800
|
+
const popupItem = "_popupItem_1qrhu_73";
|
|
121801
|
+
const popupItemIcon = "_popupItemIcon_1qrhu_81";
|
|
121802
|
+
const csvBtn = "_csvBtn_1qrhu_89";
|
|
121803
|
+
const deleteBtn = "_deleteBtn_1qrhu_97";
|
|
121804
|
+
const metricData = "_metricData_1qrhu_105";
|
|
121805
|
+
const metricTable = "_metricTable_1qrhu_113";
|
|
121806
|
+
const singleValueData = "_singleValueData_1qrhu_121";
|
|
121807
|
+
const singleValue = "_singleValue_1qrhu_121";
|
|
121808
|
+
const noData = "_noData_1qrhu_137";
|
|
121809
|
+
const noDataContent = "_noDataContent_1qrhu_145";
|
|
121810
|
+
const noDataText = "_noDataText_1qrhu_153";
|
|
121811
|
+
const loading$1 = "_loading_1qrhu_161";
|
|
121812
|
+
const features = "_features_1qrhu_169";
|
|
121813
|
+
const fullscreen$1 = "_fullscreen_1qrhu_177";
|
|
121814
|
+
const deleteModal = "_deleteModal_1qrhu_185";
|
|
121815
|
+
const cancelBtn = "_cancelBtn_1qrhu_193";
|
|
121816
|
+
const warningIcon = "_warningIcon_1qrhu_201";
|
|
121817
|
+
const downloadCsv = "_downloadCsv_1qrhu_209";
|
|
121818
|
+
const downloadCsvWrapper = "_downloadCsvWrapper_1qrhu_217";
|
|
121819
|
+
const downloadCsvHeader = "_downloadCsvHeader_1qrhu_225";
|
|
121820
|
+
const downloadCsvFooter = "_downloadCsvFooter_1qrhu_233";
|
|
121821
|
+
const downloadCsvCancelBtn = "_downloadCsvCancelBtn_1qrhu_241";
|
|
121822
|
+
const downloadCsvNote = "_downloadCsvNote_1qrhu_249";
|
|
121823
|
+
const downloadCsvExpiredNote = "_downloadCsvExpiredNote_1qrhu_257";
|
|
121824
|
+
const downloadCsvNoteText = "_downloadCsvNoteText_1qrhu_263";
|
|
121825
|
+
const downloadUrlTimeline = "_downloadUrlTimeline_1qrhu_287";
|
|
121826
|
+
const timeLineItem = "_timeLineItem_1qrhu_295";
|
|
121827
|
+
const timeLineActiveIcon = "_timeLineActiveIcon_1qrhu_303";
|
|
121828
|
+
const timeLineIcon = "_timeLineIcon_1qrhu_311";
|
|
121829
|
+
const timeLineItemline = "_timeLineItemline_1qrhu_319";
|
|
121830
|
+
const downloadCsvLoading = "_downloadCsvLoading_1qrhu_327";
|
|
121831
|
+
const downloadCsvLoadingIcon = "_downloadCsvLoadingIcon_1qrhu_335";
|
|
121832
|
+
const downloadCsvLoadingText = "_downloadCsvLoadingText_1qrhu_343";
|
|
121833
|
+
const timeLineCheckedIcon = "_timeLineCheckedIcon_1qrhu_351";
|
|
121834
|
+
const timeLineCheckedIconWrapper = "_timeLineCheckedIconWrapper_1qrhu_359";
|
|
121835
|
+
const downloadCsvBackBtnWrapper = "_downloadCsvBackBtnWrapper_1qrhu_367";
|
|
121836
|
+
const downloadCsvBackBtnText = "_downloadCsvBackBtnText_1qrhu_375";
|
|
121837
|
+
const downloadCsvHeaderText = "_downloadCsvHeaderText_1qrhu_397";
|
|
121838
|
+
const downloadCsvTabContainer = "_downloadCsvTabContainer_1qrhu_405";
|
|
121839
|
+
const downloadCsvActiveTab = "_downloadCsvActiveTab_1qrhu_413";
|
|
121840
|
+
const downloadCsvTab = "_downloadCsvTab_1qrhu_405";
|
|
121841
|
+
const downloadCsvActiveTabText = "_downloadCsvActiveTabText_1qrhu_429";
|
|
121782
121842
|
var styles$a = {
|
|
121783
121843
|
cardContainer,
|
|
121784
121844
|
listHeader,
|
|
@@ -121812,9 +121872,27 @@ var styles$a = {
|
|
|
121812
121872
|
downloadCsvFooter,
|
|
121813
121873
|
downloadCsvCancelBtn,
|
|
121814
121874
|
downloadCsvNote,
|
|
121875
|
+
downloadCsvExpiredNote,
|
|
121815
121876
|
downloadCsvNoteText,
|
|
121816
|
-
"tab-border-bottom": "_tab-border-
|
|
121817
|
-
"download-info-text": "_download-info-
|
|
121877
|
+
"tab-border-bottom": "_tab-border-bottom_1qrhu_271",
|
|
121878
|
+
"download-info-text": "_download-info-text_1qrhu_279",
|
|
121879
|
+
downloadUrlTimeline,
|
|
121880
|
+
timeLineItem,
|
|
121881
|
+
timeLineActiveIcon,
|
|
121882
|
+
timeLineIcon,
|
|
121883
|
+
timeLineItemline,
|
|
121884
|
+
downloadCsvLoading,
|
|
121885
|
+
downloadCsvLoadingIcon,
|
|
121886
|
+
downloadCsvLoadingText,
|
|
121887
|
+
timeLineCheckedIcon,
|
|
121888
|
+
timeLineCheckedIconWrapper,
|
|
121889
|
+
downloadCsvBackBtnWrapper,
|
|
121890
|
+
downloadCsvBackBtnText,
|
|
121891
|
+
downloadCsvHeaderText,
|
|
121892
|
+
downloadCsvTabContainer,
|
|
121893
|
+
downloadCsvActiveTab,
|
|
121894
|
+
downloadCsvTab,
|
|
121895
|
+
downloadCsvActiveTabText
|
|
121818
121896
|
};
|
|
121819
121897
|
var NoData = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMDAgMzAwIj48ZGVmcz48c3R5bGU+LmNscy0xe3N0cm9rZTojMTgyYzYwO30uY2xzLTEsLmNscy0ye2ZpbGw6bm9uZTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7fS5jbHMtM3tmaWxsOiM1ODY1ZjY7b3BhY2l0eTouMTt9LmNscy00e2ZpbGw6I2YyZjNmNDt9LmNscy01e2ZpbGw6I2MxYzdjOTt9LmNscy02e2ZpbGw6I2RhZGVkZjt9LmNscy03e2ZpbGw6IzE4MmM2MDt9LmNscy0ye3N0cm9rZTojNTg2NWY2O3N0cm9rZS13aWR0aDo0cHg7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0ibTIxMC41LDIwMC44M2MuNC0uNjYuNjgtMS40LjgyLTIuMiwxLjU4LTguODcsMy4xNS0xNy43NSw0LjczLTI2LjYyLDIuMDMtMTEuNDQsNC4wNi0yMi44OCw2LjA5LTM0LjMyLjcyLTQuMDgsMS43Ny04LjI1LDIuMTYtMTIuMzguNDMtNC41Ni0yLjA5LTkuNjgtNi44Ni0xMC42Ni0uMDEsMC0uMDMsMC0uMDQsMC0yLjQtLjQ5LTUuMDItLjIyLTcuNDUtLjIyaC00NC4yMmMtLjUyLDAtMi4zMy0uMzEtMi43NywwbC0yNC4yOCwxNy4yMmgtNjEuNjFjLTMuOTcsMC02Ljk5LDMuNTYtNi4zNCw3LjQ3bDkuNzUsNTkuNDJjLjUxLDMuMTEsMy4yLDUuMzksNi4zNCw1LjM5aDExNy44NiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0ibTIwNywxMTQuNDN2LTguNTRjMC0zLjU1LTIuODgtNi40My02LjQzLTYuNDNoLTE3LjE5Ii8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMTAzLjQ3LDk5LjQ2aC0xNS4xMmMtMy41NSwwLTYuNDMsMi44OC02LjQzLDYuNDN2MjUuNDgiLz48Zz48bGluZSBjbGFzcz0iY2xzLTIiIHgxPSIxMTQuMTIiIHkxPSI5NC4wOCIgeDI9IjE0NC44NCIgeTI9Ijk0LjA4Ii8+PGc+PHJlY3QgY2xhc3M9ImNscy02IiB4PSIxMTIuNjEiIHk9IjEwMi40MyIgd2lkdGg9IjE4Ljk3IiBoZWlnaHQ9IjMuMiIvPjxyZWN0IGNsYXNzPSJjbHMtNCIgeD0iMTM3LjYxIiB5PSIxMDIuNDMiIHdpZHRoPSI4LjkiIGhlaWdodD0iMy4yIi8+PC9nPjwvZz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0xNjQuOTgsODEuNDZsLS4wOCwxNi4yOHMuMTUsMy4yNC4zLDMuNjIuNiwxLjUxLDEuMTMsMS44OCwxLjAyLjc5LDEuNzcsMS4wNi45NC40OSwyLjExLjQ5LDE4LjE3LjA0LDE4LjE3LjA0bC0yMy40MS0yMy4zN1oiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0xODguNTEsMTA0LjkxdjkuNTIiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0xMDMuNTMsMTMxLjM3di00NC45NWMwLTIuODQsMi4zLTUuMTUsNS4xNS01LjE1LDE4Ljc3LDAsMzcuNTQsMCw1Ni4zMSwwIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMTY1LjAxLDgxLjI3djE4LjM1YzAsMi44NCwyLjMxLDUuMTUsNS4xNSw1LjE1aDE4LjM1cy0yMy41LTIzLjYyLTIzLjUtMjMuNVoiLz48Y2lyY2xlIGNsYXNzPSJjbHMtMSIgY3g9IjE2OC4yMSIgY3k9IjE2My4yNyIgcj0iMjQuOTYiLz48Y2lyY2xlIGNsYXNzPSJjbHMtMSIgY3g9IjE2OC4yMSIgY3k9IjE2My4yNyIgcj0iMzEuMjUiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0xOTIuNTcsMTgzLjMzYzkuNjIsOS42MiwzMC4yOCwzMC4yOCwzMC4yOCwzMC4yOCwxLjE3LDEuMTcsMS4xNywzLjA3LDAsNC4yNHMtMy4wNywxLjE3LTQuMjQsMGMwLDAtMjAuNTgtMjAuNTgtMzAuMjItMzAuMjIiLz48Zz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Im0xNjguNjYsMTcwLjkzYy0uNzQsMC0xLjM0LjI0LTEuODEuNzItLjQ3LjQ4LS43MSwxLjA5LS43MSwxLjgzcy4yNCwxLjMyLjcxLDEuODFjLjQ3LjQ5LDEuMDcuNzQsMS44MS43NHMxLjM0LS4yNSwxLjgxLS43NGMuNDctLjQ5LjcxLTEuMS43MS0xLjgxcy0uMjQtMS4zNC0uNzEtMS44M2MtLjQ3LS40OC0xLjA4LS43Mi0xLjgxLS43MloiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Im0xNzQuNjksMTUzLjc3Yy0uNjItMS4wMi0xLjQ5LTEuODItMi42LTIuNC0xLjEyLS41Ny0yLjQtLjg2LTMuODUtLjg2LTEuNjgsMC0zLjE3LjQtNC40NywxLjE5cy0yLjI5LDEuOTQtMi45OCwzLjQzbDIuNzYsMi4yOGMuNDYtMS4wNiwxLjA3LTEuODYsMS44NS0yLjQuNzctLjU0LDEuNjUtLjgxLDIuNjQtLjgxLjc2LDAsMS40MS4xNCwxLjk3LjQxLjU1LjI4Ljk4LjY3LDEuMjgsMS4xNy4zLjUxLjQ1LDEuMS40NSwxLjc5cy0uMTYsMS4yOS0uNDcsMS44MWMtLjMxLjUyLS43NS45Mi0xLjMxLDEuMjEtLjU2LjI5LTEuMjIuNDMtMS45OC40M2gtLjkzdjYuNjZoMy4yOGwuMjYtMy43M2MuNzEtLjI0LDEuMzctLjU1LDEuOTUtLjkzLjk5LS42NCwxLjc1LTEuNDUsMi4yOS0yLjQxLjU0LS45Ny44MS0yLjA3LjgxLTMuMzEsMC0xLjMzLS4zMS0yLjUxLS45My0zLjU0WiIvPjwvZz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im04NS41NSwyMDMuOTdjLjY4LDIuODksMy4yNiw0Ljk2LDYuMjYsNC45NmgxMTcuNzMiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0yMTUuMzcsMjA2LjA0Yy40Ny0uNzEuOC0xLjUyLjk1LTIuNCwxLjU4LTguODcsMy4xNS0xNy43NSw0LjczLTI2LjYyLDIuMDMtMTEuNDQsNC4wNi0yMi44OCw2LjA5LTM0LjMyLjcyLTQuMDgsMS43Ny04LjI1LDIuMTYtMTIuMzguMzktNC4xNi0xLjY4LTguNzktNS42Ny0xMC4zMSIvPjxwYXRoIGNsYXNzPSJjbHMtNyIgZD0ibTIyMy41MSwxMjAuMDhzLjQ5LDEuNjIuNTMsMS43My4zMiwyLjQ0LjMyLDIuNDRsLS4wNCwxLjkxLTEuMzgsNy4xMy0zLjM5LDE5LjMxLTIuODksMTUuOTItMi45NiwxNi43Ni0yLjQ0LDEzLjE2LS45MiwyLjY1LDQuOTgsNS4xNS44NS0yLjE1LjgxLTQuMDYsMS40OC04LjMzLDIuODItMTUuNzEsMi4xNS0xMi4xMSwxLjk0LTExLjM2LDIuNzUtMTQuNzUuODgtNC42OS4yOC0yLjU4LjA3LTIuMTItLjYtMi43NS0xLjI0LTIuMzYtMS4wOS0xLjU5LTIuMDEtMS4zMS0uOTItLjI4WiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtNyIgcG9pbnRzPSI4NS42OCAyMDMuOTMgMjA0LjU1IDIwMy44NCAyMDkuMzUgMjA4LjczIDE0OC40OCAyMDguODggOTAuOTUgMjA5LjAyIDg5LjUgMjA4LjY2IDg3Ljk4IDIwNy45MiA4Ni44MiAyMDYuNTggODYuMDEgMjA1LjAzIDg1LjY4IDIwMy45MyIvPjwvc3ZnPg==";
|
|
121820
121898
|
const materialSymbolsArchiveOutline = (props) => /* @__PURE__ */ jsx("svg", {
|
|
@@ -121883,8 +121961,8 @@ const ChartImageDownloadButton = ({
|
|
|
121883
121961
|
}), text2]
|
|
121884
121962
|
});
|
|
121885
121963
|
};
|
|
121886
|
-
const metricFilter = "
|
|
121887
|
-
const customContainer = "
|
|
121964
|
+
const metricFilter = "_metricFilter_1xge8_1";
|
|
121965
|
+
const customContainer = "_customContainer_1xge8_7";
|
|
121888
121966
|
var styles$9 = {
|
|
121889
121967
|
metricFilter,
|
|
121890
121968
|
customContainer
|
|
@@ -121987,24 +122065,24 @@ const MetricFilterDropDown = ({
|
|
|
121987
122065
|
}) : void 0
|
|
121988
122066
|
});
|
|
121989
122067
|
};
|
|
121990
|
-
const container$1 = "
|
|
121991
|
-
const popover = "
|
|
121992
|
-
const button = "
|
|
121993
|
-
const buttonOpen = "
|
|
121994
|
-
const menu = "
|
|
121995
|
-
const enter = "
|
|
121996
|
-
const enterFrom = "
|
|
121997
|
-
const enterTo = "
|
|
121998
|
-
const leave = "
|
|
121999
|
-
const leaveFrom = "
|
|
122000
|
-
const leaveTo = "
|
|
122001
|
-
const center = "
|
|
122002
|
-
const top = "
|
|
122003
|
-
const bottom = "
|
|
122004
|
-
const left = "
|
|
122005
|
-
const right = "
|
|
122006
|
-
const chartOptionBtn = "
|
|
122007
|
-
const chartpopup = "
|
|
122068
|
+
const container$1 = "_container_a6fvx_1";
|
|
122069
|
+
const popover = "_popover_a6fvx_9";
|
|
122070
|
+
const button = "_button_a6fvx_17";
|
|
122071
|
+
const buttonOpen = "_buttonOpen_a6fvx_25";
|
|
122072
|
+
const menu = "_menu_a6fvx_33";
|
|
122073
|
+
const enter = "_enter_a6fvx_41";
|
|
122074
|
+
const enterFrom = "_enterFrom_a6fvx_49";
|
|
122075
|
+
const enterTo = "_enterTo_a6fvx_57";
|
|
122076
|
+
const leave = "_leave_a6fvx_65";
|
|
122077
|
+
const leaveFrom = "_leaveFrom_a6fvx_73";
|
|
122078
|
+
const leaveTo = "_leaveTo_a6fvx_81";
|
|
122079
|
+
const center = "_center_a6fvx_89";
|
|
122080
|
+
const top = "_top_a6fvx_97";
|
|
122081
|
+
const bottom = "_bottom_a6fvx_105";
|
|
122082
|
+
const left = "_left_a6fvx_113";
|
|
122083
|
+
const right = "_right_a6fvx_121";
|
|
122084
|
+
const chartOptionBtn = "_chartOptionBtn_a6fvx_225";
|
|
122085
|
+
const chartpopup = "_chartpopup_a6fvx_233";
|
|
122008
122086
|
var styles$8 = {
|
|
122009
122087
|
container: container$1,
|
|
122010
122088
|
popover,
|
|
@@ -122022,23 +122100,23 @@ var styles$8 = {
|
|
|
122022
122100
|
bottom,
|
|
122023
122101
|
left,
|
|
122024
122102
|
right,
|
|
122025
|
-
"left-top-end": "_left-top-
|
|
122026
|
-
"right-top-end": "_right-top-
|
|
122027
|
-
"left-bottom-end": "_left-bottom-
|
|
122028
|
-
"right-bottom-end": "_right-bottom-
|
|
122029
|
-
"top-left": "_top-
|
|
122030
|
-
"top-right": "_top-
|
|
122031
|
-
"bottom-left": "_bottom-
|
|
122032
|
-
"bottom-right": "_bottom-
|
|
122033
|
-
"left-top": "_left-
|
|
122034
|
-
"left-bottom": "_left-
|
|
122035
|
-
"right-top": "_right-
|
|
122036
|
-
"right-bottom": "_right-
|
|
122103
|
+
"left-top-end": "_left-top-end_a6fvx_129",
|
|
122104
|
+
"right-top-end": "_right-top-end_a6fvx_137",
|
|
122105
|
+
"left-bottom-end": "_left-bottom-end_a6fvx_145",
|
|
122106
|
+
"right-bottom-end": "_right-bottom-end_a6fvx_153",
|
|
122107
|
+
"top-left": "_top-left_a6fvx_161",
|
|
122108
|
+
"top-right": "_top-right_a6fvx_169",
|
|
122109
|
+
"bottom-left": "_bottom-left_a6fvx_177",
|
|
122110
|
+
"bottom-right": "_bottom-right_a6fvx_185",
|
|
122111
|
+
"left-top": "_left-top_a6fvx_129",
|
|
122112
|
+
"left-bottom": "_left-bottom_a6fvx_145",
|
|
122113
|
+
"right-top": "_right-top_a6fvx_137",
|
|
122114
|
+
"right-bottom": "_right-bottom_a6fvx_153",
|
|
122037
122115
|
chartOptionBtn,
|
|
122038
122116
|
chartpopup
|
|
122039
122117
|
};
|
|
122040
|
-
const fullscreen = "
|
|
122041
|
-
const loading = "
|
|
122118
|
+
const fullscreen = "_fullscreen_19jec_1";
|
|
122119
|
+
const loading = "_loading_19jec_9";
|
|
122042
122120
|
var styles$7 = {
|
|
122043
122121
|
fullscreen,
|
|
122044
122122
|
loading
|
|
@@ -122221,8 +122299,8 @@ const ChartPopup = ({
|
|
|
122221
122299
|
};
|
|
122222
122300
|
var ChartPopup$1 = React__default.memo(ChartPopup);
|
|
122223
122301
|
var styles$6 = {
|
|
122224
|
-
"dbc-container": "_dbc-
|
|
122225
|
-
"active-dimension": "_active-
|
|
122302
|
+
"dbc-container": "_dbc-container_nmp4f_1",
|
|
122303
|
+
"active-dimension": "_active-dimension_nmp4f_9"
|
|
122226
122304
|
};
|
|
122227
122305
|
const DrillBreadCrumb = ({
|
|
122228
122306
|
dimensions,
|
|
@@ -122603,7 +122681,7 @@ const MetricCard = ({
|
|
|
122603
122681
|
variant: "custom",
|
|
122604
122682
|
type: "button",
|
|
122605
122683
|
className: `${styles$a.popupItem} ${styles$a.csvBtn}`,
|
|
122606
|
-
onClick: () => onDownloadRawCsv(metricItem),
|
|
122684
|
+
onClick: () => onDownloadRawCsv(metricItem, filterValues2),
|
|
122607
122685
|
children: [/* @__PURE__ */ jsx(Icons, {
|
|
122608
122686
|
name: "csv-icon",
|
|
122609
122687
|
className: styles$a.popupItemIcon
|
|
@@ -123093,6 +123171,12 @@ const LayoutAlert = ({
|
|
|
123093
123171
|
})
|
|
123094
123172
|
});
|
|
123095
123173
|
};
|
|
123174
|
+
const DashboardContext = createContext({
|
|
123175
|
+
isLoading: void 0,
|
|
123176
|
+
data: void 0,
|
|
123177
|
+
token: void 0
|
|
123178
|
+
});
|
|
123179
|
+
const useDashboardContext = () => useContext(DashboardContext);
|
|
123096
123180
|
const timeAgo = (unixTimestamp) => {
|
|
123097
123181
|
const now = Date.now();
|
|
123098
123182
|
const diff2 = now - unixTimestamp;
|
|
@@ -123130,12 +123214,22 @@ const getSqlStatement = ({
|
|
|
123130
123214
|
});
|
|
123131
123215
|
return replacedStr;
|
|
123132
123216
|
};
|
|
123133
|
-
const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
123217
|
+
const useDownloadRawCsv = (onCloseModal, metricItem, filterValues2) => {
|
|
123218
|
+
var _a2, _b2;
|
|
123219
|
+
const queryClient2 = useQueryClient();
|
|
123220
|
+
const { data } = useDashboardContext();
|
|
123221
|
+
const { data: rawCsvSettingsData } = useRawCsvSettingsQuery(
|
|
123222
|
+
{
|
|
123223
|
+
id: (_a2 = data == null ? void 0 : data.workspace) == null ? void 0 : _a2.id
|
|
123224
|
+
},
|
|
123225
|
+
{ enabled: !!((_b2 = data == null ? void 0 : data.workspace) == null ? void 0 : _b2.id) }
|
|
123226
|
+
);
|
|
123134
123227
|
const [csvDownloadUrlError, setCsvDownloadUrlError] = useState("");
|
|
123135
123228
|
const [isLoading, setLoading] = useState(false);
|
|
123136
123229
|
const [downloadCsvError, setError] = useState("");
|
|
123137
123230
|
const { mutate } = useRawCsvMutation();
|
|
123138
123231
|
const { mutate: invokeSaveRawCsvDetailsMutation } = useInvokeSaveRawCsvDetailsMutation();
|
|
123232
|
+
const { mutate: updateCsvDownloadStatus } = useUpdateCsvDownloadStatusMutation();
|
|
123139
123233
|
const { handleSubmit, register: register2 } = useForm();
|
|
123140
123234
|
const { data: RawCsvUrlsData } = useExternalMetricRawCsvUrlsQuery(
|
|
123141
123235
|
{ externalMetricId: metricItem == null ? void 0 : metricItem.id },
|
|
@@ -123147,7 +123241,7 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123147
123241
|
const expires = parseInt(params.get("Expires"), 10);
|
|
123148
123242
|
const currentTime = Math.floor(Date.now() / 1e3);
|
|
123149
123243
|
const secondsLeft = expires - currentTime;
|
|
123150
|
-
return { isExpired: currentTime
|
|
123244
|
+
return { isExpired: currentTime >= expires, secondsLeft };
|
|
123151
123245
|
};
|
|
123152
123246
|
const getUrls = (urls) => {
|
|
123153
123247
|
try {
|
|
@@ -123156,6 +123250,15 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123156
123250
|
return [];
|
|
123157
123251
|
}
|
|
123158
123252
|
};
|
|
123253
|
+
const rawCsvSettings = useMemo(
|
|
123254
|
+
() => {
|
|
123255
|
+
var _a3, _b3;
|
|
123256
|
+
return {
|
|
123257
|
+
expireTimeInMin: ((_b3 = (_a3 = rawCsvSettingsData == null ? void 0 : rawCsvSettingsData.companyWorkspaces_by_pk) == null ? void 0 : _a3.rawCsvSettings) == null ? void 0 : _b3.expireTimeInMin) || 30
|
|
123258
|
+
};
|
|
123259
|
+
},
|
|
123260
|
+
[rawCsvSettingsData]
|
|
123261
|
+
);
|
|
123159
123262
|
const csvDownloadUrls = useMemo(() => {
|
|
123160
123263
|
if (RawCsvUrlsData == null ? void 0 : RawCsvUrlsData.externalMetricRawCsvUrls.length) {
|
|
123161
123264
|
const urls = getUrls(RawCsvUrlsData.externalMetricRawCsvUrls[0].urls);
|
|
@@ -123166,7 +123269,8 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123166
123269
|
),
|
|
123167
123270
|
isExpired: urls.length ? isLinkExpired(urls[0]).isExpired : true,
|
|
123168
123271
|
error: RawCsvUrlsData.externalMetricRawCsvUrls[0].error,
|
|
123169
|
-
expireUrlIn: urls.length ? isLinkExpired(urls[0]).secondsLeft : 0
|
|
123272
|
+
expireUrlIn: urls.length ? isLinkExpired(urls[0]).secondsLeft : 0,
|
|
123273
|
+
status: RawCsvUrlsData.externalMetricRawCsvUrls[0].requestStatus
|
|
123170
123274
|
};
|
|
123171
123275
|
}
|
|
123172
123276
|
return {
|
|
@@ -123174,7 +123278,8 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123174
123278
|
lastUpdatedAt: 0,
|
|
123175
123279
|
isExpired: true,
|
|
123176
123280
|
error: null,
|
|
123177
|
-
expireUrlIn: 0
|
|
123281
|
+
expireUrlIn: 0,
|
|
123282
|
+
status: "NONE"
|
|
123178
123283
|
};
|
|
123179
123284
|
}, [RawCsvUrlsData == null ? void 0 : RawCsvUrlsData.externalMetricRawCsvUrls]);
|
|
123180
123285
|
const handleDownload = (url) => {
|
|
@@ -123217,7 +123322,7 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123217
123322
|
query: sqlQuery,
|
|
123218
123323
|
clientName,
|
|
123219
123324
|
tenancyType,
|
|
123220
|
-
values
|
|
123325
|
+
values: filterValues2
|
|
123221
123326
|
});
|
|
123222
123327
|
mutate(
|
|
123223
123328
|
{
|
|
@@ -123228,10 +123333,9 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123228
123333
|
workspaceId
|
|
123229
123334
|
},
|
|
123230
123335
|
{
|
|
123231
|
-
onSuccess(
|
|
123232
|
-
|
|
123233
|
-
const
|
|
123234
|
-
const error2 = (_b2 = data.sendRawCsv) == null ? void 0 : _b2.error;
|
|
123336
|
+
onSuccess({ sendRawCsv }) {
|
|
123337
|
+
const success2 = sendRawCsv == null ? void 0 : sendRawCsv.status;
|
|
123338
|
+
const error2 = sendRawCsv == null ? void 0 : sendRawCsv.error;
|
|
123235
123339
|
if (success2) {
|
|
123236
123340
|
setError("");
|
|
123237
123341
|
setLoading(false);
|
|
@@ -123248,17 +123352,17 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123248
123352
|
);
|
|
123249
123353
|
};
|
|
123250
123354
|
const saveRawCsvDetails = ({
|
|
123251
|
-
values,
|
|
123252
123355
|
clientName,
|
|
123253
|
-
tenancyType
|
|
123356
|
+
tenancyType,
|
|
123357
|
+
expirationMinutes,
|
|
123358
|
+
onSuccess
|
|
123254
123359
|
}) => {
|
|
123255
|
-
|
|
123256
|
-
setError("");
|
|
123360
|
+
const expirationDate = new Date(Date.now() + expirationMinutes * 60 * 1e3);
|
|
123257
123361
|
invokeSaveRawCsvDetailsMutation(
|
|
123258
123362
|
{
|
|
123259
|
-
configurations: { metricItem
|
|
123260
|
-
expireCsvFileAt:
|
|
123261
|
-
expireUrlIn:
|
|
123363
|
+
configurations: { metricItem },
|
|
123364
|
+
expireCsvFileAt: expirationDate,
|
|
123365
|
+
expireUrlIn: expirationMinutes * 60,
|
|
123262
123366
|
externalMetricId: metricItem == null ? void 0 : metricItem.id,
|
|
123263
123367
|
integrationId: metricItem == null ? void 0 : metricItem.companyIntegrationId,
|
|
123264
123368
|
integrationName: metricItem == null ? void 0 : metricItem.integrationName,
|
|
@@ -123266,13 +123370,15 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123266
123370
|
query: metricItem == null ? void 0 : metricItem.query,
|
|
123267
123371
|
clientName,
|
|
123268
123372
|
tenancyType,
|
|
123269
|
-
values
|
|
123373
|
+
values: filterValues2
|
|
123270
123374
|
})
|
|
123271
123375
|
},
|
|
123272
123376
|
{
|
|
123273
123377
|
onSuccess({ invokeSaveRawCsvDetails }) {
|
|
123274
123378
|
if (invokeSaveRawCsvDetails == null ? void 0 : invokeSaveRawCsvDetails.statusCode) {
|
|
123275
123379
|
setLoading(false);
|
|
123380
|
+
setError("");
|
|
123381
|
+
onSuccess();
|
|
123276
123382
|
onCloseModal(false);
|
|
123277
123383
|
} else if (invokeSaveRawCsvDetails == null ? void 0 : invokeSaveRawCsvDetails.error) {
|
|
123278
123384
|
setLoading(false);
|
|
@@ -123289,6 +123395,65 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123289
123395
|
}
|
|
123290
123396
|
);
|
|
123291
123397
|
};
|
|
123398
|
+
const onRequestToDownload = ({
|
|
123399
|
+
clientName,
|
|
123400
|
+
tenancyType,
|
|
123401
|
+
requestStatus
|
|
123402
|
+
}) => {
|
|
123403
|
+
setLoading(true);
|
|
123404
|
+
setError("");
|
|
123405
|
+
const expirationMinutes = rawCsvSettings.expireTimeInMin || 30;
|
|
123406
|
+
updateCsvDownloadStatus(
|
|
123407
|
+
{
|
|
123408
|
+
configurations: metricItem,
|
|
123409
|
+
expireUrlIn: expirationMinutes * 60,
|
|
123410
|
+
externalMetricId: metricItem == null ? void 0 : metricItem.id,
|
|
123411
|
+
requestStatus,
|
|
123412
|
+
urls: "[]"
|
|
123413
|
+
},
|
|
123414
|
+
{
|
|
123415
|
+
onSuccess({ insert_externalMetricRawCsvUrls_one }) {
|
|
123416
|
+
if (insert_externalMetricRawCsvUrls_one == null ? void 0 : insert_externalMetricRawCsvUrls_one.id) {
|
|
123417
|
+
saveRawCsvDetails({
|
|
123418
|
+
expirationMinutes,
|
|
123419
|
+
clientName,
|
|
123420
|
+
tenancyType,
|
|
123421
|
+
onSuccess: () => {
|
|
123422
|
+
queryClient2.setQueryData(
|
|
123423
|
+
[
|
|
123424
|
+
"ExternalMetricRawCsvUrls",
|
|
123425
|
+
{ externalMetricId: metricItem == null ? void 0 : metricItem.id }
|
|
123426
|
+
],
|
|
123427
|
+
(prev) => {
|
|
123428
|
+
const prevExternalMetricRawCsvUrls = prev == null ? void 0 : prev.externalMetricRawCsvUrls;
|
|
123429
|
+
const index2 = prevExternalMetricRawCsvUrls == null ? void 0 : prevExternalMetricRawCsvUrls.findIndex(
|
|
123430
|
+
(url) => url.externalMetricId === (metricItem == null ? void 0 : metricItem.id)
|
|
123431
|
+
);
|
|
123432
|
+
if (index2 > -1) {
|
|
123433
|
+
prevExternalMetricRawCsvUrls[index2] = {
|
|
123434
|
+
...insert_externalMetricRawCsvUrls_one
|
|
123435
|
+
};
|
|
123436
|
+
}
|
|
123437
|
+
return {
|
|
123438
|
+
...prev,
|
|
123439
|
+
externalMetricRawCsvUrls: prevExternalMetricRawCsvUrls
|
|
123440
|
+
};
|
|
123441
|
+
}
|
|
123442
|
+
);
|
|
123443
|
+
}
|
|
123444
|
+
});
|
|
123445
|
+
} else {
|
|
123446
|
+
setLoading(false);
|
|
123447
|
+
setError(SOMETHING_WENT_WRONG);
|
|
123448
|
+
}
|
|
123449
|
+
},
|
|
123450
|
+
onError() {
|
|
123451
|
+
setLoading(false);
|
|
123452
|
+
setError(SOMETHING_WENT_WRONG);
|
|
123453
|
+
}
|
|
123454
|
+
}
|
|
123455
|
+
);
|
|
123456
|
+
};
|
|
123292
123457
|
return {
|
|
123293
123458
|
isLoading,
|
|
123294
123459
|
downloadCsvError,
|
|
@@ -123298,7 +123463,8 @@ const useDownloadRawCsv = (onCloseModal, metricItem) => {
|
|
|
123298
123463
|
csvDownloadUrls,
|
|
123299
123464
|
handleDownload,
|
|
123300
123465
|
csvDownloadUrlError,
|
|
123301
|
-
saveRawCsvDetails
|
|
123466
|
+
saveRawCsvDetails,
|
|
123467
|
+
onRequestToDownload
|
|
123302
123468
|
};
|
|
123303
123469
|
};
|
|
123304
123470
|
const required = { required: "Required" };
|
|
@@ -123328,7 +123494,8 @@ const DownloadRawCsvModal = ({
|
|
|
123328
123494
|
isShowRawCsvModal,
|
|
123329
123495
|
metricItem,
|
|
123330
123496
|
client,
|
|
123331
|
-
companyTenancyType
|
|
123497
|
+
companyTenancyType,
|
|
123498
|
+
filterValues: filterValues2
|
|
123332
123499
|
}) => {
|
|
123333
123500
|
const [rawCsvType, setRawCsvType] = useState(RAW_CSV_OPTIONS[0]);
|
|
123334
123501
|
const {
|
|
@@ -123338,22 +123505,50 @@ const DownloadRawCsvModal = ({
|
|
|
123338
123505
|
onSubmitDownloadCsv,
|
|
123339
123506
|
register: register2,
|
|
123340
123507
|
csvDownloadUrls,
|
|
123508
|
+
onRequestToDownload,
|
|
123341
123509
|
handleDownload,
|
|
123342
|
-
csvDownloadUrlError
|
|
123343
|
-
|
|
123344
|
-
} = useDownloadRawCsv(onCloseModal, metricItem);
|
|
123510
|
+
csvDownloadUrlError
|
|
123511
|
+
} = useDownloadRawCsv(onCloseModal, metricItem, filterValues2);
|
|
123345
123512
|
return /* @__PURE__ */ jsx(Modal, {
|
|
123346
123513
|
isOpen: isShowRawCsvModal,
|
|
123347
123514
|
onClose: () => onCloseModal(false),
|
|
123348
|
-
|
|
123515
|
+
customHeader: /* @__PURE__ */ jsxs("div", {
|
|
123516
|
+
className: styles$a.downloadCsvHeader,
|
|
123517
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123518
|
+
className: styles$a.downloadCsvHeaderText,
|
|
123519
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
123520
|
+
variant: "p",
|
|
123521
|
+
styleClass: "primary",
|
|
123522
|
+
children: "Download Raw CSV"
|
|
123523
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
123524
|
+
className: styles$a.downloadCsvTabContainer,
|
|
123525
|
+
children: RAW_CSV_OPTIONS.map((tab2) => /* @__PURE__ */ jsx(Button, {
|
|
123526
|
+
variant: "custom",
|
|
123527
|
+
type: "button",
|
|
123528
|
+
onClick: () => {
|
|
123529
|
+
setRawCsvType(tab2);
|
|
123530
|
+
},
|
|
123531
|
+
className: rawCsvType === tab2 ? styles$a.downloadCsvActiveTab : styles$a.downloadCsvTab,
|
|
123532
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
123533
|
+
styleClass: "font-14",
|
|
123534
|
+
variant: "p",
|
|
123535
|
+
className: rawCsvType === tab2 ? styles$a.downloadCsvActiveTabText : "",
|
|
123536
|
+
children: tab2
|
|
123537
|
+
})
|
|
123538
|
+
}, tab2))
|
|
123539
|
+
})]
|
|
123540
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
123541
|
+
variant: "secondary",
|
|
123542
|
+
type: "button",
|
|
123543
|
+
onClick: () => onCloseModal(false),
|
|
123544
|
+
children: /* @__PURE__ */ jsx(Icons, {
|
|
123545
|
+
name: "close-icon"
|
|
123546
|
+
})
|
|
123547
|
+
})]
|
|
123548
|
+
}),
|
|
123349
123549
|
children: /* @__PURE__ */ jsxs("div", {
|
|
123350
123550
|
className: styles$a.downloadCsv,
|
|
123351
|
-
children: [/* @__PURE__ */
|
|
123352
|
-
activeTab: rawCsvType,
|
|
123353
|
-
options: RAW_CSV_OPTIONS,
|
|
123354
|
-
setActiveTab: setRawCsvType,
|
|
123355
|
-
className: styles$a["tab-border-bottom"]
|
|
123356
|
-
}), rawCsvType === RAW_CSV_OPTIONS[1] && /* @__PURE__ */ jsxs("form", {
|
|
123551
|
+
children: [rawCsvType === RAW_CSV_OPTIONS[1] && /* @__PURE__ */ jsxs("form", {
|
|
123357
123552
|
onSubmit: handleSubmit((values) => onSubmitDownloadCsv({
|
|
123358
123553
|
values,
|
|
123359
123554
|
sqlQuery: metricItem == null ? void 0 : metricItem.query,
|
|
@@ -123407,65 +123602,103 @@ const DownloadRawCsvModal = ({
|
|
|
123407
123602
|
children: "Submit"
|
|
123408
123603
|
})]
|
|
123409
123604
|
})]
|
|
123410
|
-
}), rawCsvType === RAW_CSV_OPTIONS[0] && /* @__PURE__ */
|
|
123411
|
-
children:
|
|
123605
|
+
}), rawCsvType === RAW_CSV_OPTIONS[0] && /* @__PURE__ */ jsxs("div", {
|
|
123606
|
+
children: [csvDownloadUrls.status === NONE$1 && /* @__PURE__ */ jsxs(Fragment, {
|
|
123412
123607
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
123413
123608
|
className: styles$a.downloadCsvWrapper,
|
|
123414
|
-
children: [/* @__PURE__ */ jsxs(
|
|
123415
|
-
|
|
123416
|
-
|
|
123417
|
-
|
|
123418
|
-
|
|
123419
|
-
|
|
123609
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123610
|
+
className: styles$a.downloadUrlTimeline,
|
|
123611
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123612
|
+
className: styles$a.timeLineItem,
|
|
123613
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
123614
|
+
className: styles$a.timeLineActiveIcon,
|
|
123615
|
+
children: "1"
|
|
123616
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123617
|
+
variant: "p",
|
|
123618
|
+
styleClass: "primary",
|
|
123619
|
+
children: "Request url"
|
|
123620
|
+
})]
|
|
123621
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
123622
|
+
className: styles$a.timeLineItemline
|
|
123623
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
123624
|
+
className: styles$a.timeLineItem,
|
|
123625
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
123626
|
+
className: styles$a.timeLineIcon,
|
|
123627
|
+
children: "2"
|
|
123628
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123629
|
+
variant: "p",
|
|
123630
|
+
styleClass: "primary",
|
|
123631
|
+
children: "Download url"
|
|
123632
|
+
})]
|
|
123420
123633
|
})]
|
|
123421
|
-
}), /* @__PURE__ */ jsxs(
|
|
123422
|
-
|
|
123423
|
-
|
|
123424
|
-
|
|
123425
|
-
className: styles$a
|
|
123426
|
-
|
|
123634
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
123635
|
+
className: styles$a.downloadCsvNote,
|
|
123636
|
+
children: [/* @__PURE__ */ jsx(Icons, {
|
|
123637
|
+
name: "info-icon",
|
|
123638
|
+
className: styles$a.popupItemIcon
|
|
123639
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
123640
|
+
className: styles$a.downloadCsvNoteText,
|
|
123641
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
123642
|
+
styleClass: "primary",
|
|
123643
|
+
variant: "h1",
|
|
123644
|
+
children: "Note:"
|
|
123645
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123646
|
+
styleClass: "font-14",
|
|
123647
|
+
variant: "p",
|
|
123648
|
+
children: "It may take some time for the url to appear as the file size may be too large, especially for larger row entities."
|
|
123649
|
+
})]
|
|
123427
123650
|
})]
|
|
123428
|
-
}), csvDownloadUrlError && /* @__PURE__ */ jsx(Error$1, {
|
|
123429
|
-
message: csvDownloadUrlError
|
|
123430
123651
|
})]
|
|
123652
|
+
}), downloadCsvError && /* @__PURE__ */ jsx(Error$1, {
|
|
123653
|
+
message: downloadCsvError
|
|
123431
123654
|
}), /* @__PURE__ */ jsxs(ModalFooter, {
|
|
123432
123655
|
children: [/* @__PURE__ */ jsx(Button, {
|
|
123433
123656
|
variant: "custom",
|
|
123434
123657
|
type: "button",
|
|
123435
|
-
size: "small",
|
|
123436
123658
|
className: styles$a.downloadCsvCancelBtn,
|
|
123437
123659
|
onClick: () => onCloseModal(false),
|
|
123438
123660
|
isDisabled: isLoading,
|
|
123439
123661
|
children: "Cancel"
|
|
123440
|
-
}),
|
|
123662
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
123441
123663
|
variant: "primary",
|
|
123442
123664
|
type: "button",
|
|
123443
123665
|
size: "medium",
|
|
123444
|
-
onClick: () =>
|
|
123445
|
-
|
|
123446
|
-
|
|
123666
|
+
onClick: () => onRequestToDownload({
|
|
123667
|
+
clientName: client,
|
|
123668
|
+
tenancyType: companyTenancyType,
|
|
123669
|
+
requestStatus: REQUESTED
|
|
123670
|
+
}),
|
|
123671
|
+
children: "Request url"
|
|
123672
|
+
})]
|
|
123447
123673
|
})]
|
|
123448
|
-
})
|
|
123449
|
-
onSubmit: handleSubmit((values) => saveRawCsvDetails({
|
|
123450
|
-
values,
|
|
123451
|
-
clientName: client,
|
|
123452
|
-
tenancyType: companyTenancyType
|
|
123453
|
-
})),
|
|
123674
|
+
}), csvDownloadUrls.status === REQUESTED && /* @__PURE__ */ jsxs(Fragment, {
|
|
123454
123675
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
123455
123676
|
className: styles$a.downloadCsvWrapper,
|
|
123456
|
-
children: [/* @__PURE__ */
|
|
123457
|
-
|
|
123458
|
-
|
|
123459
|
-
|
|
123460
|
-
|
|
123461
|
-
|
|
123462
|
-
|
|
123463
|
-
|
|
123464
|
-
|
|
123465
|
-
|
|
123466
|
-
|
|
123467
|
-
|
|
123468
|
-
|
|
123677
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123678
|
+
className: styles$a.downloadUrlTimeline,
|
|
123679
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123680
|
+
className: styles$a.timeLineItem,
|
|
123681
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
123682
|
+
className: styles$a.timeLineActiveIcon,
|
|
123683
|
+
children: "1"
|
|
123684
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123685
|
+
variant: "p",
|
|
123686
|
+
styleClass: "primary",
|
|
123687
|
+
children: "Request url"
|
|
123688
|
+
})]
|
|
123689
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
123690
|
+
className: styles$a.timeLineItemline
|
|
123691
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
123692
|
+
className: styles$a.timeLineItem,
|
|
123693
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
123694
|
+
className: styles$a.timeLineIcon,
|
|
123695
|
+
children: "2"
|
|
123696
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123697
|
+
variant: "p",
|
|
123698
|
+
styleClass: "primary",
|
|
123699
|
+
children: "Download url"
|
|
123700
|
+
})]
|
|
123701
|
+
})]
|
|
123469
123702
|
}), /* @__PURE__ */ jsxs("div", {
|
|
123470
123703
|
className: styles$a.downloadCsvNote,
|
|
123471
123704
|
children: [/* @__PURE__ */ jsx(Icons, {
|
|
@@ -123480,32 +123713,166 @@ const DownloadRawCsvModal = ({
|
|
|
123480
123713
|
}), /* @__PURE__ */ jsx(Text, {
|
|
123481
123714
|
styleClass: "font-14",
|
|
123482
123715
|
variant: "p",
|
|
123483
|
-
children: "
|
|
123716
|
+
children: "It may take some time for the url to appear as the file size may be too large, especially for larger row entities."
|
|
123484
123717
|
})]
|
|
123485
123718
|
})]
|
|
123486
|
-
}), csvDownloadUrls.error
|
|
123719
|
+
}), csvDownloadUrls.error ? /* @__PURE__ */ jsx(Error$1, {
|
|
123487
123720
|
message: csvDownloadUrls.error
|
|
123488
|
-
})
|
|
123489
|
-
|
|
123721
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
123722
|
+
className: styles$a.downloadCsvLoading,
|
|
123723
|
+
children: [/* @__PURE__ */ jsx(eosIconsLoading, {
|
|
123724
|
+
className: styles$a.downloadCsvLoadingIcon
|
|
123725
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123726
|
+
variant: "p",
|
|
123727
|
+
styleClass: "font-14",
|
|
123728
|
+
className: styles$a.downloadCsvLoadingText,
|
|
123729
|
+
children: "please wait while your download is being processed..."
|
|
123730
|
+
})]
|
|
123490
123731
|
})]
|
|
123732
|
+
}), downloadCsvError && /* @__PURE__ */ jsx(Error$1, {
|
|
123733
|
+
message: downloadCsvError
|
|
123491
123734
|
}), /* @__PURE__ */ jsxs(ModalFooter, {
|
|
123492
123735
|
children: [/* @__PURE__ */ jsx(Button, {
|
|
123493
123736
|
variant: "custom",
|
|
123494
123737
|
type: "button",
|
|
123495
|
-
size: "small",
|
|
123496
123738
|
className: styles$a.downloadCsvCancelBtn,
|
|
123497
123739
|
onClick: () => onCloseModal(false),
|
|
123498
123740
|
isDisabled: isLoading,
|
|
123499
123741
|
children: "Cancel"
|
|
123500
|
-
}), /* @__PURE__ */ jsx(Button, {
|
|
123742
|
+
}), csvDownloadUrls.error ? /* @__PURE__ */ jsx(Button, {
|
|
123501
123743
|
variant: "primary",
|
|
123502
|
-
type: "
|
|
123503
|
-
size: "
|
|
123744
|
+
type: "button",
|
|
123745
|
+
size: "medium",
|
|
123746
|
+
onClick: () => onRequestToDownload({
|
|
123747
|
+
clientName: client,
|
|
123748
|
+
tenancyType: companyTenancyType,
|
|
123749
|
+
requestStatus: REQUESTED
|
|
123750
|
+
}),
|
|
123751
|
+
children: "Request url"
|
|
123752
|
+
}) : /* @__PURE__ */ jsx(Button, {
|
|
123753
|
+
variant: "custom",
|
|
123754
|
+
type: "button",
|
|
123755
|
+
size: "medium",
|
|
123756
|
+
isDisabled: true,
|
|
123757
|
+
className: styles$a.downloadCsvCancelBtn,
|
|
123758
|
+
children: "Request url"
|
|
123759
|
+
})]
|
|
123760
|
+
})]
|
|
123761
|
+
}), csvDownloadUrls.status === AVAILABLE && /* @__PURE__ */ jsxs(Fragment, {
|
|
123762
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123763
|
+
className: styles$a.downloadCsvWrapper,
|
|
123764
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123765
|
+
className: styles$a.downloadUrlTimeline,
|
|
123766
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123767
|
+
className: styles$a.timeLineItem,
|
|
123768
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
123769
|
+
className: styles$a.timeLineCheckedIconWrapper,
|
|
123770
|
+
children: /* @__PURE__ */ jsx(materialSymbolsCheckSmallRounded, {
|
|
123771
|
+
className: styles$a.timeLineCheckedIcon
|
|
123772
|
+
})
|
|
123773
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123774
|
+
variant: "p",
|
|
123775
|
+
styleClass: "primary",
|
|
123776
|
+
children: "Request url"
|
|
123777
|
+
})]
|
|
123778
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
123779
|
+
className: styles$a.timeLineItemline
|
|
123780
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
123781
|
+
className: styles$a.timeLineItem,
|
|
123782
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
123783
|
+
className: styles$a.timeLineActiveIcon,
|
|
123784
|
+
children: "2"
|
|
123785
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123786
|
+
variant: "p",
|
|
123787
|
+
styleClass: "primary",
|
|
123788
|
+
children: "Download url"
|
|
123789
|
+
})]
|
|
123790
|
+
})]
|
|
123791
|
+
}), csvDownloadUrls.isExpired ? /* @__PURE__ */ jsxs("div", {
|
|
123792
|
+
className: styles$a.downloadCsvExpiredNote,
|
|
123793
|
+
children: [/* @__PURE__ */ jsx(Icons, {
|
|
123794
|
+
name: "info-icon",
|
|
123795
|
+
className: styles$a.popupItemIcon
|
|
123796
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
123797
|
+
className: styles$a.downloadCsvNoteText,
|
|
123798
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
123799
|
+
styleClass: "primary",
|
|
123800
|
+
variant: "h1",
|
|
123801
|
+
children: "Note:"
|
|
123802
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
123803
|
+
styleClass: "font-14",
|
|
123804
|
+
variant: "p",
|
|
123805
|
+
children: "Your download link has expired. Please click on Request url to generate a new download url."
|
|
123806
|
+
})]
|
|
123807
|
+
})]
|
|
123808
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
123809
|
+
className: styles$a.downloadCsvNote,
|
|
123810
|
+
children: [/* @__PURE__ */ jsx(Icons, {
|
|
123811
|
+
name: "info-icon",
|
|
123812
|
+
className: styles$a.popupItemIcon
|
|
123813
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
123814
|
+
className: styles$a.downloadCsvNoteText,
|
|
123815
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
123816
|
+
styleClass: "primary",
|
|
123817
|
+
variant: "h1",
|
|
123818
|
+
children: "Note:"
|
|
123819
|
+
}), /* @__PURE__ */ jsxs(Text, {
|
|
123820
|
+
styleClass: "font-14",
|
|
123821
|
+
variant: "p",
|
|
123822
|
+
children: ["Your download may expire in", " ", (csvDownloadUrls.expireUrlIn / 60).toFixed(2), " ", "minutes. Please click Download button to download your raw CSV file."]
|
|
123823
|
+
})]
|
|
123824
|
+
})]
|
|
123825
|
+
}), downloadCsvError && /* @__PURE__ */ jsx(Error$1, {
|
|
123826
|
+
message: downloadCsvError
|
|
123827
|
+
}), csvDownloadUrlError && /* @__PURE__ */ jsx(Error$1, {
|
|
123828
|
+
message: csvDownloadUrlError
|
|
123829
|
+
})]
|
|
123830
|
+
}), /* @__PURE__ */ jsxs(ModalFooter, {
|
|
123831
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
123832
|
+
className: styles$a.downloadCsvBackBtnWrapper,
|
|
123833
|
+
children: csvDownloadUrls.isExpired && /* @__PURE__ */ jsx(Button, {
|
|
123834
|
+
variant: "secondary",
|
|
123835
|
+
type: "button",
|
|
123836
|
+
size: "11rem",
|
|
123837
|
+
isDisabled: isLoading,
|
|
123838
|
+
onClick: () => onRequestToDownload({
|
|
123839
|
+
clientName: client,
|
|
123840
|
+
tenancyType: companyTenancyType,
|
|
123841
|
+
requestStatus: REQUESTED
|
|
123842
|
+
}),
|
|
123843
|
+
className: styles$a.downloadCsvBackBtnText,
|
|
123844
|
+
children: /* @__PURE__ */ jsxs(Text, {
|
|
123845
|
+
styleClass: "font-14a",
|
|
123846
|
+
variant: "p",
|
|
123847
|
+
className: styles$a.downloadCsvBackBtnText,
|
|
123848
|
+
children: [/* @__PURE__ */ jsx(Icons, {
|
|
123849
|
+
name: "arrow-back-icon"
|
|
123850
|
+
}), "Go back to Request url"]
|
|
123851
|
+
})
|
|
123852
|
+
})
|
|
123853
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
123854
|
+
variant: "custom",
|
|
123855
|
+
type: "button",
|
|
123856
|
+
className: styles$a.downloadCsvCancelBtn,
|
|
123857
|
+
onClick: () => onCloseModal(false),
|
|
123504
123858
|
isDisabled: isLoading,
|
|
123505
|
-
children: "
|
|
123859
|
+
children: "Cancel"
|
|
123860
|
+
}), !csvDownloadUrls.isExpired && csvDownloadUrls.urls.map((url) => /* @__PURE__ */ jsx(Button, {
|
|
123861
|
+
variant: "primary",
|
|
123862
|
+
type: "button",
|
|
123863
|
+
size: "medium",
|
|
123864
|
+
onClick: () => handleDownload(url),
|
|
123865
|
+
children: "Download"
|
|
123866
|
+
})), csvDownloadUrls.isExpired && /* @__PURE__ */ jsx(Button, {
|
|
123867
|
+
variant: "custom",
|
|
123868
|
+
type: "button",
|
|
123869
|
+
size: "medium",
|
|
123870
|
+
isDisabled: true,
|
|
123871
|
+
className: styles$a.downloadCsvCancelBtn,
|
|
123872
|
+
children: "Download"
|
|
123506
123873
|
})]
|
|
123507
123874
|
})]
|
|
123508
|
-
})
|
|
123875
|
+
})]
|
|
123509
123876
|
})]
|
|
123510
123877
|
})
|
|
123511
123878
|
});
|
|
@@ -123700,9 +124067,10 @@ const ExternalMetricList = ({
|
|
|
123700
124067
|
metricData: metricData2,
|
|
123701
124068
|
metric
|
|
123702
124069
|
}),
|
|
123703
|
-
onDownloadRawCsv: (metric) => setRawCsvModal({
|
|
124070
|
+
onDownloadRawCsv: (metric, filterValues2) => setRawCsvModal({
|
|
123704
124071
|
metric,
|
|
123705
|
-
show: true
|
|
124072
|
+
show: true,
|
|
124073
|
+
filterValues: filterValues2
|
|
123706
124074
|
})
|
|
123707
124075
|
})
|
|
123708
124076
|
}, metricItem.id))
|
|
@@ -123724,7 +124092,8 @@ const ExternalMetricList = ({
|
|
|
123724
124092
|
onCloseModal: (value) => setRawCsvModal({
|
|
123725
124093
|
metric: void 0,
|
|
123726
124094
|
show: value
|
|
123727
|
-
})
|
|
124095
|
+
}),
|
|
124096
|
+
filterValues: rawCsvModal.filterValues
|
|
123728
124097
|
}), /* @__PURE__ */ jsx(FullScreenChart, {
|
|
123729
124098
|
onCancel: () => setFullScreen(false),
|
|
123730
124099
|
isShow: isFullScreen,
|
|
@@ -123925,33 +124294,33 @@ const mdiPlus = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
123925
124294
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z"
|
|
123926
124295
|
})
|
|
123927
124296
|
});
|
|
123928
|
-
const scheduleEmailButton = "
|
|
124297
|
+
const scheduleEmailButton = "_scheduleEmailButton_101bq_1";
|
|
123929
124298
|
var styles$2 = {
|
|
123930
124299
|
scheduleEmailButton
|
|
123931
124300
|
};
|
|
123932
124301
|
var styles$1 = {
|
|
123933
|
-
"form-container": "_form-
|
|
123934
|
-
"form-wrapper": "_form-
|
|
123935
|
-
"form-primary-text": "_form-primary-
|
|
123936
|
-
"week-days-container": "_week-days-
|
|
123937
|
-
"main-label": "_main-
|
|
123938
|
-
"time-element": "_time-
|
|
123939
|
-
"cancel-btn": "_cancel-
|
|
123940
|
-
"delete-btn": "_delete-
|
|
123941
|
-
"field-width": "_field-
|
|
123942
|
-
"timezone-field": "_timezone-
|
|
123943
|
-
"success-text": "_success-
|
|
124302
|
+
"form-container": "_form-container_63pgj_1",
|
|
124303
|
+
"form-wrapper": "_form-wrapper_63pgj_7",
|
|
124304
|
+
"form-primary-text": "_form-primary-text_63pgj_15",
|
|
124305
|
+
"week-days-container": "_week-days-container_63pgj_23",
|
|
124306
|
+
"main-label": "_main-label_63pgj_29",
|
|
124307
|
+
"time-element": "_time-element_63pgj_37",
|
|
124308
|
+
"cancel-btn": "_cancel-btn_63pgj_45",
|
|
124309
|
+
"delete-btn": "_delete-btn_63pgj_51",
|
|
124310
|
+
"field-width": "_field-width_63pgj_57",
|
|
124311
|
+
"timezone-field": "_timezone-field_63pgj_65",
|
|
124312
|
+
"success-text": "_success-text_63pgj_73"
|
|
123944
124313
|
};
|
|
123945
|
-
const tag = "
|
|
123946
|
-
const tagBtn = "
|
|
123947
|
-
const inputFieldContainer = "
|
|
124314
|
+
const tag = "_tag_akdrv_1";
|
|
124315
|
+
const tagBtn = "_tagBtn_akdrv_13";
|
|
124316
|
+
const inputFieldContainer = "_inputFieldContainer_akdrv_21";
|
|
123948
124317
|
var styles = {
|
|
123949
124318
|
tag,
|
|
123950
|
-
"tag-text": "_tag-
|
|
124319
|
+
"tag-text": "_tag-text_akdrv_7",
|
|
123951
124320
|
tagBtn,
|
|
123952
124321
|
inputFieldContainer,
|
|
123953
|
-
"tag-container": "_tag-
|
|
123954
|
-
"cross-icon": "_cross-
|
|
124322
|
+
"tag-container": "_tag-container_akdrv_29",
|
|
124323
|
+
"cross-icon": "_cross-icon_akdrv_37"
|
|
123955
124324
|
};
|
|
123956
124325
|
const TagInputField = ({
|
|
123957
124326
|
control,
|
|
@@ -124029,12 +124398,6 @@ const TagInputField = ({
|
|
|
124029
124398
|
})
|
|
124030
124399
|
});
|
|
124031
124400
|
};
|
|
124032
|
-
const DashboardContext = createContext({
|
|
124033
|
-
isLoading: void 0,
|
|
124034
|
-
data: void 0,
|
|
124035
|
-
token: void 0
|
|
124036
|
-
});
|
|
124037
|
-
const useDashboardContext = () => useContext(DashboardContext);
|
|
124038
124401
|
const getTimezoneOffset = (timezone, date) => {
|
|
124039
124402
|
const localOffset = date.getTimezoneOffset() * -1;
|
|
124040
124403
|
const targetOffset = new Date(
|