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 +2 -93
- package/dist/index.esm.js +213 -212
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +213 -212
- package/dist/index.js.map +1 -1
- package/dist/types/components/BarChart/BarChart.d.ts +0 -77
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +1 -16
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -628,22 +628,7 @@ declare namespace CollapseHeader {
|
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
declare function QuickFilter(
|
|
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
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
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
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
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
|
-
|
|
12610
|
-
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
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
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
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 =
|
|
26987
|
-
|
|
26988
|
-
hoverColor
|
|
26989
|
-
multipleSelection
|
|
26990
|
-
xIconShow
|
|
26991
|
-
disabled
|
|
26992
|
-
error
|
|
26993
|
-
errorMessage
|
|
26994
|
-
label
|
|
26995
|
-
labelColor
|
|
26996
|
-
placeHolder
|
|
26997
|
-
width
|
|
26998
|
-
checkBoxColor
|
|
26999
|
-
onChange
|
|
27000
|
-
options
|
|
27001
|
-
selectedValue
|
|
27002
|
-
} =
|
|
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$
|
|
27693
|
-
const ICON_TYPE_LEGEND_UNION_ICON$
|
|
27694
|
-
const ICON_TYPE_LEGEND_LINE_ICON$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
|
27749
|
-
const ICON_TYPE_LEGEND_UNION_ICON
|
|
27750
|
-
const ICON_TYPE_LEGEND_LINE_ICON
|
|
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
|
|
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
|
|
28061
|
+
iconType: ICON_TYPE_SQUARE,
|
|
28056
28062
|
iconColor: '#90CE9C'
|
|
28057
28063
|
}, {
|
|
28058
28064
|
title: 'Category Average',
|
|
28059
|
-
iconType: ICON_TYPE_LEGEND_LINE_ICON
|
|
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
|
-
|
|
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
|
-
|
|
30530
|
-
|
|
30531
|
-
|
|
30532
|
-
|
|
30533
|
-
|
|
30534
|
-
|
|
30535
|
-
|
|
30536
|
-
|
|
30537
|
-
|
|
30538
|
-
|
|
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
|