sag_components 2.0.0-beta23 → 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.d.ts +132 -47
- package/dist/index.esm.js +725 -667
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3891 -3833
- package/dist/index.js.map +1 -1
- package/dist/types/components/BarChart/BarChart.d.ts +77 -0
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +61 -0
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +0 -52
- package/dist/types/utils/IconsHandler.d.ts +1 -1
- package/package.json +2 -1
- package/dist/types/reactTestApp/App.d.ts +0 -2
- package/dist/types/reactTestApp/index.d.ts +0 -1
- package/dist/types/reactTestApp/vite.config.d.ts +0 -2
- package/dist/types/utils/ComponentFactory.d.ts +0 -4
- package/dist/types/utils/regex/OnlyEnglishLetters.regex.d.ts +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3179
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3180
3180
|
className: "ArrowRightIcon"
|
|
3181
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3187
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3188
3188
|
className: "FilterIcon"
|
|
3189
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3195
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3196
3196
|
className: "OptionsIcon"
|
|
3197
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3203
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3204
3204
|
className: "DownloadIcon"
|
|
3205
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3211
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3212
3212
|
className: "DocumentIcon"
|
|
3213
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3219
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3220
3220
|
className: "FlyIcon"
|
|
3221
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3227
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3228
3228
|
className: "BellIcon"
|
|
3229
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3235
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3236
3236
|
className: "MaintenanceIcon"
|
|
3237
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3243
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3244
3244
|
className: "ExitIcon"
|
|
3245
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3251
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3252
3252
|
className: "EyeIcon"
|
|
3253
|
-
}, /*#__PURE__*/React
|
|
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
|
|
3259
|
+
return /*#__PURE__*/React.createElement(IconWrapper$1, {
|
|
3260
3260
|
className: "ReselectIcon"
|
|
3261
|
-
}, /*#__PURE__*/React
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3558
|
+
return /*#__PURE__*/React.createElement(NoDataFoundContainer, {
|
|
3559
3559
|
id: "NoDataFoundContainer"
|
|
3560
|
-
}, /*#__PURE__*/React
|
|
3560
|
+
}, /*#__PURE__*/React.createElement(NoDataFoundIcon, {
|
|
3561
3561
|
id: "NoDataFoundIcon"
|
|
3562
|
-
}), /*#__PURE__*/React
|
|
3562
|
+
}), /*#__PURE__*/React.createElement(NoDataFoundTitle, {
|
|
3563
3563
|
id: "NoDataFoundTitle"
|
|
3564
|
-
}, "No Data"), /*#__PURE__*/React
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
4585
|
+
}, /*#__PURE__*/React.createElement("span", null, bannerButtonText), /*#__PURE__*/React.createElement(ArrowWrap, {
|
|
4585
4586
|
className: toggled ? 'opened' : 'closed'
|
|
4586
|
-
}, /*#__PURE__*/React
|
|
4587
|
+
}, /*#__PURE__*/React.createElement(ComboBoxArrowUpIcon, {
|
|
4587
4588
|
color: bannerButtonArrow
|
|
4588
|
-
}))), toggled && /*#__PURE__*/React
|
|
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
|
|
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
|
|
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),
|
|
@@ -4773,105 +4774,105 @@ const LinkButton = ({
|
|
|
4773
4774
|
const color = disabled ? '#B1B1B1' : newTextColor;
|
|
4774
4775
|
switch (icon.toLowerCase()) {
|
|
4775
4776
|
case 'filter':
|
|
4776
|
-
return /*#__PURE__*/React
|
|
4777
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4777
4778
|
className: "FilterIcon"
|
|
4778
|
-
}, /*#__PURE__*/React
|
|
4779
|
+
}, /*#__PURE__*/React.createElement(FilterIcon, {
|
|
4779
4780
|
height: iconHeight,
|
|
4780
4781
|
width: iconWidth,
|
|
4781
4782
|
color: color
|
|
4782
4783
|
}));
|
|
4783
4784
|
case 'options':
|
|
4784
|
-
return /*#__PURE__*/React
|
|
4785
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4785
4786
|
className: "OptionsIcon"
|
|
4786
|
-
}, /*#__PURE__*/React
|
|
4787
|
+
}, /*#__PURE__*/React.createElement(OptionsIcon, {
|
|
4787
4788
|
height: iconHeight,
|
|
4788
4789
|
width: iconWidth,
|
|
4789
4790
|
color: color
|
|
4790
4791
|
}));
|
|
4791
4792
|
case 'download':
|
|
4792
|
-
return /*#__PURE__*/React
|
|
4793
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4793
4794
|
className: "DownloadIcon"
|
|
4794
|
-
}, /*#__PURE__*/React
|
|
4795
|
+
}, /*#__PURE__*/React.createElement(DownloadIcon, {
|
|
4795
4796
|
height: iconHeight,
|
|
4796
4797
|
width: iconWidth,
|
|
4797
4798
|
color: color
|
|
4798
4799
|
}));
|
|
4799
4800
|
case 'document':
|
|
4800
|
-
return /*#__PURE__*/React
|
|
4801
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4801
4802
|
className: "DocumentIcon"
|
|
4802
|
-
}, /*#__PURE__*/React
|
|
4803
|
+
}, /*#__PURE__*/React.createElement(DocumentIcon, {
|
|
4803
4804
|
height: iconHeight,
|
|
4804
4805
|
width: iconWidth,
|
|
4805
4806
|
color: color
|
|
4806
4807
|
}));
|
|
4807
4808
|
case 'fly':
|
|
4808
|
-
return /*#__PURE__*/React
|
|
4809
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4809
4810
|
className: "FlyIcon"
|
|
4810
|
-
}, /*#__PURE__*/React
|
|
4811
|
+
}, /*#__PURE__*/React.createElement(FlyIcon, {
|
|
4811
4812
|
height: iconHeight,
|
|
4812
4813
|
width: iconWidth,
|
|
4813
4814
|
color: color
|
|
4814
4815
|
}));
|
|
4815
4816
|
case 'bell':
|
|
4816
|
-
return /*#__PURE__*/React
|
|
4817
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4817
4818
|
className: "BellIcon"
|
|
4818
|
-
}, /*#__PURE__*/React
|
|
4819
|
+
}, /*#__PURE__*/React.createElement(BellIcon, {
|
|
4819
4820
|
height: iconHeight,
|
|
4820
4821
|
width: iconWidth,
|
|
4821
4822
|
color: color
|
|
4822
4823
|
}));
|
|
4823
4824
|
case 'maintenance':
|
|
4824
|
-
return /*#__PURE__*/React
|
|
4825
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4825
4826
|
className: "MaintenanceIcon"
|
|
4826
|
-
}, /*#__PURE__*/React
|
|
4827
|
+
}, /*#__PURE__*/React.createElement(MaintenanceIcon, {
|
|
4827
4828
|
height: iconHeight,
|
|
4828
4829
|
width: iconWidth,
|
|
4829
4830
|
color: color
|
|
4830
4831
|
}));
|
|
4831
4832
|
case 'exit':
|
|
4832
|
-
return /*#__PURE__*/React
|
|
4833
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4833
4834
|
className: "ExitIcon"
|
|
4834
|
-
}, /*#__PURE__*/React
|
|
4835
|
+
}, /*#__PURE__*/React.createElement(ExitIcon, {
|
|
4835
4836
|
height: iconHeight,
|
|
4836
4837
|
width: iconWidth,
|
|
4837
4838
|
color: color
|
|
4838
4839
|
}));
|
|
4839
4840
|
case 'eye':
|
|
4840
|
-
return /*#__PURE__*/React
|
|
4841
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4841
4842
|
className: "EyeIcon"
|
|
4842
|
-
}, /*#__PURE__*/React
|
|
4843
|
+
}, /*#__PURE__*/React.createElement(EyeIcon, {
|
|
4843
4844
|
height: iconHeight,
|
|
4844
4845
|
width: iconWidth,
|
|
4845
4846
|
color: color
|
|
4846
4847
|
}));
|
|
4847
4848
|
case 'arrowdown':
|
|
4848
|
-
return /*#__PURE__*/React
|
|
4849
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4849
4850
|
className: "ArrowDownIcon"
|
|
4850
|
-
}, /*#__PURE__*/React
|
|
4851
|
+
}, /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
|
|
4851
4852
|
height: iconHeight,
|
|
4852
4853
|
width: iconWidth,
|
|
4853
4854
|
color: color
|
|
4854
4855
|
}));
|
|
4855
4856
|
case 'arrowright':
|
|
4856
|
-
return /*#__PURE__*/React
|
|
4857
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4857
4858
|
className: "ArrowRightIcon"
|
|
4858
|
-
}, /*#__PURE__*/React
|
|
4859
|
+
}, /*#__PURE__*/React.createElement(MenuItemRightIcon, {
|
|
4859
4860
|
height: iconHeight,
|
|
4860
4861
|
width: iconWidth,
|
|
4861
4862
|
color: color
|
|
4862
4863
|
}));
|
|
4863
4864
|
case 'select':
|
|
4864
|
-
return /*#__PURE__*/React
|
|
4865
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4865
4866
|
className: "SelectRightIcon"
|
|
4866
|
-
}, /*#__PURE__*/React
|
|
4867
|
+
}, /*#__PURE__*/React.createElement(ArrowSelectIcon, {
|
|
4867
4868
|
height: "16px",
|
|
4868
4869
|
width: "16px",
|
|
4869
4870
|
color: color
|
|
4870
4871
|
}));
|
|
4871
4872
|
case 'info':
|
|
4872
|
-
return /*#__PURE__*/React
|
|
4873
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
4873
4874
|
className: "InfoIcon"
|
|
4874
|
-
}, /*#__PURE__*/React
|
|
4875
|
+
}, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
4875
4876
|
height: iconHeight,
|
|
4876
4877
|
width: iconWidth,
|
|
4877
4878
|
color: color
|
|
@@ -4888,11 +4889,11 @@ const LinkButton = ({
|
|
|
4888
4889
|
if (!rightIcon || rightIcon === 'none') return '';
|
|
4889
4890
|
return getIcon(rightIcon);
|
|
4890
4891
|
};
|
|
4891
|
-
return /*#__PURE__*/React
|
|
4892
|
+
return /*#__PURE__*/React.createElement(LinkButtonContainer, {
|
|
4892
4893
|
className: "LinkButtonContainer",
|
|
4893
4894
|
width: width || null,
|
|
4894
4895
|
height: height || '20px'
|
|
4895
|
-
}, /*#__PURE__*/React
|
|
4896
|
+
}, /*#__PURE__*/React.createElement(LinkButtonItem, {
|
|
4896
4897
|
className: clicked ? 'LinkButtonItem-clicked' : 'LinkButtonItem',
|
|
4897
4898
|
onClick: !disabled ? handleLinkButtonClick : null,
|
|
4898
4899
|
width: width || null,
|
|
@@ -4900,7 +4901,7 @@ const LinkButton = ({
|
|
|
4900
4901
|
disabled: disabled,
|
|
4901
4902
|
text_color: textColor || (type === 'secondary' ? '#212121' : '#229E38'),
|
|
4902
4903
|
font_size: size === 'small' ? '14px' : '16px'
|
|
4903
|
-
}, getLeftIcon(), /*#__PURE__*/React
|
|
4904
|
+
}, getLeftIcon(), /*#__PURE__*/React.createElement(Label$5, {
|
|
4904
4905
|
className: "Label",
|
|
4905
4906
|
disabled: disabled,
|
|
4906
4907
|
font_size: size === 'small' ? '14px' : '16px'
|
|
@@ -4955,35 +4956,35 @@ const EventDetailsCard = props => {
|
|
|
4955
4956
|
const formatedBanners = banners.map(banner => {
|
|
4956
4957
|
if (banner === 'StopAndShop') {
|
|
4957
4958
|
return {
|
|
4958
|
-
icon: /*#__PURE__*/React
|
|
4959
|
+
icon: /*#__PURE__*/React.createElement(StopAndShopNewIcon, null),
|
|
4959
4960
|
name: 'Stop&Shop',
|
|
4960
4961
|
checked: true
|
|
4961
4962
|
};
|
|
4962
4963
|
}
|
|
4963
4964
|
if (banner === 'FoodLion') {
|
|
4964
4965
|
return {
|
|
4965
|
-
icon: /*#__PURE__*/React
|
|
4966
|
+
icon: /*#__PURE__*/React.createElement(FoodLionNewIcon, null),
|
|
4966
4967
|
name: 'Food lion',
|
|
4967
4968
|
checked: false
|
|
4968
4969
|
};
|
|
4969
4970
|
}
|
|
4970
4971
|
if (banner === 'GiantFood') {
|
|
4971
4972
|
return {
|
|
4972
|
-
icon: /*#__PURE__*/React
|
|
4973
|
+
icon: /*#__PURE__*/React.createElement(GiantFoodNewIcon, null),
|
|
4973
4974
|
name: 'Giant Food',
|
|
4974
4975
|
checked: true
|
|
4975
4976
|
};
|
|
4976
4977
|
}
|
|
4977
4978
|
if (banner === 'TheGiantCompany') {
|
|
4978
4979
|
return {
|
|
4979
|
-
icon: /*#__PURE__*/React
|
|
4980
|
+
icon: /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null),
|
|
4980
4981
|
name: 'The Giant Company',
|
|
4981
4982
|
checked: true
|
|
4982
4983
|
};
|
|
4983
4984
|
}
|
|
4984
4985
|
if (banner === 'Hannaford') {
|
|
4985
4986
|
return {
|
|
4986
|
-
icon: /*#__PURE__*/React
|
|
4987
|
+
icon: /*#__PURE__*/React.createElement(HannafordNewIcon, null),
|
|
4987
4988
|
name: 'Hannaford',
|
|
4988
4989
|
checked: false
|
|
4989
4990
|
};
|
|
@@ -4995,11 +4996,11 @@ const EventDetailsCard = props => {
|
|
|
4995
4996
|
const viewButtonClick = e => {
|
|
4996
4997
|
onViewButtonClick(e);
|
|
4997
4998
|
};
|
|
4998
|
-
return /*#__PURE__*/React
|
|
4999
|
+
return /*#__PURE__*/React.createElement(MainContainer$7, {
|
|
4999
5000
|
className: className,
|
|
5000
5001
|
height: height,
|
|
5001
5002
|
width: width
|
|
5002
|
-
}, /*#__PURE__*/React
|
|
5003
|
+
}, /*#__PURE__*/React.createElement(TitleWrapper$1, null, /*#__PURE__*/React.createElement(CardTitle$1, null, title), displayBannersDropdown && /*#__PURE__*/React.createElement(BannersDropdown, {
|
|
5003
5004
|
banners: [{
|
|
5004
5005
|
checked: true,
|
|
5005
5006
|
name: 'StopAndShop'
|
|
@@ -5021,9 +5022,9 @@ const EventDetailsCard = props => {
|
|
|
5021
5022
|
banners
|
|
5022
5023
|
});
|
|
5023
5024
|
}
|
|
5024
|
-
})), /*#__PURE__*/React
|
|
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", {
|
|
5025
5026
|
key: index
|
|
5026
|
-
}, /*#__PURE__*/React
|
|
5027
|
+
}, /*#__PURE__*/React.createElement("span", null, item.label, ":"), ' ', item.value))), /*#__PURE__*/React.createElement(LinkButtonContainer$1, null, /*#__PURE__*/React.createElement(LinkButton, {
|
|
5027
5028
|
text: buttonText,
|
|
5028
5029
|
rightIcon: "select",
|
|
5029
5030
|
size: "small",
|
|
@@ -5144,20 +5145,20 @@ const LinnerDataBox = props => {
|
|
|
5144
5145
|
className,
|
|
5145
5146
|
customDataFormat
|
|
5146
5147
|
} = props;
|
|
5147
|
-
return /*#__PURE__*/React
|
|
5148
|
+
return /*#__PURE__*/React.createElement(LinnerContainer$1, {
|
|
5148
5149
|
className: className,
|
|
5149
5150
|
backgroundColor: backgroundColor,
|
|
5150
5151
|
width: width || "100%",
|
|
5151
5152
|
height: height || "200px",
|
|
5152
5153
|
customDataFormat: customDataFormat
|
|
5153
|
-
}, data.map((item, index) => /*#__PURE__*/React
|
|
5154
|
+
}, data.map((item, index) => /*#__PURE__*/React.createElement(DataBoxWrap, {
|
|
5154
5155
|
key: `${item.title}`,
|
|
5155
5156
|
width: `${100 / data.length}%`
|
|
5156
|
-
}, /*#__PURE__*/React
|
|
5157
|
+
}, /*#__PURE__*/React.createElement(DataBox$1, null, item.title && /*#__PURE__*/React.createElement(DataBoxTitle$1, {
|
|
5157
5158
|
className: "DataBoxTitle"
|
|
5158
|
-
}, item.title), /*#__PURE__*/React
|
|
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, {
|
|
5159
5160
|
className: "DataBoxValue"
|
|
5160
|
-
}, "".concat(formattedValue(item.value), getFormattedUnits(item.value))) : /*#__PURE__*/React
|
|
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", {
|
|
5161
5162
|
className: "vertival-line",
|
|
5162
5163
|
style: {
|
|
5163
5164
|
width: "1px",
|
|
@@ -5450,74 +5451,74 @@ const MarketShareDescription = props => {
|
|
|
5450
5451
|
dotCut
|
|
5451
5452
|
} = props;
|
|
5452
5453
|
const displayField = dataItem => {
|
|
5453
|
-
const content = /*#__PURE__*/React
|
|
5454
|
+
const content = /*#__PURE__*/React.createElement(FieldTitleAndValueSubContainer, {
|
|
5454
5455
|
className: "FieldTitleAndValueSubContainer"
|
|
5455
|
-
}, /*#__PURE__*/React
|
|
5456
|
+
}, /*#__PURE__*/React.createElement(FieldTitle, {
|
|
5456
5457
|
className: "FieldTitle"
|
|
5457
|
-
}, dataItem.label), /*#__PURE__*/React
|
|
5458
|
+
}, dataItem.label), /*#__PURE__*/React.createElement(FormattedValue$3, {
|
|
5458
5459
|
className: "FormattedValue"
|
|
5459
|
-
}, /*#__PURE__*/React
|
|
5460
|
+
}, /*#__PURE__*/React.createElement(TextBeforeAndAfterValue$1, {
|
|
5460
5461
|
className: "TextBeforeAndAfterValue"
|
|
5461
|
-
}, 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
|
|
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)));
|
|
5462
5463
|
return content;
|
|
5463
5464
|
};
|
|
5464
5465
|
const dispalyRowFields = data => {
|
|
5465
5466
|
if (!data && !data.length > 0) return '';
|
|
5466
|
-
const content = /*#__PURE__*/React
|
|
5467
|
+
const content = /*#__PURE__*/React.createElement(FieldsContainer$1, {
|
|
5467
5468
|
className: "FieldsContainer",
|
|
5468
5469
|
height: "160px"
|
|
5469
|
-
}, data?.map((item, index) => /*#__PURE__*/React
|
|
5470
|
+
}, data?.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OneFieldsContainer, {
|
|
5470
5471
|
className: "OneFieldsContainer",
|
|
5471
5472
|
padding: index === 0 ? '0px' : '0 0 0 40px'
|
|
5472
|
-
}, displayField(item)), data?.length !== index + 1 ? /*#__PURE__*/React
|
|
5473
|
+
}, displayField(item)), data?.length !== index + 1 ? /*#__PURE__*/React.createElement(ColumnLineSeporatorContainer, {
|
|
5473
5474
|
className: "ColumnLineSeporatorContainer_vertical"
|
|
5474
|
-
}, /*#__PURE__*/React
|
|
5475
|
+
}, /*#__PURE__*/React.createElement(ColumnLineSeporator, {
|
|
5475
5476
|
className: "ColumnLineSeporator"
|
|
5476
5477
|
})) : '')));
|
|
5477
5478
|
return content;
|
|
5478
5479
|
};
|
|
5479
5480
|
const displayRows = () => {
|
|
5480
5481
|
if (!marketShareData || marketShareData?.length === 0) return '';
|
|
5481
|
-
const content = /*#__PURE__*/React
|
|
5482
|
+
const content = /*#__PURE__*/React.createElement(AllRowsContainer, {
|
|
5482
5483
|
className: "AllRowsContainer"
|
|
5483
|
-
}, marketShareData.map((item, index) => /*#__PURE__*/React
|
|
5484
|
+
}, marketShareData.map((item, index) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OneRowContainer, {
|
|
5484
5485
|
className: "OneRowContainer"
|
|
5485
|
-
}, /*#__PURE__*/React
|
|
5486
|
+
}, /*#__PURE__*/React.createElement(RowTitle, {
|
|
5486
5487
|
className: "RowTitle"
|
|
5487
|
-
}, /*#__PURE__*/React
|
|
5488
|
+
}, /*#__PURE__*/React.createElement(InfoTextLabel$1, {
|
|
5488
5489
|
className: "InfoTextLabel",
|
|
5489
5490
|
dangerouslySetInnerHTML: {
|
|
5490
5491
|
__html: item.rowTitle
|
|
5491
5492
|
}
|
|
5492
|
-
}), item.showBanner && /*#__PURE__*/React
|
|
5493
|
+
}), item.showBanner && /*#__PURE__*/React.createElement(OutBanner$2, {
|
|
5493
5494
|
className: "OutBanner",
|
|
5494
5495
|
onClick: () => onBannerClick({
|
|
5495
5496
|
eventName: 'onBannerClick',
|
|
5496
5497
|
rowName: item.name
|
|
5497
5498
|
})
|
|
5498
|
-
}, /*#__PURE__*/React
|
|
5499
|
+
}, /*#__PURE__*/React.createElement(ExportIcon, {
|
|
5499
5500
|
color: "#212121"
|
|
5500
|
-
}), "View By Banner")), dispalyRowFields(item.fieldsArray), /*#__PURE__*/React
|
|
5501
|
+
}), "View By Banner")), dispalyRowFields(item.fieldsArray), /*#__PURE__*/React.createElement(InfoTextContainer$1, {
|
|
5501
5502
|
className: "InfoTextContainer"
|
|
5502
|
-
}, item.rowFooter && item.rowFooter?.length > 0 ? /*#__PURE__*/React
|
|
5503
|
+
}, item.rowFooter && item.rowFooter?.length > 0 ? /*#__PURE__*/React.createElement(IconContainer$5, {
|
|
5503
5504
|
className: "IconContainer"
|
|
5504
|
-
}, /*#__PURE__*/React
|
|
5505
|
+
}, /*#__PURE__*/React.createElement(LampIcon, {
|
|
5505
5506
|
width: "23px",
|
|
5506
5507
|
height: "19px",
|
|
5507
5508
|
fill: iconColor
|
|
5508
|
-
})) : '', /*#__PURE__*/React
|
|
5509
|
+
})) : '', /*#__PURE__*/React.createElement(InfoTextLabel$1, {
|
|
5509
5510
|
className: "InfoTextLabel",
|
|
5510
5511
|
dangerouslySetInnerHTML: {
|
|
5511
5512
|
__html: item.rowFooter
|
|
5512
5513
|
}
|
|
5513
|
-
}))), marketShareData?.length !== index + 1 ? /*#__PURE__*/React
|
|
5514
|
+
}))), marketShareData?.length !== index + 1 ? /*#__PURE__*/React.createElement(ColumnLineSeporatorContainer, {
|
|
5514
5515
|
className: "ColumnLineSeporatorContainer_horizontal"
|
|
5515
|
-
}, /*#__PURE__*/React
|
|
5516
|
+
}, /*#__PURE__*/React.createElement(ColumnLineSeporator, {
|
|
5516
5517
|
className: "ColumnLineSeporator"
|
|
5517
5518
|
})) : '')));
|
|
5518
5519
|
return content;
|
|
5519
5520
|
};
|
|
5520
|
-
return /*#__PURE__*/React
|
|
5521
|
+
return /*#__PURE__*/React.createElement(MainContainer$5, {
|
|
5521
5522
|
className: "MainContainer",
|
|
5522
5523
|
height: height,
|
|
5523
5524
|
width: width
|
|
@@ -5590,68 +5591,68 @@ const SagIconButton = props => {
|
|
|
5590
5591
|
const getIcon = icon => {
|
|
5591
5592
|
switch (icon.toLowerCase()) {
|
|
5592
5593
|
case 'filter':
|
|
5593
|
-
return /*#__PURE__*/React
|
|
5594
|
+
return /*#__PURE__*/React.createElement(FilterIcon, {
|
|
5594
5595
|
height: iconHeight,
|
|
5595
5596
|
width: iconWidth,
|
|
5596
5597
|
color: activeState ? activeColor : color
|
|
5597
5598
|
});
|
|
5598
5599
|
case 'options':
|
|
5599
|
-
return /*#__PURE__*/React
|
|
5600
|
+
return /*#__PURE__*/React.createElement(OptionsIcon, {
|
|
5600
5601
|
height: iconHeight,
|
|
5601
5602
|
width: iconWidth,
|
|
5602
5603
|
color: activeState ? activeColor : color
|
|
5603
5604
|
});
|
|
5604
5605
|
case 'download':
|
|
5605
|
-
return /*#__PURE__*/React
|
|
5606
|
+
return /*#__PURE__*/React.createElement(DownloadIcon, {
|
|
5606
5607
|
height: iconHeight,
|
|
5607
5608
|
width: iconWidth,
|
|
5608
5609
|
color: activeState ? activeColor : color
|
|
5609
5610
|
});
|
|
5610
5611
|
case 'document':
|
|
5611
|
-
return /*#__PURE__*/React
|
|
5612
|
+
return /*#__PURE__*/React.createElement(DocumentIcon, {
|
|
5612
5613
|
height: iconHeight,
|
|
5613
5614
|
width: iconWidth,
|
|
5614
5615
|
color: activeState ? activeColor : color
|
|
5615
5616
|
});
|
|
5616
5617
|
case 'fly':
|
|
5617
|
-
return /*#__PURE__*/React
|
|
5618
|
+
return /*#__PURE__*/React.createElement(FlyIcon, {
|
|
5618
5619
|
height: iconHeight,
|
|
5619
5620
|
width: iconWidth,
|
|
5620
5621
|
color: activeState ? activeColor : color
|
|
5621
5622
|
});
|
|
5622
5623
|
case 'bell':
|
|
5623
|
-
return /*#__PURE__*/React
|
|
5624
|
+
return /*#__PURE__*/React.createElement(BellIcon, {
|
|
5624
5625
|
height: iconHeight,
|
|
5625
5626
|
width: iconWidth,
|
|
5626
5627
|
color: activeState ? activeColor : color
|
|
5627
5628
|
});
|
|
5628
5629
|
case 'maintenance':
|
|
5629
|
-
return /*#__PURE__*/React
|
|
5630
|
+
return /*#__PURE__*/React.createElement(MaintenanceIcon, {
|
|
5630
5631
|
height: iconHeight,
|
|
5631
5632
|
width: iconWidth,
|
|
5632
5633
|
color: activeState ? activeColor : color
|
|
5633
5634
|
});
|
|
5634
5635
|
case 'exit':
|
|
5635
|
-
return /*#__PURE__*/React
|
|
5636
|
+
return /*#__PURE__*/React.createElement(ExitIcon, {
|
|
5636
5637
|
height: iconHeight,
|
|
5637
5638
|
width: iconWidth,
|
|
5638
5639
|
color: activeState ? activeColor : color
|
|
5639
5640
|
});
|
|
5640
5641
|
case 'eye':
|
|
5641
|
-
return /*#__PURE__*/React
|
|
5642
|
+
return /*#__PURE__*/React.createElement(EyeIcon, {
|
|
5642
5643
|
height: iconHeight,
|
|
5643
5644
|
width: iconWidth,
|
|
5644
5645
|
color: activeState ? activeColor : color
|
|
5645
5646
|
});
|
|
5646
5647
|
default:
|
|
5647
|
-
return /*#__PURE__*/React
|
|
5648
|
+
return /*#__PURE__*/React.createElement(EyeIcon, {
|
|
5648
5649
|
height: iconHeight,
|
|
5649
5650
|
width: iconWidth,
|
|
5650
5651
|
color: activeState ? activeColor : color
|
|
5651
5652
|
});
|
|
5652
5653
|
}
|
|
5653
5654
|
};
|
|
5654
|
-
return /*#__PURE__*/React
|
|
5655
|
+
return /*#__PURE__*/React.createElement(SagIconButtonWrapper, {
|
|
5655
5656
|
className: className,
|
|
5656
5657
|
height: height,
|
|
5657
5658
|
color: activeState ? activeColor : color,
|
|
@@ -5660,7 +5661,7 @@ const SagIconButton = props => {
|
|
|
5660
5661
|
onClick: event => {
|
|
5661
5662
|
onClickHandler(event);
|
|
5662
5663
|
}
|
|
5663
|
-
}, getIcon(iconName), buttonText && /*#__PURE__*/React
|
|
5664
|
+
}, getIcon(iconName), buttonText && /*#__PURE__*/React.createElement(SpanText$1, null, buttonText));
|
|
5664
5665
|
};
|
|
5665
5666
|
SagIconButton.propTypes = {
|
|
5666
5667
|
className: PropTypes.string,
|
|
@@ -5748,15 +5749,15 @@ const SearchInput = props => {
|
|
|
5748
5749
|
const handleInputChange = e => {
|
|
5749
5750
|
onTyping(e);
|
|
5750
5751
|
};
|
|
5751
|
-
return /*#__PURE__*/React
|
|
5752
|
+
return /*#__PURE__*/React.createElement(TextFieldContainer, {
|
|
5752
5753
|
className: className,
|
|
5753
5754
|
width: width
|
|
5754
|
-
}, /*#__PURE__*/React
|
|
5755
|
+
}, /*#__PURE__*/React.createElement(TextFieldInput, {
|
|
5755
5756
|
type: "search",
|
|
5756
5757
|
height: height,
|
|
5757
5758
|
placeholder: placeholder,
|
|
5758
5759
|
onChange: handleInputChange
|
|
5759
|
-
}), /*#__PURE__*/React
|
|
5760
|
+
}), /*#__PURE__*/React.createElement(SearchIcon, null));
|
|
5760
5761
|
};
|
|
5761
5762
|
SearchInput.propTypes = {
|
|
5762
5763
|
placeholder: PropTypes.string,
|
|
@@ -5920,55 +5921,55 @@ const TabMenu = props => {
|
|
|
5920
5921
|
useEffect(() => {
|
|
5921
5922
|
setActiveTab(currentTab);
|
|
5922
5923
|
}, [currentTab]);
|
|
5923
|
-
return /*#__PURE__*/React
|
|
5924
|
+
return /*#__PURE__*/React.createElement(TabMenuContainer, {
|
|
5924
5925
|
className: className
|
|
5925
|
-
}, /*#__PURE__*/React
|
|
5926
|
+
}, /*#__PURE__*/React.createElement(TopRow, null, showFilterButton && /*#__PURE__*/React.createElement(SagIconButtonWrap, {
|
|
5926
5927
|
id: "filterButton",
|
|
5927
5928
|
iconName: "Filter",
|
|
5928
5929
|
buttonText: "",
|
|
5929
5930
|
openState: panelIsOpen,
|
|
5930
5931
|
activeColor: activeColor,
|
|
5931
5932
|
onButtonClick: onFilterButtonClick
|
|
5932
|
-
}), headlineInsteadTabs ? /*#__PURE__*/React
|
|
5933
|
+
}), headlineInsteadTabs ? /*#__PURE__*/React.createElement(Headline$1, null, headlineText) : /*#__PURE__*/React.createElement(Nav, {
|
|
5933
5934
|
className: "Nav"
|
|
5934
|
-
}, /*#__PURE__*/React
|
|
5935
|
+
}, /*#__PURE__*/React.createElement(Tabs, {
|
|
5935
5936
|
className: "Tabs"
|
|
5936
|
-
}, tabs.length > 1 ? tabs.map((tab, index) => /*#__PURE__*/React
|
|
5937
|
+
}, tabs.length > 1 ? tabs.map((tab, index) => /*#__PURE__*/React.createElement(Tab, {
|
|
5937
5938
|
key: tab.title.replace(/\s/g, ''),
|
|
5938
5939
|
isActive: index === activeTab,
|
|
5939
5940
|
className: `tab ${index === activeTab ? 'active' : ''}`,
|
|
5940
5941
|
color: color,
|
|
5941
5942
|
onClick: () => handleTabChange(index)
|
|
5942
|
-
}, tab.title)) : /*#__PURE__*/React
|
|
5943
|
+
}, tab.title)) : /*#__PURE__*/React.createElement(Tab, {
|
|
5943
5944
|
isActive: activeTab === 0,
|
|
5944
5945
|
className: `tab ${activeTab === 0 ? 'active' : ''}`,
|
|
5945
5946
|
color: color,
|
|
5946
5947
|
onClick: () => handleTabChange(0)
|
|
5947
|
-
}, tabs[0].title), /*#__PURE__*/React
|
|
5948
|
+
}, tabs[0].title), /*#__PURE__*/React.createElement(PresentationSlider, {
|
|
5948
5949
|
className: "PresentationSlider",
|
|
5949
5950
|
activeTab: activeTab,
|
|
5950
5951
|
color: color,
|
|
5951
5952
|
width: `${100 / tabs.length}%`,
|
|
5952
5953
|
role: "presentation"
|
|
5953
|
-
}))), setTopRightButton && /*#__PURE__*/React
|
|
5954
|
+
}))), setTopRightButton && /*#__PURE__*/React.createElement(Button, {
|
|
5954
5955
|
text: rightButtonText,
|
|
5955
5956
|
rightIcon: rightButtonIcon,
|
|
5956
5957
|
size: "small",
|
|
5957
5958
|
disabled: disabledButton,
|
|
5958
5959
|
onClick: () => onTopButtonClick()
|
|
5959
|
-
})), showActions && /*#__PURE__*/React
|
|
5960
|
+
})), showActions && /*#__PURE__*/React.createElement(ActionsWrapper, {
|
|
5960
5961
|
className: "ActionsWrapper"
|
|
5961
|
-
}, showLabel && /*#__PURE__*/React
|
|
5962
|
+
}, showLabel && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Label$4, {
|
|
5962
5963
|
className: "Label"
|
|
5963
|
-
}, /*#__PURE__*/React
|
|
5964
|
+
}, /*#__PURE__*/React.createElement("span", null, "Platform: "), "Total"), /*#__PURE__*/React.createElement("span", {
|
|
5964
5965
|
className: "separator"
|
|
5965
|
-
}, "|")), children || '', showViewOptionsButton && /*#__PURE__*/React
|
|
5966
|
+
}, "|")), children || '', showViewOptionsButton && /*#__PURE__*/React.createElement(SagIconButton, {
|
|
5966
5967
|
iconName: "ViewIndicator",
|
|
5967
5968
|
buttonText: "View Indicator"
|
|
5968
|
-
}), showSearchInput && /*#__PURE__*/React
|
|
5969
|
+
}), showSearchInput && /*#__PURE__*/React.createElement(SearchInputWrap, {
|
|
5969
5970
|
width: inputWidth,
|
|
5970
5971
|
onTyping: e => onSearchFieldTyping(e)
|
|
5971
|
-
})), /*#__PURE__*/React
|
|
5972
|
+
})), /*#__PURE__*/React.createElement(Body, {
|
|
5972
5973
|
id: "tabsBody",
|
|
5973
5974
|
setBackground: setBackground
|
|
5974
5975
|
}, tabs[activeTab] && tabs[activeTab].content));
|
|
@@ -6028,7 +6029,7 @@ TabMenu.defaultProps = {
|
|
|
6028
6029
|
onTopButtonClick: () => {},
|
|
6029
6030
|
tabs: [{
|
|
6030
6031
|
title: 'Overview',
|
|
6031
|
-
content: /*#__PURE__*/React
|
|
6032
|
+
content: /*#__PURE__*/React.createElement(MarketShareDescription, {
|
|
6032
6033
|
marketShareData: [{
|
|
6033
6034
|
name: 'pringlesHarvestBlend',
|
|
6034
6035
|
rowTitle: 'Pringles Harvest Blend',
|
|
@@ -11018,7 +11019,7 @@ const DropdownSingleNew = ({
|
|
|
11018
11019
|
return "";
|
|
11019
11020
|
}
|
|
11020
11021
|
if (required) {
|
|
11021
|
-
return /*#__PURE__*/React
|
|
11022
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
11022
11023
|
style: {
|
|
11023
11024
|
color: "red"
|
|
11024
11025
|
}
|
|
@@ -11026,25 +11027,25 @@ const DropdownSingleNew = ({
|
|
|
11026
11027
|
}
|
|
11027
11028
|
return "";
|
|
11028
11029
|
};
|
|
11029
|
-
return /*#__PURE__*/React
|
|
11030
|
+
return /*#__PURE__*/React.createElement(DropdownWrapper$2, {
|
|
11030
11031
|
className: "DropdownWrapper",
|
|
11031
11032
|
width: width,
|
|
11032
11033
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
11033
11034
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
11034
|
-
}, /*#__PURE__*/React
|
|
11035
|
+
}, /*#__PURE__*/React.createElement(InputContainer$6, {
|
|
11035
11036
|
className: "InputContainer",
|
|
11036
11037
|
labelColor: labelColor,
|
|
11037
11038
|
disabled: disabled,
|
|
11038
11039
|
error: error,
|
|
11039
11040
|
isFocused: isFocused
|
|
11040
|
-
}, /*#__PURE__*/React
|
|
11041
|
+
}, /*#__PURE__*/React.createElement(InputSubContainer$3, {
|
|
11041
11042
|
className: "InputSubContainer",
|
|
11042
11043
|
ref: containerRef,
|
|
11043
11044
|
labelColor: labelColor,
|
|
11044
11045
|
disabled: disabled,
|
|
11045
11046
|
error: error,
|
|
11046
11047
|
onClick: handleLabelClick
|
|
11047
|
-
}, /*#__PURE__*/React
|
|
11048
|
+
}, /*#__PURE__*/React.createElement(Label$3, {
|
|
11048
11049
|
className: "Label",
|
|
11049
11050
|
isFocused: isFocused,
|
|
11050
11051
|
labelColor: labelColor,
|
|
@@ -11054,7 +11055,7 @@ const DropdownSingleNew = ({
|
|
|
11054
11055
|
errorMessage: errorMessage,
|
|
11055
11056
|
onClick: handleLabelClick,
|
|
11056
11057
|
showLabelOnTop: showLabelOnTop
|
|
11057
|
-
}, getLabel(), getRequired()), /*#__PURE__*/React
|
|
11058
|
+
}, getLabel(), getRequired()), /*#__PURE__*/React.createElement(StyledInput$6, {
|
|
11058
11059
|
className: "StyledInput",
|
|
11059
11060
|
ref: inputRef,
|
|
11060
11061
|
value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
|
|
@@ -11064,37 +11065,37 @@ const DropdownSingleNew = ({
|
|
|
11064
11065
|
placeholder: isFocused ? filteredOptions.length <= 5 ? "Select Option…" : "Type To Search" : "",
|
|
11065
11066
|
error: error,
|
|
11066
11067
|
isFocused: isFocused
|
|
11067
|
-
})), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React
|
|
11068
|
+
})), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(IconContainer$4, {
|
|
11068
11069
|
className: "IconContainer",
|
|
11069
11070
|
onClick: handleClearClick
|
|
11070
|
-
}, /*#__PURE__*/React
|
|
11071
|
+
}, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
11071
11072
|
width: "12px",
|
|
11072
11073
|
height: "12px",
|
|
11073
11074
|
fill: "#B1B1B1"
|
|
11074
|
-
})), /*#__PURE__*/React
|
|
11075
|
+
})), /*#__PURE__*/React.createElement(IconContainer$4, {
|
|
11075
11076
|
className: "IconContainer",
|
|
11076
11077
|
onClick: handleOpenCloseMenuClick
|
|
11077
|
-
}, showOptions ? /*#__PURE__*/React
|
|
11078
|
+
}, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
|
|
11078
11079
|
width: "12px",
|
|
11079
11080
|
height: "12px",
|
|
11080
11081
|
color: "#B1B1B1"
|
|
11081
|
-
}) : /*#__PURE__*/React
|
|
11082
|
+
}) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
|
|
11082
11083
|
width: "12px",
|
|
11083
11084
|
height: "12px",
|
|
11084
11085
|
color: "#B1B1B1"
|
|
11085
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React
|
|
11086
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer$6, {
|
|
11086
11087
|
className: "OptionsContainer",
|
|
11087
11088
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
11088
11089
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
11089
11090
|
showoptions: showOptions,
|
|
11090
11091
|
disabled: disabled,
|
|
11091
11092
|
filteredoptions: filteredOptions
|
|
11092
|
-
}, /*#__PURE__*/React
|
|
11093
|
+
}, /*#__PURE__*/React.createElement(OptionsSubContainer$3, {
|
|
11093
11094
|
className: "OptionsSubContainer",
|
|
11094
11095
|
showoptions: showOptions,
|
|
11095
11096
|
disabled: disabled,
|
|
11096
11097
|
filteredoptions: filteredOptions
|
|
11097
|
-
}, filteredOptions.map(option => /*#__PURE__*/React
|
|
11098
|
+
}, filteredOptions.map(option => /*#__PURE__*/React.createElement(OptionItem$3, {
|
|
11098
11099
|
className: "OptionItem",
|
|
11099
11100
|
key: option.value,
|
|
11100
11101
|
onClick: () => toggleOption(option),
|
|
@@ -11499,9 +11500,9 @@ const DropdownMultiNew = ({
|
|
|
11499
11500
|
});
|
|
11500
11501
|
};
|
|
11501
11502
|
const displaySelectedOptions = () => {
|
|
11502
|
-
const content = /*#__PURE__*/React
|
|
11503
|
+
const content = /*#__PURE__*/React.createElement(SelectedOptionsContainer$1, {
|
|
11503
11504
|
className: "SelectedOptionsContainer"
|
|
11504
|
-
}, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React
|
|
11505
|
+
}, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem$1, {
|
|
11505
11506
|
className: "SelectedOptionItem",
|
|
11506
11507
|
key: option.value,
|
|
11507
11508
|
onClick: () => {
|
|
@@ -11511,11 +11512,11 @@ const DropdownMultiNew = ({
|
|
|
11511
11512
|
inputRef?.current?.focus();
|
|
11512
11513
|
}
|
|
11513
11514
|
}
|
|
11514
|
-
}, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React
|
|
11515
|
+
}, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
11515
11516
|
width: "8px",
|
|
11516
11517
|
height: "8px",
|
|
11517
11518
|
fill: "#212121"
|
|
11518
|
-
})) : " "), selectedOptions.length > 2 ? /*#__PURE__*/React
|
|
11519
|
+
})) : " "), selectedOptions.length > 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem$1, {
|
|
11519
11520
|
className: "SelectedOptionItem"
|
|
11520
11521
|
}, selectedOptions.length - 2, "+") : "");
|
|
11521
11522
|
return content;
|
|
@@ -11537,7 +11538,7 @@ const DropdownMultiNew = ({
|
|
|
11537
11538
|
return "";
|
|
11538
11539
|
}
|
|
11539
11540
|
if (required) {
|
|
11540
|
-
return /*#__PURE__*/React
|
|
11541
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
11541
11542
|
style: {
|
|
11542
11543
|
color: "red"
|
|
11543
11544
|
}
|
|
@@ -11545,25 +11546,25 @@ const DropdownMultiNew = ({
|
|
|
11545
11546
|
}
|
|
11546
11547
|
return "";
|
|
11547
11548
|
};
|
|
11548
|
-
return /*#__PURE__*/React
|
|
11549
|
+
return /*#__PURE__*/React.createElement(DropdownWrapper$1, {
|
|
11549
11550
|
className: "DropdownWrapper",
|
|
11550
11551
|
width: width,
|
|
11551
11552
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
11552
11553
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
11553
|
-
}, /*#__PURE__*/React
|
|
11554
|
+
}, /*#__PURE__*/React.createElement(InputContainer$5, {
|
|
11554
11555
|
className: "InputContainer",
|
|
11555
11556
|
labelColor: labelColor,
|
|
11556
11557
|
disabled: disabled,
|
|
11557
11558
|
error: error,
|
|
11558
11559
|
isFocused: isFocused
|
|
11559
|
-
}, /*#__PURE__*/React
|
|
11560
|
+
}, /*#__PURE__*/React.createElement(InputSubContainer$2, {
|
|
11560
11561
|
className: "InputSubContainer",
|
|
11561
11562
|
ref: containerRef,
|
|
11562
11563
|
labelColor: labelColor,
|
|
11563
11564
|
disabled: disabled,
|
|
11564
11565
|
error: error,
|
|
11565
11566
|
onClick: handleLabelClick
|
|
11566
|
-
}, /*#__PURE__*/React
|
|
11567
|
+
}, /*#__PURE__*/React.createElement(Label$2, {
|
|
11567
11568
|
className: "Label",
|
|
11568
11569
|
isFocused: isFocused,
|
|
11569
11570
|
labelColor: labelColor,
|
|
@@ -11573,7 +11574,7 @@ const DropdownMultiNew = ({
|
|
|
11573
11574
|
errorMessage: errorMessage,
|
|
11574
11575
|
onClick: handleLabelClick,
|
|
11575
11576
|
showLabelOnTop: showLabelOnTop
|
|
11576
|
-
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React
|
|
11577
|
+
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React.createElement(StyledInput$5, {
|
|
11577
11578
|
className: "StyledInput",
|
|
11578
11579
|
ref: inputRef,
|
|
11579
11580
|
value: inputValue,
|
|
@@ -11585,48 +11586,48 @@ const DropdownMultiNew = ({
|
|
|
11585
11586
|
placeholder: isFocused ? filteredOptions.length <= 5 ? "Select Option…" : "Type To Search" : "",
|
|
11586
11587
|
error: error,
|
|
11587
11588
|
isFocused: isFocused
|
|
11588
|
-
}) : " "), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React
|
|
11589
|
+
}) : " "), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(IconContainer$3, {
|
|
11589
11590
|
className: "IconContainer",
|
|
11590
11591
|
onClick: handleClearClick
|
|
11591
|
-
}, /*#__PURE__*/React
|
|
11592
|
+
}, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
11592
11593
|
width: "12px",
|
|
11593
11594
|
height: "12px",
|
|
11594
11595
|
fill: "#B1B1B1"
|
|
11595
|
-
})), /*#__PURE__*/React
|
|
11596
|
+
})), /*#__PURE__*/React.createElement(IconContainer$3, {
|
|
11596
11597
|
className: "IconContainer",
|
|
11597
11598
|
onClick: handleOpenCloseMenuClick
|
|
11598
|
-
}, showOptions ? /*#__PURE__*/React
|
|
11599
|
+
}, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
|
|
11599
11600
|
width: "12px",
|
|
11600
11601
|
height: "12px",
|
|
11601
11602
|
color: "#B1B1B1"
|
|
11602
|
-
}) : /*#__PURE__*/React
|
|
11603
|
+
}) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
|
|
11603
11604
|
width: "12px",
|
|
11604
11605
|
height: "12px",
|
|
11605
11606
|
color: "#B1B1B1"
|
|
11606
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React
|
|
11607
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer$5, {
|
|
11607
11608
|
className: "OptionsContainer",
|
|
11608
11609
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
11609
11610
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
11610
11611
|
showoptions: showOptions,
|
|
11611
11612
|
disabled: disabled,
|
|
11612
11613
|
filteredoptions: filteredOptions
|
|
11613
|
-
}, /*#__PURE__*/React
|
|
11614
|
+
}, /*#__PURE__*/React.createElement(OptionsSubContainer$2, {
|
|
11614
11615
|
className: "OptionsSubContainer",
|
|
11615
11616
|
showoptions: showOptions,
|
|
11616
11617
|
disabled: disabled,
|
|
11617
11618
|
filteredoptions: filteredOptions
|
|
11618
|
-
}, filteredOptions.map(option => /*#__PURE__*/React
|
|
11619
|
+
}, filteredOptions.map(option => /*#__PURE__*/React.createElement(OptionItem$2, {
|
|
11619
11620
|
className: "OptionItem",
|
|
11620
11621
|
key: option.value,
|
|
11621
11622
|
onClick: () => toggleOption(option),
|
|
11622
11623
|
selected: isDropdowned(option)
|
|
11623
|
-
}, " ", /*#__PURE__*/React
|
|
11624
|
+
}, " ", /*#__PURE__*/React.createElement(IconContainer$3, {
|
|
11624
11625
|
className: "IconContainer"
|
|
11625
|
-
}, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React
|
|
11626
|
+
}, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React.createElement(CheckBoxCheckedIcon, {
|
|
11626
11627
|
width: "14px",
|
|
11627
11628
|
height: "14px",
|
|
11628
11629
|
color: disabled ? "#888" : checkBoxColor
|
|
11629
|
-
}) : /*#__PURE__*/React
|
|
11630
|
+
}) : /*#__PURE__*/React.createElement(CheckBoxNotCheckedIcon, {
|
|
11630
11631
|
width: "14px",
|
|
11631
11632
|
height: "14px",
|
|
11632
11633
|
color: disabled ? "#888" : "#212121"
|
|
@@ -11709,10 +11710,10 @@ const DropdownNew = ({
|
|
|
11709
11710
|
showLabelOnTop,
|
|
11710
11711
|
orderBy,
|
|
11711
11712
|
elementType
|
|
11712
|
-
}) => /*#__PURE__*/React
|
|
11713
|
+
}) => /*#__PURE__*/React.createElement(DropdownMain, {
|
|
11713
11714
|
className: "DropdownMain",
|
|
11714
11715
|
width: width
|
|
11715
|
-
}, isMulti ? /*#__PURE__*/React
|
|
11716
|
+
}, isMulti ? /*#__PURE__*/React.createElement(DropdownMultiNew, {
|
|
11716
11717
|
className: "DropdownMultiNew",
|
|
11717
11718
|
placeHolder: placeHolder,
|
|
11718
11719
|
label: label,
|
|
@@ -11731,7 +11732,7 @@ const DropdownNew = ({
|
|
|
11731
11732
|
showLabelOnTop: showLabelOnTop,
|
|
11732
11733
|
orderBy: orderBy,
|
|
11733
11734
|
elementType: elementType
|
|
11734
|
-
}) : /*#__PURE__*/React
|
|
11735
|
+
}) : /*#__PURE__*/React.createElement(DropdownSingleNew, {
|
|
11735
11736
|
className: "DropdownSingleNew",
|
|
11736
11737
|
placeHolder: placeHolder,
|
|
11737
11738
|
label: label,
|
|
@@ -12247,12 +12248,12 @@ const RangePicker = ({
|
|
|
12247
12248
|
const handleBlur = () => {
|
|
12248
12249
|
setIsFocused(false);
|
|
12249
12250
|
};
|
|
12250
|
-
return /*#__PURE__*/React
|
|
12251
|
+
return /*#__PURE__*/React.createElement(RangePickerContainer, {
|
|
12251
12252
|
className: "RangePickerContainer",
|
|
12252
12253
|
onClick: handleFocus,
|
|
12253
12254
|
width: width,
|
|
12254
12255
|
height: height
|
|
12255
|
-
}, /*#__PURE__*/React
|
|
12256
|
+
}, /*#__PURE__*/React.createElement(InputContainer$4, {
|
|
12256
12257
|
className: "InputContainer",
|
|
12257
12258
|
isFocused: isFocused,
|
|
12258
12259
|
hasValue: value,
|
|
@@ -12262,7 +12263,7 @@ const RangePicker = ({
|
|
|
12262
12263
|
borderColorFocus: borderColorFocus,
|
|
12263
12264
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
12264
12265
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
12265
|
-
}, /*#__PURE__*/React
|
|
12266
|
+
}, /*#__PURE__*/React.createElement(StyledLabel$2, {
|
|
12266
12267
|
className: "StyledLabel",
|
|
12267
12268
|
onClick: handleFocus,
|
|
12268
12269
|
isFocused: isFocused,
|
|
@@ -12271,7 +12272,7 @@ const RangePicker = ({
|
|
|
12271
12272
|
textColor: textColor,
|
|
12272
12273
|
borderColor: borderColor,
|
|
12273
12274
|
borderColorFocus: borderColorFocus
|
|
12274
|
-
}, label, required && /*#__PURE__*/React
|
|
12275
|
+
}, label, required && /*#__PURE__*/React.createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React.createElement(StyledInput$4, {
|
|
12275
12276
|
className: "StyledInput",
|
|
12276
12277
|
ref: inputRef,
|
|
12277
12278
|
value: value,
|
|
@@ -12287,18 +12288,18 @@ const RangePicker = ({
|
|
|
12287
12288
|
textColor: textColor,
|
|
12288
12289
|
borderColor: borderColor,
|
|
12289
12290
|
borderColorFocus: borderColorFocus
|
|
12290
|
-
}), /*#__PURE__*/React
|
|
12291
|
+
}), /*#__PURE__*/React.createElement(CalendarDiv$2, {
|
|
12291
12292
|
className: "CalendarDiv",
|
|
12292
12293
|
onClick: toggleDatePicker
|
|
12293
|
-
}, isOpen === true ? /*#__PURE__*/React
|
|
12294
|
+
}, isOpen === true ? /*#__PURE__*/React.createElement(CalendarInOpen, {
|
|
12294
12295
|
className: "CalendarInOpen"
|
|
12295
|
-
}) : /*#__PURE__*/React
|
|
12296
|
+
}) : /*#__PURE__*/React.createElement(Calendar, {
|
|
12296
12297
|
className: "Calendar"
|
|
12297
|
-
}))), /*#__PURE__*/React
|
|
12298
|
+
}))), /*#__PURE__*/React.createElement(OptionsContainer$4, {
|
|
12298
12299
|
className: "OptionsContainer",
|
|
12299
12300
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
12300
12301
|
onMouseLeave: () => setHoverOptionsContainer(false)
|
|
12301
|
-
}, /*#__PURE__*/React
|
|
12302
|
+
}, /*#__PURE__*/React.createElement(DatePicker, {
|
|
12302
12303
|
className: "DatePicker",
|
|
12303
12304
|
isOpen: isOpen,
|
|
12304
12305
|
onChangeDate: onChangeDate,
|
|
@@ -12436,6 +12437,10 @@ const OptionsContainer$3 = dt.div`
|
|
|
12436
12437
|
padding-top: 8px;
|
|
12437
12438
|
`;
|
|
12438
12439
|
|
|
12440
|
+
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
12441
|
+
// import ChervronRightIcon from './icons/ChervronRightIcon';
|
|
12442
|
+
// import ChervronLeftIcon from './icons/ChervronLeftIcon';
|
|
12443
|
+
|
|
12439
12444
|
// Styled components for the date picker
|
|
12440
12445
|
const DatePickerContainer$2 = dt.div`
|
|
12441
12446
|
position: relative;
|
|
@@ -12683,12 +12688,12 @@ const QuarterPicker = ({
|
|
|
12683
12688
|
const handleBlur = () => {
|
|
12684
12689
|
setIsFocused(false);
|
|
12685
12690
|
};
|
|
12686
|
-
return /*#__PURE__*/React
|
|
12691
|
+
return /*#__PURE__*/React.createElement(QuarterPickerContainer, {
|
|
12687
12692
|
className: "QuarterPickerContainer",
|
|
12688
12693
|
onClick: handleFocus,
|
|
12689
12694
|
width: width,
|
|
12690
12695
|
height: height
|
|
12691
|
-
}, /*#__PURE__*/React
|
|
12696
|
+
}, /*#__PURE__*/React.createElement(InputContainer$3, {
|
|
12692
12697
|
className: "InputContainer",
|
|
12693
12698
|
isFocused: isFocused,
|
|
12694
12699
|
hasValue: value,
|
|
@@ -12698,7 +12703,7 @@ const QuarterPicker = ({
|
|
|
12698
12703
|
borderColorFocus: borderColorFocus,
|
|
12699
12704
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
12700
12705
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
12701
|
-
}, /*#__PURE__*/React
|
|
12706
|
+
}, /*#__PURE__*/React.createElement(StyledLabel$1, {
|
|
12702
12707
|
className: "StyledLabel",
|
|
12703
12708
|
onClick: handleFocus,
|
|
12704
12709
|
isFocused: isFocused,
|
|
@@ -12707,7 +12712,7 @@ const QuarterPicker = ({
|
|
|
12707
12712
|
textColor: textColor,
|
|
12708
12713
|
borderColor: borderColor,
|
|
12709
12714
|
borderColorFocus: borderColorFocus
|
|
12710
|
-
}, label, required && /*#__PURE__*/React
|
|
12715
|
+
}, label, required && /*#__PURE__*/React.createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React.createElement(StyledInput$3, {
|
|
12711
12716
|
className: "StyledInput",
|
|
12712
12717
|
ref: inputRef,
|
|
12713
12718
|
value: value,
|
|
@@ -12723,15 +12728,15 @@ const QuarterPicker = ({
|
|
|
12723
12728
|
disabled: disabled,
|
|
12724
12729
|
borderColor: borderColor,
|
|
12725
12730
|
textColor: textColor
|
|
12726
|
-
}), /*#__PURE__*/React
|
|
12731
|
+
}), /*#__PURE__*/React.createElement(CalendarDiv$1, {
|
|
12727
12732
|
className: "CalendarDiv",
|
|
12728
12733
|
width: width,
|
|
12729
12734
|
onClick: toggleDatePicker
|
|
12730
|
-
}, isOpen === true ? /*#__PURE__*/React
|
|
12735
|
+
}, isOpen === true ? /*#__PURE__*/React.createElement(CalendarInOpen, null) : /*#__PURE__*/React.createElement(Calendar, null))), /*#__PURE__*/React.createElement(OptionsContainer$3, {
|
|
12731
12736
|
className: "OptionsContainer",
|
|
12732
12737
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
12733
12738
|
onMouseLeave: () => setHoverOptionsContainer(false)
|
|
12734
|
-
}, /*#__PURE__*/React
|
|
12739
|
+
}, /*#__PURE__*/React.createElement(QuarterPopupPicker, {
|
|
12735
12740
|
className: "QuarterPopupPicker",
|
|
12736
12741
|
isOpen: isOpen,
|
|
12737
12742
|
onChangeDate: onChangeDate,
|
|
@@ -12865,6 +12870,8 @@ const OptionsContainer$2 = dt.div`
|
|
|
12865
12870
|
padding-top: 8px;
|
|
12866
12871
|
`;
|
|
12867
12872
|
|
|
12873
|
+
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
12874
|
+
|
|
12868
12875
|
// Styled components for the date picker
|
|
12869
12876
|
const DatePickerContainer$1 = dt.div`
|
|
12870
12877
|
position: relative;
|
|
@@ -13133,12 +13140,12 @@ const MonthPicker = ({
|
|
|
13133
13140
|
const handleBlur = () => {
|
|
13134
13141
|
setIsFocused(false);
|
|
13135
13142
|
};
|
|
13136
|
-
return /*#__PURE__*/React
|
|
13143
|
+
return /*#__PURE__*/React.createElement(MonthPickerContainer, {
|
|
13137
13144
|
className: "MonthPickerContainer",
|
|
13138
13145
|
onClick: handleFocus,
|
|
13139
13146
|
width: width,
|
|
13140
13147
|
height: height
|
|
13141
|
-
}, /*#__PURE__*/React
|
|
13148
|
+
}, /*#__PURE__*/React.createElement(InputContainer$2, {
|
|
13142
13149
|
className: "InputContainer",
|
|
13143
13150
|
isFocused: isFocused,
|
|
13144
13151
|
hasValue: value,
|
|
@@ -13148,7 +13155,7 @@ const MonthPicker = ({
|
|
|
13148
13155
|
borderColorFocus: borderColorFocus,
|
|
13149
13156
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
13150
13157
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
13151
|
-
}, /*#__PURE__*/React
|
|
13158
|
+
}, /*#__PURE__*/React.createElement(StyledLabel, {
|
|
13152
13159
|
className: "StyledLabel",
|
|
13153
13160
|
onClick: handleFocus,
|
|
13154
13161
|
isFocused: isFocused,
|
|
@@ -13157,7 +13164,7 @@ const MonthPicker = ({
|
|
|
13157
13164
|
textColor: textColor,
|
|
13158
13165
|
borderColor: borderColor,
|
|
13159
13166
|
borderColorFocus: borderColorFocus
|
|
13160
|
-
}, label, required && /*#__PURE__*/React
|
|
13167
|
+
}, label, required && /*#__PURE__*/React.createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React.createElement(StyledInput$2, {
|
|
13161
13168
|
className: "StyledInput",
|
|
13162
13169
|
ref: inputRef,
|
|
13163
13170
|
value: value,
|
|
@@ -13173,15 +13180,15 @@ const MonthPicker = ({
|
|
|
13173
13180
|
disabled: disabled,
|
|
13174
13181
|
borderColor: borderColor,
|
|
13175
13182
|
textColor: textColor
|
|
13176
|
-
}), /*#__PURE__*/React
|
|
13183
|
+
}), /*#__PURE__*/React.createElement(CalendarDiv, {
|
|
13177
13184
|
className: "CalendarDiv",
|
|
13178
13185
|
width: width,
|
|
13179
13186
|
onClick: toggleDatePicker
|
|
13180
|
-
}, isOpen === true ? /*#__PURE__*/React
|
|
13187
|
+
}, isOpen === true ? /*#__PURE__*/React.createElement(CalendarInOpen, null) : /*#__PURE__*/React.createElement(Calendar, null))), /*#__PURE__*/React.createElement(OptionsContainer$2, {
|
|
13181
13188
|
className: "OptionsContainer",
|
|
13182
13189
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
13183
13190
|
onMouseLeave: () => setHoverOptionsContainer(false)
|
|
13184
|
-
}, /*#__PURE__*/React
|
|
13191
|
+
}, /*#__PURE__*/React.createElement(MonthPopupPicker, {
|
|
13185
13192
|
className: "MonthPopupPicker",
|
|
13186
13193
|
isOpen: isOpen,
|
|
13187
13194
|
onChangeDate: onChangeDate,
|
|
@@ -13459,8 +13466,8 @@ const FilterPanel = props => {
|
|
|
13459
13466
|
fieldsData: newFieldsDataState
|
|
13460
13467
|
});
|
|
13461
13468
|
};
|
|
13462
|
-
const getTooltipTextDates = () => /*#__PURE__*/React
|
|
13463
|
-
const getTooltipTextGoButton = () => /*#__PURE__*/React
|
|
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));
|
|
13464
13471
|
const getYearsArray = () => {
|
|
13465
13472
|
const currentYear = moment().year();
|
|
13466
13473
|
const previousYear = moment().subtract(1, 'years').year();
|
|
@@ -13505,9 +13512,9 @@ const FilterPanel = props => {
|
|
|
13505
13512
|
}
|
|
13506
13513
|
switch (currentValue) {
|
|
13507
13514
|
case 'daterange':
|
|
13508
|
-
content = /*#__PURE__*/React
|
|
13515
|
+
content = /*#__PURE__*/React.createElement(DatePickerContainer, {
|
|
13509
13516
|
className: "DatePickerContainer"
|
|
13510
|
-
}, /*#__PURE__*/React
|
|
13517
|
+
}, /*#__PURE__*/React.createElement(RangePicker, {
|
|
13511
13518
|
className: "RangePicker",
|
|
13512
13519
|
name: ''.concat(item.name, '_Date'),
|
|
13513
13520
|
borderColor: "#E7E7E7",
|
|
@@ -13542,7 +13549,7 @@ const FilterPanel = props => {
|
|
|
13542
13549
|
}));
|
|
13543
13550
|
break;
|
|
13544
13551
|
case 'month':
|
|
13545
|
-
content = /*#__PURE__*/React
|
|
13552
|
+
content = /*#__PURE__*/React.createElement(MonthPicker, {
|
|
13546
13553
|
availableMonths: availableMonths,
|
|
13547
13554
|
name: ''.concat(item.name, '_Month'),
|
|
13548
13555
|
borderColor: "#E7E7E7",
|
|
@@ -13577,7 +13584,7 @@ const FilterPanel = props => {
|
|
|
13577
13584
|
});
|
|
13578
13585
|
break;
|
|
13579
13586
|
case 'quarter':
|
|
13580
|
-
content = /*#__PURE__*/React
|
|
13587
|
+
content = /*#__PURE__*/React.createElement(QuarterPicker, {
|
|
13581
13588
|
availableQuarters: availableQuarters,
|
|
13582
13589
|
className: "QuarterPicker",
|
|
13583
13590
|
name: ''.concat(item.name, '_Quarter'),
|
|
@@ -13613,7 +13620,7 @@ const FilterPanel = props => {
|
|
|
13613
13620
|
});
|
|
13614
13621
|
break;
|
|
13615
13622
|
case 'year':
|
|
13616
|
-
content = /*#__PURE__*/React
|
|
13623
|
+
content = /*#__PURE__*/React.createElement(DropdownNew, {
|
|
13617
13624
|
className: "Dropdown_Year",
|
|
13618
13625
|
name: ''.concat(item.name, '_Year'),
|
|
13619
13626
|
key: item.reset,
|
|
@@ -13638,16 +13645,16 @@ const FilterPanel = props => {
|
|
|
13638
13645
|
});
|
|
13639
13646
|
break;
|
|
13640
13647
|
default:
|
|
13641
|
-
content = /*#__PURE__*/React
|
|
13648
|
+
content = /*#__PURE__*/React.createElement(Tooltip$1, {
|
|
13642
13649
|
className: "Tooltip",
|
|
13643
13650
|
content: getTooltipTextDates(),
|
|
13644
13651
|
direction: "top",
|
|
13645
13652
|
topFactor: -1.8
|
|
13646
|
-
}, /*#__PURE__*/React
|
|
13653
|
+
}, /*#__PURE__*/React.createElement(PeriodPickerEmptyContainer, {
|
|
13647
13654
|
className: "PeriodPickerEmptyContainer",
|
|
13648
13655
|
width: FieldsContainerWidth ? `${FieldsContainerWidth?.toString()}px` : undefined,
|
|
13649
13656
|
height: "50px"
|
|
13650
|
-
}, /*#__PURE__*/React
|
|
13657
|
+
}, /*#__PURE__*/React.createElement(PeriodPickerEmptyText, {
|
|
13651
13658
|
className: "PeriodPickerEmptyText"
|
|
13652
13659
|
}, "Select Dates")));
|
|
13653
13660
|
}
|
|
@@ -13657,7 +13664,7 @@ const FilterPanel = props => {
|
|
|
13657
13664
|
let content;
|
|
13658
13665
|
switch (item.inputType) {
|
|
13659
13666
|
case 'dropdown':
|
|
13660
|
-
content = /*#__PURE__*/React
|
|
13667
|
+
content = /*#__PURE__*/React.createElement(DropdownNew, {
|
|
13661
13668
|
className: "Dropdown_Single",
|
|
13662
13669
|
name: item.name,
|
|
13663
13670
|
key: item.reset,
|
|
@@ -13681,7 +13688,7 @@ const FilterPanel = props => {
|
|
|
13681
13688
|
});
|
|
13682
13689
|
break;
|
|
13683
13690
|
case 'dropdownMulti':
|
|
13684
|
-
content = /*#__PURE__*/React
|
|
13691
|
+
content = /*#__PURE__*/React.createElement(DropdownNew, {
|
|
13685
13692
|
className: "Dropdown_Multi",
|
|
13686
13693
|
name: item.name,
|
|
13687
13694
|
key: item.reset,
|
|
@@ -13705,9 +13712,9 @@ const FilterPanel = props => {
|
|
|
13705
13712
|
});
|
|
13706
13713
|
break;
|
|
13707
13714
|
case 'datepicker':
|
|
13708
|
-
content = /*#__PURE__*/React
|
|
13715
|
+
content = /*#__PURE__*/React.createElement(DatePickerContainer, {
|
|
13709
13716
|
className: "DatePickerContainer"
|
|
13710
|
-
}, /*#__PURE__*/React
|
|
13717
|
+
}, /*#__PURE__*/React.createElement(RangePicker, {
|
|
13711
13718
|
className: "RangePicker",
|
|
13712
13719
|
borderColor: borderColor,
|
|
13713
13720
|
borderRadius: "12px",
|
|
@@ -13739,9 +13746,9 @@ const FilterPanel = props => {
|
|
|
13739
13746
|
}));
|
|
13740
13747
|
break;
|
|
13741
13748
|
case 'periodpicker':
|
|
13742
|
-
content = /*#__PURE__*/React
|
|
13749
|
+
content = /*#__PURE__*/React.createElement(PeriodPickerContainer, {
|
|
13743
13750
|
className: "PeriodPickerContainer"
|
|
13744
|
-
}, /*#__PURE__*/React
|
|
13751
|
+
}, /*#__PURE__*/React.createElement(DropdownNew, {
|
|
13745
13752
|
className: "Dropdown_PeriodPicker",
|
|
13746
13753
|
name: item.name,
|
|
13747
13754
|
key: item.reset,
|
|
@@ -13772,21 +13779,21 @@ const FilterPanel = props => {
|
|
|
13772
13779
|
if (!data || data.length === 0) {
|
|
13773
13780
|
return '';
|
|
13774
13781
|
}
|
|
13775
|
-
return /*#__PURE__*/React
|
|
13782
|
+
return /*#__PURE__*/React.createElement(FieldsContainer, {
|
|
13776
13783
|
className: "FieldsContainer"
|
|
13777
|
-
}, data?.map(item => /*#__PURE__*/React
|
|
13784
|
+
}, data?.map(item => /*#__PURE__*/React.createElement(FieldContainer, {
|
|
13778
13785
|
className: "FieldContainer"
|
|
13779
13786
|
}, displayField(item))));
|
|
13780
13787
|
};
|
|
13781
13788
|
const displayGoButton = () => {
|
|
13782
13789
|
let content;
|
|
13783
13790
|
if (tooltipTextGoButton) {
|
|
13784
|
-
content = /*#__PURE__*/React
|
|
13791
|
+
content = /*#__PURE__*/React.createElement(Tooltip$1, {
|
|
13785
13792
|
className: "Tooltip",
|
|
13786
13793
|
content: getTooltipTextGoButton(),
|
|
13787
13794
|
direction: "top",
|
|
13788
13795
|
topFactor: -0.9
|
|
13789
|
-
}, /*#__PURE__*/React
|
|
13796
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
13790
13797
|
text: "Go",
|
|
13791
13798
|
type: "primary",
|
|
13792
13799
|
size: "medium",
|
|
@@ -13814,7 +13821,7 @@ const FilterPanel = props => {
|
|
|
13814
13821
|
})
|
|
13815
13822
|
}));
|
|
13816
13823
|
} else {
|
|
13817
|
-
content = /*#__PURE__*/React
|
|
13824
|
+
content = /*#__PURE__*/React.createElement(Button, {
|
|
13818
13825
|
text: "Go",
|
|
13819
13826
|
type: "primary",
|
|
13820
13827
|
size: "medium",
|
|
@@ -13844,17 +13851,17 @@ const FilterPanel = props => {
|
|
|
13844
13851
|
}
|
|
13845
13852
|
return content;
|
|
13846
13853
|
};
|
|
13847
|
-
return /*#__PURE__*/React
|
|
13854
|
+
return /*#__PURE__*/React.createElement(ControlsContainer$7, {
|
|
13848
13855
|
className: className,
|
|
13849
13856
|
height: height,
|
|
13850
13857
|
width: width,
|
|
13851
13858
|
showShadow: showShadow
|
|
13852
|
-
}, /*#__PURE__*/React
|
|
13859
|
+
}, /*#__PURE__*/React.createElement(AllFieldsContainer, {
|
|
13853
13860
|
className: "AllFieldsContainer",
|
|
13854
13861
|
ref: AllFieldsContainerRef
|
|
13855
|
-
}, displayFields(FieldsDataState)), /*#__PURE__*/React
|
|
13862
|
+
}, displayFields(FieldsDataState)), /*#__PURE__*/React.createElement(ButtonsContainer, {
|
|
13856
13863
|
className: "ButtonsContainer"
|
|
13857
|
-
}, displayGoButton(), /*#__PURE__*/React
|
|
13864
|
+
}, displayGoButton(), /*#__PURE__*/React.createElement(Button, {
|
|
13858
13865
|
text: "Reset",
|
|
13859
13866
|
size: "medium",
|
|
13860
13867
|
type: "secondary",
|
|
@@ -14406,7 +14413,7 @@ const ReportTable = props => {
|
|
|
14406
14413
|
} = rest2;
|
|
14407
14414
|
onSelectRowClick(rest3);
|
|
14408
14415
|
};
|
|
14409
|
-
const displaySelectButton = rowData => /*#__PURE__*/React
|
|
14416
|
+
const displaySelectButton = rowData => /*#__PURE__*/React.createElement(LinkButton, {
|
|
14410
14417
|
disabled: disableSelectButtons,
|
|
14411
14418
|
onClick: e => handleSelectButtonRowClick(rowData),
|
|
14412
14419
|
rightIcon: buttonIconName,
|
|
@@ -14456,7 +14463,7 @@ const ReportTable = props => {
|
|
|
14456
14463
|
}
|
|
14457
14464
|
return colNumber;
|
|
14458
14465
|
};
|
|
14459
|
-
const getTooltipText = value => /*#__PURE__*/React
|
|
14466
|
+
const getTooltipText = value => /*#__PURE__*/React.createElement(TooltipWrapper$1, null, value);
|
|
14460
14467
|
const truncateString = (str, maxLength) => {
|
|
14461
14468
|
let val = str.length > maxLength ? str.slice(0, maxLength) + "..." : str;
|
|
14462
14469
|
return val;
|
|
@@ -14507,17 +14514,17 @@ const ReportTable = props => {
|
|
|
14507
14514
|
return newState;
|
|
14508
14515
|
});
|
|
14509
14516
|
};
|
|
14510
|
-
return /*#__PURE__*/React
|
|
14517
|
+
return /*#__PURE__*/React.createElement(ReportTableWrapper, null, /*#__PURE__*/React.createElement(TableWrapper, {
|
|
14511
14518
|
width: width,
|
|
14512
14519
|
height: height,
|
|
14513
14520
|
className: className,
|
|
14514
14521
|
maxColumnsNumber: getMaxColnumber(),
|
|
14515
14522
|
columnsNumber: columnsNumber
|
|
14516
|
-
}, /*#__PURE__*/React
|
|
14523
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
14517
14524
|
tableWidthSize: tableWidthSize
|
|
14518
|
-
}, /*#__PURE__*/React
|
|
14525
|
+
}, /*#__PURE__*/React.createElement("thead", null, /*#__PURE__*/React.createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React.createElement(Th, {
|
|
14519
14526
|
key: index
|
|
14520
|
-
}, /*#__PURE__*/React
|
|
14527
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, headline.label), headline.sortable && /*#__PURE__*/React.createElement("button", {
|
|
14521
14528
|
style: {
|
|
14522
14529
|
border: "none",
|
|
14523
14530
|
background: "none",
|
|
@@ -14525,39 +14532,39 @@ const ReportTable = props => {
|
|
|
14525
14532
|
padding: "0"
|
|
14526
14533
|
},
|
|
14527
14534
|
onClick: () => handleButtonClick(headline.key)
|
|
14528
|
-
}, /*#__PURE__*/React
|
|
14535
|
+
}, /*#__PURE__*/React.createElement(SortIcon, {
|
|
14529
14536
|
width: "16px",
|
|
14530
14537
|
height: "16px",
|
|
14531
14538
|
fillUpperArrow: activeSortState[headline.key] === "asc" ? "#229E38" : "#D0D0D0",
|
|
14532
14539
|
fillLowerArrow: activeSortState[headline.key] === "desc" ? "#229E38" : "#D0D0D0"
|
|
14533
|
-
}))))))), /*#__PURE__*/React
|
|
14540
|
+
}))))))), /*#__PURE__*/React.createElement("tbody", null, getPaginatedRows().map((rowData, index) => /*#__PURE__*/React.createElement(Tr, {
|
|
14534
14541
|
className: "row",
|
|
14535
14542
|
key: index,
|
|
14536
14543
|
enableHover: enableHover,
|
|
14537
14544
|
selectHoverColor: selectHoverColor,
|
|
14538
14545
|
useColorLinearGradient: useColorLinearGradient
|
|
14539
|
-
}, Object.values(rowData).map((value, dataIndex) => value === "checkbox" ? /*#__PURE__*/React
|
|
14546
|
+
}, Object.values(rowData).map((value, dataIndex) => value === "checkbox" ? /*#__PURE__*/React.createElement(Td, {
|
|
14540
14547
|
className: "checkbox",
|
|
14541
14548
|
key: index
|
|
14542
|
-
}) : value === "button" ? /*#__PURE__*/React
|
|
14549
|
+
}) : value === "button" ? /*#__PURE__*/React.createElement(Td, {
|
|
14543
14550
|
className: "button",
|
|
14544
14551
|
key: index
|
|
14545
|
-
}, displaySelectButton(rowData)) : /*#__PURE__*/React
|
|
14552
|
+
}, displaySelectButton(rowData)) : /*#__PURE__*/React.createElement(Td, {
|
|
14546
14553
|
className: "cell",
|
|
14547
14554
|
key: dataIndex
|
|
14548
|
-
}, value && value.length > 30 ? /*#__PURE__*/React
|
|
14555
|
+
}, value && value.length > 30 ? /*#__PURE__*/React.createElement(Tooltip$1, {
|
|
14549
14556
|
content: getTooltipText(value),
|
|
14550
14557
|
direction: "top",
|
|
14551
14558
|
topFactor: value !== null ? -getTopFactor(Math.ceil(value.length / 50)) : -getTopFactor(1)
|
|
14552
|
-
}, truncateString(value, 30)) : value ? truncateString(value, 30) : "N/A", " "))))))), /*#__PURE__*/React
|
|
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", {
|
|
14553
14560
|
className: `arrow ${currentPage === 1 ? "disabled" : ""}`,
|
|
14554
14561
|
onClick: () => currentPage > 1 && handlePageChange(currentPage - 1)
|
|
14555
|
-
}, /*#__PURE__*/React
|
|
14562
|
+
}, /*#__PURE__*/React.createElement(ChevronLeftIcon, {
|
|
14556
14563
|
disabled: currentPage === 1
|
|
14557
14564
|
})), (() => {
|
|
14558
14565
|
const pages = [];
|
|
14559
14566
|
const range = 2;
|
|
14560
|
-
pages.push(/*#__PURE__*/React
|
|
14567
|
+
pages.push(/*#__PURE__*/React.createElement("span", {
|
|
14561
14568
|
key: 1,
|
|
14562
14569
|
className: `page-number ${currentPage === 1 ? "active" : ""}`,
|
|
14563
14570
|
onClick: () => handlePageChange(1)
|
|
@@ -14567,7 +14574,7 @@ const ReportTable = props => {
|
|
|
14567
14574
|
}
|
|
14568
14575
|
if (totalPages <= 10) {
|
|
14569
14576
|
for (let i = 2; i <= totalPages; i++) {
|
|
14570
|
-
pages.push(/*#__PURE__*/React
|
|
14577
|
+
pages.push(/*#__PURE__*/React.createElement("span", {
|
|
14571
14578
|
key: i,
|
|
14572
14579
|
className: `page-number ${currentPage === i ? "active" : ""}`,
|
|
14573
14580
|
onClick: () => handlePageChange(i)
|
|
@@ -14586,38 +14593,38 @@ const ReportTable = props => {
|
|
|
14586
14593
|
end = totalPages - 1;
|
|
14587
14594
|
}
|
|
14588
14595
|
if (start > 2) {
|
|
14589
|
-
pages.push(/*#__PURE__*/React
|
|
14596
|
+
pages.push(/*#__PURE__*/React.createElement("span", {
|
|
14590
14597
|
key: "ellipsis-start"
|
|
14591
14598
|
}, "..."));
|
|
14592
14599
|
}
|
|
14593
14600
|
for (let i = start; i <= end; i++) {
|
|
14594
|
-
pages.push(/*#__PURE__*/React
|
|
14601
|
+
pages.push(/*#__PURE__*/React.createElement("span", {
|
|
14595
14602
|
key: i,
|
|
14596
14603
|
className: `page-number ${currentPage === i ? "active" : ""}`,
|
|
14597
14604
|
onClick: () => handlePageChange(i)
|
|
14598
14605
|
}, i));
|
|
14599
14606
|
}
|
|
14600
14607
|
if (end < totalPages - 1) {
|
|
14601
|
-
pages.push(/*#__PURE__*/React
|
|
14608
|
+
pages.push(/*#__PURE__*/React.createElement("span", {
|
|
14602
14609
|
key: "ellipsis-end"
|
|
14603
14610
|
}, "..."));
|
|
14604
14611
|
}
|
|
14605
|
-
pages.push(/*#__PURE__*/React
|
|
14612
|
+
pages.push(/*#__PURE__*/React.createElement("span", {
|
|
14606
14613
|
key: totalPages,
|
|
14607
14614
|
className: `page-number ${currentPage === totalPages ? "active" : ""}`,
|
|
14608
14615
|
onClick: () => handlePageChange(totalPages)
|
|
14609
14616
|
}, totalPages));
|
|
14610
14617
|
return pages;
|
|
14611
|
-
})(), /*#__PURE__*/React
|
|
14618
|
+
})(), /*#__PURE__*/React.createElement("span", {
|
|
14612
14619
|
className: `arrow ${currentPage === totalPages ? "disabled" : ""}`,
|
|
14613
14620
|
onClick: () => currentPage < totalPages && handlePageChange(currentPage + 1)
|
|
14614
|
-
}, /*#__PURE__*/React
|
|
14621
|
+
}, /*#__PURE__*/React.createElement(ChevronRightIcon, {
|
|
14615
14622
|
disabled: currentPage === totalPages
|
|
14616
|
-
}))))), isLoading && enablePagination && /*#__PURE__*/React
|
|
14623
|
+
}))))), isLoading && enablePagination && /*#__PURE__*/React.createElement(LoaderWrapper$1, {
|
|
14617
14624
|
id: "LoaderWrapper"
|
|
14618
|
-
}, /*#__PURE__*/React
|
|
14625
|
+
}, /*#__PURE__*/React.createElement(Loader$1, null)), !disableInfo ? /*#__PURE__*/React.createElement(InfoBlock, null, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
14619
14626
|
color: "#1B30AA"
|
|
14620
|
-
}), /*#__PURE__*/React
|
|
14627
|
+
}), /*#__PURE__*/React.createElement(InfoText, null, "Download table to get the full data")) : "");
|
|
14621
14628
|
};
|
|
14622
14629
|
ReportTable.propTypes = {
|
|
14623
14630
|
buttonText: PropTypes.string,
|
|
@@ -14759,14 +14766,14 @@ const EventListItem = props => {
|
|
|
14759
14766
|
event
|
|
14760
14767
|
});
|
|
14761
14768
|
};
|
|
14762
|
-
return /*#__PURE__*/React
|
|
14769
|
+
return /*#__PURE__*/React.createElement(EventListItemControlsContainer, {
|
|
14763
14770
|
height: height,
|
|
14764
14771
|
width: width
|
|
14765
|
-
}, /*#__PURE__*/React
|
|
14772
|
+
}, /*#__PURE__*/React.createElement(Period, {
|
|
14766
14773
|
className: "Period"
|
|
14767
|
-
}, period), /*#__PURE__*/React
|
|
14774
|
+
}, period), /*#__PURE__*/React.createElement(EventName, {
|
|
14768
14775
|
className: "EventName"
|
|
14769
|
-
}, eventName), /*#__PURE__*/React
|
|
14776
|
+
}, eventName), /*#__PURE__*/React.createElement(SelectButtonContainer, null, /*#__PURE__*/React.createElement(LinkButton, {
|
|
14770
14777
|
size: "medium",
|
|
14771
14778
|
text: "Select",
|
|
14772
14779
|
rightIcon: "Select",
|
|
@@ -14834,11 +14841,11 @@ const EventList = props => {
|
|
|
14834
14841
|
} = props;
|
|
14835
14842
|
const displayEventsItems = () => {
|
|
14836
14843
|
if (eventsData && eventsData.length > 0) {
|
|
14837
|
-
return /*#__PURE__*/React
|
|
14844
|
+
return /*#__PURE__*/React.createElement(EventItemsContainer, {
|
|
14838
14845
|
id: "EventItemsContainer"
|
|
14839
|
-
}, eventsData?.map(item => /*#__PURE__*/React
|
|
14846
|
+
}, eventsData?.map(item => /*#__PURE__*/React.createElement(OneEventItemContainer, {
|
|
14840
14847
|
id: "OneEventItemContainer"
|
|
14841
|
-
}, /*#__PURE__*/React
|
|
14848
|
+
}, /*#__PURE__*/React.createElement(EventListItem, {
|
|
14842
14849
|
height: itemHeight,
|
|
14843
14850
|
width: width / 3,
|
|
14844
14851
|
eventName: item.eventName,
|
|
@@ -14854,11 +14861,11 @@ const EventList = props => {
|
|
|
14854
14861
|
};
|
|
14855
14862
|
|
|
14856
14863
|
//= ======================================== MAIN RETURN ====================================
|
|
14857
|
-
return /*#__PURE__*/React
|
|
14864
|
+
return /*#__PURE__*/React.createElement(MainContainer$4, {
|
|
14858
14865
|
id: "MainContainer",
|
|
14859
14866
|
height: height,
|
|
14860
14867
|
width: width
|
|
14861
|
-
}, /*#__PURE__*/React
|
|
14868
|
+
}, /*#__PURE__*/React.createElement(PanelContainer$1, {
|
|
14862
14869
|
id: "PanelContainer"
|
|
14863
14870
|
}, displayEventsItems()));
|
|
14864
14871
|
//= ======================================== MAIN RETURN END====================================
|
|
@@ -15152,27 +15159,27 @@ const BannerEventBox = props => {
|
|
|
15152
15159
|
switch (banner) {
|
|
15153
15160
|
case "Stop&Shop":
|
|
15154
15161
|
return {
|
|
15155
|
-
icon: /*#__PURE__*/React
|
|
15162
|
+
icon: /*#__PURE__*/React.createElement(StopAndShopNewIcon, null),
|
|
15156
15163
|
name: "Stop&Shop"
|
|
15157
15164
|
};
|
|
15158
15165
|
case "Food Lion":
|
|
15159
15166
|
return {
|
|
15160
|
-
icon: /*#__PURE__*/React
|
|
15167
|
+
icon: /*#__PURE__*/React.createElement(FoodLionNewIcon, null),
|
|
15161
15168
|
name: "Food Lion"
|
|
15162
15169
|
};
|
|
15163
15170
|
case "Giant Food":
|
|
15164
15171
|
return {
|
|
15165
|
-
icon: /*#__PURE__*/React
|
|
15172
|
+
icon: /*#__PURE__*/React.createElement(GiantFoodNewIcon, null),
|
|
15166
15173
|
name: "Giant Food"
|
|
15167
15174
|
};
|
|
15168
15175
|
case "The Giant Company":
|
|
15169
15176
|
return {
|
|
15170
|
-
icon: /*#__PURE__*/React
|
|
15177
|
+
icon: /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null),
|
|
15171
15178
|
name: "The Giant Company"
|
|
15172
15179
|
};
|
|
15173
15180
|
case "Hannaford":
|
|
15174
15181
|
return {
|
|
15175
|
-
icon: /*#__PURE__*/React
|
|
15182
|
+
icon: /*#__PURE__*/React.createElement(HannafordNewIcon, null),
|
|
15176
15183
|
name: "Hannaford"
|
|
15177
15184
|
};
|
|
15178
15185
|
default:
|
|
@@ -15182,18 +15189,18 @@ const BannerEventBox = props => {
|
|
|
15182
15189
|
const onInfoClickHandler = event => {
|
|
15183
15190
|
onInfoClick(event);
|
|
15184
15191
|
};
|
|
15185
|
-
return /*#__PURE__*/React
|
|
15192
|
+
return /*#__PURE__*/React.createElement(MainContainer$2, {
|
|
15186
15193
|
height: height,
|
|
15187
15194
|
width: width
|
|
15188
|
-
}, /*#__PURE__*/React
|
|
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, {
|
|
15189
15196
|
leftIcon: "Eye",
|
|
15190
15197
|
onClick: () => onInfoClickHandler(banner),
|
|
15191
15198
|
text: buttonText,
|
|
15192
15199
|
type: "secondary",
|
|
15193
15200
|
disabled: disabled
|
|
15194
|
-
})), /*#__PURE__*/React
|
|
15201
|
+
})), /*#__PURE__*/React.createElement(DetailsWrapper, null, data?.map((item, index) => item && /*#__PURE__*/React.createElement(React.Fragment, {
|
|
15195
15202
|
key: item.name
|
|
15196
|
-
}, /*#__PURE__*/React
|
|
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)))));
|
|
15197
15204
|
};
|
|
15198
15205
|
BannerEventBox.propTypes = {
|
|
15199
15206
|
width: PropTypes.string,
|
|
@@ -15257,45 +15264,45 @@ const BannerEventBoxList = props => {
|
|
|
15257
15264
|
const bannersIcon = () => {
|
|
15258
15265
|
switch (retailer) {
|
|
15259
15266
|
case 'StopAndShop':
|
|
15260
|
-
return /*#__PURE__*/React
|
|
15267
|
+
return /*#__PURE__*/React.createElement(StopAndShopNewIcon, null);
|
|
15261
15268
|
case 'FoodLion':
|
|
15262
|
-
return /*#__PURE__*/React
|
|
15269
|
+
return /*#__PURE__*/React.createElement(FoodLionNewIcon, null);
|
|
15263
15270
|
case 'GiantFood':
|
|
15264
|
-
return /*#__PURE__*/React
|
|
15271
|
+
return /*#__PURE__*/React.createElement(GiantFoodNewIcon, null);
|
|
15265
15272
|
case 'TheGiantCompany':
|
|
15266
|
-
return /*#__PURE__*/React
|
|
15273
|
+
return /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null);
|
|
15267
15274
|
case 'Hannaford':
|
|
15268
|
-
return /*#__PURE__*/React
|
|
15275
|
+
return /*#__PURE__*/React.createElement(HannafordNewIcon, null);
|
|
15269
15276
|
default:
|
|
15270
15277
|
return null;
|
|
15271
15278
|
}
|
|
15272
15279
|
};
|
|
15273
|
-
return /*#__PURE__*/React
|
|
15280
|
+
return /*#__PURE__*/React.createElement(CollapseMenuItemMainContainer, {
|
|
15274
15281
|
className: className
|
|
15275
|
-
}, /*#__PURE__*/React
|
|
15282
|
+
}, /*#__PURE__*/React.createElement(CollapseMenuItemContainer, {
|
|
15276
15283
|
onClick: () => handleToggle()
|
|
15277
|
-
}, showLoader ? /*#__PURE__*/React
|
|
15284
|
+
}, showLoader ? /*#__PURE__*/React.createElement(LoaderWrapper, {
|
|
15278
15285
|
id: "LoaderWrapper"
|
|
15279
|
-
}, /*#__PURE__*/React
|
|
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, {
|
|
15280
15287
|
disabled: disableToggle,
|
|
15281
15288
|
text: linkText,
|
|
15282
15289
|
leftIcon: "info",
|
|
15283
15290
|
rightIcon: "arrowdown",
|
|
15284
15291
|
textColor: toggleColor,
|
|
15285
15292
|
color: toggleColor
|
|
15286
|
-
}) : /*#__PURE__*/React
|
|
15293
|
+
}) : /*#__PURE__*/React.createElement(LinkButton, {
|
|
15287
15294
|
disabled: disableToggle,
|
|
15288
15295
|
text: linkText,
|
|
15289
15296
|
leftIcon: "info",
|
|
15290
15297
|
rightIcon: "arrowright",
|
|
15291
15298
|
textColor: toggleColor,
|
|
15292
15299
|
color: toggleColor
|
|
15293
|
-
}))), IsItemOpen && /*#__PURE__*/React
|
|
15300
|
+
}))), IsItemOpen && /*#__PURE__*/React.createElement(CollapseMenuItemContentContainer, {
|
|
15294
15301
|
id: "CollapseMenuItemContentContainer"
|
|
15295
|
-
}, cardsContent ? /*#__PURE__*/React
|
|
15302
|
+
}, cardsContent ? /*#__PURE__*/React.createElement(MainContainer$3, {
|
|
15296
15303
|
width: width,
|
|
15297
15304
|
height: height
|
|
15298
|
-
}, data.map(item => /*#__PURE__*/React
|
|
15305
|
+
}, data.map(item => /*#__PURE__*/React.createElement(BannerEventBox, {
|
|
15299
15306
|
key: item?.banner,
|
|
15300
15307
|
height: "auto",
|
|
15301
15308
|
width: bannerWidth,
|
|
@@ -15306,7 +15313,7 @@ const BannerEventBoxList = props => {
|
|
|
15306
15313
|
onInfoClick: () => retailerFile(item?.banner),
|
|
15307
15314
|
disabled: item?.disabled,
|
|
15308
15315
|
buttonText: item.buttonText
|
|
15309
|
-
})), showDraft && /*#__PURE__*/React
|
|
15316
|
+
})), showDraft && /*#__PURE__*/React.createElement(DraftTag$1, null, "DRAFT")) : children));
|
|
15310
15317
|
};
|
|
15311
15318
|
BannerEventBoxList.propTypes = {
|
|
15312
15319
|
className: PropTypes.string,
|
|
@@ -15459,14 +15466,14 @@ const DialogOverlay = props => {
|
|
|
15459
15466
|
modal.close();
|
|
15460
15467
|
onDialogClose();
|
|
15461
15468
|
};
|
|
15462
|
-
return /*#__PURE__*/React
|
|
15469
|
+
return /*#__PURE__*/React.createElement(ModalWrapper, {
|
|
15463
15470
|
className: className
|
|
15464
|
-
}, /*#__PURE__*/React
|
|
15471
|
+
}, /*#__PURE__*/React.createElement(Modal, null, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, title), /*#__PURE__*/React.createElement(ModalClose, {
|
|
15465
15472
|
type: "button",
|
|
15466
15473
|
onClick: closeModal
|
|
15467
|
-
}, /*#__PURE__*/React
|
|
15474
|
+
}, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
15468
15475
|
fill: "white"
|
|
15469
|
-
}))), /*#__PURE__*/React
|
|
15476
|
+
}))), /*#__PURE__*/React.createElement(ModalBody, {
|
|
15470
15477
|
id: "modalBody"
|
|
15471
15478
|
}, children)));
|
|
15472
15479
|
};
|
|
@@ -25911,44 +25918,44 @@ const CollapseHeader = props => {
|
|
|
25911
25918
|
const getRetailerIcon = retailerName => {
|
|
25912
25919
|
switch (retailerName) {
|
|
25913
25920
|
case "Food Lion":
|
|
25914
|
-
return /*#__PURE__*/React
|
|
25921
|
+
return /*#__PURE__*/React.createElement(RetailerIconContainer, {
|
|
25915
25922
|
id: "RetailerIconContainer"
|
|
25916
|
-
}, /*#__PURE__*/React
|
|
25923
|
+
}, /*#__PURE__*/React.createElement(FoodLionIcon, {
|
|
25917
25924
|
width: "90",
|
|
25918
25925
|
height: "20"
|
|
25919
25926
|
}), "\xA0");
|
|
25920
25927
|
case "Hannaford":
|
|
25921
|
-
return /*#__PURE__*/React
|
|
25928
|
+
return /*#__PURE__*/React.createElement(RetailerIconContainer, {
|
|
25922
25929
|
id: "RetailerIconContainer"
|
|
25923
|
-
}, /*#__PURE__*/React
|
|
25930
|
+
}, /*#__PURE__*/React.createElement(HannafordIcon, {
|
|
25924
25931
|
width: "90",
|
|
25925
25932
|
height: "20"
|
|
25926
25933
|
}), "\xA0");
|
|
25927
25934
|
case "Giant Food":
|
|
25928
|
-
return /*#__PURE__*/React
|
|
25935
|
+
return /*#__PURE__*/React.createElement(RetailerIconContainer, {
|
|
25929
25936
|
id: "RetailerIconContainer"
|
|
25930
|
-
}, /*#__PURE__*/React
|
|
25937
|
+
}, /*#__PURE__*/React.createElement(GiantFoodIcon, {
|
|
25931
25938
|
width: "60",
|
|
25932
25939
|
height: "20"
|
|
25933
25940
|
}), "\xA0");
|
|
25934
25941
|
case "The Giant Company":
|
|
25935
|
-
return /*#__PURE__*/React
|
|
25942
|
+
return /*#__PURE__*/React.createElement(RetailerIconContainer, {
|
|
25936
25943
|
id: "RetailerIconContainer"
|
|
25937
|
-
}, /*#__PURE__*/React
|
|
25944
|
+
}, /*#__PURE__*/React.createElement(TheGiantCompanyIcon, {
|
|
25938
25945
|
width: "60",
|
|
25939
25946
|
height: "20"
|
|
25940
25947
|
}), "\xA0");
|
|
25941
25948
|
case "Stop&Shop":
|
|
25942
|
-
return /*#__PURE__*/React
|
|
25949
|
+
return /*#__PURE__*/React.createElement(RetailerIconContainer, {
|
|
25943
25950
|
id: "RetailerIconContainer"
|
|
25944
|
-
}, /*#__PURE__*/React
|
|
25951
|
+
}, /*#__PURE__*/React.createElement(StopAndShopIcon, {
|
|
25945
25952
|
width: "90",
|
|
25946
25953
|
height: "20"
|
|
25947
25954
|
}), "\xA0");
|
|
25948
25955
|
default:
|
|
25949
|
-
return /*#__PURE__*/React
|
|
25956
|
+
return /*#__PURE__*/React.createElement(RetailerIconContainer, {
|
|
25950
25957
|
id: "RetailerIconContainer"
|
|
25951
|
-
}, retailerName, retailerName && /*#__PURE__*/React
|
|
25958
|
+
}, retailerName, retailerName && /*#__PURE__*/React.createElement(FieldsDelimiter, {
|
|
25952
25959
|
className: "FieldsDelimiter"
|
|
25953
25960
|
}, " | "));
|
|
25954
25961
|
}
|
|
@@ -25974,28 +25981,28 @@ const CollapseHeader = props => {
|
|
|
25974
25981
|
} = viewCreativeContainerRef.current;
|
|
25975
25982
|
return (offsetTop + 33).toString().concat("", "px");
|
|
25976
25983
|
};
|
|
25977
|
-
return /*#__PURE__*/React
|
|
25984
|
+
return /*#__PURE__*/React.createElement(MainContainer$1, {
|
|
25978
25985
|
id: "CollapseHeader",
|
|
25979
25986
|
className: className,
|
|
25980
25987
|
height: height,
|
|
25981
25988
|
width: width,
|
|
25982
25989
|
textcolor: textcolor
|
|
25983
|
-
}, /*#__PURE__*/React
|
|
25990
|
+
}, /*#__PURE__*/React.createElement(PanelContainer, {
|
|
25984
25991
|
id: "PanelContainer"
|
|
25985
|
-
}, /*#__PURE__*/React
|
|
25992
|
+
}, /*#__PURE__*/React.createElement(EventNameAndViewCreativeContainer, {
|
|
25986
25993
|
id: "EventNameAndViewCreativeContainer"
|
|
25987
|
-
}, /*#__PURE__*/React
|
|
25994
|
+
}, /*#__PURE__*/React.createElement(EventNameViewCreativeSubContainer, {
|
|
25988
25995
|
id: "EventNameViewCreativeSubContainer"
|
|
25989
|
-
}, /*#__PURE__*/React
|
|
25996
|
+
}, /*#__PURE__*/React.createElement(ViewCreativeButtonAndListBoxContainer, {
|
|
25990
25997
|
id: "ViewCreativeButtonAndListBoxContainer"
|
|
25991
|
-
}, showViewCreativeButton && /*#__PURE__*/React
|
|
25998
|
+
}, showViewCreativeButton && /*#__PURE__*/React.createElement(Button, {
|
|
25992
25999
|
leftIcon: "Eye",
|
|
25993
26000
|
onClick: viewCreativeOnClickHandler,
|
|
25994
26001
|
text: buttonText,
|
|
25995
26002
|
type: "secondary",
|
|
25996
26003
|
disabled: disabled,
|
|
25997
26004
|
size: "small"
|
|
25998
|
-
}), viewCreativeListBoxOpenedState && /*#__PURE__*/React
|
|
26005
|
+
}), viewCreativeListBoxOpenedState && /*#__PURE__*/React.createElement(ViewCreativeListBoxContainer, {
|
|
25999
26006
|
id: "ViewCreativeListBoxContainer",
|
|
26000
26007
|
top: getViewCreativeContainerTop(),
|
|
26001
26008
|
left: getViewCreativeContainerLeft(),
|
|
@@ -26004,59 +26011,59 @@ const CollapseHeader = props => {
|
|
|
26004
26011
|
onMouseLeave: () => {
|
|
26005
26012
|
setViewCreativeListBoxOpenedState(false);
|
|
26006
26013
|
}
|
|
26007
|
-
}))), showDraft && /*#__PURE__*/React
|
|
26014
|
+
}))), showDraft && /*#__PURE__*/React.createElement(DraftTag, null, "DRAFT")), /*#__PURE__*/React.createElement(FilterValuesContainer, {
|
|
26008
26015
|
id: "FilterValuesContainer"
|
|
26009
|
-
}, showRetailerIcon && /*#__PURE__*/React
|
|
26016
|
+
}, showRetailerIcon && /*#__PURE__*/React.createElement(Retailer, {
|
|
26010
26017
|
id: "Retailer"
|
|
26011
|
-
}, getRetailerIcon(data.retailer)), /*#__PURE__*/React
|
|
26018
|
+
}, getRetailerIcon(data.retailer)), /*#__PURE__*/React.createElement(FilterValue, {
|
|
26012
26019
|
className: "FilterValue"
|
|
26013
|
-
}, data.eventType), data.externalEventDescription && data.externalEventDescription !== "" && /*#__PURE__*/React
|
|
26020
|
+
}, data.eventType), data.externalEventDescription && data.externalEventDescription !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
|
|
26014
26021
|
className: "FieldsDelimiter"
|
|
26015
|
-
}, " ", "|", " "), /*#__PURE__*/React
|
|
26022
|
+
}, " ", "|", " "), /*#__PURE__*/React.createElement(FilterValue, {
|
|
26016
26023
|
className: "FilterValue"
|
|
26017
|
-
}, data.externalEventDescription)), data.externalEventID && data.externalEventID !== "" && /*#__PURE__*/React
|
|
26024
|
+
}, data.externalEventDescription)), data.externalEventID && data.externalEventID !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
|
|
26018
26025
|
className: "FieldsDelimiter"
|
|
26019
|
-
}, " | "), /*#__PURE__*/React
|
|
26026
|
+
}, " | "), /*#__PURE__*/React.createElement(FilterValue, {
|
|
26020
26027
|
className: "FilterValue"
|
|
26021
|
-
}, data.externalEventID)), data.storeType && data.storeType !== "" && /*#__PURE__*/React
|
|
26028
|
+
}, data.externalEventID)), data.storeType && data.storeType !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
|
|
26022
26029
|
className: "FieldsDelimiter"
|
|
26023
|
-
}, " | "), /*#__PURE__*/React
|
|
26030
|
+
}, " | "), /*#__PURE__*/React.createElement(FilterValue, {
|
|
26024
26031
|
className: "FilterValue"
|
|
26025
|
-
}, data.storeType)), data.category && data.category !== "" && /*#__PURE__*/React
|
|
26032
|
+
}, data.storeType)), data.category && data.category !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
|
|
26026
26033
|
className: "FieldsDelimiter"
|
|
26027
|
-
}, " | "), /*#__PURE__*/React
|
|
26034
|
+
}, " | "), /*#__PURE__*/React.createElement(FilterValue, {
|
|
26028
26035
|
className: "FilterValue"
|
|
26029
|
-
}, data.category)), data.supplier && data.supplier !== "" && /*#__PURE__*/React
|
|
26036
|
+
}, data.category)), data.supplier && data.supplier !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
|
|
26030
26037
|
className: "FieldsDelimiter"
|
|
26031
|
-
}, " | "), /*#__PURE__*/React
|
|
26038
|
+
}, " | "), /*#__PURE__*/React.createElement(FilterValue, {
|
|
26032
26039
|
className: "FilterValue"
|
|
26033
|
-
}, data.supplier)), data.brand && data.brand !== "" && /*#__PURE__*/React
|
|
26040
|
+
}, data.supplier)), data.brand && data.brand !== "" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldsDelimiter, {
|
|
26034
26041
|
className: "FieldsDelimiter"
|
|
26035
|
-
}, " | "), /*#__PURE__*/React
|
|
26042
|
+
}, " | "), /*#__PURE__*/React.createElement(FilterValue, {
|
|
26036
26043
|
className: "FilterValue"
|
|
26037
|
-
}, data.brand))), /*#__PURE__*/React
|
|
26044
|
+
}, data.brand))), /*#__PURE__*/React.createElement(FilterValuesContainer, null, /*#__PURE__*/React.createElement(ObjectiesContainer, {
|
|
26038
26045
|
id: "ObjectiesContainer",
|
|
26039
26046
|
showPeriodIcon: showPeriodIcon
|
|
26040
|
-
}, /*#__PURE__*/React
|
|
26047
|
+
}, /*#__PURE__*/React.createElement(ObjectivesDescription, {
|
|
26041
26048
|
id: "ObjectivesDescription"
|
|
26042
|
-
}, /*#__PURE__*/React
|
|
26049
|
+
}, /*#__PURE__*/React.createElement(ObjectivesTitle, {
|
|
26043
26050
|
id: "ObjectivesTitle"
|
|
26044
|
-
}, data?.eventDescription?.length > 0 ? descriptionTitle : ""), data.eventDescription))), /*#__PURE__*/React
|
|
26051
|
+
}, data?.eventDescription?.length > 0 ? descriptionTitle : ""), data.eventDescription))), /*#__PURE__*/React.createElement(ObjectiesAndPeriodsContainer, {
|
|
26045
26052
|
id: "ObjectiesAndPeriodsContainer"
|
|
26046
|
-
}, /*#__PURE__*/React
|
|
26053
|
+
}, /*#__PURE__*/React.createElement(ObjectiesContainer, {
|
|
26047
26054
|
id: "ObjectiesContainer",
|
|
26048
26055
|
showPeriodIcon: showPeriodIcon
|
|
26049
|
-
}, /*#__PURE__*/React
|
|
26056
|
+
}, /*#__PURE__*/React.createElement(ObjectivesDescription, {
|
|
26050
26057
|
id: "ObjectivesDescription"
|
|
26051
|
-
}, /*#__PURE__*/React
|
|
26058
|
+
}, /*#__PURE__*/React.createElement(ObjectivesTitle, {
|
|
26052
26059
|
id: "ObjectivesTitle"
|
|
26053
|
-
}, data?.objectivesDescription?.length > 0 ? "Objectives: " : ""), data.objectivesDescription)), showPeriodIcon && /*#__PURE__*/React
|
|
26060
|
+
}, data?.objectivesDescription?.length > 0 ? "Objectives: " : ""), data.objectivesDescription)), showPeriodIcon && /*#__PURE__*/React.createElement(PeriodsContainer, {
|
|
26054
26061
|
id: "PeriodsContainer"
|
|
26055
|
-
}, /*#__PURE__*/React
|
|
26062
|
+
}, /*#__PURE__*/React.createElement(SubLineContainer, {
|
|
26056
26063
|
id: "SubLineContainer"
|
|
26057
|
-
}, data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React
|
|
26064
|
+
}, data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React.createElement(PeriodLabel, {
|
|
26058
26065
|
id: "PeriodLabel"
|
|
26059
|
-
}, datesTitle, " ") : "", data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React
|
|
26066
|
+
}, datesTitle, " ") : "", data?.eventDatesValue?.length > 0 ? /*#__PURE__*/React.createElement(PeriodValue, {
|
|
26060
26067
|
id: "PeriodValue"
|
|
26061
26068
|
}, data.eventDatesValue) : "")))));
|
|
26062
26069
|
};
|
|
@@ -26291,7 +26298,7 @@ const QuickFilterDropdownSingle = ({
|
|
|
26291
26298
|
if (index !== lastIndex) {
|
|
26292
26299
|
parts.push(text.slice(lastIndex, index));
|
|
26293
26300
|
}
|
|
26294
|
-
parts.push(/*#__PURE__*/React
|
|
26301
|
+
parts.push(/*#__PURE__*/React.createElement("span", {
|
|
26295
26302
|
key: index,
|
|
26296
26303
|
className: "highlight"
|
|
26297
26304
|
}, text.slice(index, index + highlight.length)));
|
|
@@ -26376,25 +26383,25 @@ const QuickFilterDropdownSingle = ({
|
|
|
26376
26383
|
newValue: []
|
|
26377
26384
|
});
|
|
26378
26385
|
};
|
|
26379
|
-
return /*#__PURE__*/React
|
|
26386
|
+
return /*#__PURE__*/React.createElement(QuickFilterInput, {
|
|
26380
26387
|
width: width,
|
|
26381
26388
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
26382
26389
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
26383
|
-
}, /*#__PURE__*/React
|
|
26390
|
+
}, /*#__PURE__*/React.createElement(InputContainer$1, {
|
|
26384
26391
|
className: "InputContainer",
|
|
26385
26392
|
labelColor: labelColor,
|
|
26386
26393
|
hoverColor: hoverColor,
|
|
26387
26394
|
disabled: disabled,
|
|
26388
26395
|
error: error,
|
|
26389
26396
|
isFocused: isFocused
|
|
26390
|
-
}, /*#__PURE__*/React
|
|
26397
|
+
}, /*#__PURE__*/React.createElement(InputSubContainer$1, {
|
|
26391
26398
|
className: "InputSubContainer",
|
|
26392
26399
|
ref: containerRef,
|
|
26393
26400
|
labelColor: labelColor,
|
|
26394
26401
|
disabled: disabled,
|
|
26395
26402
|
error: error,
|
|
26396
26403
|
onClick: handleLabelClick
|
|
26397
|
-
}, /*#__PURE__*/React
|
|
26404
|
+
}, /*#__PURE__*/React.createElement(Label$1, {
|
|
26398
26405
|
className: "Label",
|
|
26399
26406
|
isFocused: isFocused,
|
|
26400
26407
|
labelColor: labelColor,
|
|
@@ -26404,7 +26411,7 @@ const QuickFilterDropdownSingle = ({
|
|
|
26404
26411
|
errorMessage: errorMessage,
|
|
26405
26412
|
onClick: handleLabelClick,
|
|
26406
26413
|
showLabelOnTop: showLabelOnTop
|
|
26407
|
-
}, label), /*#__PURE__*/React
|
|
26414
|
+
}, label), /*#__PURE__*/React.createElement(StyledInput$1, {
|
|
26408
26415
|
className: "StyledInput",
|
|
26409
26416
|
ref: inputRef,
|
|
26410
26417
|
value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
|
|
@@ -26414,37 +26421,37 @@ const QuickFilterDropdownSingle = ({
|
|
|
26414
26421
|
placeholder: placeHolder,
|
|
26415
26422
|
error: error,
|
|
26416
26423
|
isFocused: isFocused
|
|
26417
|
-
})), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React
|
|
26424
|
+
})), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
26418
26425
|
className: "IconContainer",
|
|
26419
26426
|
onClick: handleClearClick
|
|
26420
|
-
}, /*#__PURE__*/React
|
|
26427
|
+
}, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
26421
26428
|
width: "12px",
|
|
26422
26429
|
height: "12px",
|
|
26423
26430
|
fill: "#B1B1B1"
|
|
26424
|
-
})), /*#__PURE__*/React
|
|
26431
|
+
})), /*#__PURE__*/React.createElement(IconContainer$2, {
|
|
26425
26432
|
className: "IconContainer",
|
|
26426
26433
|
onClick: handleOpenCloseMenuClick
|
|
26427
|
-
}, showOptions ? /*#__PURE__*/React
|
|
26434
|
+
}, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
|
|
26428
26435
|
width: "12px",
|
|
26429
26436
|
height: "12px",
|
|
26430
26437
|
color: "#B1B1B1"
|
|
26431
|
-
}) : /*#__PURE__*/React
|
|
26438
|
+
}) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
|
|
26432
26439
|
width: "12px",
|
|
26433
26440
|
height: "12px",
|
|
26434
26441
|
color: "#B1B1B1"
|
|
26435
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React
|
|
26442
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer$1, {
|
|
26436
26443
|
className: "OptionsContainer",
|
|
26437
26444
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
26438
26445
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
26439
26446
|
showoptions: showOptions,
|
|
26440
26447
|
disabled: disabled,
|
|
26441
26448
|
filteredoptions: filteredoptions
|
|
26442
|
-
}, /*#__PURE__*/React
|
|
26449
|
+
}, /*#__PURE__*/React.createElement(OptionsSubContainer$1, {
|
|
26443
26450
|
className: "OptionsSubContainer",
|
|
26444
26451
|
showoptions: showOptions,
|
|
26445
26452
|
disabled: disabled,
|
|
26446
26453
|
filteredoptions: filteredoptions
|
|
26447
|
-
}, filteredoptions.map(option => /*#__PURE__*/React
|
|
26454
|
+
}, filteredoptions.map(option => /*#__PURE__*/React.createElement(OptionItem$1, {
|
|
26448
26455
|
className: "OptionItem",
|
|
26449
26456
|
key: option.value,
|
|
26450
26457
|
onClick: () => toggleOption(option),
|
|
@@ -26728,7 +26735,7 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26728
26735
|
if (index !== lastIndex) {
|
|
26729
26736
|
parts.push(text.slice(lastIndex, index));
|
|
26730
26737
|
}
|
|
26731
|
-
parts.push(/*#__PURE__*/React
|
|
26738
|
+
parts.push(/*#__PURE__*/React.createElement("span", {
|
|
26732
26739
|
key: index,
|
|
26733
26740
|
className: "highlight"
|
|
26734
26741
|
}, text.slice(index, index + highlight.length)));
|
|
@@ -26795,9 +26802,9 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26795
26802
|
});
|
|
26796
26803
|
};
|
|
26797
26804
|
const displaySelectedOptions = () => {
|
|
26798
|
-
const content = /*#__PURE__*/React
|
|
26805
|
+
const content = /*#__PURE__*/React.createElement(SelectedOptionsContainer, {
|
|
26799
26806
|
className: "SelectedOptionsContainer"
|
|
26800
|
-
}, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React
|
|
26807
|
+
}, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem, {
|
|
26801
26808
|
className: "SelectedOptionItem",
|
|
26802
26809
|
key: option.value,
|
|
26803
26810
|
onClick: () => {
|
|
@@ -26807,11 +26814,11 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26807
26814
|
inputRef?.current?.focus();
|
|
26808
26815
|
}
|
|
26809
26816
|
}
|
|
26810
|
-
}, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React
|
|
26817
|
+
}, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
26811
26818
|
width: "8px",
|
|
26812
26819
|
height: "8px",
|
|
26813
26820
|
fill: "#212121"
|
|
26814
|
-
})) : ' '), selectedOptions.length > 2 ? /*#__PURE__*/React
|
|
26821
|
+
})) : ' '), selectedOptions.length > 2 ? /*#__PURE__*/React.createElement(SelectedOptionItem, {
|
|
26815
26822
|
className: "SelectedOptionItem"
|
|
26816
26823
|
}, selectedOptions.length - 2, "+") : '');
|
|
26817
26824
|
return content;
|
|
@@ -26833,7 +26840,7 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26833
26840
|
return '';
|
|
26834
26841
|
}
|
|
26835
26842
|
if (required) {
|
|
26836
|
-
return /*#__PURE__*/React
|
|
26843
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
26837
26844
|
style: {
|
|
26838
26845
|
color: 'red'
|
|
26839
26846
|
}
|
|
@@ -26841,25 +26848,25 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26841
26848
|
}
|
|
26842
26849
|
return '';
|
|
26843
26850
|
};
|
|
26844
|
-
return /*#__PURE__*/React
|
|
26851
|
+
return /*#__PURE__*/React.createElement(DropdownWrapper, {
|
|
26845
26852
|
className: "DropdownWrapper",
|
|
26846
26853
|
width: width,
|
|
26847
26854
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
26848
26855
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
26849
|
-
}, /*#__PURE__*/React
|
|
26856
|
+
}, /*#__PURE__*/React.createElement(InputContainer, {
|
|
26850
26857
|
className: "InputContainer",
|
|
26851
26858
|
labelColor: labelColor,
|
|
26852
26859
|
disabled: disabled,
|
|
26853
26860
|
error: error,
|
|
26854
26861
|
isFocused: isFocused
|
|
26855
|
-
}, /*#__PURE__*/React
|
|
26862
|
+
}, /*#__PURE__*/React.createElement(InputSubContainer, {
|
|
26856
26863
|
className: "InputSubContainer",
|
|
26857
26864
|
ref: containerRef,
|
|
26858
26865
|
labelColor: labelColor,
|
|
26859
26866
|
disabled: disabled,
|
|
26860
26867
|
error: error,
|
|
26861
26868
|
onClick: handleLabelClick
|
|
26862
|
-
}, /*#__PURE__*/React
|
|
26869
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
26863
26870
|
className: "Label",
|
|
26864
26871
|
isFocused: isFocused,
|
|
26865
26872
|
labelColor: labelColor,
|
|
@@ -26869,7 +26876,7 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26869
26876
|
errorMessage: errorMessage,
|
|
26870
26877
|
onClick: handleLabelClick,
|
|
26871
26878
|
showLabelOnTop: showLabelOnTop
|
|
26872
|
-
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React
|
|
26879
|
+
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React.createElement(StyledInput, {
|
|
26873
26880
|
className: "StyledInput",
|
|
26874
26881
|
ref: inputRef,
|
|
26875
26882
|
value: inputValue,
|
|
@@ -26881,48 +26888,48 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26881
26888
|
placeholder: isFocused ? placeHolder || 'Type to search...' : '',
|
|
26882
26889
|
error: error,
|
|
26883
26890
|
isFocused: isFocused
|
|
26884
|
-
}) : ' '), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React
|
|
26891
|
+
}) : ' '), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React.createElement(IconContainer$1, {
|
|
26885
26892
|
className: "IconContainer",
|
|
26886
26893
|
onClick: handleClearClick
|
|
26887
|
-
}, /*#__PURE__*/React
|
|
26894
|
+
}, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
26888
26895
|
width: "12px",
|
|
26889
26896
|
height: "12px",
|
|
26890
26897
|
fill: "#B1B1B1"
|
|
26891
|
-
})), /*#__PURE__*/React
|
|
26898
|
+
})), /*#__PURE__*/React.createElement(IconContainer$1, {
|
|
26892
26899
|
className: "IconContainer",
|
|
26893
26900
|
onClick: handleOpenCloseMenuClick
|
|
26894
|
-
}, showOptions ? /*#__PURE__*/React
|
|
26901
|
+
}, showOptions ? /*#__PURE__*/React.createElement(MenuItemUpIcon, {
|
|
26895
26902
|
width: "12px",
|
|
26896
26903
|
height: "12px",
|
|
26897
26904
|
color: "#B1B1B1"
|
|
26898
|
-
}) : /*#__PURE__*/React
|
|
26905
|
+
}) : /*#__PURE__*/React.createElement(MenuItemOpenIcon, {
|
|
26899
26906
|
width: "12px",
|
|
26900
26907
|
height: "12px",
|
|
26901
26908
|
color: "#B1B1B1"
|
|
26902
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React
|
|
26909
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React.createElement(ErrorMessage, null, errorMessage), /*#__PURE__*/React.createElement(OptionsContainer, {
|
|
26903
26910
|
className: "OptionsContainer",
|
|
26904
26911
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
26905
26912
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
26906
26913
|
showoptions: showOptions,
|
|
26907
26914
|
disabled: disabled,
|
|
26908
26915
|
filteredoptions: filteredoptions
|
|
26909
|
-
}, /*#__PURE__*/React
|
|
26916
|
+
}, /*#__PURE__*/React.createElement(OptionsSubContainer, {
|
|
26910
26917
|
className: "OptionsSubContainer",
|
|
26911
26918
|
showoptions: showOptions,
|
|
26912
26919
|
disabled: disabled,
|
|
26913
26920
|
filteredoptions: filteredoptions
|
|
26914
|
-
}, filteredoptions.map(option => /*#__PURE__*/React
|
|
26921
|
+
}, filteredoptions.map(option => /*#__PURE__*/React.createElement(OptionItem, {
|
|
26915
26922
|
className: "OptionItem",
|
|
26916
26923
|
key: option.value,
|
|
26917
26924
|
onClick: () => toggleOption(option),
|
|
26918
26925
|
selected: isDropdowned(option)
|
|
26919
|
-
}, highlightText(option.label, inputValue), /*#__PURE__*/React
|
|
26926
|
+
}, highlightText(option.label, inputValue), /*#__PURE__*/React.createElement(IconContainer$1, {
|
|
26920
26927
|
className: "IconContainer"
|
|
26921
|
-
}, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React
|
|
26928
|
+
}, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React.createElement(CheckBoxCheckedIcon, {
|
|
26922
26929
|
width: "14px",
|
|
26923
26930
|
height: "14px",
|
|
26924
26931
|
color: disabled ? '#888' : checkBoxColor
|
|
26925
|
-
}) : /*#__PURE__*/React
|
|
26932
|
+
}) : /*#__PURE__*/React.createElement(CheckBoxNotCheckedIcon, {
|
|
26926
26933
|
width: "14px",
|
|
26927
26934
|
height: "14px",
|
|
26928
26935
|
color: disabled ? '#888' : '#212121'
|
|
@@ -27033,42 +27040,48 @@ const QuickFilter = _ref => {
|
|
|
27033
27040
|
xIconShow: xIconShow
|
|
27034
27041
|
}));
|
|
27035
27042
|
};
|
|
27036
|
-
|
|
27037
|
-
|
|
27038
|
-
|
|
27039
|
-
|
|
27040
|
-
|
|
27041
|
-
|
|
27042
|
-
|
|
27043
|
-
|
|
27044
|
-
|
|
27045
|
-
|
|
27046
|
-
|
|
27047
|
-
|
|
27048
|
-
|
|
27049
|
-
|
|
27050
|
-
|
|
27051
|
-
|
|
27052
|
-
|
|
27053
|
-
|
|
27054
|
-
|
|
27055
|
-
|
|
27056
|
-
|
|
27057
|
-
|
|
27058
|
-
|
|
27059
|
-
|
|
27060
|
-
|
|
27061
|
-
|
|
27062
|
-
|
|
27063
|
-
|
|
27064
|
-
|
|
27065
|
-
|
|
27066
|
-
|
|
27067
|
-
|
|
27068
|
-
|
|
27069
|
-
|
|
27070
|
-
|
|
27071
|
-
|
|
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
|
+
// };
|
|
27072
27085
|
|
|
27073
27086
|
var classnames = {exports: {}};
|
|
27074
27087
|
|
|
@@ -27291,54 +27304,54 @@ const OneColumnContainer = props => {
|
|
|
27291
27304
|
useEffect(() => {
|
|
27292
27305
|
setOffsetWidth(anotherRef?.current?.offsetWidth);
|
|
27293
27306
|
}, [anotherRef]);
|
|
27294
|
-
return /*#__PURE__*/React
|
|
27307
|
+
return /*#__PURE__*/React.createElement(StyledContainer, {
|
|
27295
27308
|
className: classNames('OneColumnContainer', itemClass, overStyle, draggingStyle, children && droppedStyle, divStyle),
|
|
27296
27309
|
width: width,
|
|
27297
27310
|
height: height,
|
|
27298
27311
|
overflow: overflow
|
|
27299
|
-
}, /*#__PURE__*/React
|
|
27312
|
+
}, /*#__PURE__*/React.createElement(OneColumnContainerMainDiv, {
|
|
27300
27313
|
className: "OneColumnContainerMainDiv",
|
|
27301
27314
|
width: width,
|
|
27302
27315
|
height: height,
|
|
27303
27316
|
display: display,
|
|
27304
27317
|
gridTemplateColumns: gridTemplateColumns,
|
|
27305
27318
|
ref: nodeRef
|
|
27306
|
-
}, !isLoading && columnTitle && !hover && /*#__PURE__*/React
|
|
27319
|
+
}, !isLoading && columnTitle && !hover && /*#__PURE__*/React.createElement(ColumnTitle, {
|
|
27307
27320
|
className: "ColumnTitle"
|
|
27308
|
-
}, columnTitle), !isLoading && showViewByBannerButton && !hover && /*#__PURE__*/React
|
|
27321
|
+
}, columnTitle), !isLoading && showViewByBannerButton && !hover && /*#__PURE__*/React.createElement(BannerContainer, {
|
|
27309
27322
|
className: "BannerContainer",
|
|
27310
27323
|
right: disableInfo ? '20px' : '45px'
|
|
27311
|
-
}, /*#__PURE__*/React
|
|
27324
|
+
}, /*#__PURE__*/React.createElement(OutBanner$1, {
|
|
27312
27325
|
className: "OutBanner",
|
|
27313
27326
|
onClick: () => onBannerClick({
|
|
27314
27327
|
eventName: 'onBannerClick'
|
|
27315
27328
|
})
|
|
27316
|
-
}, /*#__PURE__*/React
|
|
27329
|
+
}, /*#__PURE__*/React.createElement(ExportIcon, null), "By Banner")), !isLoading && !hover && children, !disableInfo && !isLoading && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconContainer, {
|
|
27317
27330
|
className: "IconContainer",
|
|
27318
27331
|
onMouseEnter: () => setHover(true),
|
|
27319
27332
|
onMouseLeave: () => setHover(false)
|
|
27320
|
-
}, /*#__PURE__*/React
|
|
27333
|
+
}, /*#__PURE__*/React.createElement(InfoIcon, null)), hover && /*#__PURE__*/React.createElement(InfoTextContainer, {
|
|
27321
27334
|
className: "InfoTextContainer"
|
|
27322
|
-
}, infoTitle && /*#__PURE__*/React
|
|
27335
|
+
}, infoTitle && /*#__PURE__*/React.createElement(InfoTitleLabel, {
|
|
27323
27336
|
className: "InfoTitleLabel",
|
|
27324
27337
|
dangerouslySetInnerHTML: {
|
|
27325
27338
|
__html: infoTitle
|
|
27326
27339
|
}
|
|
27327
|
-
}), /*#__PURE__*/React
|
|
27340
|
+
}), /*#__PURE__*/React.createElement(InfoTextLabel, {
|
|
27328
27341
|
className: "InfoTextLabel",
|
|
27329
27342
|
dangerouslySetInnerHTML: {
|
|
27330
27343
|
__html: infoText
|
|
27331
27344
|
}
|
|
27332
|
-
}))), isLoading && /*#__PURE__*/React
|
|
27345
|
+
}))), isLoading && /*#__PURE__*/React.createElement(LoadingDiv, {
|
|
27333
27346
|
className: "loadingDiv"
|
|
27334
|
-
}, /*#__PURE__*/React
|
|
27347
|
+
}, /*#__PURE__*/React.createElement(SkeletonTheme, {
|
|
27335
27348
|
baseColor: "#EAEAEA"
|
|
27336
|
-
}, /*#__PURE__*/React
|
|
27349
|
+
}, /*#__PURE__*/React.createElement(Skeleton, {
|
|
27337
27350
|
enableAnimation: true,
|
|
27338
27351
|
width: (offsetWidth ?? 200) * 0.76,
|
|
27339
27352
|
height: 45,
|
|
27340
27353
|
containerClassName: "avatar-skeleton"
|
|
27341
|
-
}), /*#__PURE__*/React
|
|
27354
|
+
}), /*#__PURE__*/React.createElement(Skeleton, {
|
|
27342
27355
|
enableAnimation: true,
|
|
27343
27356
|
count: 4,
|
|
27344
27357
|
width: (offsetWidth ?? 200) * 0.76,
|
|
@@ -27346,6 +27359,46 @@ const OneColumnContainer = props => {
|
|
|
27346
27359
|
containerClassName: "avatar-skeleton"
|
|
27347
27360
|
})))));
|
|
27348
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
|
+
};
|
|
27349
27402
|
|
|
27350
27403
|
const scrollableStyles$3 = `
|
|
27351
27404
|
overflow-y: auto;
|
|
@@ -27446,30 +27499,30 @@ const FormattedValue$2 = props => {
|
|
|
27446
27499
|
textcolor,
|
|
27447
27500
|
isPercent
|
|
27448
27501
|
} = props;
|
|
27449
|
-
return /*#__PURE__*/React
|
|
27502
|
+
return /*#__PURE__*/React.createElement(ControlsContainer$6, {
|
|
27450
27503
|
className: className || 'FormattedValue_ControlsContainer',
|
|
27451
27504
|
height: height,
|
|
27452
27505
|
width: width,
|
|
27453
27506
|
textcolor: textcolor
|
|
27454
|
-
}, /*#__PURE__*/React
|
|
27507
|
+
}, /*#__PURE__*/React.createElement(Controls$4, {
|
|
27455
27508
|
className: "Controls",
|
|
27456
27509
|
height: height,
|
|
27457
27510
|
width: width
|
|
27458
|
-
}, /*#__PURE__*/React
|
|
27511
|
+
}, /*#__PURE__*/React.createElement(TitleAndValueContainer$3, {
|
|
27459
27512
|
className: "TitleAndValueContainer"
|
|
27460
|
-
}, title ? /*#__PURE__*/React
|
|
27513
|
+
}, title ? /*#__PURE__*/React.createElement(Title$9, {
|
|
27461
27514
|
className: "Title",
|
|
27462
27515
|
width: width
|
|
27463
|
-
}, title) : '', showTopValue && /*#__PURE__*/React
|
|
27516
|
+
}, title) : '', showTopValue && /*#__PURE__*/React.createElement(CurrencySignAndFormattedValueContainer$1, {
|
|
27464
27517
|
className: "CurrencySignAndFormattedValueContainer"
|
|
27465
|
-
}, /*#__PURE__*/React
|
|
27518
|
+
}, /*#__PURE__*/React.createElement(FormattedValueText, {
|
|
27466
27519
|
className: "FormattedValueText",
|
|
27467
27520
|
width: width
|
|
27468
|
-
}, /*#__PURE__*/React
|
|
27521
|
+
}, /*#__PURE__*/React.createElement(CurrencySignOrPercent, {
|
|
27469
27522
|
className: "CurrencySignOrPercent"
|
|
27470
|
-
}, 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
|
|
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, {
|
|
27471
27524
|
className: "CurrencySignOrPercent"
|
|
27472
|
-
}, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React
|
|
27525
|
+
}, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React.createElement(Title$9, {
|
|
27473
27526
|
className: "Title",
|
|
27474
27527
|
width: width
|
|
27475
27528
|
}, subtitle) : '')));
|
|
@@ -27683,9 +27736,9 @@ const LegendColorRectangle$1 = dt.div`
|
|
|
27683
27736
|
`;
|
|
27684
27737
|
|
|
27685
27738
|
/* eslint-disable no-nested-ternary */
|
|
27686
|
-
const ICON_TYPE_SQUARE$
|
|
27687
|
-
const ICON_TYPE_LEGEND_UNION_ICON$
|
|
27688
|
-
const ICON_TYPE_LEGEND_LINE_ICON$
|
|
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';
|
|
27689
27742
|
const PerformanceAnalyticsLegend = props => {
|
|
27690
27743
|
const {
|
|
27691
27744
|
className,
|
|
@@ -27693,26 +27746,26 @@ const PerformanceAnalyticsLegend = props => {
|
|
|
27693
27746
|
width,
|
|
27694
27747
|
height
|
|
27695
27748
|
} = props;
|
|
27696
|
-
return /*#__PURE__*/React
|
|
27749
|
+
return /*#__PURE__*/React.createElement(ControlsContainer$4, {
|
|
27697
27750
|
className: className,
|
|
27698
27751
|
height: height,
|
|
27699
27752
|
width: width
|
|
27700
|
-
}, legendData?.length > 0 ? /*#__PURE__*/React
|
|
27753
|
+
}, legendData?.length > 0 ? /*#__PURE__*/React.createElement(Controls$2, {
|
|
27701
27754
|
height: height,
|
|
27702
27755
|
width: width
|
|
27703
|
-
}, /*#__PURE__*/React
|
|
27756
|
+
}, /*#__PURE__*/React.createElement(LegendDataContainer, {
|
|
27704
27757
|
id: "LegendDataContainer"
|
|
27705
|
-
}, legendData?.map((item, i) => /*#__PURE__*/React
|
|
27758
|
+
}, legendData?.map((item, i) => /*#__PURE__*/React.createElement(TitleAndIconContainer, {
|
|
27706
27759
|
key: `${item.title + i}`
|
|
27707
|
-
}, item.iconType === ICON_TYPE_SQUARE$
|
|
27760
|
+
}, item.iconType === ICON_TYPE_SQUARE$2 ? /*#__PURE__*/React.createElement(LegendColorRectangle$1, {
|
|
27708
27761
|
color: item.iconColor
|
|
27709
|
-
}) : item.iconType === ICON_TYPE_LEGEND_UNION_ICON$
|
|
27762
|
+
}) : item.iconType === ICON_TYPE_LEGEND_UNION_ICON$2 ? /*#__PURE__*/React.createElement(LegendUnionIcon, {
|
|
27710
27763
|
width: 30,
|
|
27711
27764
|
height: 30,
|
|
27712
27765
|
color: item.iconColor
|
|
27713
|
-
}) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$
|
|
27766
|
+
}) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$2 ? /*#__PURE__*/React.createElement(LegendLineIcon, {
|
|
27714
27767
|
color: item.iconColor
|
|
27715
|
-
}) : '', /*#__PURE__*/React
|
|
27768
|
+
}) : '', /*#__PURE__*/React.createElement(Title$7, {
|
|
27716
27769
|
id: "Title",
|
|
27717
27770
|
width: width
|
|
27718
27771
|
}, item.title))))) : '');
|
|
@@ -27723,7 +27776,7 @@ PerformanceAnalyticsLegend.propTypes = {
|
|
|
27723
27776
|
height: PropTypes.string,
|
|
27724
27777
|
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
27725
27778
|
title: PropTypes.string.isRequired,
|
|
27726
|
-
iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$
|
|
27779
|
+
iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$2, ICON_TYPE_LEGEND_UNION_ICON$2, ICON_TYPE_LEGEND_LINE_ICON$2]).isRequired,
|
|
27727
27780
|
iconColor: PropTypes.string.isRequired
|
|
27728
27781
|
}))
|
|
27729
27782
|
};
|
|
@@ -27733,15 +27786,15 @@ PerformanceAnalyticsLegend.defaultProps = {
|
|
|
27733
27786
|
height: '',
|
|
27734
27787
|
legendData: [{
|
|
27735
27788
|
title: '',
|
|
27736
|
-
iconType: ICON_TYPE_SQUARE$
|
|
27789
|
+
iconType: ICON_TYPE_SQUARE$2,
|
|
27737
27790
|
iconColor: '#1F7677'
|
|
27738
27791
|
}]
|
|
27739
27792
|
};
|
|
27740
27793
|
|
|
27741
27794
|
/* eslint-disable no-nested-ternary */
|
|
27742
|
-
const ICON_TYPE_SQUARE = 'Square';
|
|
27743
|
-
const ICON_TYPE_LEGEND_UNION_ICON = 'LegendUnionIcon';
|
|
27744
|
-
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';
|
|
27745
27798
|
const BarChartsByWeeks = props => {
|
|
27746
27799
|
const {
|
|
27747
27800
|
className,
|
|
@@ -27830,9 +27883,9 @@ const BarChartsByWeeks = props => {
|
|
|
27830
27883
|
let currentTooltipSecondValue = 0;
|
|
27831
27884
|
if (payload[0].payload?.value) currentTooltipValue = payload[0].payload?.value;
|
|
27832
27885
|
if (payload[0].payload?.secondValue) currentTooltipSecondValue = payload[0].payload?.secondValue;
|
|
27833
|
-
return /*#__PURE__*/React
|
|
27886
|
+
return /*#__PURE__*/React.createElement(TooltipDiv$2, null, /*#__PURE__*/React.createElement(TooltipTitle$1, null, `${isTitleOriganal ? '' : 'Week: '}${week}`), /*#__PURE__*/React.createElement(TooltipLabel$2, null, `${tooltipTitle}
|
|
27834
27887
|
${displayFormattedValue(currentTooltipValue)}
|
|
27835
|
-
`), currentTooltipSecondValue ? /*#__PURE__*/React
|
|
27888
|
+
`), currentTooltipSecondValue ? /*#__PURE__*/React.createElement(TooltipLabel$2, null, `${tooltipSecondTitle}
|
|
27836
27889
|
${displayFormattedValue(currentTooltipSecondValue)}
|
|
27837
27890
|
`) : '');
|
|
27838
27891
|
};
|
|
@@ -27846,7 +27899,7 @@ const BarChartsByWeeks = props => {
|
|
|
27846
27899
|
};
|
|
27847
27900
|
const displayEventWeeksElements = () => {
|
|
27848
27901
|
if (!barChartData || barChartData.length === 0) return '';
|
|
27849
|
-
return /*#__PURE__*/React
|
|
27902
|
+
return /*#__PURE__*/React.createElement(EventWeeksLegendDataElementsContainer, null, getWeek()?.map(item => /*#__PURE__*/React.createElement(EventWeeksLegendDataElement, {
|
|
27850
27903
|
color: item.title >= startWeekRange && item.title <= endWeekRange ? xselectedColor : '',
|
|
27851
27904
|
textColor: item.title >= startWeekRange && item.title <= endWeekRange ? '#212121' : '#B1B1B1',
|
|
27852
27905
|
fontWeight: item.title >= startWeekRange && item.title <= endWeekRange ? 600 : 400,
|
|
@@ -27854,7 +27907,7 @@ const BarChartsByWeeks = props => {
|
|
|
27854
27907
|
borderRightRadius: endWeekRange && item?.title?.toString() === endWeekRange?.toString() ? '12px' : '0px'
|
|
27855
27908
|
}, item.titleWeek)));
|
|
27856
27909
|
};
|
|
27857
|
-
const displayEventWeeksLegendData = () => /*#__PURE__*/React
|
|
27910
|
+
const displayEventWeeksLegendData = () => /*#__PURE__*/React.createElement(EventWeeksLegendMainContainer, {
|
|
27858
27911
|
className: "EventWeeksLegendMainContainer"
|
|
27859
27912
|
}, displayEventWeeksElements());
|
|
27860
27913
|
const getControlsHeight = () => {
|
|
@@ -27880,14 +27933,14 @@ const BarChartsByWeeks = props => {
|
|
|
27880
27933
|
}
|
|
27881
27934
|
return `${newHeight}px`;
|
|
27882
27935
|
};
|
|
27883
|
-
return /*#__PURE__*/React
|
|
27936
|
+
return /*#__PURE__*/React.createElement(ControlsContainer$5, {
|
|
27884
27937
|
className: className,
|
|
27885
27938
|
height: height,
|
|
27886
27939
|
width: width,
|
|
27887
27940
|
ref: controlsContainerRef
|
|
27888
|
-
}, /*#__PURE__*/React
|
|
27941
|
+
}, /*#__PURE__*/React.createElement(Controls$3, {
|
|
27889
27942
|
height: getControlsHeight()
|
|
27890
|
-
}, showTitle && /*#__PURE__*/React
|
|
27943
|
+
}, showTitle && /*#__PURE__*/React.createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React.createElement(Title$8, null, title), /*#__PURE__*/React.createElement(FormattedValue$2, {
|
|
27891
27944
|
title: headerValueTopTitle,
|
|
27892
27945
|
subtitle: headerValueBottomTitle,
|
|
27893
27946
|
showTopValue: showHeaderTopValue,
|
|
@@ -27895,10 +27948,10 @@ const BarChartsByWeeks = props => {
|
|
|
27895
27948
|
currencyType: HeaderValueCurrencyType,
|
|
27896
27949
|
isPercent: HeaderValueIsPercent,
|
|
27897
27950
|
dotCut: true
|
|
27898
|
-
})), /*#__PURE__*/React
|
|
27951
|
+
})), /*#__PURE__*/React.createElement(ResponsiveContainer, {
|
|
27899
27952
|
width: "100%",
|
|
27900
27953
|
height: "100%"
|
|
27901
|
-
}, /*#__PURE__*/React
|
|
27954
|
+
}, /*#__PURE__*/React.createElement(BarChart$1, {
|
|
27902
27955
|
width: width,
|
|
27903
27956
|
height: height,
|
|
27904
27957
|
data: formmatedData,
|
|
@@ -27908,14 +27961,14 @@ const BarChartsByWeeks = props => {
|
|
|
27908
27961
|
bottom: 0,
|
|
27909
27962
|
left: -5
|
|
27910
27963
|
}
|
|
27911
|
-
}, /*#__PURE__*/React
|
|
27964
|
+
}, /*#__PURE__*/React.createElement(CartesianGrid, {
|
|
27912
27965
|
strokeDasharray: "3 3",
|
|
27913
27966
|
vertical: false
|
|
27914
|
-
}), /*#__PURE__*/React
|
|
27967
|
+
}), /*#__PURE__*/React.createElement(XAxis, {
|
|
27915
27968
|
dataKey: "title",
|
|
27916
27969
|
tick: false,
|
|
27917
27970
|
tickLine: false
|
|
27918
|
-
}), /*#__PURE__*/React
|
|
27971
|
+
}), /*#__PURE__*/React.createElement(YAxis, {
|
|
27919
27972
|
tickCount: yAxisCounter,
|
|
27920
27973
|
interval: interval || 'preserveEnd',
|
|
27921
27974
|
domain: [0, 'auto'],
|
|
@@ -27927,28 +27980,28 @@ const BarChartsByWeeks = props => {
|
|
|
27927
27980
|
fontSize: "12px",
|
|
27928
27981
|
tickLine: false,
|
|
27929
27982
|
tickFormatter: value => `${displayFormattedValue(value)}`
|
|
27930
|
-
}), /*#__PURE__*/React
|
|
27931
|
-
content: /*#__PURE__*/React
|
|
27932
|
-
}), /*#__PURE__*/React
|
|
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, {
|
|
27933
27986
|
dataKey: "value",
|
|
27934
27987
|
name: "title",
|
|
27935
27988
|
maxBarSize: 30,
|
|
27936
27989
|
radius: [4, 4, 0, 0],
|
|
27937
27990
|
fill: barChartColor
|
|
27938
|
-
}) : /*#__PURE__*/React
|
|
27991
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Bar, {
|
|
27939
27992
|
dataKey: "value",
|
|
27940
27993
|
name: "title",
|
|
27941
27994
|
maxBarSize: 30,
|
|
27942
27995
|
stackId: "a",
|
|
27943
27996
|
fill: barChartColor
|
|
27944
|
-
}), /*#__PURE__*/React
|
|
27997
|
+
}), /*#__PURE__*/React.createElement(Bar, {
|
|
27945
27998
|
dataKey: "secondValue",
|
|
27946
27999
|
name: "title",
|
|
27947
28000
|
maxBarSize: 30,
|
|
27948
28001
|
radius: [4, 4, 0, 0],
|
|
27949
28002
|
stackId: "a",
|
|
27950
28003
|
fill: barChartSecondColor
|
|
27951
|
-
})))), displayEventWeeksLegendData(), showLegend && /*#__PURE__*/React
|
|
28004
|
+
})))), displayEventWeeksLegendData(), showLegend && /*#__PURE__*/React.createElement(LegendWrapper, null, /*#__PURE__*/React.createElement(PerformanceAnalyticsLegend, {
|
|
27952
28005
|
legendData: legendData
|
|
27953
28006
|
}))));
|
|
27954
28007
|
};
|
|
@@ -27982,7 +28035,7 @@ BarChartsByWeeks.propTypes = {
|
|
|
27982
28035
|
showLegend: PropTypes.bool,
|
|
27983
28036
|
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
27984
28037
|
title: PropTypes.string.isRequired,
|
|
27985
|
-
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,
|
|
27986
28039
|
iconColor: PropTypes.string.isRequired
|
|
27987
28040
|
})),
|
|
27988
28041
|
showTwoBars: PropTypes.bool,
|
|
@@ -28046,11 +28099,11 @@ BarChartsByWeeks.defaultProps = {
|
|
|
28046
28099
|
isTitleOriganal: false,
|
|
28047
28100
|
legendData: [{
|
|
28048
28101
|
title: 'Sales',
|
|
28049
|
-
iconType: ICON_TYPE_SQUARE,
|
|
28102
|
+
iconType: ICON_TYPE_SQUARE$1,
|
|
28050
28103
|
iconColor: '#90CE9C'
|
|
28051
28104
|
}, {
|
|
28052
28105
|
title: 'Category Average',
|
|
28053
|
-
iconType: ICON_TYPE_LEGEND_LINE_ICON,
|
|
28106
|
+
iconType: ICON_TYPE_LEGEND_LINE_ICON$1,
|
|
28054
28107
|
iconColor: '#C906FD'
|
|
28055
28108
|
}],
|
|
28056
28109
|
showTwoBars: false,
|
|
@@ -28295,45 +28348,45 @@ const TotalDoughnutChart = props => {
|
|
|
28295
28348
|
}
|
|
28296
28349
|
setDoughnutChartRadius(radius);
|
|
28297
28350
|
}, [height, width, DoughnutChartContainerRef?.current?.clientWidth, DoughnutChartContainerRef?.current?.clientHeight, zoomResolution]);
|
|
28298
|
-
const displayLegendValue = row => /*#__PURE__*/React
|
|
28351
|
+
const displayLegendValue = row => /*#__PURE__*/React.createElement(LegendFormattedValue, {
|
|
28299
28352
|
style: {
|
|
28300
28353
|
fontWeight: itemsBoldedValues ? '700' : '500'
|
|
28301
28354
|
}
|
|
28302
|
-
}, !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
|
|
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", {
|
|
28303
28356
|
style: {
|
|
28304
28357
|
fontWeight: itemsBoldedValues ? '700' : '400'
|
|
28305
28358
|
}
|
|
28306
28359
|
}, ' (', `${Math.round(row.value / value * 100)}%)`), isPercent && row.value && `${row.value.toFixed(1)}%`);
|
|
28307
|
-
return /*#__PURE__*/React
|
|
28360
|
+
return /*#__PURE__*/React.createElement(ControlsContainer$3, {
|
|
28308
28361
|
className: className,
|
|
28309
28362
|
height: height,
|
|
28310
28363
|
width: width,
|
|
28311
28364
|
textcolor: textcolor
|
|
28312
|
-
}, legendData.length === 0 || legendData.every(item => item.value === undefined || item.value === null) ? /*#__PURE__*/React
|
|
28365
|
+
}, legendData.length === 0 || legendData.every(item => item.value === undefined || item.value === null) ? /*#__PURE__*/React.createElement(NoDataFoundMessage, {
|
|
28313
28366
|
className: "NoDataFoundMessage",
|
|
28314
28367
|
noDataText: noDataText
|
|
28315
|
-
}) : /*#__PURE__*/React
|
|
28368
|
+
}) : /*#__PURE__*/React.createElement(Controls$1, {
|
|
28316
28369
|
className: "Controls",
|
|
28317
28370
|
height: height,
|
|
28318
28371
|
width: width
|
|
28319
|
-
}, !hideTitleAndValue && /*#__PURE__*/React
|
|
28372
|
+
}, !hideTitleAndValue && /*#__PURE__*/React.createElement(TitleAndValueContainer$1, {
|
|
28320
28373
|
className: "TitleAndValueContainer"
|
|
28321
|
-
}, /*#__PURE__*/React
|
|
28374
|
+
}, /*#__PURE__*/React.createElement(Title$6, {
|
|
28322
28375
|
className: "Title"
|
|
28323
|
-
}, title), /*#__PURE__*/React
|
|
28376
|
+
}, title), /*#__PURE__*/React.createElement(CurrencySignAndFormattedValueContainer, {
|
|
28324
28377
|
className: "CurrencySignAndFormattedValueContainer"
|
|
28325
|
-
}, /*#__PURE__*/React
|
|
28378
|
+
}, /*#__PURE__*/React.createElement(FormattedValue$1, {
|
|
28326
28379
|
className: "FormattedValue",
|
|
28327
28380
|
width: width
|
|
28328
|
-
}, /*#__PURE__*/React
|
|
28381
|
+
}, /*#__PURE__*/React.createElement(CurrencySign$1, {
|
|
28329
28382
|
className: "CurrencySign"
|
|
28330
|
-
}, 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
|
|
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, {
|
|
28331
28384
|
className: "TextAfterValue"
|
|
28332
|
-
}, textAfterValue) : '', addingBenchmark && /*#__PURE__*/React
|
|
28385
|
+
}, textAfterValue) : '', addingBenchmark && /*#__PURE__*/React.createElement(Benchmark, null))), /*#__PURE__*/React.createElement(DoughnutChartAndLegendContainer, null, /*#__PURE__*/React.createElement(DoughnutChartContainer, {
|
|
28333
28386
|
width: width,
|
|
28334
28387
|
height: height,
|
|
28335
28388
|
ref: DoughnutChartContainerRef
|
|
28336
|
-
}, /*#__PURE__*/React
|
|
28389
|
+
}, /*#__PURE__*/React.createElement(ResponsiveContainer, null, /*#__PURE__*/React.createElement(PieChart$1, null, /*#__PURE__*/React.createElement(Pie, {
|
|
28337
28390
|
fill: "#8884d8",
|
|
28338
28391
|
dataKey: "value",
|
|
28339
28392
|
blendStroke: true,
|
|
@@ -28341,19 +28394,19 @@ const TotalDoughnutChart = props => {
|
|
|
28341
28394
|
data: legendData,
|
|
28342
28395
|
outerRadius: DoughnutChartRadius - 4,
|
|
28343
28396
|
innerRadius: DoughnutChartRadius - DoughnutChartRadius / 3
|
|
28344
|
-
}, legendData.map(row => /*#__PURE__*/React
|
|
28397
|
+
}, legendData.map(row => /*#__PURE__*/React.createElement(Cell, {
|
|
28345
28398
|
key: `cell-${row.name}`,
|
|
28346
28399
|
fill: row.color
|
|
28347
|
-
}))), /*#__PURE__*/React
|
|
28348
|
-
content: /*#__PURE__*/React
|
|
28400
|
+
}))), /*#__PURE__*/React.createElement(Tooltip$2, {
|
|
28401
|
+
content: /*#__PURE__*/React.createElement(CustomTooltip, {
|
|
28349
28402
|
value: value,
|
|
28350
28403
|
isPercent: isPercent
|
|
28351
28404
|
})
|
|
28352
|
-
}), /*#__PURE__*/React
|
|
28405
|
+
}), /*#__PURE__*/React.createElement(Tooltip$2, null)))), /*#__PURE__*/React.createElement(LegendContainer$1, null, legendData.map(row => /*#__PURE__*/React.createElement(LegendControlsContainer, {
|
|
28353
28406
|
key: row.name
|
|
28354
|
-
}, /*#__PURE__*/React
|
|
28407
|
+
}, /*#__PURE__*/React.createElement(LegendColorRectangle, {
|
|
28355
28408
|
color: row.color
|
|
28356
|
-
}), /*#__PURE__*/React
|
|
28409
|
+
}), /*#__PURE__*/React.createElement(LegendTitleAndFormatedValueContainer, null, /*#__PURE__*/React.createElement(LegendTitle, {
|
|
28357
28410
|
style: {
|
|
28358
28411
|
flexDirection: itemsValuesSeparateLine ? 'column' : 'row',
|
|
28359
28412
|
alignItems: itemsValuesSeparateLine ? 'baseline' : 'center'
|
|
@@ -28413,7 +28466,7 @@ function CustomTooltip(_ref) {
|
|
|
28413
28466
|
if (active && payload && payload.length) {
|
|
28414
28467
|
// eslint-disable-next-line no-nested-ternary
|
|
28415
28468
|
const percent = value && value !== 0 && !isPercent ? (payload[0].value / value * 100).toFixed(1) : value && isPercent ? payload[0].value.toFixed(1) : 0;
|
|
28416
|
-
return /*#__PURE__*/React
|
|
28469
|
+
return /*#__PURE__*/React.createElement(TooltipDiv$1, null, /*#__PURE__*/React.createElement(TooltipLabel$1, null, `${payload[0].name} ${percent}%`));
|
|
28417
28470
|
}
|
|
28418
28471
|
}
|
|
28419
28472
|
CustomTooltip.propTypes = {
|
|
@@ -28539,11 +28592,11 @@ const Tooltip = props => {
|
|
|
28539
28592
|
direction,
|
|
28540
28593
|
content
|
|
28541
28594
|
} = props;
|
|
28542
|
-
return /*#__PURE__*/React
|
|
28595
|
+
return /*#__PURE__*/React.createElement(TooltipContainer$1, {
|
|
28543
28596
|
className: className,
|
|
28544
28597
|
top: `${top}px`,
|
|
28545
28598
|
left: `${left}px`
|
|
28546
|
-
}, /*#__PURE__*/React
|
|
28599
|
+
}, /*#__PURE__*/React.createElement(TooltipWrapper, null, /*#__PURE__*/React.createElement(TooltipTip, {
|
|
28547
28600
|
className: `controls ${direction || 'top'}`
|
|
28548
28601
|
}, content)));
|
|
28549
28602
|
};
|
|
@@ -28700,7 +28753,7 @@ const TotalHorizontalCharts = props => {
|
|
|
28700
28753
|
clientX: 0,
|
|
28701
28754
|
clientY: 0
|
|
28702
28755
|
});
|
|
28703
|
-
const CustomizedLabel = props => showPercentAsideValue ? /*#__PURE__*/React
|
|
28756
|
+
const CustomizedLabel = props => showPercentAsideValue ? /*#__PURE__*/React.createElement("text", {
|
|
28704
28757
|
x: props.x + (props.width <= 0 ? -12 : props.width) + 56,
|
|
28705
28758
|
y: props.y + 4,
|
|
28706
28759
|
dy: props.height / 2,
|
|
@@ -28709,9 +28762,9 @@ const TotalHorizontalCharts = props => {
|
|
|
28709
28762
|
fontSize: 12,
|
|
28710
28763
|
fontWeight: 500,
|
|
28711
28764
|
textAnchor: "middle"
|
|
28712
|
-
}, ''.concat(getFormattedValue(props.value), getFormattedUnits(props.value)), /*#__PURE__*/React
|
|
28765
|
+
}, ''.concat(getFormattedValue(props.value), getFormattedUnits(props.value)), /*#__PURE__*/React.createElement("tspan", {
|
|
28713
28766
|
fontWeight: 400
|
|
28714
|
-
}, ` (${(props.value / value * 100).toFixed(0)}%)`)) : /*#__PURE__*/React
|
|
28767
|
+
}, ` (${(props.value / value * 100).toFixed(0)}%)`)) : /*#__PURE__*/React.createElement("text", {
|
|
28715
28768
|
x: props.x + (props.width <= 0 ? -12 : props.width) + 40,
|
|
28716
28769
|
y: props.y + 4,
|
|
28717
28770
|
dy: props.height / 2,
|
|
@@ -28749,10 +28802,10 @@ const TotalHorizontalCharts = props => {
|
|
|
28749
28802
|
if (chartsData && chartsData.length > 0 && payload) {
|
|
28750
28803
|
const chartsDataLabel = chartsData.filter(item => item.name === payload.value);
|
|
28751
28804
|
if (chartsDataLabel && chartsDataLabel.length > 0) {
|
|
28752
|
-
return /*#__PURE__*/React
|
|
28805
|
+
return /*#__PURE__*/React.createElement("g", {
|
|
28753
28806
|
onMouseEnter: () => handleMouseEnter(payload.value),
|
|
28754
28807
|
onMouseLeave: handleMouseLeave
|
|
28755
|
-
}, /*#__PURE__*/React
|
|
28808
|
+
}, /*#__PURE__*/React.createElement("text", {
|
|
28756
28809
|
style: {
|
|
28757
28810
|
whiteSpace: 'nowrap'
|
|
28758
28811
|
},
|
|
@@ -28772,24 +28825,24 @@ const TotalHorizontalCharts = props => {
|
|
|
28772
28825
|
}
|
|
28773
28826
|
return null;
|
|
28774
28827
|
};
|
|
28775
|
-
return /*#__PURE__*/React
|
|
28828
|
+
return /*#__PURE__*/React.createElement(ControlsContainer$2, {
|
|
28776
28829
|
ref: wrapper,
|
|
28777
28830
|
height: height,
|
|
28778
28831
|
width: width,
|
|
28779
28832
|
textColor: textColor,
|
|
28780
28833
|
scroller: chartsData.length > showScrollerBarsCount ? 'auto' : 'hidden',
|
|
28781
28834
|
className: className
|
|
28782
|
-
}, chartsData?.length > 0 ? /*#__PURE__*/React
|
|
28835
|
+
}, chartsData?.length > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, !hideTitle || !hideTotalValue ? /*#__PURE__*/React.createElement(CardHeader, {
|
|
28783
28836
|
ref: topHeader,
|
|
28784
28837
|
className: "CardHeader"
|
|
28785
|
-
}, !hideTitle ? /*#__PURE__*/React
|
|
28838
|
+
}, !hideTitle ? /*#__PURE__*/React.createElement(Title$5, null, title) : '', !hideTotalValue ? /*#__PURE__*/React.createElement(TotalValue, {
|
|
28786
28839
|
className: "TotalValue"
|
|
28787
|
-
}, currencySign && /*#__PURE__*/React
|
|
28840
|
+
}, currencySign && /*#__PURE__*/React.createElement(CurrencySign, {
|
|
28788
28841
|
className: "CurrencySign"
|
|
28789
|
-
}, getCurrencySign(currencyType, value)), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '') : '') : '', /*#__PURE__*/React
|
|
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, {
|
|
28790
28843
|
width: "100%",
|
|
28791
28844
|
height: calculateChartHeight()
|
|
28792
|
-
}, /*#__PURE__*/React
|
|
28845
|
+
}, /*#__PURE__*/React.createElement(BarChart$1, {
|
|
28793
28846
|
layout: "vertical",
|
|
28794
28847
|
data: chartsData,
|
|
28795
28848
|
margin: {
|
|
@@ -28798,13 +28851,13 @@ const TotalHorizontalCharts = props => {
|
|
|
28798
28851
|
bottom: 20,
|
|
28799
28852
|
left: 10
|
|
28800
28853
|
}
|
|
28801
|
-
}, /*#__PURE__*/React
|
|
28854
|
+
}, /*#__PURE__*/React.createElement(XAxis, {
|
|
28802
28855
|
type: "number",
|
|
28803
28856
|
domain: [0, dataMax => dataMax * rightGap]
|
|
28804
28857
|
// allowDataOverflow={false}
|
|
28805
28858
|
,
|
|
28806
28859
|
hide: true
|
|
28807
|
-
}), /*#__PURE__*/React
|
|
28860
|
+
}), /*#__PURE__*/React.createElement(YAxis, {
|
|
28808
28861
|
dataKey: "name",
|
|
28809
28862
|
type: "category",
|
|
28810
28863
|
width: labelLimitedLetters * 10,
|
|
@@ -28813,22 +28866,22 @@ const TotalHorizontalCharts = props => {
|
|
|
28813
28866
|
interval: 0,
|
|
28814
28867
|
allowDataOverflow: true,
|
|
28815
28868
|
tick: CustomizedTickBarChart
|
|
28816
|
-
}), /*#__PURE__*/React
|
|
28869
|
+
}), /*#__PURE__*/React.createElement(Bar, {
|
|
28817
28870
|
dataKey: "value",
|
|
28818
28871
|
barSize: 20,
|
|
28819
28872
|
fill: "#8884d8",
|
|
28820
28873
|
barCategoryGap: 10,
|
|
28821
28874
|
barGap: 5
|
|
28822
|
-
}, /*#__PURE__*/React
|
|
28875
|
+
}, /*#__PURE__*/React.createElement(LabelList, {
|
|
28823
28876
|
dataKey: "value",
|
|
28824
28877
|
content: CustomizedLabel
|
|
28825
28878
|
}), chartsData.map((entry, index) =>
|
|
28826
28879
|
/*#__PURE__*/
|
|
28827
28880
|
// eslint-disable-next-line react/no-array-index-key
|
|
28828
|
-
React
|
|
28881
|
+
React.createElement(Cell, {
|
|
28829
28882
|
key: `cell-${index}`,
|
|
28830
28883
|
fill: barBackgrounds[index % 20]
|
|
28831
|
-
}))), showLegendTooltip && /*#__PURE__*/React
|
|
28884
|
+
}))), showLegendTooltip && /*#__PURE__*/React.createElement(Tooltip, {
|
|
28832
28885
|
direction: "top",
|
|
28833
28886
|
content: tooltipText.content,
|
|
28834
28887
|
top: tooltipText.clientY,
|
|
@@ -28836,7 +28889,7 @@ const TotalHorizontalCharts = props => {
|
|
|
28836
28889
|
style: {
|
|
28837
28890
|
pointerEvents: 'none'
|
|
28838
28891
|
}
|
|
28839
|
-
})))) : /*#__PURE__*/React
|
|
28892
|
+
})))) : /*#__PURE__*/React.createElement(NoDataFoundMessage, {
|
|
28840
28893
|
noDataText: noDataText
|
|
28841
28894
|
}));
|
|
28842
28895
|
};
|
|
@@ -29021,35 +29074,35 @@ const SalesAndROI = props => {
|
|
|
29021
29074
|
}
|
|
29022
29075
|
return newTextBefore;
|
|
29023
29076
|
};
|
|
29024
|
-
const displayItem = dataItem => /*#__PURE__*/React
|
|
29077
|
+
const displayItem = dataItem => /*#__PURE__*/React.createElement(ItemContainer, {
|
|
29025
29078
|
id: "ItemContainer"
|
|
29026
|
-
}, /*#__PURE__*/React
|
|
29079
|
+
}, /*#__PURE__*/React.createElement(ItemTitle, {
|
|
29027
29080
|
id: "ItemTitle"
|
|
29028
|
-
}, dataItem.name), /*#__PURE__*/React
|
|
29081
|
+
}, dataItem.name), /*#__PURE__*/React.createElement(FormattedValue, {
|
|
29029
29082
|
id: "FormattedValue"
|
|
29030
|
-
}, /*#__PURE__*/React
|
|
29083
|
+
}, /*#__PURE__*/React.createElement(TextBeforeAndAfterValue, {
|
|
29031
29084
|
id: "TextBeforeAndAfterValue"
|
|
29032
|
-
}, 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
|
|
29033
|
-
return /*#__PURE__*/React
|
|
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, {
|
|
29034
29087
|
id: "ControlsContainer",
|
|
29035
29088
|
height: height,
|
|
29036
29089
|
width: width,
|
|
29037
29090
|
textColor: textColor,
|
|
29038
29091
|
showBorderShadow: showBorderShadow
|
|
29039
|
-
}, /*#__PURE__*/React
|
|
29092
|
+
}, /*#__PURE__*/React.createElement(TitleAndValueContainer, {
|
|
29040
29093
|
id: "TitleAndValueContainer"
|
|
29041
|
-
}, /*#__PURE__*/React
|
|
29094
|
+
}, /*#__PURE__*/React.createElement(Title$4, {
|
|
29042
29095
|
id: "Title"
|
|
29043
|
-
}, title), showBanner && /*#__PURE__*/React
|
|
29096
|
+
}, title), showBanner && /*#__PURE__*/React.createElement(OutBanner, {
|
|
29044
29097
|
id: "OutBanner",
|
|
29045
29098
|
onClick: () => onBannerClick({
|
|
29046
29099
|
eventName: 'onBannerClick'
|
|
29047
29100
|
})
|
|
29048
|
-
}, /*#__PURE__*/React
|
|
29101
|
+
}, /*#__PURE__*/React.createElement(ExportIcon, {
|
|
29049
29102
|
color: textColor
|
|
29050
|
-
}), "View By Banner")), salesData?.length > 0 ? /*#__PURE__*/React
|
|
29103
|
+
}), "View By Banner")), salesData?.length > 0 ? /*#__PURE__*/React.createElement(ItemsContainer, {
|
|
29051
29104
|
id: "ItemsContainer"
|
|
29052
|
-
}, salesData?.map(dataItem => displayItem(dataItem))) : /*#__PURE__*/React
|
|
29105
|
+
}, salesData?.map(dataItem => displayItem(dataItem))) : /*#__PURE__*/React.createElement(NoDataFoundMessage, {
|
|
29053
29106
|
noDataText: noDataText
|
|
29054
29107
|
}));
|
|
29055
29108
|
};
|
|
@@ -29222,20 +29275,20 @@ const PopupCharts = props => {
|
|
|
29222
29275
|
const displayRetailerIcon = retailer => {
|
|
29223
29276
|
switch (retailer) {
|
|
29224
29277
|
case 'Food Lion':
|
|
29225
|
-
return /*#__PURE__*/React
|
|
29278
|
+
return /*#__PURE__*/React.createElement(FoodLionNewIcon, null);
|
|
29226
29279
|
case 'Hannaford':
|
|
29227
|
-
return /*#__PURE__*/React
|
|
29280
|
+
return /*#__PURE__*/React.createElement(HannafordNewIcon, null);
|
|
29228
29281
|
case 'Stop&Shop':
|
|
29229
|
-
return /*#__PURE__*/React
|
|
29282
|
+
return /*#__PURE__*/React.createElement(StopAndShopNewIcon, null);
|
|
29230
29283
|
case 'The Giant Company':
|
|
29231
|
-
return /*#__PURE__*/React
|
|
29284
|
+
return /*#__PURE__*/React.createElement(TheGiantCompanyIcon$1, null);
|
|
29232
29285
|
case 'Giant Food':
|
|
29233
|
-
return /*#__PURE__*/React
|
|
29286
|
+
return /*#__PURE__*/React.createElement(GiantFoodNewIcon, null);
|
|
29234
29287
|
default:
|
|
29235
29288
|
return '';
|
|
29236
29289
|
}
|
|
29237
29290
|
};
|
|
29238
|
-
const displayDoughnutChart = rowsData => /*#__PURE__*/React
|
|
29291
|
+
const displayDoughnutChart = rowsData => /*#__PURE__*/React.createElement(TotalDoughnutChart, {
|
|
29239
29292
|
currencySign: true,
|
|
29240
29293
|
dotCut: true,
|
|
29241
29294
|
legendData: rowsData?.legendData,
|
|
@@ -29247,7 +29300,7 @@ const PopupCharts = props => {
|
|
|
29247
29300
|
itemsValuesSeparateLine: false,
|
|
29248
29301
|
isPercent: true
|
|
29249
29302
|
});
|
|
29250
|
-
const displayBarChartsByWeeks = (rowsData, showTwoBars) => /*#__PURE__*/React
|
|
29303
|
+
const displayBarChartsByWeeks = (rowsData, showTwoBars) => /*#__PURE__*/React.createElement(BarChartsByWeeks, {
|
|
29251
29304
|
showTwoBars: showTwoBars,
|
|
29252
29305
|
headerValueTopTitle: rowsData?.headerValueTopTitle,
|
|
29253
29306
|
headerValue: rowsData?.headerValue,
|
|
@@ -29268,7 +29321,7 @@ const PopupCharts = props => {
|
|
|
29268
29321
|
xselectedColor: rowsData?.xselectedColor,
|
|
29269
29322
|
isPercentValue: rowsData?.isPercentValue
|
|
29270
29323
|
});
|
|
29271
|
-
const displayTotalHorizontalCharts = rowsData => /*#__PURE__*/React
|
|
29324
|
+
const displayTotalHorizontalCharts = rowsData => /*#__PURE__*/React.createElement(TotalHorizontalCharts, {
|
|
29272
29325
|
currencySign: true,
|
|
29273
29326
|
dotCut: true,
|
|
29274
29327
|
chartsData: rowsData?.chartsData,
|
|
@@ -29280,7 +29333,7 @@ const PopupCharts = props => {
|
|
|
29280
29333
|
width: "100%"
|
|
29281
29334
|
});
|
|
29282
29335
|
const displayMarketShareDescription = rowsData => {
|
|
29283
|
-
const content = /*#__PURE__*/React
|
|
29336
|
+
const content = /*#__PURE__*/React.createElement(MarketShareDescription, {
|
|
29284
29337
|
marketShareData: rowsData?.marketShareData,
|
|
29285
29338
|
height: "240px",
|
|
29286
29339
|
width: "100%",
|
|
@@ -29289,7 +29342,7 @@ const PopupCharts = props => {
|
|
|
29289
29342
|
return content;
|
|
29290
29343
|
};
|
|
29291
29344
|
const displaySalesAndROI = rowsData => {
|
|
29292
|
-
const content = /*#__PURE__*/React
|
|
29345
|
+
const content = /*#__PURE__*/React.createElement(SalesAndROI, {
|
|
29293
29346
|
title: rowsData?.title,
|
|
29294
29347
|
dotCut: rowsData?.dotCut,
|
|
29295
29348
|
currencySign: rowsData?.currencySign,
|
|
@@ -29328,38 +29381,38 @@ const PopupCharts = props => {
|
|
|
29328
29381
|
content = '';
|
|
29329
29382
|
break;
|
|
29330
29383
|
}
|
|
29331
|
-
return /*#__PURE__*/React
|
|
29384
|
+
return /*#__PURE__*/React.createElement("div", null, content);
|
|
29332
29385
|
};
|
|
29333
|
-
const displayChartItem = item => /*#__PURE__*/React
|
|
29386
|
+
const displayChartItem = item => /*#__PURE__*/React.createElement(ChartItemMainContainer, {
|
|
29334
29387
|
id: "ChartItemMainContainer"
|
|
29335
|
-
}, /*#__PURE__*/React
|
|
29388
|
+
}, /*#__PURE__*/React.createElement(ChartItemContainer, {
|
|
29336
29389
|
id: "ChartItemContainer",
|
|
29337
29390
|
style: {
|
|
29338
29391
|
cursor: 'pointer'
|
|
29339
29392
|
}
|
|
29340
|
-
}, /*#__PURE__*/React
|
|
29393
|
+
}, /*#__PURE__*/React.createElement(ChartItemIconContainer, {
|
|
29341
29394
|
id: "ChartItemIconContainer"
|
|
29342
|
-
}, displayRetailerIcon(item.title)), /*#__PURE__*/React
|
|
29395
|
+
}, displayRetailerIcon(item.title)), /*#__PURE__*/React.createElement(ChartItemTitle, {
|
|
29343
29396
|
id: "ChartItemTitle",
|
|
29344
29397
|
subtitleTextColor: subtitleTextColor
|
|
29345
|
-
}, item.title)), /*#__PURE__*/React
|
|
29398
|
+
}, item.title)), /*#__PURE__*/React.createElement(ChartContentContainer, {
|
|
29346
29399
|
id: "ChartContentContainer"
|
|
29347
29400
|
}, displayChart(item)));
|
|
29348
|
-
return /*#__PURE__*/React
|
|
29401
|
+
return /*#__PURE__*/React.createElement(MainContainer, {
|
|
29349
29402
|
id: "MainContainer"
|
|
29350
|
-
}, IsPopupChartsOpen && /*#__PURE__*/React
|
|
29403
|
+
}, IsPopupChartsOpen && /*#__PURE__*/React.createElement(ModalOverlay, {
|
|
29351
29404
|
id: "ModalOverlay",
|
|
29352
29405
|
className: "modal-overlay"
|
|
29353
|
-
}, /*#__PURE__*/React
|
|
29406
|
+
}, /*#__PURE__*/React.createElement(ModalContent, {
|
|
29354
29407
|
id: "ModalContent",
|
|
29355
29408
|
ref: divRef,
|
|
29356
29409
|
className: "modal-content",
|
|
29357
29410
|
height: height,
|
|
29358
29411
|
width: width,
|
|
29359
29412
|
onClick: e => e.stopPropagation()
|
|
29360
|
-
}, /*#__PURE__*/React
|
|
29413
|
+
}, /*#__PURE__*/React.createElement(TitleContainer$1, null, /*#__PURE__*/React.createElement(Title$3, null, title), /*#__PURE__*/React.createElement(CloseXIconContainer, {
|
|
29361
29414
|
onClick: e => closePopupCharts(e)
|
|
29362
|
-
}, /*#__PURE__*/React
|
|
29415
|
+
}, /*#__PURE__*/React.createElement(CloseXIcon, null))), /*#__PURE__*/React.createElement(ChartsContainer, {
|
|
29363
29416
|
id: "ChartsContainer",
|
|
29364
29417
|
maxHeight: divHeight ? (divHeight - 110).toString().concat('', 'px') : null,
|
|
29365
29418
|
height: popupChartsItemsData?.length < 4 ? '45%' : '100%'
|
|
@@ -29483,13 +29536,13 @@ const TopToggleList = props => {
|
|
|
29483
29536
|
width,
|
|
29484
29537
|
height
|
|
29485
29538
|
} = props;
|
|
29486
|
-
return /*#__PURE__*/React
|
|
29539
|
+
return /*#__PURE__*/React.createElement(TopToggleListMainContainer, {
|
|
29487
29540
|
width: width
|
|
29488
|
-
}, /*#__PURE__*/React
|
|
29541
|
+
}, /*#__PURE__*/React.createElement(Title$2, null, title), /*#__PURE__*/React.createElement(ListContainer, {
|
|
29489
29542
|
height: height
|
|
29490
|
-
}, list.map(item => /*#__PURE__*/React
|
|
29543
|
+
}, list.map(item => /*#__PURE__*/React.createElement(ListItem, {
|
|
29491
29544
|
key: item.value
|
|
29492
|
-
}, /*#__PURE__*/React
|
|
29545
|
+
}, /*#__PURE__*/React.createElement(Item, null, item.label)))));
|
|
29493
29546
|
};
|
|
29494
29547
|
TopToggleList.propTypes = {
|
|
29495
29548
|
width: PropTypes.string,
|
|
@@ -29702,30 +29755,30 @@ const Heatmap = props => {
|
|
|
29702
29755
|
if (tooltip && tooltipPosition && tooltip.label === `${item.label} - ${Math.round(item.value / totalValue * 100)}%`) {
|
|
29703
29756
|
const top = `${tooltipPosition.y}px`;
|
|
29704
29757
|
const left = `${tooltipPosition.x}px`;
|
|
29705
|
-
return /*#__PURE__*/React
|
|
29758
|
+
return /*#__PURE__*/React.createElement(TooltipContainer, {
|
|
29706
29759
|
className: "TooltipContainer",
|
|
29707
29760
|
top: top,
|
|
29708
29761
|
left: left
|
|
29709
|
-
}, item.label, ' ', "-", ' ', /*#__PURE__*/React
|
|
29762
|
+
}, item.label, ' ', "-", ' ', /*#__PURE__*/React.createElement("span", null, Math.round(item.value / totalValue * 100), "%"));
|
|
29710
29763
|
}
|
|
29711
29764
|
return null;
|
|
29712
29765
|
};
|
|
29713
29766
|
|
|
29714
29767
|
// Function to render the bars and BarsContainer
|
|
29715
|
-
const renderBars = () => /*#__PURE__*/React
|
|
29768
|
+
const renderBars = () => /*#__PURE__*/React.createElement(BarsContainer, {
|
|
29716
29769
|
ref: barsContainerRef,
|
|
29717
29770
|
className: "BarsContainer",
|
|
29718
29771
|
height: barHeightState
|
|
29719
29772
|
}, filteredData.map((item, index) => {
|
|
29720
29773
|
const barWidth = item.value / totalValue * 100;
|
|
29721
|
-
return /*#__PURE__*/React
|
|
29774
|
+
return /*#__PURE__*/React.createElement(BarWrapper, {
|
|
29722
29775
|
className: "BarWrapper"
|
|
29723
29776
|
// eslint-disable-next-line react/no-array-index-key
|
|
29724
29777
|
,
|
|
29725
29778
|
key: index,
|
|
29726
29779
|
width: `${barWidth}%`,
|
|
29727
29780
|
height: barHeightState
|
|
29728
|
-
}, /*#__PURE__*/React
|
|
29781
|
+
}, /*#__PURE__*/React.createElement(AnimatePresence, null, /*#__PURE__*/React.createElement(BarContainer, {
|
|
29729
29782
|
ref: el => {
|
|
29730
29783
|
barRefs.current[index] = el;
|
|
29731
29784
|
} // Attach ref
|
|
@@ -29791,38 +29844,38 @@ const Heatmap = props => {
|
|
|
29791
29844
|
}
|
|
29792
29845
|
}
|
|
29793
29846
|
}
|
|
29794
|
-
}, /*#__PURE__*/React
|
|
29847
|
+
}, /*#__PURE__*/React.createElement(BarLabel, {
|
|
29795
29848
|
className: "BarLabel"
|
|
29796
29849
|
}, Math.round(item.value / totalValue * 100), "%"), renderTooltip(item))));
|
|
29797
29850
|
}));
|
|
29798
29851
|
|
|
29799
29852
|
// Function to render the Legend Area
|
|
29800
|
-
const renderLegend = () => /*#__PURE__*/React
|
|
29853
|
+
const renderLegend = () => /*#__PURE__*/React.createElement(LegendContainer, {
|
|
29801
29854
|
className: "LegendContainer"
|
|
29802
29855
|
}, filteredData.map((item, index) =>
|
|
29803
29856
|
/*#__PURE__*/
|
|
29804
29857
|
// eslint-disable-next-line react/no-array-index-key
|
|
29805
|
-
React
|
|
29858
|
+
React.createElement(LegendItem, {
|
|
29806
29859
|
className: "LegendItem",
|
|
29807
29860
|
key: index
|
|
29808
|
-
}, /*#__PURE__*/React
|
|
29861
|
+
}, /*#__PURE__*/React.createElement(LegendColorBox, {
|
|
29809
29862
|
className: "LegendColorBox",
|
|
29810
29863
|
style: {
|
|
29811
29864
|
backgroundColor: item.color
|
|
29812
29865
|
}
|
|
29813
|
-
}), /*#__PURE__*/React
|
|
29866
|
+
}), /*#__PURE__*/React.createElement(LegendLabel, {
|
|
29814
29867
|
className: "LegendLabel"
|
|
29815
29868
|
}, item.label))));
|
|
29816
|
-
return /*#__PURE__*/React
|
|
29869
|
+
return /*#__PURE__*/React.createElement(HeatmapContainer, {
|
|
29817
29870
|
className: "HeatmapContainer"
|
|
29818
|
-
}, !data || data.length === 0 ? /*#__PURE__*/React
|
|
29871
|
+
}, !data || data.length === 0 ? /*#__PURE__*/React.createElement(NoDataFoundMessage, {
|
|
29819
29872
|
className: "NoDataFoundMessage",
|
|
29820
29873
|
noDataText: ""
|
|
29821
|
-
}) : /*#__PURE__*/React
|
|
29874
|
+
}) : /*#__PURE__*/React.createElement(HeatmapWrapper, {
|
|
29822
29875
|
className: "HeatmapWrapper"
|
|
29823
|
-
}, /*#__PURE__*/React
|
|
29876
|
+
}, /*#__PURE__*/React.createElement(TitleContainer, {
|
|
29824
29877
|
className: "TitleContainer"
|
|
29825
|
-
}, /*#__PURE__*/React
|
|
29878
|
+
}, /*#__PURE__*/React.createElement(Title$1, {
|
|
29826
29879
|
className: "Title"
|
|
29827
29880
|
}, title)), refreshRequired && renderBars(), !refreshRequired && renderBars(), renderLegend()));
|
|
29828
29881
|
};
|
|
@@ -29937,43 +29990,43 @@ const IconButton = props => {
|
|
|
29937
29990
|
const getIcon = icon => {
|
|
29938
29991
|
switch (icon) {
|
|
29939
29992
|
case 'download':
|
|
29940
|
-
return /*#__PURE__*/React
|
|
29993
|
+
return /*#__PURE__*/React.createElement(DownloadIcon, {
|
|
29941
29994
|
height: iconHeight,
|
|
29942
29995
|
width: iconWidth,
|
|
29943
29996
|
color: contentColor
|
|
29944
29997
|
});
|
|
29945
29998
|
case 'document':
|
|
29946
|
-
return /*#__PURE__*/React
|
|
29999
|
+
return /*#__PURE__*/React.createElement(DocumentIcon, {
|
|
29947
30000
|
height: iconHeight,
|
|
29948
30001
|
width: iconWidth,
|
|
29949
30002
|
color: contentColor
|
|
29950
30003
|
});
|
|
29951
30004
|
case 'fly':
|
|
29952
|
-
return /*#__PURE__*/React
|
|
30005
|
+
return /*#__PURE__*/React.createElement(FlyIcon, {
|
|
29953
30006
|
height: iconHeight,
|
|
29954
30007
|
width: iconWidth,
|
|
29955
30008
|
color: contentColor
|
|
29956
30009
|
});
|
|
29957
30010
|
case 'bell':
|
|
29958
|
-
return /*#__PURE__*/React
|
|
30011
|
+
return /*#__PURE__*/React.createElement(BellIcon, {
|
|
29959
30012
|
height: iconHeight,
|
|
29960
30013
|
width: iconWidth,
|
|
29961
30014
|
color: contentColor
|
|
29962
30015
|
});
|
|
29963
30016
|
case 'maintenance':
|
|
29964
|
-
return /*#__PURE__*/React
|
|
30017
|
+
return /*#__PURE__*/React.createElement(MaintenanceIcon, {
|
|
29965
30018
|
height: iconHeight,
|
|
29966
30019
|
width: iconWidth,
|
|
29967
30020
|
color: contentColor
|
|
29968
30021
|
});
|
|
29969
30022
|
case 'exit':
|
|
29970
|
-
return /*#__PURE__*/React
|
|
30023
|
+
return /*#__PURE__*/React.createElement(ExitIcon, {
|
|
29971
30024
|
height: iconHeight,
|
|
29972
30025
|
width: iconWidth,
|
|
29973
30026
|
color: contentColor
|
|
29974
30027
|
});
|
|
29975
30028
|
case 'eye':
|
|
29976
|
-
return /*#__PURE__*/React
|
|
30029
|
+
return /*#__PURE__*/React.createElement(EyeIcon, {
|
|
29977
30030
|
height: iconHeight,
|
|
29978
30031
|
width: iconWidth,
|
|
29979
30032
|
color: contentColor
|
|
@@ -29988,9 +30041,9 @@ const IconButton = props => {
|
|
|
29988
30041
|
const onCancelClickHandler = event => {
|
|
29989
30042
|
onCancelClick(event);
|
|
29990
30043
|
};
|
|
29991
|
-
return /*#__PURE__*/React
|
|
30044
|
+
return /*#__PURE__*/React.createElement(ButtonWrapper, {
|
|
29992
30045
|
id: "ButtonWrapper"
|
|
29993
|
-
}, /*#__PURE__*/React
|
|
30046
|
+
}, /*#__PURE__*/React.createElement(IconButtonContainer, {
|
|
29994
30047
|
download: true,
|
|
29995
30048
|
href: fileLink,
|
|
29996
30049
|
backgroundColor: disabled ? '#E3E4E5' : backgroundColor,
|
|
@@ -30002,7 +30055,7 @@ const IconButton = props => {
|
|
|
30002
30055
|
onClick: event => {
|
|
30003
30056
|
onClickHandler(event);
|
|
30004
30057
|
}
|
|
30005
|
-
}, getIcon(iconName), buttonText !== '' && buttonText !== undefined && /*#__PURE__*/React
|
|
30058
|
+
}, getIcon(iconName), buttonText !== '' && buttonText !== undefined && /*#__PURE__*/React.createElement(SpanText, null, buttonText)), showProcess && /*#__PURE__*/React.createElement(CancelClick, {
|
|
30006
30059
|
onClick: event => onCancelClickHandler(event)
|
|
30007
30060
|
}, "Click here to cancel"));
|
|
30008
30061
|
};
|
|
@@ -30152,34 +30205,34 @@ const DoublePanelDataRow = props => {
|
|
|
30152
30205
|
return '-';
|
|
30153
30206
|
}
|
|
30154
30207
|
if (arrowSign === 'up') {
|
|
30155
|
-
return /*#__PURE__*/React
|
|
30208
|
+
return /*#__PURE__*/React.createElement(PercentageChange, {
|
|
30156
30209
|
color: "#5FCC70",
|
|
30157
30210
|
value: 34 // TODO: when ready, replace with actual value
|
|
30158
|
-
}, /*#__PURE__*/React
|
|
30211
|
+
}, /*#__PURE__*/React.createElement(ArrowUpIcon, {
|
|
30159
30212
|
width: 12,
|
|
30160
30213
|
height: 12
|
|
30161
30214
|
}), ' ', "(+34K)");
|
|
30162
30215
|
}
|
|
30163
|
-
return /*#__PURE__*/React
|
|
30216
|
+
return /*#__PURE__*/React.createElement(PercentageChange, {
|
|
30164
30217
|
color: "#D23630",
|
|
30165
30218
|
value: 66 // TODO: when ready, replace with actual value
|
|
30166
|
-
}, /*#__PURE__*/React
|
|
30219
|
+
}, /*#__PURE__*/React.createElement(ArrowDownIcon, {
|
|
30167
30220
|
width: 12,
|
|
30168
30221
|
height: 12
|
|
30169
30222
|
}), ' ', "(-12K)");
|
|
30170
30223
|
};
|
|
30171
|
-
return /*#__PURE__*/React
|
|
30224
|
+
return /*#__PURE__*/React.createElement(LinnerContainer, {
|
|
30172
30225
|
className: className,
|
|
30173
30226
|
backgroundColor: backgroundColor,
|
|
30174
30227
|
width: width,
|
|
30175
30228
|
height: height
|
|
30176
|
-
}, data.map(item => /*#__PURE__*/React
|
|
30229
|
+
}, data.map(item => /*#__PURE__*/React.createElement(DataBox, {
|
|
30177
30230
|
className: "data-box-item"
|
|
30178
|
-
}, item.title && /*#__PURE__*/React
|
|
30231
|
+
}, item.title && /*#__PURE__*/React.createElement(DataBoxTitle, {
|
|
30179
30232
|
className: "DataBoxTitle"
|
|
30180
|
-
}, item.title), /*#__PURE__*/React
|
|
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, {
|
|
30181
30234
|
className: "DataBoxValue"
|
|
30182
|
-
}, ''.concat(formattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React
|
|
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))));
|
|
30183
30236
|
};
|
|
30184
30237
|
|
|
30185
30238
|
// DoublePanelDataRow.propTypes = {
|
|
@@ -30262,6 +30315,9 @@ const LabelText = dt.tspan`
|
|
|
30262
30315
|
`;
|
|
30263
30316
|
|
|
30264
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';
|
|
30265
30321
|
|
|
30266
30322
|
/* BarCharts */
|
|
30267
30323
|
const BarChart = props => {
|
|
@@ -30315,7 +30371,7 @@ const BarChart = props => {
|
|
|
30315
30371
|
if (!active || !payload || payload?.length === 0) return null;
|
|
30316
30372
|
let currentTooltipValue = 0;
|
|
30317
30373
|
if (payload[0].payload?.value) currentTooltipValue = payload[0].payload?.value;
|
|
30318
|
-
return /*#__PURE__*/React
|
|
30374
|
+
return /*#__PURE__*/React.createElement(TooltipDiv, null, /*#__PURE__*/React.createElement(TooltipTitle, null, `${label}`), /*#__PURE__*/React.createElement(TooltipLabel, null, `${displayFormattedValue(currentTooltipValue, !!showCurrentCampaignStyle)}`));
|
|
30319
30375
|
};
|
|
30320
30376
|
const CustomizedTickBarChart = props => {
|
|
30321
30377
|
const {
|
|
@@ -30326,9 +30382,9 @@ const BarChart = props => {
|
|
|
30326
30382
|
if (barChartData && barChartData.length > 0 && payload) {
|
|
30327
30383
|
const retailerData = barChartData.filter(item => item.title === payload.value);
|
|
30328
30384
|
if (retailerData && retailerData.length > 0) {
|
|
30329
|
-
return /*#__PURE__*/React
|
|
30385
|
+
return /*#__PURE__*/React.createElement("g", {
|
|
30330
30386
|
transform: `translate(${x},${y})`
|
|
30331
|
-
}, showCurrentCampaignStyle && retailerData[0].isCurrent && /*#__PURE__*/React
|
|
30387
|
+
}, showCurrentCampaignStyle && retailerData[0].isCurrent && /*#__PURE__*/React.createElement("rect", {
|
|
30332
30388
|
x: -56 // Adjust this to position the background properly
|
|
30333
30389
|
,
|
|
30334
30390
|
y: 5 // Adjust this for vertical alignment with your text
|
|
@@ -30339,12 +30395,12 @@ const BarChart = props => {
|
|
|
30339
30395
|
,
|
|
30340
30396
|
fill: currentBarColor || '#90CE9C',
|
|
30341
30397
|
rx: 12
|
|
30342
|
-
}), /*#__PURE__*/React
|
|
30398
|
+
}), /*#__PURE__*/React.createElement("text", {
|
|
30343
30399
|
x: 0,
|
|
30344
30400
|
y: 0,
|
|
30345
30401
|
dy: 16,
|
|
30346
30402
|
fill: "#212121"
|
|
30347
|
-
}, /*#__PURE__*/React
|
|
30403
|
+
}, /*#__PURE__*/React.createElement(LabelBoldText, {
|
|
30348
30404
|
textAnchor: "middle",
|
|
30349
30405
|
x: 0,
|
|
30350
30406
|
dy: showCurrentCampaignStyle ? 20 : 50,
|
|
@@ -30365,7 +30421,7 @@ const BarChart = props => {
|
|
|
30365
30421
|
return `${payload.value}`;
|
|
30366
30422
|
}
|
|
30367
30423
|
return payload?.value;
|
|
30368
|
-
})()), /*#__PURE__*/React
|
|
30424
|
+
})()), /*#__PURE__*/React.createElement(LabelText, {
|
|
30369
30425
|
textAnchor: "middle",
|
|
30370
30426
|
x: "0",
|
|
30371
30427
|
dy: "30",
|
|
@@ -30384,7 +30440,7 @@ const BarChart = props => {
|
|
|
30384
30440
|
stroke,
|
|
30385
30441
|
value
|
|
30386
30442
|
} = props;
|
|
30387
|
-
return /*#__PURE__*/React
|
|
30443
|
+
return /*#__PURE__*/React.createElement("text", {
|
|
30388
30444
|
x: x + 30,
|
|
30389
30445
|
y: y,
|
|
30390
30446
|
dy: -8,
|
|
@@ -30393,15 +30449,15 @@ const BarChart = props => {
|
|
|
30393
30449
|
textAnchor: "middle"
|
|
30394
30450
|
}, displayFormattedValue(value));
|
|
30395
30451
|
};
|
|
30396
|
-
return /*#__PURE__*/React
|
|
30452
|
+
return /*#__PURE__*/React.createElement(ControlsContainer, {
|
|
30397
30453
|
className: className,
|
|
30398
30454
|
height: height,
|
|
30399
30455
|
width: width,
|
|
30400
30456
|
ref: controlsContainerRef
|
|
30401
|
-
}, /*#__PURE__*/React
|
|
30457
|
+
}, /*#__PURE__*/React.createElement(Controls, null, /*#__PURE__*/React.createElement(Title, null, title), /*#__PURE__*/React.createElement(ResponsiveContainer, {
|
|
30402
30458
|
width: "100%",
|
|
30403
30459
|
height: 400
|
|
30404
|
-
}, /*#__PURE__*/React
|
|
30460
|
+
}, /*#__PURE__*/React.createElement(BarChart$1, {
|
|
30405
30461
|
width: width,
|
|
30406
30462
|
height: height,
|
|
30407
30463
|
data: barChartData,
|
|
@@ -30411,10 +30467,10 @@ const BarChart = props => {
|
|
|
30411
30467
|
bottom: 0,
|
|
30412
30468
|
left: -5
|
|
30413
30469
|
}
|
|
30414
|
-
}, showCurrentCampaignStyle && /*#__PURE__*/React
|
|
30470
|
+
}, showCurrentCampaignStyle && /*#__PURE__*/React.createElement(CartesianGrid, {
|
|
30415
30471
|
strokeDasharray: "3 3",
|
|
30416
30472
|
vertical: false
|
|
30417
|
-
}), showCurrentCampaignStyle && /*#__PURE__*/React
|
|
30473
|
+
}), showCurrentCampaignStyle && /*#__PURE__*/React.createElement(YAxis, {
|
|
30418
30474
|
tickCount: 10,
|
|
30419
30475
|
interval: "preserveEnd",
|
|
30420
30476
|
domain: [0, 'auto'],
|
|
@@ -30426,11 +30482,11 @@ const BarChart = props => {
|
|
|
30426
30482
|
fontSize: "12px",
|
|
30427
30483
|
tickLine: false,
|
|
30428
30484
|
tickFormatter: value => `${displayFormattedValue(value)}`
|
|
30429
|
-
}), showReferenceLine && /*#__PURE__*/React
|
|
30485
|
+
}), showReferenceLine && /*#__PURE__*/React.createElement(ReferenceLine, {
|
|
30430
30486
|
y: referenceLinePoint,
|
|
30431
30487
|
stroke: referenceLineColor,
|
|
30432
30488
|
strokeDasharray: referenceLineDashed
|
|
30433
|
-
}), /*#__PURE__*/React
|
|
30489
|
+
}), /*#__PURE__*/React.createElement(XAxis, {
|
|
30434
30490
|
dataKey: "title",
|
|
30435
30491
|
tick: CustomizedTickBarChart,
|
|
30436
30492
|
tickLine: false,
|
|
@@ -30438,95 +30494,97 @@ const BarChart = props => {
|
|
|
30438
30494
|
stroke: "#D0D0D0",
|
|
30439
30495
|
domain: [0, 'auto'],
|
|
30440
30496
|
interval: 0
|
|
30441
|
-
}), /*#__PURE__*/React
|
|
30497
|
+
}), /*#__PURE__*/React.createElement(Brush, {
|
|
30442
30498
|
dataKey: "name",
|
|
30443
30499
|
height: 30,
|
|
30444
30500
|
stroke: "#8884d8"
|
|
30445
|
-
}), /*#__PURE__*/React
|
|
30446
|
-
content: /*#__PURE__*/React
|
|
30447
|
-
}), /*#__PURE__*/React
|
|
30501
|
+
}), /*#__PURE__*/React.createElement(Tooltip$2, {
|
|
30502
|
+
content: /*#__PURE__*/React.createElement(CustomTooltip, null)
|
|
30503
|
+
}), /*#__PURE__*/React.createElement(Tooltip$2, null), /*#__PURE__*/React.createElement(Bar, {
|
|
30448
30504
|
dataKey: "value",
|
|
30449
30505
|
fill: barChartColor,
|
|
30450
30506
|
minPointSize: 5,
|
|
30451
30507
|
barSize: barSize ?? 60,
|
|
30452
30508
|
radius: [5, 5, 0, 0]
|
|
30453
|
-
}, /*#__PURE__*/React
|
|
30509
|
+
}, /*#__PURE__*/React.createElement(LabelList, {
|
|
30454
30510
|
dataKey: "value",
|
|
30455
30511
|
content: CustomizedLabel
|
|
30456
|
-
})))), showLegend && /*#__PURE__*/React
|
|
30512
|
+
})))), showLegend && /*#__PURE__*/React.createElement(PerformanceAnalyticsLegend, {
|
|
30457
30513
|
legendData: legendData
|
|
30458
30514
|
})));
|
|
30459
30515
|
};
|
|
30460
|
-
|
|
30461
|
-
|
|
30462
|
-
|
|
30463
|
-
|
|
30464
|
-
|
|
30465
|
-
|
|
30466
|
-
|
|
30467
|
-
|
|
30468
|
-
|
|
30469
|
-
|
|
30470
|
-
|
|
30471
|
-
|
|
30472
|
-
|
|
30473
|
-
|
|
30474
|
-
|
|
30475
|
-
|
|
30476
|
-
|
|
30477
|
-
|
|
30478
|
-
|
|
30479
|
-
|
|
30480
|
-
|
|
30481
|
-
|
|
30482
|
-
|
|
30483
|
-
|
|
30484
|
-
|
|
30485
|
-
|
|
30486
|
-
|
|
30487
|
-
|
|
30488
|
-
|
|
30489
|
-
|
|
30490
|
-
|
|
30491
|
-
|
|
30492
|
-
|
|
30493
|
-
|
|
30494
|
-
|
|
30495
|
-
|
|
30496
|
-
|
|
30497
|
-
|
|
30498
|
-
|
|
30499
|
-
|
|
30500
|
-
|
|
30501
|
-
|
|
30502
|
-
|
|
30503
|
-
|
|
30504
|
-
|
|
30505
|
-
|
|
30506
|
-
|
|
30507
|
-
|
|
30508
|
-
|
|
30509
|
-
|
|
30510
|
-
|
|
30511
|
-
|
|
30512
|
-
|
|
30513
|
-
|
|
30514
|
-
|
|
30515
|
-
|
|
30516
|
-
|
|
30517
|
-
|
|
30518
|
-
|
|
30519
|
-
|
|
30520
|
-
|
|
30521
|
-
|
|
30522
|
-
|
|
30523
|
-
|
|
30524
|
-
|
|
30525
|
-
|
|
30526
|
-
|
|
30527
|
-
|
|
30528
|
-
|
|
30529
|
-
|
|
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
|
+
};
|
|
30530
30588
|
|
|
30531
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 };
|
|
30532
30590
|
//# sourceMappingURL=index.esm.js.map
|