sag_components 2.0.0-beta11 → 2.0.0-beta3
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 +71 -51
- package/dist/index.esm.js +77 -97
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +77 -97
- package/dist/index.js.map +1 -1
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +3 -0
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +1 -13
- package/dist/types/components/DropdownNew/DropdownNew.d.ts +1 -1
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +1 -23
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +66 -14
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/components/QuickFilterDropdownSingle/SagIconButton/SagIconButton.d.ts +0 -45
- package/dist/types/components/QuickFilterDropdownSingle/SagIconButton/SagIconButton.stories.d.ts +0 -178
- package/dist/types/components/QuickFilterDropdownSingle/SagIconButton/SagIconButton.style.d.ts +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -265,38 +265,16 @@ declare namespace FilterPanel {
|
|
|
265
265
|
const availableMonths: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
266
266
|
const availableYears: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
267
267
|
const fieldsData: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
268
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
269
|
-
required: PropTypes.Requireable<boolean>;
|
|
270
|
-
inputType: PropTypes.Requireable<string>;
|
|
271
|
-
placeHolder: PropTypes.Requireable<string>;
|
|
272
|
-
xIconShow: PropTypes.Requireable<boolean>;
|
|
273
|
-
label: PropTypes.Requireable<string>;
|
|
274
|
-
labelEmptyValue: PropTypes.Requireable<string>;
|
|
275
268
|
name: PropTypes.Requireable<string>;
|
|
276
|
-
periodPickerSelectedValue: PropTypes.Requireable<string>;
|
|
277
|
-
selectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
278
|
-
value: PropTypes.Requireable<string>;
|
|
279
|
-
label: PropTypes.Requireable<string>;
|
|
280
|
-
}> | null | undefined)[]>;
|
|
281
|
-
orderBy: PropTypes.Requireable<string>;
|
|
282
|
-
elementType: PropTypes.Requireable<string>;
|
|
283
269
|
value: PropTypes.Requireable<number>;
|
|
284
270
|
color: PropTypes.Requireable<string>;
|
|
285
|
-
defaultValueYears: PropTypes.Requireable<PropTypes.InferProps<{
|
|
286
|
-
value: PropTypes.Requireable<string>;
|
|
287
|
-
label: PropTypes.Requireable<string>;
|
|
288
|
-
}>>;
|
|
289
|
-
dropdownOptions: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
290
|
-
value: PropTypes.Requireable<string>;
|
|
291
|
-
label: PropTypes.Requireable<string>;
|
|
292
|
-
}> | null | undefined)[]>;
|
|
293
271
|
}> | null | undefined)[]>;
|
|
294
272
|
const width: PropTypes.Requireable<string>;
|
|
295
273
|
const height: PropTypes.Requireable<string>;
|
|
296
274
|
const okButtonBackgroundColor: PropTypes.Requireable<string>;
|
|
297
275
|
const okButtonHoverColor: PropTypes.Requireable<string>;
|
|
298
276
|
const resetButtonHoverColor: PropTypes.Requireable<string>;
|
|
299
|
-
const borderColor:
|
|
277
|
+
const borderColor: string;
|
|
300
278
|
const onOkClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
301
279
|
const onResetClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
302
280
|
const onItemValueChanged: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -477,6 +455,7 @@ declare namespace BannerEventBoxList {
|
|
|
477
455
|
const disableToggle: PropTypes.Requireable<boolean>;
|
|
478
456
|
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
479
457
|
const bannerWidth: PropTypes.Requireable<string>;
|
|
458
|
+
const loaderColor: PropTypes.Requireable<string>;
|
|
480
459
|
const showDraft: PropTypes.Requireable<boolean>;
|
|
481
460
|
}
|
|
482
461
|
namespace defaultProps {
|
|
@@ -522,6 +501,8 @@ declare namespace BannerEventBoxList {
|
|
|
522
501
|
export { children_1 as children };
|
|
523
502
|
const bannerWidth_1: string;
|
|
524
503
|
export { bannerWidth_1 as bannerWidth };
|
|
504
|
+
const loaderColor_1: string;
|
|
505
|
+
export { loaderColor_1 as loaderColor };
|
|
525
506
|
const showDraft_1: boolean;
|
|
526
507
|
export { showDraft_1 as showDraft };
|
|
527
508
|
}
|
|
@@ -556,19 +537,7 @@ declare namespace CollapseHeader {
|
|
|
556
537
|
const viewCreativeRetailersData: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
557
538
|
label: PropTypes.Requireable<string>;
|
|
558
539
|
}> | null | undefined)[]>;
|
|
559
|
-
const data: PropTypes.Requireable<PropTypes.InferProps<
|
|
560
|
-
eventType: PropTypes.Requireable<string>;
|
|
561
|
-
retailer: PropTypes.Requireable<string>;
|
|
562
|
-
eventDescription: PropTypes.Requireable<string>;
|
|
563
|
-
objectivesDescription: PropTypes.Requireable<string>;
|
|
564
|
-
eventDatesValue: PropTypes.Requireable<string>;
|
|
565
|
-
externalEventDescription: PropTypes.Requireable<string>;
|
|
566
|
-
externalEventID: PropTypes.Requireable<string>;
|
|
567
|
-
storeType: PropTypes.Requireable<string>;
|
|
568
|
-
category: PropTypes.Requireable<string>;
|
|
569
|
-
supplier: PropTypes.Requireable<string>;
|
|
570
|
-
brand: PropTypes.Requireable<string>;
|
|
571
|
-
}>>;
|
|
540
|
+
const data: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
|
|
572
541
|
const showViewCreativeButton: PropTypes.Requireable<boolean>;
|
|
573
542
|
const viewCreativeOnClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
574
543
|
const descriptionTitle: PropTypes.Requireable<string>;
|
|
@@ -629,21 +598,72 @@ declare namespace CollapseHeader {
|
|
|
629
598
|
}
|
|
630
599
|
|
|
631
600
|
declare function QuickFilter({ hoverColor, multipleSelection, xIconShow, disabled, error, errorMessage, label, labelColor, placeHolder, width, checkBoxColor, onChange, options, selectedValue, }: {
|
|
632
|
-
hoverColor
|
|
633
|
-
multipleSelection
|
|
634
|
-
xIconShow
|
|
635
|
-
disabled
|
|
636
|
-
error
|
|
637
|
-
errorMessage
|
|
638
|
-
label
|
|
639
|
-
labelColor
|
|
640
|
-
placeHolder
|
|
641
|
-
width
|
|
642
|
-
checkBoxColor
|
|
643
|
-
onChange
|
|
644
|
-
options
|
|
645
|
-
selectedValue
|
|
646
|
-
}): react_jsx_runtime.JSX.Element;
|
|
601
|
+
hoverColor: any;
|
|
602
|
+
multipleSelection: any;
|
|
603
|
+
xIconShow: any;
|
|
604
|
+
disabled: any;
|
|
605
|
+
error: any;
|
|
606
|
+
errorMessage: any;
|
|
607
|
+
label: any;
|
|
608
|
+
labelColor: any;
|
|
609
|
+
placeHolder: any;
|
|
610
|
+
width: any;
|
|
611
|
+
checkBoxColor: any;
|
|
612
|
+
onChange: any;
|
|
613
|
+
options: any;
|
|
614
|
+
selectedValue: any;
|
|
615
|
+
}): react_jsx_runtime.JSX.Element;
|
|
616
|
+
declare namespace QuickFilter {
|
|
617
|
+
namespace propTypes {
|
|
618
|
+
const hoverColor: PropTypes.Requireable<string>;
|
|
619
|
+
const multipleSelection: PropTypes.Requireable<boolean>;
|
|
620
|
+
const disabled: PropTypes.Requireable<boolean>;
|
|
621
|
+
const error: PropTypes.Requireable<boolean>;
|
|
622
|
+
const errorMessage: string;
|
|
623
|
+
const label: PropTypes.Requireable<string>;
|
|
624
|
+
const labelColor: PropTypes.Requireable<string>;
|
|
625
|
+
const placeHolder: PropTypes.Requireable<string>;
|
|
626
|
+
const width: PropTypes.Requireable<string>;
|
|
627
|
+
const checkBoxColor: PropTypes.Requireable<string>;
|
|
628
|
+
const onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
629
|
+
const options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
630
|
+
id: PropTypes.Requireable<string>;
|
|
631
|
+
label: PropTypes.Requireable<string>;
|
|
632
|
+
}> | null | undefined)[]>;
|
|
633
|
+
const selectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
634
|
+
id: PropTypes.Requireable<string>;
|
|
635
|
+
label: PropTypes.Requireable<string>;
|
|
636
|
+
}> | null | undefined)[]>;
|
|
637
|
+
}
|
|
638
|
+
namespace defaultProps {
|
|
639
|
+
const hoverColor_1: string;
|
|
640
|
+
export { hoverColor_1 as hoverColor };
|
|
641
|
+
const multipleSelection_1: boolean;
|
|
642
|
+
export { multipleSelection_1 as multipleSelection };
|
|
643
|
+
const disabled_1: boolean;
|
|
644
|
+
export { disabled_1 as disabled };
|
|
645
|
+
const error_1: boolean;
|
|
646
|
+
export { error_1 as error };
|
|
647
|
+
const errorMessage_1: string;
|
|
648
|
+
export { errorMessage_1 as errorMessage };
|
|
649
|
+
const label_1: string;
|
|
650
|
+
export { label_1 as label };
|
|
651
|
+
const labelColor_1: string;
|
|
652
|
+
export { labelColor_1 as labelColor };
|
|
653
|
+
const placeHolder_1: string;
|
|
654
|
+
export { placeHolder_1 as placeHolder };
|
|
655
|
+
const width_1: string;
|
|
656
|
+
export { width_1 as width };
|
|
657
|
+
const checkBoxColor_1: string;
|
|
658
|
+
export { checkBoxColor_1 as checkBoxColor };
|
|
659
|
+
export function onChange_1(): void;
|
|
660
|
+
export { onChange_1 as onChange };
|
|
661
|
+
const options_1: never[];
|
|
662
|
+
export { options_1 as options };
|
|
663
|
+
const selectedValue_1: never[];
|
|
664
|
+
export { selectedValue_1 as selectedValue };
|
|
665
|
+
}
|
|
666
|
+
}
|
|
647
667
|
|
|
648
668
|
declare function OneColumnContainer(props: any): react_jsx_runtime.JSX.Element;
|
|
649
669
|
declare namespace OneColumnContainer {
|
package/dist/index.esm.js
CHANGED
|
@@ -43454,7 +43454,7 @@ const Tooltip$1 = props => {
|
|
|
43454
43454
|
};
|
|
43455
43455
|
Tooltip$1.propTypes = {
|
|
43456
43456
|
children: PropTypes.node,
|
|
43457
|
-
content: PropTypes.
|
|
43457
|
+
content: PropTypes.string,
|
|
43458
43458
|
direction: PropTypes.string,
|
|
43459
43459
|
delay: PropTypes.string,
|
|
43460
43460
|
topFactor: PropTypes.number
|
|
@@ -44289,18 +44289,19 @@ const InfoIcon = _ref => {
|
|
|
44289
44289
|
}));
|
|
44290
44290
|
};
|
|
44291
44291
|
|
|
44292
|
-
const LinkButton =
|
|
44293
|
-
|
|
44294
|
-
|
|
44295
|
-
|
|
44296
|
-
|
|
44297
|
-
|
|
44298
|
-
|
|
44299
|
-
|
|
44300
|
-
|
|
44301
|
-
|
|
44302
|
-
|
|
44303
|
-
|
|
44292
|
+
const LinkButton = _ref => {
|
|
44293
|
+
let {
|
|
44294
|
+
text = '',
|
|
44295
|
+
type = 'primary',
|
|
44296
|
+
size = 'small',
|
|
44297
|
+
height = '',
|
|
44298
|
+
width = '',
|
|
44299
|
+
disabled = false,
|
|
44300
|
+
textColor = '',
|
|
44301
|
+
onClick,
|
|
44302
|
+
leftIcon = 'none',
|
|
44303
|
+
rightIcon = 'none'
|
|
44304
|
+
} = _ref;
|
|
44304
44305
|
// const {
|
|
44305
44306
|
// text,
|
|
44306
44307
|
// type,
|
|
@@ -51318,7 +51319,7 @@ DropdownNew.propTypes = {
|
|
|
51318
51319
|
width: PropTypes.string,
|
|
51319
51320
|
disabled: PropTypes.bool,
|
|
51320
51321
|
error: PropTypes.bool,
|
|
51321
|
-
errorMessage:
|
|
51322
|
+
errorMessage: "",
|
|
51322
51323
|
options: PropTypes.arrayOf(PropTypes.shape({
|
|
51323
51324
|
id: PropTypes.string,
|
|
51324
51325
|
label: PropTypes.string
|
|
@@ -53440,38 +53441,16 @@ FilterPanel.propTypes = {
|
|
|
53440
53441
|
availableMonths: PropTypes.arrayOf(PropTypes.string),
|
|
53441
53442
|
availableYears: PropTypes.arrayOf(PropTypes.string),
|
|
53442
53443
|
fieldsData: PropTypes.arrayOf(PropTypes.shape({
|
|
53443
|
-
disabled: PropTypes.bool,
|
|
53444
|
-
required: PropTypes.bool,
|
|
53445
|
-
inputType: PropTypes.string,
|
|
53446
|
-
placeHolder: PropTypes.string,
|
|
53447
|
-
xIconShow: PropTypes.bool,
|
|
53448
|
-
label: PropTypes.string,
|
|
53449
|
-
labelEmptyValue: PropTypes.string,
|
|
53450
53444
|
name: PropTypes.string,
|
|
53451
|
-
periodPickerSelectedValue: PropTypes.string,
|
|
53452
|
-
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
53453
|
-
value: PropTypes.string,
|
|
53454
|
-
label: PropTypes.string
|
|
53455
|
-
})),
|
|
53456
|
-
orderBy: PropTypes.string,
|
|
53457
|
-
elementType: PropTypes.string,
|
|
53458
53445
|
value: PropTypes.number,
|
|
53459
|
-
color: PropTypes.string
|
|
53460
|
-
defaultValueYears: PropTypes.shape({
|
|
53461
|
-
value: PropTypes.string,
|
|
53462
|
-
label: PropTypes.string
|
|
53463
|
-
}),
|
|
53464
|
-
dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
53465
|
-
value: PropTypes.string,
|
|
53466
|
-
label: PropTypes.string
|
|
53467
|
-
}))
|
|
53446
|
+
color: PropTypes.string
|
|
53468
53447
|
})),
|
|
53469
53448
|
width: PropTypes.string,
|
|
53470
53449
|
height: PropTypes.string,
|
|
53471
53450
|
okButtonBackgroundColor: PropTypes.string,
|
|
53472
53451
|
okButtonHoverColor: PropTypes.string,
|
|
53473
53452
|
resetButtonHoverColor: PropTypes.string,
|
|
53474
|
-
borderColor:
|
|
53453
|
+
borderColor: '#066768',
|
|
53475
53454
|
onOkClick: PropTypes.func,
|
|
53476
53455
|
onResetClick: PropTypes.func,
|
|
53477
53456
|
onItemValueChanged: PropTypes.func,
|
|
@@ -54178,7 +54157,9 @@ const ReportTable = props => {
|
|
|
54178
54157
|
disabled: currentPage === totalPages
|
|
54179
54158
|
}))))), isLoading && enablePagination && /*#__PURE__*/React__default.createElement(LoaderWrapper$1, {
|
|
54180
54159
|
id: "LoaderWrapper"
|
|
54181
|
-
}, /*#__PURE__*/React__default.createElement(Loader$1,
|
|
54160
|
+
}, /*#__PURE__*/React__default.createElement(Loader$1, {
|
|
54161
|
+
loaderColor: "#1B30AA"
|
|
54162
|
+
})), !disableInfo ? /*#__PURE__*/React__default.createElement(InfoBlock, null, /*#__PURE__*/React__default.createElement(InfoIcon, {
|
|
54182
54163
|
color: "#1B30AA"
|
|
54183
54164
|
}), /*#__PURE__*/React__default.createElement(InfoText, null, "Download table to get the full data")) : "");
|
|
54184
54165
|
};
|
|
@@ -54810,6 +54791,7 @@ const BannerEventBoxList = props => {
|
|
|
54810
54791
|
linkText,
|
|
54811
54792
|
disableToggle,
|
|
54812
54793
|
bannerWidth,
|
|
54794
|
+
loaderColor,
|
|
54813
54795
|
showDraft
|
|
54814
54796
|
} = props;
|
|
54815
54797
|
const [IsItemOpen, setIsItemOpen] = useState(false);
|
|
@@ -54839,7 +54821,9 @@ const BannerEventBoxList = props => {
|
|
|
54839
54821
|
onClick: () => handleToggle()
|
|
54840
54822
|
}, showLoader ? /*#__PURE__*/React__default.createElement(LoaderWrapper, {
|
|
54841
54823
|
id: "LoaderWrapper"
|
|
54842
|
-
}, /*#__PURE__*/React__default.createElement("span", null, "Processing Data"), /*#__PURE__*/React__default.createElement(Loader,
|
|
54824
|
+
}, /*#__PURE__*/React__default.createElement("span", null, "Processing Data"), /*#__PURE__*/React__default.createElement(Loader, {
|
|
54825
|
+
loaderColor: loaderColor
|
|
54826
|
+
})) : /*#__PURE__*/React__default.createElement(MainDetails, null, !cardsContent && /*#__PURE__*/React__default.createElement(BannerIcon, null, bannersIcon()), showEventDetails ? /*#__PURE__*/React__default.createElement(SubDetails, null, eventName, ' ', eventName !== '' && eventType !== '' && /*#__PURE__*/React__default.createElement(ProductName, null, "|"), ' ', eventType, count && /*#__PURE__*/React__default.createElement(ProductName, null, ': ', count, ' ', count > 1 ? 'Products' : 'Product')) : ' '), /*#__PURE__*/React__default.createElement(ToggleContainer, null, IsItemOpen ? /*#__PURE__*/React__default.createElement(LinkButton, {
|
|
54843
54827
|
disabled: disableToggle,
|
|
54844
54828
|
text: linkText,
|
|
54845
54829
|
leftIcon: "info",
|
|
@@ -54889,6 +54873,7 @@ BannerEventBoxList.propTypes = {
|
|
|
54889
54873
|
disableToggle: PropTypes.bool,
|
|
54890
54874
|
children: PropTypes.node,
|
|
54891
54875
|
bannerWidth: PropTypes.string,
|
|
54876
|
+
loaderColor: PropTypes.string,
|
|
54892
54877
|
showDraft: PropTypes.bool
|
|
54893
54878
|
};
|
|
54894
54879
|
BannerEventBoxList.defaultProps = {
|
|
@@ -54940,6 +54925,7 @@ BannerEventBoxList.defaultProps = {
|
|
|
54940
54925
|
disableToggle: true,
|
|
54941
54926
|
children: null,
|
|
54942
54927
|
bannerWidth: 'auto',
|
|
54928
|
+
loaderColor: '#212121',
|
|
54943
54929
|
showDraft: false
|
|
54944
54930
|
};
|
|
54945
54931
|
|
|
@@ -65633,7 +65619,7 @@ CollapseHeader.propTypes = {
|
|
|
65633
65619
|
data: PropTypes.shape({
|
|
65634
65620
|
eventType: PropTypes.string,
|
|
65635
65621
|
retailer: PropTypes.string,
|
|
65636
|
-
eventDescription:
|
|
65622
|
+
eventDescription: "Large Selling Event Description",
|
|
65637
65623
|
objectivesDescription: PropTypes.string,
|
|
65638
65624
|
eventDatesValue: PropTypes.string,
|
|
65639
65625
|
externalEventDescription: PropTypes.string,
|
|
@@ -66548,20 +66534,20 @@ const QuickFilterMain = dt.div`
|
|
|
66548
66534
|
|
|
66549
66535
|
const QuickFilter = _ref => {
|
|
66550
66536
|
let {
|
|
66551
|
-
hoverColor
|
|
66552
|
-
multipleSelection
|
|
66553
|
-
xIconShow
|
|
66554
|
-
disabled
|
|
66555
|
-
error
|
|
66556
|
-
errorMessage
|
|
66557
|
-
label
|
|
66558
|
-
labelColor
|
|
66559
|
-
placeHolder
|
|
66560
|
-
width
|
|
66561
|
-
checkBoxColor
|
|
66562
|
-
onChange
|
|
66563
|
-
options
|
|
66564
|
-
selectedValue
|
|
66537
|
+
hoverColor,
|
|
66538
|
+
multipleSelection,
|
|
66539
|
+
xIconShow,
|
|
66540
|
+
disabled,
|
|
66541
|
+
error,
|
|
66542
|
+
errorMessage,
|
|
66543
|
+
label,
|
|
66544
|
+
labelColor,
|
|
66545
|
+
placeHolder,
|
|
66546
|
+
width,
|
|
66547
|
+
checkBoxColor,
|
|
66548
|
+
onChange,
|
|
66549
|
+
options,
|
|
66550
|
+
selectedValue
|
|
66565
66551
|
} = _ref;
|
|
66566
66552
|
return /*#__PURE__*/React__default.createElement(QuickFilterMain, {
|
|
66567
66553
|
width: width,
|
|
@@ -66596,48 +66582,42 @@ const QuickFilter = _ref => {
|
|
|
66596
66582
|
xIconShow: xIconShow
|
|
66597
66583
|
}));
|
|
66598
66584
|
};
|
|
66599
|
-
|
|
66600
|
-
|
|
66601
|
-
|
|
66602
|
-
|
|
66603
|
-
|
|
66604
|
-
|
|
66605
|
-
|
|
66606
|
-
|
|
66607
|
-
|
|
66608
|
-
|
|
66609
|
-
|
|
66610
|
-
|
|
66611
|
-
|
|
66612
|
-
|
|
66613
|
-
|
|
66614
|
-
|
|
66615
|
-
|
|
66616
|
-
|
|
66617
|
-
|
|
66618
|
-
|
|
66619
|
-
|
|
66620
|
-
|
|
66621
|
-
|
|
66622
|
-
|
|
66623
|
-
|
|
66624
|
-
|
|
66625
|
-
|
|
66626
|
-
|
|
66627
|
-
|
|
66628
|
-
|
|
66629
|
-
|
|
66630
|
-
|
|
66631
|
-
|
|
66632
|
-
|
|
66633
|
-
|
|
66634
|
-
|
|
66635
|
-
// width: "auto",
|
|
66636
|
-
// checkBoxColor: "#229E38",
|
|
66637
|
-
// onChange: () => {},
|
|
66638
|
-
// options: [],
|
|
66639
|
-
// selectedValue: [],
|
|
66640
|
-
// };
|
|
66585
|
+
QuickFilter.propTypes = {
|
|
66586
|
+
hoverColor: PropTypes.string,
|
|
66587
|
+
multipleSelection: PropTypes.bool,
|
|
66588
|
+
disabled: PropTypes.bool,
|
|
66589
|
+
error: PropTypes.bool,
|
|
66590
|
+
errorMessage: "",
|
|
66591
|
+
label: PropTypes.string,
|
|
66592
|
+
labelColor: PropTypes.string,
|
|
66593
|
+
placeHolder: PropTypes.string,
|
|
66594
|
+
width: PropTypes.string,
|
|
66595
|
+
checkBoxColor: PropTypes.string,
|
|
66596
|
+
onChange: PropTypes.func,
|
|
66597
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
66598
|
+
id: PropTypes.string,
|
|
66599
|
+
label: PropTypes.string
|
|
66600
|
+
})),
|
|
66601
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
66602
|
+
id: PropTypes.string,
|
|
66603
|
+
label: PropTypes.string
|
|
66604
|
+
}))
|
|
66605
|
+
};
|
|
66606
|
+
QuickFilter.defaultProps = {
|
|
66607
|
+
hoverColor: "#066768",
|
|
66608
|
+
multipleSelection: false,
|
|
66609
|
+
disabled: false,
|
|
66610
|
+
error: false,
|
|
66611
|
+
errorMessage: "",
|
|
66612
|
+
label: "Unit Type:",
|
|
66613
|
+
labelColor: "#066768",
|
|
66614
|
+
placeHolder: "Select From List",
|
|
66615
|
+
width: "auto",
|
|
66616
|
+
checkBoxColor: "#229E38",
|
|
66617
|
+
onChange: () => {},
|
|
66618
|
+
options: [],
|
|
66619
|
+
selectedValue: []
|
|
66620
|
+
};
|
|
66641
66621
|
|
|
66642
66622
|
var classnames = {exports: {}};
|
|
66643
66623
|
|