ordering-ui-external 3.0.1 → 4.0.0
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/{7.ordering-ui.b278a053085145d78d36.js → 7.ordering-ui.2b6bfdaa8b236eb288fa.js} +1 -1
- package/_bundles/{ordering-ui.b278a053085145d78d36.js → ordering-ui.2b6bfdaa8b236eb288fa.js} +2 -2
- package/_modules/themes/five/src/components/BusinessBasicInformation/index.js +1 -1
- package/_modules/themes/five/src/components/BusinessBasicInformation/styles.js +3 -3
- package/_modules/themes/five/src/components/BusinessPreorder/index.js +2 -2
- package/_modules/themes/five/src/components/BusinessProductsCategories/index.js +4 -4
- package/_modules/themes/five/src/components/BusinessProductsCategories/styles.js +1 -1
- package/_modules/themes/five/src/components/BusinessProductsListing/index.js +1 -1
- package/_modules/themes/five/src/components/BusinessProductsListing/styles.js +1 -1
- package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +6 -5
- package/_modules/themes/five/src/components/Header/index.js +7 -6
- package/_modules/themes/five/src/components/Messages/MapMessages.js +80 -0
- package/_modules/themes/five/src/components/Messages/index.js +13 -67
- package/_modules/themes/five/src/components/MomentControl/index.js +2 -2
- package/_modules/themes/five/src/components/OrderDetails/index.js +4 -3
- package/_modules/themes/five/src/components/OrderDetails/styles.js +1 -1
- package/_modules/themes/five/src/components/PaymentOptionWallet/index.js +2 -6
- package/_modules/themes/five/src/components/ProductForm/styles.js +1 -1
- package/_modules/themes/five/src/components/ProductOptionSubOption/styles.js +2 -2
- package/_modules/themes/five/src/components/ProductShare/styles.js +1 -1
- package/package.json +2 -2
- package/src/themes/five/src/components/BusinessBasicInformation/index.js +1 -1
- package/src/themes/five/src/components/BusinessBasicInformation/styles.js +3 -3
- package/src/themes/five/src/components/BusinessPreorder/index.js +1 -1
- package/src/themes/five/src/components/BusinessProductsCategories/index.js +4 -4
- package/src/themes/five/src/components/BusinessProductsCategories/styles.js +1 -1
- package/src/themes/five/src/components/BusinessProductsListing/index.js +1 -1
- package/src/themes/five/src/components/BusinessProductsListing/styles.js +4 -1
- package/src/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +8 -8
- package/src/themes/five/src/components/Header/index.js +3 -1
- package/src/themes/five/src/components/Messages/MapMessages.js +173 -0
- package/src/themes/five/src/components/Messages/index.js +13 -175
- package/src/themes/five/src/components/MomentControl/index.js +1 -1
- package/src/themes/five/src/components/OrderDetails/index.js +1 -1
- package/src/themes/five/src/components/OrderDetails/styles.js +1 -0
- package/src/themes/five/src/components/PaymentOptionWallet/index.js +2 -2
- package/src/themes/five/src/components/ProductForm/styles.js +1 -1
- package/src/themes/five/src/components/ProductOptionSubOption/styles.js +3 -1
- package/src/themes/five/src/components/ProductShare/styles.js +1 -1
- package/template/app.js +1 -1
- package/template/theme.json +2 -1
- /package/_bundles/{0.ordering-ui.b278a053085145d78d36.js → 0.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{1.ordering-ui.b278a053085145d78d36.js → 1.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{2.ordering-ui.b278a053085145d78d36.js → 2.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{4.ordering-ui.b278a053085145d78d36.js → 4.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{5.ordering-ui.b278a053085145d78d36.js → 5.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{6.ordering-ui.b278a053085145d78d36.js → 6.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{7.ordering-ui.b278a053085145d78d36.js.LICENSE.txt → 7.ordering-ui.2b6bfdaa8b236eb288fa.js.LICENSE.txt} +0 -0
- /package/_bundles/{8.ordering-ui.b278a053085145d78d36.js → 8.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{9.ordering-ui.b278a053085145d78d36.js → 9.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
- /package/_bundles/{ordering-ui.b278a053085145d78d36.js.LICENSE.txt → ordering-ui.2b6bfdaa8b236eb288fa.js.LICENSE.txt} +0 -0
|
@@ -125,11 +125,11 @@ const PaymentOptionWalletUI = (props) => {
|
|
|
125
125
|
</SectionLeft>
|
|
126
126
|
<div>
|
|
127
127
|
{wallet.type === 'cash' && (
|
|
128
|
-
<span>{parsePrice(wallet?.balance
|
|
128
|
+
<span>{parsePrice(wallet?.balance)}</span>
|
|
129
129
|
)}
|
|
130
130
|
{wallet.type === 'credit_point' && (
|
|
131
131
|
<span>
|
|
132
|
-
<span style={{ color: theme.colors.primary }}>{`${wallet?.balance} ${t('POINTS', 'Points')}`}</span> {wallet?.balance > 0 && `= ${parsePrice(wallet?.balance / wallet?.redemption_rate
|
|
132
|
+
<span style={{ color: theme.colors.primary }}>{`${wallet?.balance} ${t('POINTS', 'Points')}`}</span> {wallet?.balance > 0 && `= ${parsePrice(wallet?.balance / wallet?.redemption_rate)}`}
|
|
133
133
|
</span>
|
|
134
134
|
)}
|
|
135
135
|
</div>
|
|
@@ -439,7 +439,7 @@ export const WrapperIngredients = styled.div`
|
|
|
439
439
|
export const ProductTabContainer = styled.div`
|
|
440
440
|
border-bottom: 1px solid #E9ECEF;
|
|
441
441
|
position: sticky;
|
|
442
|
-
top:
|
|
442
|
+
top: 50px;
|
|
443
443
|
background: white;
|
|
444
444
|
z-index: 9999996;
|
|
445
445
|
overflow: scroll hidden;
|
|
@@ -38,7 +38,7 @@ export const Text = styled.div`
|
|
|
38
38
|
color: #555;
|
|
39
39
|
overflow: hidden;
|
|
40
40
|
text-overflow: ellipsis;
|
|
41
|
-
margin: 0
|
|
41
|
+
margin: 0 8px;
|
|
42
42
|
|
|
43
43
|
div {
|
|
44
44
|
overflow: hidden;
|
|
@@ -74,6 +74,8 @@ export const SubOptionThumbnail = styled.div`
|
|
|
74
74
|
background-repeat: no-repeat, repeat;
|
|
75
75
|
width: 40px;
|
|
76
76
|
height: 40px;
|
|
77
|
+
min-width: 40px;
|
|
78
|
+
min-height: 40px;
|
|
77
79
|
background-size: cover;
|
|
78
80
|
object-fit: cover;
|
|
79
81
|
background-position: center;
|
package/template/app.js
CHANGED
|
@@ -639,7 +639,7 @@ export const App = () => {
|
|
|
639
639
|
{isUserVerifyRequired ? (
|
|
640
640
|
<Redirect to='/verify' />
|
|
641
641
|
) : (
|
|
642
|
-
(orderStatus.options?.address?.location || isAllowUnaddressOrderType) && !isKioskApp && !singleBusinessConfig.
|
|
642
|
+
(orderStatus.options?.address?.location || isAllowUnaddressOrderType) && !isKioskApp && !singleBusinessConfig.isActive ? (
|
|
643
643
|
<BusinessListingSearch />
|
|
644
644
|
) : (
|
|
645
645
|
<Redirect to={singleBusinessConfig.isActive ? `/${singleBusinessConfig.businessSlug}` : '/'} />
|
package/template/theme.json
CHANGED
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"links": "#2C7BE5",
|
|
42
42
|
"success500": "#00D27A",
|
|
43
43
|
"secondaryDark": "#414954",
|
|
44
|
-
"black": "#000000"
|
|
44
|
+
"black": "#000000",
|
|
45
|
+
"white": "#FFFFFF"
|
|
45
46
|
},
|
|
46
47
|
"defaultLanguages": {
|
|
47
48
|
"QUESTION_CLEAR_CUSTOMER": "Are you sure that you want to clear the customer?",
|
/package/_bundles/{0.ordering-ui.b278a053085145d78d36.js → 0.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|
/package/_bundles/{1.ordering-ui.b278a053085145d78d36.js → 1.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|
/package/_bundles/{2.ordering-ui.b278a053085145d78d36.js → 2.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|
/package/_bundles/{4.ordering-ui.b278a053085145d78d36.js → 4.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|
/package/_bundles/{5.ordering-ui.b278a053085145d78d36.js → 5.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|
/package/_bundles/{6.ordering-ui.b278a053085145d78d36.js → 6.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/_bundles/{8.ordering-ui.b278a053085145d78d36.js → 8.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|
/package/_bundles/{9.ordering-ui.b278a053085145d78d36.js → 9.ordering-ui.2b6bfdaa8b236eb288fa.js}
RENAMED
|
File without changes
|