@bjsdistribution/dms-client-return 0.0.87 → 0.0.89
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/assets/icons/DownloadIcon.d.ts +3 -0
- package/dist/dms-client-return.cjs.development.js +31 -4
- package/dist/dms-client-return.cjs.development.js.map +1 -1
- package/dist/dms-client-return.cjs.production.min.js +1 -1
- package/dist/dms-client-return.cjs.production.min.js.map +1 -1
- package/dist/dms-client-return.esm.js +31 -4
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/assets/icons/DownloadIcon.tsx +36 -0
- package/src/components/order-view/order-details/expanded-content/orders-section/DeliveryDate.tsx +2 -4
- package/src/components/order-view/order-resources/columns/actions/index.tsx +2 -2
|
@@ -4540,13 +4540,13 @@ function DeliveryDate() {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
};
|
|
4542
4542
|
return React__default.createElement(MainContainer$2, null, React__default.createElement(dmsComponentLibrary.Label, {
|
|
4543
|
-
label: "Delivery Date
|
|
4543
|
+
label: "Delivery Date"
|
|
4544
4544
|
}), React__default.createElement(antd.DatePicker, {
|
|
4545
4545
|
onChange: onChange,
|
|
4546
4546
|
value: actionDate === null ? actionDate : dayjs(actionDate),
|
|
4547
4547
|
format: "DD/MM/YY",
|
|
4548
|
-
|
|
4549
|
-
|
|
4548
|
+
disabledDate: function disabledDate(current) {
|
|
4549
|
+
return current && current < dayjs().startOf('day');
|
|
4550
4550
|
},
|
|
4551
4551
|
allowClear: false,
|
|
4552
4552
|
disabled: routedStatus
|
|
@@ -12592,6 +12592,33 @@ function Type(props) {
|
|
|
12592
12592
|
var RowContainer$7 = /*#__PURE__*/styled__default.div(_templateObject$2k || (_templateObject$2k = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
12593
12593
|
var Row$a = /*#__PURE__*/styled__default.div(_templateObject2$1I || (_templateObject2$1I = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
12594
12594
|
|
|
12595
|
+
var DownloadIcon = function DownloadIcon() {
|
|
12596
|
+
return React__default.createElement("svg", {
|
|
12597
|
+
width: "21",
|
|
12598
|
+
height: "21",
|
|
12599
|
+
viewBox: "0 0 21 21",
|
|
12600
|
+
fill: "none",
|
|
12601
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12602
|
+
}, React__default.createElement("g", {
|
|
12603
|
+
id: "icon/import"
|
|
12604
|
+
}, React__default.createElement("rect", {
|
|
12605
|
+
width: "20",
|
|
12606
|
+
height: "20",
|
|
12607
|
+
transform: "translate(0.5 0.243164)",
|
|
12608
|
+
fill: "white"
|
|
12609
|
+
}), React__default.createElement("path", {
|
|
12610
|
+
id: "Vector",
|
|
12611
|
+
opacity: "0.6",
|
|
12612
|
+
d: "M5.12684 17.7165C4.83921 17.7084 4.55614 17.6426 4.29443 17.523C4.03273 17.4034 3.79774 17.2324 3.60341 17.0202C3.40908 16.808 3.25938 16.5589 3.16319 16.2877C3.06701 16.0165 3.02631 15.7287 3.04351 15.4415C3.03351 13.6473 3.04351 11.8532 3.04351 10.059C3.04351 9.94849 3.08741 9.84251 3.16555 9.76437C3.24369 9.68623 3.34967 9.64233 3.46017 9.64233C3.57068 9.64233 3.67666 9.68623 3.7548 9.76437C3.83294 9.84251 3.87684 9.94849 3.87684 10.059C3.87684 11.8923 3.85017 13.7257 3.87684 15.559C3.89017 16.4815 4.58351 16.8832 5.40851 16.8832H15.7943C16.0566 16.8896 16.3146 16.8158 16.5338 16.6717C16.753 16.5275 16.923 16.3199 17.021 16.0765C17.1009 15.789 17.1291 15.4897 17.1043 15.1923V10.059C17.1043 9.94849 17.1482 9.84251 17.2264 9.76437C17.3045 9.68623 17.4105 9.64233 17.521 9.64233C17.6315 9.64233 17.7375 9.68623 17.8156 9.76437C17.8938 9.84251 17.9377 9.94849 17.9377 10.059C17.9377 11.9123 18.0085 13.7798 17.9377 15.6315C17.9305 15.9151 17.867 16.1944 17.7509 16.4532C17.6348 16.7119 17.4683 16.9451 17.2613 17.1389C17.0542 17.3328 16.8107 17.4836 16.5448 17.5824C16.279 17.6813 15.9961 17.7263 15.7127 17.7148L5.12684 17.7165Z",
|
|
12613
|
+
fill: "#3A3630"
|
|
12614
|
+
}), React__default.createElement("path", {
|
|
12615
|
+
id: "Vector_2",
|
|
12616
|
+
opacity: "0.6",
|
|
12617
|
+
d: "M10.1916 13.4248C10.2602 13.4951 10.3533 13.5363 10.4516 13.5398C10.4632 13.5398 10.4741 13.5439 10.4866 13.5448C10.4991 13.5456 10.5091 13.5448 10.5207 13.5398C10.619 13.5364 10.7121 13.4952 10.7807 13.4248L13.8382 10.3673C13.9141 10.2887 13.9561 10.1834 13.9552 10.0742C13.9542 9.96495 13.9104 9.86044 13.8331 9.78319C13.7559 9.70594 13.6514 9.66212 13.5421 9.66117C13.4329 9.66022 13.3276 9.70222 13.2491 9.77812L10.9032 12.1239V3.17228C10.9032 3.06178 10.8593 2.95579 10.7812 2.87765C10.703 2.79951 10.5971 2.75562 10.4866 2.75562C10.376 2.75562 10.2701 2.79951 10.1919 2.87765C10.1138 2.95579 10.0699 3.06178 10.0699 3.17228V12.1239L7.72322 9.77812C7.64464 9.70222 7.53938 9.66022 7.43014 9.66117C7.32089 9.66212 7.21638 9.70594 7.13913 9.78319C7.06188 9.86044 7.01805 9.96495 7.01711 10.0742C7.01616 10.1834 7.05815 10.2887 7.13405 10.3673L10.1916 13.4248Z",
|
|
12618
|
+
fill: "#3A3630"
|
|
12619
|
+
})));
|
|
12620
|
+
};
|
|
12621
|
+
|
|
12595
12622
|
var _templateObject$2l, _templateObject2$1J, _templateObject3$X;
|
|
12596
12623
|
function Action(_ref) {
|
|
12597
12624
|
var _row$original, _orderResources$data;
|
|
@@ -12698,7 +12725,7 @@ function Action(_ref) {
|
|
|
12698
12725
|
cursor: isDownloading ? 'not-allowed' : 'pointer',
|
|
12699
12726
|
opacity: isDownloading ? 0.6 : 1
|
|
12700
12727
|
}
|
|
12701
|
-
}, React__default.createElement(
|
|
12728
|
+
}, React__default.createElement(DownloadIcon, null)))));
|
|
12702
12729
|
}
|
|
12703
12730
|
// Styled components for styling
|
|
12704
12731
|
var Actions = /*#__PURE__*/styled__default.div(_templateObject$2l || (_templateObject$2l = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|