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.js
CHANGED
|
@@ -10439,23 +10439,24 @@ const QuarterPopupPicker = ({
|
|
|
10439
10439
|
};
|
|
10440
10440
|
|
|
10441
10441
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10442
|
-
const QuarterPicker =
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
|
|
10442
|
+
const QuarterPicker = _ref => {
|
|
10443
|
+
let {
|
|
10444
|
+
availableQuarters,
|
|
10445
|
+
// ["Q1-2024"]
|
|
10446
|
+
label,
|
|
10447
|
+
onChange,
|
|
10448
|
+
borderRadius,
|
|
10449
|
+
required,
|
|
10450
|
+
width,
|
|
10451
|
+
height,
|
|
10452
|
+
placeholder,
|
|
10453
|
+
disabled,
|
|
10454
|
+
borderColor,
|
|
10455
|
+
borderColorFocus,
|
|
10456
|
+
textColor,
|
|
10457
|
+
selectedValue,
|
|
10458
|
+
startYear
|
|
10459
|
+
} = _ref;
|
|
10459
10460
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10460
10461
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10461
10462
|
const [value, setValue] = React$1.useState('');
|
|
@@ -10897,22 +10898,23 @@ const MonthPopupPicker = ({
|
|
|
10897
10898
|
};
|
|
10898
10899
|
|
|
10899
10900
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10900
|
-
const MonthPicker =
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10901
|
+
const MonthPicker = _ref => {
|
|
10902
|
+
let {
|
|
10903
|
+
availableMonths,
|
|
10904
|
+
label,
|
|
10905
|
+
onChange,
|
|
10906
|
+
borderRadius,
|
|
10907
|
+
required,
|
|
10908
|
+
width,
|
|
10909
|
+
height,
|
|
10910
|
+
placeholder,
|
|
10911
|
+
disabled,
|
|
10912
|
+
borderColor,
|
|
10913
|
+
borderColorFocus,
|
|
10914
|
+
textColor,
|
|
10915
|
+
selectedValue,
|
|
10916
|
+
startYear
|
|
10917
|
+
} = _ref;
|
|
10916
10918
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10917
10919
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10918
10920
|
const [value, setValue] = React$1.useState('');
|
|
@@ -24023,21 +24025,22 @@ const DeleteIcon = styled__default["default"].div`
|
|
|
24023
24025
|
position: absolute;
|
|
24024
24026
|
`;
|
|
24025
24027
|
|
|
24026
|
-
const QuickFilterDropdownSingle =
|
|
24027
|
-
|
|
24028
|
-
|
|
24029
|
-
|
|
24030
|
-
|
|
24031
|
-
|
|
24032
|
-
|
|
24033
|
-
|
|
24034
|
-
|
|
24035
|
-
|
|
24036
|
-
|
|
24037
|
-
|
|
24038
|
-
|
|
24039
|
-
|
|
24040
|
-
|
|
24028
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24029
|
+
let {
|
|
24030
|
+
label,
|
|
24031
|
+
hoverColor,
|
|
24032
|
+
options,
|
|
24033
|
+
selectedValue,
|
|
24034
|
+
placeHolder,
|
|
24035
|
+
onChange,
|
|
24036
|
+
disabled,
|
|
24037
|
+
width,
|
|
24038
|
+
error,
|
|
24039
|
+
errorMessage,
|
|
24040
|
+
xIconShow,
|
|
24041
|
+
labelColor,
|
|
24042
|
+
showLabelOnTop
|
|
24043
|
+
} = _ref;
|
|
24041
24044
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24042
24045
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24043
24046
|
const [inputValue, setInputValue] = React$1.useState("");
|
|
@@ -24434,23 +24437,24 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24434
24437
|
cursor: pointer;
|
|
24435
24438
|
`;
|
|
24436
24439
|
|
|
24437
|
-
const QuickFilterDropdownMultiSelection =
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24440
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24441
|
+
let {
|
|
24442
|
+
label,
|
|
24443
|
+
labelEmptyValue,
|
|
24444
|
+
options,
|
|
24445
|
+
selectedValue,
|
|
24446
|
+
placeHolder,
|
|
24447
|
+
onChange,
|
|
24448
|
+
required,
|
|
24449
|
+
disabled,
|
|
24450
|
+
width,
|
|
24451
|
+
error,
|
|
24452
|
+
errorMessage,
|
|
24453
|
+
labelColor,
|
|
24454
|
+
xIconShow,
|
|
24455
|
+
checkBoxColor,
|
|
24456
|
+
showLabelOnTop
|
|
24457
|
+
} = _ref;
|
|
24454
24458
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24455
24459
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24456
24460
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -35688,9 +35692,9 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
35688
35692
|
}
|
|
35689
35693
|
`;
|
|
35690
35694
|
|
|
35691
|
-
/**
|
|
35692
|
-
* ToggleSwitch component for on/off states.
|
|
35693
|
-
* Supports small/large sizes and disabled state.
|
|
35695
|
+
/**
|
|
35696
|
+
* ToggleSwitch component for on/off states.
|
|
35697
|
+
* Supports small/large sizes and disabled state.
|
|
35694
35698
|
*/
|
|
35695
35699
|
function ToggleSwitch(_ref) {
|
|
35696
35700
|
let {
|
|
@@ -39064,7 +39068,7 @@ const TableBody = ({
|
|
|
39064
39068
|
return tag.replace(/-/g, ' ').replace(/\b\w/g, l => l.toUpperCase());
|
|
39065
39069
|
};
|
|
39066
39070
|
const formatValue = (value, column, row, rowIndex) => {
|
|
39067
|
-
if (value === null || value === undefined) {
|
|
39071
|
+
if ((value === null || value === undefined) && column.fieldType?.toLowerCase() !== 'comments') {
|
|
39068
39072
|
return '';
|
|
39069
39073
|
}
|
|
39070
39074
|
|