sag_components 2.0.0-beta271 → 2.0.0-beta273
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.js
CHANGED
|
@@ -10591,24 +10591,23 @@ const QuarterPopupPicker = ({
|
|
|
10591
10591
|
};
|
|
10592
10592
|
|
|
10593
10593
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10594
|
-
const QuarterPicker =
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
} = _ref;
|
|
10594
|
+
const QuarterPicker = ({
|
|
10595
|
+
availableQuarters,
|
|
10596
|
+
// ["Q1-2024"]
|
|
10597
|
+
label,
|
|
10598
|
+
onChange,
|
|
10599
|
+
borderRadius,
|
|
10600
|
+
required,
|
|
10601
|
+
width,
|
|
10602
|
+
height,
|
|
10603
|
+
placeholder,
|
|
10604
|
+
disabled,
|
|
10605
|
+
borderColor,
|
|
10606
|
+
borderColorFocus,
|
|
10607
|
+
textColor,
|
|
10608
|
+
selectedValue,
|
|
10609
|
+
startYear
|
|
10610
|
+
}) => {
|
|
10612
10611
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10613
10612
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10614
10613
|
const [value, setValue] = React$1.useState('');
|
|
@@ -11050,23 +11049,22 @@ const MonthPopupPicker = ({
|
|
|
11050
11049
|
};
|
|
11051
11050
|
|
|
11052
11051
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11053
|
-
const MonthPicker =
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
} = _ref;
|
|
11052
|
+
const MonthPicker = ({
|
|
11053
|
+
availableMonths,
|
|
11054
|
+
label,
|
|
11055
|
+
onChange,
|
|
11056
|
+
borderRadius,
|
|
11057
|
+
required,
|
|
11058
|
+
width,
|
|
11059
|
+
height,
|
|
11060
|
+
placeholder,
|
|
11061
|
+
disabled,
|
|
11062
|
+
borderColor,
|
|
11063
|
+
borderColorFocus,
|
|
11064
|
+
textColor,
|
|
11065
|
+
selectedValue,
|
|
11066
|
+
startYear
|
|
11067
|
+
}) => {
|
|
11070
11068
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
11071
11069
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
11072
11070
|
const [value, setValue] = React$1.useState('');
|
|
@@ -36096,7 +36094,7 @@ Input$2.defaultProps = {
|
|
|
36096
36094
|
labelColor: "#066768",
|
|
36097
36095
|
required: true,
|
|
36098
36096
|
width: "300px",
|
|
36099
|
-
minWidth: "
|
|
36097
|
+
minWidth: "unset",
|
|
36100
36098
|
disabled: false,
|
|
36101
36099
|
error: false,
|
|
36102
36100
|
errorMessage: "",
|
|
@@ -43071,11 +43069,13 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
|
|
|
43071
43069
|
case "editable":
|
|
43072
43070
|
try {
|
|
43073
43071
|
const isDefine = value === null || value === undefined;
|
|
43072
|
+
const isDisabled = column?.disable || false;
|
|
43074
43073
|
return /*#__PURE__*/React__default["default"].createElement(EditableCell, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
43075
43074
|
style: {
|
|
43076
43075
|
color: isDefine ? "#8B8989" : "inherit"
|
|
43077
43076
|
}
|
|
43078
43077
|
}, value ? `$${value}` : "Define"), /*#__PURE__*/React__default["default"].createElement(PencilButton, {
|
|
43078
|
+
disabled: isDisabled,
|
|
43079
43079
|
onClick: e => {
|
|
43080
43080
|
e.stopPropagation();
|
|
43081
43081
|
handleEditableClick(row, column.key, value, rowIndex);
|
|
@@ -57782,7 +57782,7 @@ const OverlayDropdown = _ref => {
|
|
|
57782
57782
|
hoverColor = "#E6F0F0",
|
|
57783
57783
|
dropdownMaxHeight = "600px",
|
|
57784
57784
|
width = "100%",
|
|
57785
|
-
minWidth,
|
|
57785
|
+
minWidth = "unset",
|
|
57786
57786
|
height = "auto",
|
|
57787
57787
|
label,
|
|
57788
57788
|
labelEmptyValue,
|