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.js
CHANGED
|
@@ -9850,6 +9850,8 @@ const DropdownNew = props => {
|
|
|
9850
9850
|
if (event && event.newValue && event.newValue[0]) {
|
|
9851
9851
|
onChange && onChange(event);
|
|
9852
9852
|
handleChange && handleChange(event.newValue[0].value);
|
|
9853
|
+
} else if (event && Array.isArray(event.newValue) && event.newValue.length === 0) {
|
|
9854
|
+
onChange && onChange(event);
|
|
9853
9855
|
}
|
|
9854
9856
|
};
|
|
9855
9857
|
return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
@@ -10657,23 +10659,24 @@ const QuarterPopupPicker = ({
|
|
|
10657
10659
|
};
|
|
10658
10660
|
|
|
10659
10661
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10660
|
-
const QuarterPicker =
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10662
|
+
const QuarterPicker = _ref => {
|
|
10663
|
+
let {
|
|
10664
|
+
availableQuarters,
|
|
10665
|
+
// ["Q1-2024"]
|
|
10666
|
+
label,
|
|
10667
|
+
onChange,
|
|
10668
|
+
borderRadius,
|
|
10669
|
+
required,
|
|
10670
|
+
width,
|
|
10671
|
+
height,
|
|
10672
|
+
placeholder,
|
|
10673
|
+
disabled,
|
|
10674
|
+
borderColor,
|
|
10675
|
+
borderColorFocus,
|
|
10676
|
+
textColor,
|
|
10677
|
+
selectedValue,
|
|
10678
|
+
startYear
|
|
10679
|
+
} = _ref;
|
|
10677
10680
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10678
10681
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10679
10682
|
const [value, setValue] = React$1.useState('');
|
|
@@ -11115,22 +11118,23 @@ const MonthPopupPicker = ({
|
|
|
11115
11118
|
};
|
|
11116
11119
|
|
|
11117
11120
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11118
|
-
const MonthPicker =
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11127
|
-
|
|
11128
|
-
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11132
|
-
|
|
11133
|
-
|
|
11121
|
+
const MonthPicker = _ref => {
|
|
11122
|
+
let {
|
|
11123
|
+
availableMonths,
|
|
11124
|
+
label,
|
|
11125
|
+
onChange,
|
|
11126
|
+
borderRadius,
|
|
11127
|
+
required,
|
|
11128
|
+
width,
|
|
11129
|
+
height,
|
|
11130
|
+
placeholder,
|
|
11131
|
+
disabled,
|
|
11132
|
+
borderColor,
|
|
11133
|
+
borderColorFocus,
|
|
11134
|
+
textColor,
|
|
11135
|
+
selectedValue,
|
|
11136
|
+
startYear
|
|
11137
|
+
} = _ref;
|
|
11134
11138
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
11135
11139
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
11136
11140
|
const [value, setValue] = React$1.useState('');
|
|
@@ -24247,23 +24251,24 @@ const DeleteIcon = styled__default["default"].div`
|
|
|
24247
24251
|
position: absolute;
|
|
24248
24252
|
`;
|
|
24249
24253
|
|
|
24250
|
-
const QuickFilterDropdownSingle =
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24254
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24255
|
+
let {
|
|
24256
|
+
label,
|
|
24257
|
+
hoverColor,
|
|
24258
|
+
options,
|
|
24259
|
+
selectedValue,
|
|
24260
|
+
placeHolder,
|
|
24261
|
+
optionHoverColor = '#edf6ff',
|
|
24262
|
+
selectedOptionColor = "#C7E4FF",
|
|
24263
|
+
onChange,
|
|
24264
|
+
disabled,
|
|
24265
|
+
width,
|
|
24266
|
+
error,
|
|
24267
|
+
errorMessage,
|
|
24268
|
+
xIconShow,
|
|
24269
|
+
labelColor,
|
|
24270
|
+
showLabelOnTop
|
|
24271
|
+
} = _ref;
|
|
24267
24272
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24268
24273
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24269
24274
|
const [inputValue, setInputValue] = React$1.useState("");
|
|
@@ -24721,26 +24726,27 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24721
24726
|
cursor: pointer;
|
|
24722
24727
|
`;
|
|
24723
24728
|
|
|
24724
|
-
const QuickFilterDropdownMultiSelection =
|
|
24725
|
-
|
|
24726
|
-
|
|
24727
|
-
|
|
24728
|
-
|
|
24729
|
-
|
|
24730
|
-
|
|
24731
|
-
|
|
24732
|
-
|
|
24733
|
-
|
|
24734
|
-
|
|
24735
|
-
|
|
24736
|
-
|
|
24737
|
-
|
|
24738
|
-
|
|
24739
|
-
|
|
24740
|
-
|
|
24741
|
-
|
|
24742
|
-
|
|
24743
|
-
|
|
24729
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24730
|
+
let {
|
|
24731
|
+
label,
|
|
24732
|
+
labelEmptyValue,
|
|
24733
|
+
options,
|
|
24734
|
+
selectedValue,
|
|
24735
|
+
placeHolder,
|
|
24736
|
+
onChange,
|
|
24737
|
+
required,
|
|
24738
|
+
disabled,
|
|
24739
|
+
width,
|
|
24740
|
+
height,
|
|
24741
|
+
error,
|
|
24742
|
+
errorMessage,
|
|
24743
|
+
labelColor,
|
|
24744
|
+
optionHoverColor = '#edf6ff',
|
|
24745
|
+
xIconShow,
|
|
24746
|
+
checkBoxColor,
|
|
24747
|
+
showLabelOnTop,
|
|
24748
|
+
dropdownHeight
|
|
24749
|
+
} = _ref;
|
|
24744
24750
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24745
24751
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24746
24752
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -36286,9 +36292,9 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
36286
36292
|
}
|
|
36287
36293
|
`;
|
|
36288
36294
|
|
|
36289
|
-
/**
|
|
36290
|
-
* ToggleSwitch component for on/off states.
|
|
36291
|
-
* Supports small/large sizes and disabled state.
|
|
36295
|
+
/**
|
|
36296
|
+
* ToggleSwitch component for on/off states.
|
|
36297
|
+
* Supports small/large sizes and disabled state.
|
|
36292
36298
|
*/
|
|
36293
36299
|
function ToggleSwitch(_ref) {
|
|
36294
36300
|
let {
|