ordering-ui-admin-external 1.45.54 → 1.45.56

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.
@@ -105,6 +105,13 @@ object-assign
105
105
  * Released under the MIT license
106
106
  */
107
107
 
108
+ /*!
109
+ * The buffer module from node.js, for the browser.
110
+ *
111
+ * @author Feross Aboukhadijeh <http://feross.org>
112
+ * @license MIT
113
+ */
114
+
108
115
  /*!
109
116
  * jQuery JavaScript Library v3.7.1
110
117
  * https://jquery.com/
@@ -163,9 +170,11 @@ PERFORMANCE OF THIS SOFTWARE.
163
170
 
164
171
  /*! @license DOMPurify 2.5.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.9/LICENSE */
165
172
 
166
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
173
+ /*! https://mths.be/utf8js v2.1.2 by @mathias */
174
+
175
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
167
176
 
168
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
177
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
169
178
 
170
179
  /**
171
180
  * @preserve
@@ -218,7 +218,7 @@ var Map = exports.Map = function Map(props) {
218
218
  }, googleMapsApiKey && /*#__PURE__*/_react.default.createElement(_googleMapReact.default, {
219
219
  bootstrapURLKeys: {
220
220
  key: window.document.getElementById('__googleMapsScriptId') ? null : googleMapsApiKey,
221
- libraries: ['places', 'geometry', 'drawing', 'visualization']
221
+ libraries: ['places', 'geometry', 'visualization']
222
222
  },
223
223
  onGoogleApiLoaded: function onGoogleApiLoaded(_ref) {
224
224
  var map = _ref.map,
@@ -280,7 +280,7 @@ var DeliveriesLocation = exports.DeliveriesLocation = function DeliveriesLocatio
280
280
  }, googleMapsApiKey && /*#__PURE__*/_react.default.createElement(_googleMapReact.default, {
281
281
  bootstrapURLKeys: {
282
282
  key: window.document.getElementById('__googleMapsScriptId') ? null : googleMapsApiKey,
283
- libraries: ['places', 'geometry', 'drawing', 'visualization']
283
+ libraries: ['places', 'geometry', 'visualization']
284
284
  },
285
285
  onGoogleApiLoaded: function onGoogleApiLoaded() {
286
286
  return setMapLoaded(false);
@@ -215,7 +215,7 @@ var DriversLocation = exports.DriversLocation = function DriversLocation(props)
215
215
  }, googleMapsApiKey && /*#__PURE__*/_react.default.createElement(_googleMapReact.default, {
216
216
  bootstrapURLKeys: {
217
217
  key: window.document.getElementById('__googleMapsScriptId') ? null : googleMapsApiKey,
218
- libraries: ['places', 'geometry', 'drawing', 'visualization']
218
+ libraries: ['places', 'geometry', 'visualization']
219
219
  },
220
220
  onGoogleApiLoaded: function onGoogleApiLoaded() {
221
221
  return setMapLoaded(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-admin-external",
3
- "version": "1.45.54",
3
+ "version": "1.45.56",
4
4
  "description": "Ordering UI Admin Components",
5
5
  "main": "./_modules/index.js",
6
6
  "exports": {
@@ -83,7 +83,7 @@
83
83
  "lodash": "^4.17.20",
84
84
  "moment": "^2.29.1",
85
85
  "moment-range": "^4.0.2",
86
- "ordering-components-admin-external": "^1.43.87",
86
+ "ordering-components-admin-external": "^1.43.89",
87
87
  "polished": "^3.6.7",
88
88
  "posthog-js": "^1.240.0",
89
89
  "prop-types": "^15.7.2",
@@ -111,7 +111,9 @@
111
111
  "reactour": "^1.18.6",
112
112
  "rrule": "^2.7.2",
113
113
  "styled-components": "^5.2.1",
114
- "swiper": "^6.8.4"
114
+ "swiper": "^6.8.4",
115
+ "terra-draw": "^1.31.1",
116
+ "terra-draw-google-maps-adapter": "^1.6.0"
115
117
  },
116
118
  "peerDependencies": {
117
119
  "react": ">=16.13.1",
@@ -161,7 +161,7 @@ export const Map = (props) => {
161
161
  <GoogleMapReact
162
162
  bootstrapURLKeys={{
163
163
  key: window.document.getElementById('__googleMapsScriptId') ? null : googleMapsApiKey,
164
- libraries: ['places', 'geometry', 'drawing', 'visualization']
164
+ libraries: ['places', 'geometry', 'visualization']
165
165
  }}
166
166
  onGoogleApiLoaded={({ map, maps }) => onMapLoaded(map, maps)}
167
167
  defaultCenter={defaultCenter}
@@ -194,7 +194,7 @@ export const DeliveriesLocation = (props) => {
194
194
  <GoogleMapReact
195
195
  bootstrapURLKeys={{
196
196
  key: window.document.getElementById('__googleMapsScriptId') ? null : googleMapsApiKey,
197
- libraries: ['places', 'geometry', 'drawing', 'visualization']
197
+ libraries: ['places', 'geometry', 'visualization']
198
198
  }}
199
199
  onGoogleApiLoaded={() => setMapLoaded(false)}
200
200
  defaultCenter={defaultCenter}
@@ -194,7 +194,7 @@ export const DriversLocation = (props) => {
194
194
  <GoogleMapReact
195
195
  bootstrapURLKeys={{
196
196
  key: window.document.getElementById('__googleMapsScriptId') ? null : googleMapsApiKey,
197
- libraries: ['places', 'geometry', 'drawing', 'visualization']
197
+ libraries: ['places', 'geometry', 'visualization']
198
198
  }}
199
199
  onGoogleApiLoaded={() => setMapLoaded(false)}
200
200
  defaultCenter={defaultCenter}
package/webpack.prod.js CHANGED
@@ -22,7 +22,8 @@ module.exports = {
22
22
  resolve: {
23
23
  alias: {
24
24
  react: path.resolve(__dirname, './node_modules/react'),
25
- 'react-dom': path.resolve(__dirname, './node_modules/react-dom')
25
+ 'react-dom': path.resolve(__dirname, './node_modules/react-dom'),
26
+ 'react-qr-code': path.resolve(__dirname, './node_modules/react-qr-code/lib/index.js')
26
27
  }
27
28
  },
28
29
  plugins: [