@bjsdistribution/dms-client-return 0.0.88 → 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.
@@ -4532,13 +4532,13 @@ function DeliveryDate() {
4532
4532
  }
4533
4533
  };
4534
4534
  return React.createElement(MainContainer$2, null, React.createElement(Label$j, {
4535
- label: "Delivery Date next"
4535
+ label: "Delivery Date"
4536
4536
  }), React.createElement(DatePicker, {
4537
4537
  onChange: onChange,
4538
4538
  value: actionDate === null ? actionDate : dayjs(actionDate),
4539
4539
  format: "DD/MM/YY",
4540
- style: {
4541
- borderRadius: '25px'
4540
+ disabledDate: function disabledDate(current) {
4541
+ return current && current < dayjs().startOf('day');
4542
4542
  },
4543
4543
  allowClear: false,
4544
4544
  disabled: routedStatus
@@ -12584,6 +12584,33 @@ function Type(props) {
12584
12584
  var RowContainer$7 = /*#__PURE__*/styled.div(_templateObject$2k || (_templateObject$2k = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
12585
12585
  var Row$a = /*#__PURE__*/styled.div(_templateObject2$1I || (_templateObject2$1I = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
12586
12586
 
12587
+ var DownloadIcon = function DownloadIcon() {
12588
+ return React.createElement("svg", {
12589
+ width: "21",
12590
+ height: "21",
12591
+ viewBox: "0 0 21 21",
12592
+ fill: "none",
12593
+ xmlns: "http://www.w3.org/2000/svg"
12594
+ }, React.createElement("g", {
12595
+ id: "icon/import"
12596
+ }, React.createElement("rect", {
12597
+ width: "20",
12598
+ height: "20",
12599
+ transform: "translate(0.5 0.243164)",
12600
+ fill: "white"
12601
+ }), React.createElement("path", {
12602
+ id: "Vector",
12603
+ opacity: "0.6",
12604
+ 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",
12605
+ fill: "#3A3630"
12606
+ }), React.createElement("path", {
12607
+ id: "Vector_2",
12608
+ opacity: "0.6",
12609
+ 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",
12610
+ fill: "#3A3630"
12611
+ })));
12612
+ };
12613
+
12587
12614
  var _templateObject$2l, _templateObject2$1J, _templateObject3$X;
12588
12615
  function Action(_ref) {
12589
12616
  var _row$original, _orderResources$data;
@@ -12690,7 +12717,7 @@ function Action(_ref) {
12690
12717
  cursor: isDownloading ? 'not-allowed' : 'pointer',
12691
12718
  opacity: isDownloading ? 0.6 : 1
12692
12719
  }
12693
- }, React.createElement(DownIcon, null)))));
12720
+ }, React.createElement(DownloadIcon, null)))));
12694
12721
  }
12695
12722
  // Styled components for styling
12696
12723
  var Actions = /*#__PURE__*/styled.div(_templateObject$2l || (_templateObject$2l = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));