sag_components 2.0.0-beta220 → 2.0.0-beta222
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
CHANGED
|
@@ -9462,6 +9462,7 @@ const DropdownMultiNew = ({
|
|
|
9462
9462
|
required,
|
|
9463
9463
|
disabled,
|
|
9464
9464
|
width,
|
|
9465
|
+
height,
|
|
9465
9466
|
withMarginBottom = true,
|
|
9466
9467
|
error,
|
|
9467
9468
|
errorMessage,
|
|
@@ -10580,23 +10581,24 @@ const QuarterPopupPicker = ({
|
|
|
10580
10581
|
};
|
|
10581
10582
|
|
|
10582
10583
|
/* 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
|
-
|
|
10584
|
+
const QuarterPicker = _ref => {
|
|
10585
|
+
let {
|
|
10586
|
+
availableQuarters,
|
|
10587
|
+
// ["Q1-2024"]
|
|
10588
|
+
label,
|
|
10589
|
+
onChange,
|
|
10590
|
+
borderRadius,
|
|
10591
|
+
required,
|
|
10592
|
+
width,
|
|
10593
|
+
height,
|
|
10594
|
+
placeholder,
|
|
10595
|
+
disabled,
|
|
10596
|
+
borderColor,
|
|
10597
|
+
borderColorFocus,
|
|
10598
|
+
textColor,
|
|
10599
|
+
selectedValue,
|
|
10600
|
+
startYear
|
|
10601
|
+
} = _ref;
|
|
10600
10602
|
const [isFocused, setIsFocused] = useState(false);
|
|
10601
10603
|
const [isOpen, setIsOpen] = useState(false);
|
|
10602
10604
|
const [value, setValue] = useState('');
|
|
@@ -11038,22 +11040,23 @@ const MonthPopupPicker = ({
|
|
|
11038
11040
|
};
|
|
11039
11041
|
|
|
11040
11042
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11041
|
-
const MonthPicker =
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11043
|
+
const MonthPicker = _ref => {
|
|
11044
|
+
let {
|
|
11045
|
+
availableMonths,
|
|
11046
|
+
label,
|
|
11047
|
+
onChange,
|
|
11048
|
+
borderRadius,
|
|
11049
|
+
required,
|
|
11050
|
+
width,
|
|
11051
|
+
height,
|
|
11052
|
+
placeholder,
|
|
11053
|
+
disabled,
|
|
11054
|
+
borderColor,
|
|
11055
|
+
borderColorFocus,
|
|
11056
|
+
textColor,
|
|
11057
|
+
selectedValue,
|
|
11058
|
+
startYear
|
|
11059
|
+
} = _ref;
|
|
11057
11060
|
const [isFocused, setIsFocused] = useState(false);
|
|
11058
11061
|
const [isOpen, setIsOpen] = useState(false);
|
|
11059
11062
|
const [value, setValue] = useState('');
|
|
@@ -24164,21 +24167,22 @@ const DeleteIcon = styled.div`
|
|
|
24164
24167
|
position: absolute;
|
|
24165
24168
|
`;
|
|
24166
24169
|
|
|
24167
|
-
const QuickFilterDropdownSingle =
|
|
24168
|
-
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24170
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24171
|
+
let {
|
|
24172
|
+
label,
|
|
24173
|
+
hoverColor,
|
|
24174
|
+
options,
|
|
24175
|
+
selectedValue,
|
|
24176
|
+
placeHolder,
|
|
24177
|
+
onChange,
|
|
24178
|
+
disabled,
|
|
24179
|
+
width,
|
|
24180
|
+
error,
|
|
24181
|
+
errorMessage,
|
|
24182
|
+
xIconShow,
|
|
24183
|
+
labelColor,
|
|
24184
|
+
showLabelOnTop
|
|
24185
|
+
} = _ref;
|
|
24182
24186
|
const [isFocused, setIsFocused] = useState(false);
|
|
24183
24187
|
const [showOptions, setShowOptions] = useState(false);
|
|
24184
24188
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24635,25 +24639,26 @@ const IconContainer$2 = styled.div`
|
|
|
24635
24639
|
cursor: pointer;
|
|
24636
24640
|
`;
|
|
24637
24641
|
|
|
24638
|
-
const QuickFilterDropdownMultiSelection =
|
|
24639
|
-
|
|
24640
|
-
|
|
24641
|
-
|
|
24642
|
-
|
|
24643
|
-
|
|
24644
|
-
|
|
24645
|
-
|
|
24646
|
-
|
|
24647
|
-
|
|
24648
|
-
|
|
24649
|
-
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24642
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24643
|
+
let {
|
|
24644
|
+
label,
|
|
24645
|
+
labelEmptyValue,
|
|
24646
|
+
options,
|
|
24647
|
+
selectedValue,
|
|
24648
|
+
placeHolder,
|
|
24649
|
+
onChange,
|
|
24650
|
+
required,
|
|
24651
|
+
disabled,
|
|
24652
|
+
width,
|
|
24653
|
+
height,
|
|
24654
|
+
error,
|
|
24655
|
+
errorMessage,
|
|
24656
|
+
labelColor,
|
|
24657
|
+
xIconShow,
|
|
24658
|
+
checkBoxColor,
|
|
24659
|
+
showLabelOnTop,
|
|
24660
|
+
dropdownHeight
|
|
24661
|
+
} = _ref;
|
|
24657
24662
|
const [isFocused, setIsFocused] = useState(false);
|
|
24658
24663
|
const [showOptions, setShowOptions] = useState(false);
|
|
24659
24664
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -36137,9 +36142,9 @@ const ToggleSlider = styled.span`
|
|
|
36137
36142
|
}
|
|
36138
36143
|
`;
|
|
36139
36144
|
|
|
36140
|
-
/**
|
|
36141
|
-
* ToggleSwitch component for on/off states.
|
|
36142
|
-
* Supports small/large sizes and disabled state.
|
|
36145
|
+
/**
|
|
36146
|
+
* ToggleSwitch component for on/off states.
|
|
36147
|
+
* Supports small/large sizes and disabled state.
|
|
36143
36148
|
*/
|
|
36144
36149
|
function ToggleSwitch(_ref) {
|
|
36145
36150
|
let {
|
|
@@ -40467,6 +40472,24 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40467
40472
|
console.warn('Error formatting tag:', e);
|
|
40468
40473
|
return String(value || "");
|
|
40469
40474
|
}
|
|
40475
|
+
case "dotindicator":
|
|
40476
|
+
try {
|
|
40477
|
+
// Check if value is an object with show and color properties
|
|
40478
|
+
if (!value || typeof value !== 'object') return null;
|
|
40479
|
+
const {
|
|
40480
|
+
show,
|
|
40481
|
+
color
|
|
40482
|
+
} = value;
|
|
40483
|
+
|
|
40484
|
+
// Only show the dot if show is true
|
|
40485
|
+
if (!show) return null;
|
|
40486
|
+
return /*#__PURE__*/React$1.createElement(StatusCellCircle, {
|
|
40487
|
+
backgroundColor: color
|
|
40488
|
+
});
|
|
40489
|
+
} catch (e) {
|
|
40490
|
+
console.warn('Error formatting dotIndicator:', e);
|
|
40491
|
+
return null;
|
|
40492
|
+
}
|
|
40470
40493
|
case "packagestatus":
|
|
40471
40494
|
try {
|
|
40472
40495
|
const applyTooltipLogic = (element, tooltipText) => {
|
|
@@ -44370,6 +44393,7 @@ const Table = props => {
|
|
|
44370
44393
|
onHeaderCheckboxClick = () => {},
|
|
44371
44394
|
headerCheckboxStates = {},
|
|
44372
44395
|
onHeroClick = () => {},
|
|
44396
|
+
dotIndicatorColor = '#34D399',
|
|
44373
44397
|
// Accept ref as a regular prop
|
|
44374
44398
|
ref = null
|
|
44375
44399
|
} = props;
|
|
@@ -44504,6 +44528,7 @@ const Table = props => {
|
|
|
44504
44528
|
columns: columns,
|
|
44505
44529
|
indexToShimmer: indexToShimmer,
|
|
44506
44530
|
data: data,
|
|
44531
|
+
dotIndicatorColor: dotIndicatorColor,
|
|
44507
44532
|
selectedColor: selectedColor,
|
|
44508
44533
|
onRowClick: onRowClick,
|
|
44509
44534
|
onSendClick: onSendClick,
|