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.
Files changed (51) hide show
  1. package/_bundles/{7.ordering-ui.b278a053085145d78d36.js → 7.ordering-ui.2b6bfdaa8b236eb288fa.js} +1 -1
  2. package/_bundles/{ordering-ui.b278a053085145d78d36.js → ordering-ui.2b6bfdaa8b236eb288fa.js} +2 -2
  3. package/_modules/themes/five/src/components/BusinessBasicInformation/index.js +1 -1
  4. package/_modules/themes/five/src/components/BusinessBasicInformation/styles.js +3 -3
  5. package/_modules/themes/five/src/components/BusinessPreorder/index.js +2 -2
  6. package/_modules/themes/five/src/components/BusinessProductsCategories/index.js +4 -4
  7. package/_modules/themes/five/src/components/BusinessProductsCategories/styles.js +1 -1
  8. package/_modules/themes/five/src/components/BusinessProductsListing/index.js +1 -1
  9. package/_modules/themes/five/src/components/BusinessProductsListing/styles.js +1 -1
  10. package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +6 -5
  11. package/_modules/themes/five/src/components/Header/index.js +7 -6
  12. package/_modules/themes/five/src/components/Messages/MapMessages.js +80 -0
  13. package/_modules/themes/five/src/components/Messages/index.js +13 -67
  14. package/_modules/themes/five/src/components/MomentControl/index.js +2 -2
  15. package/_modules/themes/five/src/components/OrderDetails/index.js +4 -3
  16. package/_modules/themes/five/src/components/OrderDetails/styles.js +1 -1
  17. package/_modules/themes/five/src/components/PaymentOptionWallet/index.js +2 -6
  18. package/_modules/themes/five/src/components/ProductForm/styles.js +1 -1
  19. package/_modules/themes/five/src/components/ProductOptionSubOption/styles.js +2 -2
  20. package/_modules/themes/five/src/components/ProductShare/styles.js +1 -1
  21. package/package.json +2 -2
  22. package/src/themes/five/src/components/BusinessBasicInformation/index.js +1 -1
  23. package/src/themes/five/src/components/BusinessBasicInformation/styles.js +3 -3
  24. package/src/themes/five/src/components/BusinessPreorder/index.js +1 -1
  25. package/src/themes/five/src/components/BusinessProductsCategories/index.js +4 -4
  26. package/src/themes/five/src/components/BusinessProductsCategories/styles.js +1 -1
  27. package/src/themes/five/src/components/BusinessProductsListing/index.js +1 -1
  28. package/src/themes/five/src/components/BusinessProductsListing/styles.js +4 -1
  29. package/src/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +8 -8
  30. package/src/themes/five/src/components/Header/index.js +3 -1
  31. package/src/themes/five/src/components/Messages/MapMessages.js +173 -0
  32. package/src/themes/five/src/components/Messages/index.js +13 -175
  33. package/src/themes/five/src/components/MomentControl/index.js +1 -1
  34. package/src/themes/five/src/components/OrderDetails/index.js +1 -1
  35. package/src/themes/five/src/components/OrderDetails/styles.js +1 -0
  36. package/src/themes/five/src/components/PaymentOptionWallet/index.js +2 -2
  37. package/src/themes/five/src/components/ProductForm/styles.js +1 -1
  38. package/src/themes/five/src/components/ProductOptionSubOption/styles.js +3 -1
  39. package/src/themes/five/src/components/ProductShare/styles.js +1 -1
  40. package/template/app.js +1 -1
  41. package/template/theme.json +2 -1
  42. /package/_bundles/{0.ordering-ui.b278a053085145d78d36.js → 0.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  43. /package/_bundles/{1.ordering-ui.b278a053085145d78d36.js → 1.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  44. /package/_bundles/{2.ordering-ui.b278a053085145d78d36.js → 2.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  45. /package/_bundles/{4.ordering-ui.b278a053085145d78d36.js → 4.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  46. /package/_bundles/{5.ordering-ui.b278a053085145d78d36.js → 5.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  47. /package/_bundles/{6.ordering-ui.b278a053085145d78d36.js → 6.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  48. /package/_bundles/{7.ordering-ui.b278a053085145d78d36.js.LICENSE.txt → 7.ordering-ui.2b6bfdaa8b236eb288fa.js.LICENSE.txt} +0 -0
  49. /package/_bundles/{8.ordering-ui.b278a053085145d78d36.js → 8.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  50. /package/_bundles/{9.ordering-ui.b278a053085145d78d36.js → 9.ordering-ui.2b6bfdaa8b236eb288fa.js} +0 -0
  51. /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, { isTruncable: true })}</span>
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, { isTruncable: true })}`}
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: 0px;
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 5px;
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;
@@ -7,7 +7,7 @@ export const IconShare = styled.div`
7
7
  font-size: 22px;
8
8
  right: 16px;
9
9
  left: 10px;
10
- z-index: 9999995;
10
+ z-index: 9999999;
11
11
  background: rgba(255,255,255,0.5);
12
12
  height: 30px;
13
13
  border-radius: 50%;
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.businessSlug ? (
642
+ (orderStatus.options?.address?.location || isAllowUnaddressOrderType) && !isKioskApp && !singleBusinessConfig.isActive ? (
643
643
  <BusinessListingSearch />
644
644
  ) : (
645
645
  <Redirect to={singleBusinessConfig.isActive ? `/${singleBusinessConfig.businessSlug}` : '/'} />
@@ -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?",