ordering-ui-external 1.9.1 → 1.9.2

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.
Files changed (16) hide show
  1. package/_bundles/{0.ordering-ui.a97bdaf67c563ada4c74.js → 0.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  2. package/_bundles/{1.ordering-ui.a97bdaf67c563ada4c74.js → 1.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  3. package/_bundles/{2.ordering-ui.a97bdaf67c563ada4c74.js → 2.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  4. package/_bundles/{4.ordering-ui.a97bdaf67c563ada4c74.js → 4.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  5. package/_bundles/{5.ordering-ui.a97bdaf67c563ada4c74.js → 5.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  6. package/_bundles/{6.ordering-ui.a97bdaf67c563ada4c74.js → 6.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  7. package/_bundles/{7.ordering-ui.a97bdaf67c563ada4c74.js → 7.ordering-ui.8e20ae6af39ad738a29e.js} +1 -1
  8. package/_bundles/{7.ordering-ui.a97bdaf67c563ada4c74.js.LICENSE.txt → 7.ordering-ui.8e20ae6af39ad738a29e.js.LICENSE.txt} +0 -0
  9. package/_bundles/{8.ordering-ui.a97bdaf67c563ada4c74.js → 8.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  10. package/_bundles/{9.ordering-ui.a97bdaf67c563ada4c74.js → 9.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
  11. package/_bundles/ordering-ui.8e20ae6af39ad738a29e.js +2 -0
  12. package/_bundles/{ordering-ui.a97bdaf67c563ada4c74.js.LICENSE.txt → ordering-ui.8e20ae6af39ad738a29e.js.LICENSE.txt} +0 -0
  13. package/_modules/themes/five/src/components/OrderDetails/index.js +2 -2
  14. package/package.json +1 -1
  15. package/src/themes/five/src/components/OrderDetails/index.js +2 -2
  16. package/_bundles/ordering-ui.a97bdaf67c563ada4c74.js +0 -2
@@ -624,8 +624,8 @@ var OrderDetailsUI = function OrderDetailsUI(props) {
624
624
  setIsService(_isService);
625
625
  businessLogoUrlValidation();
626
626
  }, [order]);
627
- var disableLeftButton = [1, 15, 20, 21];
628
- var disableRightButton = [1, 15, 21];
627
+ var disableLeftButton = [1, 2, 5, 15, 16, 17, 20, 21];
628
+ var disableRightButton = [1, 2, 5, 15, 16, 17, 21];
629
629
  return /*#__PURE__*/_react.default.createElement(_styles.Container, null, !loading && order && Object.keys(order).length > 0 && !(openMessages.driver || openMessages.business) && /*#__PURE__*/_react.default.createElement(_styles.WrapperContainer, null, /*#__PURE__*/_react.default.createElement(_styles.WrapperLeftContainer, null, /*#__PURE__*/_react.default.createElement(_styles.OrderInfo, null, /*#__PURE__*/_react.default.createElement(_styles.TitleContainer, null, /*#__PURE__*/_react.default.createElement(_styles.OrderIdSec, null, isService ? t('APPOINTMENT', 'Appointment') : t('ORDER', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag25 = theme.defaultLanguages) === null || _theme$defaultLanguag25 === void 0 ? void 0 : _theme$defaultLanguag25.ORDER) || 'Order'), " #", order === null || order === void 0 ? void 0 : order.id), enabledPoweredByOrdering && /*#__PURE__*/_react.default.createElement(_styles.PoweredByOrdering, null, t('POWERED_BY', 'Powered by'), /*#__PURE__*/_react.default.createElement("a", {
630
630
  href: "https://www.ordering.co"
631
631
  }, ' ', t('ORDERING_CO', 'Ordering.co'))), parseInt(configs === null || configs === void 0 ? void 0 : (_configs$guest_uuid_a = configs.guest_uuid_access) === null || _configs$guest_uuid_a === void 0 ? void 0 : _configs$guest_uuid_a.value, 10) && (order === null || order === void 0 ? void 0 : order.hash_key) && /*#__PURE__*/_react.default.createElement(_styles.Content, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-external",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Ordering UI Components",
5
5
  "main": "./_modules/index.js",
6
6
  "exports": {
@@ -400,8 +400,8 @@ const OrderDetailsUI = (props) => {
400
400
  businessLogoUrlValidation()
401
401
  }, [order])
402
402
 
403
- const disableLeftButton = [1, 15, 20, 21]
404
- const disableRightButton = [1, 15, 21]
403
+ const disableLeftButton = [1, 2, 5, 15, 16, 17, 20, 21]
404
+ const disableRightButton = [1, 2, 5, 15, 16, 17, 21]
405
405
 
406
406
  return (
407
407
  <Container>