@djb25/digit-ui-module-vendor 1.0.40 → 1.0.41

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.
@@ -1567,7 +1567,7 @@ const ApplicationTable = ({
1567
1567
  csvExportButtonLabel,
1568
1568
  ...rest
1569
1569
  }) => {
1570
- return /*#__PURE__*/React.createElement(Table, Object.assign({
1570
+ return /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(Table, Object.assign({
1571
1571
  className: _className,
1572
1572
  t: t,
1573
1573
  data: data,
@@ -1589,7 +1589,7 @@ const ApplicationTable = ({
1589
1589
  getCSVExportData: getCSVExportData,
1590
1590
  csvExportColumns: csvExportColumns,
1591
1591
  csvExportButtonLabel: csvExportButtonLabel
1592
- }, rest));
1592
+ }, rest)));
1593
1593
  };
1594
1594
 
1595
1595
  const StatusCount = ({
@@ -1991,10 +1991,7 @@ const RegisteredVendorSearch = ({
1991
1991
  const userType = userInfo.info.type;
1992
1992
  const vendorItems = [...(matchedRoles !== null && matchedRoles !== void 0 && (_matchedRoles$wt = matchedRoles.wt) !== null && _matchedRoles$wt !== void 0 && _matchedRoles$wt.includes("WT_VENDOR") ? ["VENDOR"] : []), ...(matchedRoles !== null && matchedRoles !== void 0 && (_matchedRoles$wt2 = matchedRoles.wt) !== null && _matchedRoles$wt2 !== void 0 && _matchedRoles$wt2.includes("WT_VENDOR") ? ["DRIVER", "VEHICLE"] : []), ...(matchedRoles !== null && matchedRoles !== void 0 && (_matchedRoles$ekyc = matchedRoles.ekyc) !== null && _matchedRoles$ekyc !== void 0 && _matchedRoles$ekyc.includes("EKYC_VENDOR") ? ["SUPERVISOR"] : []), ...(matchedRoles !== null && matchedRoles !== void 0 && (_matchedRoles$ekyc2 = matchedRoles.ekyc) !== null && _matchedRoles$ekyc2 !== void 0 && _matchedRoles$ekyc2.includes("EKYC_SUPERVISOR") || matchedRoles !== null && matchedRoles !== void 0 && (_matchedRoles$ekyc3 = matchedRoles.ekyc) !== null && _matchedRoles$ekyc3 !== void 0 && _matchedRoles$ekyc3.includes("EKYC_VENDOR") ? ["SURVEYOR"] : [])];
1993
1993
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
1994
- className: "search-container",
1995
- style: {
1996
- width: "auto"
1997
- }
1994
+ className: "search-container"
1998
1995
  }, /*#__PURE__*/React.createElement("div", {
1999
1996
  className: "search-complaint-container"
2000
1997
  }, (type === "mobile" || mobileView) && /*#__PURE__*/React.createElement("div", {
@@ -3454,7 +3451,10 @@ const VendorInbox = props => {
3454
3451
  style: {
3455
3452
  flex: 1,
3456
3453
  width: "100%",
3457
- marginLeft: props.userRole === "FSM_ADMIN" ? "" : "24px"
3454
+ marginLeft: props.userRole === "FSM_ADMIN" ? "" : "24px",
3455
+ display: "flex",
3456
+ flexDirection: "column",
3457
+ gap: "12px"
3458
3458
  }
3459
3459
  }, /*#__PURE__*/React.createElement(RegisteredVendorSearch, {
3460
3460
  onSearch: props.onSearch,