sag_components 2.0.0-beta24 → 2.0.0-beta25

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.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import React$1, { useRef, useDebugValue, createElement, useContext, useState, useEffect } from 'react';
1
+ import React, { useRef, useDebugValue, createElement, useContext, useState, useEffect } from 'react';
2
2
  import { ResponsiveContainer, PieChart as PieChart$1, Pie, Cell, Tooltip as Tooltip$2, BarChart as BarChart$1, CartesianGrid, XAxis, YAxis, Bar, LabelList, ReferenceLine, Brush } from 'recharts';
3
3
  import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
4
4
  import { motion, AnimatePresence } from 'framer-motion';
@@ -2561,7 +2561,7 @@ function Fe(e) {
2561
2561
  }
2562
2562
  var Me = new ke(),
2563
2563
  ze = Fe(),
2564
- $e = /*#__PURE__*/React$1.createContext({
2564
+ $e = /*#__PURE__*/React.createContext({
2565
2565
  shouldForwardProp: void 0,
2566
2566
  styleSheet: Me,
2567
2567
  stylis: ze
@@ -2662,7 +2662,7 @@ var Ke = z(v),
2662
2662
  return r;
2663
2663
  }, e;
2664
2664
  }(),
2665
- et = /*#__PURE__*/React$1.createContext(void 0);
2665
+ et = /*#__PURE__*/React.createContext(void 0);
2666
2666
  et.Consumer;
2667
2667
  var ot = {},
2668
2668
  st = new Set();
@@ -2704,7 +2704,7 @@ function it(e, o, s) {
2704
2704
  p = e.foldedComponentIds,
2705
2705
  d = e.styledComponentId,
2706
2706
  h = e.target,
2707
- f = React$1.useContext(et),
2707
+ f = React.useContext(et),
2708
2708
  m = Ge(),
2709
2709
  y = e.shouldForwardProp || m.shouldForwardProp;
2710
2710
  "production" !== process.env.NODE_ENV && useDebugValue(d);
@@ -2733,7 +2733,7 @@ function it(e, o, s) {
2733
2733
  }(D, e, o);
2734
2734
  }
2735
2735
  O.displayName = y;
2736
- var D = /*#__PURE__*/React$1.forwardRef(O);
2736
+ var D = /*#__PURE__*/React.forwardRef(O);
2737
2737
  return D.attrs = S, D.componentStyle = N, D.displayName = y, D.shouldForwardProp = w, D.foldedComponentIds = i ? ie(a.foldedComponentIds, a.styledComponentId) : "", D.styledComponentId = g, D.target = i ? a.target : e, Object.defineProperty(D, "defaultProps", {
2738
2738
  get: function () {
2739
2739
  return this._foldedDefaultProps;
@@ -3176,89 +3176,89 @@ const Button = _ref => {
3176
3176
  const color = disabled ? newDisabledTextColor : newEnabledTextColor;
3177
3177
  switch (icon.toLowerCase()) {
3178
3178
  case 'arrow':
3179
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3179
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3180
3180
  className: "ArrowRightIcon"
3181
- }, /*#__PURE__*/React$1.createElement(ButtonArrowRight, {
3181
+ }, /*#__PURE__*/React.createElement(ButtonArrowRight, {
3182
3182
  height: iconHeight,
3183
3183
  width: iconWidth,
3184
3184
  color: color
3185
3185
  }));
3186
3186
  case 'filter':
3187
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3187
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3188
3188
  className: "FilterIcon"
3189
- }, /*#__PURE__*/React$1.createElement(FilterIcon, {
3189
+ }, /*#__PURE__*/React.createElement(FilterIcon, {
3190
3190
  height: "150px",
3191
3191
  width: iconWidth,
3192
3192
  color: color
3193
3193
  }));
3194
3194
  case 'options':
3195
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3195
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3196
3196
  className: "OptionsIcon"
3197
- }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
3197
+ }, /*#__PURE__*/React.createElement(OptionsIcon, {
3198
3198
  height: iconHeight,
3199
3199
  width: iconWidth,
3200
3200
  color: color
3201
3201
  }));
3202
3202
  case 'download':
3203
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3203
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3204
3204
  className: "DownloadIcon"
3205
- }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
3205
+ }, /*#__PURE__*/React.createElement(DownloadIcon, {
3206
3206
  height: iconHeight,
3207
3207
  width: iconWidth,
3208
3208
  color: color
3209
3209
  }));
3210
3210
  case 'document':
3211
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3211
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3212
3212
  className: "DocumentIcon"
3213
- }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
3213
+ }, /*#__PURE__*/React.createElement(DocumentIcon, {
3214
3214
  height: iconHeight,
3215
3215
  width: iconWidth,
3216
3216
  color: color
3217
3217
  }));
3218
3218
  case 'fly':
3219
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3219
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3220
3220
  className: "FlyIcon"
3221
- }, /*#__PURE__*/React$1.createElement(FlyIcon, {
3221
+ }, /*#__PURE__*/React.createElement(FlyIcon, {
3222
3222
  height: iconHeight,
3223
3223
  width: iconWidth,
3224
3224
  color: color
3225
3225
  }));
3226
3226
  case 'bell':
3227
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3227
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3228
3228
  className: "BellIcon"
3229
- }, /*#__PURE__*/React$1.createElement(BellIcon, {
3229
+ }, /*#__PURE__*/React.createElement(BellIcon, {
3230
3230
  height: iconHeight,
3231
3231
  width: iconWidth,
3232
3232
  color: color
3233
3233
  }));
3234
3234
  case 'maintenance':
3235
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3235
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3236
3236
  className: "MaintenanceIcon"
3237
- }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
3237
+ }, /*#__PURE__*/React.createElement(MaintenanceIcon, {
3238
3238
  height: iconHeight,
3239
3239
  width: iconWidth,
3240
3240
  color: color
3241
3241
  }));
3242
3242
  case 'exit':
3243
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3243
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3244
3244
  className: "ExitIcon"
3245
- }, /*#__PURE__*/React$1.createElement(ExitIcon, {
3245
+ }, /*#__PURE__*/React.createElement(ExitIcon, {
3246
3246
  height: iconHeight,
3247
3247
  width: iconWidth,
3248
3248
  color: color
3249
3249
  }));
3250
3250
  case 'eye':
3251
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3251
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3252
3252
  className: "EyeIcon"
3253
- }, /*#__PURE__*/React$1.createElement(EyeIcon, {
3253
+ }, /*#__PURE__*/React.createElement(EyeIcon, {
3254
3254
  height: iconHeight,
3255
3255
  width: iconWidth,
3256
3256
  color: color
3257
3257
  }));
3258
3258
  case 'reselect':
3259
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
3259
+ return /*#__PURE__*/React.createElement(IconWrapper$1, {
3260
3260
  className: "ReselectIcon"
3261
- }, /*#__PURE__*/React$1.createElement(ReselectIcon, {
3261
+ }, /*#__PURE__*/React.createElement(ReselectIcon, {
3262
3262
  height: iconHeight,
3263
3263
  width: iconWidth,
3264
3264
  color: color
@@ -3275,11 +3275,11 @@ const Button = _ref => {
3275
3275
  if (!rightIcon || rightIcon === 'none') return '';
3276
3276
  return getIcon(rightIcon);
3277
3277
  };
3278
- return /*#__PURE__*/React$1.createElement(ButtonContainer, {
3278
+ return /*#__PURE__*/React.createElement(ButtonContainer, {
3279
3279
  className: "ButtonContainer",
3280
3280
  width: width || null,
3281
3281
  height: height || (size === 'small' ? '33px' : '45px')
3282
- }, isSubmitButton ? /*#__PURE__*/React$1.createElement(InputCommit, {
3282
+ }, isSubmitButton ? /*#__PURE__*/React.createElement(InputCommit, {
3283
3283
  className: clicked ? 'InputCommit-clicked' : 'InputCommit',
3284
3284
  value: text,
3285
3285
  type: "submit",
@@ -3297,7 +3297,7 @@ const Button = _ref => {
3297
3297
  disabled_border_color: disabledBorderColor || '#E3E4E5',
3298
3298
  padding: size === 'small' ? '0 16px' : '0 20px',
3299
3299
  onClick: !disabled ? handleSubmitButtonOnClick : null
3300
- }) : /*#__PURE__*/React$1.createElement(ButtonItem, {
3300
+ }) : /*#__PURE__*/React.createElement(ButtonItem, {
3301
3301
  className: clicked ? 'ButtonItem-clicked' : 'ButtonItem',
3302
3302
  onMouseEnter: () => setHover(true),
3303
3303
  onMouseLeave: () => setHover(false),
@@ -3315,7 +3315,7 @@ const Button = _ref => {
3315
3315
  disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
3316
3316
  disabled_border_color: disabledBorderColor || '#E3E4E5',
3317
3317
  padding: size === 'small' ? '0 16px' : '0 20px'
3318
- }, getLeftIcon(), /*#__PURE__*/React$1.createElement(Label$6, {
3318
+ }, getLeftIcon(), /*#__PURE__*/React.createElement(Label$6, {
3319
3319
  className: "Label",
3320
3320
  disabled: disabled
3321
3321
  }, text), getRightIcon()));
@@ -3555,13 +3555,13 @@ const NoDataFoundMessage = props => {
3555
3555
  const {
3556
3556
  noDataText
3557
3557
  } = props;
3558
- return /*#__PURE__*/React$1.createElement(NoDataFoundContainer, {
3558
+ return /*#__PURE__*/React.createElement(NoDataFoundContainer, {
3559
3559
  id: "NoDataFoundContainer"
3560
- }, /*#__PURE__*/React$1.createElement(NoDataFoundIcon, {
3560
+ }, /*#__PURE__*/React.createElement(NoDataFoundIcon, {
3561
3561
  id: "NoDataFoundIcon"
3562
- }), /*#__PURE__*/React$1.createElement(NoDataFoundTitle, {
3562
+ }), /*#__PURE__*/React.createElement(NoDataFoundTitle, {
3563
3563
  id: "NoDataFoundTitle"
3564
- }, "No Data"), /*#__PURE__*/React$1.createElement(NoDataFoundText, {
3564
+ }, "No Data"), /*#__PURE__*/React.createElement(NoDataFoundText, {
3565
3565
  id: "NoDataFoundText"
3566
3566
  }, noDataText));
3567
3567
  };
@@ -3888,10 +3888,10 @@ const Tooltip$1 = props => {
3888
3888
  clearInterval(timeout);
3889
3889
  setActive(false);
3890
3890
  };
3891
- return /*#__PURE__*/React$1.createElement(TooltipContainer$2, null, /*#__PURE__*/React$1.createElement(TooltipWrapper$2, {
3891
+ return /*#__PURE__*/React.createElement(TooltipContainer$2, null, /*#__PURE__*/React.createElement(TooltipWrapper$2, {
3892
3892
  onMouseEnter: showTip,
3893
3893
  onMouseLeave: hideTip
3894
- }, children, active && /*#__PURE__*/React$1.createElement(TooltipTip$1, {
3894
+ }, children, active && /*#__PURE__*/React.createElement(TooltipTip$1, {
3895
3895
  className: `controls ${direction || 'top'}`,
3896
3896
  topFactor: topFactor
3897
3897
  }, content)));
@@ -4040,6 +4040,7 @@ Benchmark.defaultProps = {
4040
4040
  tooltipDirection: 'bottom'
4041
4041
  };
4042
4042
 
4043
+ /* eslint-disable no-shadow */
4043
4044
  const PieChart = props => {
4044
4045
  const {
4045
4046
  className,
@@ -4522,35 +4523,35 @@ const BannersDropdown = props => {
4522
4523
  const formatedBanners = banners?.map(banner => {
4523
4524
  if (banner.name === 'StopAndShop') {
4524
4525
  return {
4525
- icon: /*#__PURE__*/React$1.createElement(StopAndShopNewIcon, null),
4526
+ icon: /*#__PURE__*/React.createElement(StopAndShopNewIcon, null),
4526
4527
  name: 'Stop&Shop',
4527
4528
  checked: banner.checked
4528
4529
  };
4529
4530
  }
4530
4531
  if (banner.name === 'FoodLion') {
4531
4532
  return {
4532
- icon: /*#__PURE__*/React$1.createElement(FoodLionNewIcon, null),
4533
+ icon: /*#__PURE__*/React.createElement(FoodLionNewIcon, null),
4533
4534
  name: 'Food lion',
4534
4535
  checked: banner.checked
4535
4536
  };
4536
4537
  }
4537
4538
  if (banner.name === 'GiantFood') {
4538
4539
  return {
4539
- icon: /*#__PURE__*/React$1.createElement(GiantFoodNewIcon, null),
4540
+ icon: /*#__PURE__*/React.createElement(GiantFoodNewIcon, null),
4540
4541
  name: 'Giant Food',
4541
4542
  checked: banner.checked
4542
4543
  };
4543
4544
  }
4544
4545
  if (banner.name === 'TheGiantCompany') {
4545
4546
  return {
4546
- icon: /*#__PURE__*/React$1.createElement(TheGiantCompanyIcon$1, null),
4547
+ icon: /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null),
4547
4548
  name: 'The Giant Company',
4548
4549
  checked: banner.checked
4549
4550
  };
4550
4551
  }
4551
4552
  if (banner.name === 'Hannaford') {
4552
4553
  return {
4553
- icon: /*#__PURE__*/React$1.createElement(HannafordNewIcon, null),
4554
+ icon: /*#__PURE__*/React.createElement(HannafordNewIcon, null),
4554
4555
  name: 'Hannaford',
4555
4556
  checked: banner.checked
4556
4557
  };
@@ -4578,22 +4579,22 @@ const BannersDropdown = props => {
4578
4579
  setBannerButtonArrow('#757575');
4579
4580
  }
4580
4581
  }, [processedBanners]);
4581
- return /*#__PURE__*/React$1.createElement(MainContainer$6, null, /*#__PURE__*/React$1.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React$1.createElement(ToggleBanners, {
4582
+ return /*#__PURE__*/React.createElement(MainContainer$6, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
4582
4583
  className: bannerButtonText === 'Partial' ? 'partial' : '',
4583
4584
  onClick: () => setToggled(!toggled)
4584
- }, /*#__PURE__*/React$1.createElement("span", null, bannerButtonText), /*#__PURE__*/React$1.createElement(ArrowWrap, {
4585
+ }, /*#__PURE__*/React.createElement("span", null, bannerButtonText), /*#__PURE__*/React.createElement(ArrowWrap, {
4585
4586
  className: toggled ? 'opened' : 'closed'
4586
- }, /*#__PURE__*/React$1.createElement(ComboBoxArrowUpIcon, {
4587
+ }, /*#__PURE__*/React.createElement(ComboBoxArrowUpIcon, {
4587
4588
  color: bannerButtonArrow
4588
- }))), toggled && /*#__PURE__*/React$1.createElement(ToggledDropdown, null, /*#__PURE__*/React$1.createElement(ToggledDropdownTitle, null, "Participating Banners"), /*#__PURE__*/React$1.createElement(ToggledDropdownList, null, processedBanners.map((banner, index) =>
4589
+ }))), toggled && /*#__PURE__*/React.createElement(ToggledDropdown, null, /*#__PURE__*/React.createElement(ToggledDropdownTitle, null, "Participating Banners"), /*#__PURE__*/React.createElement(ToggledDropdownList, null, processedBanners.map((banner, index) =>
4589
4590
  /*#__PURE__*/
4590
4591
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
4591
- React$1.createElement("li", {
4592
+ React.createElement("li", {
4592
4593
  // eslint-disable-next-line react/no-array-index-key
4593
4594
  key: index,
4594
4595
  className: !banner.checked ? 'unchecked' : '',
4595
4596
  onClick: () => choosenBanners(index)
4596
- }, /*#__PURE__*/React$1.createElement(IconWrap, null, banner.icon), "|", /*#__PURE__*/React$1.createElement("span", null, banner.name)))))));
4597
+ }, /*#__PURE__*/React.createElement(IconWrap, null, banner.icon), "|", /*#__PURE__*/React.createElement("span", null, banner.name)))))));
4597
4598
  };
4598
4599
  BannersDropdown.propTypes = {
4599
4600
  banners: PropTypes.arrayOf(propTypesExports.string),
@@ -4732,19 +4733,18 @@ const InfoIcon = _ref => {
4732
4733
  }));
4733
4734
  };
4734
4735
 
4735
- const LinkButton = _ref => {
4736
- let {
4737
- text = '',
4738
- type = 'primary',
4739
- size = 'small',
4740
- height = '',
4741
- width = '',
4742
- disabled = false,
4743
- textColor = '',
4744
- onClick,
4745
- leftIcon = 'none',
4746
- rightIcon = 'none'
4747
- } = _ref;
4736
+ const LinkButton = ({
4737
+ text = '',
4738
+ type = 'primary',
4739
+ size = 'small',
4740
+ height = '',
4741
+ width = '',
4742
+ disabled = false,
4743
+ textColor = '',
4744
+ onClick,
4745
+ leftIcon = 'none',
4746
+ rightIcon = 'none'
4747
+ }) => {
4748
4748
  // const {
4749
4749
  // text,
4750
4750
  // type,
@@ -4774,105 +4774,105 @@ const LinkButton = _ref => {
4774
4774
  const color = disabled ? '#B1B1B1' : newTextColor;
4775
4775
  switch (icon.toLowerCase()) {
4776
4776
  case 'filter':
4777
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4777
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4778
4778
  className: "FilterIcon"
4779
- }, /*#__PURE__*/React$1.createElement(FilterIcon, {
4779
+ }, /*#__PURE__*/React.createElement(FilterIcon, {
4780
4780
  height: iconHeight,
4781
4781
  width: iconWidth,
4782
4782
  color: color
4783
4783
  }));
4784
4784
  case 'options':
4785
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4785
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4786
4786
  className: "OptionsIcon"
4787
- }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
4787
+ }, /*#__PURE__*/React.createElement(OptionsIcon, {
4788
4788
  height: iconHeight,
4789
4789
  width: iconWidth,
4790
4790
  color: color
4791
4791
  }));
4792
4792
  case 'download':
4793
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4793
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4794
4794
  className: "DownloadIcon"
4795
- }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
4795
+ }, /*#__PURE__*/React.createElement(DownloadIcon, {
4796
4796
  height: iconHeight,
4797
4797
  width: iconWidth,
4798
4798
  color: color
4799
4799
  }));
4800
4800
  case 'document':
4801
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4801
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4802
4802
  className: "DocumentIcon"
4803
- }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
4803
+ }, /*#__PURE__*/React.createElement(DocumentIcon, {
4804
4804
  height: iconHeight,
4805
4805
  width: iconWidth,
4806
4806
  color: color
4807
4807
  }));
4808
4808
  case 'fly':
4809
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4809
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4810
4810
  className: "FlyIcon"
4811
- }, /*#__PURE__*/React$1.createElement(FlyIcon, {
4811
+ }, /*#__PURE__*/React.createElement(FlyIcon, {
4812
4812
  height: iconHeight,
4813
4813
  width: iconWidth,
4814
4814
  color: color
4815
4815
  }));
4816
4816
  case 'bell':
4817
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4817
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4818
4818
  className: "BellIcon"
4819
- }, /*#__PURE__*/React$1.createElement(BellIcon, {
4819
+ }, /*#__PURE__*/React.createElement(BellIcon, {
4820
4820
  height: iconHeight,
4821
4821
  width: iconWidth,
4822
4822
  color: color
4823
4823
  }));
4824
4824
  case 'maintenance':
4825
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4825
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4826
4826
  className: "MaintenanceIcon"
4827
- }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
4827
+ }, /*#__PURE__*/React.createElement(MaintenanceIcon, {
4828
4828
  height: iconHeight,
4829
4829
  width: iconWidth,
4830
4830
  color: color
4831
4831
  }));
4832
4832
  case 'exit':
4833
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4833
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4834
4834
  className: "ExitIcon"
4835
- }, /*#__PURE__*/React$1.createElement(ExitIcon, {
4835
+ }, /*#__PURE__*/React.createElement(ExitIcon, {
4836
4836
  height: iconHeight,
4837
4837
  width: iconWidth,
4838
4838
  color: color
4839
4839
  }));
4840
4840
  case 'eye':
4841
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4841
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4842
4842
  className: "EyeIcon"
4843
- }, /*#__PURE__*/React$1.createElement(EyeIcon, {
4843
+ }, /*#__PURE__*/React.createElement(EyeIcon, {
4844
4844
  height: iconHeight,
4845
4845
  width: iconWidth,
4846
4846
  color: color
4847
4847
  }));
4848
4848
  case 'arrowdown':
4849
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4849
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4850
4850
  className: "ArrowDownIcon"
4851
- }, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
4851
+ }, /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
4852
4852
  height: iconHeight,
4853
4853
  width: iconWidth,
4854
4854
  color: color
4855
4855
  }));
4856
4856
  case 'arrowright':
4857
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4857
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4858
4858
  className: "ArrowRightIcon"
4859
- }, /*#__PURE__*/React$1.createElement(MenuItemRightIcon, {
4859
+ }, /*#__PURE__*/React.createElement(MenuItemRightIcon, {
4860
4860
  height: iconHeight,
4861
4861
  width: iconWidth,
4862
4862
  color: color
4863
4863
  }));
4864
4864
  case 'select':
4865
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4865
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4866
4866
  className: "SelectRightIcon"
4867
- }, /*#__PURE__*/React$1.createElement(ArrowSelectIcon, {
4867
+ }, /*#__PURE__*/React.createElement(ArrowSelectIcon, {
4868
4868
  height: "16px",
4869
4869
  width: "16px",
4870
4870
  color: color
4871
4871
  }));
4872
4872
  case 'info':
4873
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
4873
+ return /*#__PURE__*/React.createElement(IconWrapper, {
4874
4874
  className: "InfoIcon"
4875
- }, /*#__PURE__*/React$1.createElement(InfoIcon, {
4875
+ }, /*#__PURE__*/React.createElement(InfoIcon, {
4876
4876
  height: iconHeight,
4877
4877
  width: iconWidth,
4878
4878
  color: color
@@ -4889,11 +4889,11 @@ const LinkButton = _ref => {
4889
4889
  if (!rightIcon || rightIcon === 'none') return '';
4890
4890
  return getIcon(rightIcon);
4891
4891
  };
4892
- return /*#__PURE__*/React$1.createElement(LinkButtonContainer, {
4892
+ return /*#__PURE__*/React.createElement(LinkButtonContainer, {
4893
4893
  className: "LinkButtonContainer",
4894
4894
  width: width || null,
4895
4895
  height: height || '20px'
4896
- }, /*#__PURE__*/React$1.createElement(LinkButtonItem, {
4896
+ }, /*#__PURE__*/React.createElement(LinkButtonItem, {
4897
4897
  className: clicked ? 'LinkButtonItem-clicked' : 'LinkButtonItem',
4898
4898
  onClick: !disabled ? handleLinkButtonClick : null,
4899
4899
  width: width || null,
@@ -4901,7 +4901,7 @@ const LinkButton = _ref => {
4901
4901
  disabled: disabled,
4902
4902
  text_color: textColor || (type === 'secondary' ? '#212121' : '#229E38'),
4903
4903
  font_size: size === 'small' ? '14px' : '16px'
4904
- }, getLeftIcon(), /*#__PURE__*/React$1.createElement(Label$5, {
4904
+ }, getLeftIcon(), /*#__PURE__*/React.createElement(Label$5, {
4905
4905
  className: "Label",
4906
4906
  disabled: disabled,
4907
4907
  font_size: size === 'small' ? '14px' : '16px'
@@ -4956,35 +4956,35 @@ const EventDetailsCard = props => {
4956
4956
  const formatedBanners = banners.map(banner => {
4957
4957
  if (banner === 'StopAndShop') {
4958
4958
  return {
4959
- icon: /*#__PURE__*/React$1.createElement(StopAndShopNewIcon, null),
4959
+ icon: /*#__PURE__*/React.createElement(StopAndShopNewIcon, null),
4960
4960
  name: 'Stop&Shop',
4961
4961
  checked: true
4962
4962
  };
4963
4963
  }
4964
4964
  if (banner === 'FoodLion') {
4965
4965
  return {
4966
- icon: /*#__PURE__*/React$1.createElement(FoodLionNewIcon, null),
4966
+ icon: /*#__PURE__*/React.createElement(FoodLionNewIcon, null),
4967
4967
  name: 'Food lion',
4968
4968
  checked: false
4969
4969
  };
4970
4970
  }
4971
4971
  if (banner === 'GiantFood') {
4972
4972
  return {
4973
- icon: /*#__PURE__*/React$1.createElement(GiantFoodNewIcon, null),
4973
+ icon: /*#__PURE__*/React.createElement(GiantFoodNewIcon, null),
4974
4974
  name: 'Giant Food',
4975
4975
  checked: true
4976
4976
  };
4977
4977
  }
4978
4978
  if (banner === 'TheGiantCompany') {
4979
4979
  return {
4980
- icon: /*#__PURE__*/React$1.createElement(TheGiantCompanyIcon$1, null),
4980
+ icon: /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null),
4981
4981
  name: 'The Giant Company',
4982
4982
  checked: true
4983
4983
  };
4984
4984
  }
4985
4985
  if (banner === 'Hannaford') {
4986
4986
  return {
4987
- icon: /*#__PURE__*/React$1.createElement(HannafordNewIcon, null),
4987
+ icon: /*#__PURE__*/React.createElement(HannafordNewIcon, null),
4988
4988
  name: 'Hannaford',
4989
4989
  checked: false
4990
4990
  };
@@ -4996,11 +4996,11 @@ const EventDetailsCard = props => {
4996
4996
  const viewButtonClick = e => {
4997
4997
  onViewButtonClick(e);
4998
4998
  };
4999
- return /*#__PURE__*/React$1.createElement(MainContainer$7, {
4999
+ return /*#__PURE__*/React.createElement(MainContainer$7, {
5000
5000
  className: className,
5001
5001
  height: height,
5002
5002
  width: width
5003
- }, /*#__PURE__*/React$1.createElement(TitleWrapper$1, null, /*#__PURE__*/React$1.createElement(CardTitle$1, null, title), displayBannersDropdown && /*#__PURE__*/React$1.createElement(BannersDropdown, {
5003
+ }, /*#__PURE__*/React.createElement(TitleWrapper$1, null, /*#__PURE__*/React.createElement(CardTitle$1, null, title), displayBannersDropdown && /*#__PURE__*/React.createElement(BannersDropdown, {
5004
5004
  banners: [{
5005
5005
  checked: true,
5006
5006
  name: 'StopAndShop'
@@ -5022,9 +5022,9 @@ const EventDetailsCard = props => {
5022
5022
  banners
5023
5023
  });
5024
5024
  }
5025
- })), /*#__PURE__*/React$1.createElement(MainCard, null, /*#__PURE__*/React$1.createElement(List, null, count > 0 && /*#__PURE__*/React$1.createElement("li", null, count, ' ', "products in variety"), data.map((item, index) => /*#__PURE__*/React$1.createElement("li", {
5025
+ })), /*#__PURE__*/React.createElement(MainCard, null, /*#__PURE__*/React.createElement(List, null, count > 0 && /*#__PURE__*/React.createElement("li", null, count, ' ', "products in variety"), data.map((item, index) => /*#__PURE__*/React.createElement("li", {
5026
5026
  key: index
5027
- }, /*#__PURE__*/React$1.createElement("span", null, item.label, ":"), ' ', item.value))), /*#__PURE__*/React$1.createElement(LinkButtonContainer$1, null, /*#__PURE__*/React$1.createElement(LinkButton, {
5027
+ }, /*#__PURE__*/React.createElement("span", null, item.label, ":"), ' ', item.value))), /*#__PURE__*/React.createElement(LinkButtonContainer$1, null, /*#__PURE__*/React.createElement(LinkButton, {
5028
5028
  text: buttonText,
5029
5029
  rightIcon: "select",
5030
5030
  size: "small",
@@ -5145,20 +5145,20 @@ const LinnerDataBox = props => {
5145
5145
  className,
5146
5146
  customDataFormat
5147
5147
  } = props;
5148
- return /*#__PURE__*/React$1.createElement(LinnerContainer$1, {
5148
+ return /*#__PURE__*/React.createElement(LinnerContainer$1, {
5149
5149
  className: className,
5150
5150
  backgroundColor: backgroundColor,
5151
5151
  width: width || "100%",
5152
5152
  height: height || "200px",
5153
5153
  customDataFormat: customDataFormat
5154
- }, data.map((item, index) => /*#__PURE__*/React$1.createElement(DataBoxWrap, {
5154
+ }, data.map((item, index) => /*#__PURE__*/React.createElement(DataBoxWrap, {
5155
5155
  key: `${item.title}`,
5156
5156
  width: `${100 / data.length}%`
5157
- }, /*#__PURE__*/React$1.createElement(DataBox$1, null, item.title && /*#__PURE__*/React$1.createElement(DataBoxTitle$1, {
5157
+ }, /*#__PURE__*/React.createElement(DataBox$1, null, item.title && /*#__PURE__*/React.createElement(DataBoxTitle$1, {
5158
5158
  className: "DataBoxTitle"
5159
- }, item.title), /*#__PURE__*/React$1.createElement(DataBoxContent, null, item.value !== null && item.value !== undefined && !isNaN(item.value) && item.value !== "null" && item.value !== "undefined" ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.sign && /*#__PURE__*/React$1.createElement(DataBoxContentSign, null, item.sign), customDataFormat ? /*#__PURE__*/React$1.createElement(DataBoxContentValue, {
5159
+ }, item.title), /*#__PURE__*/React.createElement(DataBoxContent, null, item.value !== null && item.value !== undefined && !isNaN(item.value) && item.value !== "null" && item.value !== "undefined" ? /*#__PURE__*/React.createElement(React.Fragment, null, item.sign && /*#__PURE__*/React.createElement(DataBoxContentSign, null, item.sign), customDataFormat ? /*#__PURE__*/React.createElement(DataBoxContentValue, {
5160
5160
  className: "DataBoxValue"
5161
- }, "".concat(formattedValue(item.value), getFormattedUnits(item.value))) : /*#__PURE__*/React$1.createElement(DataBoxContentValue, null, "".concat(getFormattedValue(item.value), getFormattedUnits(item.value)))) : /*#__PURE__*/React$1.createElement(DataBoxContentNoValue, null, "No Data")), item.extraInfo.map(extraInfoItem => /*#__PURE__*/React$1.createElement(DataBoxExtraInfoCell, null, extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React$1.createElement(DataBoxExtraInfoCellValue, null, "".concat("$", getFormattedValue(extraInfoItem.value), getFormattedUnits(extraInfoItem.value))), extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React$1.createElement(DataBoxExtraInfoCellTitle, null, extraInfoItem.title)))), index < data.length - 1 && /*#__PURE__*/React$1.createElement("div", {
5161
+ }, "".concat(formattedValue(item.value), getFormattedUnits(item.value))) : /*#__PURE__*/React.createElement(DataBoxContentValue, null, "".concat(getFormattedValue(item.value), getFormattedUnits(item.value)))) : /*#__PURE__*/React.createElement(DataBoxContentNoValue, null, "No Data")), item.extraInfo.map(extraInfoItem => /*#__PURE__*/React.createElement(DataBoxExtraInfoCell, null, extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React.createElement(DataBoxExtraInfoCellValue, null, "".concat("$", getFormattedValue(extraInfoItem.value), getFormattedUnits(extraInfoItem.value))), extraInfoItem.value !== null && extraInfoItem.value !== undefined && /*#__PURE__*/React.createElement(DataBoxExtraInfoCellTitle, null, extraInfoItem.title)))), index < data.length - 1 && /*#__PURE__*/React.createElement("div", {
5162
5162
  className: "vertival-line",
5163
5163
  style: {
5164
5164
  width: "1px",
@@ -5451,74 +5451,74 @@ const MarketShareDescription = props => {
5451
5451
  dotCut
5452
5452
  } = props;
5453
5453
  const displayField = dataItem => {
5454
- const content = /*#__PURE__*/React$1.createElement(FieldTitleAndValueSubContainer, {
5454
+ const content = /*#__PURE__*/React.createElement(FieldTitleAndValueSubContainer, {
5455
5455
  className: "FieldTitleAndValueSubContainer"
5456
- }, /*#__PURE__*/React$1.createElement(FieldTitle, {
5456
+ }, /*#__PURE__*/React.createElement(FieldTitle, {
5457
5457
  className: "FieldTitle"
5458
- }, dataItem.label), /*#__PURE__*/React$1.createElement(FormattedValue$3, {
5458
+ }, dataItem.label), /*#__PURE__*/React.createElement(FormattedValue$3, {
5459
5459
  className: "FormattedValue"
5460
- }, /*#__PURE__*/React$1.createElement(TextBeforeAndAfterValue$1, {
5460
+ }, /*#__PURE__*/React.createElement(TextBeforeAndAfterValue$1, {
5461
5461
  className: "TextBeforeAndAfterValue"
5462
- }, dataItem.textBefore), dotCut ? getFormattedValue(dataItem.value && Math.abs(dataItem.value) > 0 && dataItem.value % 1 !== 0 ? dataItem.value?.toFixed(2) : dataItem.value) : getNumberWithCommas(dataItem.value), dotCut ? getFormattedUnits(dataItem.value) : '', /*#__PURE__*/React$1.createElement(TextBeforeAndAfterValue$1, null, dataItem.textAfter)));
5462
+ }, dataItem.textBefore), dotCut ? getFormattedValue(dataItem.value && Math.abs(dataItem.value) > 0 && dataItem.value % 1 !== 0 ? dataItem.value?.toFixed(2) : dataItem.value) : getNumberWithCommas(dataItem.value), dotCut ? getFormattedUnits(dataItem.value) : '', /*#__PURE__*/React.createElement(TextBeforeAndAfterValue$1, null, dataItem.textAfter)));
5463
5463
  return content;
5464
5464
  };
5465
5465
  const dispalyRowFields = data => {
5466
5466
  if (!data && !data.length > 0) return '';
5467
- const content = /*#__PURE__*/React$1.createElement(FieldsContainer$1, {
5467
+ const content = /*#__PURE__*/React.createElement(FieldsContainer$1, {
5468
5468
  className: "FieldsContainer",
5469
5469
  height: "160px"
5470
- }, data?.map((item, index) => /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(OneFieldsContainer, {
5470
+ }, data?.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OneFieldsContainer, {
5471
5471
  className: "OneFieldsContainer",
5472
5472
  padding: index === 0 ? '0px' : '0 0 0 40px'
5473
- }, displayField(item)), data?.length !== index + 1 ? /*#__PURE__*/React$1.createElement(ColumnLineSeporatorContainer, {
5473
+ }, displayField(item)), data?.length !== index + 1 ? /*#__PURE__*/React.createElement(ColumnLineSeporatorContainer, {
5474
5474
  className: "ColumnLineSeporatorContainer_vertical"
5475
- }, /*#__PURE__*/React$1.createElement(ColumnLineSeporator, {
5475
+ }, /*#__PURE__*/React.createElement(ColumnLineSeporator, {
5476
5476
  className: "ColumnLineSeporator"
5477
5477
  })) : '')));
5478
5478
  return content;
5479
5479
  };
5480
5480
  const displayRows = () => {
5481
5481
  if (!marketShareData || marketShareData?.length === 0) return '';
5482
- const content = /*#__PURE__*/React$1.createElement(AllRowsContainer, {
5482
+ const content = /*#__PURE__*/React.createElement(AllRowsContainer, {
5483
5483
  className: "AllRowsContainer"
5484
- }, marketShareData.map((item, index) => /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(OneRowContainer, {
5484
+ }, marketShareData.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OneRowContainer, {
5485
5485
  className: "OneRowContainer"
5486
- }, /*#__PURE__*/React$1.createElement(RowTitle, {
5486
+ }, /*#__PURE__*/React.createElement(RowTitle, {
5487
5487
  className: "RowTitle"
5488
- }, /*#__PURE__*/React$1.createElement(InfoTextLabel$1, {
5488
+ }, /*#__PURE__*/React.createElement(InfoTextLabel$1, {
5489
5489
  className: "InfoTextLabel",
5490
5490
  dangerouslySetInnerHTML: {
5491
5491
  __html: item.rowTitle
5492
5492
  }
5493
- }), item.showBanner && /*#__PURE__*/React$1.createElement(OutBanner$2, {
5493
+ }), item.showBanner && /*#__PURE__*/React.createElement(OutBanner$2, {
5494
5494
  className: "OutBanner",
5495
5495
  onClick: () => onBannerClick({
5496
5496
  eventName: 'onBannerClick',
5497
5497
  rowName: item.name
5498
5498
  })
5499
- }, /*#__PURE__*/React$1.createElement(ExportIcon, {
5499
+ }, /*#__PURE__*/React.createElement(ExportIcon, {
5500
5500
  color: "#212121"
5501
- }), "View By Banner")), dispalyRowFields(item.fieldsArray), /*#__PURE__*/React$1.createElement(InfoTextContainer$1, {
5501
+ }), "View By Banner")), dispalyRowFields(item.fieldsArray), /*#__PURE__*/React.createElement(InfoTextContainer$1, {
5502
5502
  className: "InfoTextContainer"
5503
- }, item.rowFooter && item.rowFooter?.length > 0 ? /*#__PURE__*/React$1.createElement(IconContainer$5, {
5503
+ }, item.rowFooter && item.rowFooter?.length > 0 ? /*#__PURE__*/React.createElement(IconContainer$5, {
5504
5504
  className: "IconContainer"
5505
- }, /*#__PURE__*/React$1.createElement(LampIcon, {
5505
+ }, /*#__PURE__*/React.createElement(LampIcon, {
5506
5506
  width: "23px",
5507
5507
  height: "19px",
5508
5508
  fill: iconColor
5509
- })) : '', /*#__PURE__*/React$1.createElement(InfoTextLabel$1, {
5509
+ })) : '', /*#__PURE__*/React.createElement(InfoTextLabel$1, {
5510
5510
  className: "InfoTextLabel",
5511
5511
  dangerouslySetInnerHTML: {
5512
5512
  __html: item.rowFooter
5513
5513
  }
5514
- }))), marketShareData?.length !== index + 1 ? /*#__PURE__*/React$1.createElement(ColumnLineSeporatorContainer, {
5514
+ }))), marketShareData?.length !== index + 1 ? /*#__PURE__*/React.createElement(ColumnLineSeporatorContainer, {
5515
5515
  className: "ColumnLineSeporatorContainer_horizontal"
5516
- }, /*#__PURE__*/React$1.createElement(ColumnLineSeporator, {
5516
+ }, /*#__PURE__*/React.createElement(ColumnLineSeporator, {
5517
5517
  className: "ColumnLineSeporator"
5518
5518
  })) : '')));
5519
5519
  return content;
5520
5520
  };
5521
- return /*#__PURE__*/React$1.createElement(MainContainer$5, {
5521
+ return /*#__PURE__*/React.createElement(MainContainer$5, {
5522
5522
  className: "MainContainer",
5523
5523
  height: height,
5524
5524
  width: width
@@ -5591,68 +5591,68 @@ const SagIconButton = props => {
5591
5591
  const getIcon = icon => {
5592
5592
  switch (icon.toLowerCase()) {
5593
5593
  case 'filter':
5594
- return /*#__PURE__*/React$1.createElement(FilterIcon, {
5594
+ return /*#__PURE__*/React.createElement(FilterIcon, {
5595
5595
  height: iconHeight,
5596
5596
  width: iconWidth,
5597
5597
  color: activeState ? activeColor : color
5598
5598
  });
5599
5599
  case 'options':
5600
- return /*#__PURE__*/React$1.createElement(OptionsIcon, {
5600
+ return /*#__PURE__*/React.createElement(OptionsIcon, {
5601
5601
  height: iconHeight,
5602
5602
  width: iconWidth,
5603
5603
  color: activeState ? activeColor : color
5604
5604
  });
5605
5605
  case 'download':
5606
- return /*#__PURE__*/React$1.createElement(DownloadIcon, {
5606
+ return /*#__PURE__*/React.createElement(DownloadIcon, {
5607
5607
  height: iconHeight,
5608
5608
  width: iconWidth,
5609
5609
  color: activeState ? activeColor : color
5610
5610
  });
5611
5611
  case 'document':
5612
- return /*#__PURE__*/React$1.createElement(DocumentIcon, {
5612
+ return /*#__PURE__*/React.createElement(DocumentIcon, {
5613
5613
  height: iconHeight,
5614
5614
  width: iconWidth,
5615
5615
  color: activeState ? activeColor : color
5616
5616
  });
5617
5617
  case 'fly':
5618
- return /*#__PURE__*/React$1.createElement(FlyIcon, {
5618
+ return /*#__PURE__*/React.createElement(FlyIcon, {
5619
5619
  height: iconHeight,
5620
5620
  width: iconWidth,
5621
5621
  color: activeState ? activeColor : color
5622
5622
  });
5623
5623
  case 'bell':
5624
- return /*#__PURE__*/React$1.createElement(BellIcon, {
5624
+ return /*#__PURE__*/React.createElement(BellIcon, {
5625
5625
  height: iconHeight,
5626
5626
  width: iconWidth,
5627
5627
  color: activeState ? activeColor : color
5628
5628
  });
5629
5629
  case 'maintenance':
5630
- return /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
5630
+ return /*#__PURE__*/React.createElement(MaintenanceIcon, {
5631
5631
  height: iconHeight,
5632
5632
  width: iconWidth,
5633
5633
  color: activeState ? activeColor : color
5634
5634
  });
5635
5635
  case 'exit':
5636
- return /*#__PURE__*/React$1.createElement(ExitIcon, {
5636
+ return /*#__PURE__*/React.createElement(ExitIcon, {
5637
5637
  height: iconHeight,
5638
5638
  width: iconWidth,
5639
5639
  color: activeState ? activeColor : color
5640
5640
  });
5641
5641
  case 'eye':
5642
- return /*#__PURE__*/React$1.createElement(EyeIcon, {
5642
+ return /*#__PURE__*/React.createElement(EyeIcon, {
5643
5643
  height: iconHeight,
5644
5644
  width: iconWidth,
5645
5645
  color: activeState ? activeColor : color
5646
5646
  });
5647
5647
  default:
5648
- return /*#__PURE__*/React$1.createElement(EyeIcon, {
5648
+ return /*#__PURE__*/React.createElement(EyeIcon, {
5649
5649
  height: iconHeight,
5650
5650
  width: iconWidth,
5651
5651
  color: activeState ? activeColor : color
5652
5652
  });
5653
5653
  }
5654
5654
  };
5655
- return /*#__PURE__*/React$1.createElement(SagIconButtonWrapper, {
5655
+ return /*#__PURE__*/React.createElement(SagIconButtonWrapper, {
5656
5656
  className: className,
5657
5657
  height: height,
5658
5658
  color: activeState ? activeColor : color,
@@ -5661,7 +5661,7 @@ const SagIconButton = props => {
5661
5661
  onClick: event => {
5662
5662
  onClickHandler(event);
5663
5663
  }
5664
- }, getIcon(iconName), buttonText && /*#__PURE__*/React$1.createElement(SpanText$1, null, buttonText));
5664
+ }, getIcon(iconName), buttonText && /*#__PURE__*/React.createElement(SpanText$1, null, buttonText));
5665
5665
  };
5666
5666
  SagIconButton.propTypes = {
5667
5667
  className: PropTypes.string,
@@ -5749,15 +5749,15 @@ const SearchInput = props => {
5749
5749
  const handleInputChange = e => {
5750
5750
  onTyping(e);
5751
5751
  };
5752
- return /*#__PURE__*/React$1.createElement(TextFieldContainer, {
5752
+ return /*#__PURE__*/React.createElement(TextFieldContainer, {
5753
5753
  className: className,
5754
5754
  width: width
5755
- }, /*#__PURE__*/React$1.createElement(TextFieldInput, {
5755
+ }, /*#__PURE__*/React.createElement(TextFieldInput, {
5756
5756
  type: "search",
5757
5757
  height: height,
5758
5758
  placeholder: placeholder,
5759
5759
  onChange: handleInputChange
5760
- }), /*#__PURE__*/React$1.createElement(SearchIcon, null));
5760
+ }), /*#__PURE__*/React.createElement(SearchIcon, null));
5761
5761
  };
5762
5762
  SearchInput.propTypes = {
5763
5763
  placeholder: PropTypes.string,
@@ -5921,55 +5921,55 @@ const TabMenu = props => {
5921
5921
  useEffect(() => {
5922
5922
  setActiveTab(currentTab);
5923
5923
  }, [currentTab]);
5924
- return /*#__PURE__*/React$1.createElement(TabMenuContainer, {
5924
+ return /*#__PURE__*/React.createElement(TabMenuContainer, {
5925
5925
  className: className
5926
- }, /*#__PURE__*/React$1.createElement(TopRow, null, showFilterButton && /*#__PURE__*/React$1.createElement(SagIconButtonWrap, {
5926
+ }, /*#__PURE__*/React.createElement(TopRow, null, showFilterButton && /*#__PURE__*/React.createElement(SagIconButtonWrap, {
5927
5927
  id: "filterButton",
5928
5928
  iconName: "Filter",
5929
5929
  buttonText: "",
5930
5930
  openState: panelIsOpen,
5931
5931
  activeColor: activeColor,
5932
5932
  onButtonClick: onFilterButtonClick
5933
- }), headlineInsteadTabs ? /*#__PURE__*/React$1.createElement(Headline$1, null, headlineText) : /*#__PURE__*/React$1.createElement(Nav, {
5933
+ }), headlineInsteadTabs ? /*#__PURE__*/React.createElement(Headline$1, null, headlineText) : /*#__PURE__*/React.createElement(Nav, {
5934
5934
  className: "Nav"
5935
- }, /*#__PURE__*/React$1.createElement(Tabs, {
5935
+ }, /*#__PURE__*/React.createElement(Tabs, {
5936
5936
  className: "Tabs"
5937
- }, tabs.length > 1 ? tabs.map((tab, index) => /*#__PURE__*/React$1.createElement(Tab, {
5937
+ }, tabs.length > 1 ? tabs.map((tab, index) => /*#__PURE__*/React.createElement(Tab, {
5938
5938
  key: tab.title.replace(/\s/g, ''),
5939
5939
  isActive: index === activeTab,
5940
5940
  className: `tab ${index === activeTab ? 'active' : ''}`,
5941
5941
  color: color,
5942
5942
  onClick: () => handleTabChange(index)
5943
- }, tab.title)) : /*#__PURE__*/React$1.createElement(Tab, {
5943
+ }, tab.title)) : /*#__PURE__*/React.createElement(Tab, {
5944
5944
  isActive: activeTab === 0,
5945
5945
  className: `tab ${activeTab === 0 ? 'active' : ''}`,
5946
5946
  color: color,
5947
5947
  onClick: () => handleTabChange(0)
5948
- }, tabs[0].title), /*#__PURE__*/React$1.createElement(PresentationSlider, {
5948
+ }, tabs[0].title), /*#__PURE__*/React.createElement(PresentationSlider, {
5949
5949
  className: "PresentationSlider",
5950
5950
  activeTab: activeTab,
5951
5951
  color: color,
5952
5952
  width: `${100 / tabs.length}%`,
5953
5953
  role: "presentation"
5954
- }))), setTopRightButton && /*#__PURE__*/React$1.createElement(Button, {
5954
+ }))), setTopRightButton && /*#__PURE__*/React.createElement(Button, {
5955
5955
  text: rightButtonText,
5956
5956
  rightIcon: rightButtonIcon,
5957
5957
  size: "small",
5958
5958
  disabled: disabledButton,
5959
5959
  onClick: () => onTopButtonClick()
5960
- })), showActions && /*#__PURE__*/React$1.createElement(ActionsWrapper, {
5960
+ })), showActions && /*#__PURE__*/React.createElement(ActionsWrapper, {
5961
5961
  className: "ActionsWrapper"
5962
- }, showLabel && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Label$4, {
5962
+ }, showLabel && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Label$4, {
5963
5963
  className: "Label"
5964
- }, /*#__PURE__*/React$1.createElement("span", null, "Platform: "), "Total"), /*#__PURE__*/React$1.createElement("span", {
5964
+ }, /*#__PURE__*/React.createElement("span", null, "Platform: "), "Total"), /*#__PURE__*/React.createElement("span", {
5965
5965
  className: "separator"
5966
- }, "|")), children || '', showViewOptionsButton && /*#__PURE__*/React$1.createElement(SagIconButton, {
5966
+ }, "|")), children || '', showViewOptionsButton && /*#__PURE__*/React.createElement(SagIconButton, {
5967
5967
  iconName: "ViewIndicator",
5968
5968
  buttonText: "View Indicator"
5969
- }), showSearchInput && /*#__PURE__*/React$1.createElement(SearchInputWrap, {
5969
+ }), showSearchInput && /*#__PURE__*/React.createElement(SearchInputWrap, {
5970
5970
  width: inputWidth,
5971
5971
  onTyping: e => onSearchFieldTyping(e)
5972
- })), /*#__PURE__*/React$1.createElement(Body, {
5972
+ })), /*#__PURE__*/React.createElement(Body, {
5973
5973
  id: "tabsBody",
5974
5974
  setBackground: setBackground
5975
5975
  }, tabs[activeTab] && tabs[activeTab].content));
@@ -6029,7 +6029,7 @@ TabMenu.defaultProps = {
6029
6029
  onTopButtonClick: () => {},
6030
6030
  tabs: [{
6031
6031
  title: 'Overview',
6032
- content: /*#__PURE__*/React$1.createElement(MarketShareDescription, {
6032
+ content: /*#__PURE__*/React.createElement(MarketShareDescription, {
6033
6033
  marketShareData: [{
6034
6034
  name: 'pringlesHarvestBlend',
6035
6035
  rowTitle: 'Pringles Harvest Blend',
@@ -11019,7 +11019,7 @@ const DropdownSingleNew = ({
11019
11019
  return "";
11020
11020
  }
11021
11021
  if (required) {
11022
- return /*#__PURE__*/React$1.createElement("span", {
11022
+ return /*#__PURE__*/React.createElement("span", {
11023
11023
  style: {
11024
11024
  color: "red"
11025
11025
  }
@@ -11027,25 +11027,25 @@ const DropdownSingleNew = ({
11027
11027
  }
11028
11028
  return "";
11029
11029
  };
11030
- return /*#__PURE__*/React$1.createElement(DropdownWrapper$2, {
11030
+ return /*#__PURE__*/React.createElement(DropdownWrapper$2, {
11031
11031
  className: "DropdownWrapper",
11032
11032
  width: width,
11033
11033
  onMouseEnter: () => setHoverInputContainer(true),
11034
11034
  onMouseLeave: () => setHoverInputContainer(false)
11035
- }, /*#__PURE__*/React$1.createElement(InputContainer$6, {
11035
+ }, /*#__PURE__*/React.createElement(InputContainer$6, {
11036
11036
  className: "InputContainer",
11037
11037
  labelColor: labelColor,
11038
11038
  disabled: disabled,
11039
11039
  error: error,
11040
11040
  isFocused: isFocused
11041
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$3, {
11041
+ }, /*#__PURE__*/React.createElement(InputSubContainer$3, {
11042
11042
  className: "InputSubContainer",
11043
11043
  ref: containerRef,
11044
11044
  labelColor: labelColor,
11045
11045
  disabled: disabled,
11046
11046
  error: error,
11047
11047
  onClick: handleLabelClick
11048
- }, /*#__PURE__*/React$1.createElement(Label$3, {
11048
+ }, /*#__PURE__*/React.createElement(Label$3, {
11049
11049
  className: "Label",
11050
11050
  isFocused: isFocused,
11051
11051
  labelColor: labelColor,
@@ -11055,7 +11055,7 @@ const DropdownSingleNew = ({
11055
11055
  errorMessage: errorMessage,
11056
11056
  onClick: handleLabelClick,
11057
11057
  showLabelOnTop: showLabelOnTop
11058
- }, getLabel(), getRequired()), /*#__PURE__*/React$1.createElement(StyledInput$6, {
11058
+ }, getLabel(), getRequired()), /*#__PURE__*/React.createElement(StyledInput$6, {
11059
11059
  className: "StyledInput",
11060
11060
  ref: inputRef,
11061
11061
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -11065,37 +11065,37 @@ const DropdownSingleNew = ({
11065
11065
  placeholder: isFocused ? filteredOptions.length <= 5 ? "Select Option…" : "Type To Search" : "",
11066
11066
  error: error,
11067
11067
  isFocused: isFocused
11068
- })), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React$1.createElement(IconContainer$4, {
11068
+ })), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(IconContainer$4, {
11069
11069
  className: "IconContainer",
11070
11070
  onClick: handleClearClick
11071
- }, /*#__PURE__*/React$1.createElement(CloseXIcon, {
11071
+ }, /*#__PURE__*/React.createElement(CloseXIcon, {
11072
11072
  width: "12px",
11073
11073
  height: "12px",
11074
11074
  fill: "#B1B1B1"
11075
- })), /*#__PURE__*/React$1.createElement(IconContainer$4, {
11075
+ })), /*#__PURE__*/React.createElement(IconContainer$4, {
11076
11076
  className: "IconContainer",
11077
11077
  onClick: handleOpenCloseMenuClick
11078
- }, showOptions ? /*#__PURE__*/React$1.createElement(MenuItemUpIcon, {
11078
+ }, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
11079
11079
  width: "12px",
11080
11080
  height: "12px",
11081
11081
  color: "#B1B1B1"
11082
- }) : /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
11082
+ }) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
11083
11083
  width: "12px",
11084
11084
  height: "12px",
11085
11085
  color: "#B1B1B1"
11086
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$6, {
11086
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer$6, {
11087
11087
  className: "OptionsContainer",
11088
11088
  onMouseEnter: () => setHoverOptionsContainer(true),
11089
11089
  onMouseLeave: () => setHoverOptionsContainer(false),
11090
11090
  showoptions: showOptions,
11091
11091
  disabled: disabled,
11092
11092
  filteredoptions: filteredOptions
11093
- }, /*#__PURE__*/React$1.createElement(OptionsSubContainer$3, {
11093
+ }, /*#__PURE__*/React.createElement(OptionsSubContainer$3, {
11094
11094
  className: "OptionsSubContainer",
11095
11095
  showoptions: showOptions,
11096
11096
  disabled: disabled,
11097
11097
  filteredoptions: filteredOptions
11098
- }, filteredOptions.map(option => /*#__PURE__*/React$1.createElement(OptionItem$3, {
11098
+ }, filteredOptions.map(option => /*#__PURE__*/React.createElement(OptionItem$3, {
11099
11099
  className: "OptionItem",
11100
11100
  key: option.value,
11101
11101
  onClick: () => toggleOption(option),
@@ -11500,9 +11500,9 @@ const DropdownMultiNew = ({
11500
11500
  });
11501
11501
  };
11502
11502
  const displaySelectedOptions = () => {
11503
- const content = /*#__PURE__*/React$1.createElement(SelectedOptionsContainer$1, {
11503
+ const content = /*#__PURE__*/React.createElement(SelectedOptionsContainer$1, {
11504
11504
  className: "SelectedOptionsContainer"
11505
- }, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React$1.createElement(SelectedOptionItem$1, {
11505
+ }, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem$1, {
11506
11506
  className: "SelectedOptionItem",
11507
11507
  key: option.value,
11508
11508
  onClick: () => {
@@ -11512,11 +11512,11 @@ const DropdownMultiNew = ({
11512
11512
  inputRef?.current?.focus();
11513
11513
  }
11514
11514
  }
11515
- }, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React$1.createElement(CloseXIcon, {
11515
+ }, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React.createElement(CloseXIcon, {
11516
11516
  width: "8px",
11517
11517
  height: "8px",
11518
11518
  fill: "#212121"
11519
- })) : " "), selectedOptions.length > 2 ? /*#__PURE__*/React$1.createElement(SelectedOptionItem$1, {
11519
+ })) : " "), selectedOptions.length > 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem$1, {
11520
11520
  className: "SelectedOptionItem"
11521
11521
  }, selectedOptions.length - 2, "+") : "");
11522
11522
  return content;
@@ -11538,7 +11538,7 @@ const DropdownMultiNew = ({
11538
11538
  return "";
11539
11539
  }
11540
11540
  if (required) {
11541
- return /*#__PURE__*/React$1.createElement("span", {
11541
+ return /*#__PURE__*/React.createElement("span", {
11542
11542
  style: {
11543
11543
  color: "red"
11544
11544
  }
@@ -11546,25 +11546,25 @@ const DropdownMultiNew = ({
11546
11546
  }
11547
11547
  return "";
11548
11548
  };
11549
- return /*#__PURE__*/React$1.createElement(DropdownWrapper$1, {
11549
+ return /*#__PURE__*/React.createElement(DropdownWrapper$1, {
11550
11550
  className: "DropdownWrapper",
11551
11551
  width: width,
11552
11552
  onMouseEnter: () => setHoverInputContainer(true),
11553
11553
  onMouseLeave: () => setHoverInputContainer(false)
11554
- }, /*#__PURE__*/React$1.createElement(InputContainer$5, {
11554
+ }, /*#__PURE__*/React.createElement(InputContainer$5, {
11555
11555
  className: "InputContainer",
11556
11556
  labelColor: labelColor,
11557
11557
  disabled: disabled,
11558
11558
  error: error,
11559
11559
  isFocused: isFocused
11560
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$2, {
11560
+ }, /*#__PURE__*/React.createElement(InputSubContainer$2, {
11561
11561
  className: "InputSubContainer",
11562
11562
  ref: containerRef,
11563
11563
  labelColor: labelColor,
11564
11564
  disabled: disabled,
11565
11565
  error: error,
11566
11566
  onClick: handleLabelClick
11567
- }, /*#__PURE__*/React$1.createElement(Label$2, {
11567
+ }, /*#__PURE__*/React.createElement(Label$2, {
11568
11568
  className: "Label",
11569
11569
  isFocused: isFocused,
11570
11570
  labelColor: labelColor,
@@ -11574,7 +11574,7 @@ const DropdownMultiNew = ({
11574
11574
  errorMessage: errorMessage,
11575
11575
  onClick: handleLabelClick,
11576
11576
  showLabelOnTop: showLabelOnTop
11577
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput$5, {
11577
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React.createElement(StyledInput$5, {
11578
11578
  className: "StyledInput",
11579
11579
  ref: inputRef,
11580
11580
  value: inputValue,
@@ -11586,48 +11586,48 @@ const DropdownMultiNew = ({
11586
11586
  placeholder: isFocused ? filteredOptions.length <= 5 ? "Select Option…" : "Type To Search" : "",
11587
11587
  error: error,
11588
11588
  isFocused: isFocused
11589
- }) : " "), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React$1.createElement(IconContainer$3, {
11589
+ }) : " "), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(IconContainer$3, {
11590
11590
  className: "IconContainer",
11591
11591
  onClick: handleClearClick
11592
- }, /*#__PURE__*/React$1.createElement(CloseXIcon, {
11592
+ }, /*#__PURE__*/React.createElement(CloseXIcon, {
11593
11593
  width: "12px",
11594
11594
  height: "12px",
11595
11595
  fill: "#B1B1B1"
11596
- })), /*#__PURE__*/React$1.createElement(IconContainer$3, {
11596
+ })), /*#__PURE__*/React.createElement(IconContainer$3, {
11597
11597
  className: "IconContainer",
11598
11598
  onClick: handleOpenCloseMenuClick
11599
- }, showOptions ? /*#__PURE__*/React$1.createElement(MenuItemUpIcon, {
11599
+ }, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
11600
11600
  width: "12px",
11601
11601
  height: "12px",
11602
11602
  color: "#B1B1B1"
11603
- }) : /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
11603
+ }) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
11604
11604
  width: "12px",
11605
11605
  height: "12px",
11606
11606
  color: "#B1B1B1"
11607
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$5, {
11607
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer$5, {
11608
11608
  className: "OptionsContainer",
11609
11609
  onMouseEnter: () => setHoverOptionsContainer(true),
11610
11610
  onMouseLeave: () => setHoverOptionsContainer(false),
11611
11611
  showoptions: showOptions,
11612
11612
  disabled: disabled,
11613
11613
  filteredoptions: filteredOptions
11614
- }, /*#__PURE__*/React$1.createElement(OptionsSubContainer$2, {
11614
+ }, /*#__PURE__*/React.createElement(OptionsSubContainer$2, {
11615
11615
  className: "OptionsSubContainer",
11616
11616
  showoptions: showOptions,
11617
11617
  disabled: disabled,
11618
11618
  filteredoptions: filteredOptions
11619
- }, filteredOptions.map(option => /*#__PURE__*/React$1.createElement(OptionItem$2, {
11619
+ }, filteredOptions.map(option => /*#__PURE__*/React.createElement(OptionItem$2, {
11620
11620
  className: "OptionItem",
11621
11621
  key: option.value,
11622
11622
  onClick: () => toggleOption(option),
11623
11623
  selected: isDropdowned(option)
11624
- }, " ", /*#__PURE__*/React$1.createElement(IconContainer$3, {
11624
+ }, " ", /*#__PURE__*/React.createElement(IconContainer$3, {
11625
11625
  className: "IconContainer"
11626
- }, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React$1.createElement(CheckBoxCheckedIcon, {
11626
+ }, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React.createElement(CheckBoxCheckedIcon, {
11627
11627
  width: "14px",
11628
11628
  height: "14px",
11629
11629
  color: disabled ? "#888" : checkBoxColor
11630
- }) : /*#__PURE__*/React$1.createElement(CheckBoxNotCheckedIcon, {
11630
+ }) : /*#__PURE__*/React.createElement(CheckBoxNotCheckedIcon, {
11631
11631
  width: "14px",
11632
11632
  height: "14px",
11633
11633
  color: disabled ? "#888" : "#212121"
@@ -11691,70 +11691,67 @@ const DropdownMain = dt.div`
11691
11691
  `;
11692
11692
 
11693
11693
  /* eslint-disable react/prop-types */
11694
- const DropdownNew = _ref => {
11695
- let {
11696
- isMulti,
11697
- label,
11698
- labelEmptyValue,
11699
- options,
11700
- selectedValue,
11701
- placeHolder,
11702
- onChange,
11703
- required,
11704
- disabled,
11705
- width,
11706
- error,
11707
- errorMessage,
11708
- labelColor,
11709
- checkBoxColor,
11710
- xIconShow,
11711
- showLabelOnTop,
11712
- orderBy,
11713
- elementType
11714
- } = _ref;
11715
- return /*#__PURE__*/React$1.createElement(DropdownMain, {
11716
- className: "DropdownMain",
11717
- width: width
11718
- }, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
11719
- className: "DropdownMultiNew",
11720
- placeHolder: placeHolder,
11721
- label: label,
11722
- labelEmptyValue: labelEmptyValue,
11723
- labelColor: labelColor,
11724
- checkBoxColor: checkBoxColor,
11725
- required: required,
11726
- options: options,
11727
- width: width,
11728
- disabled: disabled,
11729
- error: error,
11730
- errorMessage: errorMessage,
11731
- selectedValue: selectedValue,
11732
- xIconShow: xIconShow,
11733
- onChange: onChange,
11734
- showLabelOnTop: showLabelOnTop,
11735
- orderBy: orderBy,
11736
- elementType: elementType
11737
- }) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
11738
- className: "DropdownSingleNew",
11739
- placeHolder: placeHolder,
11740
- label: label,
11741
- labelEmptyValue: labelEmptyValue,
11742
- labelColor: labelColor,
11743
- checkBoxColor: checkBoxColor,
11744
- required: required,
11745
- options: options,
11746
- width: width,
11747
- disabled: disabled,
11748
- error: error,
11749
- errorMessage: errorMessage,
11750
- selectedValue: selectedValue,
11751
- xIconShow: xIconShow,
11752
- onChange: onChange,
11753
- showLabelOnTop: showLabelOnTop,
11754
- orderBy: orderBy,
11755
- elementType: elementType
11756
- }));
11757
- };
11694
+ const DropdownNew = ({
11695
+ isMulti,
11696
+ label,
11697
+ labelEmptyValue,
11698
+ options,
11699
+ selectedValue,
11700
+ placeHolder,
11701
+ onChange,
11702
+ required,
11703
+ disabled,
11704
+ width,
11705
+ error,
11706
+ errorMessage,
11707
+ labelColor,
11708
+ checkBoxColor,
11709
+ xIconShow,
11710
+ showLabelOnTop,
11711
+ orderBy,
11712
+ elementType
11713
+ }) => /*#__PURE__*/React.createElement(DropdownMain, {
11714
+ className: "DropdownMain",
11715
+ width: width
11716
+ }, isMulti ? /*#__PURE__*/React.createElement(DropdownMultiNew, {
11717
+ className: "DropdownMultiNew",
11718
+ placeHolder: placeHolder,
11719
+ label: label,
11720
+ labelEmptyValue: labelEmptyValue,
11721
+ labelColor: labelColor,
11722
+ checkBoxColor: checkBoxColor,
11723
+ required: required,
11724
+ options: options,
11725
+ width: width,
11726
+ disabled: disabled,
11727
+ error: error,
11728
+ errorMessage: errorMessage,
11729
+ selectedValue: selectedValue,
11730
+ xIconShow: xIconShow,
11731
+ onChange: onChange,
11732
+ showLabelOnTop: showLabelOnTop,
11733
+ orderBy: orderBy,
11734
+ elementType: elementType
11735
+ }) : /*#__PURE__*/React.createElement(DropdownSingleNew, {
11736
+ className: "DropdownSingleNew",
11737
+ placeHolder: placeHolder,
11738
+ label: label,
11739
+ labelEmptyValue: labelEmptyValue,
11740
+ labelColor: labelColor,
11741
+ checkBoxColor: checkBoxColor,
11742
+ required: required,
11743
+ options: options,
11744
+ width: width,
11745
+ disabled: disabled,
11746
+ error: error,
11747
+ errorMessage: errorMessage,
11748
+ selectedValue: selectedValue,
11749
+ xIconShow: xIconShow,
11750
+ onChange: onChange,
11751
+ showLabelOnTop: showLabelOnTop,
11752
+ orderBy: orderBy,
11753
+ elementType: elementType
11754
+ }));
11758
11755
  DropdownNew.propTypes = {
11759
11756
  placeHolder: PropTypes.string,
11760
11757
  label: PropTypes.string,
@@ -12168,21 +12165,20 @@ const DatePicker = ({
12168
12165
  };
12169
12166
 
12170
12167
  /* eslint-disable import/no-extraneous-dependencies */
12171
- const RangePicker = _ref => {
12172
- let {
12173
- label,
12174
- onChange,
12175
- borderRadius,
12176
- required,
12177
- width,
12178
- height,
12179
- placeholder,
12180
- disabled,
12181
- borderColor,
12182
- borderColorFocus,
12183
- textColor,
12184
- selectedValue
12185
- } = _ref;
12168
+ const RangePicker = ({
12169
+ label,
12170
+ onChange,
12171
+ borderRadius,
12172
+ required,
12173
+ width,
12174
+ height,
12175
+ placeholder,
12176
+ disabled,
12177
+ borderColor,
12178
+ borderColorFocus,
12179
+ textColor,
12180
+ selectedValue
12181
+ }) => {
12186
12182
  const [isFocused, setIsFocused] = useState(false);
12187
12183
  const [isOpen, setIsOpen] = useState(false);
12188
12184
  const [value, setValue] = useState(''); // Added value state
@@ -12252,12 +12248,12 @@ const RangePicker = _ref => {
12252
12248
  const handleBlur = () => {
12253
12249
  setIsFocused(false);
12254
12250
  };
12255
- return /*#__PURE__*/React$1.createElement(RangePickerContainer, {
12251
+ return /*#__PURE__*/React.createElement(RangePickerContainer, {
12256
12252
  className: "RangePickerContainer",
12257
12253
  onClick: handleFocus,
12258
12254
  width: width,
12259
12255
  height: height
12260
- }, /*#__PURE__*/React$1.createElement(InputContainer$4, {
12256
+ }, /*#__PURE__*/React.createElement(InputContainer$4, {
12261
12257
  className: "InputContainer",
12262
12258
  isFocused: isFocused,
12263
12259
  hasValue: value,
@@ -12267,7 +12263,7 @@ const RangePicker = _ref => {
12267
12263
  borderColorFocus: borderColorFocus,
12268
12264
  onMouseEnter: () => setHoverInputContainer(true),
12269
12265
  onMouseLeave: () => setHoverInputContainer(false)
12270
- }, /*#__PURE__*/React$1.createElement(StyledLabel$2, {
12266
+ }, /*#__PURE__*/React.createElement(StyledLabel$2, {
12271
12267
  className: "StyledLabel",
12272
12268
  onClick: handleFocus,
12273
12269
  isFocused: isFocused,
@@ -12276,7 +12272,7 @@ const RangePicker = _ref => {
12276
12272
  textColor: textColor,
12277
12273
  borderColor: borderColor,
12278
12274
  borderColorFocus: borderColorFocus
12279
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$4, {
12275
+ }, label, required && /*#__PURE__*/React.createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React.createElement(StyledInput$4, {
12280
12276
  className: "StyledInput",
12281
12277
  ref: inputRef,
12282
12278
  value: value,
@@ -12292,18 +12288,18 @@ const RangePicker = _ref => {
12292
12288
  textColor: textColor,
12293
12289
  borderColor: borderColor,
12294
12290
  borderColorFocus: borderColorFocus
12295
- }), /*#__PURE__*/React$1.createElement(CalendarDiv$2, {
12291
+ }), /*#__PURE__*/React.createElement(CalendarDiv$2, {
12296
12292
  className: "CalendarDiv",
12297
12293
  onClick: toggleDatePicker
12298
- }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, {
12294
+ }, isOpen === true ? /*#__PURE__*/React.createElement(CalendarInOpen, {
12299
12295
  className: "CalendarInOpen"
12300
- }) : /*#__PURE__*/React$1.createElement(Calendar, {
12296
+ }) : /*#__PURE__*/React.createElement(Calendar, {
12301
12297
  className: "Calendar"
12302
- }))), /*#__PURE__*/React$1.createElement(OptionsContainer$4, {
12298
+ }))), /*#__PURE__*/React.createElement(OptionsContainer$4, {
12303
12299
  className: "OptionsContainer",
12304
12300
  onMouseEnter: () => setHoverOptionsContainer(true),
12305
12301
  onMouseLeave: () => setHoverOptionsContainer(false)
12306
- }, /*#__PURE__*/React$1.createElement(DatePicker, {
12302
+ }, /*#__PURE__*/React.createElement(DatePicker, {
12307
12303
  className: "DatePicker",
12308
12304
  isOpen: isOpen,
12309
12305
  onChangeDate: onChangeDate,
@@ -12441,6 +12437,10 @@ const OptionsContainer$3 = dt.div`
12441
12437
  padding-top: 8px;
12442
12438
  `;
12443
12439
 
12440
+ /* eslint-disable jsx-a11y/no-static-element-interactions */
12441
+ // import ChervronRightIcon from './icons/ChervronRightIcon';
12442
+ // import ChervronLeftIcon from './icons/ChervronLeftIcon';
12443
+
12444
12444
  // Styled components for the date picker
12445
12445
  const DatePickerContainer$2 = dt.div`
12446
12446
  position: relative;
@@ -12610,23 +12610,22 @@ const QuarterPopupPicker = ({
12610
12610
  };
12611
12611
 
12612
12612
  /* eslint-disable import/no-extraneous-dependencies */
12613
- const QuarterPicker = _ref => {
12614
- let {
12615
- availableQuarters,
12616
- // ["Q1-2024"]
12617
- label,
12618
- onChange,
12619
- borderRadius,
12620
- required,
12621
- width,
12622
- height,
12623
- placeholder,
12624
- disabled,
12625
- borderColor,
12626
- borderColorFocus,
12627
- textColor,
12628
- selectedValue
12629
- } = _ref;
12613
+ const QuarterPicker = ({
12614
+ availableQuarters,
12615
+ // ["Q1-2024"]
12616
+ label,
12617
+ onChange,
12618
+ borderRadius,
12619
+ required,
12620
+ width,
12621
+ height,
12622
+ placeholder,
12623
+ disabled,
12624
+ borderColor,
12625
+ borderColorFocus,
12626
+ textColor,
12627
+ selectedValue
12628
+ }) => {
12630
12629
  const [isFocused, setIsFocused] = useState(false);
12631
12630
  const [isOpen, setIsOpen] = useState(false);
12632
12631
  const [value, setValue] = useState('');
@@ -12689,12 +12688,12 @@ const QuarterPicker = _ref => {
12689
12688
  const handleBlur = () => {
12690
12689
  setIsFocused(false);
12691
12690
  };
12692
- return /*#__PURE__*/React$1.createElement(QuarterPickerContainer, {
12691
+ return /*#__PURE__*/React.createElement(QuarterPickerContainer, {
12693
12692
  className: "QuarterPickerContainer",
12694
12693
  onClick: handleFocus,
12695
12694
  width: width,
12696
12695
  height: height
12697
- }, /*#__PURE__*/React$1.createElement(InputContainer$3, {
12696
+ }, /*#__PURE__*/React.createElement(InputContainer$3, {
12698
12697
  className: "InputContainer",
12699
12698
  isFocused: isFocused,
12700
12699
  hasValue: value,
@@ -12704,7 +12703,7 @@ const QuarterPicker = _ref => {
12704
12703
  borderColorFocus: borderColorFocus,
12705
12704
  onMouseEnter: () => setHoverInputContainer(true),
12706
12705
  onMouseLeave: () => setHoverInputContainer(false)
12707
- }, /*#__PURE__*/React$1.createElement(StyledLabel$1, {
12706
+ }, /*#__PURE__*/React.createElement(StyledLabel$1, {
12708
12707
  className: "StyledLabel",
12709
12708
  onClick: handleFocus,
12710
12709
  isFocused: isFocused,
@@ -12713,7 +12712,7 @@ const QuarterPicker = _ref => {
12713
12712
  textColor: textColor,
12714
12713
  borderColor: borderColor,
12715
12714
  borderColorFocus: borderColorFocus
12716
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$3, {
12715
+ }, label, required && /*#__PURE__*/React.createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React.createElement(StyledInput$3, {
12717
12716
  className: "StyledInput",
12718
12717
  ref: inputRef,
12719
12718
  value: value,
@@ -12729,15 +12728,15 @@ const QuarterPicker = _ref => {
12729
12728
  disabled: disabled,
12730
12729
  borderColor: borderColor,
12731
12730
  textColor: textColor
12732
- }), /*#__PURE__*/React$1.createElement(CalendarDiv$1, {
12731
+ }), /*#__PURE__*/React.createElement(CalendarDiv$1, {
12733
12732
  className: "CalendarDiv",
12734
12733
  width: width,
12735
12734
  onClick: toggleDatePicker
12736
- }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$3, {
12735
+ }, isOpen === true ? /*#__PURE__*/React.createElement(CalendarInOpen, null) : /*#__PURE__*/React.createElement(Calendar, null))), /*#__PURE__*/React.createElement(OptionsContainer$3, {
12737
12736
  className: "OptionsContainer",
12738
12737
  onMouseEnter: () => setHoverOptionsContainer(true),
12739
12738
  onMouseLeave: () => setHoverOptionsContainer(false)
12740
- }, /*#__PURE__*/React$1.createElement(QuarterPopupPicker, {
12739
+ }, /*#__PURE__*/React.createElement(QuarterPopupPicker, {
12741
12740
  className: "QuarterPopupPicker",
12742
12741
  isOpen: isOpen,
12743
12742
  onChangeDate: onChangeDate,
@@ -12871,6 +12870,8 @@ const OptionsContainer$2 = dt.div`
12871
12870
  padding-top: 8px;
12872
12871
  `;
12873
12872
 
12873
+ /* eslint-disable jsx-a11y/no-static-element-interactions */
12874
+
12874
12875
  // Styled components for the date picker
12875
12876
  const DatePickerContainer$1 = dt.div`
12876
12877
  position: relative;
@@ -13063,22 +13064,21 @@ const MonthPopupPicker = ({
13063
13064
  };
13064
13065
 
13065
13066
  /* eslint-disable import/no-extraneous-dependencies */
13066
- const MonthPicker = _ref => {
13067
- let {
13068
- availableMonths,
13069
- label,
13070
- onChange,
13071
- borderRadius,
13072
- required,
13073
- width,
13074
- height,
13075
- placeholder,
13076
- disabled,
13077
- borderColor,
13078
- borderColorFocus,
13079
- textColor,
13080
- selectedValue
13081
- } = _ref;
13067
+ const MonthPicker = ({
13068
+ availableMonths,
13069
+ label,
13070
+ onChange,
13071
+ borderRadius,
13072
+ required,
13073
+ width,
13074
+ height,
13075
+ placeholder,
13076
+ disabled,
13077
+ borderColor,
13078
+ borderColorFocus,
13079
+ textColor,
13080
+ selectedValue
13081
+ }) => {
13082
13082
  const [isFocused, setIsFocused] = useState(false);
13083
13083
  const [isOpen, setIsOpen] = useState(false);
13084
13084
  const [value, setValue] = useState('');
@@ -13140,12 +13140,12 @@ const MonthPicker = _ref => {
13140
13140
  const handleBlur = () => {
13141
13141
  setIsFocused(false);
13142
13142
  };
13143
- return /*#__PURE__*/React$1.createElement(MonthPickerContainer, {
13143
+ return /*#__PURE__*/React.createElement(MonthPickerContainer, {
13144
13144
  className: "MonthPickerContainer",
13145
13145
  onClick: handleFocus,
13146
13146
  width: width,
13147
13147
  height: height
13148
- }, /*#__PURE__*/React$1.createElement(InputContainer$2, {
13148
+ }, /*#__PURE__*/React.createElement(InputContainer$2, {
13149
13149
  className: "InputContainer",
13150
13150
  isFocused: isFocused,
13151
13151
  hasValue: value,
@@ -13155,7 +13155,7 @@ const MonthPicker = _ref => {
13155
13155
  borderColorFocus: borderColorFocus,
13156
13156
  onMouseEnter: () => setHoverInputContainer(true),
13157
13157
  onMouseLeave: () => setHoverInputContainer(false)
13158
- }, /*#__PURE__*/React$1.createElement(StyledLabel, {
13158
+ }, /*#__PURE__*/React.createElement(StyledLabel, {
13159
13159
  className: "StyledLabel",
13160
13160
  onClick: handleFocus,
13161
13161
  isFocused: isFocused,
@@ -13164,7 +13164,7 @@ const MonthPicker = _ref => {
13164
13164
  textColor: textColor,
13165
13165
  borderColor: borderColor,
13166
13166
  borderColorFocus: borderColorFocus
13167
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$2, {
13167
+ }, label, required && /*#__PURE__*/React.createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React.createElement(StyledInput$2, {
13168
13168
  className: "StyledInput",
13169
13169
  ref: inputRef,
13170
13170
  value: value,
@@ -13180,15 +13180,15 @@ const MonthPicker = _ref => {
13180
13180
  disabled: disabled,
13181
13181
  borderColor: borderColor,
13182
13182
  textColor: textColor
13183
- }), /*#__PURE__*/React$1.createElement(CalendarDiv, {
13183
+ }), /*#__PURE__*/React.createElement(CalendarDiv, {
13184
13184
  className: "CalendarDiv",
13185
13185
  width: width,
13186
13186
  onClick: toggleDatePicker
13187
- }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$2, {
13187
+ }, isOpen === true ? /*#__PURE__*/React.createElement(CalendarInOpen, null) : /*#__PURE__*/React.createElement(Calendar, null))), /*#__PURE__*/React.createElement(OptionsContainer$2, {
13188
13188
  className: "OptionsContainer",
13189
13189
  onMouseEnter: () => setHoverOptionsContainer(true),
13190
13190
  onMouseLeave: () => setHoverOptionsContainer(false)
13191
- }, /*#__PURE__*/React$1.createElement(MonthPopupPicker, {
13191
+ }, /*#__PURE__*/React.createElement(MonthPopupPicker, {
13192
13192
  className: "MonthPopupPicker",
13193
13193
  isOpen: isOpen,
13194
13194
  onChangeDate: onChangeDate,
@@ -13466,8 +13466,8 @@ const FilterPanel = props => {
13466
13466
  fieldsData: newFieldsDataState
13467
13467
  });
13468
13468
  };
13469
- const getTooltipTextDates = () => /*#__PURE__*/React$1.createElement(TooltipTextContainer, null, /*#__PURE__*/React$1.createElement(TooltipText, null, "Dates can be selected"), /*#__PURE__*/React$1.createElement(TooltipText, null, "only after selecting"), /*#__PURE__*/React$1.createElement(TooltipText, null, "period types"));
13470
- const getTooltipTextGoButton = () => /*#__PURE__*/React$1.createElement(TooltipTextContainer, null, /*#__PURE__*/React$1.createElement(TooltipText, null, tooltipTextGoButton));
13469
+ const getTooltipTextDates = () => /*#__PURE__*/React.createElement(TooltipTextContainer, null, /*#__PURE__*/React.createElement(TooltipText, null, "Dates can be selected"), /*#__PURE__*/React.createElement(TooltipText, null, "only after selecting"), /*#__PURE__*/React.createElement(TooltipText, null, "period types"));
13470
+ const getTooltipTextGoButton = () => /*#__PURE__*/React.createElement(TooltipTextContainer, null, /*#__PURE__*/React.createElement(TooltipText, null, tooltipTextGoButton));
13471
13471
  const getYearsArray = () => {
13472
13472
  const currentYear = moment().year();
13473
13473
  const previousYear = moment().subtract(1, 'years').year();
@@ -13512,9 +13512,9 @@ const FilterPanel = props => {
13512
13512
  }
13513
13513
  switch (currentValue) {
13514
13514
  case 'daterange':
13515
- content = /*#__PURE__*/React$1.createElement(DatePickerContainer, {
13515
+ content = /*#__PURE__*/React.createElement(DatePickerContainer, {
13516
13516
  className: "DatePickerContainer"
13517
- }, /*#__PURE__*/React$1.createElement(RangePicker, {
13517
+ }, /*#__PURE__*/React.createElement(RangePicker, {
13518
13518
  className: "RangePicker",
13519
13519
  name: ''.concat(item.name, '_Date'),
13520
13520
  borderColor: "#E7E7E7",
@@ -13549,7 +13549,7 @@ const FilterPanel = props => {
13549
13549
  }));
13550
13550
  break;
13551
13551
  case 'month':
13552
- content = /*#__PURE__*/React$1.createElement(MonthPicker, {
13552
+ content = /*#__PURE__*/React.createElement(MonthPicker, {
13553
13553
  availableMonths: availableMonths,
13554
13554
  name: ''.concat(item.name, '_Month'),
13555
13555
  borderColor: "#E7E7E7",
@@ -13584,7 +13584,7 @@ const FilterPanel = props => {
13584
13584
  });
13585
13585
  break;
13586
13586
  case 'quarter':
13587
- content = /*#__PURE__*/React$1.createElement(QuarterPicker, {
13587
+ content = /*#__PURE__*/React.createElement(QuarterPicker, {
13588
13588
  availableQuarters: availableQuarters,
13589
13589
  className: "QuarterPicker",
13590
13590
  name: ''.concat(item.name, '_Quarter'),
@@ -13620,7 +13620,7 @@ const FilterPanel = props => {
13620
13620
  });
13621
13621
  break;
13622
13622
  case 'year':
13623
- content = /*#__PURE__*/React$1.createElement(DropdownNew, {
13623
+ content = /*#__PURE__*/React.createElement(DropdownNew, {
13624
13624
  className: "Dropdown_Year",
13625
13625
  name: ''.concat(item.name, '_Year'),
13626
13626
  key: item.reset,
@@ -13645,16 +13645,16 @@ const FilterPanel = props => {
13645
13645
  });
13646
13646
  break;
13647
13647
  default:
13648
- content = /*#__PURE__*/React$1.createElement(Tooltip$1, {
13648
+ content = /*#__PURE__*/React.createElement(Tooltip$1, {
13649
13649
  className: "Tooltip",
13650
13650
  content: getTooltipTextDates(),
13651
13651
  direction: "top",
13652
13652
  topFactor: -1.8
13653
- }, /*#__PURE__*/React$1.createElement(PeriodPickerEmptyContainer, {
13653
+ }, /*#__PURE__*/React.createElement(PeriodPickerEmptyContainer, {
13654
13654
  className: "PeriodPickerEmptyContainer",
13655
13655
  width: FieldsContainerWidth ? `${FieldsContainerWidth?.toString()}px` : undefined,
13656
13656
  height: "50px"
13657
- }, /*#__PURE__*/React$1.createElement(PeriodPickerEmptyText, {
13657
+ }, /*#__PURE__*/React.createElement(PeriodPickerEmptyText, {
13658
13658
  className: "PeriodPickerEmptyText"
13659
13659
  }, "Select Dates")));
13660
13660
  }
@@ -13664,7 +13664,7 @@ const FilterPanel = props => {
13664
13664
  let content;
13665
13665
  switch (item.inputType) {
13666
13666
  case 'dropdown':
13667
- content = /*#__PURE__*/React$1.createElement(DropdownNew, {
13667
+ content = /*#__PURE__*/React.createElement(DropdownNew, {
13668
13668
  className: "Dropdown_Single",
13669
13669
  name: item.name,
13670
13670
  key: item.reset,
@@ -13688,7 +13688,7 @@ const FilterPanel = props => {
13688
13688
  });
13689
13689
  break;
13690
13690
  case 'dropdownMulti':
13691
- content = /*#__PURE__*/React$1.createElement(DropdownNew, {
13691
+ content = /*#__PURE__*/React.createElement(DropdownNew, {
13692
13692
  className: "Dropdown_Multi",
13693
13693
  name: item.name,
13694
13694
  key: item.reset,
@@ -13712,9 +13712,9 @@ const FilterPanel = props => {
13712
13712
  });
13713
13713
  break;
13714
13714
  case 'datepicker':
13715
- content = /*#__PURE__*/React$1.createElement(DatePickerContainer, {
13715
+ content = /*#__PURE__*/React.createElement(DatePickerContainer, {
13716
13716
  className: "DatePickerContainer"
13717
- }, /*#__PURE__*/React$1.createElement(RangePicker, {
13717
+ }, /*#__PURE__*/React.createElement(RangePicker, {
13718
13718
  className: "RangePicker",
13719
13719
  borderColor: borderColor,
13720
13720
  borderRadius: "12px",
@@ -13746,9 +13746,9 @@ const FilterPanel = props => {
13746
13746
  }));
13747
13747
  break;
13748
13748
  case 'periodpicker':
13749
- content = /*#__PURE__*/React$1.createElement(PeriodPickerContainer, {
13749
+ content = /*#__PURE__*/React.createElement(PeriodPickerContainer, {
13750
13750
  className: "PeriodPickerContainer"
13751
- }, /*#__PURE__*/React$1.createElement(DropdownNew, {
13751
+ }, /*#__PURE__*/React.createElement(DropdownNew, {
13752
13752
  className: "Dropdown_PeriodPicker",
13753
13753
  name: item.name,
13754
13754
  key: item.reset,
@@ -13779,21 +13779,21 @@ const FilterPanel = props => {
13779
13779
  if (!data || data.length === 0) {
13780
13780
  return '';
13781
13781
  }
13782
- return /*#__PURE__*/React$1.createElement(FieldsContainer, {
13782
+ return /*#__PURE__*/React.createElement(FieldsContainer, {
13783
13783
  className: "FieldsContainer"
13784
- }, data?.map(item => /*#__PURE__*/React$1.createElement(FieldContainer, {
13784
+ }, data?.map(item => /*#__PURE__*/React.createElement(FieldContainer, {
13785
13785
  className: "FieldContainer"
13786
13786
  }, displayField(item))));
13787
13787
  };
13788
13788
  const displayGoButton = () => {
13789
13789
  let content;
13790
13790
  if (tooltipTextGoButton) {
13791
- content = /*#__PURE__*/React$1.createElement(Tooltip$1, {
13791
+ content = /*#__PURE__*/React.createElement(Tooltip$1, {
13792
13792
  className: "Tooltip",
13793
13793
  content: getTooltipTextGoButton(),
13794
13794
  direction: "top",
13795
13795
  topFactor: -0.9
13796
- }, /*#__PURE__*/React$1.createElement(Button, {
13796
+ }, /*#__PURE__*/React.createElement(Button, {
13797
13797
  text: "Go",
13798
13798
  type: "primary",
13799
13799
  size: "medium",
@@ -13821,7 +13821,7 @@ const FilterPanel = props => {
13821
13821
  })
13822
13822
  }));
13823
13823
  } else {
13824
- content = /*#__PURE__*/React$1.createElement(Button, {
13824
+ content = /*#__PURE__*/React.createElement(Button, {
13825
13825
  text: "Go",
13826
13826
  type: "primary",
13827
13827
  size: "medium",
@@ -13851,17 +13851,17 @@ const FilterPanel = props => {
13851
13851
  }
13852
13852
  return content;
13853
13853
  };
13854
- return /*#__PURE__*/React$1.createElement(ControlsContainer$7, {
13854
+ return /*#__PURE__*/React.createElement(ControlsContainer$7, {
13855
13855
  className: className,
13856
13856
  height: height,
13857
13857
  width: width,
13858
13858
  showShadow: showShadow
13859
- }, /*#__PURE__*/React$1.createElement(AllFieldsContainer, {
13859
+ }, /*#__PURE__*/React.createElement(AllFieldsContainer, {
13860
13860
  className: "AllFieldsContainer",
13861
13861
  ref: AllFieldsContainerRef
13862
- }, displayFields(FieldsDataState)), /*#__PURE__*/React$1.createElement(ButtonsContainer, {
13862
+ }, displayFields(FieldsDataState)), /*#__PURE__*/React.createElement(ButtonsContainer, {
13863
13863
  className: "ButtonsContainer"
13864
- }, displayGoButton(), /*#__PURE__*/React$1.createElement(Button, {
13864
+ }, displayGoButton(), /*#__PURE__*/React.createElement(Button, {
13865
13865
  text: "Reset",
13866
13866
  size: "medium",
13867
13867
  type: "secondary",
@@ -14413,7 +14413,7 @@ const ReportTable = props => {
14413
14413
  } = rest2;
14414
14414
  onSelectRowClick(rest3);
14415
14415
  };
14416
- const displaySelectButton = rowData => /*#__PURE__*/React$1.createElement(LinkButton, {
14416
+ const displaySelectButton = rowData => /*#__PURE__*/React.createElement(LinkButton, {
14417
14417
  disabled: disableSelectButtons,
14418
14418
  onClick: e => handleSelectButtonRowClick(rowData),
14419
14419
  rightIcon: buttonIconName,
@@ -14463,7 +14463,7 @@ const ReportTable = props => {
14463
14463
  }
14464
14464
  return colNumber;
14465
14465
  };
14466
- const getTooltipText = value => /*#__PURE__*/React$1.createElement(TooltipWrapper$1, null, value);
14466
+ const getTooltipText = value => /*#__PURE__*/React.createElement(TooltipWrapper$1, null, value);
14467
14467
  const truncateString = (str, maxLength) => {
14468
14468
  let val = str.length > maxLength ? str.slice(0, maxLength) + "..." : str;
14469
14469
  return val;
@@ -14514,17 +14514,17 @@ const ReportTable = props => {
14514
14514
  return newState;
14515
14515
  });
14516
14516
  };
14517
- return /*#__PURE__*/React$1.createElement(ReportTableWrapper, null, /*#__PURE__*/React$1.createElement(TableWrapper, {
14517
+ return /*#__PURE__*/React.createElement(ReportTableWrapper, null, /*#__PURE__*/React.createElement(TableWrapper, {
14518
14518
  width: width,
14519
14519
  height: height,
14520
14520
  className: className,
14521
14521
  maxColumnsNumber: getMaxColnumber(),
14522
14522
  columnsNumber: columnsNumber
14523
- }, /*#__PURE__*/React$1.createElement(Table, {
14523
+ }, /*#__PURE__*/React.createElement(Table, {
14524
14524
  tableWidthSize: tableWidthSize
14525
- }, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React$1.createElement(Th, {
14525
+ }, /*#__PURE__*/React.createElement("thead", null, /*#__PURE__*/React.createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React.createElement(Th, {
14526
14526
  key: index
14527
- }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("span", null, headline.label), headline.sortable && /*#__PURE__*/React$1.createElement("button", {
14527
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, headline.label), headline.sortable && /*#__PURE__*/React.createElement("button", {
14528
14528
  style: {
14529
14529
  border: "none",
14530
14530
  background: "none",
@@ -14532,39 +14532,39 @@ const ReportTable = props => {
14532
14532
  padding: "0"
14533
14533
  },
14534
14534
  onClick: () => handleButtonClick(headline.key)
14535
- }, /*#__PURE__*/React$1.createElement(SortIcon, {
14535
+ }, /*#__PURE__*/React.createElement(SortIcon, {
14536
14536
  width: "16px",
14537
14537
  height: "16px",
14538
14538
  fillUpperArrow: activeSortState[headline.key] === "asc" ? "#229E38" : "#D0D0D0",
14539
14539
  fillLowerArrow: activeSortState[headline.key] === "desc" ? "#229E38" : "#D0D0D0"
14540
- }))))))), /*#__PURE__*/React$1.createElement("tbody", null, getPaginatedRows().map((rowData, index) => /*#__PURE__*/React$1.createElement(Tr, {
14540
+ }))))))), /*#__PURE__*/React.createElement("tbody", null, getPaginatedRows().map((rowData, index) => /*#__PURE__*/React.createElement(Tr, {
14541
14541
  className: "row",
14542
14542
  key: index,
14543
14543
  enableHover: enableHover,
14544
14544
  selectHoverColor: selectHoverColor,
14545
14545
  useColorLinearGradient: useColorLinearGradient
14546
- }, Object.values(rowData).map((value, dataIndex) => value === "checkbox" ? /*#__PURE__*/React$1.createElement(Td, {
14546
+ }, Object.values(rowData).map((value, dataIndex) => value === "checkbox" ? /*#__PURE__*/React.createElement(Td, {
14547
14547
  className: "checkbox",
14548
14548
  key: index
14549
- }) : value === "button" ? /*#__PURE__*/React$1.createElement(Td, {
14549
+ }) : value === "button" ? /*#__PURE__*/React.createElement(Td, {
14550
14550
  className: "button",
14551
14551
  key: index
14552
- }, displaySelectButton(rowData)) : /*#__PURE__*/React$1.createElement(Td, {
14552
+ }, displaySelectButton(rowData)) : /*#__PURE__*/React.createElement(Td, {
14553
14553
  className: "cell",
14554
14554
  key: dataIndex
14555
- }, value && value.length > 30 ? /*#__PURE__*/React$1.createElement(Tooltip$1, {
14555
+ }, value && value.length > 30 ? /*#__PURE__*/React.createElement(Tooltip$1, {
14556
14556
  content: getTooltipText(value),
14557
14557
  direction: "top",
14558
14558
  topFactor: value !== null ? -getTopFactor(Math.ceil(value.length / 50)) : -getTopFactor(1)
14559
- }, truncateString(value, 30)) : value ? truncateString(value, 30) : "N/A", " "))))))), /*#__PURE__*/React$1.createElement(PaginationWrapper, null, enablePagination && /*#__PURE__*/React$1.createElement(RecordDisplay, null, getRecordRangeDisplay()), enablePagination && /*#__PURE__*/React$1.createElement(PaginationContainer, null, totalPages > 0 && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", {
14559
+ }, truncateString(value, 30)) : value ? truncateString(value, 30) : "N/A", " "))))))), /*#__PURE__*/React.createElement(PaginationWrapper, null, enablePagination && /*#__PURE__*/React.createElement(RecordDisplay, null, getRecordRangeDisplay()), enablePagination && /*#__PURE__*/React.createElement(PaginationContainer, null, totalPages > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
14560
14560
  className: `arrow ${currentPage === 1 ? "disabled" : ""}`,
14561
14561
  onClick: () => currentPage > 1 && handlePageChange(currentPage - 1)
14562
- }, /*#__PURE__*/React$1.createElement(ChevronLeftIcon, {
14562
+ }, /*#__PURE__*/React.createElement(ChevronLeftIcon, {
14563
14563
  disabled: currentPage === 1
14564
14564
  })), (() => {
14565
14565
  const pages = [];
14566
14566
  const range = 2;
14567
- pages.push(/*#__PURE__*/React$1.createElement("span", {
14567
+ pages.push(/*#__PURE__*/React.createElement("span", {
14568
14568
  key: 1,
14569
14569
  className: `page-number ${currentPage === 1 ? "active" : ""}`,
14570
14570
  onClick: () => handlePageChange(1)
@@ -14574,7 +14574,7 @@ const ReportTable = props => {
14574
14574
  }
14575
14575
  if (totalPages <= 10) {
14576
14576
  for (let i = 2; i <= totalPages; i++) {
14577
- pages.push(/*#__PURE__*/React$1.createElement("span", {
14577
+ pages.push(/*#__PURE__*/React.createElement("span", {
14578
14578
  key: i,
14579
14579
  className: `page-number ${currentPage === i ? "active" : ""}`,
14580
14580
  onClick: () => handlePageChange(i)
@@ -14593,38 +14593,38 @@ const ReportTable = props => {
14593
14593
  end = totalPages - 1;
14594
14594
  }
14595
14595
  if (start > 2) {
14596
- pages.push(/*#__PURE__*/React$1.createElement("span", {
14596
+ pages.push(/*#__PURE__*/React.createElement("span", {
14597
14597
  key: "ellipsis-start"
14598
14598
  }, "..."));
14599
14599
  }
14600
14600
  for (let i = start; i <= end; i++) {
14601
- pages.push(/*#__PURE__*/React$1.createElement("span", {
14601
+ pages.push(/*#__PURE__*/React.createElement("span", {
14602
14602
  key: i,
14603
14603
  className: `page-number ${currentPage === i ? "active" : ""}`,
14604
14604
  onClick: () => handlePageChange(i)
14605
14605
  }, i));
14606
14606
  }
14607
14607
  if (end < totalPages - 1) {
14608
- pages.push(/*#__PURE__*/React$1.createElement("span", {
14608
+ pages.push(/*#__PURE__*/React.createElement("span", {
14609
14609
  key: "ellipsis-end"
14610
14610
  }, "..."));
14611
14611
  }
14612
- pages.push(/*#__PURE__*/React$1.createElement("span", {
14612
+ pages.push(/*#__PURE__*/React.createElement("span", {
14613
14613
  key: totalPages,
14614
14614
  className: `page-number ${currentPage === totalPages ? "active" : ""}`,
14615
14615
  onClick: () => handlePageChange(totalPages)
14616
14616
  }, totalPages));
14617
14617
  return pages;
14618
- })(), /*#__PURE__*/React$1.createElement("span", {
14618
+ })(), /*#__PURE__*/React.createElement("span", {
14619
14619
  className: `arrow ${currentPage === totalPages ? "disabled" : ""}`,
14620
14620
  onClick: () => currentPage < totalPages && handlePageChange(currentPage + 1)
14621
- }, /*#__PURE__*/React$1.createElement(ChevronRightIcon, {
14621
+ }, /*#__PURE__*/React.createElement(ChevronRightIcon, {
14622
14622
  disabled: currentPage === totalPages
14623
- }))))), isLoading && enablePagination && /*#__PURE__*/React$1.createElement(LoaderWrapper$1, {
14623
+ }))))), isLoading && enablePagination && /*#__PURE__*/React.createElement(LoaderWrapper$1, {
14624
14624
  id: "LoaderWrapper"
14625
- }, /*#__PURE__*/React$1.createElement(Loader$1, null)), !disableInfo ? /*#__PURE__*/React$1.createElement(InfoBlock, null, /*#__PURE__*/React$1.createElement(InfoIcon, {
14625
+ }, /*#__PURE__*/React.createElement(Loader$1, null)), !disableInfo ? /*#__PURE__*/React.createElement(InfoBlock, null, /*#__PURE__*/React.createElement(InfoIcon, {
14626
14626
  color: "#1B30AA"
14627
- }), /*#__PURE__*/React$1.createElement(InfoText, null, "Download table to get the full data")) : "");
14627
+ }), /*#__PURE__*/React.createElement(InfoText, null, "Download table to get the full data")) : "");
14628
14628
  };
14629
14629
  ReportTable.propTypes = {
14630
14630
  buttonText: PropTypes.string,
@@ -14766,14 +14766,14 @@ const EventListItem = props => {
14766
14766
  event
14767
14767
  });
14768
14768
  };
14769
- return /*#__PURE__*/React$1.createElement(EventListItemControlsContainer, {
14769
+ return /*#__PURE__*/React.createElement(EventListItemControlsContainer, {
14770
14770
  height: height,
14771
14771
  width: width
14772
- }, /*#__PURE__*/React$1.createElement(Period, {
14772
+ }, /*#__PURE__*/React.createElement(Period, {
14773
14773
  className: "Period"
14774
- }, period), /*#__PURE__*/React$1.createElement(EventName, {
14774
+ }, period), /*#__PURE__*/React.createElement(EventName, {
14775
14775
  className: "EventName"
14776
- }, eventName), /*#__PURE__*/React$1.createElement(SelectButtonContainer, null, /*#__PURE__*/React$1.createElement(LinkButton, {
14776
+ }, eventName), /*#__PURE__*/React.createElement(SelectButtonContainer, null, /*#__PURE__*/React.createElement(LinkButton, {
14777
14777
  size: "medium",
14778
14778
  text: "Select",
14779
14779
  rightIcon: "Select",
@@ -14841,11 +14841,11 @@ const EventList = props => {
14841
14841
  } = props;
14842
14842
  const displayEventsItems = () => {
14843
14843
  if (eventsData && eventsData.length > 0) {
14844
- return /*#__PURE__*/React$1.createElement(EventItemsContainer, {
14844
+ return /*#__PURE__*/React.createElement(EventItemsContainer, {
14845
14845
  id: "EventItemsContainer"
14846
- }, eventsData?.map(item => /*#__PURE__*/React$1.createElement(OneEventItemContainer, {
14846
+ }, eventsData?.map(item => /*#__PURE__*/React.createElement(OneEventItemContainer, {
14847
14847
  id: "OneEventItemContainer"
14848
- }, /*#__PURE__*/React$1.createElement(EventListItem, {
14848
+ }, /*#__PURE__*/React.createElement(EventListItem, {
14849
14849
  height: itemHeight,
14850
14850
  width: width / 3,
14851
14851
  eventName: item.eventName,
@@ -14861,11 +14861,11 @@ const EventList = props => {
14861
14861
  };
14862
14862
 
14863
14863
  //= ======================================== MAIN RETURN ====================================
14864
- return /*#__PURE__*/React$1.createElement(MainContainer$4, {
14864
+ return /*#__PURE__*/React.createElement(MainContainer$4, {
14865
14865
  id: "MainContainer",
14866
14866
  height: height,
14867
14867
  width: width
14868
- }, /*#__PURE__*/React$1.createElement(PanelContainer$1, {
14868
+ }, /*#__PURE__*/React.createElement(PanelContainer$1, {
14869
14869
  id: "PanelContainer"
14870
14870
  }, displayEventsItems()));
14871
14871
  //= ======================================== MAIN RETURN END====================================
@@ -15159,27 +15159,27 @@ const BannerEventBox = props => {
15159
15159
  switch (banner) {
15160
15160
  case "Stop&Shop":
15161
15161
  return {
15162
- icon: /*#__PURE__*/React$1.createElement(StopAndShopNewIcon, null),
15162
+ icon: /*#__PURE__*/React.createElement(StopAndShopNewIcon, null),
15163
15163
  name: "Stop&Shop"
15164
15164
  };
15165
15165
  case "Food Lion":
15166
15166
  return {
15167
- icon: /*#__PURE__*/React$1.createElement(FoodLionNewIcon, null),
15167
+ icon: /*#__PURE__*/React.createElement(FoodLionNewIcon, null),
15168
15168
  name: "Food Lion"
15169
15169
  };
15170
15170
  case "Giant Food":
15171
15171
  return {
15172
- icon: /*#__PURE__*/React$1.createElement(GiantFoodNewIcon, null),
15172
+ icon: /*#__PURE__*/React.createElement(GiantFoodNewIcon, null),
15173
15173
  name: "Giant Food"
15174
15174
  };
15175
15175
  case "The Giant Company":
15176
15176
  return {
15177
- icon: /*#__PURE__*/React$1.createElement(TheGiantCompanyIcon$1, null),
15177
+ icon: /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null),
15178
15178
  name: "The Giant Company"
15179
15179
  };
15180
15180
  case "Hannaford":
15181
15181
  return {
15182
- icon: /*#__PURE__*/React$1.createElement(HannafordNewIcon, null),
15182
+ icon: /*#__PURE__*/React.createElement(HannafordNewIcon, null),
15183
15183
  name: "Hannaford"
15184
15184
  };
15185
15185
  default:
@@ -15189,18 +15189,18 @@ const BannerEventBox = props => {
15189
15189
  const onInfoClickHandler = event => {
15190
15190
  onInfoClick(event);
15191
15191
  };
15192
- return /*#__PURE__*/React$1.createElement(MainContainer$2, {
15192
+ return /*#__PURE__*/React.createElement(MainContainer$2, {
15193
15193
  height: height,
15194
15194
  width: width
15195
- }, /*#__PURE__*/React$1.createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React$1.createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React$1.createElement(Block, null, /*#__PURE__*/React$1.createElement(Headline, null, "Event Description"), /*#__PURE__*/React$1.createElement(Text, null, description)), /*#__PURE__*/React$1.createElement(Block, null, /*#__PURE__*/React$1.createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React$1.createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React$1.createElement(ButtonWrap, null, /*#__PURE__*/React$1.createElement(Button, {
15195
+ }, /*#__PURE__*/React.createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React.createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React.createElement(Block, null, /*#__PURE__*/React.createElement(Headline, null, "Event Description"), /*#__PURE__*/React.createElement(Text, null, description)), /*#__PURE__*/React.createElement(Block, null, /*#__PURE__*/React.createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React.createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React.createElement(ButtonWrap, null, /*#__PURE__*/React.createElement(Button, {
15196
15196
  leftIcon: "Eye",
15197
15197
  onClick: () => onInfoClickHandler(banner),
15198
15198
  text: buttonText,
15199
15199
  type: "secondary",
15200
15200
  disabled: disabled
15201
- })), /*#__PURE__*/React$1.createElement(DetailsWrapper, null, data?.map((item, index) => item && /*#__PURE__*/React$1.createElement(React$1.Fragment, {
15201
+ })), /*#__PURE__*/React.createElement(DetailsWrapper, null, data?.map((item, index) => item && /*#__PURE__*/React.createElement(React.Fragment, {
15202
15202
  key: item.name
15203
- }, /*#__PURE__*/React$1.createElement(KeyBlock, null, /*#__PURE__*/React$1.createElement(Key, null, item.name), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement(Count, null, item.items)), index !== data.length - 1 && /*#__PURE__*/React$1.createElement(Seperator, null)))));
15203
+ }, /*#__PURE__*/React.createElement(KeyBlock, null, /*#__PURE__*/React.createElement(Key, null, item.name), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Count, null, item.items)), index !== data.length - 1 && /*#__PURE__*/React.createElement(Seperator, null)))));
15204
15204
  };
15205
15205
  BannerEventBox.propTypes = {
15206
15206
  width: PropTypes.string,
@@ -15264,45 +15264,45 @@ const BannerEventBoxList = props => {
15264
15264
  const bannersIcon = () => {
15265
15265
  switch (retailer) {
15266
15266
  case 'StopAndShop':
15267
- return /*#__PURE__*/React$1.createElement(StopAndShopNewIcon, null);
15267
+ return /*#__PURE__*/React.createElement(StopAndShopNewIcon, null);
15268
15268
  case 'FoodLion':
15269
- return /*#__PURE__*/React$1.createElement(FoodLionNewIcon, null);
15269
+ return /*#__PURE__*/React.createElement(FoodLionNewIcon, null);
15270
15270
  case 'GiantFood':
15271
- return /*#__PURE__*/React$1.createElement(GiantFoodNewIcon, null);
15271
+ return /*#__PURE__*/React.createElement(GiantFoodNewIcon, null);
15272
15272
  case 'TheGiantCompany':
15273
- return /*#__PURE__*/React$1.createElement(TheGiantCompanyIcon$1, null);
15273
+ return /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null);
15274
15274
  case 'Hannaford':
15275
- return /*#__PURE__*/React$1.createElement(HannafordNewIcon, null);
15275
+ return /*#__PURE__*/React.createElement(HannafordNewIcon, null);
15276
15276
  default:
15277
15277
  return null;
15278
15278
  }
15279
15279
  };
15280
- return /*#__PURE__*/React$1.createElement(CollapseMenuItemMainContainer, {
15280
+ return /*#__PURE__*/React.createElement(CollapseMenuItemMainContainer, {
15281
15281
  className: className
15282
- }, /*#__PURE__*/React$1.createElement(CollapseMenuItemContainer, {
15282
+ }, /*#__PURE__*/React.createElement(CollapseMenuItemContainer, {
15283
15283
  onClick: () => handleToggle()
15284
- }, showLoader ? /*#__PURE__*/React$1.createElement(LoaderWrapper, {
15284
+ }, showLoader ? /*#__PURE__*/React.createElement(LoaderWrapper, {
15285
15285
  id: "LoaderWrapper"
15286
- }, /*#__PURE__*/React$1.createElement("span", null, "Processing Data"), /*#__PURE__*/React$1.createElement(Loader, null)) : /*#__PURE__*/React$1.createElement(MainDetails, null, !cardsContent && /*#__PURE__*/React$1.createElement(BannerIcon, null, bannersIcon()), showEventDetails ? /*#__PURE__*/React$1.createElement(SubDetails, null, eventName, ' ', eventName !== '' && eventType !== '' && /*#__PURE__*/React$1.createElement(ProductName, null, "|"), ' ', eventType, count && /*#__PURE__*/React$1.createElement(ProductName, null, ': ', count, ' ', count > 1 ? 'Products' : 'Product')) : ' '), /*#__PURE__*/React$1.createElement(ToggleContainer, null, IsItemOpen ? /*#__PURE__*/React$1.createElement(LinkButton, {
15286
+ }, /*#__PURE__*/React.createElement("span", null, "Processing Data"), /*#__PURE__*/React.createElement(Loader, null)) : /*#__PURE__*/React.createElement(MainDetails, null, !cardsContent && /*#__PURE__*/React.createElement(BannerIcon, null, bannersIcon()), showEventDetails ? /*#__PURE__*/React.createElement(SubDetails, null, eventName, ' ', eventName !== '' && eventType !== '' && /*#__PURE__*/React.createElement(ProductName, null, "|"), ' ', eventType, count && /*#__PURE__*/React.createElement(ProductName, null, ': ', count, ' ', count > 1 ? 'Products' : 'Product')) : ' '), /*#__PURE__*/React.createElement(ToggleContainer, null, IsItemOpen ? /*#__PURE__*/React.createElement(LinkButton, {
15287
15287
  disabled: disableToggle,
15288
15288
  text: linkText,
15289
15289
  leftIcon: "info",
15290
15290
  rightIcon: "arrowdown",
15291
15291
  textColor: toggleColor,
15292
15292
  color: toggleColor
15293
- }) : /*#__PURE__*/React$1.createElement(LinkButton, {
15293
+ }) : /*#__PURE__*/React.createElement(LinkButton, {
15294
15294
  disabled: disableToggle,
15295
15295
  text: linkText,
15296
15296
  leftIcon: "info",
15297
15297
  rightIcon: "arrowright",
15298
15298
  textColor: toggleColor,
15299
15299
  color: toggleColor
15300
- }))), IsItemOpen && /*#__PURE__*/React$1.createElement(CollapseMenuItemContentContainer, {
15300
+ }))), IsItemOpen && /*#__PURE__*/React.createElement(CollapseMenuItemContentContainer, {
15301
15301
  id: "CollapseMenuItemContentContainer"
15302
- }, cardsContent ? /*#__PURE__*/React$1.createElement(MainContainer$3, {
15302
+ }, cardsContent ? /*#__PURE__*/React.createElement(MainContainer$3, {
15303
15303
  width: width,
15304
15304
  height: height
15305
- }, data.map(item => /*#__PURE__*/React$1.createElement(BannerEventBox, {
15305
+ }, data.map(item => /*#__PURE__*/React.createElement(BannerEventBox, {
15306
15306
  key: item?.banner,
15307
15307
  height: "auto",
15308
15308
  width: bannerWidth,
@@ -15313,7 +15313,7 @@ const BannerEventBoxList = props => {
15313
15313
  onInfoClick: () => retailerFile(item?.banner),
15314
15314
  disabled: item?.disabled,
15315
15315
  buttonText: item.buttonText
15316
- })), showDraft && /*#__PURE__*/React$1.createElement(DraftTag$1, null, "DRAFT")) : children));
15316
+ })), showDraft && /*#__PURE__*/React.createElement(DraftTag$1, null, "DRAFT")) : children));
15317
15317
  };
15318
15318
  BannerEventBoxList.propTypes = {
15319
15319
  className: PropTypes.string,
@@ -15466,14 +15466,14 @@ const DialogOverlay = props => {
15466
15466
  modal.close();
15467
15467
  onDialogClose();
15468
15468
  };
15469
- return /*#__PURE__*/React$1.createElement(ModalWrapper, {
15469
+ return /*#__PURE__*/React.createElement(ModalWrapper, {
15470
15470
  className: className
15471
- }, /*#__PURE__*/React$1.createElement(Modal, null, /*#__PURE__*/React$1.createElement(ModalHeader, null, /*#__PURE__*/React$1.createElement(ModalTitle, null, title), /*#__PURE__*/React$1.createElement(ModalClose, {
15471
+ }, /*#__PURE__*/React.createElement(Modal, null, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, title), /*#__PURE__*/React.createElement(ModalClose, {
15472
15472
  type: "button",
15473
15473
  onClick: closeModal
15474
- }, /*#__PURE__*/React$1.createElement(CloseXIcon, {
15474
+ }, /*#__PURE__*/React.createElement(CloseXIcon, {
15475
15475
  fill: "white"
15476
- }))), /*#__PURE__*/React$1.createElement(ModalBody, {
15476
+ }))), /*#__PURE__*/React.createElement(ModalBody, {
15477
15477
  id: "modalBody"
15478
15478
  }, children)));
15479
15479
  };
@@ -25918,44 +25918,44 @@ const CollapseHeader = props => {
25918
25918
  const getRetailerIcon = retailerName => {
25919
25919
  switch (retailerName) {
25920
25920
  case "Food Lion":
25921
- return /*#__PURE__*/React$1.createElement(RetailerIconContainer, {
25921
+ return /*#__PURE__*/React.createElement(RetailerIconContainer, {
25922
25922
  id: "RetailerIconContainer"
25923
- }, /*#__PURE__*/React$1.createElement(FoodLionIcon, {
25923
+ }, /*#__PURE__*/React.createElement(FoodLionIcon, {
25924
25924
  width: "90",
25925
25925
  height: "20"
25926
25926
  }), "\xA0");
25927
25927
  case "Hannaford":
25928
- return /*#__PURE__*/React$1.createElement(RetailerIconContainer, {
25928
+ return /*#__PURE__*/React.createElement(RetailerIconContainer, {
25929
25929
  id: "RetailerIconContainer"
25930
- }, /*#__PURE__*/React$1.createElement(HannafordIcon, {
25930
+ }, /*#__PURE__*/React.createElement(HannafordIcon, {
25931
25931
  width: "90",
25932
25932
  height: "20"
25933
25933
  }), "\xA0");
25934
25934
  case "Giant Food":
25935
- return /*#__PURE__*/React$1.createElement(RetailerIconContainer, {
25935
+ return /*#__PURE__*/React.createElement(RetailerIconContainer, {
25936
25936
  id: "RetailerIconContainer"
25937
- }, /*#__PURE__*/React$1.createElement(GiantFoodIcon, {
25937
+ }, /*#__PURE__*/React.createElement(GiantFoodIcon, {
25938
25938
  width: "60",
25939
25939
  height: "20"
25940
25940
  }), "\xA0");
25941
25941
  case "The Giant Company":
25942
- return /*#__PURE__*/React$1.createElement(RetailerIconContainer, {
25942
+ return /*#__PURE__*/React.createElement(RetailerIconContainer, {
25943
25943
  id: "RetailerIconContainer"
25944
- }, /*#__PURE__*/React$1.createElement(TheGiantCompanyIcon, {
25944
+ }, /*#__PURE__*/React.createElement(TheGiantCompanyIcon, {
25945
25945
  width: "60",
25946
25946
  height: "20"
25947
25947
  }), "\xA0");
25948
25948
  case "Stop&Shop":
25949
- return /*#__PURE__*/React$1.createElement(RetailerIconContainer, {
25949
+ return /*#__PURE__*/React.createElement(RetailerIconContainer, {
25950
25950
  id: "RetailerIconContainer"
25951
- }, /*#__PURE__*/React$1.createElement(StopAndShopIcon, {
25951
+ }, /*#__PURE__*/React.createElement(StopAndShopIcon, {
25952
25952
  width: "90",
25953
25953
  height: "20"
25954
25954
  }), "\xA0");
25955
25955
  default:
25956
- return /*#__PURE__*/React$1.createElement(RetailerIconContainer, {
25956
+ return /*#__PURE__*/React.createElement(RetailerIconContainer, {
25957
25957
  id: "RetailerIconContainer"
25958
- }, retailerName, retailerName && /*#__PURE__*/React$1.createElement(FieldsDelimiter, {
25958
+ }, retailerName, retailerName && /*#__PURE__*/React.createElement(FieldsDelimiter, {
25959
25959
  className: "FieldsDelimiter"
25960
25960
  }, " | "));
25961
25961
  }
@@ -25981,28 +25981,28 @@ const CollapseHeader = props => {
25981
25981
  } = viewCreativeContainerRef.current;
25982
25982
  return (offsetTop + 33).toString().concat("", "px");
25983
25983
  };
25984
- return /*#__PURE__*/React$1.createElement(MainContainer$1, {
25984
+ return /*#__PURE__*/React.createElement(MainContainer$1, {
25985
25985
  id: "CollapseHeader",
25986
25986
  className: className,
25987
25987
  height: height,
25988
25988
  width: width,
25989
25989
  textcolor: textcolor
25990
- }, /*#__PURE__*/React$1.createElement(PanelContainer, {
25990
+ }, /*#__PURE__*/React.createElement(PanelContainer, {
25991
25991
  id: "PanelContainer"
25992
- }, /*#__PURE__*/React$1.createElement(EventNameAndViewCreativeContainer, {
25992
+ }, /*#__PURE__*/React.createElement(EventNameAndViewCreativeContainer, {
25993
25993
  id: "EventNameAndViewCreativeContainer"
25994
- }, /*#__PURE__*/React$1.createElement(EventNameViewCreativeSubContainer, {
25994
+ }, /*#__PURE__*/React.createElement(EventNameViewCreativeSubContainer, {
25995
25995
  id: "EventNameViewCreativeSubContainer"
25996
- }, /*#__PURE__*/React$1.createElement(ViewCreativeButtonAndListBoxContainer, {
25996
+ }, /*#__PURE__*/React.createElement(ViewCreativeButtonAndListBoxContainer, {
25997
25997
  id: "ViewCreativeButtonAndListBoxContainer"
25998
- }, showViewCreativeButton && /*#__PURE__*/React$1.createElement(Button, {
25998
+ }, showViewCreativeButton && /*#__PURE__*/React.createElement(Button, {
25999
25999
  leftIcon: "Eye",
26000
26000
  onClick: viewCreativeOnClickHandler,
26001
26001
  text: buttonText,
26002
26002
  type: "secondary",
26003
26003
  disabled: disabled,
26004
26004
  size: "small"
26005
- }), viewCreativeListBoxOpenedState && /*#__PURE__*/React$1.createElement(ViewCreativeListBoxContainer, {
26005
+ }), viewCreativeListBoxOpenedState && /*#__PURE__*/React.createElement(ViewCreativeListBoxContainer, {
26006
26006
  id: "ViewCreativeListBoxContainer",
26007
26007
  top: getViewCreativeContainerTop(),
26008
26008
  left: getViewCreativeContainerLeft(),
@@ -26011,59 +26011,59 @@ const CollapseHeader = props => {
26011
26011
  onMouseLeave: () => {
26012
26012
  setViewCreativeListBoxOpenedState(false);
26013
26013
  }
26014
- }))), showDraft && /*#__PURE__*/React$1.createElement(DraftTag, null, "DRAFT")), /*#__PURE__*/React$1.createElement(FilterValuesContainer, {
26014
+ }))), showDraft && /*#__PURE__*/React.createElement(DraftTag, null, "DRAFT")), /*#__PURE__*/React.createElement(FilterValuesContainer, {
26015
26015
  id: "FilterValuesContainer"
26016
- }, showRetailerIcon && /*#__PURE__*/React$1.createElement(Retailer, {
26016
+ }, showRetailerIcon && /*#__PURE__*/React.createElement(Retailer, {
26017
26017
  id: "Retailer"
26018
- }, getRetailerIcon(data.retailer)), /*#__PURE__*/React$1.createElement(FilterValue, {
26018
+ }, getRetailerIcon(data.retailer)), /*#__PURE__*/React.createElement(FilterValue, {
26019
26019
  className: "FilterValue"
26020
- }, data.eventType), data.externalEventDescription && data.externalEventDescription !== "" && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(FieldsDelimiter, {
26020
+ }, data.eventType), data.externalEventDescription && data.externalEventDescription !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
26021
26021
  className: "FieldsDelimiter"
26022
- }, " ", "|", " "), /*#__PURE__*/React$1.createElement(FilterValue, {
26022
+ }, " ", "|", " "), /*#__PURE__*/React.createElement(FilterValue, {
26023
26023
  className: "FilterValue"
26024
- }, data.externalEventDescription)), data.externalEventID && data.externalEventID !== "" && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(FieldsDelimiter, {
26024
+ }, data.externalEventDescription)), data.externalEventID && data.externalEventID !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
26025
26025
  className: "FieldsDelimiter"
26026
- }, " | "), /*#__PURE__*/React$1.createElement(FilterValue, {
26026
+ }, " | "), /*#__PURE__*/React.createElement(FilterValue, {
26027
26027
  className: "FilterValue"
26028
- }, data.externalEventID)), data.storeType && data.storeType !== "" && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(FieldsDelimiter, {
26028
+ }, data.externalEventID)), data.storeType && data.storeType !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
26029
26029
  className: "FieldsDelimiter"
26030
- }, " | "), /*#__PURE__*/React$1.createElement(FilterValue, {
26030
+ }, " | "), /*#__PURE__*/React.createElement(FilterValue, {
26031
26031
  className: "FilterValue"
26032
- }, data.storeType)), data.category && data.category !== "" && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(FieldsDelimiter, {
26032
+ }, data.storeType)), data.category && data.category !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
26033
26033
  className: "FieldsDelimiter"
26034
- }, " | "), /*#__PURE__*/React$1.createElement(FilterValue, {
26034
+ }, " | "), /*#__PURE__*/React.createElement(FilterValue, {
26035
26035
  className: "FilterValue"
26036
- }, data.category)), data.supplier && data.supplier !== "" && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(FieldsDelimiter, {
26036
+ }, data.category)), data.supplier && data.supplier !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
26037
26037
  className: "FieldsDelimiter"
26038
- }, " | "), /*#__PURE__*/React$1.createElement(FilterValue, {
26038
+ }, " | "), /*#__PURE__*/React.createElement(FilterValue, {
26039
26039
  className: "FilterValue"
26040
- }, data.supplier)), data.brand && data.brand !== "" && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(FieldsDelimiter, {
26040
+ }, data.supplier)), data.brand && data.brand !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
26041
26041
  className: "FieldsDelimiter"
26042
- }, " | "), /*#__PURE__*/React$1.createElement(FilterValue, {
26042
+ }, " | "), /*#__PURE__*/React.createElement(FilterValue, {
26043
26043
  className: "FilterValue"
26044
- }, data.brand))), /*#__PURE__*/React$1.createElement(FilterValuesContainer, null, /*#__PURE__*/React$1.createElement(ObjectiesContainer, {
26044
+ }, data.brand))), /*#__PURE__*/React.createElement(FilterValuesContainer, null, /*#__PURE__*/React.createElement(ObjectiesContainer, {
26045
26045
  id: "ObjectiesContainer",
26046
26046
  showPeriodIcon: showPeriodIcon
26047
- }, /*#__PURE__*/React$1.createElement(ObjectivesDescription, {
26047
+ }, /*#__PURE__*/React.createElement(ObjectivesDescription, {
26048
26048
  id: "ObjectivesDescription"
26049
- }, /*#__PURE__*/React$1.createElement(ObjectivesTitle, {
26049
+ }, /*#__PURE__*/React.createElement(ObjectivesTitle, {
26050
26050
  id: "ObjectivesTitle"
26051
- }, data?.eventDescription?.length > 0 ? descriptionTitle : ""), data.eventDescription))), /*#__PURE__*/React$1.createElement(ObjectiesAndPeriodsContainer, {
26051
+ }, data?.eventDescription?.length > 0 ? descriptionTitle : ""), data.eventDescription))), /*#__PURE__*/React.createElement(ObjectiesAndPeriodsContainer, {
26052
26052
  id: "ObjectiesAndPeriodsContainer"
26053
- }, /*#__PURE__*/React$1.createElement(ObjectiesContainer, {
26053
+ }, /*#__PURE__*/React.createElement(ObjectiesContainer, {
26054
26054
  id: "ObjectiesContainer",
26055
26055
  showPeriodIcon: showPeriodIcon
26056
- }, /*#__PURE__*/React$1.createElement(ObjectivesDescription, {
26056
+ }, /*#__PURE__*/React.createElement(ObjectivesDescription, {
26057
26057
  id: "ObjectivesDescription"
26058
- }, /*#__PURE__*/React$1.createElement(ObjectivesTitle, {
26058
+ }, /*#__PURE__*/React.createElement(ObjectivesTitle, {
26059
26059
  id: "ObjectivesTitle"
26060
- }, data?.objectivesDescription?.length > 0 ? "Objectives: " : ""), data.objectivesDescription)), showPeriodIcon && /*#__PURE__*/React$1.createElement(PeriodsContainer, {
26060
+ }, data?.objectivesDescription?.length > 0 ? "Objectives: " : ""), data.objectivesDescription)), showPeriodIcon && /*#__PURE__*/React.createElement(PeriodsContainer, {
26061
26061
  id: "PeriodsContainer"
26062
- }, /*#__PURE__*/React$1.createElement(SubLineContainer, {
26062
+ }, /*#__PURE__*/React.createElement(SubLineContainer, {
26063
26063
  id: "SubLineContainer"
26064
- }, data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React$1.createElement(PeriodLabel, {
26064
+ }, data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React.createElement(PeriodLabel, {
26065
26065
  id: "PeriodLabel"
26066
- }, datesTitle, " ") : "", data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React$1.createElement(PeriodValue, {
26066
+ }, datesTitle, " ") : "", data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React.createElement(PeriodValue, {
26067
26067
  id: "PeriodValue"
26068
26068
  }, data.eventDatesValue) : "")))));
26069
26069
  };
@@ -26264,22 +26264,21 @@ const DeleteIcon = dt.div`
26264
26264
  position: absolute;
26265
26265
  `;
26266
26266
 
26267
- const QuickFilterDropdownSingle = _ref => {
26268
- let {
26269
- label,
26270
- hoverColor,
26271
- options,
26272
- selectedValue,
26273
- placeHolder,
26274
- onChange,
26275
- disabled,
26276
- width,
26277
- error,
26278
- errorMessage,
26279
- xIconShow,
26280
- labelColor,
26281
- showLabelOnTop
26282
- } = _ref;
26267
+ const QuickFilterDropdownSingle = ({
26268
+ label,
26269
+ hoverColor,
26270
+ options,
26271
+ selectedValue,
26272
+ placeHolder,
26273
+ onChange,
26274
+ disabled,
26275
+ width,
26276
+ error,
26277
+ errorMessage,
26278
+ xIconShow,
26279
+ labelColor,
26280
+ showLabelOnTop
26281
+ }) => {
26283
26282
  const [isFocused, setIsFocused] = useState(false);
26284
26283
  const [showOptions, setShowOptions] = useState(false);
26285
26284
  const [inputValue, setInputValue] = useState("");
@@ -26299,7 +26298,7 @@ const QuickFilterDropdownSingle = _ref => {
26299
26298
  if (index !== lastIndex) {
26300
26299
  parts.push(text.slice(lastIndex, index));
26301
26300
  }
26302
- parts.push(/*#__PURE__*/React$1.createElement("span", {
26301
+ parts.push(/*#__PURE__*/React.createElement("span", {
26303
26302
  key: index,
26304
26303
  className: "highlight"
26305
26304
  }, text.slice(index, index + highlight.length)));
@@ -26384,25 +26383,25 @@ const QuickFilterDropdownSingle = _ref => {
26384
26383
  newValue: []
26385
26384
  });
26386
26385
  };
26387
- return /*#__PURE__*/React$1.createElement(QuickFilterInput, {
26386
+ return /*#__PURE__*/React.createElement(QuickFilterInput, {
26388
26387
  width: width,
26389
26388
  onMouseEnter: () => setHoverInputContainer(true),
26390
26389
  onMouseLeave: () => setHoverInputContainer(false)
26391
- }, /*#__PURE__*/React$1.createElement(InputContainer$1, {
26390
+ }, /*#__PURE__*/React.createElement(InputContainer$1, {
26392
26391
  className: "InputContainer",
26393
26392
  labelColor: labelColor,
26394
26393
  hoverColor: hoverColor,
26395
26394
  disabled: disabled,
26396
26395
  error: error,
26397
26396
  isFocused: isFocused
26398
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$1, {
26397
+ }, /*#__PURE__*/React.createElement(InputSubContainer$1, {
26399
26398
  className: "InputSubContainer",
26400
26399
  ref: containerRef,
26401
26400
  labelColor: labelColor,
26402
26401
  disabled: disabled,
26403
26402
  error: error,
26404
26403
  onClick: handleLabelClick
26405
- }, /*#__PURE__*/React$1.createElement(Label$1, {
26404
+ }, /*#__PURE__*/React.createElement(Label$1, {
26406
26405
  className: "Label",
26407
26406
  isFocused: isFocused,
26408
26407
  labelColor: labelColor,
@@ -26412,7 +26411,7 @@ const QuickFilterDropdownSingle = _ref => {
26412
26411
  errorMessage: errorMessage,
26413
26412
  onClick: handleLabelClick,
26414
26413
  showLabelOnTop: showLabelOnTop
26415
- }, label), /*#__PURE__*/React$1.createElement(StyledInput$1, {
26414
+ }, label), /*#__PURE__*/React.createElement(StyledInput$1, {
26416
26415
  className: "StyledInput",
26417
26416
  ref: inputRef,
26418
26417
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -26422,37 +26421,37 @@ const QuickFilterDropdownSingle = _ref => {
26422
26421
  placeholder: placeHolder,
26423
26422
  error: error,
26424
26423
  isFocused: isFocused
26425
- })), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React$1.createElement(DeleteIcon, {
26424
+ })), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(DeleteIcon, {
26426
26425
  className: "IconContainer",
26427
26426
  onClick: handleClearClick
26428
- }, /*#__PURE__*/React$1.createElement(CloseXIcon, {
26427
+ }, /*#__PURE__*/React.createElement(CloseXIcon, {
26429
26428
  width: "12px",
26430
26429
  height: "12px",
26431
26430
  fill: "#B1B1B1"
26432
- })), /*#__PURE__*/React$1.createElement(IconContainer$2, {
26431
+ })), /*#__PURE__*/React.createElement(IconContainer$2, {
26433
26432
  className: "IconContainer",
26434
26433
  onClick: handleOpenCloseMenuClick
26435
- }, showOptions ? /*#__PURE__*/React$1.createElement(MenuItemUpIcon, {
26434
+ }, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
26436
26435
  width: "12px",
26437
26436
  height: "12px",
26438
26437
  color: "#B1B1B1"
26439
- }) : /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
26438
+ }) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
26440
26439
  width: "12px",
26441
26440
  height: "12px",
26442
26441
  color: "#B1B1B1"
26443
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$1, {
26442
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer$1, {
26444
26443
  className: "OptionsContainer",
26445
26444
  onMouseEnter: () => setHoverOptionsContainer(true),
26446
26445
  onMouseLeave: () => setHoverOptionsContainer(false),
26447
26446
  showoptions: showOptions,
26448
26447
  disabled: disabled,
26449
26448
  filteredoptions: filteredoptions
26450
- }, /*#__PURE__*/React$1.createElement(OptionsSubContainer$1, {
26449
+ }, /*#__PURE__*/React.createElement(OptionsSubContainer$1, {
26451
26450
  className: "OptionsSubContainer",
26452
26451
  showoptions: showOptions,
26453
26452
  disabled: disabled,
26454
26453
  filteredoptions: filteredoptions
26455
- }, filteredoptions.map(option => /*#__PURE__*/React$1.createElement(OptionItem$1, {
26454
+ }, filteredoptions.map(option => /*#__PURE__*/React.createElement(OptionItem$1, {
26456
26455
  className: "OptionItem",
26457
26456
  key: option.value,
26458
26457
  onClick: () => toggleOption(option),
@@ -26677,24 +26676,23 @@ const IconContainer$1 = dt.div`
26677
26676
  cursor: pointer;
26678
26677
  `;
26679
26678
 
26680
- const QuickFilterDropdownMultiSelection = _ref => {
26681
- let {
26682
- label,
26683
- labelEmptyValue,
26684
- options,
26685
- selectedValue,
26686
- placeHolder,
26687
- onChange,
26688
- required,
26689
- disabled,
26690
- width,
26691
- error,
26692
- errorMessage,
26693
- labelColor,
26694
- xIconShow,
26695
- checkBoxColor,
26696
- showLabelOnTop
26697
- } = _ref;
26679
+ const QuickFilterDropdownMultiSelection = ({
26680
+ label,
26681
+ labelEmptyValue,
26682
+ options,
26683
+ selectedValue,
26684
+ placeHolder,
26685
+ onChange,
26686
+ required,
26687
+ disabled,
26688
+ width,
26689
+ error,
26690
+ errorMessage,
26691
+ labelColor,
26692
+ xIconShow,
26693
+ checkBoxColor,
26694
+ showLabelOnTop
26695
+ }) => {
26698
26696
  const [isFocused, setIsFocused] = useState(false);
26699
26697
  const [showOptions, setShowOptions] = useState(false);
26700
26698
  const [inputValue, setInputValue] = useState('');
@@ -26737,7 +26735,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
26737
26735
  if (index !== lastIndex) {
26738
26736
  parts.push(text.slice(lastIndex, index));
26739
26737
  }
26740
- parts.push(/*#__PURE__*/React$1.createElement("span", {
26738
+ parts.push(/*#__PURE__*/React.createElement("span", {
26741
26739
  key: index,
26742
26740
  className: "highlight"
26743
26741
  }, text.slice(index, index + highlight.length)));
@@ -26804,9 +26802,9 @@ const QuickFilterDropdownMultiSelection = _ref => {
26804
26802
  });
26805
26803
  };
26806
26804
  const displaySelectedOptions = () => {
26807
- const content = /*#__PURE__*/React$1.createElement(SelectedOptionsContainer, {
26805
+ const content = /*#__PURE__*/React.createElement(SelectedOptionsContainer, {
26808
26806
  className: "SelectedOptionsContainer"
26809
- }, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React$1.createElement(SelectedOptionItem, {
26807
+ }, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem, {
26810
26808
  className: "SelectedOptionItem",
26811
26809
  key: option.value,
26812
26810
  onClick: () => {
@@ -26816,11 +26814,11 @@ const QuickFilterDropdownMultiSelection = _ref => {
26816
26814
  inputRef?.current?.focus();
26817
26815
  }
26818
26816
  }
26819
- }, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React$1.createElement(CloseXIcon, {
26817
+ }, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React.createElement(CloseXIcon, {
26820
26818
  width: "8px",
26821
26819
  height: "8px",
26822
26820
  fill: "#212121"
26823
- })) : ' '), selectedOptions.length > 2 ? /*#__PURE__*/React$1.createElement(SelectedOptionItem, {
26821
+ })) : ' '), selectedOptions.length > 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem, {
26824
26822
  className: "SelectedOptionItem"
26825
26823
  }, selectedOptions.length - 2, "+") : '');
26826
26824
  return content;
@@ -26842,7 +26840,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
26842
26840
  return '';
26843
26841
  }
26844
26842
  if (required) {
26845
- return /*#__PURE__*/React$1.createElement("span", {
26843
+ return /*#__PURE__*/React.createElement("span", {
26846
26844
  style: {
26847
26845
  color: 'red'
26848
26846
  }
@@ -26850,25 +26848,25 @@ const QuickFilterDropdownMultiSelection = _ref => {
26850
26848
  }
26851
26849
  return '';
26852
26850
  };
26853
- return /*#__PURE__*/React$1.createElement(DropdownWrapper, {
26851
+ return /*#__PURE__*/React.createElement(DropdownWrapper, {
26854
26852
  className: "DropdownWrapper",
26855
26853
  width: width,
26856
26854
  onMouseEnter: () => setHoverInputContainer(true),
26857
26855
  onMouseLeave: () => setHoverInputContainer(false)
26858
- }, /*#__PURE__*/React$1.createElement(InputContainer, {
26856
+ }, /*#__PURE__*/React.createElement(InputContainer, {
26859
26857
  className: "InputContainer",
26860
26858
  labelColor: labelColor,
26861
26859
  disabled: disabled,
26862
26860
  error: error,
26863
26861
  isFocused: isFocused
26864
- }, /*#__PURE__*/React$1.createElement(InputSubContainer, {
26862
+ }, /*#__PURE__*/React.createElement(InputSubContainer, {
26865
26863
  className: "InputSubContainer",
26866
26864
  ref: containerRef,
26867
26865
  labelColor: labelColor,
26868
26866
  disabled: disabled,
26869
26867
  error: error,
26870
26868
  onClick: handleLabelClick
26871
- }, /*#__PURE__*/React$1.createElement(Label, {
26869
+ }, /*#__PURE__*/React.createElement(Label, {
26872
26870
  className: "Label",
26873
26871
  isFocused: isFocused,
26874
26872
  labelColor: labelColor,
@@ -26878,7 +26876,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
26878
26876
  errorMessage: errorMessage,
26879
26877
  onClick: handleLabelClick,
26880
26878
  showLabelOnTop: showLabelOnTop
26881
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput, {
26879
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React.createElement(StyledInput, {
26882
26880
  className: "StyledInput",
26883
26881
  ref: inputRef,
26884
26882
  value: inputValue,
@@ -26890,48 +26888,48 @@ const QuickFilterDropdownMultiSelection = _ref => {
26890
26888
  placeholder: isFocused ? placeHolder || 'Type to search...' : '',
26891
26889
  error: error,
26892
26890
  isFocused: isFocused
26893
- }) : ' '), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React$1.createElement(IconContainer$1, {
26891
+ }) : ' '), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(IconContainer$1, {
26894
26892
  className: "IconContainer",
26895
26893
  onClick: handleClearClick
26896
- }, /*#__PURE__*/React$1.createElement(CloseXIcon, {
26894
+ }, /*#__PURE__*/React.createElement(CloseXIcon, {
26897
26895
  width: "12px",
26898
26896
  height: "12px",
26899
26897
  fill: "#B1B1B1"
26900
- })), /*#__PURE__*/React$1.createElement(IconContainer$1, {
26898
+ })), /*#__PURE__*/React.createElement(IconContainer$1, {
26901
26899
  className: "IconContainer",
26902
26900
  onClick: handleOpenCloseMenuClick
26903
- }, showOptions ? /*#__PURE__*/React$1.createElement(MenuItemUpIcon, {
26901
+ }, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
26904
26902
  width: "12px",
26905
26903
  height: "12px",
26906
26904
  color: "#B1B1B1"
26907
- }) : /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
26905
+ }) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
26908
26906
  width: "12px",
26909
26907
  height: "12px",
26910
26908
  color: "#B1B1B1"
26911
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer, {
26909
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer, {
26912
26910
  className: "OptionsContainer",
26913
26911
  onMouseEnter: () => setHoverOptionsContainer(true),
26914
26912
  onMouseLeave: () => setHoverOptionsContainer(false),
26915
26913
  showoptions: showOptions,
26916
26914
  disabled: disabled,
26917
26915
  filteredoptions: filteredoptions
26918
- }, /*#__PURE__*/React$1.createElement(OptionsSubContainer, {
26916
+ }, /*#__PURE__*/React.createElement(OptionsSubContainer, {
26919
26917
  className: "OptionsSubContainer",
26920
26918
  showoptions: showOptions,
26921
26919
  disabled: disabled,
26922
26920
  filteredoptions: filteredoptions
26923
- }, filteredoptions.map(option => /*#__PURE__*/React$1.createElement(OptionItem, {
26921
+ }, filteredoptions.map(option => /*#__PURE__*/React.createElement(OptionItem, {
26924
26922
  className: "OptionItem",
26925
26923
  key: option.value,
26926
26924
  onClick: () => toggleOption(option),
26927
26925
  selected: isDropdowned(option)
26928
- }, highlightText(option.label, inputValue), /*#__PURE__*/React$1.createElement(IconContainer$1, {
26926
+ }, highlightText(option.label, inputValue), /*#__PURE__*/React.createElement(IconContainer$1, {
26929
26927
  className: "IconContainer"
26930
- }, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React$1.createElement(CheckBoxCheckedIcon, {
26928
+ }, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React.createElement(CheckBoxCheckedIcon, {
26931
26929
  width: "14px",
26932
26930
  height: "14px",
26933
26931
  color: disabled ? '#888' : checkBoxColor
26934
- }) : /*#__PURE__*/React$1.createElement(CheckBoxNotCheckedIcon, {
26932
+ }) : /*#__PURE__*/React.createElement(CheckBoxNotCheckedIcon, {
26935
26933
  width: "14px",
26936
26934
  height: "14px",
26937
26935
  color: disabled ? '#888' : '#212121'
@@ -27042,42 +27040,48 @@ const QuickFilter = _ref => {
27042
27040
  xIconShow: xIconShow
27043
27041
  }));
27044
27042
  };
27045
- QuickFilter.propTypes = {
27046
- hoverColor: PropTypes.string,
27047
- multipleSelection: PropTypes.bool,
27048
- disabled: PropTypes.bool,
27049
- error: PropTypes.bool,
27050
- errorMessage: PropTypes.string,
27051
- label: PropTypes.string,
27052
- labelColor: PropTypes.string,
27053
- placeHolder: PropTypes.string,
27054
- width: PropTypes.string,
27055
- checkBoxColor: PropTypes.string,
27056
- onChange: PropTypes.func,
27057
- options: PropTypes.arrayOf(PropTypes.shape({
27058
- id: PropTypes.string,
27059
- label: PropTypes.string
27060
- })),
27061
- selectedValue: PropTypes.arrayOf(PropTypes.shape({
27062
- id: PropTypes.string,
27063
- label: PropTypes.string
27064
- }))
27065
- };
27066
- QuickFilter.defaultProps = {
27067
- hoverColor: "#066768",
27068
- multipleSelection: false,
27069
- disabled: false,
27070
- error: false,
27071
- errorMessage: "",
27072
- label: "Unit Type:",
27073
- labelColor: "#066768",
27074
- placeHolder: "Select From List",
27075
- width: "auto",
27076
- checkBoxColor: "#229E38",
27077
- onChange: () => {},
27078
- options: [],
27079
- selectedValue: []
27080
- };
27043
+
27044
+ // QuickFilter.propTypes = {
27045
+ // hoverColor: PropTypes.string,
27046
+ // multipleSelection: PropTypes.bool,
27047
+ // disabled: PropTypes.bool,
27048
+ // error: PropTypes.bool,
27049
+ // errorMessage: PropTypes.string,
27050
+ // label: PropTypes.string,
27051
+ // labelColor: PropTypes.string,
27052
+ // placeHolder: PropTypes.string,
27053
+ // width: PropTypes.string,
27054
+ // checkBoxColor: PropTypes.string,
27055
+ // onChange: PropTypes.func,
27056
+ // options: PropTypes.arrayOf(
27057
+ // PropTypes.shape({
27058
+ // id: PropTypes.string,
27059
+ // label: PropTypes.string,
27060
+ // })
27061
+ // ),
27062
+ // selectedValue: PropTypes.arrayOf(
27063
+ // PropTypes.shape({
27064
+ // id: PropTypes.string,
27065
+ // label: PropTypes.string,
27066
+ // })
27067
+ // ),
27068
+ // };
27069
+
27070
+ // QuickFilter.defaultProps = {
27071
+ // hoverColor: "#066768",
27072
+ // multipleSelection: false,
27073
+ // disabled: false,
27074
+ // error: false,
27075
+ // errorMessage: "",
27076
+ // label: "Unit Type:",
27077
+ // labelColor: "#066768",
27078
+ // placeHolder: "Select From List",
27079
+ // width: "auto",
27080
+ // checkBoxColor: "#229E38",
27081
+ // onChange: () => {},
27082
+ // options: [],
27083
+ // selectedValue: [],
27084
+ // };
27081
27085
 
27082
27086
  var classnames = {exports: {}};
27083
27087
 
@@ -27300,54 +27304,54 @@ const OneColumnContainer = props => {
27300
27304
  useEffect(() => {
27301
27305
  setOffsetWidth(anotherRef?.current?.offsetWidth);
27302
27306
  }, [anotherRef]);
27303
- return /*#__PURE__*/React$1.createElement(StyledContainer, {
27307
+ return /*#__PURE__*/React.createElement(StyledContainer, {
27304
27308
  className: classNames('OneColumnContainer', itemClass, overStyle, draggingStyle, children && droppedStyle, divStyle),
27305
27309
  width: width,
27306
27310
  height: height,
27307
27311
  overflow: overflow
27308
- }, /*#__PURE__*/React$1.createElement(OneColumnContainerMainDiv, {
27312
+ }, /*#__PURE__*/React.createElement(OneColumnContainerMainDiv, {
27309
27313
  className: "OneColumnContainerMainDiv",
27310
27314
  width: width,
27311
27315
  height: height,
27312
27316
  display: display,
27313
27317
  gridTemplateColumns: gridTemplateColumns,
27314
27318
  ref: nodeRef
27315
- }, !isLoading && columnTitle && !hover && /*#__PURE__*/React$1.createElement(ColumnTitle, {
27319
+ }, !isLoading && columnTitle && !hover && /*#__PURE__*/React.createElement(ColumnTitle, {
27316
27320
  className: "ColumnTitle"
27317
- }, columnTitle), !isLoading && showViewByBannerButton && !hover && /*#__PURE__*/React$1.createElement(BannerContainer, {
27321
+ }, columnTitle), !isLoading && showViewByBannerButton && !hover && /*#__PURE__*/React.createElement(BannerContainer, {
27318
27322
  className: "BannerContainer",
27319
27323
  right: disableInfo ? '20px' : '45px'
27320
- }, /*#__PURE__*/React$1.createElement(OutBanner$1, {
27324
+ }, /*#__PURE__*/React.createElement(OutBanner$1, {
27321
27325
  className: "OutBanner",
27322
27326
  onClick: () => onBannerClick({
27323
27327
  eventName: 'onBannerClick'
27324
27328
  })
27325
- }, /*#__PURE__*/React$1.createElement(ExportIcon, null), "By Banner")), !isLoading && !hover && children, !disableInfo && !isLoading && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(IconContainer, {
27329
+ }, /*#__PURE__*/React.createElement(ExportIcon, null), "By Banner")), !isLoading && !hover && children, !disableInfo && !isLoading && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconContainer, {
27326
27330
  className: "IconContainer",
27327
27331
  onMouseEnter: () => setHover(true),
27328
27332
  onMouseLeave: () => setHover(false)
27329
- }, /*#__PURE__*/React$1.createElement(InfoIcon, null)), hover && /*#__PURE__*/React$1.createElement(InfoTextContainer, {
27333
+ }, /*#__PURE__*/React.createElement(InfoIcon, null)), hover && /*#__PURE__*/React.createElement(InfoTextContainer, {
27330
27334
  className: "InfoTextContainer"
27331
- }, infoTitle && /*#__PURE__*/React$1.createElement(InfoTitleLabel, {
27335
+ }, infoTitle && /*#__PURE__*/React.createElement(InfoTitleLabel, {
27332
27336
  className: "InfoTitleLabel",
27333
27337
  dangerouslySetInnerHTML: {
27334
27338
  __html: infoTitle
27335
27339
  }
27336
- }), /*#__PURE__*/React$1.createElement(InfoTextLabel, {
27340
+ }), /*#__PURE__*/React.createElement(InfoTextLabel, {
27337
27341
  className: "InfoTextLabel",
27338
27342
  dangerouslySetInnerHTML: {
27339
27343
  __html: infoText
27340
27344
  }
27341
- }))), isLoading && /*#__PURE__*/React$1.createElement(LoadingDiv, {
27345
+ }))), isLoading && /*#__PURE__*/React.createElement(LoadingDiv, {
27342
27346
  className: "loadingDiv"
27343
- }, /*#__PURE__*/React$1.createElement(SkeletonTheme, {
27347
+ }, /*#__PURE__*/React.createElement(SkeletonTheme, {
27344
27348
  baseColor: "#EAEAEA"
27345
- }, /*#__PURE__*/React$1.createElement(Skeleton, {
27349
+ }, /*#__PURE__*/React.createElement(Skeleton, {
27346
27350
  enableAnimation: true,
27347
27351
  width: (offsetWidth ?? 200) * 0.76,
27348
27352
  height: 45,
27349
27353
  containerClassName: "avatar-skeleton"
27350
- }), /*#__PURE__*/React$1.createElement(Skeleton, {
27354
+ }), /*#__PURE__*/React.createElement(Skeleton, {
27351
27355
  enableAnimation: true,
27352
27356
  count: 4,
27353
27357
  width: (offsetWidth ?? 200) * 0.76,
@@ -27355,6 +27359,46 @@ const OneColumnContainer = props => {
27355
27359
  containerClassName: "avatar-skeleton"
27356
27360
  })))));
27357
27361
  };
27362
+ OneColumnContainer.propTypes = {
27363
+ children: PropTypes.string,
27364
+ display: PropTypes.string,
27365
+ isLoading: PropTypes.bool,
27366
+ gridTemplateColumns: PropTypes.string,
27367
+ itemClass: PropTypes.string,
27368
+ divStyle: PropTypes.string,
27369
+ overStyle: PropTypes.string,
27370
+ draggingStyle: PropTypes.string,
27371
+ droppedStyle: PropTypes.string,
27372
+ width: PropTypes.string,
27373
+ height: PropTypes.string,
27374
+ overflow: PropTypes.string,
27375
+ infoTitle: PropTypes.string,
27376
+ infoText: PropTypes.string,
27377
+ disableInfo: PropTypes.bool,
27378
+ showViewByBannerButton: PropTypes.bool,
27379
+ onBannerClick: PropTypes.func,
27380
+ columnTitle: PropTypes.string
27381
+ };
27382
+ OneColumnContainer.defaultProps = {
27383
+ children: '',
27384
+ display: 'block',
27385
+ isLoading: '',
27386
+ gridTemplateColumns: '',
27387
+ itemClass: '',
27388
+ divStyle: '',
27389
+ overStyle: '',
27390
+ draggingStyle: '',
27391
+ droppedStyle: '',
27392
+ width: '300px',
27393
+ height: '300px',
27394
+ overflow: 'hidden',
27395
+ infoTitle: '',
27396
+ infoText: '',
27397
+ disableInfo: false,
27398
+ showViewByBannerButton: false,
27399
+ onBannerClick: () => {},
27400
+ columnTitle: ''
27401
+ };
27358
27402
 
27359
27403
  const scrollableStyles$3 = `
27360
27404
  overflow-y: auto;
@@ -27455,30 +27499,30 @@ const FormattedValue$2 = props => {
27455
27499
  textcolor,
27456
27500
  isPercent
27457
27501
  } = props;
27458
- return /*#__PURE__*/React$1.createElement(ControlsContainer$6, {
27502
+ return /*#__PURE__*/React.createElement(ControlsContainer$6, {
27459
27503
  className: className || 'FormattedValue_ControlsContainer',
27460
27504
  height: height,
27461
27505
  width: width,
27462
27506
  textcolor: textcolor
27463
- }, /*#__PURE__*/React$1.createElement(Controls$4, {
27507
+ }, /*#__PURE__*/React.createElement(Controls$4, {
27464
27508
  className: "Controls",
27465
27509
  height: height,
27466
27510
  width: width
27467
- }, /*#__PURE__*/React$1.createElement(TitleAndValueContainer$3, {
27511
+ }, /*#__PURE__*/React.createElement(TitleAndValueContainer$3, {
27468
27512
  className: "TitleAndValueContainer"
27469
- }, title ? /*#__PURE__*/React$1.createElement(Title$9, {
27513
+ }, title ? /*#__PURE__*/React.createElement(Title$9, {
27470
27514
  className: "Title",
27471
27515
  width: width
27472
- }, title) : '', showTopValue && /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer$1, {
27516
+ }, title) : '', showTopValue && /*#__PURE__*/React.createElement(CurrencySignAndFormattedValueContainer$1, {
27473
27517
  className: "CurrencySignAndFormattedValueContainer"
27474
- }, /*#__PURE__*/React$1.createElement(FormattedValueText, {
27518
+ }, /*#__PURE__*/React.createElement(FormattedValueText, {
27475
27519
  className: "FormattedValueText",
27476
27520
  width: width
27477
- }, /*#__PURE__*/React$1.createElement(CurrencySignOrPercent, {
27521
+ }, /*#__PURE__*/React.createElement(CurrencySignOrPercent, {
27478
27522
  className: "CurrencySignOrPercent"
27479
- }, currencySign ? getCurrencySign(currencyType, value) : ''), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '', /*#__PURE__*/React$1.createElement(CurrencySignOrPercent, {
27523
+ }, currencySign ? getCurrencySign(currencyType, value) : ''), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '', /*#__PURE__*/React.createElement(CurrencySignOrPercent, {
27480
27524
  className: "CurrencySignOrPercent"
27481
- }, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React$1.createElement(Title$9, {
27525
+ }, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React.createElement(Title$9, {
27482
27526
  className: "Title",
27483
27527
  width: width
27484
27528
  }, subtitle) : '')));
@@ -27692,9 +27736,9 @@ const LegendColorRectangle$1 = dt.div`
27692
27736
  `;
27693
27737
 
27694
27738
  /* eslint-disable no-nested-ternary */
27695
- const ICON_TYPE_SQUARE$1 = 'Square';
27696
- const ICON_TYPE_LEGEND_UNION_ICON$1 = 'LegendUnionIcon';
27697
- const ICON_TYPE_LEGEND_LINE_ICON$1 = 'LegendLineIcon';
27739
+ const ICON_TYPE_SQUARE$2 = 'Square';
27740
+ const ICON_TYPE_LEGEND_UNION_ICON$2 = 'LegendUnionIcon';
27741
+ const ICON_TYPE_LEGEND_LINE_ICON$2 = 'LegendLineIcon';
27698
27742
  const PerformanceAnalyticsLegend = props => {
27699
27743
  const {
27700
27744
  className,
@@ -27702,26 +27746,26 @@ const PerformanceAnalyticsLegend = props => {
27702
27746
  width,
27703
27747
  height
27704
27748
  } = props;
27705
- return /*#__PURE__*/React$1.createElement(ControlsContainer$4, {
27749
+ return /*#__PURE__*/React.createElement(ControlsContainer$4, {
27706
27750
  className: className,
27707
27751
  height: height,
27708
27752
  width: width
27709
- }, legendData?.length > 0 ? /*#__PURE__*/React$1.createElement(Controls$2, {
27753
+ }, legendData?.length > 0 ? /*#__PURE__*/React.createElement(Controls$2, {
27710
27754
  height: height,
27711
27755
  width: width
27712
- }, /*#__PURE__*/React$1.createElement(LegendDataContainer, {
27756
+ }, /*#__PURE__*/React.createElement(LegendDataContainer, {
27713
27757
  id: "LegendDataContainer"
27714
- }, legendData?.map((item, i) => /*#__PURE__*/React$1.createElement(TitleAndIconContainer, {
27758
+ }, legendData?.map((item, i) => /*#__PURE__*/React.createElement(TitleAndIconContainer, {
27715
27759
  key: `${item.title + i}`
27716
- }, item.iconType === ICON_TYPE_SQUARE$1 ? /*#__PURE__*/React$1.createElement(LegendColorRectangle$1, {
27760
+ }, item.iconType === ICON_TYPE_SQUARE$2 ? /*#__PURE__*/React.createElement(LegendColorRectangle$1, {
27717
27761
  color: item.iconColor
27718
- }) : item.iconType === ICON_TYPE_LEGEND_UNION_ICON$1 ? /*#__PURE__*/React$1.createElement(LegendUnionIcon, {
27762
+ }) : item.iconType === ICON_TYPE_LEGEND_UNION_ICON$2 ? /*#__PURE__*/React.createElement(LegendUnionIcon, {
27719
27763
  width: 30,
27720
27764
  height: 30,
27721
27765
  color: item.iconColor
27722
- }) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$1 ? /*#__PURE__*/React$1.createElement(LegendLineIcon, {
27766
+ }) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$2 ? /*#__PURE__*/React.createElement(LegendLineIcon, {
27723
27767
  color: item.iconColor
27724
- }) : '', /*#__PURE__*/React$1.createElement(Title$7, {
27768
+ }) : '', /*#__PURE__*/React.createElement(Title$7, {
27725
27769
  id: "Title",
27726
27770
  width: width
27727
27771
  }, item.title))))) : '');
@@ -27732,7 +27776,7 @@ PerformanceAnalyticsLegend.propTypes = {
27732
27776
  height: PropTypes.string,
27733
27777
  legendData: PropTypes.arrayOf(PropTypes.shape({
27734
27778
  title: PropTypes.string.isRequired,
27735
- iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$1, ICON_TYPE_LEGEND_UNION_ICON$1, ICON_TYPE_LEGEND_LINE_ICON$1]).isRequired,
27779
+ iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$2, ICON_TYPE_LEGEND_UNION_ICON$2, ICON_TYPE_LEGEND_LINE_ICON$2]).isRequired,
27736
27780
  iconColor: PropTypes.string.isRequired
27737
27781
  }))
27738
27782
  };
@@ -27742,15 +27786,15 @@ PerformanceAnalyticsLegend.defaultProps = {
27742
27786
  height: '',
27743
27787
  legendData: [{
27744
27788
  title: '',
27745
- iconType: ICON_TYPE_SQUARE$1,
27789
+ iconType: ICON_TYPE_SQUARE$2,
27746
27790
  iconColor: '#1F7677'
27747
27791
  }]
27748
27792
  };
27749
27793
 
27750
27794
  /* eslint-disable no-nested-ternary */
27751
- const ICON_TYPE_SQUARE = 'Square';
27752
- const ICON_TYPE_LEGEND_UNION_ICON = 'LegendUnionIcon';
27753
- const ICON_TYPE_LEGEND_LINE_ICON = 'LegendLineIcon';
27795
+ const ICON_TYPE_SQUARE$1 = 'Square';
27796
+ const ICON_TYPE_LEGEND_UNION_ICON$1 = 'LegendUnionIcon';
27797
+ const ICON_TYPE_LEGEND_LINE_ICON$1 = 'LegendLineIcon';
27754
27798
  const BarChartsByWeeks = props => {
27755
27799
  const {
27756
27800
  className,
@@ -27839,9 +27883,9 @@ const BarChartsByWeeks = props => {
27839
27883
  let currentTooltipSecondValue = 0;
27840
27884
  if (payload[0].payload?.value) currentTooltipValue = payload[0].payload?.value;
27841
27885
  if (payload[0].payload?.secondValue) currentTooltipSecondValue = payload[0].payload?.secondValue;
27842
- return /*#__PURE__*/React$1.createElement(TooltipDiv$2, null, /*#__PURE__*/React$1.createElement(TooltipTitle$1, null, `${isTitleOriganal ? '' : 'Week: '}${week}`), /*#__PURE__*/React$1.createElement(TooltipLabel$2, null, `${tooltipTitle}
27886
+ return /*#__PURE__*/React.createElement(TooltipDiv$2, null, /*#__PURE__*/React.createElement(TooltipTitle$1, null, `${isTitleOriganal ? '' : 'Week: '}${week}`), /*#__PURE__*/React.createElement(TooltipLabel$2, null, `${tooltipTitle}
27843
27887
  ${displayFormattedValue(currentTooltipValue)}
27844
- `), currentTooltipSecondValue ? /*#__PURE__*/React$1.createElement(TooltipLabel$2, null, `${tooltipSecondTitle}
27888
+ `), currentTooltipSecondValue ? /*#__PURE__*/React.createElement(TooltipLabel$2, null, `${tooltipSecondTitle}
27845
27889
  ${displayFormattedValue(currentTooltipSecondValue)}
27846
27890
  `) : '');
27847
27891
  };
@@ -27855,7 +27899,7 @@ const BarChartsByWeeks = props => {
27855
27899
  };
27856
27900
  const displayEventWeeksElements = () => {
27857
27901
  if (!barChartData || barChartData.length === 0) return '';
27858
- return /*#__PURE__*/React$1.createElement(EventWeeksLegendDataElementsContainer, null, getWeek()?.map(item => /*#__PURE__*/React$1.createElement(EventWeeksLegendDataElement, {
27902
+ return /*#__PURE__*/React.createElement(EventWeeksLegendDataElementsContainer, null, getWeek()?.map(item => /*#__PURE__*/React.createElement(EventWeeksLegendDataElement, {
27859
27903
  color: item.title >= startWeekRange && item.title <= endWeekRange ? xselectedColor : '',
27860
27904
  textColor: item.title >= startWeekRange && item.title <= endWeekRange ? '#212121' : '#B1B1B1',
27861
27905
  fontWeight: item.title >= startWeekRange && item.title <= endWeekRange ? 600 : 400,
@@ -27863,7 +27907,7 @@ const BarChartsByWeeks = props => {
27863
27907
  borderRightRadius: endWeekRange && item?.title?.toString() === endWeekRange?.toString() ? '12px' : '0px'
27864
27908
  }, item.titleWeek)));
27865
27909
  };
27866
- const displayEventWeeksLegendData = () => /*#__PURE__*/React$1.createElement(EventWeeksLegendMainContainer, {
27910
+ const displayEventWeeksLegendData = () => /*#__PURE__*/React.createElement(EventWeeksLegendMainContainer, {
27867
27911
  className: "EventWeeksLegendMainContainer"
27868
27912
  }, displayEventWeeksElements());
27869
27913
  const getControlsHeight = () => {
@@ -27889,14 +27933,14 @@ const BarChartsByWeeks = props => {
27889
27933
  }
27890
27934
  return `${newHeight}px`;
27891
27935
  };
27892
- return /*#__PURE__*/React$1.createElement(ControlsContainer$5, {
27936
+ return /*#__PURE__*/React.createElement(ControlsContainer$5, {
27893
27937
  className: className,
27894
27938
  height: height,
27895
27939
  width: width,
27896
27940
  ref: controlsContainerRef
27897
- }, /*#__PURE__*/React$1.createElement(Controls$3, {
27941
+ }, /*#__PURE__*/React.createElement(Controls$3, {
27898
27942
  height: getControlsHeight()
27899
- }, showTitle && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React$1.createElement(Title$8, null, title), /*#__PURE__*/React$1.createElement(FormattedValue$2, {
27943
+ }, showTitle && /*#__PURE__*/React.createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React.createElement(Title$8, null, title), /*#__PURE__*/React.createElement(FormattedValue$2, {
27900
27944
  title: headerValueTopTitle,
27901
27945
  subtitle: headerValueBottomTitle,
27902
27946
  showTopValue: showHeaderTopValue,
@@ -27904,10 +27948,10 @@ const BarChartsByWeeks = props => {
27904
27948
  currencyType: HeaderValueCurrencyType,
27905
27949
  isPercent: HeaderValueIsPercent,
27906
27950
  dotCut: true
27907
- })), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
27951
+ })), /*#__PURE__*/React.createElement(ResponsiveContainer, {
27908
27952
  width: "100%",
27909
27953
  height: "100%"
27910
- }, /*#__PURE__*/React$1.createElement(BarChart$1, {
27954
+ }, /*#__PURE__*/React.createElement(BarChart$1, {
27911
27955
  width: width,
27912
27956
  height: height,
27913
27957
  data: formmatedData,
@@ -27917,14 +27961,14 @@ const BarChartsByWeeks = props => {
27917
27961
  bottom: 0,
27918
27962
  left: -5
27919
27963
  }
27920
- }, /*#__PURE__*/React$1.createElement(CartesianGrid, {
27964
+ }, /*#__PURE__*/React.createElement(CartesianGrid, {
27921
27965
  strokeDasharray: "3 3",
27922
27966
  vertical: false
27923
- }), /*#__PURE__*/React$1.createElement(XAxis, {
27967
+ }), /*#__PURE__*/React.createElement(XAxis, {
27924
27968
  dataKey: "title",
27925
27969
  tick: false,
27926
27970
  tickLine: false
27927
- }), /*#__PURE__*/React$1.createElement(YAxis, {
27971
+ }), /*#__PURE__*/React.createElement(YAxis, {
27928
27972
  tickCount: yAxisCounter,
27929
27973
  interval: interval || 'preserveEnd',
27930
27974
  domain: [0, 'auto'],
@@ -27936,28 +27980,28 @@ const BarChartsByWeeks = props => {
27936
27980
  fontSize: "12px",
27937
27981
  tickLine: false,
27938
27982
  tickFormatter: value => `${displayFormattedValue(value)}`
27939
- }), /*#__PURE__*/React$1.createElement(Tooltip$2, {
27940
- content: /*#__PURE__*/React$1.createElement(CustomTooltip, null)
27941
- }), /*#__PURE__*/React$1.createElement(Tooltip$2, null), !showTwoBars ? /*#__PURE__*/React$1.createElement(Bar, {
27983
+ }), /*#__PURE__*/React.createElement(Tooltip$2, {
27984
+ content: /*#__PURE__*/React.createElement(CustomTooltip, null)
27985
+ }), /*#__PURE__*/React.createElement(Tooltip$2, null), !showTwoBars ? /*#__PURE__*/React.createElement(Bar, {
27942
27986
  dataKey: "value",
27943
27987
  name: "title",
27944
27988
  maxBarSize: 30,
27945
27989
  radius: [4, 4, 0, 0],
27946
27990
  fill: barChartColor
27947
- }) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Bar, {
27991
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Bar, {
27948
27992
  dataKey: "value",
27949
27993
  name: "title",
27950
27994
  maxBarSize: 30,
27951
27995
  stackId: "a",
27952
27996
  fill: barChartColor
27953
- }), /*#__PURE__*/React$1.createElement(Bar, {
27997
+ }), /*#__PURE__*/React.createElement(Bar, {
27954
27998
  dataKey: "secondValue",
27955
27999
  name: "title",
27956
28000
  maxBarSize: 30,
27957
28001
  radius: [4, 4, 0, 0],
27958
28002
  stackId: "a",
27959
28003
  fill: barChartSecondColor
27960
- })))), displayEventWeeksLegendData(), showLegend && /*#__PURE__*/React$1.createElement(LegendWrapper, null, /*#__PURE__*/React$1.createElement(PerformanceAnalyticsLegend, {
28004
+ })))), displayEventWeeksLegendData(), showLegend && /*#__PURE__*/React.createElement(LegendWrapper, null, /*#__PURE__*/React.createElement(PerformanceAnalyticsLegend, {
27961
28005
  legendData: legendData
27962
28006
  }))));
27963
28007
  };
@@ -27991,7 +28035,7 @@ BarChartsByWeeks.propTypes = {
27991
28035
  showLegend: PropTypes.bool,
27992
28036
  legendData: PropTypes.arrayOf(PropTypes.shape({
27993
28037
  title: PropTypes.string.isRequired,
27994
- iconType: PropTypes.oneOf([ICON_TYPE_SQUARE, ICON_TYPE_LEGEND_UNION_ICON, ICON_TYPE_LEGEND_LINE_ICON]).isRequired,
28038
+ iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$1, ICON_TYPE_LEGEND_UNION_ICON$1, ICON_TYPE_LEGEND_LINE_ICON$1]).isRequired,
27995
28039
  iconColor: PropTypes.string.isRequired
27996
28040
  })),
27997
28041
  showTwoBars: PropTypes.bool,
@@ -28055,11 +28099,11 @@ BarChartsByWeeks.defaultProps = {
28055
28099
  isTitleOriganal: false,
28056
28100
  legendData: [{
28057
28101
  title: 'Sales',
28058
- iconType: ICON_TYPE_SQUARE,
28102
+ iconType: ICON_TYPE_SQUARE$1,
28059
28103
  iconColor: '#90CE9C'
28060
28104
  }, {
28061
28105
  title: 'Category Average',
28062
- iconType: ICON_TYPE_LEGEND_LINE_ICON,
28106
+ iconType: ICON_TYPE_LEGEND_LINE_ICON$1,
28063
28107
  iconColor: '#C906FD'
28064
28108
  }],
28065
28109
  showTwoBars: false,
@@ -28304,45 +28348,45 @@ const TotalDoughnutChart = props => {
28304
28348
  }
28305
28349
  setDoughnutChartRadius(radius);
28306
28350
  }, [height, width, DoughnutChartContainerRef?.current?.clientWidth, DoughnutChartContainerRef?.current?.clientHeight, zoomResolution]);
28307
- const displayLegendValue = row => /*#__PURE__*/React$1.createElement(LegendFormattedValue, {
28351
+ const displayLegendValue = row => /*#__PURE__*/React.createElement(LegendFormattedValue, {
28308
28352
  style: {
28309
28353
  fontWeight: itemsBoldedValues ? '700' : '500'
28310
28354
  }
28311
- }, !isPercent && row.value && currencySign ? getCurrencySign(currencyType, row.value) : '', !isPercent && row.value !== undefined && row.value !== null ? dotCutTrenty(row) : !isPercent && 'No Data', !isPercent && row.value && dotCut ? getFormattedUnits(row.value) : '', !isPercent && row.value && itemsPercentagesValueAside && /*#__PURE__*/React$1.createElement("span", {
28355
+ }, !isPercent && row.value && currencySign ? getCurrencySign(currencyType, row.value) : '', !isPercent && row.value !== undefined && row.value !== null ? dotCutTrenty(row) : !isPercent && 'No Data', !isPercent && row.value && dotCut ? getFormattedUnits(row.value) : '', !isPercent && row.value && itemsPercentagesValueAside && /*#__PURE__*/React.createElement("span", {
28312
28356
  style: {
28313
28357
  fontWeight: itemsBoldedValues ? '700' : '400'
28314
28358
  }
28315
28359
  }, ' (', `${Math.round(row.value / value * 100)}%)`), isPercent && row.value && `${row.value.toFixed(1)}%`);
28316
- return /*#__PURE__*/React$1.createElement(ControlsContainer$3, {
28360
+ return /*#__PURE__*/React.createElement(ControlsContainer$3, {
28317
28361
  className: className,
28318
28362
  height: height,
28319
28363
  width: width,
28320
28364
  textcolor: textcolor
28321
- }, legendData.length === 0 || legendData.every(item => item.value === undefined || item.value === null) ? /*#__PURE__*/React$1.createElement(NoDataFoundMessage, {
28365
+ }, legendData.length === 0 || legendData.every(item => item.value === undefined || item.value === null) ? /*#__PURE__*/React.createElement(NoDataFoundMessage, {
28322
28366
  className: "NoDataFoundMessage",
28323
28367
  noDataText: noDataText
28324
- }) : /*#__PURE__*/React$1.createElement(Controls$1, {
28368
+ }) : /*#__PURE__*/React.createElement(Controls$1, {
28325
28369
  className: "Controls",
28326
28370
  height: height,
28327
28371
  width: width
28328
- }, !hideTitleAndValue && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$1, {
28372
+ }, !hideTitleAndValue && /*#__PURE__*/React.createElement(TitleAndValueContainer$1, {
28329
28373
  className: "TitleAndValueContainer"
28330
- }, /*#__PURE__*/React$1.createElement(Title$6, {
28374
+ }, /*#__PURE__*/React.createElement(Title$6, {
28331
28375
  className: "Title"
28332
- }, title), /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer, {
28376
+ }, title), /*#__PURE__*/React.createElement(CurrencySignAndFormattedValueContainer, {
28333
28377
  className: "CurrencySignAndFormattedValueContainer"
28334
- }, /*#__PURE__*/React$1.createElement(FormattedValue$1, {
28378
+ }, /*#__PURE__*/React.createElement(FormattedValue$1, {
28335
28379
  className: "FormattedValue",
28336
28380
  width: width
28337
- }, /*#__PURE__*/React$1.createElement(CurrencySign$1, {
28381
+ }, /*#__PURE__*/React.createElement(CurrencySign$1, {
28338
28382
  className: "CurrencySign"
28339
- }, currencySign ? getCurrencySign(currencyType, value) : ''), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : ''), textAfterValue ? /*#__PURE__*/React$1.createElement(TextAfterValue, {
28383
+ }, currencySign ? getCurrencySign(currencyType, value) : ''), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : ''), textAfterValue ? /*#__PURE__*/React.createElement(TextAfterValue, {
28340
28384
  className: "TextAfterValue"
28341
- }, textAfterValue) : '', addingBenchmark && /*#__PURE__*/React$1.createElement(Benchmark, null))), /*#__PURE__*/React$1.createElement(DoughnutChartAndLegendContainer, null, /*#__PURE__*/React$1.createElement(DoughnutChartContainer, {
28385
+ }, textAfterValue) : '', addingBenchmark && /*#__PURE__*/React.createElement(Benchmark, null))), /*#__PURE__*/React.createElement(DoughnutChartAndLegendContainer, null, /*#__PURE__*/React.createElement(DoughnutChartContainer, {
28342
28386
  width: width,
28343
28387
  height: height,
28344
28388
  ref: DoughnutChartContainerRef
28345
- }, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(PieChart$1, null, /*#__PURE__*/React$1.createElement(Pie, {
28389
+ }, /*#__PURE__*/React.createElement(ResponsiveContainer, null, /*#__PURE__*/React.createElement(PieChart$1, null, /*#__PURE__*/React.createElement(Pie, {
28346
28390
  fill: "#8884d8",
28347
28391
  dataKey: "value",
28348
28392
  blendStroke: true,
@@ -28350,19 +28394,19 @@ const TotalDoughnutChart = props => {
28350
28394
  data: legendData,
28351
28395
  outerRadius: DoughnutChartRadius - 4,
28352
28396
  innerRadius: DoughnutChartRadius - DoughnutChartRadius / 3
28353
- }, legendData.map(row => /*#__PURE__*/React$1.createElement(Cell, {
28397
+ }, legendData.map(row => /*#__PURE__*/React.createElement(Cell, {
28354
28398
  key: `cell-${row.name}`,
28355
28399
  fill: row.color
28356
- }))), /*#__PURE__*/React$1.createElement(Tooltip$2, {
28357
- content: /*#__PURE__*/React$1.createElement(CustomTooltip, {
28400
+ }))), /*#__PURE__*/React.createElement(Tooltip$2, {
28401
+ content: /*#__PURE__*/React.createElement(CustomTooltip, {
28358
28402
  value: value,
28359
28403
  isPercent: isPercent
28360
28404
  })
28361
- }), /*#__PURE__*/React$1.createElement(Tooltip$2, null)))), /*#__PURE__*/React$1.createElement(LegendContainer$1, null, legendData.map(row => /*#__PURE__*/React$1.createElement(LegendControlsContainer, {
28405
+ }), /*#__PURE__*/React.createElement(Tooltip$2, null)))), /*#__PURE__*/React.createElement(LegendContainer$1, null, legendData.map(row => /*#__PURE__*/React.createElement(LegendControlsContainer, {
28362
28406
  key: row.name
28363
- }, /*#__PURE__*/React$1.createElement(LegendColorRectangle, {
28407
+ }, /*#__PURE__*/React.createElement(LegendColorRectangle, {
28364
28408
  color: row.color
28365
- }), /*#__PURE__*/React$1.createElement(LegendTitleAndFormatedValueContainer, null, /*#__PURE__*/React$1.createElement(LegendTitle, {
28409
+ }), /*#__PURE__*/React.createElement(LegendTitleAndFormatedValueContainer, null, /*#__PURE__*/React.createElement(LegendTitle, {
28366
28410
  style: {
28367
28411
  flexDirection: itemsValuesSeparateLine ? 'column' : 'row',
28368
28412
  alignItems: itemsValuesSeparateLine ? 'baseline' : 'center'
@@ -28422,7 +28466,7 @@ function CustomTooltip(_ref) {
28422
28466
  if (active && payload && payload.length) {
28423
28467
  // eslint-disable-next-line no-nested-ternary
28424
28468
  const percent = value && value !== 0 && !isPercent ? (payload[0].value / value * 100).toFixed(1) : value && isPercent ? payload[0].value.toFixed(1) : 0;
28425
- return /*#__PURE__*/React$1.createElement(TooltipDiv$1, null, /*#__PURE__*/React$1.createElement(TooltipLabel$1, null, `${payload[0].name} ${percent}%`));
28469
+ return /*#__PURE__*/React.createElement(TooltipDiv$1, null, /*#__PURE__*/React.createElement(TooltipLabel$1, null, `${payload[0].name} ${percent}%`));
28426
28470
  }
28427
28471
  }
28428
28472
  CustomTooltip.propTypes = {
@@ -28548,11 +28592,11 @@ const Tooltip = props => {
28548
28592
  direction,
28549
28593
  content
28550
28594
  } = props;
28551
- return /*#__PURE__*/React$1.createElement(TooltipContainer$1, {
28595
+ return /*#__PURE__*/React.createElement(TooltipContainer$1, {
28552
28596
  className: className,
28553
28597
  top: `${top}px`,
28554
28598
  left: `${left}px`
28555
- }, /*#__PURE__*/React$1.createElement(TooltipWrapper, null, /*#__PURE__*/React$1.createElement(TooltipTip, {
28599
+ }, /*#__PURE__*/React.createElement(TooltipWrapper, null, /*#__PURE__*/React.createElement(TooltipTip, {
28556
28600
  className: `controls ${direction || 'top'}`
28557
28601
  }, content)));
28558
28602
  };
@@ -28709,7 +28753,7 @@ const TotalHorizontalCharts = props => {
28709
28753
  clientX: 0,
28710
28754
  clientY: 0
28711
28755
  });
28712
- const CustomizedLabel = props => showPercentAsideValue ? /*#__PURE__*/React$1.createElement("text", {
28756
+ const CustomizedLabel = props => showPercentAsideValue ? /*#__PURE__*/React.createElement("text", {
28713
28757
  x: props.x + (props.width <= 0 ? -12 : props.width) + 56,
28714
28758
  y: props.y + 4,
28715
28759
  dy: props.height / 2,
@@ -28718,9 +28762,9 @@ const TotalHorizontalCharts = props => {
28718
28762
  fontSize: 12,
28719
28763
  fontWeight: 500,
28720
28764
  textAnchor: "middle"
28721
- }, ''.concat(getFormattedValue(props.value), getFormattedUnits(props.value)), /*#__PURE__*/React$1.createElement("tspan", {
28765
+ }, ''.concat(getFormattedValue(props.value), getFormattedUnits(props.value)), /*#__PURE__*/React.createElement("tspan", {
28722
28766
  fontWeight: 400
28723
- }, ` (${(props.value / value * 100).toFixed(0)}%)`)) : /*#__PURE__*/React$1.createElement("text", {
28767
+ }, ` (${(props.value / value * 100).toFixed(0)}%)`)) : /*#__PURE__*/React.createElement("text", {
28724
28768
  x: props.x + (props.width <= 0 ? -12 : props.width) + 40,
28725
28769
  y: props.y + 4,
28726
28770
  dy: props.height / 2,
@@ -28758,10 +28802,10 @@ const TotalHorizontalCharts = props => {
28758
28802
  if (chartsData && chartsData.length > 0 && payload) {
28759
28803
  const chartsDataLabel = chartsData.filter(item => item.name === payload.value);
28760
28804
  if (chartsDataLabel && chartsDataLabel.length > 0) {
28761
- return /*#__PURE__*/React$1.createElement("g", {
28805
+ return /*#__PURE__*/React.createElement("g", {
28762
28806
  onMouseEnter: () => handleMouseEnter(payload.value),
28763
28807
  onMouseLeave: handleMouseLeave
28764
- }, /*#__PURE__*/React$1.createElement("text", {
28808
+ }, /*#__PURE__*/React.createElement("text", {
28765
28809
  style: {
28766
28810
  whiteSpace: 'nowrap'
28767
28811
  },
@@ -28781,24 +28825,24 @@ const TotalHorizontalCharts = props => {
28781
28825
  }
28782
28826
  return null;
28783
28827
  };
28784
- return /*#__PURE__*/React$1.createElement(ControlsContainer$2, {
28828
+ return /*#__PURE__*/React.createElement(ControlsContainer$2, {
28785
28829
  ref: wrapper,
28786
28830
  height: height,
28787
28831
  width: width,
28788
28832
  textColor: textColor,
28789
28833
  scroller: chartsData.length > showScrollerBarsCount ? 'auto' : 'hidden',
28790
28834
  className: className
28791
- }, chartsData?.length > 0 ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, !hideTitle || !hideTotalValue ? /*#__PURE__*/React$1.createElement(CardHeader, {
28835
+ }, chartsData?.length > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, !hideTitle || !hideTotalValue ? /*#__PURE__*/React.createElement(CardHeader, {
28792
28836
  ref: topHeader,
28793
28837
  className: "CardHeader"
28794
- }, !hideTitle ? /*#__PURE__*/React$1.createElement(Title$5, null, title) : '', !hideTotalValue ? /*#__PURE__*/React$1.createElement(TotalValue, {
28838
+ }, !hideTitle ? /*#__PURE__*/React.createElement(Title$5, null, title) : '', !hideTotalValue ? /*#__PURE__*/React.createElement(TotalValue, {
28795
28839
  className: "TotalValue"
28796
- }, currencySign && /*#__PURE__*/React$1.createElement(CurrencySign, {
28840
+ }, currencySign && /*#__PURE__*/React.createElement(CurrencySign, {
28797
28841
  className: "CurrencySign"
28798
- }, getCurrencySign(currencyType, value)), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '') : '') : '', /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
28842
+ }, getCurrencySign(currencyType, value)), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '') : '') : '', /*#__PURE__*/React.createElement(ResponsiveContainer, {
28799
28843
  width: "100%",
28800
28844
  height: calculateChartHeight()
28801
- }, /*#__PURE__*/React$1.createElement(BarChart$1, {
28845
+ }, /*#__PURE__*/React.createElement(BarChart$1, {
28802
28846
  layout: "vertical",
28803
28847
  data: chartsData,
28804
28848
  margin: {
@@ -28807,13 +28851,13 @@ const TotalHorizontalCharts = props => {
28807
28851
  bottom: 20,
28808
28852
  left: 10
28809
28853
  }
28810
- }, /*#__PURE__*/React$1.createElement(XAxis, {
28854
+ }, /*#__PURE__*/React.createElement(XAxis, {
28811
28855
  type: "number",
28812
28856
  domain: [0, dataMax => dataMax * rightGap]
28813
28857
  // allowDataOverflow={false}
28814
28858
  ,
28815
28859
  hide: true
28816
- }), /*#__PURE__*/React$1.createElement(YAxis, {
28860
+ }), /*#__PURE__*/React.createElement(YAxis, {
28817
28861
  dataKey: "name",
28818
28862
  type: "category",
28819
28863
  width: labelLimitedLetters * 10,
@@ -28822,22 +28866,22 @@ const TotalHorizontalCharts = props => {
28822
28866
  interval: 0,
28823
28867
  allowDataOverflow: true,
28824
28868
  tick: CustomizedTickBarChart
28825
- }), /*#__PURE__*/React$1.createElement(Bar, {
28869
+ }), /*#__PURE__*/React.createElement(Bar, {
28826
28870
  dataKey: "value",
28827
28871
  barSize: 20,
28828
28872
  fill: "#8884d8",
28829
28873
  barCategoryGap: 10,
28830
28874
  barGap: 5
28831
- }, /*#__PURE__*/React$1.createElement(LabelList, {
28875
+ }, /*#__PURE__*/React.createElement(LabelList, {
28832
28876
  dataKey: "value",
28833
28877
  content: CustomizedLabel
28834
28878
  }), chartsData.map((entry, index) =>
28835
28879
  /*#__PURE__*/
28836
28880
  // eslint-disable-next-line react/no-array-index-key
28837
- React$1.createElement(Cell, {
28881
+ React.createElement(Cell, {
28838
28882
  key: `cell-${index}`,
28839
28883
  fill: barBackgrounds[index % 20]
28840
- }))), showLegendTooltip && /*#__PURE__*/React$1.createElement(Tooltip, {
28884
+ }))), showLegendTooltip && /*#__PURE__*/React.createElement(Tooltip, {
28841
28885
  direction: "top",
28842
28886
  content: tooltipText.content,
28843
28887
  top: tooltipText.clientY,
@@ -28845,7 +28889,7 @@ const TotalHorizontalCharts = props => {
28845
28889
  style: {
28846
28890
  pointerEvents: 'none'
28847
28891
  }
28848
- })))) : /*#__PURE__*/React$1.createElement(NoDataFoundMessage, {
28892
+ })))) : /*#__PURE__*/React.createElement(NoDataFoundMessage, {
28849
28893
  noDataText: noDataText
28850
28894
  }));
28851
28895
  };
@@ -29030,35 +29074,35 @@ const SalesAndROI = props => {
29030
29074
  }
29031
29075
  return newTextBefore;
29032
29076
  };
29033
- const displayItem = dataItem => /*#__PURE__*/React$1.createElement(ItemContainer, {
29077
+ const displayItem = dataItem => /*#__PURE__*/React.createElement(ItemContainer, {
29034
29078
  id: "ItemContainer"
29035
- }, /*#__PURE__*/React$1.createElement(ItemTitle, {
29079
+ }, /*#__PURE__*/React.createElement(ItemTitle, {
29036
29080
  id: "ItemTitle"
29037
- }, dataItem.name), /*#__PURE__*/React$1.createElement(FormattedValue, {
29081
+ }, dataItem.name), /*#__PURE__*/React.createElement(FormattedValue, {
29038
29082
  id: "FormattedValue"
29039
- }, /*#__PURE__*/React$1.createElement(TextBeforeAndAfterValue, {
29083
+ }, /*#__PURE__*/React.createElement(TextBeforeAndAfterValue, {
29040
29084
  id: "TextBeforeAndAfterValue"
29041
- }, getTextBefore(dataItem)), dotCut ? getFormattedValue(dataItem.value && Math.abs(dataItem.value) > 0 && dataItem.value % 1 !== 0 ? dataItem.value?.toFixed(2) : dataItem.value) : getNumberWithCommas(dataItem.value), dotCut ? getFormattedUnits(dataItem.value) : '', /*#__PURE__*/React$1.createElement(TextBeforeAndAfterValue, null, dataItem.textAfter)));
29042
- return /*#__PURE__*/React$1.createElement(ControlsContainer$1, {
29085
+ }, getTextBefore(dataItem)), dotCut ? getFormattedValue(dataItem.value && Math.abs(dataItem.value) > 0 && dataItem.value % 1 !== 0 ? dataItem.value?.toFixed(2) : dataItem.value) : getNumberWithCommas(dataItem.value), dotCut ? getFormattedUnits(dataItem.value) : '', /*#__PURE__*/React.createElement(TextBeforeAndAfterValue, null, dataItem.textAfter)));
29086
+ return /*#__PURE__*/React.createElement(ControlsContainer$1, {
29043
29087
  id: "ControlsContainer",
29044
29088
  height: height,
29045
29089
  width: width,
29046
29090
  textColor: textColor,
29047
29091
  showBorderShadow: showBorderShadow
29048
- }, /*#__PURE__*/React$1.createElement(TitleAndValueContainer, {
29092
+ }, /*#__PURE__*/React.createElement(TitleAndValueContainer, {
29049
29093
  id: "TitleAndValueContainer"
29050
- }, /*#__PURE__*/React$1.createElement(Title$4, {
29094
+ }, /*#__PURE__*/React.createElement(Title$4, {
29051
29095
  id: "Title"
29052
- }, title), showBanner && /*#__PURE__*/React$1.createElement(OutBanner, {
29096
+ }, title), showBanner && /*#__PURE__*/React.createElement(OutBanner, {
29053
29097
  id: "OutBanner",
29054
29098
  onClick: () => onBannerClick({
29055
29099
  eventName: 'onBannerClick'
29056
29100
  })
29057
- }, /*#__PURE__*/React$1.createElement(ExportIcon, {
29101
+ }, /*#__PURE__*/React.createElement(ExportIcon, {
29058
29102
  color: textColor
29059
- }), "View By Banner")), salesData?.length > 0 ? /*#__PURE__*/React$1.createElement(ItemsContainer, {
29103
+ }), "View By Banner")), salesData?.length > 0 ? /*#__PURE__*/React.createElement(ItemsContainer, {
29060
29104
  id: "ItemsContainer"
29061
- }, salesData?.map(dataItem => displayItem(dataItem))) : /*#__PURE__*/React$1.createElement(NoDataFoundMessage, {
29105
+ }, salesData?.map(dataItem => displayItem(dataItem))) : /*#__PURE__*/React.createElement(NoDataFoundMessage, {
29062
29106
  noDataText: noDataText
29063
29107
  }));
29064
29108
  };
@@ -29231,20 +29275,20 @@ const PopupCharts = props => {
29231
29275
  const displayRetailerIcon = retailer => {
29232
29276
  switch (retailer) {
29233
29277
  case 'Food Lion':
29234
- return /*#__PURE__*/React$1.createElement(FoodLionNewIcon, null);
29278
+ return /*#__PURE__*/React.createElement(FoodLionNewIcon, null);
29235
29279
  case 'Hannaford':
29236
- return /*#__PURE__*/React$1.createElement(HannafordNewIcon, null);
29280
+ return /*#__PURE__*/React.createElement(HannafordNewIcon, null);
29237
29281
  case 'Stop&Shop':
29238
- return /*#__PURE__*/React$1.createElement(StopAndShopNewIcon, null);
29282
+ return /*#__PURE__*/React.createElement(StopAndShopNewIcon, null);
29239
29283
  case 'The Giant Company':
29240
- return /*#__PURE__*/React$1.createElement(TheGiantCompanyIcon$1, null);
29284
+ return /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null);
29241
29285
  case 'Giant Food':
29242
- return /*#__PURE__*/React$1.createElement(GiantFoodNewIcon, null);
29286
+ return /*#__PURE__*/React.createElement(GiantFoodNewIcon, null);
29243
29287
  default:
29244
29288
  return '';
29245
29289
  }
29246
29290
  };
29247
- const displayDoughnutChart = rowsData => /*#__PURE__*/React$1.createElement(TotalDoughnutChart, {
29291
+ const displayDoughnutChart = rowsData => /*#__PURE__*/React.createElement(TotalDoughnutChart, {
29248
29292
  currencySign: true,
29249
29293
  dotCut: true,
29250
29294
  legendData: rowsData?.legendData,
@@ -29256,7 +29300,7 @@ const PopupCharts = props => {
29256
29300
  itemsValuesSeparateLine: false,
29257
29301
  isPercent: true
29258
29302
  });
29259
- const displayBarChartsByWeeks = (rowsData, showTwoBars) => /*#__PURE__*/React$1.createElement(BarChartsByWeeks, {
29303
+ const displayBarChartsByWeeks = (rowsData, showTwoBars) => /*#__PURE__*/React.createElement(BarChartsByWeeks, {
29260
29304
  showTwoBars: showTwoBars,
29261
29305
  headerValueTopTitle: rowsData?.headerValueTopTitle,
29262
29306
  headerValue: rowsData?.headerValue,
@@ -29277,7 +29321,7 @@ const PopupCharts = props => {
29277
29321
  xselectedColor: rowsData?.xselectedColor,
29278
29322
  isPercentValue: rowsData?.isPercentValue
29279
29323
  });
29280
- const displayTotalHorizontalCharts = rowsData => /*#__PURE__*/React$1.createElement(TotalHorizontalCharts, {
29324
+ const displayTotalHorizontalCharts = rowsData => /*#__PURE__*/React.createElement(TotalHorizontalCharts, {
29281
29325
  currencySign: true,
29282
29326
  dotCut: true,
29283
29327
  chartsData: rowsData?.chartsData,
@@ -29289,7 +29333,7 @@ const PopupCharts = props => {
29289
29333
  width: "100%"
29290
29334
  });
29291
29335
  const displayMarketShareDescription = rowsData => {
29292
- const content = /*#__PURE__*/React$1.createElement(MarketShareDescription, {
29336
+ const content = /*#__PURE__*/React.createElement(MarketShareDescription, {
29293
29337
  marketShareData: rowsData?.marketShareData,
29294
29338
  height: "240px",
29295
29339
  width: "100%",
@@ -29298,7 +29342,7 @@ const PopupCharts = props => {
29298
29342
  return content;
29299
29343
  };
29300
29344
  const displaySalesAndROI = rowsData => {
29301
- const content = /*#__PURE__*/React$1.createElement(SalesAndROI, {
29345
+ const content = /*#__PURE__*/React.createElement(SalesAndROI, {
29302
29346
  title: rowsData?.title,
29303
29347
  dotCut: rowsData?.dotCut,
29304
29348
  currencySign: rowsData?.currencySign,
@@ -29337,38 +29381,38 @@ const PopupCharts = props => {
29337
29381
  content = '';
29338
29382
  break;
29339
29383
  }
29340
- return /*#__PURE__*/React$1.createElement("div", null, content);
29384
+ return /*#__PURE__*/React.createElement("div", null, content);
29341
29385
  };
29342
- const displayChartItem = item => /*#__PURE__*/React$1.createElement(ChartItemMainContainer, {
29386
+ const displayChartItem = item => /*#__PURE__*/React.createElement(ChartItemMainContainer, {
29343
29387
  id: "ChartItemMainContainer"
29344
- }, /*#__PURE__*/React$1.createElement(ChartItemContainer, {
29388
+ }, /*#__PURE__*/React.createElement(ChartItemContainer, {
29345
29389
  id: "ChartItemContainer",
29346
29390
  style: {
29347
29391
  cursor: 'pointer'
29348
29392
  }
29349
- }, /*#__PURE__*/React$1.createElement(ChartItemIconContainer, {
29393
+ }, /*#__PURE__*/React.createElement(ChartItemIconContainer, {
29350
29394
  id: "ChartItemIconContainer"
29351
- }, displayRetailerIcon(item.title)), /*#__PURE__*/React$1.createElement(ChartItemTitle, {
29395
+ }, displayRetailerIcon(item.title)), /*#__PURE__*/React.createElement(ChartItemTitle, {
29352
29396
  id: "ChartItemTitle",
29353
29397
  subtitleTextColor: subtitleTextColor
29354
- }, item.title)), /*#__PURE__*/React$1.createElement(ChartContentContainer, {
29398
+ }, item.title)), /*#__PURE__*/React.createElement(ChartContentContainer, {
29355
29399
  id: "ChartContentContainer"
29356
29400
  }, displayChart(item)));
29357
- return /*#__PURE__*/React$1.createElement(MainContainer, {
29401
+ return /*#__PURE__*/React.createElement(MainContainer, {
29358
29402
  id: "MainContainer"
29359
- }, IsPopupChartsOpen && /*#__PURE__*/React$1.createElement(ModalOverlay, {
29403
+ }, IsPopupChartsOpen && /*#__PURE__*/React.createElement(ModalOverlay, {
29360
29404
  id: "ModalOverlay",
29361
29405
  className: "modal-overlay"
29362
- }, /*#__PURE__*/React$1.createElement(ModalContent, {
29406
+ }, /*#__PURE__*/React.createElement(ModalContent, {
29363
29407
  id: "ModalContent",
29364
29408
  ref: divRef,
29365
29409
  className: "modal-content",
29366
29410
  height: height,
29367
29411
  width: width,
29368
29412
  onClick: e => e.stopPropagation()
29369
- }, /*#__PURE__*/React$1.createElement(TitleContainer$1, null, /*#__PURE__*/React$1.createElement(Title$3, null, title), /*#__PURE__*/React$1.createElement(CloseXIconContainer, {
29413
+ }, /*#__PURE__*/React.createElement(TitleContainer$1, null, /*#__PURE__*/React.createElement(Title$3, null, title), /*#__PURE__*/React.createElement(CloseXIconContainer, {
29370
29414
  onClick: e => closePopupCharts(e)
29371
- }, /*#__PURE__*/React$1.createElement(CloseXIcon, null))), /*#__PURE__*/React$1.createElement(ChartsContainer, {
29415
+ }, /*#__PURE__*/React.createElement(CloseXIcon, null))), /*#__PURE__*/React.createElement(ChartsContainer, {
29372
29416
  id: "ChartsContainer",
29373
29417
  maxHeight: divHeight ? (divHeight - 110).toString().concat('', 'px') : null,
29374
29418
  height: popupChartsItemsData?.length < 4 ? '45%' : '100%'
@@ -29492,13 +29536,13 @@ const TopToggleList = props => {
29492
29536
  width,
29493
29537
  height
29494
29538
  } = props;
29495
- return /*#__PURE__*/React$1.createElement(TopToggleListMainContainer, {
29539
+ return /*#__PURE__*/React.createElement(TopToggleListMainContainer, {
29496
29540
  width: width
29497
- }, /*#__PURE__*/React$1.createElement(Title$2, null, title), /*#__PURE__*/React$1.createElement(ListContainer, {
29541
+ }, /*#__PURE__*/React.createElement(Title$2, null, title), /*#__PURE__*/React.createElement(ListContainer, {
29498
29542
  height: height
29499
- }, list.map(item => /*#__PURE__*/React$1.createElement(ListItem, {
29543
+ }, list.map(item => /*#__PURE__*/React.createElement(ListItem, {
29500
29544
  key: item.value
29501
- }, /*#__PURE__*/React$1.createElement(Item, null, item.label)))));
29545
+ }, /*#__PURE__*/React.createElement(Item, null, item.label)))));
29502
29546
  };
29503
29547
  TopToggleList.propTypes = {
29504
29548
  width: PropTypes.string,
@@ -29711,30 +29755,30 @@ const Heatmap = props => {
29711
29755
  if (tooltip && tooltipPosition && tooltip.label === `${item.label} - ${Math.round(item.value / totalValue * 100)}%`) {
29712
29756
  const top = `${tooltipPosition.y}px`;
29713
29757
  const left = `${tooltipPosition.x}px`;
29714
- return /*#__PURE__*/React$1.createElement(TooltipContainer, {
29758
+ return /*#__PURE__*/React.createElement(TooltipContainer, {
29715
29759
  className: "TooltipContainer",
29716
29760
  top: top,
29717
29761
  left: left
29718
- }, item.label, ' ', "-", ' ', /*#__PURE__*/React$1.createElement("span", null, Math.round(item.value / totalValue * 100), "%"));
29762
+ }, item.label, ' ', "-", ' ', /*#__PURE__*/React.createElement("span", null, Math.round(item.value / totalValue * 100), "%"));
29719
29763
  }
29720
29764
  return null;
29721
29765
  };
29722
29766
 
29723
29767
  // Function to render the bars and BarsContainer
29724
- const renderBars = () => /*#__PURE__*/React$1.createElement(BarsContainer, {
29768
+ const renderBars = () => /*#__PURE__*/React.createElement(BarsContainer, {
29725
29769
  ref: barsContainerRef,
29726
29770
  className: "BarsContainer",
29727
29771
  height: barHeightState
29728
29772
  }, filteredData.map((item, index) => {
29729
29773
  const barWidth = item.value / totalValue * 100;
29730
- return /*#__PURE__*/React$1.createElement(BarWrapper, {
29774
+ return /*#__PURE__*/React.createElement(BarWrapper, {
29731
29775
  className: "BarWrapper"
29732
29776
  // eslint-disable-next-line react/no-array-index-key
29733
29777
  ,
29734
29778
  key: index,
29735
29779
  width: `${barWidth}%`,
29736
29780
  height: barHeightState
29737
- }, /*#__PURE__*/React$1.createElement(AnimatePresence, null, /*#__PURE__*/React$1.createElement(BarContainer, {
29781
+ }, /*#__PURE__*/React.createElement(AnimatePresence, null, /*#__PURE__*/React.createElement(BarContainer, {
29738
29782
  ref: el => {
29739
29783
  barRefs.current[index] = el;
29740
29784
  } // Attach ref
@@ -29800,38 +29844,38 @@ const Heatmap = props => {
29800
29844
  }
29801
29845
  }
29802
29846
  }
29803
- }, /*#__PURE__*/React$1.createElement(BarLabel, {
29847
+ }, /*#__PURE__*/React.createElement(BarLabel, {
29804
29848
  className: "BarLabel"
29805
29849
  }, Math.round(item.value / totalValue * 100), "%"), renderTooltip(item))));
29806
29850
  }));
29807
29851
 
29808
29852
  // Function to render the Legend Area
29809
- const renderLegend = () => /*#__PURE__*/React$1.createElement(LegendContainer, {
29853
+ const renderLegend = () => /*#__PURE__*/React.createElement(LegendContainer, {
29810
29854
  className: "LegendContainer"
29811
29855
  }, filteredData.map((item, index) =>
29812
29856
  /*#__PURE__*/
29813
29857
  // eslint-disable-next-line react/no-array-index-key
29814
- React$1.createElement(LegendItem, {
29858
+ React.createElement(LegendItem, {
29815
29859
  className: "LegendItem",
29816
29860
  key: index
29817
- }, /*#__PURE__*/React$1.createElement(LegendColorBox, {
29861
+ }, /*#__PURE__*/React.createElement(LegendColorBox, {
29818
29862
  className: "LegendColorBox",
29819
29863
  style: {
29820
29864
  backgroundColor: item.color
29821
29865
  }
29822
- }), /*#__PURE__*/React$1.createElement(LegendLabel, {
29866
+ }), /*#__PURE__*/React.createElement(LegendLabel, {
29823
29867
  className: "LegendLabel"
29824
29868
  }, item.label))));
29825
- return /*#__PURE__*/React$1.createElement(HeatmapContainer, {
29869
+ return /*#__PURE__*/React.createElement(HeatmapContainer, {
29826
29870
  className: "HeatmapContainer"
29827
- }, !data || data.length === 0 ? /*#__PURE__*/React$1.createElement(NoDataFoundMessage, {
29871
+ }, !data || data.length === 0 ? /*#__PURE__*/React.createElement(NoDataFoundMessage, {
29828
29872
  className: "NoDataFoundMessage",
29829
29873
  noDataText: ""
29830
- }) : /*#__PURE__*/React$1.createElement(HeatmapWrapper, {
29874
+ }) : /*#__PURE__*/React.createElement(HeatmapWrapper, {
29831
29875
  className: "HeatmapWrapper"
29832
- }, /*#__PURE__*/React$1.createElement(TitleContainer, {
29876
+ }, /*#__PURE__*/React.createElement(TitleContainer, {
29833
29877
  className: "TitleContainer"
29834
- }, /*#__PURE__*/React$1.createElement(Title$1, {
29878
+ }, /*#__PURE__*/React.createElement(Title$1, {
29835
29879
  className: "Title"
29836
29880
  }, title)), refreshRequired && renderBars(), !refreshRequired && renderBars(), renderLegend()));
29837
29881
  };
@@ -29946,43 +29990,43 @@ const IconButton = props => {
29946
29990
  const getIcon = icon => {
29947
29991
  switch (icon) {
29948
29992
  case 'download':
29949
- return /*#__PURE__*/React$1.createElement(DownloadIcon, {
29993
+ return /*#__PURE__*/React.createElement(DownloadIcon, {
29950
29994
  height: iconHeight,
29951
29995
  width: iconWidth,
29952
29996
  color: contentColor
29953
29997
  });
29954
29998
  case 'document':
29955
- return /*#__PURE__*/React$1.createElement(DocumentIcon, {
29999
+ return /*#__PURE__*/React.createElement(DocumentIcon, {
29956
30000
  height: iconHeight,
29957
30001
  width: iconWidth,
29958
30002
  color: contentColor
29959
30003
  });
29960
30004
  case 'fly':
29961
- return /*#__PURE__*/React$1.createElement(FlyIcon, {
30005
+ return /*#__PURE__*/React.createElement(FlyIcon, {
29962
30006
  height: iconHeight,
29963
30007
  width: iconWidth,
29964
30008
  color: contentColor
29965
30009
  });
29966
30010
  case 'bell':
29967
- return /*#__PURE__*/React$1.createElement(BellIcon, {
30011
+ return /*#__PURE__*/React.createElement(BellIcon, {
29968
30012
  height: iconHeight,
29969
30013
  width: iconWidth,
29970
30014
  color: contentColor
29971
30015
  });
29972
30016
  case 'maintenance':
29973
- return /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
30017
+ return /*#__PURE__*/React.createElement(MaintenanceIcon, {
29974
30018
  height: iconHeight,
29975
30019
  width: iconWidth,
29976
30020
  color: contentColor
29977
30021
  });
29978
30022
  case 'exit':
29979
- return /*#__PURE__*/React$1.createElement(ExitIcon, {
30023
+ return /*#__PURE__*/React.createElement(ExitIcon, {
29980
30024
  height: iconHeight,
29981
30025
  width: iconWidth,
29982
30026
  color: contentColor
29983
30027
  });
29984
30028
  case 'eye':
29985
- return /*#__PURE__*/React$1.createElement(EyeIcon, {
30029
+ return /*#__PURE__*/React.createElement(EyeIcon, {
29986
30030
  height: iconHeight,
29987
30031
  width: iconWidth,
29988
30032
  color: contentColor
@@ -29997,9 +30041,9 @@ const IconButton = props => {
29997
30041
  const onCancelClickHandler = event => {
29998
30042
  onCancelClick(event);
29999
30043
  };
30000
- return /*#__PURE__*/React$1.createElement(ButtonWrapper, {
30044
+ return /*#__PURE__*/React.createElement(ButtonWrapper, {
30001
30045
  id: "ButtonWrapper"
30002
- }, /*#__PURE__*/React$1.createElement(IconButtonContainer, {
30046
+ }, /*#__PURE__*/React.createElement(IconButtonContainer, {
30003
30047
  download: true,
30004
30048
  href: fileLink,
30005
30049
  backgroundColor: disabled ? '#E3E4E5' : backgroundColor,
@@ -30011,7 +30055,7 @@ const IconButton = props => {
30011
30055
  onClick: event => {
30012
30056
  onClickHandler(event);
30013
30057
  }
30014
- }, getIcon(iconName), buttonText !== '' && buttonText !== undefined && /*#__PURE__*/React$1.createElement(SpanText, null, buttonText)), showProcess && /*#__PURE__*/React$1.createElement(CancelClick, {
30058
+ }, getIcon(iconName), buttonText !== '' && buttonText !== undefined && /*#__PURE__*/React.createElement(SpanText, null, buttonText)), showProcess && /*#__PURE__*/React.createElement(CancelClick, {
30015
30059
  onClick: event => onCancelClickHandler(event)
30016
30060
  }, "Click here to cancel"));
30017
30061
  };
@@ -30161,34 +30205,34 @@ const DoublePanelDataRow = props => {
30161
30205
  return '-';
30162
30206
  }
30163
30207
  if (arrowSign === 'up') {
30164
- return /*#__PURE__*/React$1.createElement(PercentageChange, {
30208
+ return /*#__PURE__*/React.createElement(PercentageChange, {
30165
30209
  color: "#5FCC70",
30166
30210
  value: 34 // TODO: when ready, replace with actual value
30167
- }, /*#__PURE__*/React$1.createElement(ArrowUpIcon, {
30211
+ }, /*#__PURE__*/React.createElement(ArrowUpIcon, {
30168
30212
  width: 12,
30169
30213
  height: 12
30170
30214
  }), ' ', "(+34K)");
30171
30215
  }
30172
- return /*#__PURE__*/React$1.createElement(PercentageChange, {
30216
+ return /*#__PURE__*/React.createElement(PercentageChange, {
30173
30217
  color: "#D23630",
30174
30218
  value: 66 // TODO: when ready, replace with actual value
30175
- }, /*#__PURE__*/React$1.createElement(ArrowDownIcon, {
30219
+ }, /*#__PURE__*/React.createElement(ArrowDownIcon, {
30176
30220
  width: 12,
30177
30221
  height: 12
30178
30222
  }), ' ', "(-12K)");
30179
30223
  };
30180
- return /*#__PURE__*/React$1.createElement(LinnerContainer, {
30224
+ return /*#__PURE__*/React.createElement(LinnerContainer, {
30181
30225
  className: className,
30182
30226
  backgroundColor: backgroundColor,
30183
30227
  width: width,
30184
30228
  height: height
30185
- }, data.map(item => /*#__PURE__*/React$1.createElement(DataBox, {
30229
+ }, data.map(item => /*#__PURE__*/React.createElement(DataBox, {
30186
30230
  className: "data-box-item"
30187
- }, item.title && /*#__PURE__*/React$1.createElement(DataBoxTitle, {
30231
+ }, item.title && /*#__PURE__*/React.createElement(DataBoxTitle, {
30188
30232
  className: "DataBoxTitle"
30189
- }, item.title), /*#__PURE__*/React$1.createElement(CellItem, null, item.value !== null && item.value !== undefined && !isNaN(item.value) && item.value !== 'null' && item.value !== 'undefined' ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.sign && /*#__PURE__*/React$1.createElement(CellItemValueSign, null, item.sign), customDataFormat ? /*#__PURE__*/React$1.createElement(BigValue, {
30233
+ }, item.title), /*#__PURE__*/React.createElement(CellItem, null, item.value !== null && item.value !== undefined && !isNaN(item.value) && item.value !== 'null' && item.value !== 'undefined' ? /*#__PURE__*/React.createElement(React.Fragment, null, item.sign && /*#__PURE__*/React.createElement(CellItemValueSign, null, item.sign), customDataFormat ? /*#__PURE__*/React.createElement(BigValue, {
30190
30234
  className: "DataBoxValue"
30191
- }, ''.concat(formattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React$1.createElement(CellItemValueSign, null, "%")) : /*#__PURE__*/React$1.createElement(BigValue, null, ''.concat(getFormattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React$1.createElement(CellItemValueSign, null, "%")), showPercentChange && getArrowSign(item.value >= 0 ? 'up' : 'down')) : /*#__PURE__*/React$1.createElement(CellItemNoValue, null, "N/A")), /*#__PURE__*/React$1.createElement(ValueChange, null))));
30235
+ }, ''.concat(formattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React.createElement(CellItemValueSign, null, "%")) : /*#__PURE__*/React.createElement(BigValue, null, ''.concat(getFormattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React.createElement(CellItemValueSign, null, "%")), showPercentChange && getArrowSign(item.value >= 0 ? 'up' : 'down')) : /*#__PURE__*/React.createElement(CellItemNoValue, null, "N/A")), /*#__PURE__*/React.createElement(ValueChange, null))));
30192
30236
  };
30193
30237
 
30194
30238
  // DoublePanelDataRow.propTypes = {
@@ -30271,6 +30315,9 @@ const LabelText = dt.tspan`
30271
30315
  `;
30272
30316
 
30273
30317
  /* eslint-disable react/prop-types */
30318
+ const ICON_TYPE_SQUARE = 'Square';
30319
+ const ICON_TYPE_LEGEND_UNION_ICON = 'LegendUnionIcon';
30320
+ const ICON_TYPE_LEGEND_LINE_ICON = 'LegendLineIcon';
30274
30321
 
30275
30322
  /* BarCharts */
30276
30323
  const BarChart = props => {
@@ -30324,7 +30371,7 @@ const BarChart = props => {
30324
30371
  if (!active || !payload || payload?.length === 0) return null;
30325
30372
  let currentTooltipValue = 0;
30326
30373
  if (payload[0].payload?.value) currentTooltipValue = payload[0].payload?.value;
30327
- return /*#__PURE__*/React$1.createElement(TooltipDiv, null, /*#__PURE__*/React$1.createElement(TooltipTitle, null, `${label}`), /*#__PURE__*/React$1.createElement(TooltipLabel, null, `${displayFormattedValue(currentTooltipValue, !!showCurrentCampaignStyle)}`));
30374
+ return /*#__PURE__*/React.createElement(TooltipDiv, null, /*#__PURE__*/React.createElement(TooltipTitle, null, `${label}`), /*#__PURE__*/React.createElement(TooltipLabel, null, `${displayFormattedValue(currentTooltipValue, !!showCurrentCampaignStyle)}`));
30328
30375
  };
30329
30376
  const CustomizedTickBarChart = props => {
30330
30377
  const {
@@ -30335,9 +30382,9 @@ const BarChart = props => {
30335
30382
  if (barChartData && barChartData.length > 0 && payload) {
30336
30383
  const retailerData = barChartData.filter(item => item.title === payload.value);
30337
30384
  if (retailerData && retailerData.length > 0) {
30338
- return /*#__PURE__*/React$1.createElement("g", {
30385
+ return /*#__PURE__*/React.createElement("g", {
30339
30386
  transform: `translate(${x},${y})`
30340
- }, showCurrentCampaignStyle && retailerData[0].isCurrent && /*#__PURE__*/React$1.createElement("rect", {
30387
+ }, showCurrentCampaignStyle && retailerData[0].isCurrent && /*#__PURE__*/React.createElement("rect", {
30341
30388
  x: -56 // Adjust this to position the background properly
30342
30389
  ,
30343
30390
  y: 5 // Adjust this for vertical alignment with your text
@@ -30348,12 +30395,12 @@ const BarChart = props => {
30348
30395
  ,
30349
30396
  fill: currentBarColor || '#90CE9C',
30350
30397
  rx: 12
30351
- }), /*#__PURE__*/React$1.createElement("text", {
30398
+ }), /*#__PURE__*/React.createElement("text", {
30352
30399
  x: 0,
30353
30400
  y: 0,
30354
30401
  dy: 16,
30355
30402
  fill: "#212121"
30356
- }, /*#__PURE__*/React$1.createElement(LabelBoldText, {
30403
+ }, /*#__PURE__*/React.createElement(LabelBoldText, {
30357
30404
  textAnchor: "middle",
30358
30405
  x: 0,
30359
30406
  dy: showCurrentCampaignStyle ? 20 : 50,
@@ -30374,7 +30421,7 @@ const BarChart = props => {
30374
30421
  return `${payload.value}`;
30375
30422
  }
30376
30423
  return payload?.value;
30377
- })()), /*#__PURE__*/React$1.createElement(LabelText, {
30424
+ })()), /*#__PURE__*/React.createElement(LabelText, {
30378
30425
  textAnchor: "middle",
30379
30426
  x: "0",
30380
30427
  dy: "30",
@@ -30393,7 +30440,7 @@ const BarChart = props => {
30393
30440
  stroke,
30394
30441
  value
30395
30442
  } = props;
30396
- return /*#__PURE__*/React$1.createElement("text", {
30443
+ return /*#__PURE__*/React.createElement("text", {
30397
30444
  x: x + 30,
30398
30445
  y: y,
30399
30446
  dy: -8,
@@ -30402,15 +30449,15 @@ const BarChart = props => {
30402
30449
  textAnchor: "middle"
30403
30450
  }, displayFormattedValue(value));
30404
30451
  };
30405
- return /*#__PURE__*/React$1.createElement(ControlsContainer, {
30452
+ return /*#__PURE__*/React.createElement(ControlsContainer, {
30406
30453
  className: className,
30407
30454
  height: height,
30408
30455
  width: width,
30409
30456
  ref: controlsContainerRef
30410
- }, /*#__PURE__*/React$1.createElement(Controls, null, /*#__PURE__*/React$1.createElement(Title, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
30457
+ }, /*#__PURE__*/React.createElement(Controls, null, /*#__PURE__*/React.createElement(Title, null, title), /*#__PURE__*/React.createElement(ResponsiveContainer, {
30411
30458
  width: "100%",
30412
30459
  height: 400
30413
- }, /*#__PURE__*/React$1.createElement(BarChart$1, {
30460
+ }, /*#__PURE__*/React.createElement(BarChart$1, {
30414
30461
  width: width,
30415
30462
  height: height,
30416
30463
  data: barChartData,
@@ -30420,10 +30467,10 @@ const BarChart = props => {
30420
30467
  bottom: 0,
30421
30468
  left: -5
30422
30469
  }
30423
- }, showCurrentCampaignStyle && /*#__PURE__*/React$1.createElement(CartesianGrid, {
30470
+ }, showCurrentCampaignStyle && /*#__PURE__*/React.createElement(CartesianGrid, {
30424
30471
  strokeDasharray: "3 3",
30425
30472
  vertical: false
30426
- }), showCurrentCampaignStyle && /*#__PURE__*/React$1.createElement(YAxis, {
30473
+ }), showCurrentCampaignStyle && /*#__PURE__*/React.createElement(YAxis, {
30427
30474
  tickCount: 10,
30428
30475
  interval: "preserveEnd",
30429
30476
  domain: [0, 'auto'],
@@ -30435,11 +30482,11 @@ const BarChart = props => {
30435
30482
  fontSize: "12px",
30436
30483
  tickLine: false,
30437
30484
  tickFormatter: value => `${displayFormattedValue(value)}`
30438
- }), showReferenceLine && /*#__PURE__*/React$1.createElement(ReferenceLine, {
30485
+ }), showReferenceLine && /*#__PURE__*/React.createElement(ReferenceLine, {
30439
30486
  y: referenceLinePoint,
30440
30487
  stroke: referenceLineColor,
30441
30488
  strokeDasharray: referenceLineDashed
30442
- }), /*#__PURE__*/React$1.createElement(XAxis, {
30489
+ }), /*#__PURE__*/React.createElement(XAxis, {
30443
30490
  dataKey: "title",
30444
30491
  tick: CustomizedTickBarChart,
30445
30492
  tickLine: false,
@@ -30447,95 +30494,97 @@ const BarChart = props => {
30447
30494
  stroke: "#D0D0D0",
30448
30495
  domain: [0, 'auto'],
30449
30496
  interval: 0
30450
- }), /*#__PURE__*/React$1.createElement(Brush, {
30497
+ }), /*#__PURE__*/React.createElement(Brush, {
30451
30498
  dataKey: "name",
30452
30499
  height: 30,
30453
30500
  stroke: "#8884d8"
30454
- }), /*#__PURE__*/React$1.createElement(Tooltip$2, {
30455
- content: /*#__PURE__*/React$1.createElement(CustomTooltip, null)
30456
- }), /*#__PURE__*/React$1.createElement(Tooltip$2, null), /*#__PURE__*/React$1.createElement(Bar, {
30501
+ }), /*#__PURE__*/React.createElement(Tooltip$2, {
30502
+ content: /*#__PURE__*/React.createElement(CustomTooltip, null)
30503
+ }), /*#__PURE__*/React.createElement(Tooltip$2, null), /*#__PURE__*/React.createElement(Bar, {
30457
30504
  dataKey: "value",
30458
30505
  fill: barChartColor,
30459
30506
  minPointSize: 5,
30460
30507
  barSize: barSize ?? 60,
30461
30508
  radius: [5, 5, 0, 0]
30462
- }, /*#__PURE__*/React$1.createElement(LabelList, {
30509
+ }, /*#__PURE__*/React.createElement(LabelList, {
30463
30510
  dataKey: "value",
30464
30511
  content: CustomizedLabel
30465
- })))), showLegend && /*#__PURE__*/React$1.createElement(PerformanceAnalyticsLegend, {
30512
+ })))), showLegend && /*#__PURE__*/React.createElement(PerformanceAnalyticsLegend, {
30466
30513
  legendData: legendData
30467
30514
  })));
30468
30515
  };
30469
-
30470
- // BarChart.propTypes = {
30471
- // title: PropTypes.string,
30472
- // barChartData: PropTypes.arrayOf(
30473
- // PropTypes.shape({
30474
- // title: PropTypes.string,
30475
- // date: PropTypes.string,
30476
- // value: PropTypes.number,
30477
- // }),
30478
- // ),
30479
- // width: PropTypes.string,
30480
- // height: PropTypes.string,
30481
- // barSize: PropTypes.number,
30482
- // barFontSizeValue: PropTypes.string,
30483
- // barChartColor: PropTypes.string,
30484
- // showDollarSign: PropTypes.bool,
30485
- // isDollar: PropTypes.bool,
30486
- // showLegend: PropTypes.bool,
30487
- // legendData: PropTypes.arrayOf(
30488
- // PropTypes.shape({
30489
- // title: PropTypes.string.isRequired,
30490
- // iconType: PropTypes.oneOf([
30491
- // ICON_TYPE_SQUARE,
30492
- // ICON_TYPE_LEGEND_UNION_ICON,
30493
- // ICON_TYPE_LEGEND_LINE_ICON,
30494
- // ]).isRequired,
30495
- // iconColor: PropTypes.string.isRequired,
30496
- // }),
30497
- // ),
30498
- // showReferenceLine: PropTypes.bool,
30499
- // referenceLinePoint: PropTypes.number,
30500
- // referenceLineColor: PropTypes.string,
30501
- // referenceLineDashed: PropTypes.string,
30502
- // showCurrentCampaignStyle: PropTypes.bool,
30503
- // currentBarColor: PropTypes.string,
30504
- // isPercent: PropTypes.bool,
30505
- // };
30506
-
30507
- // BarChart.defaultProps = {
30508
- // title: 'String',
30509
- // barChartData: [
30510
- // { title: 'Food Lion', date: '15.01.24-31.01.24', value: 542366 },
30511
- // { title: 'Hannaford', date: '15.01.24-31.01.24', value: 699511 },
30512
- // { title: 'The Giant Company', date: '15.01.24-31.01.24', value: 403092 },
30513
- // { title: 'Giant Food', date: '15.01.24-31.01.24', value: 396184 },
30514
- // { title: 'Stop&Shop', date: '15.01.24-31.01.24', value: 415317 },
30515
- // ],
30516
- // width: '100%',
30517
- // height: '100%',
30518
- // barSize: 60,
30519
- // barFontSizeValue: '0.6em',
30520
- // barChartColor: '#BD9EFF',
30521
- // showDollarSign: true,
30522
- // isDollar: true,
30523
- // showLegend: true,
30524
- // legendData: [
30525
- // {
30526
- // title: 'Incremental Sales',
30527
- // iconType: ICON_TYPE_SQUARE,
30528
- // iconColor: '#BD9EFF',
30529
- // },
30530
- // ],
30531
- // showReferenceLine: false,
30532
- // referenceLinePoint: 0,
30533
- // referenceLineColor: '#212121',
30534
- // referenceLineDashed: '5',
30535
- // showCurrentCampaignStyle: false,
30536
- // currentBarColor: '#90CE9C',
30537
- // isPercent: false,
30538
- // };
30516
+ BarChart.propTypes = {
30517
+ title: PropTypes.string,
30518
+ barChartData: PropTypes.arrayOf(PropTypes.shape({
30519
+ title: PropTypes.string,
30520
+ date: PropTypes.string,
30521
+ value: PropTypes.number
30522
+ })),
30523
+ width: PropTypes.string,
30524
+ height: PropTypes.string,
30525
+ barSize: PropTypes.number,
30526
+ barFontSizeValue: PropTypes.string,
30527
+ barChartColor: PropTypes.string,
30528
+ showDollarSign: PropTypes.bool,
30529
+ isDollar: PropTypes.bool,
30530
+ showLegend: PropTypes.bool,
30531
+ legendData: PropTypes.arrayOf(PropTypes.shape({
30532
+ title: PropTypes.string.isRequired,
30533
+ iconType: PropTypes.oneOf([ICON_TYPE_SQUARE, ICON_TYPE_LEGEND_UNION_ICON, ICON_TYPE_LEGEND_LINE_ICON]).isRequired,
30534
+ iconColor: PropTypes.string.isRequired
30535
+ })),
30536
+ showReferenceLine: PropTypes.bool,
30537
+ referenceLinePoint: PropTypes.number,
30538
+ referenceLineColor: PropTypes.string,
30539
+ referenceLineDashed: PropTypes.string,
30540
+ showCurrentCampaignStyle: PropTypes.bool,
30541
+ currentBarColor: PropTypes.string,
30542
+ isPercent: PropTypes.bool
30543
+ };
30544
+ BarChart.defaultProps = {
30545
+ title: 'String',
30546
+ barChartData: [{
30547
+ title: 'Food Lion',
30548
+ date: '15.01.24-31.01.24',
30549
+ value: 542366
30550
+ }, {
30551
+ title: 'Hannaford',
30552
+ date: '15.01.24-31.01.24',
30553
+ value: 699511
30554
+ }, {
30555
+ title: 'The Giant Company',
30556
+ date: '15.01.24-31.01.24',
30557
+ value: 403092
30558
+ }, {
30559
+ title: 'Giant Food',
30560
+ date: '15.01.24-31.01.24',
30561
+ value: 396184
30562
+ }, {
30563
+ title: 'Stop&Shop',
30564
+ date: '15.01.24-31.01.24',
30565
+ value: 415317
30566
+ }],
30567
+ width: '100%',
30568
+ height: '100%',
30569
+ barSize: 60,
30570
+ barFontSizeValue: '0.6em',
30571
+ barChartColor: '#BD9EFF',
30572
+ showDollarSign: true,
30573
+ isDollar: true,
30574
+ showLegend: true,
30575
+ legendData: [{
30576
+ title: 'Incremental Sales',
30577
+ iconType: ICON_TYPE_SQUARE,
30578
+ iconColor: '#BD9EFF'
30579
+ }],
30580
+ showReferenceLine: false,
30581
+ referenceLinePoint: 0,
30582
+ referenceLineColor: '#212121',
30583
+ referenceLineDashed: '5',
30584
+ showCurrentCampaignStyle: false,
30585
+ currentBarColor: '#90CE9C',
30586
+ isPercent: false
30587
+ };
30539
30588
 
30540
30589
  export { BannerEventBoxList, BarChart, BarChartsByWeeks, Button, CollapseHeader, DialogOverlay, DoublePanelDataRow, EventDetailsCard, EventList, FilterPanel, Heatmap, IconButton, LinnerDataBox, MarketShareDescription, OneColumnContainer, PieChart, PopupCharts, QuickFilter, ReportTable, TabMenu, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts };
30541
30590
  //# sourceMappingURL=index.esm.js.map