sag_components 2.0.0-beta15 → 2.0.0-beta17

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 CHANGED
@@ -628,22 +628,7 @@ declare namespace CollapseHeader {
628
628
  }
629
629
  }
630
630
 
631
- declare function QuickFilter({ hoverColor, multipleSelection, xIconShow, disabled, error, errorMessage, label, labelColor, placeHolder, width, checkBoxColor, onChange, options, selectedValue, }: {
632
- hoverColor?: string | undefined;
633
- multipleSelection?: boolean | undefined;
634
- xIconShow?: boolean | undefined;
635
- disabled?: boolean | undefined;
636
- error?: boolean | undefined;
637
- errorMessage?: string | undefined;
638
- label?: string | undefined;
639
- labelColor?: string | undefined;
640
- placeHolder?: string | undefined;
641
- width?: string | undefined;
642
- checkBoxColor?: string | undefined;
643
- onChange?: ((event: any) => void) | undefined;
644
- options?: any[] | undefined;
645
- selectedValue?: any[] | undefined;
646
- }): react_jsx_runtime.JSX.Element;
631
+ declare function QuickFilter(props: any): react_jsx_runtime.JSX.Element;
647
632
 
648
633
  declare function OneColumnContainer(props: any): react_jsx_runtime.JSX.Element;
649
634
 
@@ -1072,82 +1057,6 @@ declare namespace IconButton {
1072
1057
 
1073
1058
  declare function DoublePanelDataRow(props: any): react_jsx_runtime.JSX.Element;
1074
1059
 
1075
- declare function BarChart(props: any): react_jsx_runtime.JSX.Element;
1076
- declare namespace BarChart {
1077
- namespace propTypes {
1078
- const title: PropTypes.Requireable<string>;
1079
- const barChartData: PropTypes.Requireable<(PropTypes.InferProps<{
1080
- title: PropTypes.Requireable<string>;
1081
- date: PropTypes.Requireable<string>;
1082
- value: PropTypes.Requireable<number>;
1083
- }> | null | undefined)[]>;
1084
- const width: PropTypes.Requireable<string>;
1085
- const height: PropTypes.Requireable<string>;
1086
- const barSize: PropTypes.Requireable<number>;
1087
- const barFontSizeValue: PropTypes.Requireable<string>;
1088
- const barChartColor: PropTypes.Requireable<string>;
1089
- const showDollarSign: PropTypes.Requireable<boolean>;
1090
- const isDollar: PropTypes.Requireable<boolean>;
1091
- const showLegend: PropTypes.Requireable<boolean>;
1092
- const legendData: PropTypes.Requireable<(PropTypes.InferProps<{
1093
- title: PropTypes.Validator<string>;
1094
- iconType: PropTypes.Validator<string>;
1095
- iconColor: PropTypes.Validator<string>;
1096
- }> | null | undefined)[]>;
1097
- const showReferenceLine: PropTypes.Requireable<boolean>;
1098
- const referenceLinePoint: PropTypes.Requireable<number>;
1099
- const referenceLineColor: PropTypes.Requireable<string>;
1100
- const referenceLineDashed: PropTypes.Requireable<string>;
1101
- const showCurrentCampaignStyle: PropTypes.Requireable<boolean>;
1102
- const currentBarColor: PropTypes.Requireable<string>;
1103
- const isPercent: PropTypes.Requireable<boolean>;
1104
- }
1105
- namespace defaultProps {
1106
- const title_1: string;
1107
- export { title_1 as title };
1108
- const barChartData_1: {
1109
- title: string;
1110
- date: string;
1111
- value: number;
1112
- }[];
1113
- export { barChartData_1 as barChartData };
1114
- const width_1: string;
1115
- export { width_1 as width };
1116
- const height_1: string;
1117
- export { height_1 as height };
1118
- const barSize_1: number;
1119
- export { barSize_1 as barSize };
1120
- const barFontSizeValue_1: string;
1121
- export { barFontSizeValue_1 as barFontSizeValue };
1122
- const barChartColor_1: string;
1123
- export { barChartColor_1 as barChartColor };
1124
- const showDollarSign_1: boolean;
1125
- export { showDollarSign_1 as showDollarSign };
1126
- const isDollar_1: boolean;
1127
- export { isDollar_1 as isDollar };
1128
- const showLegend_1: boolean;
1129
- export { showLegend_1 as showLegend };
1130
- const legendData_1: {
1131
- title: string;
1132
- iconType: string;
1133
- iconColor: string;
1134
- }[];
1135
- export { legendData_1 as legendData };
1136
- const showReferenceLine_1: boolean;
1137
- export { showReferenceLine_1 as showReferenceLine };
1138
- const referenceLinePoint_1: number;
1139
- export { referenceLinePoint_1 as referenceLinePoint };
1140
- const referenceLineColor_1: string;
1141
- export { referenceLineColor_1 as referenceLineColor };
1142
- const referenceLineDashed_1: string;
1143
- export { referenceLineDashed_1 as referenceLineDashed };
1144
- const showCurrentCampaignStyle_1: boolean;
1145
- export { showCurrentCampaignStyle_1 as showCurrentCampaignStyle };
1146
- const currentBarColor_1: string;
1147
- export { currentBarColor_1 as currentBarColor };
1148
- const isPercent_1: boolean;
1149
- export { isPercent_1 as isPercent };
1150
- }
1151
- }
1060
+ declare function BarChart(props: any): react_jsx_runtime.JSX.Element;
1152
1061
 
1153
1062
  export { BannerEventBoxList, BarChart, BarChartsByWeeks, Button, CollapseHeader, DialogOverlay, DoublePanelDataRow, EventDetailsCard, EventList, FilterPanel, Heatmap, IconButton, LinnerDataBox, MarketShareDescription, OneColumnContainer, PieChart, PopupCharts, QuickFilter, ReportTable, TabMenu, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts };
package/dist/index.esm.js CHANGED
@@ -11690,67 +11690,70 @@ const DropdownMain = dt.div`
11690
11690
  `;
11691
11691
 
11692
11692
  /* eslint-disable react/prop-types */
11693
- const DropdownNew = ({
11694
- isMulti,
11695
- label,
11696
- labelEmptyValue,
11697
- options,
11698
- selectedValue,
11699
- placeHolder,
11700
- onChange,
11701
- required,
11702
- disabled,
11703
- width,
11704
- error,
11705
- errorMessage,
11706
- labelColor,
11707
- checkBoxColor,
11708
- xIconShow,
11709
- showLabelOnTop,
11710
- orderBy,
11711
- elementType
11712
- }) => /*#__PURE__*/React$1.createElement(DropdownMain, {
11713
- className: "DropdownMain",
11714
- width: width
11715
- }, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
11716
- className: "DropdownMultiNew",
11717
- placeHolder: placeHolder,
11718
- label: label,
11719
- labelEmptyValue: labelEmptyValue,
11720
- labelColor: labelColor,
11721
- checkBoxColor: checkBoxColor,
11722
- required: required,
11723
- options: options,
11724
- width: width,
11725
- disabled: disabled,
11726
- error: error,
11727
- errorMessage: errorMessage,
11728
- selectedValue: selectedValue,
11729
- xIconShow: xIconShow,
11730
- onChange: onChange,
11731
- showLabelOnTop: showLabelOnTop,
11732
- orderBy: orderBy,
11733
- elementType: elementType
11734
- }) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
11735
- className: "DropdownSingleNew",
11736
- placeHolder: placeHolder,
11737
- label: label,
11738
- labelEmptyValue: labelEmptyValue,
11739
- labelColor: labelColor,
11740
- checkBoxColor: checkBoxColor,
11741
- required: required,
11742
- options: options,
11743
- width: width,
11744
- disabled: disabled,
11745
- error: error,
11746
- errorMessage: errorMessage,
11747
- selectedValue: selectedValue,
11748
- xIconShow: xIconShow,
11749
- onChange: onChange,
11750
- showLabelOnTop: showLabelOnTop,
11751
- orderBy: orderBy,
11752
- elementType: elementType
11753
- }));
11693
+ const DropdownNew = _ref => {
11694
+ let {
11695
+ isMulti,
11696
+ label,
11697
+ labelEmptyValue,
11698
+ options,
11699
+ selectedValue,
11700
+ placeHolder,
11701
+ onChange,
11702
+ required,
11703
+ disabled,
11704
+ width,
11705
+ error,
11706
+ errorMessage,
11707
+ labelColor,
11708
+ checkBoxColor,
11709
+ xIconShow,
11710
+ showLabelOnTop,
11711
+ orderBy,
11712
+ elementType
11713
+ } = _ref;
11714
+ return /*#__PURE__*/React$1.createElement(DropdownMain, {
11715
+ className: "DropdownMain",
11716
+ width: width
11717
+ }, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
11718
+ className: "DropdownMultiNew",
11719
+ placeHolder: placeHolder,
11720
+ label: label,
11721
+ labelEmptyValue: labelEmptyValue,
11722
+ labelColor: labelColor,
11723
+ checkBoxColor: checkBoxColor,
11724
+ required: required,
11725
+ options: options,
11726
+ width: width,
11727
+ disabled: disabled,
11728
+ error: error,
11729
+ errorMessage: errorMessage,
11730
+ selectedValue: selectedValue,
11731
+ xIconShow: xIconShow,
11732
+ onChange: onChange,
11733
+ showLabelOnTop: showLabelOnTop,
11734
+ orderBy: orderBy,
11735
+ elementType: elementType
11736
+ }) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
11737
+ className: "DropdownSingleNew",
11738
+ placeHolder: placeHolder,
11739
+ label: label,
11740
+ labelEmptyValue: labelEmptyValue,
11741
+ labelColor: labelColor,
11742
+ checkBoxColor: checkBoxColor,
11743
+ required: required,
11744
+ options: options,
11745
+ width: width,
11746
+ disabled: disabled,
11747
+ error: error,
11748
+ errorMessage: errorMessage,
11749
+ selectedValue: selectedValue,
11750
+ xIconShow: xIconShow,
11751
+ onChange: onChange,
11752
+ showLabelOnTop: showLabelOnTop,
11753
+ orderBy: orderBy,
11754
+ elementType: elementType
11755
+ }));
11756
+ };
11754
11757
  DropdownNew.propTypes = {
11755
11758
  placeHolder: PropTypes.string,
11756
11759
  label: PropTypes.string,
@@ -12164,20 +12167,21 @@ const DatePicker = ({
12164
12167
  };
12165
12168
 
12166
12169
  /* eslint-disable import/no-extraneous-dependencies */
12167
- const RangePicker = ({
12168
- label,
12169
- onChange,
12170
- borderRadius,
12171
- required,
12172
- width,
12173
- height,
12174
- placeholder,
12175
- disabled,
12176
- borderColor,
12177
- borderColorFocus,
12178
- textColor,
12179
- selectedValue
12180
- }) => {
12170
+ const RangePicker = _ref => {
12171
+ let {
12172
+ label,
12173
+ onChange,
12174
+ borderRadius,
12175
+ required,
12176
+ width,
12177
+ height,
12178
+ placeholder,
12179
+ disabled,
12180
+ borderColor,
12181
+ borderColorFocus,
12182
+ textColor,
12183
+ selectedValue
12184
+ } = _ref;
12181
12185
  const [isFocused, setIsFocused] = useState(false);
12182
12186
  const [isOpen, setIsOpen] = useState(false);
12183
12187
  const [value, setValue] = useState(''); // Added value state
@@ -12605,22 +12609,23 @@ const QuarterPopupPicker = ({
12605
12609
  };
12606
12610
 
12607
12611
  /* eslint-disable import/no-extraneous-dependencies */
12608
- const QuarterPicker = ({
12609
- availableQuarters,
12610
- // ["Q1-2024"]
12611
- label,
12612
- onChange,
12613
- borderRadius,
12614
- required,
12615
- width,
12616
- height,
12617
- placeholder,
12618
- disabled,
12619
- borderColor,
12620
- borderColorFocus,
12621
- textColor,
12622
- selectedValue
12623
- }) => {
12612
+ const QuarterPicker = _ref => {
12613
+ let {
12614
+ availableQuarters,
12615
+ // ["Q1-2024"]
12616
+ label,
12617
+ onChange,
12618
+ borderRadius,
12619
+ required,
12620
+ width,
12621
+ height,
12622
+ placeholder,
12623
+ disabled,
12624
+ borderColor,
12625
+ borderColorFocus,
12626
+ textColor,
12627
+ selectedValue
12628
+ } = _ref;
12624
12629
  const [isFocused, setIsFocused] = useState(false);
12625
12630
  const [isOpen, setIsOpen] = useState(false);
12626
12631
  const [value, setValue] = useState('');
@@ -13057,21 +13062,22 @@ const MonthPopupPicker = ({
13057
13062
  };
13058
13063
 
13059
13064
  /* eslint-disable import/no-extraneous-dependencies */
13060
- const MonthPicker = ({
13061
- availableMonths,
13062
- label,
13063
- onChange,
13064
- borderRadius,
13065
- required,
13066
- width,
13067
- height,
13068
- placeholder,
13069
- disabled,
13070
- borderColor,
13071
- borderColorFocus,
13072
- textColor,
13073
- selectedValue
13074
- }) => {
13065
+ const MonthPicker = _ref => {
13066
+ let {
13067
+ availableMonths,
13068
+ label,
13069
+ onChange,
13070
+ borderRadius,
13071
+ required,
13072
+ width,
13073
+ height,
13074
+ placeholder,
13075
+ disabled,
13076
+ borderColor,
13077
+ borderColorFocus,
13078
+ textColor,
13079
+ selectedValue
13080
+ } = _ref;
13075
13081
  const [isFocused, setIsFocused] = useState(false);
13076
13082
  const [isOpen, setIsOpen] = useState(false);
13077
13083
  const [value, setValue] = useState('');
@@ -26983,23 +26989,23 @@ const QuickFilterMain = dt.div`
26983
26989
  border-radius: 10px;
26984
26990
  `;
26985
26991
 
26986
- const QuickFilter = _ref => {
26987
- let {
26988
- hoverColor = "#066768",
26989
- multipleSelection = false,
26990
- xIconShow = false,
26991
- disabled = false,
26992
- error = false,
26993
- errorMessage = "",
26994
- label = "Unit Type:",
26995
- labelColor = "#066768",
26996
- placeHolder = "Select From List",
26997
- width = "auto",
26998
- checkBoxColor = "#229E38",
26999
- onChange = event => {},
27000
- options = [],
27001
- selectedValue = []
27002
- } = _ref;
26992
+ const QuickFilter = props => {
26993
+ const {
26994
+ hoverColor,
26995
+ multipleSelection,
26996
+ xIconShow,
26997
+ disabled,
26998
+ error,
26999
+ errorMessage,
27000
+ label,
27001
+ labelColor,
27002
+ placeHolder,
27003
+ width,
27004
+ checkBoxColor,
27005
+ onChange,
27006
+ options,
27007
+ selectedValue
27008
+ } = props;
27003
27009
  return /*#__PURE__*/React.createElement(QuickFilterMain, {
27004
27010
  width: width,
27005
27011
  className: "QuickFilterMain"
@@ -27689,9 +27695,9 @@ const LegendColorRectangle$1 = dt.div`
27689
27695
  `;
27690
27696
 
27691
27697
  /* eslint-disable no-nested-ternary */
27692
- const ICON_TYPE_SQUARE$2 = 'Square';
27693
- const ICON_TYPE_LEGEND_UNION_ICON$2 = 'LegendUnionIcon';
27694
- const ICON_TYPE_LEGEND_LINE_ICON$2 = 'LegendLineIcon';
27698
+ const ICON_TYPE_SQUARE$1 = 'Square';
27699
+ const ICON_TYPE_LEGEND_UNION_ICON$1 = 'LegendUnionIcon';
27700
+ const ICON_TYPE_LEGEND_LINE_ICON$1 = 'LegendLineIcon';
27695
27701
  const PerformanceAnalyticsLegend = props => {
27696
27702
  const {
27697
27703
  className,
@@ -27710,13 +27716,13 @@ const PerformanceAnalyticsLegend = props => {
27710
27716
  id: "LegendDataContainer"
27711
27717
  }, legendData?.map((item, i) => /*#__PURE__*/React$1.createElement(TitleAndIconContainer, {
27712
27718
  key: `${item.title + i}`
27713
- }, item.iconType === ICON_TYPE_SQUARE$2 ? /*#__PURE__*/React$1.createElement(LegendColorRectangle$1, {
27719
+ }, item.iconType === ICON_TYPE_SQUARE$1 ? /*#__PURE__*/React$1.createElement(LegendColorRectangle$1, {
27714
27720
  color: item.iconColor
27715
- }) : item.iconType === ICON_TYPE_LEGEND_UNION_ICON$2 ? /*#__PURE__*/React$1.createElement(LegendUnionIcon, {
27721
+ }) : item.iconType === ICON_TYPE_LEGEND_UNION_ICON$1 ? /*#__PURE__*/React$1.createElement(LegendUnionIcon, {
27716
27722
  width: 30,
27717
27723
  height: 30,
27718
27724
  color: item.iconColor
27719
- }) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$2 ? /*#__PURE__*/React$1.createElement(LegendLineIcon, {
27725
+ }) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$1 ? /*#__PURE__*/React$1.createElement(LegendLineIcon, {
27720
27726
  color: item.iconColor
27721
27727
  }) : '', /*#__PURE__*/React$1.createElement(Title$7, {
27722
27728
  id: "Title",
@@ -27729,7 +27735,7 @@ PerformanceAnalyticsLegend.propTypes = {
27729
27735
  height: PropTypes.string,
27730
27736
  legendData: PropTypes.arrayOf(PropTypes.shape({
27731
27737
  title: PropTypes.string.isRequired,
27732
- iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$2, ICON_TYPE_LEGEND_UNION_ICON$2, ICON_TYPE_LEGEND_LINE_ICON$2]).isRequired,
27738
+ iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$1, ICON_TYPE_LEGEND_UNION_ICON$1, ICON_TYPE_LEGEND_LINE_ICON$1]).isRequired,
27733
27739
  iconColor: PropTypes.string.isRequired
27734
27740
  }))
27735
27741
  };
@@ -27739,15 +27745,15 @@ PerformanceAnalyticsLegend.defaultProps = {
27739
27745
  height: '',
27740
27746
  legendData: [{
27741
27747
  title: '',
27742
- iconType: ICON_TYPE_SQUARE$2,
27748
+ iconType: ICON_TYPE_SQUARE$1,
27743
27749
  iconColor: '#1F7677'
27744
27750
  }]
27745
27751
  };
27746
27752
 
27747
27753
  /* eslint-disable no-nested-ternary */
27748
- const ICON_TYPE_SQUARE$1 = 'Square';
27749
- const ICON_TYPE_LEGEND_UNION_ICON$1 = 'LegendUnionIcon';
27750
- const ICON_TYPE_LEGEND_LINE_ICON$1 = 'LegendLineIcon';
27754
+ const ICON_TYPE_SQUARE = 'Square';
27755
+ const ICON_TYPE_LEGEND_UNION_ICON = 'LegendUnionIcon';
27756
+ const ICON_TYPE_LEGEND_LINE_ICON = 'LegendLineIcon';
27751
27757
  const BarChartsByWeeks = props => {
27752
27758
  const {
27753
27759
  className,
@@ -27988,7 +27994,7 @@ BarChartsByWeeks.propTypes = {
27988
27994
  showLegend: PropTypes.bool,
27989
27995
  legendData: PropTypes.arrayOf(PropTypes.shape({
27990
27996
  title: PropTypes.string.isRequired,
27991
- iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$1, ICON_TYPE_LEGEND_UNION_ICON$1, ICON_TYPE_LEGEND_LINE_ICON$1]).isRequired,
27997
+ iconType: PropTypes.oneOf([ICON_TYPE_SQUARE, ICON_TYPE_LEGEND_UNION_ICON, ICON_TYPE_LEGEND_LINE_ICON]).isRequired,
27992
27998
  iconColor: PropTypes.string.isRequired
27993
27999
  })),
27994
28000
  showTwoBars: PropTypes.bool,
@@ -28052,11 +28058,11 @@ BarChartsByWeeks.defaultProps = {
28052
28058
  isTitleOriganal: false,
28053
28059
  legendData: [{
28054
28060
  title: 'Sales',
28055
- iconType: ICON_TYPE_SQUARE$1,
28061
+ iconType: ICON_TYPE_SQUARE,
28056
28062
  iconColor: '#90CE9C'
28057
28063
  }, {
28058
28064
  title: 'Category Average',
28059
- iconType: ICON_TYPE_LEGEND_LINE_ICON$1,
28065
+ iconType: ICON_TYPE_LEGEND_LINE_ICON,
28060
28066
  iconColor: '#C906FD'
28061
28067
  }],
28062
28068
  showTwoBars: false,
@@ -30268,9 +30274,6 @@ const LabelText = dt.tspan`
30268
30274
  `;
30269
30275
 
30270
30276
  /* eslint-disable react/prop-types */
30271
- const ICON_TYPE_SQUARE = 'Square';
30272
- const ICON_TYPE_LEGEND_UNION_ICON = 'LegendUnionIcon';
30273
- const ICON_TYPE_LEGEND_LINE_ICON = 'LegendLineIcon';
30274
30277
 
30275
30278
  /* BarCharts */
30276
30279
  const BarChart = props => {
@@ -30466,78 +30469,76 @@ const BarChart = props => {
30466
30469
  legendData: legendData
30467
30470
  })));
30468
30471
  };
30469
- BarChart.propTypes = {
30470
- title: PropTypes.string,
30471
- barChartData: PropTypes.arrayOf(PropTypes.shape({
30472
- title: PropTypes.string,
30473
- date: PropTypes.string,
30474
- value: PropTypes.number
30475
- })),
30476
- width: PropTypes.string,
30477
- height: PropTypes.string,
30478
- barSize: PropTypes.number,
30479
- barFontSizeValue: PropTypes.string,
30480
- barChartColor: PropTypes.string,
30481
- showDollarSign: PropTypes.bool,
30482
- isDollar: PropTypes.bool,
30483
- showLegend: PropTypes.bool,
30484
- legendData: PropTypes.arrayOf(PropTypes.shape({
30485
- title: PropTypes.string.isRequired,
30486
- iconType: PropTypes.oneOf([ICON_TYPE_SQUARE, ICON_TYPE_LEGEND_UNION_ICON, ICON_TYPE_LEGEND_LINE_ICON]).isRequired,
30487
- iconColor: PropTypes.string.isRequired
30488
- })),
30489
- showReferenceLine: PropTypes.bool,
30490
- referenceLinePoint: PropTypes.number,
30491
- referenceLineColor: PropTypes.string,
30492
- referenceLineDashed: PropTypes.string,
30493
- showCurrentCampaignStyle: PropTypes.bool,
30494
- currentBarColor: PropTypes.string,
30495
- isPercent: PropTypes.bool
30496
- };
30497
- BarChart.defaultProps = {
30498
- title: 'String',
30499
- barChartData: [{
30500
- title: 'Food Lion',
30501
- date: '15.01.24-31.01.24',
30502
- value: 542366
30503
- }, {
30504
- title: 'Hannaford',
30505
- date: '15.01.24-31.01.24',
30506
- value: 699511
30507
- }, {
30508
- title: 'The Giant Company',
30509
- date: '15.01.24-31.01.24',
30510
- value: 403092
30511
- }, {
30512
- title: 'Giant Food',
30513
- date: '15.01.24-31.01.24',
30514
- value: 396184
30515
- }, {
30516
- title: 'Stop&Shop',
30517
- date: '15.01.24-31.01.24',
30518
- value: 415317
30519
- }],
30520
- width: '100%',
30521
- height: '100%',
30522
- barSize: 60,
30523
- barFontSizeValue: '0.6em',
30524
- barChartColor: '#BD9EFF',
30525
- showDollarSign: true,
30526
- isDollar: true,
30527
- showLegend: true,
30528
- legendData: [{
30529
- title: 'Incremental Sales',
30530
- iconType: ICON_TYPE_SQUARE,
30531
- iconColor: '#BD9EFF'
30532
- }],
30533
- showReferenceLine: false,
30534
- referenceLinePoint: 0,
30535
- referenceLineColor: '#212121',
30536
- referenceLineDashed: '5',
30537
- showCurrentCampaignStyle: false,
30538
- currentBarColor: '#90CE9C',
30539
- isPercent: false
30540
- };
30472
+
30473
+ // BarChart.propTypes = {
30474
+ // title: PropTypes.string,
30475
+ // barChartData: PropTypes.arrayOf(
30476
+ // PropTypes.shape({
30477
+ // title: PropTypes.string,
30478
+ // date: PropTypes.string,
30479
+ // value: PropTypes.number,
30480
+ // }),
30481
+ // ),
30482
+ // width: PropTypes.string,
30483
+ // height: PropTypes.string,
30484
+ // barSize: PropTypes.number,
30485
+ // barFontSizeValue: PropTypes.string,
30486
+ // barChartColor: PropTypes.string,
30487
+ // showDollarSign: PropTypes.bool,
30488
+ // isDollar: PropTypes.bool,
30489
+ // showLegend: PropTypes.bool,
30490
+ // legendData: PropTypes.arrayOf(
30491
+ // PropTypes.shape({
30492
+ // title: PropTypes.string.isRequired,
30493
+ // iconType: PropTypes.oneOf([
30494
+ // ICON_TYPE_SQUARE,
30495
+ // ICON_TYPE_LEGEND_UNION_ICON,
30496
+ // ICON_TYPE_LEGEND_LINE_ICON,
30497
+ // ]).isRequired,
30498
+ // iconColor: PropTypes.string.isRequired,
30499
+ // }),
30500
+ // ),
30501
+ // showReferenceLine: PropTypes.bool,
30502
+ // referenceLinePoint: PropTypes.number,
30503
+ // referenceLineColor: PropTypes.string,
30504
+ // referenceLineDashed: PropTypes.string,
30505
+ // showCurrentCampaignStyle: PropTypes.bool,
30506
+ // currentBarColor: PropTypes.string,
30507
+ // isPercent: PropTypes.bool,
30508
+ // };
30509
+
30510
+ // BarChart.defaultProps = {
30511
+ // title: 'String',
30512
+ // barChartData: [
30513
+ // { title: 'Food Lion', date: '15.01.24-31.01.24', value: 542366 },
30514
+ // { title: 'Hannaford', date: '15.01.24-31.01.24', value: 699511 },
30515
+ // { title: 'The Giant Company', date: '15.01.24-31.01.24', value: 403092 },
30516
+ // { title: 'Giant Food', date: '15.01.24-31.01.24', value: 396184 },
30517
+ // { title: 'Stop&Shop', date: '15.01.24-31.01.24', value: 415317 },
30518
+ // ],
30519
+ // width: '100%',
30520
+ // height: '100%',
30521
+ // barSize: 60,
30522
+ // barFontSizeValue: '0.6em',
30523
+ // barChartColor: '#BD9EFF',
30524
+ // showDollarSign: true,
30525
+ // isDollar: true,
30526
+ // showLegend: true,
30527
+ // legendData: [
30528
+ // {
30529
+ // title: 'Incremental Sales',
30530
+ // iconType: ICON_TYPE_SQUARE,
30531
+ // iconColor: '#BD9EFF',
30532
+ // },
30533
+ // ],
30534
+ // showReferenceLine: false,
30535
+ // referenceLinePoint: 0,
30536
+ // referenceLineColor: '#212121',
30537
+ // referenceLineDashed: '5',
30538
+ // showCurrentCampaignStyle: false,
30539
+ // currentBarColor: '#90CE9C',
30540
+ // isPercent: false,
30541
+ // };
30541
30542
 
30542
30543
  export { BannerEventBoxList, BarChart, BarChartsByWeeks, Button, CollapseHeader, DialogOverlay, DoublePanelDataRow, EventDetailsCard, EventList, FilterPanel, Heatmap, IconButton, LinnerDataBox, MarketShareDescription, OneColumnContainer, PieChart, PopupCharts, QuickFilter, ReportTable, TabMenu, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts };
30543
30544
  //# sourceMappingURL=index.esm.js.map