@mseva/upyog-ui-module-ads 1.0.93 → 1.0.94
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -18482,6 +18482,10 @@ const InboxLinks = ({
|
|
|
18482
18482
|
text: t("ES_TITLE_NEW_ADD_BOOKING"),
|
|
18483
18483
|
link: "/digit-ui/employee/ads/bookad",
|
|
18484
18484
|
roles: []
|
|
18485
|
+
}, {
|
|
18486
|
+
text: t("ADS_MY_APPLICATIONS"),
|
|
18487
|
+
link: `/digit-ui/employee/ads/my-applications`,
|
|
18488
|
+
roles: []
|
|
18485
18489
|
}];
|
|
18486
18490
|
const [links, setLinks] = useState([]);
|
|
18487
18491
|
const {
|
|
@@ -24030,19 +24034,13 @@ const AvailabilityModal = ({
|
|
|
24030
24034
|
onClose();
|
|
24031
24035
|
}
|
|
24032
24036
|
};
|
|
24033
|
-
useEffect(() => {
|
|
24034
|
-
if (allInCart) {
|
|
24035
|
-
setSelectAll(true);
|
|
24036
|
-
}
|
|
24037
|
-
}, [allInCart]);
|
|
24038
24037
|
const columns = [{
|
|
24039
24038
|
Header: () => /*#__PURE__*/React.createElement("input", {
|
|
24040
24039
|
type: "checkbox",
|
|
24041
|
-
checked: selectAll,
|
|
24042
|
-
disabled: allBooked,
|
|
24040
|
+
checked: allInCart || selectAll,
|
|
24043
24041
|
onChange: e => handleSelectAll(e.target.checked),
|
|
24044
24042
|
style: {
|
|
24045
|
-
cursor:
|
|
24043
|
+
cursor: "pointer",
|
|
24046
24044
|
width: "18px",
|
|
24047
24045
|
height: "18px",
|
|
24048
24046
|
accentColor: "#0b74de"
|
|
@@ -24219,6 +24217,7 @@ const AvailabilityModal = ({
|
|
|
24219
24217
|
}
|
|
24220
24218
|
}, t ? t("Cancel") : "Cancel"), /*#__PURE__*/React.createElement("button", {
|
|
24221
24219
|
onClick: handleAddToCart,
|
|
24220
|
+
disabled: (selectedSlots === null || selectedSlots === void 0 ? void 0 : selectedSlots.length) === 0,
|
|
24222
24221
|
style: {
|
|
24223
24222
|
padding: "10px 18px",
|
|
24224
24223
|
borderRadius: "6px",
|
|
@@ -24616,7 +24615,7 @@ const AdCard = ({
|
|
|
24616
24615
|
cursor: "pointer",
|
|
24617
24616
|
fontSize: 14
|
|
24618
24617
|
}
|
|
24619
|
-
}, t("
|
|
24618
|
+
}, t("ADS_VIEW_AVAILABIITY"), "\uD83D\uDC41\uFE0F"), isAdded && /*#__PURE__*/React.createElement("button", {
|
|
24620
24619
|
type: "button",
|
|
24621
24620
|
onClick: openCart,
|
|
24622
24621
|
style: {
|