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.js
CHANGED
|
@@ -1163,7 +1163,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1163
1163
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1164
1164
|
}
|
|
1165
1165
|
var propTypesExports = propTypes.exports;
|
|
1166
|
-
var PropTypes
|
|
1166
|
+
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
1167
1167
|
|
|
1168
1168
|
/******************************************************************************
|
|
1169
1169
|
Copyright (c) Microsoft Corporation.
|
|
@@ -3523,8 +3523,8 @@ const NoDataFoundIcon = ({
|
|
|
3523
3523
|
strokeLinecap: "round"
|
|
3524
3524
|
}));
|
|
3525
3525
|
NoDataFoundIcon.propTypes = {
|
|
3526
|
-
height: PropTypes
|
|
3527
|
-
width: PropTypes
|
|
3526
|
+
height: PropTypes.string,
|
|
3527
|
+
width: PropTypes.string
|
|
3528
3528
|
};
|
|
3529
3529
|
|
|
3530
3530
|
const NoDataFoundContainer = dt.div`
|
|
@@ -3575,7 +3575,7 @@ const NoDataFoundMessage = props => {
|
|
|
3575
3575
|
}, noDataText));
|
|
3576
3576
|
};
|
|
3577
3577
|
NoDataFoundMessage.propTypes = {
|
|
3578
|
-
noDataText: PropTypes
|
|
3578
|
+
noDataText: PropTypes.string
|
|
3579
3579
|
};
|
|
3580
3580
|
NoDataFoundMessage.defaultProps = {
|
|
3581
3581
|
noDataText: ''
|
|
@@ -3906,11 +3906,11 @@ const Tooltip$1 = props => {
|
|
|
3906
3906
|
}, content)));
|
|
3907
3907
|
};
|
|
3908
3908
|
Tooltip$1.propTypes = {
|
|
3909
|
-
children: PropTypes
|
|
3910
|
-
content: PropTypes
|
|
3911
|
-
direction: PropTypes
|
|
3912
|
-
delay: PropTypes
|
|
3913
|
-
topFactor: PropTypes
|
|
3909
|
+
children: PropTypes.node,
|
|
3910
|
+
content: PropTypes.node,
|
|
3911
|
+
direction: PropTypes.string,
|
|
3912
|
+
delay: PropTypes.string,
|
|
3913
|
+
topFactor: PropTypes.number
|
|
3914
3914
|
};
|
|
3915
3915
|
Tooltip$1.defaultProps = {
|
|
3916
3916
|
children: null,
|
|
@@ -4021,18 +4021,18 @@ const Benchmark = props => {
|
|
|
4021
4021
|
}))));
|
|
4022
4022
|
};
|
|
4023
4023
|
Benchmark.propTypes = {
|
|
4024
|
-
totalValue: PropTypes
|
|
4025
|
-
currentValue: PropTypes
|
|
4026
|
-
benchmarkValue: PropTypes
|
|
4027
|
-
width: PropTypes
|
|
4028
|
-
height: PropTypes
|
|
4029
|
-
color: PropTypes
|
|
4030
|
-
linearGradientColor: PropTypes
|
|
4031
|
-
underAvarageColor: PropTypes
|
|
4032
|
-
linearGradientUnderAvarageColor: PropTypes
|
|
4033
|
-
backgroundColor: PropTypes
|
|
4034
|
-
tooltipLabel: PropTypes
|
|
4035
|
-
tooltipDirection: PropTypes
|
|
4024
|
+
totalValue: PropTypes.number,
|
|
4025
|
+
currentValue: PropTypes.number,
|
|
4026
|
+
benchmarkValue: PropTypes.number,
|
|
4027
|
+
width: PropTypes.number,
|
|
4028
|
+
height: PropTypes.number,
|
|
4029
|
+
color: PropTypes.string,
|
|
4030
|
+
linearGradientColor: PropTypes.string,
|
|
4031
|
+
underAvarageColor: PropTypes.string,
|
|
4032
|
+
linearGradientUnderAvarageColor: PropTypes.string,
|
|
4033
|
+
backgroundColor: PropTypes.string,
|
|
4034
|
+
tooltipLabel: PropTypes.string,
|
|
4035
|
+
tooltipDirection: PropTypes.string
|
|
4036
4036
|
};
|
|
4037
4037
|
Benchmark.defaultProps = {
|
|
4038
4038
|
totalValue: 100,
|
|
@@ -4164,27 +4164,27 @@ const PieChart = props => {
|
|
|
4164
4164
|
}, row.name, displayLegendValue(row)))))))));
|
|
4165
4165
|
};
|
|
4166
4166
|
PieChart.propTypes = {
|
|
4167
|
-
className: PropTypes
|
|
4168
|
-
width: PropTypes
|
|
4169
|
-
height: PropTypes
|
|
4170
|
-
textcolor: PropTypes
|
|
4171
|
-
title: PropTypes
|
|
4172
|
-
value: PropTypes
|
|
4173
|
-
currencySign: PropTypes
|
|
4174
|
-
currencyType: PropTypes
|
|
4175
|
-
dotCut: PropTypes
|
|
4176
|
-
isPercent: PropTypes
|
|
4177
|
-
legendData: PropTypes
|
|
4178
|
-
name: PropTypes
|
|
4179
|
-
description: PropTypes
|
|
4167
|
+
className: PropTypes.string,
|
|
4168
|
+
width: PropTypes.string,
|
|
4169
|
+
height: PropTypes.string,
|
|
4170
|
+
textcolor: PropTypes.string,
|
|
4171
|
+
title: PropTypes.string,
|
|
4172
|
+
value: PropTypes.number,
|
|
4173
|
+
currencySign: PropTypes.bool,
|
|
4174
|
+
currencyType: PropTypes.string,
|
|
4175
|
+
dotCut: PropTypes.bool,
|
|
4176
|
+
isPercent: PropTypes.bool,
|
|
4177
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
4178
|
+
name: PropTypes.string,
|
|
4179
|
+
description: PropTypes.string
|
|
4180
4180
|
})),
|
|
4181
|
-
itemsBoldedValues: PropTypes
|
|
4182
|
-
itemsPercentagesValueAside: PropTypes
|
|
4183
|
-
itemsValuesSeparateLine: PropTypes
|
|
4184
|
-
hideTitleAndValue: PropTypes
|
|
4185
|
-
addingBenchmark: PropTypes
|
|
4186
|
-
textAfterValue: PropTypes
|
|
4187
|
-
noDataText: PropTypes
|
|
4181
|
+
itemsBoldedValues: PropTypes.bool,
|
|
4182
|
+
itemsPercentagesValueAside: PropTypes.bool,
|
|
4183
|
+
itemsValuesSeparateLine: PropTypes.bool,
|
|
4184
|
+
hideTitleAndValue: PropTypes.bool,
|
|
4185
|
+
addingBenchmark: PropTypes.bool,
|
|
4186
|
+
textAfterValue: PropTypes.string,
|
|
4187
|
+
noDataText: PropTypes.string
|
|
4188
4188
|
};
|
|
4189
4189
|
PieChart.defaultProps = {
|
|
4190
4190
|
className: '',
|
|
@@ -4605,8 +4605,8 @@ const BannersDropdown = props => {
|
|
|
4605
4605
|
}, /*#__PURE__*/React__default["default"].createElement(IconWrap, null, banner.icon), "|", /*#__PURE__*/React__default["default"].createElement("span", null, banner.name)))))));
|
|
4606
4606
|
};
|
|
4607
4607
|
BannersDropdown.propTypes = {
|
|
4608
|
-
banners: PropTypes
|
|
4609
|
-
onClick: PropTypes
|
|
4608
|
+
banners: PropTypes.arrayOf(propTypesExports.string),
|
|
4609
|
+
onClick: PropTypes.func
|
|
4610
4610
|
};
|
|
4611
4611
|
BannersDropdown.defaultProps = {
|
|
4612
4612
|
banners: [{
|
|
@@ -4741,19 +4741,18 @@ const InfoIcon = _ref => {
|
|
|
4741
4741
|
}));
|
|
4742
4742
|
};
|
|
4743
4743
|
|
|
4744
|
-
const LinkButton =
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
} = _ref;
|
|
4744
|
+
const LinkButton = ({
|
|
4745
|
+
text = '',
|
|
4746
|
+
type = 'primary',
|
|
4747
|
+
size = 'small',
|
|
4748
|
+
height = '',
|
|
4749
|
+
width = '',
|
|
4750
|
+
disabled = false,
|
|
4751
|
+
textColor = '',
|
|
4752
|
+
onClick,
|
|
4753
|
+
leftIcon = 'none',
|
|
4754
|
+
rightIcon = 'none'
|
|
4755
|
+
}) => {
|
|
4757
4756
|
// const {
|
|
4758
4757
|
// text,
|
|
4759
4758
|
// type,
|
|
@@ -5046,18 +5045,18 @@ const EventDetailsCard = props => {
|
|
|
5046
5045
|
}))));
|
|
5047
5046
|
};
|
|
5048
5047
|
EventDetailsCard.propTypes = {
|
|
5049
|
-
title: PropTypes
|
|
5050
|
-
width: PropTypes
|
|
5051
|
-
height: PropTypes
|
|
5052
|
-
className: PropTypes
|
|
5053
|
-
displayBannersDropdown: PropTypes
|
|
5054
|
-
banners: PropTypes
|
|
5055
|
-
data: PropTypes
|
|
5056
|
-
count: PropTypes
|
|
5057
|
-
buttonText: PropTypes
|
|
5058
|
-
onViewButtonClick: PropTypes
|
|
5059
|
-
onBannersDropdownClick: PropTypes
|
|
5060
|
-
disableViewDetailsButton: PropTypes
|
|
5048
|
+
title: PropTypes.string,
|
|
5049
|
+
width: PropTypes.string,
|
|
5050
|
+
height: PropTypes.string,
|
|
5051
|
+
className: PropTypes.string,
|
|
5052
|
+
displayBannersDropdown: PropTypes.bool,
|
|
5053
|
+
banners: PropTypes.arrayOf(propTypesExports.string),
|
|
5054
|
+
data: PropTypes.arrayOf(PropTypes.shape({})),
|
|
5055
|
+
count: PropTypes.number,
|
|
5056
|
+
buttonText: PropTypes.string,
|
|
5057
|
+
onViewButtonClick: PropTypes.func,
|
|
5058
|
+
onBannersDropdownClick: PropTypes.func,
|
|
5059
|
+
disableViewDetailsButton: PropTypes.bool
|
|
5061
5060
|
};
|
|
5062
5061
|
EventDetailsCard.defaultProps = {
|
|
5063
5062
|
title: 'Dreft Portable Pretreater Pen',
|
|
@@ -5178,20 +5177,20 @@ const LinnerDataBox = props => {
|
|
|
5178
5177
|
}))));
|
|
5179
5178
|
};
|
|
5180
5179
|
LinnerDataBox.propTypes = {
|
|
5181
|
-
className: PropTypes
|
|
5182
|
-
width: PropTypes
|
|
5183
|
-
height: PropTypes
|
|
5184
|
-
data: PropTypes
|
|
5185
|
-
title: PropTypes
|
|
5186
|
-
value: PropTypes
|
|
5187
|
-
sign: PropTypes
|
|
5188
|
-
extraInfo: PropTypes
|
|
5189
|
-
title: PropTypes
|
|
5190
|
-
value: PropTypes
|
|
5180
|
+
className: PropTypes.string,
|
|
5181
|
+
width: PropTypes.string,
|
|
5182
|
+
height: PropTypes.string,
|
|
5183
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
5184
|
+
title: PropTypes.string,
|
|
5185
|
+
value: PropTypes.number,
|
|
5186
|
+
sign: PropTypes.string,
|
|
5187
|
+
extraInfo: PropTypes.arrayOf(PropTypes.shape({
|
|
5188
|
+
title: PropTypes.string,
|
|
5189
|
+
value: PropTypes.number
|
|
5191
5190
|
}))
|
|
5192
5191
|
})),
|
|
5193
|
-
backgroundColor: PropTypes
|
|
5194
|
-
customDataFormat: PropTypes
|
|
5192
|
+
backgroundColor: PropTypes.string,
|
|
5193
|
+
customDataFormat: PropTypes.bool
|
|
5195
5194
|
};
|
|
5196
5195
|
LinnerDataBox.defaultProps = {
|
|
5197
5196
|
className: "",
|
|
@@ -5534,16 +5533,16 @@ const MarketShareDescription = props => {
|
|
|
5534
5533
|
}, displayRows());
|
|
5535
5534
|
};
|
|
5536
5535
|
MarketShareDescription.propTypes = {
|
|
5537
|
-
marketShareData: PropTypes
|
|
5538
|
-
label: PropTypes
|
|
5539
|
-
checked: PropTypes
|
|
5540
|
-
disabled: PropTypes
|
|
5536
|
+
marketShareData: PropTypes.arrayOf(PropTypes.shape({
|
|
5537
|
+
label: PropTypes.string,
|
|
5538
|
+
checked: PropTypes.bool,
|
|
5539
|
+
disabled: PropTypes.bool
|
|
5541
5540
|
})),
|
|
5542
|
-
height: PropTypes
|
|
5543
|
-
width: PropTypes
|
|
5544
|
-
iconColor: PropTypes
|
|
5545
|
-
onBannerClick: PropTypes
|
|
5546
|
-
dotCut: PropTypes
|
|
5541
|
+
height: PropTypes.string,
|
|
5542
|
+
width: PropTypes.string,
|
|
5543
|
+
iconColor: PropTypes.string,
|
|
5544
|
+
onBannerClick: PropTypes.func,
|
|
5545
|
+
dotCut: PropTypes.bool
|
|
5547
5546
|
};
|
|
5548
5547
|
MarketShareDescription.defaultProps = {
|
|
5549
5548
|
marketShareData: [],
|
|
@@ -5673,18 +5672,18 @@ const SagIconButton = props => {
|
|
|
5673
5672
|
}, getIcon(iconName), buttonText && /*#__PURE__*/React__default["default"].createElement(SpanText$1, null, buttonText));
|
|
5674
5673
|
};
|
|
5675
5674
|
SagIconButton.propTypes = {
|
|
5676
|
-
className: PropTypes
|
|
5677
|
-
iconName: PropTypes
|
|
5678
|
-
buttonText: PropTypes
|
|
5679
|
-
height: PropTypes
|
|
5680
|
-
color: PropTypes
|
|
5681
|
-
backgroundColor: PropTypes
|
|
5682
|
-
activeColor: PropTypes
|
|
5683
|
-
iconHeight: PropTypes
|
|
5684
|
-
iconWidth: PropTypes
|
|
5685
|
-
openState: PropTypes
|
|
5686
|
-
disabled: PropTypes
|
|
5687
|
-
onButtonClick: PropTypes
|
|
5675
|
+
className: PropTypes.string,
|
|
5676
|
+
iconName: PropTypes.string,
|
|
5677
|
+
buttonText: PropTypes.string,
|
|
5678
|
+
height: PropTypes.string,
|
|
5679
|
+
color: PropTypes.string,
|
|
5680
|
+
backgroundColor: PropTypes.string,
|
|
5681
|
+
activeColor: PropTypes.string,
|
|
5682
|
+
iconHeight: PropTypes.number,
|
|
5683
|
+
iconWidth: PropTypes.number,
|
|
5684
|
+
openState: PropTypes.bool,
|
|
5685
|
+
disabled: PropTypes.bool,
|
|
5686
|
+
onButtonClick: PropTypes.func
|
|
5688
5687
|
};
|
|
5689
5688
|
SagIconButton.defaultProps = {
|
|
5690
5689
|
className: '',
|
|
@@ -5769,11 +5768,11 @@ const SearchInput = props => {
|
|
|
5769
5768
|
}), /*#__PURE__*/React__default["default"].createElement(SearchIcon, null));
|
|
5770
5769
|
};
|
|
5771
5770
|
SearchInput.propTypes = {
|
|
5772
|
-
placeholder: PropTypes
|
|
5773
|
-
width: PropTypes
|
|
5774
|
-
height: PropTypes
|
|
5775
|
-
onTyping: PropTypes
|
|
5776
|
-
className: PropTypes
|
|
5771
|
+
placeholder: PropTypes.string,
|
|
5772
|
+
width: PropTypes.string,
|
|
5773
|
+
height: PropTypes.string,
|
|
5774
|
+
onTyping: PropTypes.func,
|
|
5775
|
+
className: PropTypes.string
|
|
5777
5776
|
};
|
|
5778
5777
|
SearchInput.defaultProps = {
|
|
5779
5778
|
placeholder: 'Search',
|
|
@@ -5984,32 +5983,32 @@ const TabMenu = props => {
|
|
|
5984
5983
|
}, tabs[activeTab] && tabs[activeTab].content));
|
|
5985
5984
|
};
|
|
5986
5985
|
TabMenu.propTypes = {
|
|
5987
|
-
activeColor: PropTypes
|
|
5988
|
-
children: PropTypes
|
|
5989
|
-
className: PropTypes
|
|
5990
|
-
color: PropTypes
|
|
5991
|
-
currentTab: PropTypes
|
|
5992
|
-
headlineInsteadTabs: PropTypes
|
|
5993
|
-
headlineText: PropTypes
|
|
5994
|
-
inputWidth: PropTypes
|
|
5995
|
-
onFilterButtonClick: PropTypes
|
|
5996
|
-
onSearchFieldTyping: PropTypes
|
|
5997
|
-
onTabChange: PropTypes
|
|
5998
|
-
panelIsOpen: PropTypes
|
|
5999
|
-
setBackground: PropTypes
|
|
6000
|
-
showActions: PropTypes
|
|
6001
|
-
showFilterButton: PropTypes
|
|
6002
|
-
showLabel: PropTypes
|
|
6003
|
-
showSearchInput: PropTypes
|
|
6004
|
-
showViewOptionsButton: PropTypes
|
|
6005
|
-
disabledButton: PropTypes
|
|
6006
|
-
setTopRightButton: PropTypes
|
|
6007
|
-
rightButtonText: PropTypes
|
|
6008
|
-
rightButtonIcon: PropTypes
|
|
6009
|
-
onTopButtonClick: PropTypes
|
|
6010
|
-
tabs: PropTypes
|
|
6011
|
-
title: PropTypes
|
|
6012
|
-
content: PropTypes
|
|
5986
|
+
activeColor: PropTypes.string,
|
|
5987
|
+
children: PropTypes.node,
|
|
5988
|
+
className: PropTypes.string,
|
|
5989
|
+
color: PropTypes.string,
|
|
5990
|
+
currentTab: PropTypes.number,
|
|
5991
|
+
headlineInsteadTabs: PropTypes.bool,
|
|
5992
|
+
headlineText: PropTypes.string,
|
|
5993
|
+
inputWidth: PropTypes.string,
|
|
5994
|
+
onFilterButtonClick: PropTypes.func,
|
|
5995
|
+
onSearchFieldTyping: PropTypes.func,
|
|
5996
|
+
onTabChange: PropTypes.func,
|
|
5997
|
+
panelIsOpen: PropTypes.bool,
|
|
5998
|
+
setBackground: PropTypes.bool,
|
|
5999
|
+
showActions: PropTypes.bool,
|
|
6000
|
+
showFilterButton: PropTypes.bool,
|
|
6001
|
+
showLabel: PropTypes.bool,
|
|
6002
|
+
showSearchInput: PropTypes.bool,
|
|
6003
|
+
showViewOptionsButton: PropTypes.bool,
|
|
6004
|
+
disabledButton: PropTypes.bool,
|
|
6005
|
+
setTopRightButton: PropTypes.bool,
|
|
6006
|
+
rightButtonText: PropTypes.string,
|
|
6007
|
+
rightButtonIcon: PropTypes.string,
|
|
6008
|
+
onTopButtonClick: PropTypes.func,
|
|
6009
|
+
tabs: PropTypes.arrayOf(PropTypes.shape({
|
|
6010
|
+
title: PropTypes.string,
|
|
6011
|
+
content: PropTypes.node
|
|
6013
6012
|
}))
|
|
6014
6013
|
};
|
|
6015
6014
|
TabMenu.defaultProps = {
|
|
@@ -11112,26 +11111,26 @@ const DropdownSingleNew = ({
|
|
|
11112
11111
|
}, option.label)))));
|
|
11113
11112
|
};
|
|
11114
11113
|
DropdownSingleNew.propTypes = {
|
|
11115
|
-
placeHolder: PropTypes
|
|
11116
|
-
label: PropTypes
|
|
11117
|
-
labelEmptyValue: PropTypes
|
|
11118
|
-
labelColor: PropTypes
|
|
11119
|
-
required: PropTypes
|
|
11120
|
-
width: PropTypes
|
|
11121
|
-
disabled: PropTypes
|
|
11122
|
-
error: PropTypes
|
|
11114
|
+
placeHolder: PropTypes.string,
|
|
11115
|
+
label: PropTypes.string,
|
|
11116
|
+
labelEmptyValue: PropTypes.string,
|
|
11117
|
+
labelColor: PropTypes.string,
|
|
11118
|
+
required: PropTypes.bool,
|
|
11119
|
+
width: PropTypes.string,
|
|
11120
|
+
disabled: PropTypes.bool,
|
|
11121
|
+
error: PropTypes.bool,
|
|
11123
11122
|
errorMessage: "",
|
|
11124
|
-
options: PropTypes
|
|
11125
|
-
value: PropTypes
|
|
11126
|
-
label: PropTypes
|
|
11123
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
11124
|
+
value: PropTypes.string,
|
|
11125
|
+
label: PropTypes.string
|
|
11127
11126
|
})),
|
|
11128
|
-
selectedValue: PropTypes
|
|
11129
|
-
value: PropTypes
|
|
11130
|
-
label: PropTypes
|
|
11127
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
11128
|
+
value: PropTypes.string,
|
|
11129
|
+
label: PropTypes.string
|
|
11131
11130
|
})),
|
|
11132
|
-
xIconShow: PropTypes
|
|
11133
|
-
onChange: PropTypes
|
|
11134
|
-
showLabelOnTop: PropTypes
|
|
11131
|
+
xIconShow: PropTypes.bool,
|
|
11132
|
+
onChange: PropTypes.func,
|
|
11133
|
+
showLabelOnTop: PropTypes.bool
|
|
11135
11134
|
};
|
|
11136
11135
|
DropdownSingleNew.defaultProps = {
|
|
11137
11136
|
placeHolder: "Type To Search",
|
|
@@ -11643,27 +11642,27 @@ const DropdownMultiNew = ({
|
|
|
11643
11642
|
})), option.label)))));
|
|
11644
11643
|
};
|
|
11645
11644
|
DropdownMultiNew.propTypes = {
|
|
11646
|
-
placeHolder: PropTypes
|
|
11647
|
-
label: PropTypes
|
|
11648
|
-
labelEmptyValue: PropTypes
|
|
11649
|
-
labelColor: PropTypes
|
|
11650
|
-
checkBoxColor: PropTypes
|
|
11651
|
-
required: PropTypes
|
|
11652
|
-
width: PropTypes
|
|
11653
|
-
disabled: PropTypes
|
|
11654
|
-
error: PropTypes
|
|
11645
|
+
placeHolder: PropTypes.string,
|
|
11646
|
+
label: PropTypes.string,
|
|
11647
|
+
labelEmptyValue: PropTypes.string,
|
|
11648
|
+
labelColor: PropTypes.string,
|
|
11649
|
+
checkBoxColor: PropTypes.string,
|
|
11650
|
+
required: PropTypes.bool,
|
|
11651
|
+
width: PropTypes.string,
|
|
11652
|
+
disabled: PropTypes.bool,
|
|
11653
|
+
error: PropTypes.bool,
|
|
11655
11654
|
errorMessage: "",
|
|
11656
|
-
options: PropTypes
|
|
11657
|
-
value: PropTypes
|
|
11658
|
-
label: PropTypes
|
|
11655
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
11656
|
+
value: PropTypes.string,
|
|
11657
|
+
label: PropTypes.string
|
|
11659
11658
|
})),
|
|
11660
|
-
selectedValue: PropTypes
|
|
11661
|
-
value: PropTypes
|
|
11662
|
-
label: PropTypes
|
|
11659
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
11660
|
+
value: PropTypes.string,
|
|
11661
|
+
label: PropTypes.string
|
|
11663
11662
|
})),
|
|
11664
|
-
onChange: PropTypes
|
|
11665
|
-
xIconShow: PropTypes
|
|
11666
|
-
showLabelOnTop: PropTypes
|
|
11663
|
+
onChange: PropTypes.func,
|
|
11664
|
+
xIconShow: PropTypes.bool,
|
|
11665
|
+
showLabelOnTop: PropTypes.bool
|
|
11667
11666
|
};
|
|
11668
11667
|
DropdownMultiNew.defaultProps = {
|
|
11669
11668
|
placeHolder: "Type To Search",
|
|
@@ -11700,92 +11699,89 @@ const DropdownMain = dt.div`
|
|
|
11700
11699
|
`;
|
|
11701
11700
|
|
|
11702
11701
|
/* eslint-disable react/prop-types */
|
|
11703
|
-
const DropdownNew =
|
|
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
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
elementType: elementType
|
|
11765
|
-
}));
|
|
11766
|
-
};
|
|
11702
|
+
const DropdownNew = ({
|
|
11703
|
+
isMulti,
|
|
11704
|
+
label,
|
|
11705
|
+
labelEmptyValue,
|
|
11706
|
+
options,
|
|
11707
|
+
selectedValue,
|
|
11708
|
+
placeHolder,
|
|
11709
|
+
onChange,
|
|
11710
|
+
required,
|
|
11711
|
+
disabled,
|
|
11712
|
+
width,
|
|
11713
|
+
error,
|
|
11714
|
+
errorMessage,
|
|
11715
|
+
labelColor,
|
|
11716
|
+
checkBoxColor,
|
|
11717
|
+
xIconShow,
|
|
11718
|
+
showLabelOnTop,
|
|
11719
|
+
orderBy,
|
|
11720
|
+
elementType
|
|
11721
|
+
}) => /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
11722
|
+
className: "DropdownMain",
|
|
11723
|
+
width: width
|
|
11724
|
+
}, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
|
|
11725
|
+
className: "DropdownMultiNew",
|
|
11726
|
+
placeHolder: placeHolder,
|
|
11727
|
+
label: label,
|
|
11728
|
+
labelEmptyValue: labelEmptyValue,
|
|
11729
|
+
labelColor: labelColor,
|
|
11730
|
+
checkBoxColor: checkBoxColor,
|
|
11731
|
+
required: required,
|
|
11732
|
+
options: options,
|
|
11733
|
+
width: width,
|
|
11734
|
+
disabled: disabled,
|
|
11735
|
+
error: error,
|
|
11736
|
+
errorMessage: errorMessage,
|
|
11737
|
+
selectedValue: selectedValue,
|
|
11738
|
+
xIconShow: xIconShow,
|
|
11739
|
+
onChange: onChange,
|
|
11740
|
+
showLabelOnTop: showLabelOnTop,
|
|
11741
|
+
orderBy: orderBy,
|
|
11742
|
+
elementType: elementType
|
|
11743
|
+
}) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
|
|
11744
|
+
className: "DropdownSingleNew",
|
|
11745
|
+
placeHolder: placeHolder,
|
|
11746
|
+
label: label,
|
|
11747
|
+
labelEmptyValue: labelEmptyValue,
|
|
11748
|
+
labelColor: labelColor,
|
|
11749
|
+
checkBoxColor: checkBoxColor,
|
|
11750
|
+
required: required,
|
|
11751
|
+
options: options,
|
|
11752
|
+
width: width,
|
|
11753
|
+
disabled: disabled,
|
|
11754
|
+
error: error,
|
|
11755
|
+
errorMessage: errorMessage,
|
|
11756
|
+
selectedValue: selectedValue,
|
|
11757
|
+
xIconShow: xIconShow,
|
|
11758
|
+
onChange: onChange,
|
|
11759
|
+
showLabelOnTop: showLabelOnTop,
|
|
11760
|
+
orderBy: orderBy,
|
|
11761
|
+
elementType: elementType
|
|
11762
|
+
}));
|
|
11767
11763
|
DropdownNew.propTypes = {
|
|
11768
|
-
placeHolder: PropTypes
|
|
11769
|
-
label: PropTypes
|
|
11770
|
-
labelEmptyValue: PropTypes
|
|
11771
|
-
labelColor: PropTypes
|
|
11772
|
-
checkBoxColor: PropTypes
|
|
11773
|
-
required: PropTypes
|
|
11774
|
-
width: PropTypes
|
|
11775
|
-
disabled: PropTypes
|
|
11776
|
-
error: PropTypes
|
|
11777
|
-
errorMessage: PropTypes
|
|
11778
|
-
options: PropTypes
|
|
11779
|
-
id: PropTypes
|
|
11780
|
-
label: PropTypes
|
|
11764
|
+
placeHolder: PropTypes.string,
|
|
11765
|
+
label: PropTypes.string,
|
|
11766
|
+
labelEmptyValue: PropTypes.string,
|
|
11767
|
+
labelColor: PropTypes.string,
|
|
11768
|
+
checkBoxColor: PropTypes.string,
|
|
11769
|
+
required: PropTypes.bool,
|
|
11770
|
+
width: PropTypes.string,
|
|
11771
|
+
disabled: PropTypes.bool,
|
|
11772
|
+
error: PropTypes.bool,
|
|
11773
|
+
errorMessage: PropTypes.string,
|
|
11774
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
11775
|
+
id: PropTypes.string,
|
|
11776
|
+
label: PropTypes.string
|
|
11781
11777
|
})),
|
|
11782
|
-
selectedValue: PropTypes
|
|
11783
|
-
id: PropTypes
|
|
11784
|
-
label: PropTypes
|
|
11778
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
11779
|
+
id: PropTypes.string,
|
|
11780
|
+
label: PropTypes.string
|
|
11785
11781
|
})),
|
|
11786
|
-
xIconShow: PropTypes
|
|
11787
|
-
onChange: PropTypes
|
|
11788
|
-
showLabelOnTop: PropTypes
|
|
11782
|
+
xIconShow: PropTypes.bool,
|
|
11783
|
+
onChange: PropTypes.func,
|
|
11784
|
+
showLabelOnTop: PropTypes.bool
|
|
11789
11785
|
};
|
|
11790
11786
|
DropdownNew.defaultProps = {
|
|
11791
11787
|
placeHolder: "Type...",
|
|
@@ -12177,21 +12173,20 @@ const DatePicker = ({
|
|
|
12177
12173
|
};
|
|
12178
12174
|
|
|
12179
12175
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12180
|
-
const RangePicker =
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
} = _ref;
|
|
12176
|
+
const RangePicker = ({
|
|
12177
|
+
label,
|
|
12178
|
+
onChange,
|
|
12179
|
+
borderRadius,
|
|
12180
|
+
required,
|
|
12181
|
+
width,
|
|
12182
|
+
height,
|
|
12183
|
+
placeholder,
|
|
12184
|
+
disabled,
|
|
12185
|
+
borderColor,
|
|
12186
|
+
borderColorFocus,
|
|
12187
|
+
textColor,
|
|
12188
|
+
selectedValue
|
|
12189
|
+
}) => {
|
|
12195
12190
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
12196
12191
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
12197
12192
|
const [value, setValue] = React$1.useState(''); // Added value state
|
|
@@ -12323,20 +12318,20 @@ const RangePicker = _ref => {
|
|
|
12323
12318
|
})));
|
|
12324
12319
|
};
|
|
12325
12320
|
RangePicker.propTypes = {
|
|
12326
|
-
label: PropTypes
|
|
12327
|
-
onChange: PropTypes
|
|
12328
|
-
borderRadius: PropTypes
|
|
12329
|
-
required: PropTypes
|
|
12330
|
-
width: PropTypes
|
|
12331
|
-
height: PropTypes
|
|
12332
|
-
placeholder: PropTypes
|
|
12333
|
-
disabled: PropTypes
|
|
12334
|
-
borderColor: PropTypes
|
|
12321
|
+
label: PropTypes.string.isRequired,
|
|
12322
|
+
onChange: PropTypes.func.isRequired,
|
|
12323
|
+
borderRadius: PropTypes.string.isRequired,
|
|
12324
|
+
required: PropTypes.bool,
|
|
12325
|
+
width: PropTypes.string,
|
|
12326
|
+
height: PropTypes.string,
|
|
12327
|
+
placeholder: PropTypes.string,
|
|
12328
|
+
disabled: PropTypes.bool,
|
|
12329
|
+
borderColor: PropTypes.string,
|
|
12335
12330
|
// Added borderColor prop
|
|
12336
|
-
borderColorFocus: PropTypes
|
|
12337
|
-
textColor: PropTypes
|
|
12331
|
+
borderColorFocus: PropTypes.string,
|
|
12332
|
+
textColor: PropTypes.string,
|
|
12338
12333
|
// Added textColor prop
|
|
12339
|
-
selectedValue: PropTypes
|
|
12334
|
+
selectedValue: PropTypes.string
|
|
12340
12335
|
};
|
|
12341
12336
|
|
|
12342
12337
|
// Adding defaultProps
|
|
@@ -12619,23 +12614,22 @@ const QuarterPopupPicker = ({
|
|
|
12619
12614
|
};
|
|
12620
12615
|
|
|
12621
12616
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12622
|
-
const QuarterPicker =
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
} = _ref;
|
|
12617
|
+
const QuarterPicker = ({
|
|
12618
|
+
availableQuarters,
|
|
12619
|
+
// ["Q1-2024"]
|
|
12620
|
+
label,
|
|
12621
|
+
onChange,
|
|
12622
|
+
borderRadius,
|
|
12623
|
+
required,
|
|
12624
|
+
width,
|
|
12625
|
+
height,
|
|
12626
|
+
placeholder,
|
|
12627
|
+
disabled,
|
|
12628
|
+
borderColor,
|
|
12629
|
+
borderColorFocus,
|
|
12630
|
+
textColor,
|
|
12631
|
+
selectedValue
|
|
12632
|
+
}) => {
|
|
12639
12633
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
12640
12634
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
12641
12635
|
const [value, setValue] = React$1.useState('');
|
|
@@ -12757,19 +12751,19 @@ const QuarterPicker = _ref => {
|
|
|
12757
12751
|
})));
|
|
12758
12752
|
};
|
|
12759
12753
|
QuarterPicker.propTypes = {
|
|
12760
|
-
availableQuarters: PropTypes
|
|
12761
|
-
label: PropTypes
|
|
12762
|
-
onChange: PropTypes
|
|
12763
|
-
borderRadius: PropTypes
|
|
12764
|
-
required: PropTypes
|
|
12765
|
-
width: PropTypes
|
|
12766
|
-
height: PropTypes
|
|
12767
|
-
placeholder: PropTypes
|
|
12768
|
-
disabled: PropTypes
|
|
12769
|
-
borderColor: PropTypes
|
|
12770
|
-
borderColorFocus: PropTypes
|
|
12771
|
-
textColor: PropTypes
|
|
12772
|
-
selectedValue: PropTypes
|
|
12754
|
+
availableQuarters: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12755
|
+
label: PropTypes.string.isRequired,
|
|
12756
|
+
onChange: PropTypes.func.isRequired,
|
|
12757
|
+
borderRadius: PropTypes.string.isRequired,
|
|
12758
|
+
required: PropTypes.bool,
|
|
12759
|
+
width: PropTypes.string,
|
|
12760
|
+
height: PropTypes.string,
|
|
12761
|
+
placeholder: PropTypes.string,
|
|
12762
|
+
disabled: PropTypes.bool,
|
|
12763
|
+
borderColor: PropTypes.string,
|
|
12764
|
+
borderColorFocus: PropTypes.string,
|
|
12765
|
+
textColor: PropTypes.string,
|
|
12766
|
+
selectedValue: PropTypes.string
|
|
12773
12767
|
};
|
|
12774
12768
|
QuarterPicker.defaultProps = {
|
|
12775
12769
|
required: true,
|
|
@@ -13207,22 +13201,22 @@ const MonthPicker = ({
|
|
|
13207
13201
|
})));
|
|
13208
13202
|
};
|
|
13209
13203
|
MonthPicker.propTypes = {
|
|
13210
|
-
availableMonths: PropTypes
|
|
13211
|
-
label: PropTypes
|
|
13212
|
-
onChange: PropTypes
|
|
13213
|
-
borderRadius: PropTypes
|
|
13214
|
-
required: PropTypes
|
|
13215
|
-
width: PropTypes
|
|
13216
|
-
height: PropTypes
|
|
13217
|
-
placeholder: PropTypes
|
|
13218
|
-
disabled: PropTypes
|
|
13219
|
-
borderColor: PropTypes
|
|
13204
|
+
availableMonths: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
13205
|
+
label: PropTypes.string.isRequired,
|
|
13206
|
+
onChange: PropTypes.func.isRequired,
|
|
13207
|
+
borderRadius: PropTypes.string.isRequired,
|
|
13208
|
+
required: PropTypes.bool,
|
|
13209
|
+
width: PropTypes.string,
|
|
13210
|
+
height: PropTypes.string,
|
|
13211
|
+
placeholder: PropTypes.string,
|
|
13212
|
+
disabled: PropTypes.bool,
|
|
13213
|
+
borderColor: PropTypes.string,
|
|
13220
13214
|
// Added borderColor prop
|
|
13221
|
-
borderColorFocus: PropTypes
|
|
13215
|
+
borderColorFocus: PropTypes.string,
|
|
13222
13216
|
// Added borderColorFocus prop
|
|
13223
|
-
textColor: PropTypes
|
|
13217
|
+
textColor: PropTypes.string,
|
|
13224
13218
|
// Added textColor prop
|
|
13225
|
-
selectedValue: PropTypes
|
|
13219
|
+
selectedValue: PropTypes.string
|
|
13226
13220
|
};
|
|
13227
13221
|
MonthPicker.defaultProps = {
|
|
13228
13222
|
required: true,
|
|
@@ -13888,50 +13882,50 @@ const FilterPanel = props => {
|
|
|
13888
13882
|
})));
|
|
13889
13883
|
};
|
|
13890
13884
|
FilterPanel.propTypes = {
|
|
13891
|
-
availableQuarters: PropTypes
|
|
13892
|
-
availableMonths: PropTypes
|
|
13893
|
-
availableYears: PropTypes
|
|
13894
|
-
fieldsData: PropTypes
|
|
13895
|
-
disabled: PropTypes
|
|
13896
|
-
required: PropTypes
|
|
13897
|
-
inputType: PropTypes
|
|
13898
|
-
placeHolder: PropTypes
|
|
13899
|
-
xIconShow: PropTypes
|
|
13900
|
-
label: PropTypes
|
|
13901
|
-
labelEmptyValue: PropTypes
|
|
13902
|
-
name: PropTypes
|
|
13903
|
-
periodPickerSelectedValue: PropTypes
|
|
13904
|
-
selectedValue: PropTypes
|
|
13905
|
-
value: PropTypes
|
|
13906
|
-
label: PropTypes
|
|
13885
|
+
availableQuarters: PropTypes.arrayOf(PropTypes.string),
|
|
13886
|
+
availableMonths: PropTypes.arrayOf(PropTypes.string),
|
|
13887
|
+
availableYears: PropTypes.arrayOf(PropTypes.string),
|
|
13888
|
+
fieldsData: PropTypes.arrayOf(PropTypes.shape({
|
|
13889
|
+
disabled: PropTypes.bool,
|
|
13890
|
+
required: PropTypes.bool,
|
|
13891
|
+
inputType: PropTypes.string,
|
|
13892
|
+
placeHolder: PropTypes.string,
|
|
13893
|
+
xIconShow: PropTypes.bool,
|
|
13894
|
+
label: PropTypes.string,
|
|
13895
|
+
labelEmptyValue: PropTypes.string,
|
|
13896
|
+
name: PropTypes.string,
|
|
13897
|
+
periodPickerSelectedValue: PropTypes.string,
|
|
13898
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
13899
|
+
value: PropTypes.string,
|
|
13900
|
+
label: PropTypes.string
|
|
13907
13901
|
})),
|
|
13908
|
-
orderBy: PropTypes
|
|
13909
|
-
elementType: PropTypes
|
|
13910
|
-
value: PropTypes
|
|
13911
|
-
color: PropTypes
|
|
13912
|
-
defaultValueYears: PropTypes
|
|
13913
|
-
value: PropTypes
|
|
13914
|
-
label: PropTypes
|
|
13902
|
+
orderBy: PropTypes.string,
|
|
13903
|
+
elementType: PropTypes.string,
|
|
13904
|
+
value: PropTypes.number,
|
|
13905
|
+
color: PropTypes.string,
|
|
13906
|
+
defaultValueYears: PropTypes.shape({
|
|
13907
|
+
value: PropTypes.string,
|
|
13908
|
+
label: PropTypes.string
|
|
13915
13909
|
}),
|
|
13916
|
-
dropdownOptions: PropTypes
|
|
13917
|
-
value: PropTypes
|
|
13918
|
-
label: PropTypes
|
|
13910
|
+
dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
13911
|
+
value: PropTypes.string,
|
|
13912
|
+
label: PropTypes.string
|
|
13919
13913
|
}))
|
|
13920
13914
|
})),
|
|
13921
|
-
width: PropTypes
|
|
13922
|
-
height: PropTypes
|
|
13923
|
-
okButtonBackgroundColor: PropTypes
|
|
13924
|
-
okButtonHoverColor: PropTypes
|
|
13925
|
-
resetButtonHoverColor: PropTypes
|
|
13926
|
-
borderColor: PropTypes
|
|
13927
|
-
onOkClick: PropTypes
|
|
13928
|
-
onResetClick: PropTypes
|
|
13929
|
-
onItemValueChanged: PropTypes
|
|
13930
|
-
disableOKButton: PropTypes
|
|
13931
|
-
className: PropTypes
|
|
13932
|
-
useExternalFilterState: PropTypes
|
|
13933
|
-
showShadow: PropTypes
|
|
13934
|
-
tooltipTextGoButton: PropTypes
|
|
13915
|
+
width: PropTypes.string,
|
|
13916
|
+
height: PropTypes.string,
|
|
13917
|
+
okButtonBackgroundColor: PropTypes.string,
|
|
13918
|
+
okButtonHoverColor: PropTypes.string,
|
|
13919
|
+
resetButtonHoverColor: PropTypes.string,
|
|
13920
|
+
borderColor: PropTypes.string,
|
|
13921
|
+
onOkClick: PropTypes.func,
|
|
13922
|
+
onResetClick: PropTypes.func,
|
|
13923
|
+
onItemValueChanged: PropTypes.func,
|
|
13924
|
+
disableOKButton: PropTypes.bool,
|
|
13925
|
+
className: PropTypes.string,
|
|
13926
|
+
useExternalFilterState: PropTypes.bool,
|
|
13927
|
+
showShadow: PropTypes.bool,
|
|
13928
|
+
tooltipTextGoButton: PropTypes.string
|
|
13935
13929
|
};
|
|
13936
13930
|
FilterPanel.defaultProps = {
|
|
13937
13931
|
availableQuarters: ['Q1-2024'],
|
|
@@ -14635,28 +14629,28 @@ const ReportTable = props => {
|
|
|
14635
14629
|
}), /*#__PURE__*/React__default["default"].createElement(InfoText, null, "Download table to get the full data")) : "");
|
|
14636
14630
|
};
|
|
14637
14631
|
ReportTable.propTypes = {
|
|
14638
|
-
buttonText: PropTypes
|
|
14639
|
-
buttonIconName: PropTypes
|
|
14640
|
-
tableData: PropTypes
|
|
14641
|
-
columnsHeadings: PropTypes
|
|
14642
|
-
label: PropTypes
|
|
14643
|
-
key: PropTypes
|
|
14632
|
+
buttonText: PropTypes.string,
|
|
14633
|
+
buttonIconName: PropTypes.string,
|
|
14634
|
+
tableData: PropTypes.shape({
|
|
14635
|
+
columnsHeadings: PropTypes.arrayOf(PropTypes.shape({
|
|
14636
|
+
label: PropTypes.string,
|
|
14637
|
+
key: PropTypes.string
|
|
14644
14638
|
})),
|
|
14645
|
-
rowsValues: PropTypes
|
|
14639
|
+
rowsValues: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.string))
|
|
14646
14640
|
}),
|
|
14647
|
-
maxColumnsNumber: PropTypes
|
|
14648
|
-
useColorLinearGradient: PropTypes
|
|
14649
|
-
useSelectButtons: PropTypes
|
|
14650
|
-
disableSelectButtons: PropTypes
|
|
14651
|
-
disableInfo: PropTypes
|
|
14652
|
-
selectTextColor: PropTypes
|
|
14653
|
-
onSelectRowClick: PropTypes
|
|
14654
|
-
onCheckRowClick: PropTypes
|
|
14655
|
-
onAllRowsCheckBoxClick: PropTypes
|
|
14656
|
-
useCheckBoxes: PropTypes
|
|
14657
|
-
selectHoverColor: PropTypes
|
|
14658
|
-
enableHover: PropTypes
|
|
14659
|
-
enablePagination: PropTypes
|
|
14641
|
+
maxColumnsNumber: PropTypes.number,
|
|
14642
|
+
useColorLinearGradient: PropTypes.bool,
|
|
14643
|
+
useSelectButtons: PropTypes.bool,
|
|
14644
|
+
disableSelectButtons: PropTypes.bool,
|
|
14645
|
+
disableInfo: PropTypes.bool,
|
|
14646
|
+
selectTextColor: PropTypes.string,
|
|
14647
|
+
onSelectRowClick: PropTypes.func,
|
|
14648
|
+
onCheckRowClick: PropTypes.func,
|
|
14649
|
+
onAllRowsCheckBoxClick: PropTypes.func,
|
|
14650
|
+
useCheckBoxes: PropTypes.bool,
|
|
14651
|
+
selectHoverColor: PropTypes.string,
|
|
14652
|
+
enableHover: PropTypes.bool,
|
|
14653
|
+
enablePagination: PropTypes.bool
|
|
14660
14654
|
};
|
|
14661
14655
|
ReportTable.defaultProps = {
|
|
14662
14656
|
buttonText: "Select",
|
|
@@ -14790,12 +14784,12 @@ const EventListItem = props => {
|
|
|
14790
14784
|
})));
|
|
14791
14785
|
};
|
|
14792
14786
|
EventListItem.propTypes = {
|
|
14793
|
-
eventName: PropTypes
|
|
14794
|
-
period: PropTypes
|
|
14795
|
-
width: PropTypes
|
|
14796
|
-
height: PropTypes
|
|
14797
|
-
selectTextColor: PropTypes
|
|
14798
|
-
onClick: PropTypes
|
|
14787
|
+
eventName: PropTypes.string,
|
|
14788
|
+
period: PropTypes.string,
|
|
14789
|
+
width: PropTypes.string,
|
|
14790
|
+
height: PropTypes.string,
|
|
14791
|
+
selectTextColor: PropTypes.string,
|
|
14792
|
+
onClick: PropTypes.func
|
|
14799
14793
|
};
|
|
14800
14794
|
EventListItem.defaultProps = {
|
|
14801
14795
|
eventName: '',
|
|
@@ -14879,15 +14873,15 @@ const EventList = props => {
|
|
|
14879
14873
|
//= ======================================== MAIN RETURN END====================================
|
|
14880
14874
|
};
|
|
14881
14875
|
EventList.propTypes = {
|
|
14882
|
-
eventsData: PropTypes
|
|
14883
|
-
eventName: PropTypes
|
|
14884
|
-
period: PropTypes
|
|
14876
|
+
eventsData: PropTypes.arrayOf(PropTypes.shape({
|
|
14877
|
+
eventName: PropTypes.string,
|
|
14878
|
+
period: PropTypes.string
|
|
14885
14879
|
})),
|
|
14886
|
-
selectTextColor: PropTypes
|
|
14887
|
-
height: PropTypes
|
|
14888
|
-
width: PropTypes
|
|
14889
|
-
itemHeight: PropTypes
|
|
14890
|
-
onSelectClick: PropTypes
|
|
14880
|
+
selectTextColor: PropTypes.string,
|
|
14881
|
+
height: PropTypes.string,
|
|
14882
|
+
width: PropTypes.string,
|
|
14883
|
+
itemHeight: PropTypes.string,
|
|
14884
|
+
onSelectClick: PropTypes.func
|
|
14891
14885
|
};
|
|
14892
14886
|
EventList.defaultProps = {
|
|
14893
14887
|
eventsData: [],
|
|
@@ -15211,15 +15205,15 @@ const BannerEventBox = props => {
|
|
|
15211
15205
|
}, /*#__PURE__*/React__default["default"].createElement(KeyBlock, null, /*#__PURE__*/React__default["default"].createElement(Key, null, item.name), /*#__PURE__*/React__default["default"].createElement("br", null), /*#__PURE__*/React__default["default"].createElement(Count, null, item.items)), index !== data.length - 1 && /*#__PURE__*/React__default["default"].createElement(Seperator, null)))));
|
|
15212
15206
|
};
|
|
15213
15207
|
BannerEventBox.propTypes = {
|
|
15214
|
-
width: PropTypes
|
|
15215
|
-
height: PropTypes
|
|
15216
|
-
banner: PropTypes
|
|
15217
|
-
buttonText: PropTypes
|
|
15218
|
-
description: PropTypes
|
|
15219
|
-
disabled: PropTypes
|
|
15220
|
-
dates: PropTypes
|
|
15221
|
-
data: PropTypes
|
|
15222
|
-
onInfoClick: PropTypes
|
|
15208
|
+
width: PropTypes.string,
|
|
15209
|
+
height: PropTypes.string,
|
|
15210
|
+
banner: PropTypes.string,
|
|
15211
|
+
buttonText: PropTypes.string,
|
|
15212
|
+
description: PropTypes.string,
|
|
15213
|
+
disabled: PropTypes.bool,
|
|
15214
|
+
dates: PropTypes.arrayOf(PropTypes.string),
|
|
15215
|
+
data: PropTypes.arrayOf(PropTypes.shape({})),
|
|
15216
|
+
onInfoClick: PropTypes.func
|
|
15223
15217
|
};
|
|
15224
15218
|
BannerEventBox.defaultProps = {
|
|
15225
15219
|
width: "auto",
|
|
@@ -15324,24 +15318,24 @@ const BannerEventBoxList = props => {
|
|
|
15324
15318
|
})), showDraft && /*#__PURE__*/React__default["default"].createElement(DraftTag$1, null, "DRAFT")) : children));
|
|
15325
15319
|
};
|
|
15326
15320
|
BannerEventBoxList.propTypes = {
|
|
15327
|
-
className: PropTypes
|
|
15328
|
-
width: PropTypes
|
|
15329
|
-
height: PropTypes
|
|
15330
|
-
eventType: PropTypes
|
|
15331
|
-
eventName: PropTypes
|
|
15332
|
-
count: PropTypes
|
|
15333
|
-
toggleColor: PropTypes
|
|
15334
|
-
data: PropTypes
|
|
15335
|
-
retailer: PropTypes
|
|
15336
|
-
retailerFile: PropTypes
|
|
15337
|
-
showLoader: PropTypes
|
|
15338
|
-
showEventDetails: PropTypes
|
|
15339
|
-
cardsContent: PropTypes
|
|
15340
|
-
linkText: PropTypes
|
|
15341
|
-
disableToggle: PropTypes
|
|
15342
|
-
children: PropTypes
|
|
15343
|
-
bannerWidth: PropTypes
|
|
15344
|
-
showDraft: PropTypes
|
|
15321
|
+
className: PropTypes.string,
|
|
15322
|
+
width: PropTypes.string,
|
|
15323
|
+
height: PropTypes.string,
|
|
15324
|
+
eventType: PropTypes.string,
|
|
15325
|
+
eventName: PropTypes.string,
|
|
15326
|
+
count: PropTypes.number,
|
|
15327
|
+
toggleColor: PropTypes.string,
|
|
15328
|
+
data: PropTypes.arrayOf(PropTypes.shape({})),
|
|
15329
|
+
retailer: PropTypes.string,
|
|
15330
|
+
retailerFile: PropTypes.func,
|
|
15331
|
+
showLoader: PropTypes.bool,
|
|
15332
|
+
showEventDetails: PropTypes.bool,
|
|
15333
|
+
cardsContent: PropTypes.bool,
|
|
15334
|
+
linkText: PropTypes.string,
|
|
15335
|
+
disableToggle: PropTypes.bool,
|
|
15336
|
+
children: PropTypes.node,
|
|
15337
|
+
bannerWidth: PropTypes.string,
|
|
15338
|
+
showDraft: PropTypes.bool
|
|
15345
15339
|
};
|
|
15346
15340
|
BannerEventBoxList.defaultProps = {
|
|
15347
15341
|
className: '',
|
|
@@ -15486,10 +15480,10 @@ const DialogOverlay = props => {
|
|
|
15486
15480
|
}, children)));
|
|
15487
15481
|
};
|
|
15488
15482
|
DialogOverlay.propTypes = {
|
|
15489
|
-
title: PropTypes
|
|
15490
|
-
children: PropTypes
|
|
15491
|
-
onDialogClose: PropTypes
|
|
15492
|
-
className: PropTypes
|
|
15483
|
+
title: PropTypes.string,
|
|
15484
|
+
children: PropTypes.node,
|
|
15485
|
+
onDialogClose: PropTypes.func,
|
|
15486
|
+
className: PropTypes.string
|
|
15493
15487
|
};
|
|
15494
15488
|
DialogOverlay.defaultProps = {
|
|
15495
15489
|
title: 'Title',
|
|
@@ -26076,35 +26070,35 @@ const CollapseHeader = props => {
|
|
|
26076
26070
|
}, data.eventDatesValue) : "")))));
|
|
26077
26071
|
};
|
|
26078
26072
|
CollapseHeader.propTypes = {
|
|
26079
|
-
className: PropTypes
|
|
26080
|
-
showRetailerIcon: PropTypes
|
|
26081
|
-
showPeriodIcon: PropTypes
|
|
26082
|
-
viewCreativeRetailersData: PropTypes
|
|
26083
|
-
label: PropTypes
|
|
26073
|
+
className: PropTypes.string,
|
|
26074
|
+
showRetailerIcon: PropTypes.bool,
|
|
26075
|
+
showPeriodIcon: PropTypes.bool,
|
|
26076
|
+
viewCreativeRetailersData: PropTypes.arrayOf(PropTypes.shape({
|
|
26077
|
+
label: PropTypes.string
|
|
26084
26078
|
})),
|
|
26085
|
-
data: PropTypes
|
|
26086
|
-
eventType: PropTypes
|
|
26087
|
-
retailer: PropTypes
|
|
26088
|
-
eventDescription: PropTypes
|
|
26089
|
-
objectivesDescription: PropTypes
|
|
26090
|
-
eventDatesValue: PropTypes
|
|
26091
|
-
externalEventDescription: PropTypes
|
|
26092
|
-
externalEventID: PropTypes
|
|
26093
|
-
storeType: PropTypes
|
|
26094
|
-
category: PropTypes
|
|
26095
|
-
supplier: PropTypes
|
|
26096
|
-
brand: PropTypes
|
|
26079
|
+
data: PropTypes.shape({
|
|
26080
|
+
eventType: PropTypes.string,
|
|
26081
|
+
retailer: PropTypes.string,
|
|
26082
|
+
eventDescription: PropTypes.string,
|
|
26083
|
+
objectivesDescription: PropTypes.string,
|
|
26084
|
+
eventDatesValue: PropTypes.string,
|
|
26085
|
+
externalEventDescription: PropTypes.string,
|
|
26086
|
+
externalEventID: PropTypes.string,
|
|
26087
|
+
storeType: PropTypes.string,
|
|
26088
|
+
category: PropTypes.string,
|
|
26089
|
+
supplier: PropTypes.string,
|
|
26090
|
+
brand: PropTypes.string
|
|
26097
26091
|
}),
|
|
26098
|
-
showViewCreativeButton: PropTypes
|
|
26099
|
-
viewCreativeOnClick: PropTypes
|
|
26100
|
-
descriptionTitle: PropTypes
|
|
26101
|
-
datesTitle: PropTypes
|
|
26102
|
-
width: PropTypes
|
|
26103
|
-
height: PropTypes
|
|
26104
|
-
textcolor: PropTypes
|
|
26105
|
-
showDraft: PropTypes
|
|
26106
|
-
buttonText: PropTypes
|
|
26107
|
-
disabled: PropTypes
|
|
26092
|
+
showViewCreativeButton: PropTypes.bool,
|
|
26093
|
+
viewCreativeOnClick: PropTypes.func,
|
|
26094
|
+
descriptionTitle: PropTypes.string,
|
|
26095
|
+
datesTitle: PropTypes.string,
|
|
26096
|
+
width: PropTypes.string,
|
|
26097
|
+
height: PropTypes.string,
|
|
26098
|
+
textcolor: PropTypes.string,
|
|
26099
|
+
showDraft: PropTypes.bool,
|
|
26100
|
+
buttonText: PropTypes.string,
|
|
26101
|
+
disabled: PropTypes.bool
|
|
26108
26102
|
};
|
|
26109
26103
|
CollapseHeader.defaultProps = {
|
|
26110
26104
|
className: "",
|
|
@@ -26467,25 +26461,25 @@ const QuickFilterDropdownSingle = ({
|
|
|
26467
26461
|
}, highlightText(option.label, inputValue))))));
|
|
26468
26462
|
};
|
|
26469
26463
|
QuickFilterDropdownSingle.propTypes = {
|
|
26470
|
-
placeHolder: PropTypes
|
|
26471
|
-
label: PropTypes
|
|
26472
|
-
labelColor: PropTypes
|
|
26473
|
-
hoverColor: PropTypes
|
|
26474
|
-
width: PropTypes
|
|
26475
|
-
disabled: PropTypes
|
|
26476
|
-
error: PropTypes
|
|
26464
|
+
placeHolder: PropTypes.string,
|
|
26465
|
+
label: PropTypes.string,
|
|
26466
|
+
labelColor: PropTypes.string,
|
|
26467
|
+
hoverColor: PropTypes.string,
|
|
26468
|
+
width: PropTypes.string,
|
|
26469
|
+
disabled: PropTypes.bool,
|
|
26470
|
+
error: PropTypes.bool,
|
|
26477
26471
|
errorMessage: "",
|
|
26478
|
-
options: PropTypes
|
|
26479
|
-
value: PropTypes
|
|
26480
|
-
label: PropTypes
|
|
26472
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
26473
|
+
value: PropTypes.string,
|
|
26474
|
+
label: PropTypes.string
|
|
26481
26475
|
})),
|
|
26482
|
-
selectedValue: PropTypes
|
|
26483
|
-
value: PropTypes
|
|
26484
|
-
label: PropTypes
|
|
26476
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
26477
|
+
value: PropTypes.string,
|
|
26478
|
+
label: PropTypes.string
|
|
26485
26479
|
})),
|
|
26486
|
-
xIconShow: PropTypes
|
|
26487
|
-
onChange: PropTypes
|
|
26488
|
-
showLabelOnTop: PropTypes
|
|
26480
|
+
xIconShow: PropTypes.bool,
|
|
26481
|
+
onChange: PropTypes.func,
|
|
26482
|
+
showLabelOnTop: PropTypes.bool
|
|
26489
26483
|
};
|
|
26490
26484
|
QuickFilterDropdownSingle.defaultProps = {
|
|
26491
26485
|
placeHolder: "Type...",
|
|
@@ -26944,27 +26938,27 @@ const QuickFilterDropdownMultiSelection = ({
|
|
|
26944
26938
|
})), option.label)))));
|
|
26945
26939
|
};
|
|
26946
26940
|
QuickFilterDropdownMultiSelection.propTypes = {
|
|
26947
|
-
placeHolder: PropTypes
|
|
26948
|
-
label: PropTypes
|
|
26949
|
-
labelEmptyValue: PropTypes
|
|
26950
|
-
labelColor: PropTypes
|
|
26951
|
-
checkBoxColor: PropTypes
|
|
26952
|
-
required: PropTypes
|
|
26953
|
-
width: PropTypes
|
|
26954
|
-
disabled: PropTypes
|
|
26955
|
-
error: PropTypes
|
|
26941
|
+
placeHolder: PropTypes.string,
|
|
26942
|
+
label: PropTypes.string,
|
|
26943
|
+
labelEmptyValue: PropTypes.string,
|
|
26944
|
+
labelColor: PropTypes.string,
|
|
26945
|
+
checkBoxColor: PropTypes.string,
|
|
26946
|
+
required: PropTypes.bool,
|
|
26947
|
+
width: PropTypes.string,
|
|
26948
|
+
disabled: PropTypes.bool,
|
|
26949
|
+
error: PropTypes.bool,
|
|
26956
26950
|
errorMessage: '',
|
|
26957
|
-
options: PropTypes
|
|
26958
|
-
value: PropTypes
|
|
26959
|
-
label: PropTypes
|
|
26951
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
26952
|
+
value: PropTypes.string,
|
|
26953
|
+
label: PropTypes.string
|
|
26960
26954
|
})),
|
|
26961
|
-
selectedValue: PropTypes
|
|
26962
|
-
value: PropTypes
|
|
26963
|
-
label: PropTypes
|
|
26955
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
26956
|
+
value: PropTypes.string,
|
|
26957
|
+
label: PropTypes.string
|
|
26964
26958
|
})),
|
|
26965
|
-
onChange: PropTypes
|
|
26966
|
-
xIconShow: PropTypes
|
|
26967
|
-
showLabelOnTop: PropTypes
|
|
26959
|
+
onChange: PropTypes.func,
|
|
26960
|
+
xIconShow: PropTypes.bool,
|
|
26961
|
+
showLabelOnTop: PropTypes.bool
|
|
26968
26962
|
};
|
|
26969
26963
|
QuickFilterDropdownMultiSelection.defaultProps = {
|
|
26970
26964
|
placeHolder: 'Type...',
|
|
@@ -27490,18 +27484,18 @@ const FormattedValue$2 = props => {
|
|
|
27490
27484
|
}, subtitle) : '')));
|
|
27491
27485
|
};
|
|
27492
27486
|
FormattedValue$2.propTypes = {
|
|
27493
|
-
className: PropTypes
|
|
27494
|
-
title: PropTypes
|
|
27495
|
-
subtitle: PropTypes
|
|
27496
|
-
showTopValue: PropTypes
|
|
27497
|
-
value: PropTypes
|
|
27498
|
-
dotCut: PropTypes
|
|
27499
|
-
currencySign: PropTypes
|
|
27500
|
-
currencyType: PropTypes
|
|
27501
|
-
width: PropTypes
|
|
27502
|
-
height: PropTypes
|
|
27503
|
-
textcolor: PropTypes
|
|
27504
|
-
isPercent: PropTypes
|
|
27487
|
+
className: PropTypes.string,
|
|
27488
|
+
title: PropTypes.string,
|
|
27489
|
+
subtitle: PropTypes.string,
|
|
27490
|
+
showTopValue: PropTypes.bool,
|
|
27491
|
+
value: PropTypes.number,
|
|
27492
|
+
dotCut: PropTypes.bool,
|
|
27493
|
+
currencySign: PropTypes.bool,
|
|
27494
|
+
currencyType: PropTypes.string,
|
|
27495
|
+
width: PropTypes.string,
|
|
27496
|
+
height: PropTypes.string,
|
|
27497
|
+
textcolor: PropTypes.string,
|
|
27498
|
+
isPercent: PropTypes.bool
|
|
27505
27499
|
};
|
|
27506
27500
|
FormattedValue$2.defaultProps = {
|
|
27507
27501
|
className: 'FormattedValue_ControlsContainer',
|
|
@@ -27733,13 +27727,13 @@ const PerformanceAnalyticsLegend = props => {
|
|
|
27733
27727
|
}, item.title))))) : '');
|
|
27734
27728
|
};
|
|
27735
27729
|
PerformanceAnalyticsLegend.propTypes = {
|
|
27736
|
-
className: PropTypes
|
|
27737
|
-
width: PropTypes
|
|
27738
|
-
height: PropTypes
|
|
27739
|
-
legendData: PropTypes
|
|
27740
|
-
title: PropTypes
|
|
27741
|
-
iconType: PropTypes
|
|
27742
|
-
iconColor: PropTypes
|
|
27730
|
+
className: PropTypes.string,
|
|
27731
|
+
width: PropTypes.string,
|
|
27732
|
+
height: PropTypes.string,
|
|
27733
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
27734
|
+
title: PropTypes.string.isRequired,
|
|
27735
|
+
iconType: PropTypes.oneOf([ICON_TYPE_SQUARE$1, ICON_TYPE_LEGEND_UNION_ICON$1, ICON_TYPE_LEGEND_LINE_ICON$1]).isRequired,
|
|
27736
|
+
iconColor: PropTypes.string.isRequired
|
|
27743
27737
|
}))
|
|
27744
27738
|
};
|
|
27745
27739
|
PerformanceAnalyticsLegend.defaultProps = {
|
|
@@ -27968,41 +27962,41 @@ const BarChartsByWeeks = props => {
|
|
|
27968
27962
|
}))));
|
|
27969
27963
|
};
|
|
27970
27964
|
BarChartsByWeeks.propTypes = {
|
|
27971
|
-
className: PropTypes
|
|
27972
|
-
title: PropTypes
|
|
27973
|
-
showHeaderTopValue: PropTypes
|
|
27974
|
-
headerValueTopTitle: PropTypes
|
|
27975
|
-
headerValueBottomTitle: PropTypes
|
|
27976
|
-
headerValue: PropTypes
|
|
27977
|
-
HeaderValueCurrencyType: PropTypes
|
|
27978
|
-
HeaderValueIsPercent: PropTypes
|
|
27979
|
-
barChartData: PropTypes
|
|
27980
|
-
title: PropTypes
|
|
27981
|
-
value: PropTypes
|
|
27965
|
+
className: PropTypes.string,
|
|
27966
|
+
title: PropTypes.string,
|
|
27967
|
+
showHeaderTopValue: PropTypes.bool,
|
|
27968
|
+
headerValueTopTitle: PropTypes.string,
|
|
27969
|
+
headerValueBottomTitle: PropTypes.string,
|
|
27970
|
+
headerValue: PropTypes.number,
|
|
27971
|
+
HeaderValueCurrencyType: PropTypes.string,
|
|
27972
|
+
HeaderValueIsPercent: PropTypes.bool,
|
|
27973
|
+
barChartData: PropTypes.arrayOf(PropTypes.shape({
|
|
27974
|
+
title: PropTypes.string,
|
|
27975
|
+
value: PropTypes.number
|
|
27982
27976
|
})),
|
|
27983
|
-
isTitleOriganal: PropTypes
|
|
27984
|
-
width: PropTypes
|
|
27985
|
-
height: PropTypes
|
|
27986
|
-
barChartColor: PropTypes
|
|
27987
|
-
barChartSecondColor: PropTypes
|
|
27988
|
-
xselectedColor: PropTypes
|
|
27989
|
-
startWeekRange: PropTypes
|
|
27990
|
-
endWeekRange: PropTypes
|
|
27991
|
-
tooltipTitle: PropTypes
|
|
27992
|
-
tooltipSecondTitle: PropTypes
|
|
27993
|
-
yAxisCounter: PropTypes
|
|
27994
|
-
isPercentValue: PropTypes
|
|
27995
|
-
interval: PropTypes
|
|
27996
|
-
showTitle: PropTypes
|
|
27997
|
-
showLegend: PropTypes
|
|
27998
|
-
legendData: PropTypes
|
|
27999
|
-
title: PropTypes
|
|
28000
|
-
iconType: PropTypes
|
|
28001
|
-
iconColor: PropTypes
|
|
27977
|
+
isTitleOriganal: PropTypes.bool,
|
|
27978
|
+
width: PropTypes.string,
|
|
27979
|
+
height: PropTypes.string,
|
|
27980
|
+
barChartColor: PropTypes.string,
|
|
27981
|
+
barChartSecondColor: PropTypes.string,
|
|
27982
|
+
xselectedColor: PropTypes.string,
|
|
27983
|
+
startWeekRange: PropTypes.string,
|
|
27984
|
+
endWeekRange: PropTypes.string,
|
|
27985
|
+
tooltipTitle: PropTypes.string,
|
|
27986
|
+
tooltipSecondTitle: PropTypes.string,
|
|
27987
|
+
yAxisCounter: PropTypes.number,
|
|
27988
|
+
isPercentValue: PropTypes.bool,
|
|
27989
|
+
interval: PropTypes.string,
|
|
27990
|
+
showTitle: PropTypes.bool,
|
|
27991
|
+
showLegend: PropTypes.bool,
|
|
27992
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
27993
|
+
title: PropTypes.string.isRequired,
|
|
27994
|
+
iconType: PropTypes.oneOf([ICON_TYPE_SQUARE, ICON_TYPE_LEGEND_UNION_ICON, ICON_TYPE_LEGEND_LINE_ICON]).isRequired,
|
|
27995
|
+
iconColor: PropTypes.string.isRequired
|
|
28002
27996
|
})),
|
|
28003
|
-
showTwoBars: PropTypes
|
|
28004
|
-
setLimitHeight: PropTypes
|
|
28005
|
-
setLimitLow: PropTypes
|
|
27997
|
+
showTwoBars: PropTypes.bool,
|
|
27998
|
+
setLimitHeight: PropTypes.number,
|
|
27999
|
+
setLimitLow: PropTypes.number
|
|
28006
28000
|
};
|
|
28007
28001
|
BarChartsByWeeks.defaultProps = {
|
|
28008
28002
|
className: '',
|
|
@@ -28376,27 +28370,27 @@ const TotalDoughnutChart = props => {
|
|
|
28376
28370
|
}, row.name, displayLegendValue(row)))))))));
|
|
28377
28371
|
};
|
|
28378
28372
|
TotalDoughnutChart.propTypes = {
|
|
28379
|
-
className: PropTypes
|
|
28380
|
-
title: PropTypes
|
|
28381
|
-
value: PropTypes
|
|
28382
|
-
addingBenchmark: PropTypes
|
|
28383
|
-
dotCut: PropTypes
|
|
28384
|
-
currencySign: PropTypes
|
|
28385
|
-
currencyType: PropTypes
|
|
28386
|
-
legendData: PropTypes
|
|
28387
|
-
name: PropTypes
|
|
28388
|
-
description: PropTypes
|
|
28373
|
+
className: PropTypes.string,
|
|
28374
|
+
title: PropTypes.string,
|
|
28375
|
+
value: PropTypes.number,
|
|
28376
|
+
addingBenchmark: PropTypes.bool,
|
|
28377
|
+
dotCut: PropTypes.bool,
|
|
28378
|
+
currencySign: PropTypes.bool,
|
|
28379
|
+
currencyType: PropTypes.string,
|
|
28380
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
28381
|
+
name: PropTypes.string,
|
|
28382
|
+
description: PropTypes.string
|
|
28389
28383
|
})),
|
|
28390
|
-
itemsPercentagesValueAside: PropTypes
|
|
28391
|
-
itemsBoldedValues: PropTypes
|
|
28392
|
-
itemsValuesSeparateLine: PropTypes
|
|
28393
|
-
width: PropTypes
|
|
28394
|
-
height: PropTypes
|
|
28395
|
-
textcolor: PropTypes
|
|
28396
|
-
isPercent: PropTypes
|
|
28397
|
-
hideTitleAndValue: PropTypes
|
|
28398
|
-
noDataText: PropTypes
|
|
28399
|
-
textAfterValue: PropTypes
|
|
28384
|
+
itemsPercentagesValueAside: PropTypes.bool,
|
|
28385
|
+
itemsBoldedValues: PropTypes.bool,
|
|
28386
|
+
itemsValuesSeparateLine: PropTypes.bool,
|
|
28387
|
+
width: PropTypes.string,
|
|
28388
|
+
height: PropTypes.string,
|
|
28389
|
+
textcolor: PropTypes.string,
|
|
28390
|
+
isPercent: PropTypes.bool,
|
|
28391
|
+
hideTitleAndValue: PropTypes.bool,
|
|
28392
|
+
noDataText: PropTypes.string,
|
|
28393
|
+
textAfterValue: PropTypes.string
|
|
28400
28394
|
};
|
|
28401
28395
|
TotalDoughnutChart.defaultProps = {
|
|
28402
28396
|
className: '',
|
|
@@ -28433,13 +28427,13 @@ function CustomTooltip(_ref) {
|
|
|
28433
28427
|
}
|
|
28434
28428
|
CustomTooltip.propTypes = {
|
|
28435
28429
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28436
|
-
active: PropTypes
|
|
28430
|
+
active: PropTypes.any,
|
|
28437
28431
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28438
|
-
payload: PropTypes
|
|
28432
|
+
payload: PropTypes.any,
|
|
28439
28433
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28440
|
-
value: PropTypes
|
|
28434
|
+
value: PropTypes.any,
|
|
28441
28435
|
// eslint-disable-next-line react/forbid-prop-types
|
|
28442
|
-
isPercent: PropTypes
|
|
28436
|
+
isPercent: PropTypes.any
|
|
28443
28437
|
};
|
|
28444
28438
|
CustomTooltip.defaultProps = {
|
|
28445
28439
|
active: '',
|
|
@@ -28563,11 +28557,11 @@ const Tooltip = props => {
|
|
|
28563
28557
|
}, content)));
|
|
28564
28558
|
};
|
|
28565
28559
|
Tooltip.propTypes = {
|
|
28566
|
-
className: PropTypes
|
|
28567
|
-
top: PropTypes
|
|
28568
|
-
left: PropTypes
|
|
28569
|
-
direction: PropTypes
|
|
28570
|
-
content: PropTypes
|
|
28560
|
+
className: PropTypes.string,
|
|
28561
|
+
top: PropTypes.number,
|
|
28562
|
+
left: PropTypes.number,
|
|
28563
|
+
direction: PropTypes.string,
|
|
28564
|
+
content: PropTypes.string
|
|
28571
28565
|
};
|
|
28572
28566
|
Tooltip.defaultProps = {
|
|
28573
28567
|
className: '',
|
|
@@ -28856,31 +28850,31 @@ const TotalHorizontalCharts = props => {
|
|
|
28856
28850
|
}));
|
|
28857
28851
|
};
|
|
28858
28852
|
TotalHorizontalCharts.propTypes = {
|
|
28859
|
-
className: PropTypes
|
|
28860
|
-
title: PropTypes
|
|
28861
|
-
value: PropTypes
|
|
28862
|
-
dotCut: PropTypes
|
|
28863
|
-
currencySign: PropTypes
|
|
28864
|
-
currencyType: PropTypes
|
|
28865
|
-
chartsData: PropTypes
|
|
28866
|
-
name: PropTypes
|
|
28867
|
-
value: PropTypes
|
|
28868
|
-
color: PropTypes
|
|
28853
|
+
className: PropTypes.string,
|
|
28854
|
+
title: PropTypes.string,
|
|
28855
|
+
value: PropTypes.number,
|
|
28856
|
+
dotCut: PropTypes.bool,
|
|
28857
|
+
currencySign: PropTypes.bool,
|
|
28858
|
+
currencyType: PropTypes.string,
|
|
28859
|
+
chartsData: PropTypes.arrayOf(PropTypes.shape({
|
|
28860
|
+
name: PropTypes.string,
|
|
28861
|
+
value: PropTypes.number,
|
|
28862
|
+
color: PropTypes.string
|
|
28869
28863
|
})),
|
|
28870
|
-
showScrollerBarsCount: PropTypes
|
|
28871
|
-
showPercentAsideValue: PropTypes
|
|
28872
|
-
labelFontSize: PropTypes
|
|
28873
|
-
labelLimitedLetters: PropTypes
|
|
28874
|
-
width: PropTypes
|
|
28875
|
-
height: PropTypes
|
|
28876
|
-
rightGap: PropTypes
|
|
28877
|
-
textColor: PropTypes
|
|
28878
|
-
noDataText: PropTypes
|
|
28879
|
-
isDollar: PropTypes
|
|
28880
|
-
isPercentage: PropTypes
|
|
28881
|
-
showDollarSign: PropTypes
|
|
28882
|
-
hideTotalValue: PropTypes
|
|
28883
|
-
hideTitle: PropTypes
|
|
28864
|
+
showScrollerBarsCount: PropTypes.number,
|
|
28865
|
+
showPercentAsideValue: PropTypes.bool,
|
|
28866
|
+
labelFontSize: PropTypes.number,
|
|
28867
|
+
labelLimitedLetters: PropTypes.number,
|
|
28868
|
+
width: PropTypes.string,
|
|
28869
|
+
height: PropTypes.string,
|
|
28870
|
+
rightGap: PropTypes.number,
|
|
28871
|
+
textColor: PropTypes.string,
|
|
28872
|
+
noDataText: PropTypes.string,
|
|
28873
|
+
isDollar: PropTypes.bool,
|
|
28874
|
+
isPercentage: PropTypes.bool,
|
|
28875
|
+
showDollarSign: PropTypes.bool,
|
|
28876
|
+
hideTotalValue: PropTypes.bool,
|
|
28877
|
+
hideTitle: PropTypes.bool
|
|
28884
28878
|
};
|
|
28885
28879
|
TotalHorizontalCharts.defaultProps = {
|
|
28886
28880
|
className: '',
|
|
@@ -29069,23 +29063,23 @@ const SalesAndROI = props => {
|
|
|
29069
29063
|
}));
|
|
29070
29064
|
};
|
|
29071
29065
|
SalesAndROI.propTypes = {
|
|
29072
|
-
title: PropTypes
|
|
29073
|
-
dotCut: PropTypes
|
|
29074
|
-
currencySign: PropTypes
|
|
29075
|
-
currencyType: PropTypes
|
|
29076
|
-
salesData: PropTypes
|
|
29077
|
-
name: PropTypes
|
|
29078
|
-
value: PropTypes
|
|
29079
|
-
labelBefore: PropTypes
|
|
29080
|
-
labelAfter: PropTypes
|
|
29066
|
+
title: PropTypes.string,
|
|
29067
|
+
dotCut: PropTypes.bool,
|
|
29068
|
+
currencySign: PropTypes.bool,
|
|
29069
|
+
currencyType: PropTypes.string,
|
|
29070
|
+
salesData: PropTypes.arrayOf(PropTypes.shape({
|
|
29071
|
+
name: PropTypes.string,
|
|
29072
|
+
value: PropTypes.number,
|
|
29073
|
+
labelBefore: PropTypes.string,
|
|
29074
|
+
labelAfter: PropTypes.string
|
|
29081
29075
|
})),
|
|
29082
|
-
width: PropTypes
|
|
29083
|
-
height: PropTypes
|
|
29084
|
-
textColor: PropTypes
|
|
29085
|
-
showBanner: PropTypes
|
|
29086
|
-
noDataText: PropTypes
|
|
29087
|
-
onBannerClick: PropTypes
|
|
29088
|
-
showBorderShadow: PropTypes
|
|
29076
|
+
width: PropTypes.string,
|
|
29077
|
+
height: PropTypes.string,
|
|
29078
|
+
textColor: PropTypes.string,
|
|
29079
|
+
showBanner: PropTypes.bool,
|
|
29080
|
+
noDataText: PropTypes.string,
|
|
29081
|
+
onBannerClick: PropTypes.func,
|
|
29082
|
+
showBorderShadow: PropTypes.bool
|
|
29089
29083
|
};
|
|
29090
29084
|
SalesAndROI.defaultProps = {
|
|
29091
29085
|
title: 'SALES',
|
|
@@ -29381,25 +29375,25 @@ const PopupCharts = props => {
|
|
|
29381
29375
|
}, popupChartsItemsData.map(item => displayChartItem(item))))));
|
|
29382
29376
|
};
|
|
29383
29377
|
PopupCharts.propTypes = {
|
|
29384
|
-
title: PropTypes
|
|
29385
|
-
chartType: PropTypes
|
|
29378
|
+
title: PropTypes.string,
|
|
29379
|
+
chartType: PropTypes.string,
|
|
29386
29380
|
// eslint-disable-next-line react/require-default-props
|
|
29387
|
-
popupChartsItemsData: PropTypes
|
|
29388
|
-
title: PropTypes
|
|
29389
|
-
chartType: PropTypes
|
|
29390
|
-
value: PropTypes
|
|
29391
|
-
legendData: PropTypes
|
|
29392
|
-
color: PropTypes
|
|
29393
|
-
name: PropTypes
|
|
29394
|
-
value: PropTypes
|
|
29381
|
+
popupChartsItemsData: PropTypes.arrayOf(PropTypes.shape({
|
|
29382
|
+
title: PropTypes.string,
|
|
29383
|
+
chartType: PropTypes.string,
|
|
29384
|
+
value: PropTypes.number,
|
|
29385
|
+
legendData: PropTypes.arrayOf(PropTypes.shape({
|
|
29386
|
+
color: PropTypes.string,
|
|
29387
|
+
name: PropTypes.string,
|
|
29388
|
+
value: PropTypes.number
|
|
29395
29389
|
})),
|
|
29396
|
-
noDataText: PropTypes
|
|
29390
|
+
noDataText: PropTypes.string
|
|
29397
29391
|
})),
|
|
29398
|
-
isPopupChartsOpen: PropTypes
|
|
29399
|
-
width: PropTypes
|
|
29400
|
-
height: PropTypes
|
|
29401
|
-
onCloseClick: PropTypes
|
|
29402
|
-
subtitleTextColor: PropTypes
|
|
29392
|
+
isPopupChartsOpen: PropTypes.bool,
|
|
29393
|
+
width: PropTypes.string,
|
|
29394
|
+
height: PropTypes.string,
|
|
29395
|
+
onCloseClick: PropTypes.func,
|
|
29396
|
+
subtitleTextColor: PropTypes.string
|
|
29403
29397
|
};
|
|
29404
29398
|
PopupCharts.defaultProps = {
|
|
29405
29399
|
title: 'Switching Pattern',
|
|
@@ -29507,12 +29501,12 @@ const TopToggleList = props => {
|
|
|
29507
29501
|
}, /*#__PURE__*/React__default["default"].createElement(Item, null, item.label)))));
|
|
29508
29502
|
};
|
|
29509
29503
|
TopToggleList.propTypes = {
|
|
29510
|
-
width: PropTypes
|
|
29511
|
-
height: PropTypes
|
|
29512
|
-
title: PropTypes
|
|
29513
|
-
list: PropTypes
|
|
29514
|
-
value: PropTypes
|
|
29515
|
-
label: PropTypes
|
|
29504
|
+
width: PropTypes.string,
|
|
29505
|
+
height: PropTypes.string,
|
|
29506
|
+
title: PropTypes.string,
|
|
29507
|
+
list: PropTypes.arrayOf({
|
|
29508
|
+
value: PropTypes.string,
|
|
29509
|
+
label: PropTypes.string
|
|
29516
29510
|
})
|
|
29517
29511
|
};
|
|
29518
29512
|
TopToggleList.defaultProps = {
|
|
@@ -29842,14 +29836,14 @@ const Heatmap = props => {
|
|
|
29842
29836
|
}, title)), refreshRequired && renderBars(), !refreshRequired && renderBars(), renderLegend()));
|
|
29843
29837
|
};
|
|
29844
29838
|
Heatmap.propTypes = {
|
|
29845
|
-
title: PropTypes
|
|
29846
|
-
data: PropTypes
|
|
29847
|
-
value: PropTypes
|
|
29848
|
-
label: PropTypes
|
|
29849
|
-
color: PropTypes
|
|
29839
|
+
title: PropTypes.string.isRequired,
|
|
29840
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
29841
|
+
value: PropTypes.number.isRequired,
|
|
29842
|
+
label: PropTypes.string.isRequired,
|
|
29843
|
+
color: PropTypes.string.isRequired
|
|
29850
29844
|
})).isRequired,
|
|
29851
|
-
lowLimit: PropTypes
|
|
29852
|
-
barHeight: PropTypes
|
|
29845
|
+
lowLimit: PropTypes.number.isRequired,
|
|
29846
|
+
barHeight: PropTypes.string.isRequired
|
|
29853
29847
|
};
|
|
29854
29848
|
|
|
29855
29849
|
const ButtonWrapper = dt.div`
|
|
@@ -30024,19 +30018,19 @@ const IconButton = props => {
|
|
|
30024
30018
|
IconButton.propTypes = {
|
|
30025
30019
|
// downloadStatus: PropTypes.string,
|
|
30026
30020
|
// fileName: PropTypes.string,
|
|
30027
|
-
fileLink: PropTypes
|
|
30028
|
-
showProcess: PropTypes
|
|
30029
|
-
buttonText: PropTypes
|
|
30030
|
-
iconName: PropTypes
|
|
30031
|
-
contentColor: PropTypes
|
|
30032
|
-
backgroundColor: PropTypes
|
|
30033
|
-
borderColor: PropTypes
|
|
30034
|
-
borderRadius: PropTypes
|
|
30035
|
-
iconHeight: PropTypes
|
|
30036
|
-
iconWidth: PropTypes
|
|
30037
|
-
disabled: PropTypes
|
|
30038
|
-
onClick: PropTypes
|
|
30039
|
-
onCancelClick: PropTypes
|
|
30021
|
+
fileLink: PropTypes.string,
|
|
30022
|
+
showProcess: PropTypes.bool,
|
|
30023
|
+
buttonText: PropTypes.string,
|
|
30024
|
+
iconName: PropTypes.string,
|
|
30025
|
+
contentColor: PropTypes.string,
|
|
30026
|
+
backgroundColor: PropTypes.string,
|
|
30027
|
+
borderColor: PropTypes.string,
|
|
30028
|
+
borderRadius: PropTypes.string,
|
|
30029
|
+
iconHeight: PropTypes.number,
|
|
30030
|
+
iconWidth: PropTypes.number,
|
|
30031
|
+
disabled: PropTypes.bool,
|
|
30032
|
+
onClick: PropTypes.func,
|
|
30033
|
+
onCancelClick: PropTypes.func
|
|
30040
30034
|
};
|
|
30041
30035
|
IconButton.defaultProps = {
|
|
30042
30036
|
// downloadStatus: '',
|