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.js
CHANGED
|
@@ -11699,67 +11699,70 @@ const DropdownMain = dt.div`
|
|
|
11699
11699
|
`;
|
|
11700
11700
|
|
|
11701
11701
|
/* eslint-disable react/prop-types */
|
|
11702
|
-
const DropdownNew =
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11702
|
+
const DropdownNew = _ref => {
|
|
11703
|
+
let {
|
|
11704
|
+
isMulti,
|
|
11705
|
+
label,
|
|
11706
|
+
labelEmptyValue,
|
|
11707
|
+
options,
|
|
11708
|
+
selectedValue,
|
|
11709
|
+
placeHolder,
|
|
11710
|
+
onChange,
|
|
11711
|
+
required,
|
|
11712
|
+
disabled,
|
|
11713
|
+
width,
|
|
11714
|
+
error,
|
|
11715
|
+
errorMessage,
|
|
11716
|
+
labelColor,
|
|
11717
|
+
checkBoxColor,
|
|
11718
|
+
xIconShow,
|
|
11719
|
+
showLabelOnTop,
|
|
11720
|
+
orderBy,
|
|
11721
|
+
elementType
|
|
11722
|
+
} = _ref;
|
|
11723
|
+
return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
11724
|
+
className: "DropdownMain",
|
|
11725
|
+
width: width
|
|
11726
|
+
}, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
|
|
11727
|
+
className: "DropdownMultiNew",
|
|
11728
|
+
placeHolder: placeHolder,
|
|
11729
|
+
label: label,
|
|
11730
|
+
labelEmptyValue: labelEmptyValue,
|
|
11731
|
+
labelColor: labelColor,
|
|
11732
|
+
checkBoxColor: checkBoxColor,
|
|
11733
|
+
required: required,
|
|
11734
|
+
options: options,
|
|
11735
|
+
width: width,
|
|
11736
|
+
disabled: disabled,
|
|
11737
|
+
error: error,
|
|
11738
|
+
errorMessage: errorMessage,
|
|
11739
|
+
selectedValue: selectedValue,
|
|
11740
|
+
xIconShow: xIconShow,
|
|
11741
|
+
onChange: onChange,
|
|
11742
|
+
showLabelOnTop: showLabelOnTop,
|
|
11743
|
+
orderBy: orderBy,
|
|
11744
|
+
elementType: elementType
|
|
11745
|
+
}) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
|
|
11746
|
+
className: "DropdownSingleNew",
|
|
11747
|
+
placeHolder: placeHolder,
|
|
11748
|
+
label: label,
|
|
11749
|
+
labelEmptyValue: labelEmptyValue,
|
|
11750
|
+
labelColor: labelColor,
|
|
11751
|
+
checkBoxColor: checkBoxColor,
|
|
11752
|
+
required: required,
|
|
11753
|
+
options: options,
|
|
11754
|
+
width: width,
|
|
11755
|
+
disabled: disabled,
|
|
11756
|
+
error: error,
|
|
11757
|
+
errorMessage: errorMessage,
|
|
11758
|
+
selectedValue: selectedValue,
|
|
11759
|
+
xIconShow: xIconShow,
|
|
11760
|
+
onChange: onChange,
|
|
11761
|
+
showLabelOnTop: showLabelOnTop,
|
|
11762
|
+
orderBy: orderBy,
|
|
11763
|
+
elementType: elementType
|
|
11764
|
+
}));
|
|
11765
|
+
};
|
|
11763
11766
|
DropdownNew.propTypes = {
|
|
11764
11767
|
placeHolder: PropTypes.string,
|
|
11765
11768
|
label: PropTypes.string,
|
|
@@ -12173,20 +12176,21 @@ const DatePicker = ({
|
|
|
12173
12176
|
};
|
|
12174
12177
|
|
|
12175
12178
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12176
|
-
const RangePicker =
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
|
|
12179
|
+
const RangePicker = _ref => {
|
|
12180
|
+
let {
|
|
12181
|
+
label,
|
|
12182
|
+
onChange,
|
|
12183
|
+
borderRadius,
|
|
12184
|
+
required,
|
|
12185
|
+
width,
|
|
12186
|
+
height,
|
|
12187
|
+
placeholder,
|
|
12188
|
+
disabled,
|
|
12189
|
+
borderColor,
|
|
12190
|
+
borderColorFocus,
|
|
12191
|
+
textColor,
|
|
12192
|
+
selectedValue
|
|
12193
|
+
} = _ref;
|
|
12190
12194
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
12191
12195
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
12192
12196
|
const [value, setValue] = React$1.useState(''); // Added value state
|
|
@@ -12614,22 +12618,23 @@ const QuarterPopupPicker = ({
|
|
|
12614
12618
|
};
|
|
12615
12619
|
|
|
12616
12620
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
12617
|
-
const QuarterPicker =
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12621
|
+
const QuarterPicker = _ref => {
|
|
12622
|
+
let {
|
|
12623
|
+
availableQuarters,
|
|
12624
|
+
// ["Q1-2024"]
|
|
12625
|
+
label,
|
|
12626
|
+
onChange,
|
|
12627
|
+
borderRadius,
|
|
12628
|
+
required,
|
|
12629
|
+
width,
|
|
12630
|
+
height,
|
|
12631
|
+
placeholder,
|
|
12632
|
+
disabled,
|
|
12633
|
+
borderColor,
|
|
12634
|
+
borderColorFocus,
|
|
12635
|
+
textColor,
|
|
12636
|
+
selectedValue
|
|
12637
|
+
} = _ref;
|
|
12633
12638
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
12634
12639
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
12635
12640
|
const [value, setValue] = React$1.useState('');
|
|
@@ -13066,21 +13071,22 @@ const MonthPopupPicker = ({
|
|
|
13066
13071
|
};
|
|
13067
13072
|
|
|
13068
13073
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
13069
|
-
const MonthPicker =
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
|
|
13075
|
-
|
|
13076
|
-
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13074
|
+
const MonthPicker = _ref => {
|
|
13075
|
+
let {
|
|
13076
|
+
availableMonths,
|
|
13077
|
+
label,
|
|
13078
|
+
onChange,
|
|
13079
|
+
borderRadius,
|
|
13080
|
+
required,
|
|
13081
|
+
width,
|
|
13082
|
+
height,
|
|
13083
|
+
placeholder,
|
|
13084
|
+
disabled,
|
|
13085
|
+
borderColor,
|
|
13086
|
+
borderColorFocus,
|
|
13087
|
+
textColor,
|
|
13088
|
+
selectedValue
|
|
13089
|
+
} = _ref;
|
|
13084
13090
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
13085
13091
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
13086
13092
|
const [value, setValue] = React$1.useState('');
|
|
@@ -26992,23 +26998,23 @@ const QuickFilterMain = dt.div`
|
|
|
26992
26998
|
border-radius: 10px;
|
|
26993
26999
|
`;
|
|
26994
27000
|
|
|
26995
|
-
const QuickFilter =
|
|
26996
|
-
|
|
26997
|
-
hoverColor
|
|
26998
|
-
multipleSelection
|
|
26999
|
-
xIconShow
|
|
27000
|
-
disabled
|
|
27001
|
-
error
|
|
27002
|
-
errorMessage
|
|
27003
|
-
label
|
|
27004
|
-
labelColor
|
|
27005
|
-
placeHolder
|
|
27006
|
-
width
|
|
27007
|
-
checkBoxColor
|
|
27008
|
-
onChange
|
|
27009
|
-
options
|
|
27010
|
-
selectedValue
|
|
27011
|
-
} =
|
|
27001
|
+
const QuickFilter = props => {
|
|
27002
|
+
const {
|
|
27003
|
+
hoverColor,
|
|
27004
|
+
multipleSelection,
|
|
27005
|
+
xIconShow,
|
|
27006
|
+
disabled,
|
|
27007
|
+
error,
|
|
27008
|
+
errorMessage,
|
|
27009
|
+
label,
|
|
27010
|
+
labelColor,
|
|
27011
|
+
placeHolder,
|
|
27012
|
+
width,
|
|
27013
|
+
checkBoxColor,
|
|
27014
|
+
onChange,
|
|
27015
|
+
options,
|
|
27016
|
+
selectedValue
|
|
27017
|
+
} = props;
|
|
27012
27018
|
return /*#__PURE__*/React.createElement(QuickFilterMain, {
|
|
27013
27019
|
width: width,
|
|
27014
27020
|
className: "QuickFilterMain"
|