@databrainhq/plugin 0.9.0 → 0.9.2
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/MetricList.d.ts +1 -0
- package/dist/hooks/useEmbeddedDashboard.d.ts +1 -0
- package/dist/index.es.js +209 -203
- package/dist/index.umd.js +67 -66
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +17 -17
- package/dist/utils/generated/graphql.d.ts +3 -4
- package/package.json +96 -96
package/dist/index.es.js
CHANGED
|
@@ -2647,17 +2647,17 @@ var classnames$1 = { exports: {} };
|
|
|
2647
2647
|
})(classnames$1);
|
|
2648
2648
|
var classnames = classnames$1.exports;
|
|
2649
2649
|
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-
|
|
2650
|
+
"btn-primary": "_btn-primary_u81u9_1",
|
|
2651
|
+
"btn-secondary": "_btn-secondary_u81u9_9",
|
|
2652
|
+
"btn-reject": "_btn-reject_u81u9_17",
|
|
2653
|
+
"btn-outlined": "_btn-outlined_u81u9_27",
|
|
2654
|
+
"btn-tertiary": "_btn-tertiary_u81u9_35",
|
|
2655
|
+
"btn-default": "_btn-default_u81u9_43",
|
|
2656
|
+
"btn-large": "_btn-large_u81u9_49",
|
|
2657
|
+
"btn-small": "_btn-small_u81u9_55",
|
|
2658
|
+
"btn-xs": "_btn-xs_u81u9_61",
|
|
2659
|
+
"btn-medium": "_btn-medium_u81u9_67",
|
|
2660
|
+
"btn-11rem": "_btn-11rem_u81u9_75"
|
|
2661
2661
|
};
|
|
2662
2662
|
var jsxRuntime$1 = { exports: {} };
|
|
2663
2663
|
var reactJsxRuntime_production_min = {};
|
|
@@ -4952,39 +4952,39 @@ let xe = "div", ne = S.RenderStrategy, re = C$2(function(e2, s2) {
|
|
|
4952
4952
|
let n2 = useContext(F) !== null, m2 = s() !== null;
|
|
4953
4953
|
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
4954
|
}), 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 selectedList = "
|
|
4980
|
-
const selectedListItem = "
|
|
4981
|
-
const label$7 = "
|
|
4982
|
-
const clientText$1 = "
|
|
4955
|
+
const listBoxButton = "_listBoxButton_kdipy_9";
|
|
4956
|
+
const selectedOptionText = "_selectedOptionText_kdipy_33";
|
|
4957
|
+
const transitionDiv = "_transitionDiv_kdipy_41";
|
|
4958
|
+
const listboxButtonWrapper = "_listboxButtonWrapper_kdipy_49";
|
|
4959
|
+
const arrowicon = "_arrowicon_kdipy_55";
|
|
4960
|
+
const leave$2 = "_leave_kdipy_61";
|
|
4961
|
+
const leaveFrom$2 = "_leaveFrom_kdipy_67";
|
|
4962
|
+
const leaveTo$2 = "_leaveTo_kdipy_73";
|
|
4963
|
+
const notAvailable = "_notAvailable_kdipy_79";
|
|
4964
|
+
const option$1 = "_option_kdipy_85";
|
|
4965
|
+
const activeOption = "_activeOption_kdipy_91";
|
|
4966
|
+
const optionSelected = "_optionSelected_kdipy_97";
|
|
4967
|
+
const inactiveOption = "_inactiveOption_kdipy_103";
|
|
4968
|
+
const optionLabel = "_optionLabel_kdipy_109";
|
|
4969
|
+
const optionSubLabel = "_optionSubLabel_kdipy_115";
|
|
4970
|
+
const selectedLabel = "_selectedLabel_kdipy_121";
|
|
4971
|
+
const nonselectedLabel = "_nonselectedLabel_kdipy_127";
|
|
4972
|
+
const check = "_check_kdipy_133";
|
|
4973
|
+
const checkActive = "_checkActive_kdipy_139";
|
|
4974
|
+
const checkInactive = "_checkInactive_kdipy_145";
|
|
4975
|
+
const checkIcon$1 = "_checkIcon_kdipy_151";
|
|
4976
|
+
const checkIconSelected = "_checkIconSelected_kdipy_157";
|
|
4977
|
+
const checkIconUnselected = "_checkIconUnselected_kdipy_163";
|
|
4978
|
+
const loadMore$1 = "_loadMore_kdipy_169";
|
|
4979
|
+
const selectedList = "_selectedList_kdipy_175";
|
|
4980
|
+
const selectedListItem = "_selectedListItem_kdipy_181";
|
|
4981
|
+
const label$7 = "_label_kdipy_187";
|
|
4982
|
+
const clientText$1 = "_clientText_kdipy_193";
|
|
4983
4983
|
var style = {
|
|
4984
|
-
"listBox-label": "_listBox-
|
|
4985
|
-
"listBoxButton-container": "_listBoxButton-
|
|
4984
|
+
"listBox-label": "_listBox-label_kdipy_1",
|
|
4985
|
+
"listBoxButton-container": "_listBoxButton-container_kdipy_9",
|
|
4986
4986
|
listBoxButton,
|
|
4987
|
-
"listBox-option": "_listBox-
|
|
4987
|
+
"listBox-option": "_listBox-option_kdipy_25",
|
|
4988
4988
|
selectedOptionText,
|
|
4989
4989
|
transitionDiv,
|
|
4990
4990
|
listboxButtonWrapper,
|
|
@@ -5013,22 +5013,22 @@ var style = {
|
|
|
5013
5013
|
label: label$7,
|
|
5014
5014
|
clientText: clientText$1
|
|
5015
5015
|
};
|
|
5016
|
-
const primary$1 = "
|
|
5017
|
-
const secondary = "
|
|
5018
|
-
const tertiary = "
|
|
5016
|
+
const primary$1 = "_primary_1ipyg_1";
|
|
5017
|
+
const secondary = "_secondary_1ipyg_9";
|
|
5018
|
+
const tertiary = "_tertiary_1ipyg_19";
|
|
5019
5019
|
var styles$I = {
|
|
5020
5020
|
primary: primary$1,
|
|
5021
5021
|
secondary,
|
|
5022
5022
|
tertiary,
|
|
5023
|
-
"font-18": "_font-
|
|
5024
|
-
"font-20": "_font-
|
|
5025
|
-
"font-14": "_font-
|
|
5026
|
-
"font-14a": "_font-
|
|
5027
|
-
"font-14b": "_font-
|
|
5028
|
-
"font-14c": "_font-
|
|
5029
|
-
"font-14d": "_font-
|
|
5030
|
-
"font-15": "_font-
|
|
5031
|
-
"font-34": "_font-
|
|
5023
|
+
"font-18": "_font-18_1ipyg_27",
|
|
5024
|
+
"font-20": "_font-20_1ipyg_35",
|
|
5025
|
+
"font-14": "_font-14_1ipyg_43",
|
|
5026
|
+
"font-14a": "_font-14a_1ipyg_51",
|
|
5027
|
+
"font-14b": "_font-14b_1ipyg_59",
|
|
5028
|
+
"font-14c": "_font-14c_1ipyg_67",
|
|
5029
|
+
"font-14d": "_font-14d_1ipyg_75",
|
|
5030
|
+
"font-15": "_font-15_1ipyg_83",
|
|
5031
|
+
"font-34": "_font-34_1ipyg_89"
|
|
5032
5032
|
};
|
|
5033
5033
|
const variants = {
|
|
5034
5034
|
h1: "h1",
|
|
@@ -5056,10 +5056,10 @@ const Text = ({
|
|
|
5056
5056
|
children: children2
|
|
5057
5057
|
});
|
|
5058
5058
|
};
|
|
5059
|
-
const search$1 = "
|
|
5059
|
+
const search$1 = "_search_qirxg_1";
|
|
5060
5060
|
var styles$H = {
|
|
5061
|
-
"searchTab-container": "_searchTab-
|
|
5062
|
-
"searchTab-input": "_searchTab-
|
|
5061
|
+
"searchTab-container": "_searchTab-container_qirxg_1",
|
|
5062
|
+
"searchTab-input": "_searchTab-input_qirxg_9",
|
|
5063
5063
|
search: search$1
|
|
5064
5064
|
};
|
|
5065
5065
|
const iconoirSearch = (props) => /* @__PURE__ */ jsx("svg", {
|
|
@@ -5548,7 +5548,11 @@ const WEEK_DAYS = [
|
|
|
5548
5548
|
{ value: "Sat", label: "Sat" }
|
|
5549
5549
|
];
|
|
5550
5550
|
const TIME_ZONES = [
|
|
5551
|
-
{ value: "
|
|
5551
|
+
{ value: "Asia/Kolkata", label: "IST" },
|
|
5552
|
+
{ value: "America/Los_Angeles", label: "PST" },
|
|
5553
|
+
{ value: "Europe/London", label: "GMT" },
|
|
5554
|
+
{ value: "Australia/Sydney", label: "AEST" },
|
|
5555
|
+
{ value: "America/New_York", label: "EST" }
|
|
5552
5556
|
];
|
|
5553
5557
|
const TIME = [
|
|
5554
5558
|
{ value: "AM", label: "AM" },
|
|
@@ -6837,6 +6841,7 @@ const EmbeddedDashboardMetricsDocument = `
|
|
|
6837
6841
|
selectedGroupBy
|
|
6838
6842
|
isEnableGroupBy
|
|
6839
6843
|
groupBy
|
|
6844
|
+
resizeAttributes
|
|
6840
6845
|
rlsConditions
|
|
6841
6846
|
clickActions
|
|
6842
6847
|
drillDownSettings
|
|
@@ -7276,22 +7281,22 @@ const ExternalMetricForm = ({
|
|
|
7276
7281
|
})]
|
|
7277
7282
|
});
|
|
7278
7283
|
};
|
|
7279
|
-
const container$d = "
|
|
7280
|
-
const wrapper$3 = "
|
|
7281
|
-
const label$3 = "
|
|
7282
|
-
const floatingLabel = "
|
|
7283
|
-
const floatingText = "
|
|
7284
|
-
const clientText = "
|
|
7285
|
-
const normalText = "
|
|
7286
|
-
const dropdown$1 = "
|
|
7287
|
-
const options = "
|
|
7288
|
-
const checkedOption = "
|
|
7289
|
-
const option = "
|
|
7290
|
-
const icon$1 = "
|
|
7291
|
-
const text$2 = "
|
|
7292
|
-
const search = "
|
|
7293
|
-
const loadMore = "
|
|
7294
|
-
const loadMoreIcon = "
|
|
7284
|
+
const container$d = "_container_1n71y_1";
|
|
7285
|
+
const wrapper$3 = "_wrapper_1n71y_9";
|
|
7286
|
+
const label$3 = "_label_1n71y_17";
|
|
7287
|
+
const floatingLabel = "_floatingLabel_1n71y_25";
|
|
7288
|
+
const floatingText = "_floatingText_1n71y_31";
|
|
7289
|
+
const clientText = "_clientText_1n71y_39";
|
|
7290
|
+
const normalText = "_normalText_1n71y_47";
|
|
7291
|
+
const dropdown$1 = "_dropdown_1n71y_55";
|
|
7292
|
+
const options = "_options_1n71y_63";
|
|
7293
|
+
const checkedOption = "_checkedOption_1n71y_71";
|
|
7294
|
+
const option = "_option_1n71y_63";
|
|
7295
|
+
const icon$1 = "_icon_1n71y_87";
|
|
7296
|
+
const text$2 = "_text_1n71y_95";
|
|
7297
|
+
const search = "_search_1n71y_103";
|
|
7298
|
+
const loadMore = "_loadMore_1n71y_111";
|
|
7299
|
+
const loadMoreIcon = "_loadMoreIcon_1n71y_119";
|
|
7295
7300
|
var styles$y = {
|
|
7296
7301
|
container: container$d,
|
|
7297
7302
|
wrapper: wrapper$3,
|
|
@@ -7628,6 +7633,7 @@ const useExternalMetric = ({
|
|
|
7628
7633
|
createdBy: clientId || "external user",
|
|
7629
7634
|
clientId,
|
|
7630
7635
|
isCreatedByClient: !!clientId,
|
|
7636
|
+
resizeAttributes: metric == null ? void 0 : metric.resizeAttributes,
|
|
7631
7637
|
externalDashboardMetrics: {
|
|
7632
7638
|
data: dashboardIds.map((externalDashboardId) => ({
|
|
7633
7639
|
externalDashboardId
|
|
@@ -86755,12 +86761,12 @@ const InfoTooltip = ({
|
|
|
86755
86761
|
});
|
|
86756
86762
|
};
|
|
86757
86763
|
var styles$p = {
|
|
86758
|
-
"header-container": "_header-
|
|
86759
|
-
"btn-container": "_btn-
|
|
86760
|
-
"back-btn": "_back-
|
|
86761
|
-
"sql-btn": "_sql-
|
|
86762
|
-
"save-btn": "_save-
|
|
86763
|
-
"save-btn-icon": "_save-btn-
|
|
86764
|
+
"header-container": "_header-container_1pbz4_1",
|
|
86765
|
+
"btn-container": "_btn-container_1pbz4_9",
|
|
86766
|
+
"back-btn": "_back-btn_1pbz4_17",
|
|
86767
|
+
"sql-btn": "_sql-btn_1pbz4_25",
|
|
86768
|
+
"save-btn": "_save-btn_1pbz4_33",
|
|
86769
|
+
"save-btn-icon": "_save-btn-icon_1pbz4_41"
|
|
86764
86770
|
};
|
|
86765
86771
|
const Header = ({
|
|
86766
86772
|
setShowMetricCreateModal,
|
|
@@ -86813,20 +86819,20 @@ const Header = ({
|
|
|
86813
86819
|
});
|
|
86814
86820
|
};
|
|
86815
86821
|
var styles$o = {
|
|
86816
|
-
"create-btn": "_create-
|
|
86817
|
-
"modal-container": "_modal-
|
|
86818
|
-
"query-modal": "_query-
|
|
86822
|
+
"create-btn": "_create-btn_zxqu9_1",
|
|
86823
|
+
"modal-container": "_modal-container_zxqu9_9",
|
|
86824
|
+
"query-modal": "_query-modal_zxqu9_17"
|
|
86819
86825
|
};
|
|
86820
|
-
const container$7 = "
|
|
86821
|
-
const header$3 = "
|
|
86822
|
-
const wrapper$2 = "
|
|
86823
|
-
const column = "
|
|
86824
|
-
const columnText$1 = "
|
|
86826
|
+
const container$7 = "_container_u2z1d_1";
|
|
86827
|
+
const header$3 = "_header_u2z1d_9";
|
|
86828
|
+
const wrapper$2 = "_wrapper_u2z1d_17";
|
|
86829
|
+
const column = "_column_u2z1d_33";
|
|
86830
|
+
const columnText$1 = "_columnText_u2z1d_41";
|
|
86825
86831
|
var styles$n = {
|
|
86826
86832
|
container: container$7,
|
|
86827
86833
|
header: header$3,
|
|
86828
86834
|
wrapper: wrapper$2,
|
|
86829
|
-
"col-container": "_col-
|
|
86835
|
+
"col-container": "_col-container_u2z1d_25",
|
|
86830
86836
|
column,
|
|
86831
86837
|
columnText: columnText$1
|
|
86832
86838
|
};
|
|
@@ -88244,10 +88250,10 @@ const ChartTab = ({
|
|
|
88244
88250
|
})]
|
|
88245
88251
|
});
|
|
88246
88252
|
};
|
|
88247
|
-
const container$5 = "
|
|
88248
|
-
const wrapper$1 = "
|
|
88249
|
-
const text = "
|
|
88250
|
-
const table$2 = "
|
|
88253
|
+
const container$5 = "_container_wjdaz_1";
|
|
88254
|
+
const wrapper$1 = "_wrapper_wjdaz_9";
|
|
88255
|
+
const text = "_text_wjdaz_17";
|
|
88256
|
+
const table$2 = "_table_wjdaz_23";
|
|
88251
88257
|
var styles$i = {
|
|
88252
88258
|
container: container$5,
|
|
88253
88259
|
wrapper: wrapper$1,
|
|
@@ -88280,16 +88286,16 @@ const InputTables = ({
|
|
|
88280
88286
|
})
|
|
88281
88287
|
});
|
|
88282
88288
|
};
|
|
88283
|
-
const container$4 = "
|
|
88284
|
-
const header$1 = "
|
|
88285
|
-
const tabButton$1 = "
|
|
88286
|
-
const selectedTab = "
|
|
88287
|
-
const table$1 = "
|
|
88289
|
+
const container$4 = "_container_127xg_1";
|
|
88290
|
+
const header$1 = "_header_127xg_9";
|
|
88291
|
+
const tabButton$1 = "_tabButton_127xg_31";
|
|
88292
|
+
const selectedTab = "_selectedTab_127xg_37";
|
|
88293
|
+
const table$1 = "_table_127xg_43";
|
|
88288
88294
|
var styles$h = {
|
|
88289
88295
|
container: container$4,
|
|
88290
88296
|
header: header$1,
|
|
88291
|
-
"text-container": "_text-
|
|
88292
|
-
"btn-container": "_btn-
|
|
88297
|
+
"text-container": "_text-container_127xg_17",
|
|
88298
|
+
"btn-container": "_btn-container_127xg_25",
|
|
88293
88299
|
tabButton: tabButton$1,
|
|
88294
88300
|
selectedTab,
|
|
88295
88301
|
table: table$1
|
|
@@ -88370,18 +88376,18 @@ const TableTab = ({
|
|
|
88370
88376
|
})]
|
|
88371
88377
|
});
|
|
88372
88378
|
};
|
|
88373
|
-
const mainContainerUpdate = "
|
|
88374
|
-
const wrapper = "
|
|
88375
|
-
const updateWrapper = "
|
|
88376
|
-
const updateWrapperContent = "
|
|
88377
|
-
const createWrapperContent = "
|
|
88378
|
-
const searchCommand = "
|
|
88379
|
-
const tabButton = "
|
|
88380
|
-
const tabActive = "
|
|
88379
|
+
const mainContainerUpdate = "_mainContainerUpdate_z1gwh_7";
|
|
88380
|
+
const wrapper = "_wrapper_z1gwh_23";
|
|
88381
|
+
const updateWrapper = "_updateWrapper_z1gwh_29";
|
|
88382
|
+
const updateWrapperContent = "_updateWrapperContent_z1gwh_35";
|
|
88383
|
+
const createWrapperContent = "_createWrapperContent_z1gwh_41";
|
|
88384
|
+
const searchCommand = "_searchCommand_z1gwh_47";
|
|
88385
|
+
const tabButton = "_tabButton_z1gwh_53";
|
|
88386
|
+
const tabActive = "_tabActive_z1gwh_59";
|
|
88381
88387
|
var styles$g = {
|
|
88382
|
-
"main-container": "_main-
|
|
88388
|
+
"main-container": "_main-container_z1gwh_1",
|
|
88383
88389
|
mainContainerUpdate,
|
|
88384
|
-
"outputTab-header": "_outputTab-
|
|
88390
|
+
"outputTab-header": "_outputTab-header_z1gwh_15",
|
|
88385
88391
|
wrapper,
|
|
88386
88392
|
updateWrapper,
|
|
88387
88393
|
updateWrapperContent,
|
|
@@ -88519,30 +88525,30 @@ const MetricOutput = ({
|
|
|
88519
88525
|
})]
|
|
88520
88526
|
});
|
|
88521
88527
|
};
|
|
88522
|
-
const fieldValueIcon = "
|
|
88523
|
-
const fieldAddBtnIcon = "
|
|
88524
|
-
const group = "
|
|
88525
|
-
const tooltipWrapper = "
|
|
88526
|
-
const tooltip = "
|
|
88527
|
-
const dropdown = "
|
|
88528
|
-
const filterDropdown = "
|
|
88529
|
-
const filterValues = "
|
|
88530
|
-
const columnText = "
|
|
88531
|
-
const disabled = "
|
|
88532
|
-
const checkIcon = "
|
|
88533
|
-
const generateButton = "
|
|
88528
|
+
const fieldValueIcon = "_fieldValueIcon_107sf_49";
|
|
88529
|
+
const fieldAddBtnIcon = "_fieldAddBtnIcon_107sf_65";
|
|
88530
|
+
const group = "_group_107sf_1";
|
|
88531
|
+
const tooltipWrapper = "_tooltipWrapper_107sf_89";
|
|
88532
|
+
const tooltip = "_tooltip_107sf_89";
|
|
88533
|
+
const dropdown = "_dropdown_107sf_113";
|
|
88534
|
+
const filterDropdown = "_filterDropdown_107sf_121";
|
|
88535
|
+
const filterValues = "_filterValues_107sf_129";
|
|
88536
|
+
const columnText = "_columnText_107sf_137";
|
|
88537
|
+
const disabled = "_disabled_107sf_145";
|
|
88538
|
+
const checkIcon = "_checkIcon_107sf_153";
|
|
88539
|
+
const generateButton = "_generateButton_107sf_161";
|
|
88534
88540
|
var styles$f = {
|
|
88535
|
-
"form-container": "_form-
|
|
88536
|
-
"field-container": "_field-
|
|
88537
|
-
"field-label": "_field-
|
|
88538
|
-
"field-wrapper": "_field-
|
|
88539
|
-
"field-inner-container": "_field-inner-
|
|
88540
|
-
"field-value": "_field-
|
|
88541
|
+
"form-container": "_form-container_107sf_1",
|
|
88542
|
+
"field-container": "_field-container_107sf_9",
|
|
88543
|
+
"field-label": "_field-label_107sf_17",
|
|
88544
|
+
"field-wrapper": "_field-wrapper_107sf_25",
|
|
88545
|
+
"field-inner-container": "_field-inner-container_107sf_33",
|
|
88546
|
+
"field-value": "_field-value_107sf_41",
|
|
88541
88547
|
fieldValueIcon,
|
|
88542
|
-
"field-add-btn": "_field-add-
|
|
88548
|
+
"field-add-btn": "_field-add-btn_107sf_57",
|
|
88543
88549
|
fieldAddBtnIcon,
|
|
88544
|
-
"field-value-container": "_field-value-
|
|
88545
|
-
"field-prompt": "_field-
|
|
88550
|
+
"field-value-container": "_field-value-container_107sf_73",
|
|
88551
|
+
"field-prompt": "_field-prompt_107sf_81",
|
|
88546
88552
|
group,
|
|
88547
88553
|
tooltipWrapper,
|
|
88548
88554
|
tooltip,
|
|
@@ -88553,12 +88559,12 @@ var styles$f = {
|
|
|
88553
88559
|
disabled,
|
|
88554
88560
|
checkIcon,
|
|
88555
88561
|
generateButton,
|
|
88556
|
-
"saved-container": "_saved-
|
|
88557
|
-
"custom-container": "_custom-
|
|
88558
|
-
"simple-container": "_simple-
|
|
88559
|
-
"filter-dropdown": "_filter-
|
|
88560
|
-
"editor-field": "_editor-
|
|
88561
|
-
"tab-border": "_tab-
|
|
88562
|
+
"saved-container": "_saved-container_107sf_169",
|
|
88563
|
+
"custom-container": "_custom-container_107sf_177",
|
|
88564
|
+
"simple-container": "_simple-container_107sf_185",
|
|
88565
|
+
"filter-dropdown": "_filter-dropdown_107sf_193",
|
|
88566
|
+
"editor-field": "_editor-field_107sf_201",
|
|
88567
|
+
"tab-border": "_tab-border_107sf_209"
|
|
88562
88568
|
};
|
|
88563
88569
|
const button$1 = "_button_18a2n_1";
|
|
88564
88570
|
const menu$1 = "_menu_18a2n_7";
|
|
@@ -116663,10 +116669,10 @@ const MetricForm = ({
|
|
|
116663
116669
|
})]
|
|
116664
116670
|
});
|
|
116665
116671
|
};
|
|
116666
|
-
const container$2 = "
|
|
116667
|
-
const header = "
|
|
116668
|
-
const enableGroupBy = "
|
|
116669
|
-
const enableGroupButton = "
|
|
116672
|
+
const container$2 = "_container_1v000_1";
|
|
116673
|
+
const header = "_header_1v000_9";
|
|
116674
|
+
const enableGroupBy = "_enableGroupBy_1v000_15";
|
|
116675
|
+
const enableGroupButton = "_enableGroupButton_1v000_21";
|
|
116670
116676
|
var styles$d = {
|
|
116671
116677
|
container: container$2,
|
|
116672
116678
|
header,
|
|
@@ -121774,8 +121780,8 @@ const ChartImageDownloadButton = ({
|
|
|
121774
121780
|
}), text2]
|
|
121775
121781
|
});
|
|
121776
121782
|
};
|
|
121777
|
-
const metricFilter = "
|
|
121778
|
-
const customContainer = "
|
|
121783
|
+
const metricFilter = "_metricFilter_1xge8_1";
|
|
121784
|
+
const customContainer = "_customContainer_1xge8_7";
|
|
121779
121785
|
var styles$9 = {
|
|
121780
121786
|
metricFilter,
|
|
121781
121787
|
customContainer
|
|
@@ -121882,24 +121888,24 @@ const MetricFilterDropDown = ({
|
|
|
121882
121888
|
}) : void 0
|
|
121883
121889
|
});
|
|
121884
121890
|
};
|
|
121885
|
-
const container$1 = "
|
|
121886
|
-
const popover = "
|
|
121887
|
-
const button = "
|
|
121888
|
-
const buttonOpen = "
|
|
121889
|
-
const menu = "
|
|
121890
|
-
const enter = "
|
|
121891
|
-
const enterFrom = "
|
|
121892
|
-
const enterTo = "
|
|
121893
|
-
const leave = "
|
|
121894
|
-
const leaveFrom = "
|
|
121895
|
-
const leaveTo = "
|
|
121896
|
-
const center = "
|
|
121897
|
-
const top = "
|
|
121898
|
-
const bottom = "
|
|
121899
|
-
const left = "
|
|
121900
|
-
const right = "
|
|
121901
|
-
const chartOptionBtn = "
|
|
121902
|
-
const chartpopup = "
|
|
121891
|
+
const container$1 = "_container_a6fvx_1";
|
|
121892
|
+
const popover = "_popover_a6fvx_9";
|
|
121893
|
+
const button = "_button_a6fvx_17";
|
|
121894
|
+
const buttonOpen = "_buttonOpen_a6fvx_25";
|
|
121895
|
+
const menu = "_menu_a6fvx_33";
|
|
121896
|
+
const enter = "_enter_a6fvx_41";
|
|
121897
|
+
const enterFrom = "_enterFrom_a6fvx_49";
|
|
121898
|
+
const enterTo = "_enterTo_a6fvx_57";
|
|
121899
|
+
const leave = "_leave_a6fvx_65";
|
|
121900
|
+
const leaveFrom = "_leaveFrom_a6fvx_73";
|
|
121901
|
+
const leaveTo = "_leaveTo_a6fvx_81";
|
|
121902
|
+
const center = "_center_a6fvx_89";
|
|
121903
|
+
const top = "_top_a6fvx_97";
|
|
121904
|
+
const bottom = "_bottom_a6fvx_105";
|
|
121905
|
+
const left = "_left_a6fvx_113";
|
|
121906
|
+
const right = "_right_a6fvx_121";
|
|
121907
|
+
const chartOptionBtn = "_chartOptionBtn_a6fvx_225";
|
|
121908
|
+
const chartpopup = "_chartpopup_a6fvx_233";
|
|
121903
121909
|
var styles$8 = {
|
|
121904
121910
|
container: container$1,
|
|
121905
121911
|
popover,
|
|
@@ -121917,23 +121923,23 @@ var styles$8 = {
|
|
|
121917
121923
|
bottom,
|
|
121918
121924
|
left,
|
|
121919
121925
|
right,
|
|
121920
|
-
"left-top-end": "_left-top-
|
|
121921
|
-
"right-top-end": "_right-top-
|
|
121922
|
-
"left-bottom-end": "_left-bottom-
|
|
121923
|
-
"right-bottom-end": "_right-bottom-
|
|
121924
|
-
"top-left": "_top-
|
|
121925
|
-
"top-right": "_top-
|
|
121926
|
-
"bottom-left": "_bottom-
|
|
121927
|
-
"bottom-right": "_bottom-
|
|
121928
|
-
"left-top": "_left-
|
|
121929
|
-
"left-bottom": "_left-
|
|
121930
|
-
"right-top": "_right-
|
|
121931
|
-
"right-bottom": "_right-
|
|
121926
|
+
"left-top-end": "_left-top-end_a6fvx_129",
|
|
121927
|
+
"right-top-end": "_right-top-end_a6fvx_137",
|
|
121928
|
+
"left-bottom-end": "_left-bottom-end_a6fvx_145",
|
|
121929
|
+
"right-bottom-end": "_right-bottom-end_a6fvx_153",
|
|
121930
|
+
"top-left": "_top-left_a6fvx_161",
|
|
121931
|
+
"top-right": "_top-right_a6fvx_169",
|
|
121932
|
+
"bottom-left": "_bottom-left_a6fvx_177",
|
|
121933
|
+
"bottom-right": "_bottom-right_a6fvx_185",
|
|
121934
|
+
"left-top": "_left-top_a6fvx_129",
|
|
121935
|
+
"left-bottom": "_left-bottom_a6fvx_145",
|
|
121936
|
+
"right-top": "_right-top_a6fvx_137",
|
|
121937
|
+
"right-bottom": "_right-bottom_a6fvx_153",
|
|
121932
121938
|
chartOptionBtn,
|
|
121933
121939
|
chartpopup
|
|
121934
121940
|
};
|
|
121935
|
-
const fullscreen = "
|
|
121936
|
-
const loading = "
|
|
121941
|
+
const fullscreen = "_fullscreen_19jec_1";
|
|
121942
|
+
const loading = "_loading_19jec_9";
|
|
121937
121943
|
var styles$7 = {
|
|
121938
121944
|
fullscreen,
|
|
121939
121945
|
loading
|
|
@@ -122215,8 +122221,8 @@ const asEmail = {
|
|
|
122215
122221
|
}
|
|
122216
122222
|
});
|
|
122217
122223
|
var styles$6 = {
|
|
122218
|
-
"dbc-container": "_dbc-
|
|
122219
|
-
"active-dimension": "_active-
|
|
122224
|
+
"dbc-container": "_dbc-container_nmp4f_1",
|
|
122225
|
+
"active-dimension": "_active-dimension_nmp4f_9"
|
|
122220
122226
|
};
|
|
122221
122227
|
const DrillBreadCrumb = ({
|
|
122222
122228
|
dimensions,
|
|
@@ -123230,10 +123236,10 @@ const ExternalMetricList = ({
|
|
|
123230
123236
|
const cardLayout = layout3.find((card) => card.i === metric.id);
|
|
123231
123237
|
return {
|
|
123232
123238
|
i: (cardLayout == null ? void 0 : cardLayout.i) || metric.id,
|
|
123233
|
-
w: (cardLayout == null ? void 0 : cardLayout.w) || 5,
|
|
123234
|
-
h: (cardLayout == null ? void 0 : cardLayout.h) || 10,
|
|
123235
|
-
x: (cardLayout == null ? void 0 : cardLayout.x) || 0,
|
|
123236
|
-
y: (cardLayout == null ? void 0 : cardLayout.y) || 0,
|
|
123239
|
+
w: (cardLayout == null ? void 0 : cardLayout.w) || metric.resizeAttributes.x || 5,
|
|
123240
|
+
h: (cardLayout == null ? void 0 : cardLayout.h) || metric.resizeAttributes.h || 10,
|
|
123241
|
+
x: (cardLayout == null ? void 0 : cardLayout.x) || metric.resizeAttributes.x || 0,
|
|
123242
|
+
y: (cardLayout == null ? void 0 : cardLayout.y) || metric.resizeAttributes.y || 0,
|
|
123237
123243
|
minW: 3,
|
|
123238
123244
|
minH: 6,
|
|
123239
123245
|
maxH: 15
|
|
@@ -123522,33 +123528,33 @@ const mdiPlus = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
123522
123528
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z"
|
|
123523
123529
|
})
|
|
123524
123530
|
});
|
|
123525
|
-
const scheduleEmailButton = "
|
|
123531
|
+
const scheduleEmailButton = "_scheduleEmailButton_101bq_1";
|
|
123526
123532
|
var styles$2 = {
|
|
123527
123533
|
scheduleEmailButton
|
|
123528
123534
|
};
|
|
123529
123535
|
var styles$1 = {
|
|
123530
|
-
"form-container": "_form-
|
|
123531
|
-
"form-wrapper": "_form-
|
|
123532
|
-
"form-primary-text": "_form-primary-
|
|
123533
|
-
"week-days-container": "_week-days-
|
|
123534
|
-
"main-label": "_main-
|
|
123535
|
-
"time-element": "_time-
|
|
123536
|
-
"cancel-btn": "_cancel-
|
|
123537
|
-
"delete-btn": "_delete-
|
|
123538
|
-
"field-width": "_field-
|
|
123539
|
-
"timezone-field": "_timezone-
|
|
123540
|
-
"success-text": "_success-
|
|
123536
|
+
"form-container": "_form-container_63pgj_1",
|
|
123537
|
+
"form-wrapper": "_form-wrapper_63pgj_7",
|
|
123538
|
+
"form-primary-text": "_form-primary-text_63pgj_15",
|
|
123539
|
+
"week-days-container": "_week-days-container_63pgj_23",
|
|
123540
|
+
"main-label": "_main-label_63pgj_29",
|
|
123541
|
+
"time-element": "_time-element_63pgj_37",
|
|
123542
|
+
"cancel-btn": "_cancel-btn_63pgj_45",
|
|
123543
|
+
"delete-btn": "_delete-btn_63pgj_51",
|
|
123544
|
+
"field-width": "_field-width_63pgj_57",
|
|
123545
|
+
"timezone-field": "_timezone-field_63pgj_65",
|
|
123546
|
+
"success-text": "_success-text_63pgj_73"
|
|
123541
123547
|
};
|
|
123542
|
-
const tag = "
|
|
123543
|
-
const tagBtn = "
|
|
123544
|
-
const inputFieldContainer = "
|
|
123548
|
+
const tag = "_tag_akdrv_1";
|
|
123549
|
+
const tagBtn = "_tagBtn_akdrv_13";
|
|
123550
|
+
const inputFieldContainer = "_inputFieldContainer_akdrv_21";
|
|
123545
123551
|
var styles = {
|
|
123546
123552
|
tag,
|
|
123547
|
-
"tag-text": "_tag-
|
|
123553
|
+
"tag-text": "_tag-text_akdrv_7",
|
|
123548
123554
|
tagBtn,
|
|
123549
123555
|
inputFieldContainer,
|
|
123550
|
-
"tag-container": "_tag-
|
|
123551
|
-
"cross-icon": "_cross-
|
|
123556
|
+
"tag-container": "_tag-container_akdrv_29",
|
|
123557
|
+
"cross-icon": "_cross-icon_akdrv_37"
|
|
123552
123558
|
};
|
|
123553
123559
|
const TagInputField = ({
|
|
123554
123560
|
control,
|
|
@@ -123721,7 +123727,7 @@ const useScheduleEmail = ({ onCancel }) => {
|
|
|
123721
123727
|
});
|
|
123722
123728
|
} else {
|
|
123723
123729
|
setValue("time", "PM");
|
|
123724
|
-
setValue("timezone", "
|
|
123730
|
+
setValue("timezone", "Asia/Kolkata");
|
|
123725
123731
|
setValue("frequency", "Monthly");
|
|
123726
123732
|
}
|
|
123727
123733
|
}, [scheduleReportConfig]);
|
|
@@ -124198,9 +124204,9 @@ const EmbeddedDashboard = React__default.memo(({
|
|
|
124198
124204
|
isLiveMode: data.isLiveMode,
|
|
124199
124205
|
externalDashboardId: data.externalDashboardId,
|
|
124200
124206
|
externalDashboardPk: data.externalDashboard.id,
|
|
124201
|
-
isAllowedToDeleteMetrics:
|
|
124202
|
-
isAllowedToUpdateMetrics:
|
|
124203
|
-
isAllowedToChangeLayout:
|
|
124207
|
+
isAllowedToDeleteMetrics: !(options2 == null ? void 0 : options2.disableMetricDeletion) && data.isAllowedToDeleteMetrics,
|
|
124208
|
+
isAllowedToUpdateMetrics: !(options2 == null ? void 0 : options2.disableMetricUpdation) && data.isAllowedToUpdateMetrics,
|
|
124209
|
+
isAllowedToChangeLayout: !(options2 == null ? void 0 : options2.disableLayoutCustomization) && data.isAllowedToChangeLayout,
|
|
124204
124210
|
externalDashboardMetrics: data.externalDashboardMetrics,
|
|
124205
124211
|
companyId: data.companyId,
|
|
124206
124212
|
isMetricListLoading: isLoading,
|