sag_components 2.0.0-beta324 → 2.0.0-beta325
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.esm.js +79 -73
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +79 -73
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -9840,6 +9840,8 @@ const DropdownNew = props => {
|
|
|
9840
9840
|
if (event && event.newValue && event.newValue[0]) {
|
|
9841
9841
|
onChange && onChange(event);
|
|
9842
9842
|
handleChange && handleChange(event.newValue[0].value);
|
|
9843
|
+
} else if (event && Array.isArray(event.newValue) && event.newValue.length === 0) {
|
|
9844
|
+
onChange && onChange(event);
|
|
9843
9845
|
}
|
|
9844
9846
|
};
|
|
9845
9847
|
return /*#__PURE__*/React$1.createElement(DropdownMain, {
|
|
@@ -10647,23 +10649,24 @@ const QuarterPopupPicker = ({
|
|
|
10647
10649
|
};
|
|
10648
10650
|
|
|
10649
10651
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10650
|
-
const QuarterPicker =
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10652
|
+
const QuarterPicker = _ref => {
|
|
10653
|
+
let {
|
|
10654
|
+
availableQuarters,
|
|
10655
|
+
// ["Q1-2024"]
|
|
10656
|
+
label,
|
|
10657
|
+
onChange,
|
|
10658
|
+
borderRadius,
|
|
10659
|
+
required,
|
|
10660
|
+
width,
|
|
10661
|
+
height,
|
|
10662
|
+
placeholder,
|
|
10663
|
+
disabled,
|
|
10664
|
+
borderColor,
|
|
10665
|
+
borderColorFocus,
|
|
10666
|
+
textColor,
|
|
10667
|
+
selectedValue,
|
|
10668
|
+
startYear
|
|
10669
|
+
} = _ref;
|
|
10667
10670
|
const [isFocused, setIsFocused] = useState(false);
|
|
10668
10671
|
const [isOpen, setIsOpen] = useState(false);
|
|
10669
10672
|
const [value, setValue] = useState('');
|
|
@@ -11105,22 +11108,23 @@ const MonthPopupPicker = ({
|
|
|
11105
11108
|
};
|
|
11106
11109
|
|
|
11107
11110
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11108
|
-
const MonthPicker =
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11111
|
+
const MonthPicker = _ref => {
|
|
11112
|
+
let {
|
|
11113
|
+
availableMonths,
|
|
11114
|
+
label,
|
|
11115
|
+
onChange,
|
|
11116
|
+
borderRadius,
|
|
11117
|
+
required,
|
|
11118
|
+
width,
|
|
11119
|
+
height,
|
|
11120
|
+
placeholder,
|
|
11121
|
+
disabled,
|
|
11122
|
+
borderColor,
|
|
11123
|
+
borderColorFocus,
|
|
11124
|
+
textColor,
|
|
11125
|
+
selectedValue,
|
|
11126
|
+
startYear
|
|
11127
|
+
} = _ref;
|
|
11124
11128
|
const [isFocused, setIsFocused] = useState(false);
|
|
11125
11129
|
const [isOpen, setIsOpen] = useState(false);
|
|
11126
11130
|
const [value, setValue] = useState('');
|
|
@@ -24237,23 +24241,24 @@ const DeleteIcon = styled.div`
|
|
|
24237
24241
|
position: absolute;
|
|
24238
24242
|
`;
|
|
24239
24243
|
|
|
24240
|
-
const QuickFilterDropdownSingle =
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24244
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24245
|
+
let {
|
|
24246
|
+
label,
|
|
24247
|
+
hoverColor,
|
|
24248
|
+
options,
|
|
24249
|
+
selectedValue,
|
|
24250
|
+
placeHolder,
|
|
24251
|
+
optionHoverColor = '#edf6ff',
|
|
24252
|
+
selectedOptionColor = "#C7E4FF",
|
|
24253
|
+
onChange,
|
|
24254
|
+
disabled,
|
|
24255
|
+
width,
|
|
24256
|
+
error,
|
|
24257
|
+
errorMessage,
|
|
24258
|
+
xIconShow,
|
|
24259
|
+
labelColor,
|
|
24260
|
+
showLabelOnTop
|
|
24261
|
+
} = _ref;
|
|
24257
24262
|
const [isFocused, setIsFocused] = useState(false);
|
|
24258
24263
|
const [showOptions, setShowOptions] = useState(false);
|
|
24259
24264
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24711,26 +24716,27 @@ const IconContainer$2 = styled.div`
|
|
|
24711
24716
|
cursor: pointer;
|
|
24712
24717
|
`;
|
|
24713
24718
|
|
|
24714
|
-
const QuickFilterDropdownMultiSelection =
|
|
24715
|
-
|
|
24716
|
-
|
|
24717
|
-
|
|
24718
|
-
|
|
24719
|
-
|
|
24720
|
-
|
|
24721
|
-
|
|
24722
|
-
|
|
24723
|
-
|
|
24724
|
-
|
|
24725
|
-
|
|
24726
|
-
|
|
24727
|
-
|
|
24728
|
-
|
|
24729
|
-
|
|
24730
|
-
|
|
24731
|
-
|
|
24732
|
-
|
|
24733
|
-
|
|
24719
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24720
|
+
let {
|
|
24721
|
+
label,
|
|
24722
|
+
labelEmptyValue,
|
|
24723
|
+
options,
|
|
24724
|
+
selectedValue,
|
|
24725
|
+
placeHolder,
|
|
24726
|
+
onChange,
|
|
24727
|
+
required,
|
|
24728
|
+
disabled,
|
|
24729
|
+
width,
|
|
24730
|
+
height,
|
|
24731
|
+
error,
|
|
24732
|
+
errorMessage,
|
|
24733
|
+
labelColor,
|
|
24734
|
+
optionHoverColor = '#edf6ff',
|
|
24735
|
+
xIconShow,
|
|
24736
|
+
checkBoxColor,
|
|
24737
|
+
showLabelOnTop,
|
|
24738
|
+
dropdownHeight
|
|
24739
|
+
} = _ref;
|
|
24734
24740
|
const [isFocused, setIsFocused] = useState(false);
|
|
24735
24741
|
const [showOptions, setShowOptions] = useState(false);
|
|
24736
24742
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -36276,9 +36282,9 @@ const ToggleSlider = styled.span`
|
|
|
36276
36282
|
}
|
|
36277
36283
|
`;
|
|
36278
36284
|
|
|
36279
|
-
/**
|
|
36280
|
-
* ToggleSwitch component for on/off states.
|
|
36281
|
-
* Supports small/large sizes and disabled state.
|
|
36285
|
+
/**
|
|
36286
|
+
* ToggleSwitch component for on/off states.
|
|
36287
|
+
* Supports small/large sizes and disabled state.
|
|
36282
36288
|
*/
|
|
36283
36289
|
function ToggleSwitch(_ref) {
|
|
36284
36290
|
let {
|