sag_components 2.0.0-beta16 → 2.0.0-beta17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -16
- package/dist/index.esm.js +129 -123
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +129 -123
- package/dist/index.js.map +1 -1
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +1 -16
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -628,22 +628,7 @@ declare namespace CollapseHeader {
|
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
declare function QuickFilter(
|
|
632
|
-
hoverColor?: string | undefined;
|
|
633
|
-
multipleSelection?: boolean | undefined;
|
|
634
|
-
xIconShow?: boolean | undefined;
|
|
635
|
-
disabled?: boolean | undefined;
|
|
636
|
-
error?: boolean | undefined;
|
|
637
|
-
errorMessage?: string | undefined;
|
|
638
|
-
label?: string | undefined;
|
|
639
|
-
labelColor?: string | undefined;
|
|
640
|
-
placeHolder?: string | undefined;
|
|
641
|
-
width?: string | undefined;
|
|
642
|
-
checkBoxColor?: string | undefined;
|
|
643
|
-
onChange?: ((event: any) => void) | undefined;
|
|
644
|
-
options?: any[] | undefined;
|
|
645
|
-
selectedValue?: any[] | undefined;
|
|
646
|
-
}): react_jsx_runtime.JSX.Element;
|
|
631
|
+
declare function QuickFilter(props: any): react_jsx_runtime.JSX.Element;
|
|
647
632
|
|
|
648
633
|
declare function OneColumnContainer(props: any): react_jsx_runtime.JSX.Element;
|
|
649
634
|
|
package/dist/index.esm.js
CHANGED
|
@@ -11690,67 +11690,70 @@ const DropdownMain = dt.div`
|
|
|
11690
11690
|
`;
|
|
11691
11691
|
|
|
11692
11692
|
/* eslint-disable react/prop-types */
|
|
11693
|
-
const DropdownNew =
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11693
|
+
const DropdownNew = _ref => {
|
|
11694
|
+
let {
|
|
11695
|
+
isMulti,
|
|
11696
|
+
label,
|
|
11697
|
+
labelEmptyValue,
|
|
11698
|
+
options,
|
|
11699
|
+
selectedValue,
|
|
11700
|
+
placeHolder,
|
|
11701
|
+
onChange,
|
|
11702
|
+
required,
|
|
11703
|
+
disabled,
|
|
11704
|
+
width,
|
|
11705
|
+
error,
|
|
11706
|
+
errorMessage,
|
|
11707
|
+
labelColor,
|
|
11708
|
+
checkBoxColor,
|
|
11709
|
+
xIconShow,
|
|
11710
|
+
showLabelOnTop,
|
|
11711
|
+
orderBy,
|
|
11712
|
+
elementType
|
|
11713
|
+
} = _ref;
|
|
11714
|
+
return /*#__PURE__*/React$1.createElement(DropdownMain, {
|
|
11715
|
+
className: "DropdownMain",
|
|
11716
|
+
width: width
|
|
11717
|
+
}, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
|
|
11718
|
+
className: "DropdownMultiNew",
|
|
11719
|
+
placeHolder: placeHolder,
|
|
11720
|
+
label: label,
|
|
11721
|
+
labelEmptyValue: labelEmptyValue,
|
|
11722
|
+
labelColor: labelColor,
|
|
11723
|
+
checkBoxColor: checkBoxColor,
|
|
11724
|
+
required: required,
|
|
11725
|
+
options: options,
|
|
11726
|
+
width: width,
|
|
11727
|
+
disabled: disabled,
|
|
11728
|
+
error: error,
|
|
11729
|
+
errorMessage: errorMessage,
|
|
11730
|
+
selectedValue: selectedValue,
|
|
11731
|
+
xIconShow: xIconShow,
|
|
11732
|
+
onChange: onChange,
|
|
11733
|
+
showLabelOnTop: showLabelOnTop,
|
|
11734
|
+
orderBy: orderBy,
|
|
11735
|
+
elementType: elementType
|
|
11736
|
+
}) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
|
|
11737
|
+
className: "DropdownSingleNew",
|
|
11738
|
+
placeHolder: placeHolder,
|
|
11739
|
+
label: label,
|
|
11740
|
+
labelEmptyValue: labelEmptyValue,
|
|
11741
|
+
labelColor: labelColor,
|
|
11742
|
+
checkBoxColor: checkBoxColor,
|
|
11743
|
+
required: required,
|
|
11744
|
+
options: options,
|
|
11745
|
+
width: width,
|
|
11746
|
+
disabled: disabled,
|
|
11747
|
+
error: error,
|
|
11748
|
+
errorMessage: errorMessage,
|
|
11749
|
+
selectedValue: selectedValue,
|
|
11750
|
+
xIconShow: xIconShow,
|
|
11751
|
+
onChange: onChange,
|
|
11752
|
+
showLabelOnTop: showLabelOnTop,
|
|
11753
|
+
orderBy: orderBy,
|
|
11754
|
+
elementType: elementType
|
|
11755
|
+
}));
|
|
11756
|
+
};
|
|
11754
11757
|
DropdownNew.propTypes = {
|
|
11755
11758
|
placeHolder: PropTypes.string,
|
|
11756
11759
|
label: PropTypes.string,
|
|
@@ -12164,20 +12167,21 @@ const DatePicker = ({
|
|
|
12164
12167
|
};
|
|
12165
12168
|
|
|
12166
12169
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12167
|
-
const RangePicker =
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12170
|
+
const RangePicker = _ref => {
|
|
12171
|
+
let {
|
|
12172
|
+
label,
|
|
12173
|
+
onChange,
|
|
12174
|
+
borderRadius,
|
|
12175
|
+
required,
|
|
12176
|
+
width,
|
|
12177
|
+
height,
|
|
12178
|
+
placeholder,
|
|
12179
|
+
disabled,
|
|
12180
|
+
borderColor,
|
|
12181
|
+
borderColorFocus,
|
|
12182
|
+
textColor,
|
|
12183
|
+
selectedValue
|
|
12184
|
+
} = _ref;
|
|
12181
12185
|
const [isFocused, setIsFocused] = useState(false);
|
|
12182
12186
|
const [isOpen, setIsOpen] = useState(false);
|
|
12183
12187
|
const [value, setValue] = useState(''); // Added value state
|
|
@@ -12605,22 +12609,23 @@ const QuarterPopupPicker = ({
|
|
|
12605
12609
|
};
|
|
12606
12610
|
|
|
12607
12611
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12608
|
-
const QuarterPicker =
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12612
|
+
const QuarterPicker = _ref => {
|
|
12613
|
+
let {
|
|
12614
|
+
availableQuarters,
|
|
12615
|
+
// ["Q1-2024"]
|
|
12616
|
+
label,
|
|
12617
|
+
onChange,
|
|
12618
|
+
borderRadius,
|
|
12619
|
+
required,
|
|
12620
|
+
width,
|
|
12621
|
+
height,
|
|
12622
|
+
placeholder,
|
|
12623
|
+
disabled,
|
|
12624
|
+
borderColor,
|
|
12625
|
+
borderColorFocus,
|
|
12626
|
+
textColor,
|
|
12627
|
+
selectedValue
|
|
12628
|
+
} = _ref;
|
|
12624
12629
|
const [isFocused, setIsFocused] = useState(false);
|
|
12625
12630
|
const [isOpen, setIsOpen] = useState(false);
|
|
12626
12631
|
const [value, setValue] = useState('');
|
|
@@ -13057,21 +13062,22 @@ const MonthPopupPicker = ({
|
|
|
13057
13062
|
};
|
|
13058
13063
|
|
|
13059
13064
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
13060
|
-
const MonthPicker =
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
|
|
13065
|
+
const MonthPicker = _ref => {
|
|
13066
|
+
let {
|
|
13067
|
+
availableMonths,
|
|
13068
|
+
label,
|
|
13069
|
+
onChange,
|
|
13070
|
+
borderRadius,
|
|
13071
|
+
required,
|
|
13072
|
+
width,
|
|
13073
|
+
height,
|
|
13074
|
+
placeholder,
|
|
13075
|
+
disabled,
|
|
13076
|
+
borderColor,
|
|
13077
|
+
borderColorFocus,
|
|
13078
|
+
textColor,
|
|
13079
|
+
selectedValue
|
|
13080
|
+
} = _ref;
|
|
13075
13081
|
const [isFocused, setIsFocused] = useState(false);
|
|
13076
13082
|
const [isOpen, setIsOpen] = useState(false);
|
|
13077
13083
|
const [value, setValue] = useState('');
|
|
@@ -26983,23 +26989,23 @@ const QuickFilterMain = dt.div`
|
|
|
26983
26989
|
border-radius: 10px;
|
|
26984
26990
|
`;
|
|
26985
26991
|
|
|
26986
|
-
const QuickFilter =
|
|
26987
|
-
|
|
26988
|
-
hoverColor
|
|
26989
|
-
multipleSelection
|
|
26990
|
-
xIconShow
|
|
26991
|
-
disabled
|
|
26992
|
-
error
|
|
26993
|
-
errorMessage
|
|
26994
|
-
label
|
|
26995
|
-
labelColor
|
|
26996
|
-
placeHolder
|
|
26997
|
-
width
|
|
26998
|
-
checkBoxColor
|
|
26999
|
-
onChange
|
|
27000
|
-
options
|
|
27001
|
-
selectedValue
|
|
27002
|
-
} =
|
|
26992
|
+
const QuickFilter = props => {
|
|
26993
|
+
const {
|
|
26994
|
+
hoverColor,
|
|
26995
|
+
multipleSelection,
|
|
26996
|
+
xIconShow,
|
|
26997
|
+
disabled,
|
|
26998
|
+
error,
|
|
26999
|
+
errorMessage,
|
|
27000
|
+
label,
|
|
27001
|
+
labelColor,
|
|
27002
|
+
placeHolder,
|
|
27003
|
+
width,
|
|
27004
|
+
checkBoxColor,
|
|
27005
|
+
onChange,
|
|
27006
|
+
options,
|
|
27007
|
+
selectedValue
|
|
27008
|
+
} = props;
|
|
27003
27009
|
return /*#__PURE__*/React.createElement(QuickFilterMain, {
|
|
27004
27010
|
width: width,
|
|
27005
27011
|
className: "QuickFilterMain"
|