sag_components 2.0.0-beta120 → 2.0.0-beta121
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.d.ts +2 -1
- package/dist/index.esm.js +40 -35
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +40 -35
- package/dist/index.js.map +1 -1
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.d.ts +2 -1
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.stories.d.ts +20 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23907,22 +23907,21 @@ const DeleteIcon = styled__default["default"].div`
|
|
|
23907
23907
|
position: absolute;
|
|
23908
23908
|
`;
|
|
23909
23909
|
|
|
23910
|
-
const QuickFilterDropdownSingle =
|
|
23911
|
-
|
|
23912
|
-
|
|
23913
|
-
|
|
23914
|
-
|
|
23915
|
-
|
|
23916
|
-
|
|
23917
|
-
|
|
23918
|
-
|
|
23919
|
-
|
|
23920
|
-
|
|
23921
|
-
|
|
23922
|
-
|
|
23923
|
-
|
|
23924
|
-
|
|
23925
|
-
} = _ref;
|
|
23910
|
+
const QuickFilterDropdownSingle = ({
|
|
23911
|
+
label,
|
|
23912
|
+
hoverColor,
|
|
23913
|
+
options,
|
|
23914
|
+
selectedValue,
|
|
23915
|
+
placeHolder,
|
|
23916
|
+
onChange,
|
|
23917
|
+
disabled,
|
|
23918
|
+
width,
|
|
23919
|
+
error,
|
|
23920
|
+
errorMessage,
|
|
23921
|
+
xIconShow,
|
|
23922
|
+
labelColor,
|
|
23923
|
+
showLabelOnTop
|
|
23924
|
+
}) => {
|
|
23926
23925
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
23927
23926
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
23928
23927
|
const [inputValue, setInputValue] = React$1.useState("");
|
|
@@ -24319,24 +24318,23 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24319
24318
|
cursor: pointer;
|
|
24320
24319
|
`;
|
|
24321
24320
|
|
|
24322
|
-
const QuickFilterDropdownMultiSelection =
|
|
24323
|
-
|
|
24324
|
-
|
|
24325
|
-
|
|
24326
|
-
|
|
24327
|
-
|
|
24328
|
-
|
|
24329
|
-
|
|
24330
|
-
|
|
24331
|
-
|
|
24332
|
-
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
} = _ref;
|
|
24321
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
24322
|
+
label,
|
|
24323
|
+
labelEmptyValue,
|
|
24324
|
+
options,
|
|
24325
|
+
selectedValue,
|
|
24326
|
+
placeHolder,
|
|
24327
|
+
onChange,
|
|
24328
|
+
required,
|
|
24329
|
+
disabled,
|
|
24330
|
+
width,
|
|
24331
|
+
error,
|
|
24332
|
+
errorMessage,
|
|
24333
|
+
labelColor,
|
|
24334
|
+
xIconShow,
|
|
24335
|
+
checkBoxColor,
|
|
24336
|
+
showLabelOnTop
|
|
24337
|
+
}) => {
|
|
24340
24338
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24341
24339
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24342
24340
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -41417,6 +41415,10 @@ const Card = styled__default["default"].div`
|
|
|
41417
41415
|
height: ${props => props.height || "auto"};
|
|
41418
41416
|
margin: 0 auto;
|
|
41419
41417
|
font-family: 'Poppins', sans-serif;
|
|
41418
|
+
&:disabled {
|
|
41419
|
+
background: #f2f2f2;
|
|
41420
|
+
cursor: not-allowed;
|
|
41421
|
+
}
|
|
41420
41422
|
`;
|
|
41421
41423
|
const TitleContainer = styled__default["default"].div`
|
|
41422
41424
|
display: flex;
|
|
@@ -41475,7 +41477,7 @@ styled__default["default"].input`
|
|
|
41475
41477
|
`;
|
|
41476
41478
|
const VendorListWrapper$2 = styled__default["default"].div`
|
|
41477
41479
|
height: calc(100% - ${props => props.headerHeight}px);
|
|
41478
|
-
background: #fff;
|
|
41480
|
+
background: ${props => props.disabled ? '#f2f2f2' : '#fff'};
|
|
41479
41481
|
width: 100%;
|
|
41480
41482
|
overflow: auto;
|
|
41481
41483
|
border-radius: 0 0 8px 8px;
|
|
@@ -41631,6 +41633,7 @@ const VendorSearchResult = styled__default["default"].span`
|
|
|
41631
41633
|
color: #212121;
|
|
41632
41634
|
font-size: 16px;
|
|
41633
41635
|
font-weight: 400;
|
|
41636
|
+
height: 20px;
|
|
41634
41637
|
`;
|
|
41635
41638
|
const VendorNameAndPackagesContainer = styled__default["default"].div`
|
|
41636
41639
|
display: flex;
|
|
@@ -50836,6 +50839,7 @@ const ItemManagerPanel = _ref => {
|
|
|
50836
50839
|
let {
|
|
50837
50840
|
width = "100%",
|
|
50838
50841
|
height = "100%",
|
|
50842
|
+
disableSection = false,
|
|
50839
50843
|
onSendForms = () => {},
|
|
50840
50844
|
editMode = true,
|
|
50841
50845
|
disabledSendForms = false,
|
|
@@ -51044,6 +51048,7 @@ const ItemManagerPanel = _ref => {
|
|
|
51044
51048
|
type: "primary",
|
|
51045
51049
|
textColor: linkColor
|
|
51046
51050
|
}))), /*#__PURE__*/React__default["default"].createElement(VendorListWrapper$2, {
|
|
51051
|
+
disabled: disableSection,
|
|
51047
51052
|
headerHeight: headerHeight
|
|
51048
51053
|
}, /*#__PURE__*/React__default["default"].createElement(VendorList$2, null, itemAndPackage.filter(item => item.packages !== null).map((item, idx) => /*#__PURE__*/React__default["default"].createElement(VendorItem$1, {
|
|
51049
51054
|
key: idx
|