sag_components 2.0.0-beta302 → 2.0.0-beta304
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 +94 -75
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +94 -75
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3754,14 +3754,24 @@ const LinnerDataBox = props => {
|
|
|
3754
3754
|
const TextFieldContainer = styled__default["default"].div`
|
|
3755
3755
|
position: relative;
|
|
3756
3756
|
width: ${props => props.width};
|
|
3757
|
+
display: flex;
|
|
3758
|
+
align-items: center;
|
|
3759
|
+
align-self: flex-end;
|
|
3757
3760
|
`;
|
|
3758
3761
|
const IconWrapper$3 = styled__default["default"].div`
|
|
3759
3762
|
position: absolute;
|
|
3760
|
-
top: 50%;
|
|
3761
|
-
transform: translateY(-50%);
|
|
3762
3763
|
left: ${props => props.position === 'left' ? '10px' : 'unset'};
|
|
3763
3764
|
right: ${props => props.position === 'right' ? '10px' : 'unset'};
|
|
3764
3765
|
cursor: pointer;
|
|
3766
|
+
display: flex;
|
|
3767
|
+
align-items: center;
|
|
3768
|
+
justify-content: center;
|
|
3769
|
+
height: 100%;
|
|
3770
|
+
pointer-events: none;
|
|
3771
|
+
|
|
3772
|
+
& > * {
|
|
3773
|
+
display: block;
|
|
3774
|
+
}
|
|
3765
3775
|
`;
|
|
3766
3776
|
const TextFieldInput = styled__default["default"].input`
|
|
3767
3777
|
width: 100%;
|
|
@@ -3770,14 +3780,17 @@ const TextFieldInput = styled__default["default"].input`
|
|
|
3770
3780
|
font-weight: 400;
|
|
3771
3781
|
padding: 6px 16px;
|
|
3772
3782
|
border-radius: 8px;
|
|
3773
|
-
padding-
|
|
3783
|
+
padding-left: ${props => props.position === 'left' ? '40px' : '16px'};
|
|
3784
|
+
padding-right: ${props => props.position === 'right' ? '40px' : '16px'};
|
|
3774
3785
|
border: 1px solid #B1B1B1;
|
|
3775
3786
|
background: transparent;
|
|
3776
|
-
|
|
3787
|
+
box-sizing: border-box;
|
|
3788
|
+
|
|
3777
3789
|
&:hover,
|
|
3778
3790
|
&:focus {
|
|
3779
3791
|
border: 1px solid #212121;
|
|
3780
3792
|
}
|
|
3793
|
+
|
|
3781
3794
|
&::placeholder {
|
|
3782
3795
|
color: #B1B1B1;
|
|
3783
3796
|
}
|
|
@@ -10618,23 +10631,24 @@ const QuarterPopupPicker = ({
|
|
|
10618
10631
|
};
|
|
10619
10632
|
|
|
10620
10633
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10621
|
-
const QuarterPicker =
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
10629
|
-
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10634
|
+
const QuarterPicker = _ref => {
|
|
10635
|
+
let {
|
|
10636
|
+
availableQuarters,
|
|
10637
|
+
// ["Q1-2024"]
|
|
10638
|
+
label,
|
|
10639
|
+
onChange,
|
|
10640
|
+
borderRadius,
|
|
10641
|
+
required,
|
|
10642
|
+
width,
|
|
10643
|
+
height,
|
|
10644
|
+
placeholder,
|
|
10645
|
+
disabled,
|
|
10646
|
+
borderColor,
|
|
10647
|
+
borderColorFocus,
|
|
10648
|
+
textColor,
|
|
10649
|
+
selectedValue,
|
|
10650
|
+
startYear
|
|
10651
|
+
} = _ref;
|
|
10638
10652
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10639
10653
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10640
10654
|
const [value, setValue] = React$1.useState('');
|
|
@@ -11076,22 +11090,23 @@ const MonthPopupPicker = ({
|
|
|
11076
11090
|
};
|
|
11077
11091
|
|
|
11078
11092
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11079
|
-
const MonthPicker =
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11085
|
-
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11093
|
+
const MonthPicker = _ref => {
|
|
11094
|
+
let {
|
|
11095
|
+
availableMonths,
|
|
11096
|
+
label,
|
|
11097
|
+
onChange,
|
|
11098
|
+
borderRadius,
|
|
11099
|
+
required,
|
|
11100
|
+
width,
|
|
11101
|
+
height,
|
|
11102
|
+
placeholder,
|
|
11103
|
+
disabled,
|
|
11104
|
+
borderColor,
|
|
11105
|
+
borderColorFocus,
|
|
11106
|
+
textColor,
|
|
11107
|
+
selectedValue,
|
|
11108
|
+
startYear
|
|
11109
|
+
} = _ref;
|
|
11095
11110
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
11096
11111
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
11097
11112
|
const [value, setValue] = React$1.useState('');
|
|
@@ -24202,21 +24217,22 @@ const DeleteIcon = styled__default["default"].div`
|
|
|
24202
24217
|
position: absolute;
|
|
24203
24218
|
`;
|
|
24204
24219
|
|
|
24205
|
-
const QuickFilterDropdownSingle =
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24221
|
+
let {
|
|
24222
|
+
label,
|
|
24223
|
+
hoverColor,
|
|
24224
|
+
options,
|
|
24225
|
+
selectedValue,
|
|
24226
|
+
placeHolder,
|
|
24227
|
+
onChange,
|
|
24228
|
+
disabled,
|
|
24229
|
+
width,
|
|
24230
|
+
error,
|
|
24231
|
+
errorMessage,
|
|
24232
|
+
xIconShow,
|
|
24233
|
+
labelColor,
|
|
24234
|
+
showLabelOnTop
|
|
24235
|
+
} = _ref;
|
|
24220
24236
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24221
24237
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24222
24238
|
const [inputValue, setInputValue] = React$1.useState("");
|
|
@@ -24668,25 +24684,26 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24668
24684
|
cursor: pointer;
|
|
24669
24685
|
`;
|
|
24670
24686
|
|
|
24671
|
-
const QuickFilterDropdownMultiSelection =
|
|
24672
|
-
|
|
24673
|
-
|
|
24674
|
-
|
|
24675
|
-
|
|
24676
|
-
|
|
24677
|
-
|
|
24678
|
-
|
|
24679
|
-
|
|
24680
|
-
|
|
24681
|
-
|
|
24682
|
-
|
|
24683
|
-
|
|
24684
|
-
|
|
24685
|
-
|
|
24686
|
-
|
|
24687
|
-
|
|
24688
|
-
|
|
24689
|
-
|
|
24687
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24688
|
+
let {
|
|
24689
|
+
label,
|
|
24690
|
+
labelEmptyValue,
|
|
24691
|
+
options,
|
|
24692
|
+
selectedValue,
|
|
24693
|
+
placeHolder,
|
|
24694
|
+
onChange,
|
|
24695
|
+
required,
|
|
24696
|
+
disabled,
|
|
24697
|
+
width,
|
|
24698
|
+
height,
|
|
24699
|
+
error,
|
|
24700
|
+
errorMessage,
|
|
24701
|
+
labelColor,
|
|
24702
|
+
xIconShow,
|
|
24703
|
+
checkBoxColor,
|
|
24704
|
+
showLabelOnTop,
|
|
24705
|
+
dropdownHeight
|
|
24706
|
+
} = _ref;
|
|
24690
24707
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24691
24708
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24692
24709
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -36226,9 +36243,9 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
36226
36243
|
}
|
|
36227
36244
|
`;
|
|
36228
36245
|
|
|
36229
|
-
/**
|
|
36230
|
-
* ToggleSwitch component for on/off states.
|
|
36231
|
-
* Supports small/large sizes and disabled state.
|
|
36246
|
+
/**
|
|
36247
|
+
* ToggleSwitch component for on/off states.
|
|
36248
|
+
* Supports small/large sizes and disabled state.
|
|
36232
36249
|
*/
|
|
36233
36250
|
function ToggleSwitch(_ref) {
|
|
36234
36251
|
let {
|
|
@@ -43388,7 +43405,9 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
|
|
|
43388
43405
|
}
|
|
43389
43406
|
case "status":
|
|
43390
43407
|
try {
|
|
43391
|
-
|
|
43408
|
+
// Treat "Submitted" like "Received"
|
|
43409
|
+
const normalizedStatus = value === "Submitted" ? "Received" : value;
|
|
43410
|
+
const statusObj = statuses.find(status => status && status.status === normalizedStatus) || {};
|
|
43392
43411
|
const palette = statusObj.palette || ["#F3F4F6", "#374151"];
|
|
43393
43412
|
const [palette0, palette1] = palette;
|
|
43394
43413
|
return /*#__PURE__*/React__default["default"].createElement(StatusCell$1, {
|