ordering-ui-external 1.9.0 → 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.
- package/_bundles/{0.ordering-ui.557d300459c7f7dc486b.js → 0.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/{1.ordering-ui.557d300459c7f7dc486b.js → 1.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/{2.ordering-ui.557d300459c7f7dc486b.js → 2.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/{4.ordering-ui.557d300459c7f7dc486b.js → 4.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/{5.ordering-ui.557d300459c7f7dc486b.js → 5.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/{6.ordering-ui.557d300459c7f7dc486b.js → 6.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/{7.ordering-ui.557d300459c7f7dc486b.js → 7.ordering-ui.8e20ae6af39ad738a29e.js} +1 -1
- package/_bundles/{7.ordering-ui.557d300459c7f7dc486b.js.LICENSE.txt → 7.ordering-ui.8e20ae6af39ad738a29e.js.LICENSE.txt} +0 -0
- package/_bundles/{8.ordering-ui.557d300459c7f7dc486b.js → 8.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/{9.ordering-ui.557d300459c7f7dc486b.js → 9.ordering-ui.8e20ae6af39ad738a29e.js} +0 -0
- package/_bundles/ordering-ui.8e20ae6af39ad738a29e.js +2 -0
- package/_bundles/{ordering-ui.557d300459c7f7dc486b.js.LICENSE.txt → ordering-ui.8e20ae6af39ad738a29e.js.LICENSE.txt} +0 -0
- package/_modules/themes/five/src/components/OrderDetails/index.js +2 -2
- package/package.json +2 -2
- package/src/themes/five/src/components/OrderDetails/index.js +2 -2
- package/_bundles/ordering-ui.557d300459c7f7dc486b.js +0 -2
|
File without changes
|
|
@@ -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.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "Ordering UI Components",
|
|
5
5
|
"main": "./_modules/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"libphonenumber-js": "^1.9.4",
|
|
86
86
|
"lodash": "^4.17.19",
|
|
87
87
|
"moment": "^2.29.4",
|
|
88
|
-
"ordering-components-external": "1.9.
|
|
88
|
+
"ordering-components-external": "1.9.1",
|
|
89
89
|
"polished": "^3.6.6",
|
|
90
90
|
"react-bootstrap-icons": "^1.7.2",
|
|
91
91
|
"react-calendar": "^3.3.1",
|
|
@@ -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>
|