sag_components 2.0.0-beta20 → 2.0.0-beta23
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 +19 -13
- package/dist/index.esm.js +643 -649
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +643 -649
- package/dist/index.js.map +1 -1
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +20 -13
- package/package.json +1 -1
- package/dist/types/icons/Duplicate.d.ts +0 -7
- package/dist/types/icons/HannafordNewIcon.d.ts +0 -5
- package/dist/types/icons/Sort.d.ts +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -1154,7 +1154,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1154
1154
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1155
1155
|
}
|
|
1156
1156
|
var propTypesExports = propTypes.exports;
|
|
1157
|
-
var PropTypes
|
|
1157
|
+
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
1158
1158
|
|
|
1159
1159
|
/******************************************************************************
|
|
1160
1160
|
Copyright (c) Microsoft Corporation.
|
|
@@ -3514,8 +3514,8 @@ const NoDataFoundIcon = ({
|
|
|
3514
3514
|
strokeLinecap: "round"
|
|
3515
3515
|
}));
|
|
3516
3516
|
NoDataFoundIcon.propTypes = {
|
|
3517
|
-
height: PropTypes
|
|
3518
|
-
width: PropTypes
|
|
3517
|
+
height: PropTypes.string,
|
|
3518
|
+
width: PropTypes.string
|
|
3519
3519
|
};
|
|
3520
3520
|
|
|
3521
3521
|
const NoDataFoundContainer = dt.div`
|
|
@@ -3566,7 +3566,7 @@ const NoDataFoundMessage = props => {
|
|
|
3566
3566
|
}, noDataText));
|
|
3567
3567
|
};
|
|
3568
3568
|
NoDataFoundMessage.propTypes = {
|
|
3569
|
-
noDataText: PropTypes
|
|
3569
|
+
noDataText: PropTypes.string
|
|
3570
3570
|
};
|
|
3571
3571
|
NoDataFoundMessage.defaultProps = {
|
|
3572
3572
|
noDataText: ''
|
|
@@ -3897,11 +3897,11 @@ const Tooltip$1 = props => {
|
|
|
3897
3897
|
}, content)));
|
|
3898
3898
|
};
|
|
3899
3899
|
Tooltip$1.propTypes = {
|
|
3900
|
-
children: PropTypes
|
|
3901
|
-
content: PropTypes
|
|
3902
|
-
direction: PropTypes
|
|
3903
|
-
delay: PropTypes
|
|
3904
|
-
topFactor: PropTypes
|
|
3900
|
+
children: PropTypes.node,
|
|
3901
|
+
content: PropTypes.node,
|
|
3902
|
+
direction: PropTypes.string,
|
|
3903
|
+
delay: PropTypes.string,
|
|
3904
|
+
topFactor: PropTypes.number
|
|
3905
3905
|
};
|
|
3906
3906
|
Tooltip$1.defaultProps = {
|
|
3907
3907
|
children: null,
|
|
@@ -4012,18 +4012,18 @@ const Benchmark = props => {
|
|
|
4012
4012
|
}))));
|
|
4013
4013
|
};
|
|
4014
4014
|
Benchmark.propTypes = {
|
|
4015
|
-
totalValue: PropTypes
|
|
4016
|
-
currentValue: PropTypes
|
|
4017
|
-
benchmarkValue: PropTypes
|
|
4018
|
-
width: PropTypes
|
|
4019
|
-
height: PropTypes
|
|
4020
|
-
color: PropTypes
|
|
4021
|
-
linearGradientColor: PropTypes
|
|
4022
|
-
underAvarageColor: PropTypes
|
|
4023
|
-
linearGradientUnderAvarageColor: PropTypes
|
|
4024
|
-
backgroundColor: PropTypes
|
|
4025
|
-
tooltipLabel: PropTypes
|
|
4026
|
-
tooltipDirection: PropTypes
|
|
4015
|
+
totalValue: PropTypes.number,
|
|
4016
|
+
currentValue: PropTypes.number,
|
|
4017
|
+
benchmarkValue: PropTypes.number,
|
|
4018
|
+
width: PropTypes.number,
|
|
4019
|
+
height: PropTypes.number,
|
|
4020
|
+
color: PropTypes.string,
|
|
4021
|
+
linearGradientColor: PropTypes.string,
|
|
4022
|
+
underAvarageColor: PropTypes.string,
|
|
4023
|
+
linearGradientUnderAvarageColor: PropTypes.string,
|
|
4024
|
+
backgroundColor: PropTypes.string,
|
|
4025
|
+
tooltipLabel: PropTypes.string,
|
|
4026
|
+
tooltipDirection: PropTypes.string
|
|
4027
4027
|
};
|
|
4028
4028
|
Benchmark.defaultProps = {
|
|
4029
4029
|
totalValue: 100,
|
|
@@ -4155,27 +4155,27 @@ const PieChart = props => {
|
|
|
4155
4155
|
}, row.name, displayLegendValue(row)))))))));
|
|
4156
4156
|
};
|
|
4157
4157
|
PieChart.propTypes = {
|
|
4158
|
-
className: PropTypes
|
|
4159
|
-
width: PropTypes
|
|
4160
|
-
height: PropTypes
|
|
4161
|
-
textcolor: PropTypes
|
|
4162
|
-
title: PropTypes
|
|
4163
|
-
value: PropTypes
|
|
4164
|
-
currencySign: PropTypes
|
|
4165
|
-
currencyType: PropTypes
|
|
4166
|
-
dotCut: PropTypes
|
|
4167
|
-
isPercent: PropTypes
|
|
4168
|
-
legendData: PropTypes
|
|
4169
|
-
name: PropTypes
|
|
4170
|
-
description: PropTypes
|
|
4158
|
+
className: PropTypes.string,
|
|
4159
|
+
width: PropTypes.string,
|
|
4160
|
+
height: PropTypes.string,
|
|
4161
|
+
textcolor: PropTypes.string,
|
|
4162
|
+
title: PropTypes.string,
|
|
4163
|
+
value: PropTypes.number,
|
|
4164
|
+
currencySign: PropTypes.bool,
|
|
4165
|
+
currencyType: PropTypes.string,
|
|
4166
|
+
dotCut: PropTypes.bool,
|
|
4167
|
+
isPercent: PropTypes.bool,
|
|
4168
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
4169
|
+
name: PropTypes.string,
|
|
4170
|
+
description: PropTypes.string
|
|
4171
4171
|
})),
|
|
4172
|
-
itemsBoldedValues: PropTypes
|
|
4173
|
-
itemsPercentagesValueAside: PropTypes
|
|
4174
|
-
itemsValuesSeparateLine: PropTypes
|
|
4175
|
-
hideTitleAndValue: PropTypes
|
|
4176
|
-
addingBenchmark: PropTypes
|
|
4177
|
-
textAfterValue: PropTypes
|
|
4178
|
-
noDataText: PropTypes
|
|
4172
|
+
itemsBoldedValues: PropTypes.bool,
|
|
4173
|
+
itemsPercentagesValueAside: PropTypes.bool,
|
|
4174
|
+
itemsValuesSeparateLine: PropTypes.bool,
|
|
4175
|
+
hideTitleAndValue: PropTypes.bool,
|
|
4176
|
+
addingBenchmark: PropTypes.bool,
|
|
4177
|
+
textAfterValue: PropTypes.string,
|
|
4178
|
+
noDataText: PropTypes.string
|
|
4179
4179
|
};
|
|
4180
4180
|
PieChart.defaultProps = {
|
|
4181
4181
|
className: '',
|
|
@@ -4596,8 +4596,8 @@ const BannersDropdown = props => {
|
|
|
4596
4596
|
}, /*#__PURE__*/React$1.createElement(IconWrap, null, banner.icon), "|", /*#__PURE__*/React$1.createElement("span", null, banner.name)))))));
|
|
4597
4597
|
};
|
|
4598
4598
|
BannersDropdown.propTypes = {
|
|
4599
|
-
banners: PropTypes
|
|
4600
|
-
onClick: PropTypes
|
|
4599
|
+
banners: PropTypes.arrayOf(propTypesExports.string),
|
|
4600
|
+
onClick: PropTypes.func
|
|
4601
4601
|
};
|
|
4602
4602
|
BannersDropdown.defaultProps = {
|
|
4603
4603
|
banners: [{
|
|
@@ -4732,19 +4732,18 @@ const InfoIcon = _ref => {
|
|
|
4732
4732
|
}));
|
|
4733
4733
|
};
|
|
4734
4734
|
|
|
4735
|
-
const LinkButton =
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
} = _ref;
|
|
4735
|
+
const LinkButton = ({
|
|
4736
|
+
text = '',
|
|
4737
|
+
type = 'primary',
|
|
4738
|
+
size = 'small',
|
|
4739
|
+
height = '',
|
|
4740
|
+
width = '',
|
|
4741
|
+
disabled = false,
|
|
4742
|
+
textColor = '',
|
|
4743
|
+
onClick,
|
|
4744
|
+
leftIcon = 'none',
|
|
4745
|
+
rightIcon = 'none'
|
|
4746
|
+
}) => {
|
|
4748
4747
|
// const {
|
|
4749
4748
|
// text,
|
|
4750
4749
|
// type,
|
|
@@ -5037,18 +5036,18 @@ const EventDetailsCard = props => {
|
|
|
5037
5036
|
}))));
|
|
5038
5037
|
};
|
|
5039
5038
|
EventDetailsCard.propTypes = {
|
|
5040
|
-
title: PropTypes
|
|
5041
|
-
width: PropTypes
|
|
5042
|
-
height: PropTypes
|
|
5043
|
-
className: PropTypes
|
|
5044
|
-
displayBannersDropdown: PropTypes
|
|
5045
|
-
banners: PropTypes
|
|
5046
|
-
data: PropTypes
|
|
5047
|
-
count: PropTypes
|
|
5048
|
-
buttonText: PropTypes
|
|
5049
|
-
onViewButtonClick: PropTypes
|
|
5050
|
-
onBannersDropdownClick: PropTypes
|
|
5051
|
-
disableViewDetailsButton: PropTypes
|
|
5039
|
+
title: PropTypes.string,
|
|
5040
|
+
width: PropTypes.string,
|
|
5041
|
+
height: PropTypes.string,
|
|
5042
|
+
className: PropTypes.string,
|
|
5043
|
+
displayBannersDropdown: PropTypes.bool,
|
|
5044
|
+
banners: PropTypes.arrayOf(propTypesExports.string),
|
|
5045
|
+
data: PropTypes.arrayOf(PropTypes.shape({})),
|
|
5046
|
+
count: PropTypes.number,
|
|
5047
|
+
buttonText: PropTypes.string,
|
|
5048
|
+
onViewButtonClick: PropTypes.func,
|
|
5049
|
+
onBannersDropdownClick: PropTypes.func,
|
|
5050
|
+
disableViewDetailsButton: PropTypes.bool
|
|
5052
5051
|
};
|
|
5053
5052
|
EventDetailsCard.defaultProps = {
|
|
5054
5053
|
title: 'Dreft Portable Pretreater Pen',
|
|
@@ -5169,20 +5168,20 @@ const LinnerDataBox = props => {
|
|
|
5169
5168
|
}))));
|
|
5170
5169
|
};
|
|
5171
5170
|
LinnerDataBox.propTypes = {
|
|
5172
|
-
className: PropTypes
|
|
5173
|
-
width: PropTypes
|
|
5174
|
-
height: PropTypes
|
|
5175
|
-
data: PropTypes
|
|
5176
|
-
title: PropTypes
|
|
5177
|
-
value: PropTypes
|
|
5178
|
-
sign: PropTypes
|
|
5179
|
-
extraInfo: PropTypes
|
|
5180
|
-
title: PropTypes
|
|
5181
|
-
value: PropTypes
|
|
5171
|
+
className: PropTypes.string,
|
|
5172
|
+
width: PropTypes.string,
|
|
5173
|
+
height: PropTypes.string,
|
|
5174
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
5175
|
+
title: PropTypes.string,
|
|
5176
|
+
value: PropTypes.number,
|
|
5177
|
+
sign: PropTypes.string,
|
|
5178
|
+
extraInfo: PropTypes.arrayOf(PropTypes.shape({
|
|
5179
|
+
title: PropTypes.string,
|
|
5180
|
+
value: PropTypes.number
|
|
5182
5181
|
}))
|
|
5183
5182
|
})),
|
|
5184
|
-
backgroundColor: PropTypes
|
|
5185
|
-
customDataFormat: PropTypes
|
|
5183
|
+
backgroundColor: PropTypes.string,
|
|
5184
|
+
customDataFormat: PropTypes.bool
|
|
5186
5185
|
};
|
|
5187
5186
|
LinnerDataBox.defaultProps = {
|
|
5188
5187
|
className: "",
|
|
@@ -5525,16 +5524,16 @@ const MarketShareDescription = props => {
|
|
|
5525
5524
|
}, displayRows());
|
|
5526
5525
|
};
|
|
5527
5526
|
MarketShareDescription.propTypes = {
|
|
5528
|
-
marketShareData: PropTypes
|
|
5529
|
-
label: PropTypes
|
|
5530
|
-
checked: PropTypes
|
|
5531
|
-
disabled: PropTypes
|
|
5527
|
+
marketShareData: PropTypes.arrayOf(PropTypes.shape({
|
|
5528
|
+
label: PropTypes.string,
|
|
5529
|
+
checked: PropTypes.bool,
|
|
5530
|
+
disabled: PropTypes.bool
|
|
5532
5531
|
})),
|
|
5533
|
-
height: PropTypes
|
|
5534
|
-
width: PropTypes
|
|
5535
|
-
iconColor: PropTypes
|
|
5536
|
-
onBannerClick: PropTypes
|
|
5537
|
-
dotCut: PropTypes
|
|
5532
|
+
height: PropTypes.string,
|
|
5533
|
+
width: PropTypes.string,
|
|
5534
|
+
iconColor: PropTypes.string,
|
|
5535
|
+
onBannerClick: PropTypes.func,
|
|
5536
|
+
dotCut: PropTypes.bool
|
|
5538
5537
|
};
|
|
5539
5538
|
MarketShareDescription.defaultProps = {
|
|
5540
5539
|
marketShareData: [],
|
|
@@ -5664,18 +5663,18 @@ const SagIconButton = props => {
|
|
|
5664
5663
|
}, getIcon(iconName), buttonText && /*#__PURE__*/React$1.createElement(SpanText$1, null, buttonText));
|
|
5665
5664
|
};
|
|
5666
5665
|
SagIconButton.propTypes = {
|
|
5667
|
-
className: PropTypes
|
|
5668
|
-
iconName: PropTypes
|
|
5669
|
-
buttonText: PropTypes
|
|
5670
|
-
height: PropTypes
|
|
5671
|
-
color: PropTypes
|
|
5672
|
-
backgroundColor: PropTypes
|
|
5673
|
-
activeColor: PropTypes
|
|
5674
|
-
iconHeight: PropTypes
|
|
5675
|
-
iconWidth: PropTypes
|
|
5676
|
-
openState: PropTypes
|
|
5677
|
-
disabled: PropTypes
|
|
5678
|
-
onButtonClick: PropTypes
|
|
5666
|
+
className: PropTypes.string,
|
|
5667
|
+
iconName: PropTypes.string,
|
|
5668
|
+
buttonText: PropTypes.string,
|
|
5669
|
+
height: PropTypes.string,
|
|
5670
|
+
color: PropTypes.string,
|
|
5671
|
+
backgroundColor: PropTypes.string,
|
|
5672
|
+
activeColor: PropTypes.string,
|
|
5673
|
+
iconHeight: PropTypes.number,
|
|
5674
|
+
iconWidth: PropTypes.number,
|
|
5675
|
+
openState: PropTypes.bool,
|
|
5676
|
+
disabled: PropTypes.bool,
|
|
5677
|
+
onButtonClick: PropTypes.func
|
|
5679
5678
|
};
|
|
5680
5679
|
SagIconButton.defaultProps = {
|
|
5681
5680
|
className: '',
|
|
@@ -5760,11 +5759,11 @@ const SearchInput = props => {
|
|
|
5760
5759
|
}), /*#__PURE__*/React$1.createElement(SearchIcon, null));
|
|
5761
5760
|
};
|
|
5762
5761
|
SearchInput.propTypes = {
|
|
5763
|
-
placeholder: PropTypes
|
|
5764
|
-
width: PropTypes
|
|
5765
|
-
height: PropTypes
|
|
5766
|
-
onTyping: PropTypes
|
|
5767
|
-
className: PropTypes
|
|
5762
|
+
placeholder: PropTypes.string,
|
|
5763
|
+
width: PropTypes.string,
|
|
5764
|
+
height: PropTypes.string,
|
|
5765
|
+
onTyping: PropTypes.func,
|
|
5766
|
+
className: PropTypes.string
|
|
5768
5767
|
};
|
|
5769
5768
|
SearchInput.defaultProps = {
|
|
5770
5769
|
placeholder: 'Search',
|
|
@@ -5975,32 +5974,32 @@ const TabMenu = props => {
|
|
|
5975
5974
|
}, tabs[activeTab] && tabs[activeTab].content));
|
|
5976
5975
|
};
|
|
5977
5976
|
TabMenu.propTypes = {
|
|
5978
|
-
activeColor: PropTypes
|
|
5979
|
-
children: PropTypes
|
|
5980
|
-
className: PropTypes
|
|
5981
|
-
color: PropTypes
|
|
5982
|
-
currentTab: PropTypes
|
|
5983
|
-
headlineInsteadTabs: PropTypes
|
|
5984
|
-
headlineText: PropTypes
|
|
5985
|
-
inputWidth: PropTypes
|
|
5986
|
-
onFilterButtonClick: PropTypes
|
|
5987
|
-
onSearchFieldTyping: PropTypes
|
|
5988
|
-
onTabChange: PropTypes
|
|
5989
|
-
panelIsOpen: PropTypes
|
|
5990
|
-
setBackground: PropTypes
|
|
5991
|
-
showActions: PropTypes
|
|
5992
|
-
showFilterButton: PropTypes
|
|
5993
|
-
showLabel: PropTypes
|
|
5994
|
-
showSearchInput: PropTypes
|
|
5995
|
-
showViewOptionsButton: PropTypes
|
|
5996
|
-
disabledButton: PropTypes
|
|
5997
|
-
setTopRightButton: PropTypes
|
|
5998
|
-
rightButtonText: PropTypes
|
|
5999
|
-
rightButtonIcon: PropTypes
|
|
6000
|
-
onTopButtonClick: PropTypes
|
|
6001
|
-
tabs: PropTypes
|
|
6002
|
-
title: PropTypes
|
|
6003
|
-
content: PropTypes
|
|
5977
|
+
activeColor: PropTypes.string,
|
|
5978
|
+
children: PropTypes.node,
|
|
5979
|
+
className: PropTypes.string,
|
|
5980
|
+
color: PropTypes.string,
|
|
5981
|
+
currentTab: PropTypes.number,
|
|
5982
|
+
headlineInsteadTabs: PropTypes.bool,
|
|
5983
|
+
headlineText: PropTypes.string,
|
|
5984
|
+
inputWidth: PropTypes.string,
|
|
5985
|
+
onFilterButtonClick: PropTypes.func,
|
|
5986
|
+
onSearchFieldTyping: PropTypes.func,
|
|
5987
|
+
onTabChange: PropTypes.func,
|
|
5988
|
+
panelIsOpen: PropTypes.bool,
|
|
5989
|
+
setBackground: PropTypes.bool,
|
|
5990
|
+
showActions: PropTypes.bool,
|
|
5991
|
+
showFilterButton: PropTypes.bool,
|
|
5992
|
+
showLabel: PropTypes.bool,
|
|
5993
|
+
showSearchInput: PropTypes.bool,
|
|
5994
|
+
showViewOptionsButton: PropTypes.bool,
|
|
5995
|
+
disabledButton: PropTypes.bool,
|
|
5996
|
+
setTopRightButton: PropTypes.bool,
|
|
5997
|
+
rightButtonText: PropTypes.string,
|
|
5998
|
+
rightButtonIcon: PropTypes.string,
|
|
5999
|
+
onTopButtonClick: PropTypes.func,
|
|
6000
|
+
tabs: PropTypes.arrayOf(PropTypes.shape({
|
|
6001
|
+
title: PropTypes.string,
|
|
6002
|
+
content: PropTypes.node
|
|
6004
6003
|
}))
|
|
6005
6004
|
};
|
|
6006
6005
|
TabMenu.defaultProps = {
|
|
@@ -11103,26 +11102,26 @@ const DropdownSingleNew = ({
|
|
|
11103
11102
|
}, option.label)))));
|
|
11104
11103
|
};
|
|
11105
11104
|
DropdownSingleNew.propTypes = {
|
|
11106
|
-
placeHolder: PropTypes
|
|
11107
|
-
label: PropTypes
|
|
11108
|
-
labelEmptyValue: PropTypes
|
|
11109
|
-
labelColor: PropTypes
|
|
11110
|
-
required: PropTypes
|
|
11111
|
-
width: PropTypes
|
|
11112
|
-
disabled: PropTypes
|
|
11113
|
-
error: PropTypes
|
|
11105
|
+
placeHolder: PropTypes.string,
|
|
11106
|
+
label: PropTypes.string,
|
|
11107
|
+
labelEmptyValue: PropTypes.string,
|
|
11108
|
+
labelColor: PropTypes.string,
|
|
11109
|
+
required: PropTypes.bool,
|
|
11110
|
+
width: PropTypes.string,
|
|
11111
|
+
disabled: PropTypes.bool,
|
|
11112
|
+
error: PropTypes.bool,
|
|
11114
11113
|
errorMessage: "",
|
|
11115
|
-
options: PropTypes
|
|
11116
|
-
value: PropTypes
|
|
11117
|
-
label: PropTypes
|
|
11114
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
11115
|
+
value: PropTypes.string,
|
|
11116
|
+
label: PropTypes.string
|
|
11118
11117
|
})),
|
|
11119
|
-
selectedValue: PropTypes
|
|
11120
|
-
value: PropTypes
|
|
11121
|
-
label: PropTypes
|
|
11118
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
11119
|
+
value: PropTypes.string,
|
|
11120
|
+
label: PropTypes.string
|
|
11122
11121
|
})),
|
|
11123
|
-
xIconShow: PropTypes
|
|
11124
|
-
onChange: PropTypes
|
|
11125
|
-
showLabelOnTop: PropTypes
|
|
11122
|
+
xIconShow: PropTypes.bool,
|
|
11123
|
+
onChange: PropTypes.func,
|
|
11124
|
+
showLabelOnTop: PropTypes.bool
|
|
11126
11125
|
};
|
|
11127
11126
|
DropdownSingleNew.defaultProps = {
|
|
11128
11127
|
placeHolder: "Type To Search",
|
|
@@ -11634,27 +11633,27 @@ const DropdownMultiNew = ({
|
|
|
11634
11633
|
})), option.label)))));
|
|
11635
11634
|
};
|
|
11636
11635
|
DropdownMultiNew.propTypes = {
|
|
11637
|
-
placeHolder: PropTypes
|
|
11638
|
-
label: PropTypes
|
|
11639
|
-
labelEmptyValue: PropTypes
|
|
11640
|
-
labelColor: PropTypes
|
|
11641
|
-
checkBoxColor: PropTypes
|
|
11642
|
-
required: PropTypes
|
|
11643
|
-
width: PropTypes
|
|
11644
|
-
disabled: PropTypes
|
|
11645
|
-
error: PropTypes
|
|
11636
|
+
placeHolder: PropTypes.string,
|
|
11637
|
+
label: PropTypes.string,
|
|
11638
|
+
labelEmptyValue: PropTypes.string,
|
|
11639
|
+
labelColor: PropTypes.string,
|
|
11640
|
+
checkBoxColor: PropTypes.string,
|
|
11641
|
+
required: PropTypes.bool,
|
|
11642
|
+
width: PropTypes.string,
|
|
11643
|
+
disabled: PropTypes.bool,
|
|
11644
|
+
error: PropTypes.bool,
|
|
11646
11645
|
errorMessage: "",
|
|
11647
|
-
options: PropTypes
|
|
11648
|
-
value: PropTypes
|
|
11649
|
-
label: PropTypes
|
|
11646
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
11647
|
+
value: PropTypes.string,
|
|
11648
|
+
label: PropTypes.string
|
|
11650
11649
|
})),
|
|
11651
|
-
selectedValue: PropTypes
|
|
11652
|
-
value: PropTypes
|
|
11653
|
-
label: PropTypes
|
|
11650
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
11651
|
+
value: PropTypes.string,
|
|
11652
|
+
label: PropTypes.string
|
|
11654
11653
|
})),
|
|
11655
|
-
onChange: PropTypes
|
|
11656
|
-
xIconShow: PropTypes
|
|
11657
|
-
showLabelOnTop: PropTypes
|
|
11654
|
+
onChange: PropTypes.func,
|
|
11655
|
+
xIconShow: PropTypes.bool,
|
|
11656
|
+
showLabelOnTop: PropTypes.bool
|
|
11658
11657
|
};
|
|
11659
11658
|
DropdownMultiNew.defaultProps = {
|
|
11660
11659
|
placeHolder: "Type To Search",
|
|
@@ -11691,92 +11690,89 @@ const DropdownMain = dt.div`
|
|
|
11691
11690
|
`;
|
|
11692
11691
|
|
|
11693
11692
|
/* eslint-disable react/prop-types */
|
|
11694
|
-
const DropdownNew =
|
|
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
|
-
|
|
11754
|
-
|
|
11755
|
-
elementType: elementType
|
|
11756
|
-
}));
|
|
11757
|
-
};
|
|
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
|
+
}));
|
|
11758
11754
|
DropdownNew.propTypes = {
|
|
11759
|
-
placeHolder: PropTypes
|
|
11760
|
-
label: PropTypes
|
|
11761
|
-
labelEmptyValue: PropTypes
|
|
11762
|
-
labelColor: PropTypes
|
|
11763
|
-
checkBoxColor: PropTypes
|
|
11764
|
-
required: PropTypes
|
|
11765
|
-
width: PropTypes
|
|
11766
|
-
disabled: PropTypes
|
|
11767
|
-
error: PropTypes
|
|
11768
|
-
errorMessage: PropTypes
|
|
11769
|
-
options: PropTypes
|
|
11770
|
-
id: PropTypes
|
|
11771
|
-
label: PropTypes
|
|
11755
|
+
placeHolder: PropTypes.string,
|
|
11756
|
+
label: PropTypes.string,
|
|
11757
|
+
labelEmptyValue: PropTypes.string,
|
|
11758
|
+
labelColor: PropTypes.string,
|
|
11759
|
+
checkBoxColor: PropTypes.string,
|
|
11760
|
+
required: PropTypes.bool,
|
|
11761
|
+
width: PropTypes.string,
|
|
11762
|
+
disabled: PropTypes.bool,
|
|
11763
|
+
error: PropTypes.bool,
|
|
11764
|
+
errorMessage: PropTypes.string,
|
|
11765
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
11766
|
+
id: PropTypes.string,
|
|
11767
|
+
label: PropTypes.string
|
|
11772
11768
|
})),
|
|
11773
|
-
selectedValue: PropTypes
|
|
11774
|
-
id: PropTypes
|
|
11775
|
-
label: PropTypes
|
|
11769
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
11770
|
+
id: PropTypes.string,
|
|
11771
|
+
label: PropTypes.string
|
|
11776
11772
|
})),
|
|
11777
|
-
xIconShow: PropTypes
|
|
11778
|
-
onChange: PropTypes
|
|
11779
|
-
showLabelOnTop: PropTypes
|
|
11773
|
+
xIconShow: PropTypes.bool,
|
|
11774
|
+
onChange: PropTypes.func,
|
|
11775
|
+
showLabelOnTop: PropTypes.bool
|
|
11780
11776
|
};
|
|
11781
11777
|
DropdownNew.defaultProps = {
|
|
11782
11778
|
placeHolder: "Type...",
|
|
@@ -12168,21 +12164,20 @@ const DatePicker = ({
|
|
|
12168
12164
|
};
|
|
12169
12165
|
|
|
12170
12166
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12171
|
-
const RangePicker =
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
} = _ref;
|
|
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
|
+
}) => {
|
|
12186
12181
|
const [isFocused, setIsFocused] = useState(false);
|
|
12187
12182
|
const [isOpen, setIsOpen] = useState(false);
|
|
12188
12183
|
const [value, setValue] = useState(''); // Added value state
|
|
@@ -12314,20 +12309,20 @@ const RangePicker = _ref => {
|
|
|
12314
12309
|
})));
|
|
12315
12310
|
};
|
|
12316
12311
|
RangePicker.propTypes = {
|
|
12317
|
-
label: PropTypes
|
|
12318
|
-
onChange: PropTypes
|
|
12319
|
-
borderRadius: PropTypes
|
|
12320
|
-
required: PropTypes
|
|
12321
|
-
width: PropTypes
|
|
12322
|
-
height: PropTypes
|
|
12323
|
-
placeholder: PropTypes
|
|
12324
|
-
disabled: PropTypes
|
|
12325
|
-
borderColor: PropTypes
|
|
12312
|
+
label: PropTypes.string.isRequired,
|
|
12313
|
+
onChange: PropTypes.func.isRequired,
|
|
12314
|
+
borderRadius: PropTypes.string.isRequired,
|
|
12315
|
+
required: PropTypes.bool,
|
|
12316
|
+
width: PropTypes.string,
|
|
12317
|
+
height: PropTypes.string,
|
|
12318
|
+
placeholder: PropTypes.string,
|
|
12319
|
+
disabled: PropTypes.bool,
|
|
12320
|
+
borderColor: PropTypes.string,
|
|
12326
12321
|
// Added borderColor prop
|
|
12327
|
-
borderColorFocus: PropTypes
|
|
12328
|
-
textColor: PropTypes
|
|
12322
|
+
borderColorFocus: PropTypes.string,
|
|
12323
|
+
textColor: PropTypes.string,
|
|
12329
12324
|
// Added textColor prop
|
|
12330
|
-
selectedValue: PropTypes
|
|
12325
|
+
selectedValue: PropTypes.string
|
|
12331
12326
|
};
|
|
12332
12327
|
|
|
12333
12328
|
// Adding defaultProps
|
|
@@ -12610,23 +12605,22 @@ const QuarterPopupPicker = ({
|
|
|
12610
12605
|
};
|
|
12611
12606
|
|
|
12612
12607
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12613
|
-
const QuarterPicker =
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
} = _ref;
|
|
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
|
+
}) => {
|
|
12630
12624
|
const [isFocused, setIsFocused] = useState(false);
|
|
12631
12625
|
const [isOpen, setIsOpen] = useState(false);
|
|
12632
12626
|
const [value, setValue] = useState('');
|
|
@@ -12748,19 +12742,19 @@ const QuarterPicker = _ref => {
|
|
|
12748
12742
|
})));
|
|
12749
12743
|
};
|
|
12750
12744
|
QuarterPicker.propTypes = {
|
|
12751
|
-
availableQuarters: PropTypes
|
|
12752
|
-
label: PropTypes
|
|
12753
|
-
onChange: PropTypes
|
|
12754
|
-
borderRadius: PropTypes
|
|
12755
|
-
required: PropTypes
|
|
12756
|
-
width: PropTypes
|
|
12757
|
-
height: PropTypes
|
|
12758
|
-
placeholder: PropTypes
|
|
12759
|
-
disabled: PropTypes
|
|
12760
|
-
borderColor: PropTypes
|
|
12761
|
-
borderColorFocus: PropTypes
|
|
12762
|
-
textColor: PropTypes
|
|
12763
|
-
selectedValue: PropTypes
|
|
12745
|
+
availableQuarters: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12746
|
+
label: PropTypes.string.isRequired,
|
|
12747
|
+
onChange: PropTypes.func.isRequired,
|
|
12748
|
+
borderRadius: PropTypes.string.isRequired,
|
|
12749
|
+
required: PropTypes.bool,
|
|
12750
|
+
width: PropTypes.string,
|
|
12751
|
+
height: PropTypes.string,
|
|
12752
|
+
placeholder: PropTypes.string,
|
|
12753
|
+
disabled: PropTypes.bool,
|
|
12754
|
+
borderColor: PropTypes.string,
|
|
12755
|
+
borderColorFocus: PropTypes.string,
|
|
12756
|
+
textColor: PropTypes.string,
|
|
12757
|
+
selectedValue: PropTypes.string
|
|
12764
12758
|
};
|
|
12765
12759
|
QuarterPicker.defaultProps = {
|
|
12766
12760
|
required: true,
|
|
@@ -13198,22 +13192,22 @@ const MonthPicker = ({
|
|
|
13198
13192
|
})));
|
|
13199
13193
|
};
|
|
13200
13194
|
MonthPicker.propTypes = {
|
|
13201
|
-
availableMonths: PropTypes
|
|
13202
|
-
label: PropTypes
|
|
13203
|
-
onChange: PropTypes
|
|
13204
|
-
borderRadius: PropTypes
|
|
13205
|
-
required: PropTypes
|
|
13206
|
-
width: PropTypes
|
|
13207
|
-
height: PropTypes
|
|
13208
|
-
placeholder: PropTypes
|
|
13209
|
-
disabled: PropTypes
|
|
13210
|
-
borderColor: PropTypes
|
|
13195
|
+
availableMonths: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
13196
|
+
label: PropTypes.string.isRequired,
|
|
13197
|
+
onChange: PropTypes.func.isRequired,
|
|
13198
|
+
borderRadius: PropTypes.string.isRequired,
|
|
13199
|
+
required: PropTypes.bool,
|
|
13200
|
+
width: PropTypes.string,
|
|
13201
|
+
height: PropTypes.string,
|
|
13202
|
+
placeholder: PropTypes.string,
|
|
13203
|
+
disabled: PropTypes.bool,
|
|
13204
|
+
borderColor: PropTypes.string,
|
|
13211
13205
|
// Added borderColor prop
|
|
13212
|
-
borderColorFocus: PropTypes
|
|
13206
|
+
borderColorFocus: PropTypes.string,
|
|
13213
13207
|
// Added borderColorFocus prop
|
|
13214
|
-
textColor: PropTypes
|
|
13208
|
+
textColor: PropTypes.string,
|
|
13215
13209
|
// Added textColor prop
|
|
13216
|
-
selectedValue: PropTypes
|
|
13210
|
+
selectedValue: PropTypes.string
|
|
13217
13211
|
};
|
|
13218
13212
|
MonthPicker.defaultProps = {
|
|
13219
13213
|
required: true,
|
|
@@ -13879,50 +13873,50 @@ const FilterPanel = props => {
|
|
|
13879
13873
|
})));
|
|
13880
13874
|
};
|
|
13881
13875
|
FilterPanel.propTypes = {
|
|
13882
|
-
availableQuarters: PropTypes
|
|
13883
|
-
availableMonths: PropTypes
|
|
13884
|
-
availableYears: PropTypes
|
|
13885
|
-
fieldsData: PropTypes
|
|
13886
|
-
disabled: PropTypes
|
|
13887
|
-
required: PropTypes
|
|
13888
|
-
inputType: PropTypes
|
|
13889
|
-
placeHolder: PropTypes
|
|
13890
|
-
xIconShow: PropTypes
|
|
13891
|
-
label: PropTypes
|
|
13892
|
-
labelEmptyValue: PropTypes
|
|
13893
|
-
name: PropTypes
|
|
13894
|
-
periodPickerSelectedValue: PropTypes
|
|
13895
|
-
selectedValue: PropTypes
|
|
13896
|
-
value: PropTypes
|
|
13897
|
-
label: PropTypes
|
|
13876
|
+
availableQuarters: PropTypes.arrayOf(PropTypes.string),
|
|
13877
|
+
availableMonths: PropTypes.arrayOf(PropTypes.string),
|
|
13878
|
+
availableYears: PropTypes.arrayOf(PropTypes.string),
|
|
13879
|
+
fieldsData: PropTypes.arrayOf(PropTypes.shape({
|
|
13880
|
+
disabled: PropTypes.bool,
|
|
13881
|
+
required: PropTypes.bool,
|
|
13882
|
+
inputType: PropTypes.string,
|
|
13883
|
+
placeHolder: PropTypes.string,
|
|
13884
|
+
xIconShow: PropTypes.bool,
|
|
13885
|
+
label: PropTypes.string,
|
|
13886
|
+
labelEmptyValue: PropTypes.string,
|
|
13887
|
+
name: PropTypes.string,
|
|
13888
|
+
periodPickerSelectedValue: PropTypes.string,
|
|
13889
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
13890
|
+
value: PropTypes.string,
|
|
13891
|
+
label: PropTypes.string
|
|
13898
13892
|
})),
|
|
13899
|
-
orderBy: PropTypes
|
|
13900
|
-
elementType: PropTypes
|
|
13901
|
-
value: PropTypes
|
|
13902
|
-
color: PropTypes
|
|
13903
|
-
defaultValueYears: PropTypes
|
|
13904
|
-
value: PropTypes
|
|
13905
|
-
label: PropTypes
|
|
13893
|
+
orderBy: PropTypes.string,
|
|
13894
|
+
elementType: PropTypes.string,
|
|
13895
|
+
value: PropTypes.number,
|
|
13896
|
+
color: PropTypes.string,
|
|
13897
|
+
defaultValueYears: PropTypes.shape({
|
|
13898
|
+
value: PropTypes.string,
|
|
13899
|
+
label: PropTypes.string
|
|
13906
13900
|
}),
|
|
13907
|
-
dropdownOptions: PropTypes
|
|
13908
|
-
value: PropTypes
|
|
13909
|
-
label: PropTypes
|
|
13901
|
+
dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
13902
|
+
value: PropTypes.string,
|
|
13903
|
+
label: PropTypes.string
|
|
13910
13904
|
}))
|
|
13911
13905
|
})),
|
|
13912
|
-
width: PropTypes
|
|
13913
|
-
height: PropTypes
|
|
13914
|
-
okButtonBackgroundColor: PropTypes
|
|
13915
|
-
okButtonHoverColor: PropTypes
|
|
13916
|
-
resetButtonHoverColor: PropTypes
|
|
13917
|
-
borderColor: PropTypes
|
|
13918
|
-
onOkClick: PropTypes
|
|
13919
|
-
onResetClick: PropTypes
|
|
13920
|
-
onItemValueChanged: PropTypes
|
|
13921
|
-
disableOKButton: PropTypes
|
|
13922
|
-
className: PropTypes
|
|
13923
|
-
useExternalFilterState: PropTypes
|
|
13924
|
-
showShadow: PropTypes
|
|
13925
|
-
tooltipTextGoButton: PropTypes
|
|
13906
|
+
width: PropTypes.string,
|
|
13907
|
+
height: PropTypes.string,
|
|
13908
|
+
okButtonBackgroundColor: PropTypes.string,
|
|
13909
|
+
okButtonHoverColor: PropTypes.string,
|
|
13910
|
+
resetButtonHoverColor: PropTypes.string,
|
|
13911
|
+
borderColor: PropTypes.string,
|
|
13912
|
+
onOkClick: PropTypes.func,
|
|
13913
|
+
onResetClick: PropTypes.func,
|
|
13914
|
+
onItemValueChanged: PropTypes.func,
|
|
13915
|
+
disableOKButton: PropTypes.bool,
|
|
13916
|
+
className: PropTypes.string,
|
|
13917
|
+
useExternalFilterState: PropTypes.bool,
|
|
13918
|
+
showShadow: PropTypes.bool,
|
|
13919
|
+
tooltipTextGoButton: PropTypes.string
|
|
13926
13920
|
};
|
|
13927
13921
|
FilterPanel.defaultProps = {
|
|
13928
13922
|
availableQuarters: ['Q1-2024'],
|
|
@@ -14626,28 +14620,28 @@ const ReportTable = props => {
|
|
|
14626
14620
|
}), /*#__PURE__*/React$1.createElement(InfoText, null, "Download table to get the full data")) : "");
|
|
14627
14621
|
};
|
|
14628
14622
|
ReportTable.propTypes = {
|
|
14629
|
-
buttonText: PropTypes
|
|
14630
|
-
buttonIconName: PropTypes
|
|
14631
|
-
tableData: PropTypes
|
|
14632
|
-
columnsHeadings: PropTypes
|
|
14633
|
-
label: PropTypes
|
|
14634
|
-
key: PropTypes
|
|
14623
|
+
buttonText: PropTypes.string,
|
|
14624
|
+
buttonIconName: PropTypes.string,
|
|
14625
|
+
tableData: PropTypes.shape({
|
|
14626
|
+
columnsHeadings: PropTypes.arrayOf(PropTypes.shape({
|
|
14627
|
+
label: PropTypes.string,
|
|
14628
|
+
key: PropTypes.string
|
|
14635
14629
|
})),
|
|
14636
|
-
rowsValues: PropTypes
|
|
14630
|
+
rowsValues: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.string))
|
|
14637
14631
|
}),
|
|
14638
|
-
maxColumnsNumber: PropTypes
|
|
14639
|
-
useColorLinearGradient: PropTypes
|
|
14640
|
-
useSelectButtons: PropTypes
|
|
14641
|
-
disableSelectButtons: PropTypes
|
|
14642
|
-
disableInfo: PropTypes
|
|
14643
|
-
selectTextColor: PropTypes
|
|
14644
|
-
onSelectRowClick: PropTypes
|
|
14645
|
-
onCheckRowClick: PropTypes
|
|
14646
|
-
onAllRowsCheckBoxClick: PropTypes
|
|
14647
|
-
useCheckBoxes: PropTypes
|
|
14648
|
-
selectHoverColor: PropTypes
|
|
14649
|
-
enableHover: PropTypes
|
|
14650
|
-
enablePagination: PropTypes
|
|
14632
|
+
maxColumnsNumber: PropTypes.number,
|
|
14633
|
+
useColorLinearGradient: PropTypes.bool,
|
|
14634
|
+
useSelectButtons: PropTypes.bool,
|
|
14635
|
+
disableSelectButtons: PropTypes.bool,
|
|
14636
|
+
disableInfo: PropTypes.bool,
|
|
14637
|
+
selectTextColor: PropTypes.string,
|
|
14638
|
+
onSelectRowClick: PropTypes.func,
|
|
14639
|
+
onCheckRowClick: PropTypes.func,
|
|
14640
|
+
onAllRowsCheckBoxClick: PropTypes.func,
|
|
14641
|
+
useCheckBoxes: PropTypes.bool,
|
|
14642
|
+
selectHoverColor: PropTypes.string,
|
|
14643
|
+
enableHover: PropTypes.bool,
|
|
14644
|
+
enablePagination: PropTypes.bool
|
|
14651
14645
|
};
|
|
14652
14646
|
ReportTable.defaultProps = {
|
|
14653
14647
|
buttonText: "Select",
|
|
@@ -14781,12 +14775,12 @@ const EventListItem = props => {
|
|
|
14781
14775
|
})));
|
|
14782
14776
|
};
|
|
14783
14777
|
EventListItem.propTypes = {
|
|
14784
|
-
eventName: PropTypes
|
|
14785
|
-
period: PropTypes
|
|
14786
|
-
width: PropTypes
|
|
14787
|
-
height: PropTypes
|
|
14788
|
-
selectTextColor: PropTypes
|
|
14789
|
-
onClick: PropTypes
|
|
14778
|
+
eventName: PropTypes.string,
|
|
14779
|
+
period: PropTypes.string,
|
|
14780
|
+
width: PropTypes.string,
|
|
14781
|
+
height: PropTypes.string,
|
|
14782
|
+
selectTextColor: PropTypes.string,
|
|
14783
|
+
onClick: PropTypes.func
|
|
14790
14784
|
};
|
|
14791
14785
|
EventListItem.defaultProps = {
|
|
14792
14786
|
eventName: '',
|
|
@@ -14870,15 +14864,15 @@ const EventList = props => {
|
|
|
14870
14864
|
//= ======================================== MAIN RETURN END====================================
|
|
14871
14865
|
};
|
|
14872
14866
|
EventList.propTypes = {
|
|
14873
|
-
eventsData: PropTypes
|
|
14874
|
-
eventName: PropTypes
|
|
14875
|
-
period: PropTypes
|
|
14867
|
+
eventsData: PropTypes.arrayOf(PropTypes.shape({
|
|
14868
|
+
eventName: PropTypes.string,
|
|
14869
|
+
period: PropTypes.string
|
|
14876
14870
|
})),
|
|
14877
|
-
selectTextColor: PropTypes
|
|
14878
|
-
height: PropTypes
|
|
14879
|
-
width: PropTypes
|
|
14880
|
-
itemHeight: PropTypes
|
|
14881
|
-
onSelectClick: PropTypes
|
|
14871
|
+
selectTextColor: PropTypes.string,
|
|
14872
|
+
height: PropTypes.string,
|
|
14873
|
+
width: PropTypes.string,
|
|
14874
|
+
itemHeight: PropTypes.string,
|
|
14875
|
+
onSelectClick: PropTypes.func
|
|
14882
14876
|
};
|
|
14883
14877
|
EventList.defaultProps = {
|
|
14884
14878
|
eventsData: [],
|
|
@@ -15202,15 +15196,15 @@ const BannerEventBox = props => {
|
|
|
15202
15196
|
}, /*#__PURE__*/React$1.createElement(KeyBlock, null, /*#__PURE__*/React$1.createElement(Key, null, item.name), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement(Count, null, item.items)), index !== data.length - 1 && /*#__PURE__*/React$1.createElement(Seperator, null)))));
|
|
15203
15197
|
};
|
|
15204
15198
|
BannerEventBox.propTypes = {
|
|
15205
|
-
width: PropTypes
|
|
15206
|
-
height: PropTypes
|
|
15207
|
-
banner: PropTypes
|
|
15208
|
-
buttonText: PropTypes
|
|
15209
|
-
description: PropTypes
|
|
15210
|
-
disabled: PropTypes
|
|
15211
|
-
dates: PropTypes
|
|
15212
|
-
data: PropTypes
|
|
15213
|
-
onInfoClick: PropTypes
|
|
15199
|
+
width: PropTypes.string,
|
|
15200
|
+
height: PropTypes.string,
|
|
15201
|
+
banner: PropTypes.string,
|
|
15202
|
+
buttonText: PropTypes.string,
|
|
15203
|
+
description: PropTypes.string,
|
|
15204
|
+
disabled: PropTypes.bool,
|
|
15205
|
+
dates: PropTypes.arrayOf(PropTypes.string),
|
|
15206
|
+
data: PropTypes.arrayOf(PropTypes.shape({})),
|
|
15207
|
+
onInfoClick: PropTypes.func
|
|
15214
15208
|
};
|
|
15215
15209
|
BannerEventBox.defaultProps = {
|
|
15216
15210
|
width: "auto",
|
|
@@ -15315,24 +15309,24 @@ const BannerEventBoxList = props => {
|
|
|
15315
15309
|
})), showDraft && /*#__PURE__*/React$1.createElement(DraftTag$1, null, "DRAFT")) : children));
|
|
15316
15310
|
};
|
|
15317
15311
|
BannerEventBoxList.propTypes = {
|
|
15318
|
-
className: PropTypes
|
|
15319
|
-
width: PropTypes
|
|
15320
|
-
height: PropTypes
|
|
15321
|
-
eventType: PropTypes
|
|
15322
|
-
eventName: PropTypes
|
|
15323
|
-
count: PropTypes
|
|
15324
|
-
toggleColor: PropTypes
|
|
15325
|
-
data: PropTypes
|
|
15326
|
-
retailer: PropTypes
|
|
15327
|
-
retailerFile: PropTypes
|
|
15328
|
-
showLoader: PropTypes
|
|
15329
|
-
showEventDetails: PropTypes
|
|
15330
|
-
cardsContent: PropTypes
|
|
15331
|
-
linkText: PropTypes
|
|
15332
|
-
disableToggle: PropTypes
|
|
15333
|
-
children: PropTypes
|
|
15334
|
-
bannerWidth: PropTypes
|
|
15335
|
-
showDraft: PropTypes
|
|
15312
|
+
className: PropTypes.string,
|
|
15313
|
+
width: PropTypes.string,
|
|
15314
|
+
height: PropTypes.string,
|
|
15315
|
+
eventType: PropTypes.string,
|
|
15316
|
+
eventName: PropTypes.string,
|
|
15317
|
+
count: PropTypes.number,
|
|
15318
|
+
toggleColor: PropTypes.string,
|
|
15319
|
+
data: PropTypes.arrayOf(PropTypes.shape({})),
|
|
15320
|
+
retailer: PropTypes.string,
|
|
15321
|
+
retailerFile: PropTypes.func,
|
|
15322
|
+
showLoader: PropTypes.bool,
|
|
15323
|
+
showEventDetails: PropTypes.bool,
|
|
15324
|
+
cardsContent: PropTypes.bool,
|
|
15325
|
+
linkText: PropTypes.string,
|
|
15326
|
+
disableToggle: PropTypes.bool,
|
|
15327
|
+
children: PropTypes.node,
|
|
15328
|
+
bannerWidth: PropTypes.string,
|
|
15329
|
+
showDraft: PropTypes.bool
|
|
15336
15330
|
};
|
|
15337
15331
|
BannerEventBoxList.defaultProps = {
|
|
15338
15332
|
className: '',
|
|
@@ -15477,10 +15471,10 @@ const DialogOverlay = props => {
|
|
|
15477
15471
|
}, children)));
|
|
15478
15472
|
};
|
|
15479
15473
|
DialogOverlay.propTypes = {
|
|
15480
|
-
title: PropTypes
|
|
15481
|
-
children: PropTypes
|
|
15482
|
-
onDialogClose: PropTypes
|
|
15483
|
-
className: PropTypes
|
|
15474
|
+
title: PropTypes.string,
|
|
15475
|
+
children: PropTypes.node,
|
|
15476
|
+
onDialogClose: PropTypes.func,
|
|
15477
|
+
className: PropTypes.string
|
|
15484
15478
|
};
|
|
15485
15479
|
DialogOverlay.defaultProps = {
|
|
15486
15480
|
title: 'Title',
|
|
@@ -26067,35 +26061,35 @@ const CollapseHeader = props => {
|
|
|
26067
26061
|
}, data.eventDatesValue) : "")))));
|
|
26068
26062
|
};
|
|
26069
26063
|
CollapseHeader.propTypes = {
|
|
26070
|
-
className: PropTypes
|
|
26071
|
-
showRetailerIcon: PropTypes
|
|
26072
|
-
showPeriodIcon: PropTypes
|
|
26073
|
-
viewCreativeRetailersData: PropTypes
|
|
26074
|
-
label: PropTypes
|
|
26064
|
+
className: PropTypes.string,
|
|
26065
|
+
showRetailerIcon: PropTypes.bool,
|
|
26066
|
+
showPeriodIcon: PropTypes.bool,
|
|
26067
|
+
viewCreativeRetailersData: PropTypes.arrayOf(PropTypes.shape({
|
|
26068
|
+
label: PropTypes.string
|
|
26075
26069
|
})),
|
|
26076
|
-
data: PropTypes
|
|
26077
|
-
eventType: PropTypes
|
|
26078
|
-
retailer: PropTypes
|
|
26079
|
-
eventDescription: PropTypes
|
|
26080
|
-
objectivesDescription: PropTypes
|
|
26081
|
-
eventDatesValue: PropTypes
|
|
26082
|
-
externalEventDescription: PropTypes
|
|
26083
|
-
externalEventID: PropTypes
|
|
26084
|
-
storeType: PropTypes
|
|
26085
|
-
category: PropTypes
|
|
26086
|
-
supplier: PropTypes
|
|
26087
|
-
brand: PropTypes
|
|
26070
|
+
data: PropTypes.shape({
|
|
26071
|
+
eventType: PropTypes.string,
|
|
26072
|
+
retailer: PropTypes.string,
|
|
26073
|
+
eventDescription: PropTypes.string,
|
|
26074
|
+
objectivesDescription: PropTypes.string,
|
|
26075
|
+
eventDatesValue: PropTypes.string,
|
|
26076
|
+
externalEventDescription: PropTypes.string,
|
|
26077
|
+
externalEventID: PropTypes.string,
|
|
26078
|
+
storeType: PropTypes.string,
|
|
26079
|
+
category: PropTypes.string,
|
|
26080
|
+
supplier: PropTypes.string,
|
|
26081
|
+
brand: PropTypes.string
|
|
26088
26082
|
}),
|
|
26089
|
-
showViewCreativeButton: PropTypes
|
|
26090
|
-
viewCreativeOnClick: PropTypes
|
|
26091
|
-
descriptionTitle: PropTypes
|
|
26092
|
-
datesTitle: PropTypes
|
|
26093
|
-
width: PropTypes
|
|
26094
|
-
height: PropTypes
|
|
26095
|
-
textcolor: PropTypes
|
|
26096
|
-
showDraft: PropTypes
|
|
26097
|
-
buttonText: PropTypes
|
|
26098
|
-
disabled: PropTypes
|
|
26083
|
+
showViewCreativeButton: PropTypes.bool,
|
|
26084
|
+
viewCreativeOnClick: PropTypes.func,
|
|
26085
|
+
descriptionTitle: PropTypes.string,
|
|
26086
|
+
datesTitle: PropTypes.string,
|
|
26087
|
+
width: PropTypes.string,
|
|
26088
|
+
height: PropTypes.string,
|
|
26089
|
+
textcolor: PropTypes.string,
|
|
26090
|
+
showDraft: PropTypes.bool,
|
|
26091
|
+
buttonText: PropTypes.string,
|
|
26092
|
+
disabled: PropTypes.bool
|
|
26099
26093
|
};
|
|
26100
26094
|
CollapseHeader.defaultProps = {
|
|
26101
26095
|
className: "",
|
|
@@ -26458,25 +26452,25 @@ const QuickFilterDropdownSingle = ({
|
|
|
26458
26452
|
}, highlightText(option.label, inputValue))))));
|
|
26459
26453
|
};
|
|
26460
26454
|
QuickFilterDropdownSingle.propTypes = {
|
|
26461
|
-
placeHolder: PropTypes
|
|
26462
|
-
label: PropTypes
|
|
26463
|
-
labelColor: PropTypes
|
|
26464
|
-
hoverColor: PropTypes
|
|
26465
|
-
width: PropTypes
|
|
26466
|
-
disabled: PropTypes
|
|
26467
|
-
error: PropTypes
|
|
26455
|
+
placeHolder: PropTypes.string,
|
|
26456
|
+
label: PropTypes.string,
|
|
26457
|
+
labelColor: PropTypes.string,
|
|
26458
|
+
hoverColor: PropTypes.string,
|
|
26459
|
+
width: PropTypes.string,
|
|
26460
|
+
disabled: PropTypes.bool,
|
|
26461
|
+
error: PropTypes.bool,
|
|
26468
26462
|
errorMessage: "",
|
|
26469
|
-
options: PropTypes
|
|
26470
|
-
value: PropTypes
|
|
26471
|
-
label: PropTypes
|
|
26463
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
26464
|
+
value: PropTypes.string,
|
|
26465
|
+
label: PropTypes.string
|
|
26472
26466
|
})),
|
|
26473
|
-
selectedValue: PropTypes
|
|
26474
|
-
value: PropTypes
|
|
26475
|
-
label: PropTypes
|
|
26467
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
26468
|
+
value: PropTypes.string,
|
|
26469
|
+
label: PropTypes.string
|
|
26476
26470
|
})),
|
|
26477
|
-
xIconShow: PropTypes
|
|
26478
|
-
onChange: PropTypes
|
|
26479
|
-
showLabelOnTop: PropTypes
|
|
26471
|
+
xIconShow: PropTypes.bool,
|
|
26472
|
+
onChange: PropTypes.func,
|
|
26473
|
+
showLabelOnTop: PropTypes.bool
|
|
26480
26474
|
};
|
|
26481
26475
|
QuickFilterDropdownSingle.defaultProps = {
|
|
26482
26476
|
placeHolder: "Type...",
|
|
@@ -26935,27 +26929,27 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26935
26929
|
})), option.label)))));
|
|
26936
26930
|
};
|
|
26937
26931
|
QuickFilterDropdownMultiSelection.propTypes = {
|
|
26938
|
-
placeHolder: PropTypes
|
|
26939
|
-
label: PropTypes
|
|
26940
|
-
labelEmptyValue: PropTypes
|
|
26941
|
-
labelColor: PropTypes
|
|
26942
|
-
checkBoxColor: PropTypes
|
|
26943
|
-
required: PropTypes
|
|
26944
|
-
width: PropTypes
|
|
26945
|
-
disabled: PropTypes
|
|
26946
|
-
error: PropTypes
|
|
26932
|
+
placeHolder: PropTypes.string,
|
|
26933
|
+
label: PropTypes.string,
|
|
26934
|
+
labelEmptyValue: PropTypes.string,
|
|
26935
|
+
labelColor: PropTypes.string,
|
|
26936
|
+
checkBoxColor: PropTypes.string,
|
|
26937
|
+
required: PropTypes.bool,
|
|
26938
|
+
width: PropTypes.string,
|
|
26939
|
+
disabled: PropTypes.bool,
|
|
26940
|
+
error: PropTypes.bool,
|
|
26947
26941
|
errorMessage: '',
|
|
26948
|
-
options: PropTypes
|
|
26949
|
-
value: PropTypes
|
|
26950
|
-
label: PropTypes
|
|
26942
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
26943
|
+
value: PropTypes.string,
|
|
26944
|
+
label: PropTypes.string
|
|
26951
26945
|
})),
|
|
26952
|
-
selectedValue: PropTypes
|
|
26953
|
-
value: PropTypes
|
|
26954
|
-
label: PropTypes
|
|
26946
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
26947
|
+
value: PropTypes.string,
|
|
26948
|
+
label: PropTypes.string
|
|
26955
26949
|
})),
|
|
26956
|
-
onChange: PropTypes
|
|
26957
|
-
xIconShow: PropTypes
|
|
26958
|
-
showLabelOnTop: PropTypes
|
|
26950
|
+
onChange: PropTypes.func,
|
|
26951
|
+
xIconShow: PropTypes.bool,
|
|
26952
|
+
showLabelOnTop: PropTypes.bool
|
|
26959
26953
|
};
|
|
26960
26954
|
QuickFilterDropdownMultiSelection.defaultProps = {
|
|
26961
26955
|
placeHolder: 'Type...',
|
|
@@ -27481,18 +27475,18 @@ const FormattedValue$2 = props => {
|
|
|
27481
27475
|
}, subtitle) : '')));
|
|
27482
27476
|
};
|
|
27483
27477
|
FormattedValue$2.propTypes = {
|
|
27484
|
-
className: PropTypes
|
|
27485
|
-
title: PropTypes
|
|
27486
|
-
subtitle: PropTypes
|
|
27487
|
-
showTopValue: PropTypes
|
|
27488
|
-
value: PropTypes
|
|
27489
|
-
dotCut: PropTypes
|
|
27490
|
-
currencySign: PropTypes
|
|
27491
|
-
currencyType: PropTypes
|
|
27492
|
-
width: PropTypes
|
|
27493
|
-
height: PropTypes
|
|
27494
|
-
textcolor: PropTypes
|
|
27495
|
-
isPercent: PropTypes
|
|
27478
|
+
className: PropTypes.string,
|
|
27479
|
+
title: PropTypes.string,
|
|
27480
|
+
subtitle: PropTypes.string,
|
|
27481
|
+
showTopValue: PropTypes.bool,
|
|
27482
|
+
value: PropTypes.number,
|
|
27483
|
+
dotCut: PropTypes.bool,
|
|
27484
|
+
currencySign: PropTypes.bool,
|
|
27485
|
+
currencyType: PropTypes.string,
|
|
27486
|
+
width: PropTypes.string,
|
|
27487
|
+
height: PropTypes.string,
|
|
27488
|
+
textcolor: PropTypes.string,
|
|
27489
|
+
isPercent: PropTypes.bool
|
|
27496
27490
|
};
|
|
27497
27491
|
FormattedValue$2.defaultProps = {
|
|
27498
27492
|
className: 'FormattedValue_ControlsContainer',
|
|
@@ -27724,13 +27718,13 @@ const PerformanceAnalyticsLegend = props => {
|
|
|
27724
27718
|
}, item.title))))) : '');
|
|
27725
27719
|
};
|
|
27726
27720
|
PerformanceAnalyticsLegend.propTypes = {
|
|
27727
|
-
className: PropTypes
|
|
27728
|
-
width: PropTypes
|
|
27729
|
-
height: PropTypes
|
|
27730
|
-
legendData: PropTypes
|
|
27731
|
-
title: PropTypes
|
|
27732
|
-
iconType: PropTypes
|
|
27733
|
-
iconColor: PropTypes
|
|
27721
|
+
className: PropTypes.string,
|
|
27722
|
+
width: PropTypes.string,
|
|
27723
|
+
height: PropTypes.string,
|
|
27724
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
27725
|
+
title: PropTypes.string.isRequired,
|
|
27726
|
+
iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$1, ICON_TYPE_LEGEND_UNION_ICON$1, ICON_TYPE_LEGEND_LINE_ICON$1]).isRequired,
|
|
27727
|
+
iconColor: PropTypes.string.isRequired
|
|
27734
27728
|
}))
|
|
27735
27729
|
};
|
|
27736
27730
|
PerformanceAnalyticsLegend.defaultProps = {
|
|
@@ -27959,41 +27953,41 @@ const BarChartsByWeeks = props => {
|
|
|
27959
27953
|
}))));
|
|
27960
27954
|
};
|
|
27961
27955
|
BarChartsByWeeks.propTypes = {
|
|
27962
|
-
className: PropTypes
|
|
27963
|
-
title: PropTypes
|
|
27964
|
-
showHeaderTopValue: PropTypes
|
|
27965
|
-
headerValueTopTitle: PropTypes
|
|
27966
|
-
headerValueBottomTitle: PropTypes
|
|
27967
|
-
headerValue: PropTypes
|
|
27968
|
-
HeaderValueCurrencyType: PropTypes
|
|
27969
|
-
HeaderValueIsPercent: PropTypes
|
|
27970
|
-
barChartData: PropTypes
|
|
27971
|
-
title: PropTypes
|
|
27972
|
-
value: PropTypes
|
|
27956
|
+
className: PropTypes.string,
|
|
27957
|
+
title: PropTypes.string,
|
|
27958
|
+
showHeaderTopValue: PropTypes.bool,
|
|
27959
|
+
headerValueTopTitle: PropTypes.string,
|
|
27960
|
+
headerValueBottomTitle: PropTypes.string,
|
|
27961
|
+
headerValue: PropTypes.number,
|
|
27962
|
+
HeaderValueCurrencyType: PropTypes.string,
|
|
27963
|
+
HeaderValueIsPercent: PropTypes.bool,
|
|
27964
|
+
barChartData: PropTypes.arrayOf(PropTypes.shape({
|
|
27965
|
+
title: PropTypes.string,
|
|
27966
|
+
value: PropTypes.number
|
|
27973
27967
|
})),
|
|
27974
|
-
isTitleOriganal: PropTypes
|
|
27975
|
-
width: PropTypes
|
|
27976
|
-
height: PropTypes
|
|
27977
|
-
barChartColor: PropTypes
|
|
27978
|
-
barChartSecondColor: PropTypes
|
|
27979
|
-
xselectedColor: PropTypes
|
|
27980
|
-
startWeekRange: PropTypes
|
|
27981
|
-
endWeekRange: PropTypes
|
|
27982
|
-
tooltipTitle: PropTypes
|
|
27983
|
-
tooltipSecondTitle: PropTypes
|
|
27984
|
-
yAxisCounter: PropTypes
|
|
27985
|
-
isPercentValue: PropTypes
|
|
27986
|
-
interval: PropTypes
|
|
27987
|
-
showTitle: PropTypes
|
|
27988
|
-
showLegend: PropTypes
|
|
27989
|
-
legendData: PropTypes
|
|
27990
|
-
title: PropTypes
|
|
27991
|
-
iconType: PropTypes
|
|
27992
|
-
iconColor: PropTypes
|
|
27968
|
+
isTitleOriganal: PropTypes.bool,
|
|
27969
|
+
width: PropTypes.string,
|
|
27970
|
+
height: PropTypes.string,
|
|
27971
|
+
barChartColor: PropTypes.string,
|
|
27972
|
+
barChartSecondColor: PropTypes.string,
|
|
27973
|
+
xselectedColor: PropTypes.string,
|
|
27974
|
+
startWeekRange: PropTypes.string,
|
|
27975
|
+
endWeekRange: PropTypes.string,
|
|
27976
|
+
tooltipTitle: PropTypes.string,
|
|
27977
|
+
tooltipSecondTitle: PropTypes.string,
|
|
27978
|
+
yAxisCounter: PropTypes.number,
|
|
27979
|
+
isPercentValue: PropTypes.bool,
|
|
27980
|
+
interval: PropTypes.string,
|
|
27981
|
+
showTitle: PropTypes.bool,
|
|
27982
|
+
showLegend: PropTypes.bool,
|
|
27983
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
27984
|
+
title: PropTypes.string.isRequired,
|
|
27985
|
+
iconType: PropTypes.oneOf([ICON_TYPE_SQUARE, ICON_TYPE_LEGEND_UNION_ICON, ICON_TYPE_LEGEND_LINE_ICON]).isRequired,
|
|
27986
|
+
iconColor: PropTypes.string.isRequired
|
|
27993
27987
|
})),
|
|
27994
|
-
showTwoBars: PropTypes
|
|
27995
|
-
setLimitHeight: PropTypes
|
|
27996
|
-
setLimitLow: PropTypes
|
|
27988
|
+
showTwoBars: PropTypes.bool,
|
|
27989
|
+
setLimitHeight: PropTypes.number,
|
|
27990
|
+
setLimitLow: PropTypes.number
|
|
27997
27991
|
};
|
|
27998
27992
|
BarChartsByWeeks.defaultProps = {
|
|
27999
27993
|
className: '',
|
|
@@ -28367,27 +28361,27 @@ const TotalDoughnutChart = props => {
|
|
|
28367
28361
|
}, row.name, displayLegendValue(row)))))))));
|
|
28368
28362
|
};
|
|
28369
28363
|
TotalDoughnutChart.propTypes = {
|
|
28370
|
-
className: PropTypes
|
|
28371
|
-
title: PropTypes
|
|
28372
|
-
value: PropTypes
|
|
28373
|
-
addingBenchmark: PropTypes
|
|
28374
|
-
dotCut: PropTypes
|
|
28375
|
-
currencySign: PropTypes
|
|
28376
|
-
currencyType: PropTypes
|
|
28377
|
-
legendData: PropTypes
|
|
28378
|
-
name: PropTypes
|
|
28379
|
-
description: PropTypes
|
|
28364
|
+
className: PropTypes.string,
|
|
28365
|
+
title: PropTypes.string,
|
|
28366
|
+
value: PropTypes.number,
|
|
28367
|
+
addingBenchmark: PropTypes.bool,
|
|
28368
|
+
dotCut: PropTypes.bool,
|
|
28369
|
+
currencySign: PropTypes.bool,
|
|
28370
|
+
currencyType: PropTypes.string,
|
|
28371
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
28372
|
+
name: PropTypes.string,
|
|
28373
|
+
description: PropTypes.string
|
|
28380
28374
|
})),
|
|
28381
|
-
itemsPercentagesValueAside: PropTypes
|
|
28382
|
-
itemsBoldedValues: PropTypes
|
|
28383
|
-
itemsValuesSeparateLine: PropTypes
|
|
28384
|
-
width: PropTypes
|
|
28385
|
-
height: PropTypes
|
|
28386
|
-
textcolor: PropTypes
|
|
28387
|
-
isPercent: PropTypes
|
|
28388
|
-
hideTitleAndValue: PropTypes
|
|
28389
|
-
noDataText: PropTypes
|
|
28390
|
-
textAfterValue: PropTypes
|
|
28375
|
+
itemsPercentagesValueAside: PropTypes.bool,
|
|
28376
|
+
itemsBoldedValues: PropTypes.bool,
|
|
28377
|
+
itemsValuesSeparateLine: PropTypes.bool,
|
|
28378
|
+
width: PropTypes.string,
|
|
28379
|
+
height: PropTypes.string,
|
|
28380
|
+
textcolor: PropTypes.string,
|
|
28381
|
+
isPercent: PropTypes.bool,
|
|
28382
|
+
hideTitleAndValue: PropTypes.bool,
|
|
28383
|
+
noDataText: PropTypes.string,
|
|
28384
|
+
textAfterValue: PropTypes.string
|
|
28391
28385
|
};
|
|
28392
28386
|
TotalDoughnutChart.defaultProps = {
|
|
28393
28387
|
className: '',
|
|
@@ -28424,13 +28418,13 @@ function CustomTooltip(_ref) {
|
|
|
28424
28418
|
}
|
|
28425
28419
|
CustomTooltip.propTypes = {
|
|
28426
28420
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28427
|
-
active: PropTypes
|
|
28421
|
+
active: PropTypes.any,
|
|
28428
28422
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28429
|
-
payload: PropTypes
|
|
28423
|
+
payload: PropTypes.any,
|
|
28430
28424
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28431
|
-
value: PropTypes
|
|
28425
|
+
value: PropTypes.any,
|
|
28432
28426
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28433
|
-
isPercent: PropTypes
|
|
28427
|
+
isPercent: PropTypes.any
|
|
28434
28428
|
};
|
|
28435
28429
|
CustomTooltip.defaultProps = {
|
|
28436
28430
|
active: '',
|
|
@@ -28554,11 +28548,11 @@ const Tooltip = props => {
|
|
|
28554
28548
|
}, content)));
|
|
28555
28549
|
};
|
|
28556
28550
|
Tooltip.propTypes = {
|
|
28557
|
-
className: PropTypes
|
|
28558
|
-
top: PropTypes
|
|
28559
|
-
left: PropTypes
|
|
28560
|
-
direction: PropTypes
|
|
28561
|
-
content: PropTypes
|
|
28551
|
+
className: PropTypes.string,
|
|
28552
|
+
top: PropTypes.number,
|
|
28553
|
+
left: PropTypes.number,
|
|
28554
|
+
direction: PropTypes.string,
|
|
28555
|
+
content: PropTypes.string
|
|
28562
28556
|
};
|
|
28563
28557
|
Tooltip.defaultProps = {
|
|
28564
28558
|
className: '',
|
|
@@ -28847,31 +28841,31 @@ const TotalHorizontalCharts = props => {
|
|
|
28847
28841
|
}));
|
|
28848
28842
|
};
|
|
28849
28843
|
TotalHorizontalCharts.propTypes = {
|
|
28850
|
-
className: PropTypes
|
|
28851
|
-
title: PropTypes
|
|
28852
|
-
value: PropTypes
|
|
28853
|
-
dotCut: PropTypes
|
|
28854
|
-
currencySign: PropTypes
|
|
28855
|
-
currencyType: PropTypes
|
|
28856
|
-
chartsData: PropTypes
|
|
28857
|
-
name: PropTypes
|
|
28858
|
-
value: PropTypes
|
|
28859
|
-
color: PropTypes
|
|
28844
|
+
className: PropTypes.string,
|
|
28845
|
+
title: PropTypes.string,
|
|
28846
|
+
value: PropTypes.number,
|
|
28847
|
+
dotCut: PropTypes.bool,
|
|
28848
|
+
currencySign: PropTypes.bool,
|
|
28849
|
+
currencyType: PropTypes.string,
|
|
28850
|
+
chartsData: PropTypes.arrayOf(PropTypes.shape({
|
|
28851
|
+
name: PropTypes.string,
|
|
28852
|
+
value: PropTypes.number,
|
|
28853
|
+
color: PropTypes.string
|
|
28860
28854
|
})),
|
|
28861
|
-
showScrollerBarsCount: PropTypes
|
|
28862
|
-
showPercentAsideValue: PropTypes
|
|
28863
|
-
labelFontSize: PropTypes
|
|
28864
|
-
labelLimitedLetters: PropTypes
|
|
28865
|
-
width: PropTypes
|
|
28866
|
-
height: PropTypes
|
|
28867
|
-
rightGap: PropTypes
|
|
28868
|
-
textColor: PropTypes
|
|
28869
|
-
noDataText: PropTypes
|
|
28870
|
-
isDollar: PropTypes
|
|
28871
|
-
isPercentage: PropTypes
|
|
28872
|
-
showDollarSign: PropTypes
|
|
28873
|
-
hideTotalValue: PropTypes
|
|
28874
|
-
hideTitle: PropTypes
|
|
28855
|
+
showScrollerBarsCount: PropTypes.number,
|
|
28856
|
+
showPercentAsideValue: PropTypes.bool,
|
|
28857
|
+
labelFontSize: PropTypes.number,
|
|
28858
|
+
labelLimitedLetters: PropTypes.number,
|
|
28859
|
+
width: PropTypes.string,
|
|
28860
|
+
height: PropTypes.string,
|
|
28861
|
+
rightGap: PropTypes.number,
|
|
28862
|
+
textColor: PropTypes.string,
|
|
28863
|
+
noDataText: PropTypes.string,
|
|
28864
|
+
isDollar: PropTypes.bool,
|
|
28865
|
+
isPercentage: PropTypes.bool,
|
|
28866
|
+
showDollarSign: PropTypes.bool,
|
|
28867
|
+
hideTotalValue: PropTypes.bool,
|
|
28868
|
+
hideTitle: PropTypes.bool
|
|
28875
28869
|
};
|
|
28876
28870
|
TotalHorizontalCharts.defaultProps = {
|
|
28877
28871
|
className: '',
|
|
@@ -29060,23 +29054,23 @@ const SalesAndROI = props => {
|
|
|
29060
29054
|
}));
|
|
29061
29055
|
};
|
|
29062
29056
|
SalesAndROI.propTypes = {
|
|
29063
|
-
title: PropTypes
|
|
29064
|
-
dotCut: PropTypes
|
|
29065
|
-
currencySign: PropTypes
|
|
29066
|
-
currencyType: PropTypes
|
|
29067
|
-
salesData: PropTypes
|
|
29068
|
-
name: PropTypes
|
|
29069
|
-
value: PropTypes
|
|
29070
|
-
labelBefore: PropTypes
|
|
29071
|
-
labelAfter: PropTypes
|
|
29057
|
+
title: PropTypes.string,
|
|
29058
|
+
dotCut: PropTypes.bool,
|
|
29059
|
+
currencySign: PropTypes.bool,
|
|
29060
|
+
currencyType: PropTypes.string,
|
|
29061
|
+
salesData: PropTypes.arrayOf(PropTypes.shape({
|
|
29062
|
+
name: PropTypes.string,
|
|
29063
|
+
value: PropTypes.number,
|
|
29064
|
+
labelBefore: PropTypes.string,
|
|
29065
|
+
labelAfter: PropTypes.string
|
|
29072
29066
|
})),
|
|
29073
|
-
width: PropTypes
|
|
29074
|
-
height: PropTypes
|
|
29075
|
-
textColor: PropTypes
|
|
29076
|
-
showBanner: PropTypes
|
|
29077
|
-
noDataText: PropTypes
|
|
29078
|
-
onBannerClick: PropTypes
|
|
29079
|
-
showBorderShadow: PropTypes
|
|
29067
|
+
width: PropTypes.string,
|
|
29068
|
+
height: PropTypes.string,
|
|
29069
|
+
textColor: PropTypes.string,
|
|
29070
|
+
showBanner: PropTypes.bool,
|
|
29071
|
+
noDataText: PropTypes.string,
|
|
29072
|
+
onBannerClick: PropTypes.func,
|
|
29073
|
+
showBorderShadow: PropTypes.bool
|
|
29080
29074
|
};
|
|
29081
29075
|
SalesAndROI.defaultProps = {
|
|
29082
29076
|
title: 'SALES',
|
|
@@ -29372,25 +29366,25 @@ const PopupCharts = props => {
|
|
|
29372
29366
|
}, popupChartsItemsData.map(item => displayChartItem(item))))));
|
|
29373
29367
|
};
|
|
29374
29368
|
PopupCharts.propTypes = {
|
|
29375
|
-
title: PropTypes
|
|
29376
|
-
chartType: PropTypes
|
|
29369
|
+
title: PropTypes.string,
|
|
29370
|
+
chartType: PropTypes.string,
|
|
29377
29371
|
// eslint-disable-next-line react/require-default-props
|
|
29378
|
-
popupChartsItemsData: PropTypes
|
|
29379
|
-
title: PropTypes
|
|
29380
|
-
chartType: PropTypes
|
|
29381
|
-
value: PropTypes
|
|
29382
|
-
legendData: PropTypes
|
|
29383
|
-
color: PropTypes
|
|
29384
|
-
name: PropTypes
|
|
29385
|
-
value: PropTypes
|
|
29372
|
+
popupChartsItemsData: PropTypes.arrayOf(PropTypes.shape({
|
|
29373
|
+
title: PropTypes.string,
|
|
29374
|
+
chartType: PropTypes.string,
|
|
29375
|
+
value: PropTypes.number,
|
|
29376
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
29377
|
+
color: PropTypes.string,
|
|
29378
|
+
name: PropTypes.string,
|
|
29379
|
+
value: PropTypes.number
|
|
29386
29380
|
})),
|
|
29387
|
-
noDataText: PropTypes
|
|
29381
|
+
noDataText: PropTypes.string
|
|
29388
29382
|
})),
|
|
29389
|
-
isPopupChartsOpen: PropTypes
|
|
29390
|
-
width: PropTypes
|
|
29391
|
-
height: PropTypes
|
|
29392
|
-
onCloseClick: PropTypes
|
|
29393
|
-
subtitleTextColor: PropTypes
|
|
29383
|
+
isPopupChartsOpen: PropTypes.bool,
|
|
29384
|
+
width: PropTypes.string,
|
|
29385
|
+
height: PropTypes.string,
|
|
29386
|
+
onCloseClick: PropTypes.func,
|
|
29387
|
+
subtitleTextColor: PropTypes.string
|
|
29394
29388
|
};
|
|
29395
29389
|
PopupCharts.defaultProps = {
|
|
29396
29390
|
title: 'Switching Pattern',
|
|
@@ -29498,12 +29492,12 @@ const TopToggleList = props => {
|
|
|
29498
29492
|
}, /*#__PURE__*/React$1.createElement(Item, null, item.label)))));
|
|
29499
29493
|
};
|
|
29500
29494
|
TopToggleList.propTypes = {
|
|
29501
|
-
width: PropTypes
|
|
29502
|
-
height: PropTypes
|
|
29503
|
-
title: PropTypes
|
|
29504
|
-
list: PropTypes
|
|
29505
|
-
value: PropTypes
|
|
29506
|
-
label: PropTypes
|
|
29495
|
+
width: PropTypes.string,
|
|
29496
|
+
height: PropTypes.string,
|
|
29497
|
+
title: PropTypes.string,
|
|
29498
|
+
list: PropTypes.arrayOf({
|
|
29499
|
+
value: PropTypes.string,
|
|
29500
|
+
label: PropTypes.string
|
|
29507
29501
|
})
|
|
29508
29502
|
};
|
|
29509
29503
|
TopToggleList.defaultProps = {
|
|
@@ -29833,14 +29827,14 @@ const Heatmap = props => {
|
|
|
29833
29827
|
}, title)), refreshRequired && renderBars(), !refreshRequired && renderBars(), renderLegend()));
|
|
29834
29828
|
};
|
|
29835
29829
|
Heatmap.propTypes = {
|
|
29836
|
-
title: PropTypes
|
|
29837
|
-
data: PropTypes
|
|
29838
|
-
value: PropTypes
|
|
29839
|
-
label: PropTypes
|
|
29840
|
-
color: PropTypes
|
|
29830
|
+
title: PropTypes.string.isRequired,
|
|
29831
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
29832
|
+
value: PropTypes.number.isRequired,
|
|
29833
|
+
label: PropTypes.string.isRequired,
|
|
29834
|
+
color: PropTypes.string.isRequired
|
|
29841
29835
|
})).isRequired,
|
|
29842
|
-
lowLimit: PropTypes
|
|
29843
|
-
barHeight: PropTypes
|
|
29836
|
+
lowLimit: PropTypes.number.isRequired,
|
|
29837
|
+
barHeight: PropTypes.string.isRequired
|
|
29844
29838
|
};
|
|
29845
29839
|
|
|
29846
29840
|
const ButtonWrapper = dt.div`
|
|
@@ -30015,19 +30009,19 @@ const IconButton = props => {
|
|
|
30015
30009
|
IconButton.propTypes = {
|
|
30016
30010
|
// downloadStatus: PropTypes.string,
|
|
30017
30011
|
// fileName: PropTypes.string,
|
|
30018
|
-
fileLink: PropTypes
|
|
30019
|
-
showProcess: PropTypes
|
|
30020
|
-
buttonText: PropTypes
|
|
30021
|
-
iconName: PropTypes
|
|
30022
|
-
contentColor: PropTypes
|
|
30023
|
-
backgroundColor: PropTypes
|
|
30024
|
-
borderColor: PropTypes
|
|
30025
|
-
borderRadius: PropTypes
|
|
30026
|
-
iconHeight: PropTypes
|
|
30027
|
-
iconWidth: PropTypes
|
|
30028
|
-
disabled: PropTypes
|
|
30029
|
-
onClick: PropTypes
|
|
30030
|
-
onCancelClick: PropTypes
|
|
30012
|
+
fileLink: PropTypes.string,
|
|
30013
|
+
showProcess: PropTypes.bool,
|
|
30014
|
+
buttonText: PropTypes.string,
|
|
30015
|
+
iconName: PropTypes.string,
|
|
30016
|
+
contentColor: PropTypes.string,
|
|
30017
|
+
backgroundColor: PropTypes.string,
|
|
30018
|
+
borderColor: PropTypes.string,
|
|
30019
|
+
borderRadius: PropTypes.string,
|
|
30020
|
+
iconHeight: PropTypes.number,
|
|
30021
|
+
iconWidth: PropTypes.number,
|
|
30022
|
+
disabled: PropTypes.bool,
|
|
30023
|
+
onClick: PropTypes.func,
|
|
30024
|
+
onCancelClick: PropTypes.func
|
|
30031
30025
|
};
|
|
30032
30026
|
IconButton.defaultProps = {
|
|
30033
30027
|
// downloadStatus: '',
|