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.d.ts
CHANGED
|
@@ -1434,9 +1434,10 @@ declare function RangePop(props: any): react_jsx_runtime.JSX.Element;
|
|
|
1434
1434
|
|
|
1435
1435
|
declare function SearchInput(props: any): react_jsx_runtime.JSX.Element;
|
|
1436
1436
|
|
|
1437
|
-
declare function ItemManagerPanel({ width, height, onSendForms, editMode, disabledSendForms, AllFormsSent, itemAndPackage, setItemAndPackage, linkColor, backgroundColor, buttonTooltipText, }: {
|
|
1437
|
+
declare function ItemManagerPanel({ width, height, disableSection, onSendForms, editMode, disabledSendForms, AllFormsSent, itemAndPackage, setItemAndPackage, linkColor, backgroundColor, buttonTooltipText, }: {
|
|
1438
1438
|
width?: string;
|
|
1439
1439
|
height?: string;
|
|
1440
|
+
disableSection?: boolean;
|
|
1440
1441
|
onSendForms?: () => void;
|
|
1441
1442
|
editMode?: boolean;
|
|
1442
1443
|
disabledSendForms?: boolean;
|
package/dist/index.esm.js
CHANGED
|
@@ -23897,22 +23897,21 @@ const DeleteIcon = styled.div`
|
|
|
23897
23897
|
position: absolute;
|
|
23898
23898
|
`;
|
|
23899
23899
|
|
|
23900
|
-
const QuickFilterDropdownSingle =
|
|
23901
|
-
|
|
23902
|
-
|
|
23903
|
-
|
|
23904
|
-
|
|
23905
|
-
|
|
23906
|
-
|
|
23907
|
-
|
|
23908
|
-
|
|
23909
|
-
|
|
23910
|
-
|
|
23911
|
-
|
|
23912
|
-
|
|
23913
|
-
|
|
23914
|
-
|
|
23915
|
-
} = _ref;
|
|
23900
|
+
const QuickFilterDropdownSingle = ({
|
|
23901
|
+
label,
|
|
23902
|
+
hoverColor,
|
|
23903
|
+
options,
|
|
23904
|
+
selectedValue,
|
|
23905
|
+
placeHolder,
|
|
23906
|
+
onChange,
|
|
23907
|
+
disabled,
|
|
23908
|
+
width,
|
|
23909
|
+
error,
|
|
23910
|
+
errorMessage,
|
|
23911
|
+
xIconShow,
|
|
23912
|
+
labelColor,
|
|
23913
|
+
showLabelOnTop
|
|
23914
|
+
}) => {
|
|
23916
23915
|
const [isFocused, setIsFocused] = useState(false);
|
|
23917
23916
|
const [showOptions, setShowOptions] = useState(false);
|
|
23918
23917
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24309,24 +24308,23 @@ const IconContainer$2 = styled.div`
|
|
|
24309
24308
|
cursor: pointer;
|
|
24310
24309
|
`;
|
|
24311
24310
|
|
|
24312
|
-
const QuickFilterDropdownMultiSelection =
|
|
24313
|
-
|
|
24314
|
-
|
|
24315
|
-
|
|
24316
|
-
|
|
24317
|
-
|
|
24318
|
-
|
|
24319
|
-
|
|
24320
|
-
|
|
24321
|
-
|
|
24322
|
-
|
|
24323
|
-
|
|
24324
|
-
|
|
24325
|
-
|
|
24326
|
-
|
|
24327
|
-
|
|
24328
|
-
|
|
24329
|
-
} = _ref;
|
|
24311
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
24312
|
+
label,
|
|
24313
|
+
labelEmptyValue,
|
|
24314
|
+
options,
|
|
24315
|
+
selectedValue,
|
|
24316
|
+
placeHolder,
|
|
24317
|
+
onChange,
|
|
24318
|
+
required,
|
|
24319
|
+
disabled,
|
|
24320
|
+
width,
|
|
24321
|
+
error,
|
|
24322
|
+
errorMessage,
|
|
24323
|
+
labelColor,
|
|
24324
|
+
xIconShow,
|
|
24325
|
+
checkBoxColor,
|
|
24326
|
+
showLabelOnTop
|
|
24327
|
+
}) => {
|
|
24330
24328
|
const [isFocused, setIsFocused] = useState(false);
|
|
24331
24329
|
const [showOptions, setShowOptions] = useState(false);
|
|
24332
24330
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -41407,6 +41405,10 @@ const Card = styled.div`
|
|
|
41407
41405
|
height: ${props => props.height || "auto"};
|
|
41408
41406
|
margin: 0 auto;
|
|
41409
41407
|
font-family: 'Poppins', sans-serif;
|
|
41408
|
+
&:disabled {
|
|
41409
|
+
background: #f2f2f2;
|
|
41410
|
+
cursor: not-allowed;
|
|
41411
|
+
}
|
|
41410
41412
|
`;
|
|
41411
41413
|
const TitleContainer = styled.div`
|
|
41412
41414
|
display: flex;
|
|
@@ -41465,7 +41467,7 @@ styled.input`
|
|
|
41465
41467
|
`;
|
|
41466
41468
|
const VendorListWrapper$2 = styled.div`
|
|
41467
41469
|
height: calc(100% - ${props => props.headerHeight}px);
|
|
41468
|
-
background: #fff;
|
|
41470
|
+
background: ${props => props.disabled ? '#f2f2f2' : '#fff'};
|
|
41469
41471
|
width: 100%;
|
|
41470
41472
|
overflow: auto;
|
|
41471
41473
|
border-radius: 0 0 8px 8px;
|
|
@@ -41621,6 +41623,7 @@ const VendorSearchResult = styled.span`
|
|
|
41621
41623
|
color: #212121;
|
|
41622
41624
|
font-size: 16px;
|
|
41623
41625
|
font-weight: 400;
|
|
41626
|
+
height: 20px;
|
|
41624
41627
|
`;
|
|
41625
41628
|
const VendorNameAndPackagesContainer = styled.div`
|
|
41626
41629
|
display: flex;
|
|
@@ -50826,6 +50829,7 @@ const ItemManagerPanel = _ref => {
|
|
|
50826
50829
|
let {
|
|
50827
50830
|
width = "100%",
|
|
50828
50831
|
height = "100%",
|
|
50832
|
+
disableSection = false,
|
|
50829
50833
|
onSendForms = () => {},
|
|
50830
50834
|
editMode = true,
|
|
50831
50835
|
disabledSendForms = false,
|
|
@@ -51034,6 +51038,7 @@ const ItemManagerPanel = _ref => {
|
|
|
51034
51038
|
type: "primary",
|
|
51035
51039
|
textColor: linkColor
|
|
51036
51040
|
}))), /*#__PURE__*/React$1.createElement(VendorListWrapper$2, {
|
|
51041
|
+
disabled: disableSection,
|
|
51037
51042
|
headerHeight: headerHeight
|
|
51038
51043
|
}, /*#__PURE__*/React$1.createElement(VendorList$2, null, itemAndPackage.filter(item => item.packages !== null).map((item, idx) => /*#__PURE__*/React$1.createElement(VendorItem$1, {
|
|
51039
51044
|
key: idx
|