@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/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-primary_17kvk_1",
2651
- "btn-secondary": "_btn-secondary_17kvk_5",
2652
- "btn-reject": "_btn-reject_17kvk_9",
2653
- "btn-outlined": "_btn-outlined_17kvk_14",
2654
- "btn-tertiary": "_btn-tertiary_17kvk_18",
2655
- "btn-default": "_btn-default_17kvk_22",
2656
- "btn-large": "_btn-large_17kvk_25",
2657
- "btn-small": "_btn-small_17kvk_28",
2658
- "btn-xs": "_btn-xs_17kvk_31",
2659
- "btn-medium": "_btn-medium_17kvk_34",
2660
- "btn-11rem": "_btn-11rem_17kvk_38"
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 = "_listBoxButton_fw8xj_5";
4956
- const selectedOptionText = "_selectedOptionText_fw8xj_17";
4957
- const transitionDiv = "_transitionDiv_fw8xj_21";
4958
- const listboxButtonWrapper = "_listboxButtonWrapper_fw8xj_25";
4959
- const arrowicon = "_arrowicon_fw8xj_28";
4960
- const leave$2 = "_leave_fw8xj_31";
4961
- const leaveFrom$2 = "_leaveFrom_fw8xj_34";
4962
- const leaveTo$2 = "_leaveTo_fw8xj_37";
4963
- const notAvailable = "_notAvailable_fw8xj_40";
4964
- const option$1 = "_option_fw8xj_43";
4965
- const activeOption = "_activeOption_fw8xj_46";
4966
- const optionSelected = "_optionSelected_fw8xj_49";
4967
- const inactiveOption = "_inactiveOption_fw8xj_52";
4968
- const optionLabel = "_optionLabel_fw8xj_55";
4969
- const optionSubLabel = "_optionSubLabel_fw8xj_58";
4970
- const selectedLabel = "_selectedLabel_fw8xj_61";
4971
- const nonselectedLabel = "_nonselectedLabel_fw8xj_64";
4972
- const check = "_check_fw8xj_67";
4973
- const checkActive = "_checkActive_fw8xj_70";
4974
- const checkInactive = "_checkInactive_fw8xj_73";
4975
- const checkIcon$1 = "_checkIcon_fw8xj_76";
4976
- const checkIconSelected = "_checkIconSelected_fw8xj_79";
4977
- const checkIconUnselected = "_checkIconUnselected_fw8xj_82";
4978
- const loadMore$1 = "_loadMore_fw8xj_85";
4979
- const selectedList = "_selectedList_fw8xj_88";
4980
- const selectedListItem = "_selectedListItem_fw8xj_91";
4981
- const label$7 = "_label_fw8xj_94";
4982
- const clientText$1 = "_clientText_fw8xj_97";
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-label_fw8xj_1",
4985
- "listBoxButton-container": "_listBoxButton-container_fw8xj_5",
4984
+ "listBox-label": "_listBox-label_kdipy_1",
4985
+ "listBoxButton-container": "_listBoxButton-container_kdipy_9",
4986
4986
  listBoxButton,
4987
- "listBox-option": "_listBox-option_fw8xj_13",
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 = "_primary_18yak_1";
5017
- const secondary = "_secondary_18yak_5";
5018
- const tertiary = "_tertiary_18yak_10";
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-18_18yak_14",
5024
- "font-20": "_font-20_18yak_18",
5025
- "font-14": "_font-14_18yak_22",
5026
- "font-14a": "_font-14a_18yak_26",
5027
- "font-14b": "_font-14b_18yak_30",
5028
- "font-14c": "_font-14c_18yak_34",
5029
- "font-14d": "_font-14d_18yak_38",
5030
- "font-15": "_font-15_18yak_42",
5031
- "font-34": "_font-34_18yak_45"
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 = "_search_1klck_1";
5059
+ const search$1 = "_search_qirxg_1";
5060
5060
  var styles$H = {
5061
- "searchTab-container": "_searchTab-container_1klck_1",
5062
- "searchTab-input": "_searchTab-input_1klck_5",
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: "IST", label: "IST" }
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 = "_container_1tj8t_1";
7280
- const wrapper$3 = "_wrapper_1tj8t_5";
7281
- const label$3 = "_label_1tj8t_9";
7282
- const floatingLabel = "_floatingLabel_1tj8t_13";
7283
- const floatingText = "_floatingText_1tj8t_16";
7284
- const clientText = "_clientText_1tj8t_20";
7285
- const normalText = "_normalText_1tj8t_24";
7286
- const dropdown$1 = "_dropdown_1tj8t_28";
7287
- const options = "_options_1tj8t_32";
7288
- const checkedOption = "_checkedOption_1tj8t_36";
7289
- const option = "_option_1tj8t_32";
7290
- const icon$1 = "_icon_1tj8t_44";
7291
- const text$2 = "_text_1tj8t_48";
7292
- const search = "_search_1tj8t_52";
7293
- const loadMore = "_loadMore_1tj8t_56";
7294
- const loadMoreIcon = "_loadMoreIcon_1tj8t_60";
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-container_t2r6v_1",
86759
- "btn-container": "_btn-container_t2r6v_5",
86760
- "back-btn": "_back-btn_t2r6v_9",
86761
- "sql-btn": "_sql-btn_t2r6v_13",
86762
- "save-btn": "_save-btn_t2r6v_17",
86763
- "save-btn-icon": "_save-btn-icon_t2r6v_21"
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-btn_ihjk8_1",
86817
- "modal-container": "_modal-container_ihjk8_5",
86818
- "query-modal": "_query-modal_ihjk8_9"
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 = "_container_1q2ss_1";
86821
- const header$3 = "_header_1q2ss_5";
86822
- const wrapper$2 = "_wrapper_1q2ss_9";
86823
- const column = "_column_1q2ss_17";
86824
- const columnText$1 = "_columnText_1q2ss_21";
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-container_1q2ss_13",
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 = "_container_yjeiv_1";
88248
- const wrapper$1 = "_wrapper_yjeiv_5";
88249
- const text = "_text_yjeiv_9";
88250
- const table$2 = "_table_yjeiv_12";
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 = "_container_38zl3_1";
88284
- const header$1 = "_header_38zl3_5";
88285
- const tabButton$1 = "_tabButton_38zl3_16";
88286
- const selectedTab = "_selectedTab_38zl3_19";
88287
- const table$1 = "_table_38zl3_22";
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-container_38zl3_9",
88292
- "btn-container": "_btn-container_38zl3_13",
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 = "_mainContainerUpdate_70jy1_4";
88374
- const wrapper = "_wrapper_70jy1_12";
88375
- const updateWrapper = "_updateWrapper_70jy1_15";
88376
- const updateWrapperContent = "_updateWrapperContent_70jy1_18";
88377
- const createWrapperContent = "_createWrapperContent_70jy1_21";
88378
- const searchCommand = "_searchCommand_70jy1_24";
88379
- const tabButton = "_tabButton_70jy1_27";
88380
- const tabActive = "_tabActive_70jy1_30";
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-container_70jy1_1",
88388
+ "main-container": "_main-container_z1gwh_1",
88383
88389
  mainContainerUpdate,
88384
- "outputTab-header": "_outputTab-header_70jy1_8",
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 = "_fieldValueIcon_14dsc_25";
88523
- const fieldAddBtnIcon = "_fieldAddBtnIcon_14dsc_33";
88524
- const group = "_group_14dsc_1";
88525
- const tooltipWrapper = "_tooltipWrapper_14dsc_45";
88526
- const tooltip = "_tooltip_14dsc_45";
88527
- const dropdown = "_dropdown_14dsc_57";
88528
- const filterDropdown = "_filterDropdown_14dsc_61";
88529
- const filterValues = "_filterValues_14dsc_65";
88530
- const columnText = "_columnText_14dsc_69";
88531
- const disabled = "_disabled_14dsc_73";
88532
- const checkIcon = "_checkIcon_14dsc_77";
88533
- const generateButton = "_generateButton_14dsc_81";
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-container_14dsc_1",
88536
- "field-container": "_field-container_14dsc_5",
88537
- "field-label": "_field-label_14dsc_9",
88538
- "field-wrapper": "_field-wrapper_14dsc_13",
88539
- "field-inner-container": "_field-inner-container_14dsc_17",
88540
- "field-value": "_field-value_14dsc_21",
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-btn_14dsc_29",
88548
+ "field-add-btn": "_field-add-btn_107sf_57",
88543
88549
  fieldAddBtnIcon,
88544
- "field-value-container": "_field-value-container_14dsc_37",
88545
- "field-prompt": "_field-prompt_14dsc_41",
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-container_14dsc_85",
88557
- "custom-container": "_custom-container_14dsc_89",
88558
- "simple-container": "_simple-container_14dsc_93",
88559
- "filter-dropdown": "_filter-dropdown_14dsc_97",
88560
- "editor-field": "_editor-field_14dsc_101",
88561
- "tab-border": "_tab-border_14dsc_105"
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 = "_container_rofqe_1";
116667
- const header = "_header_rofqe_5";
116668
- const enableGroupBy = "_enableGroupBy_rofqe_8";
116669
- const enableGroupButton = "_enableGroupButton_rofqe_11";
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 = "_metricFilter_k2gef_1";
121778
- const customContainer = "_customContainer_k2gef_4";
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 = "_container_14i90_1";
121886
- const popover = "_popover_14i90_5";
121887
- const button = "_button_14i90_9";
121888
- const buttonOpen = "_buttonOpen_14i90_13";
121889
- const menu = "_menu_14i90_17";
121890
- const enter = "_enter_14i90_21";
121891
- const enterFrom = "_enterFrom_14i90_25";
121892
- const enterTo = "_enterTo_14i90_29";
121893
- const leave = "_leave_14i90_33";
121894
- const leaveFrom = "_leaveFrom_14i90_37";
121895
- const leaveTo = "_leaveTo_14i90_41";
121896
- const center = "_center_14i90_45";
121897
- const top = "_top_14i90_49";
121898
- const bottom = "_bottom_14i90_53";
121899
- const left = "_left_14i90_57";
121900
- const right = "_right_14i90_61";
121901
- const chartOptionBtn = "_chartOptionBtn_14i90_113";
121902
- const chartpopup = "_chartpopup_14i90_117";
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-end_14i90_65",
121921
- "right-top-end": "_right-top-end_14i90_69",
121922
- "left-bottom-end": "_left-bottom-end_14i90_73",
121923
- "right-bottom-end": "_right-bottom-end_14i90_77",
121924
- "top-left": "_top-left_14i90_81",
121925
- "top-right": "_top-right_14i90_85",
121926
- "bottom-left": "_bottom-left_14i90_89",
121927
- "bottom-right": "_bottom-right_14i90_93",
121928
- "left-top": "_left-top_14i90_65",
121929
- "left-bottom": "_left-bottom_14i90_73",
121930
- "right-top": "_right-top_14i90_69",
121931
- "right-bottom": "_right-bottom_14i90_77",
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 = "_fullscreen_1gpy3_1";
121936
- const loading = "_loading_1gpy3_5";
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-container_1dw7c_1",
122219
- "active-dimension": "_active-dimension_1dw7c_5"
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 = "_scheduleEmailButton_13nzt_1";
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-container_1odg5_1",
123531
- "form-wrapper": "_form-wrapper_1odg5_4",
123532
- "form-primary-text": "_form-primary-text_1odg5_8",
123533
- "week-days-container": "_week-days-container_1odg5_12",
123534
- "main-label": "_main-label_1odg5_15",
123535
- "time-element": "_time-element_1odg5_19",
123536
- "cancel-btn": "_cancel-btn_1odg5_23",
123537
- "delete-btn": "_delete-btn_1odg5_26",
123538
- "field-width": "_field-width_1odg5_29",
123539
- "timezone-field": "_timezone-field_1odg5_33",
123540
- "success-text": "_success-text_1odg5_37"
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 = "_tag_qld84_1";
123543
- const tagBtn = "_tagBtn_qld84_7";
123544
- const inputFieldContainer = "_inputFieldContainer_qld84_11";
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-text_qld84_4",
123553
+ "tag-text": "_tag-text_akdrv_7",
123548
123554
  tagBtn,
123549
123555
  inputFieldContainer,
123550
- "tag-container": "_tag-container_qld84_15",
123551
- "cross-icon": "_cross-icon_qld84_19"
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", "IST");
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: data.isAllowedToDeleteMetrics || !(options2 == null ? void 0 : options2.disableMetricDeletion),
124202
- isAllowedToUpdateMetrics: data.isAllowedToUpdateMetrics || !(options2 == null ? void 0 : options2.disableMetricUpdation),
124203
- isAllowedToChangeLayout: data.isAllowedToChangeLayout || !(options2 == null ? void 0 : options2.disableLayoutCustomization),
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,