sag_components 2.0.0-beta169 → 2.0.0-beta170
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 +73 -69
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +73 -69
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -10429,23 +10429,24 @@ const QuarterPopupPicker = ({
|
|
|
10429
10429
|
};
|
|
10430
10430
|
|
|
10431
10431
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10432
|
-
const QuarterPicker =
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10432
|
+
const QuarterPicker = _ref => {
|
|
10433
|
+
let {
|
|
10434
|
+
availableQuarters,
|
|
10435
|
+
// ["Q1-2024"]
|
|
10436
|
+
label,
|
|
10437
|
+
onChange,
|
|
10438
|
+
borderRadius,
|
|
10439
|
+
required,
|
|
10440
|
+
width,
|
|
10441
|
+
height,
|
|
10442
|
+
placeholder,
|
|
10443
|
+
disabled,
|
|
10444
|
+
borderColor,
|
|
10445
|
+
borderColorFocus,
|
|
10446
|
+
textColor,
|
|
10447
|
+
selectedValue,
|
|
10448
|
+
startYear
|
|
10449
|
+
} = _ref;
|
|
10449
10450
|
const [isFocused, setIsFocused] = useState(false);
|
|
10450
10451
|
const [isOpen, setIsOpen] = useState(false);
|
|
10451
10452
|
const [value, setValue] = useState('');
|
|
@@ -10887,22 +10888,23 @@ const MonthPopupPicker = ({
|
|
|
10887
10888
|
};
|
|
10888
10889
|
|
|
10889
10890
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10890
|
-
const MonthPicker =
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10891
|
+
const MonthPicker = _ref => {
|
|
10892
|
+
let {
|
|
10893
|
+
availableMonths,
|
|
10894
|
+
label,
|
|
10895
|
+
onChange,
|
|
10896
|
+
borderRadius,
|
|
10897
|
+
required,
|
|
10898
|
+
width,
|
|
10899
|
+
height,
|
|
10900
|
+
placeholder,
|
|
10901
|
+
disabled,
|
|
10902
|
+
borderColor,
|
|
10903
|
+
borderColorFocus,
|
|
10904
|
+
textColor,
|
|
10905
|
+
selectedValue,
|
|
10906
|
+
startYear
|
|
10907
|
+
} = _ref;
|
|
10906
10908
|
const [isFocused, setIsFocused] = useState(false);
|
|
10907
10909
|
const [isOpen, setIsOpen] = useState(false);
|
|
10908
10910
|
const [value, setValue] = useState('');
|
|
@@ -24013,21 +24015,22 @@ const DeleteIcon = styled.div`
|
|
|
24013
24015
|
position: absolute;
|
|
24014
24016
|
`;
|
|
24015
24017
|
|
|
24016
|
-
const QuickFilterDropdownSingle =
|
|
24017
|
-
|
|
24018
|
-
|
|
24019
|
-
|
|
24020
|
-
|
|
24021
|
-
|
|
24022
|
-
|
|
24023
|
-
|
|
24024
|
-
|
|
24025
|
-
|
|
24026
|
-
|
|
24027
|
-
|
|
24028
|
-
|
|
24029
|
-
|
|
24030
|
-
|
|
24018
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24019
|
+
let {
|
|
24020
|
+
label,
|
|
24021
|
+
hoverColor,
|
|
24022
|
+
options,
|
|
24023
|
+
selectedValue,
|
|
24024
|
+
placeHolder,
|
|
24025
|
+
onChange,
|
|
24026
|
+
disabled,
|
|
24027
|
+
width,
|
|
24028
|
+
error,
|
|
24029
|
+
errorMessage,
|
|
24030
|
+
xIconShow,
|
|
24031
|
+
labelColor,
|
|
24032
|
+
showLabelOnTop
|
|
24033
|
+
} = _ref;
|
|
24031
24034
|
const [isFocused, setIsFocused] = useState(false);
|
|
24032
24035
|
const [showOptions, setShowOptions] = useState(false);
|
|
24033
24036
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24424,23 +24427,24 @@ const IconContainer$2 = styled.div`
|
|
|
24424
24427
|
cursor: pointer;
|
|
24425
24428
|
`;
|
|
24426
24429
|
|
|
24427
|
-
const QuickFilterDropdownMultiSelection =
|
|
24428
|
-
|
|
24429
|
-
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24430
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24431
|
+
let {
|
|
24432
|
+
label,
|
|
24433
|
+
labelEmptyValue,
|
|
24434
|
+
options,
|
|
24435
|
+
selectedValue,
|
|
24436
|
+
placeHolder,
|
|
24437
|
+
onChange,
|
|
24438
|
+
required,
|
|
24439
|
+
disabled,
|
|
24440
|
+
width,
|
|
24441
|
+
error,
|
|
24442
|
+
errorMessage,
|
|
24443
|
+
labelColor,
|
|
24444
|
+
xIconShow,
|
|
24445
|
+
checkBoxColor,
|
|
24446
|
+
showLabelOnTop
|
|
24447
|
+
} = _ref;
|
|
24444
24448
|
const [isFocused, setIsFocused] = useState(false);
|
|
24445
24449
|
const [showOptions, setShowOptions] = useState(false);
|
|
24446
24450
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -35678,9 +35682,9 @@ const ToggleSlider = styled.span`
|
|
|
35678
35682
|
}
|
|
35679
35683
|
`;
|
|
35680
35684
|
|
|
35681
|
-
/**
|
|
35682
|
-
* ToggleSwitch component for on/off states.
|
|
35683
|
-
* Supports small/large sizes and disabled state.
|
|
35685
|
+
/**
|
|
35686
|
+
* ToggleSwitch component for on/off states.
|
|
35687
|
+
* Supports small/large sizes and disabled state.
|
|
35684
35688
|
*/
|
|
35685
35689
|
function ToggleSwitch(_ref) {
|
|
35686
35690
|
let {
|
|
@@ -39054,7 +39058,7 @@ const TableBody = ({
|
|
|
39054
39058
|
return tag.replace(/-/g, ' ').replace(/\b\w/g, l => l.toUpperCase());
|
|
39055
39059
|
};
|
|
39056
39060
|
const formatValue = (value, column, row, rowIndex) => {
|
|
39057
|
-
if (value === null || value === undefined) {
|
|
39061
|
+
if ((value === null || value === undefined) && column.fieldType?.toLowerCase() !== 'comments') {
|
|
39058
39062
|
return '';
|
|
39059
39063
|
}
|
|
39060
39064
|
|