sag_components 2.0.0-beta206 → 2.0.0-beta207
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 +74 -70
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +74 -70
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -10580,23 +10580,24 @@ const QuarterPopupPicker = ({
|
|
|
10580
10580
|
};
|
|
10581
10581
|
|
|
10582
10582
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10583
|
-
const QuarterPicker =
|
|
10584
|
-
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10583
|
+
const QuarterPicker = _ref => {
|
|
10584
|
+
let {
|
|
10585
|
+
availableQuarters,
|
|
10586
|
+
// ["Q1-2024"]
|
|
10587
|
+
label,
|
|
10588
|
+
onChange,
|
|
10589
|
+
borderRadius,
|
|
10590
|
+
required,
|
|
10591
|
+
width,
|
|
10592
|
+
height,
|
|
10593
|
+
placeholder,
|
|
10594
|
+
disabled,
|
|
10595
|
+
borderColor,
|
|
10596
|
+
borderColorFocus,
|
|
10597
|
+
textColor,
|
|
10598
|
+
selectedValue,
|
|
10599
|
+
startYear
|
|
10600
|
+
} = _ref;
|
|
10600
10601
|
const [isFocused, setIsFocused] = useState(false);
|
|
10601
10602
|
const [isOpen, setIsOpen] = useState(false);
|
|
10602
10603
|
const [value, setValue] = useState('');
|
|
@@ -11038,22 +11039,23 @@ const MonthPopupPicker = ({
|
|
|
11038
11039
|
};
|
|
11039
11040
|
|
|
11040
11041
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11041
|
-
const MonthPicker =
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11042
|
+
const MonthPicker = _ref => {
|
|
11043
|
+
let {
|
|
11044
|
+
availableMonths,
|
|
11045
|
+
label,
|
|
11046
|
+
onChange,
|
|
11047
|
+
borderRadius,
|
|
11048
|
+
required,
|
|
11049
|
+
width,
|
|
11050
|
+
height,
|
|
11051
|
+
placeholder,
|
|
11052
|
+
disabled,
|
|
11053
|
+
borderColor,
|
|
11054
|
+
borderColorFocus,
|
|
11055
|
+
textColor,
|
|
11056
|
+
selectedValue,
|
|
11057
|
+
startYear
|
|
11058
|
+
} = _ref;
|
|
11057
11059
|
const [isFocused, setIsFocused] = useState(false);
|
|
11058
11060
|
const [isOpen, setIsOpen] = useState(false);
|
|
11059
11061
|
const [value, setValue] = useState('');
|
|
@@ -24164,21 +24166,22 @@ const DeleteIcon = styled.div`
|
|
|
24164
24166
|
position: absolute;
|
|
24165
24167
|
`;
|
|
24166
24168
|
|
|
24167
|
-
const QuickFilterDropdownSingle =
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24169
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24170
|
+
let {
|
|
24171
|
+
label,
|
|
24172
|
+
hoverColor,
|
|
24173
|
+
options,
|
|
24174
|
+
selectedValue,
|
|
24175
|
+
placeHolder,
|
|
24176
|
+
onChange,
|
|
24177
|
+
disabled,
|
|
24178
|
+
width,
|
|
24179
|
+
error,
|
|
24180
|
+
errorMessage,
|
|
24181
|
+
xIconShow,
|
|
24182
|
+
labelColor,
|
|
24183
|
+
showLabelOnTop
|
|
24184
|
+
} = _ref;
|
|
24182
24185
|
const [isFocused, setIsFocused] = useState(false);
|
|
24183
24186
|
const [showOptions, setShowOptions] = useState(false);
|
|
24184
24187
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24575,23 +24578,24 @@ const IconContainer$2 = styled.div`
|
|
|
24575
24578
|
cursor: pointer;
|
|
24576
24579
|
`;
|
|
24577
24580
|
|
|
24578
|
-
const QuickFilterDropdownMultiSelection =
|
|
24579
|
-
|
|
24580
|
-
|
|
24581
|
-
|
|
24582
|
-
|
|
24583
|
-
|
|
24584
|
-
|
|
24585
|
-
|
|
24586
|
-
|
|
24587
|
-
|
|
24588
|
-
|
|
24589
|
-
|
|
24590
|
-
|
|
24591
|
-
|
|
24592
|
-
|
|
24593
|
-
|
|
24594
|
-
|
|
24581
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24582
|
+
let {
|
|
24583
|
+
label,
|
|
24584
|
+
labelEmptyValue,
|
|
24585
|
+
options,
|
|
24586
|
+
selectedValue,
|
|
24587
|
+
placeHolder,
|
|
24588
|
+
onChange,
|
|
24589
|
+
required,
|
|
24590
|
+
disabled,
|
|
24591
|
+
width,
|
|
24592
|
+
error,
|
|
24593
|
+
errorMessage,
|
|
24594
|
+
labelColor,
|
|
24595
|
+
xIconShow,
|
|
24596
|
+
checkBoxColor,
|
|
24597
|
+
showLabelOnTop
|
|
24598
|
+
} = _ref;
|
|
24595
24599
|
const [isFocused, setIsFocused] = useState(false);
|
|
24596
24600
|
const [showOptions, setShowOptions] = useState(false);
|
|
24597
24601
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -36033,9 +36037,9 @@ const ToggleSlider = styled.span`
|
|
|
36033
36037
|
}
|
|
36034
36038
|
`;
|
|
36035
36039
|
|
|
36036
|
-
/**
|
|
36037
|
-
* ToggleSwitch component for on/off states.
|
|
36038
|
-
* Supports small/large sizes and disabled state.
|
|
36040
|
+
/**
|
|
36041
|
+
* ToggleSwitch component for on/off states.
|
|
36042
|
+
* Supports small/large sizes and disabled state.
|
|
36039
36043
|
*/
|
|
36040
36044
|
function ToggleSwitch(_ref) {
|
|
36041
36045
|
let {
|
|
@@ -38746,7 +38750,7 @@ const TableHeader = ({
|
|
|
38746
38750
|
type: "checkbox",
|
|
38747
38751
|
onChange: e => handleCheckboxChange(column.key, e.target.checked),
|
|
38748
38752
|
"data-column": column.key
|
|
38749
|
-
}), column.fieldType?.toLowerCase() === 'checkbox' && column.showCheckboxInTitle
|
|
38753
|
+
}), column.fieldType?.toLowerCase() === 'checkbox' && column.showCheckboxInTitle === true && /*#__PURE__*/React$1.createElement(ColumnCheckbox, {
|
|
38750
38754
|
type: "checkbox",
|
|
38751
38755
|
checked: headerCheckboxStates[column.key] || false,
|
|
38752
38756
|
onChange: e => handleHeaderCheckboxClick(column.key, e),
|
|
@@ -38763,7 +38767,7 @@ const TableHeader = ({
|
|
|
38763
38767
|
alignItems: 'center',
|
|
38764
38768
|
justifyContent: 'center'
|
|
38765
38769
|
}
|
|
38766
|
-
}), column.
|
|
38770
|
+
}), column.title && /*#__PURE__*/React$1.createElement(ColumnLabel, null, column.title), (column.filter || column.sort) && /*#__PURE__*/React$1.createElement(ColumnActions, null, column.sort && /*#__PURE__*/React$1.createElement(IconButton, {
|
|
38767
38771
|
ref: el => iconRefs.current[`sort-${column.key}`] = el,
|
|
38768
38772
|
onClick: () => handleSort(column.key),
|
|
38769
38773
|
onMouseEnter: () => setFocusedSort(column.key),
|