ordering-ui-external 10.8.0 → 10.8.1

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 (17) hide show
  1. package/_bundles/{7.ordering-ui.ad849ea5dc1ae6d3e86a.js → 7.ordering-ui.651385f69462465b5ecd.js} +1 -1
  2. package/_bundles/{ordering-ui.ad849ea5dc1ae6d3e86a.js → ordering-ui.651385f69462465b5ecd.js} +2 -2
  3. package/_modules/themes/five/src/components/OrderDetails/index.js +1 -1
  4. package/index-template.js +3 -1
  5. package/package.json +1 -1
  6. package/src/themes/five/src/components/OrderDetails/index.js +1 -1
  7. package/template/assets/images/driver.png +0 -0
  8. /package/_bundles/{0.ordering-ui.ad849ea5dc1ae6d3e86a.js → 0.ordering-ui.651385f69462465b5ecd.js} +0 -0
  9. /package/_bundles/{1.ordering-ui.ad849ea5dc1ae6d3e86a.js → 1.ordering-ui.651385f69462465b5ecd.js} +0 -0
  10. /package/_bundles/{2.ordering-ui.ad849ea5dc1ae6d3e86a.js → 2.ordering-ui.651385f69462465b5ecd.js} +0 -0
  11. /package/_bundles/{4.ordering-ui.ad849ea5dc1ae6d3e86a.js → 4.ordering-ui.651385f69462465b5ecd.js} +0 -0
  12. /package/_bundles/{5.ordering-ui.ad849ea5dc1ae6d3e86a.js → 5.ordering-ui.651385f69462465b5ecd.js} +0 -0
  13. /package/_bundles/{6.ordering-ui.ad849ea5dc1ae6d3e86a.js → 6.ordering-ui.651385f69462465b5ecd.js} +0 -0
  14. /package/_bundles/{7.ordering-ui.ad849ea5dc1ae6d3e86a.js.LICENSE.txt → 7.ordering-ui.651385f69462465b5ecd.js.LICENSE.txt} +0 -0
  15. /package/_bundles/{8.ordering-ui.ad849ea5dc1ae6d3e86a.js → 8.ordering-ui.651385f69462465b5ecd.js} +0 -0
  16. /package/_bundles/{9.ordering-ui.ad849ea5dc1ae6d3e86a.js → 9.ordering-ui.651385f69462465b5ecd.js} +0 -0
  17. /package/_bundles/{ordering-ui.ad849ea5dc1ae6d3e86a.js.LICENSE.txt → ordering-ui.651385f69462465b5ecd.js.LICENSE.txt} +0 -0
@@ -265,7 +265,7 @@ var OrderDetailsUI = function OrderDetailsUI(props) {
265
265
  };
266
266
  }();
267
267
  var locations = [_objectSpread(_objectSpread({}, order === null || order === void 0 || (_order$driver = order.driver) === null || _order$driver === void 0 ? void 0 : _order$driver.location), {}, {
268
- icon: (order === null || order === void 0 || (_order$driver2 = order.driver) === null || _order$driver2 === void 0 ? void 0 : _order$driver2.photo) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.driverPhoto)
268
+ icon: (order === null || order === void 0 || (_order$driver2 = order.driver) === null || _order$driver2 === void 0 ? void 0 : _order$driver2.photo) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.driverPng)
269
269
  }), _objectSpread(_objectSpread({}, order === null || order === void 0 || (_order$business2 = order.business) === null || _order$business2 === void 0 ? void 0 : _order$business2.location), {}, {
270
270
  icon: (order === null || order === void 0 || (_order$business3 = order.business) === null || _order$business3 === void 0 ? void 0 : _order$business3.logo) || ((_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.dummies) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.businessLogo)
271
271
  }), _objectSpread(_objectSpread({}, order === null || order === void 0 || (_order$customer = order.customer) === null || _order$customer === void 0 ? void 0 : _order$customer.location), {}, {
package/index-template.js CHANGED
@@ -44,6 +44,7 @@ import phoneHero from './template/assets/images/phone-hero-callcenter.png'
44
44
  import deliveryIco from './template/assets/images/delivery.svg'
45
45
  import pickupIco from './template/assets/images/pickup.svg'
46
46
  import phone from './template/assets/images/phone.svg'
47
+ import driverPng from './template/assets/images/driver.png'
47
48
 
48
49
  import orderStatus0 from './template/assets/images/order/status-0.svg'
49
50
  import orderStatus1 from './template/assets/images/order/status-1.svg'
@@ -144,7 +145,8 @@ theme.images = {
144
145
  phoneHero,
145
146
  deliveryIco,
146
147
  pickupIco,
147
- phone
148
+ phone,
149
+ driverPng
148
150
  },
149
151
 
150
152
  order: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-external",
3
- "version": "10.8.0",
3
+ "version": "10.8.1",
4
4
  "description": "Ordering UI Components",
5
5
  "main": "./_modules/index.js",
6
6
  "exports": {
@@ -190,7 +190,7 @@ const OrderDetailsUI = (props) => {
190
190
  }
191
191
 
192
192
  const locations = [
193
- { ...order?.driver?.location, icon: order?.driver?.photo || theme.images?.dummies?.driverPhoto },
193
+ { ...order?.driver?.location, icon: order?.driver?.photo || theme.images?.general?.driverPng },
194
194
  { ...order?.business?.location, icon: order?.business?.logo || theme.images?.dummies?.businessLogo },
195
195
  { ...order?.customer?.location, icon: order?.customer?.photo || theme.images?.dummies?.customerPhoto }
196
196
  ]