ordering-ui-admin-external 1.42.12 → 1.42.14

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.
@@ -54,7 +54,8 @@ var BusinessLocation = exports.BusinessLocation = function BusinessLocation(prop
54
54
  mapTypeControl: false,
55
55
  mapTypeControlOptions: {
56
56
  mapTypeIds: ['roadmap', 'satellite']
57
- }
57
+ },
58
+ isMarkerDraggable: true
58
59
  };
59
60
  var handleChangeBusinessCity = function handleChangeBusinessCity(cityId) {
60
61
  setFormState(function (prevState) {
@@ -157,7 +158,7 @@ var BusinessLocation = exports.BusinessLocation = function BusinessLocation(prop
157
158
  location: location,
158
159
  mapControls: googleMapsControls,
159
160
  handleChangeCenter: handleChangeCenter,
160
- isFitCenter: true
161
+ onlyMarkerChangeCenter: true
161
162
  })), /*#__PURE__*/_react.default.createElement(_styles2.Section, null, /*#__PURE__*/_react.default.createElement(_styles2.WrapperCitySelector, null, /*#__PURE__*/_react.default.createElement("p", null, t('CITY', 'City')), /*#__PURE__*/_react.default.createElement(_Shared.CitySelector, {
162
163
  isDefault: true,
163
164
  position: "left",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-admin-external",
3
- "version": "1.42.12",
3
+ "version": "1.42.14",
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.42.7",
86
+ "ordering-components-admin-external": "1.42.9",
87
87
  "polished": "^3.6.7",
88
88
  "prop-types": "^15.7.2",
89
89
  "react-big-calendar": "^1.4.2",
@@ -35,7 +35,8 @@ export const BusinessLocation = (props) => {
35
35
  mapTypeControl: false,
36
36
  mapTypeControlOptions: {
37
37
  mapTypeIds: ['roadmap', 'satellite']
38
- }
38
+ },
39
+ isMarkerDraggable: true
39
40
  }
40
41
 
41
42
  const handleChangeBusinessCity = (cityId) => {
@@ -102,7 +103,7 @@ export const BusinessLocation = (props) => {
102
103
  location={location}
103
104
  mapControls={googleMapsControls}
104
105
  handleChangeCenter={handleChangeCenter}
105
- isFitCenter
106
+ onlyMarkerChangeCenter
106
107
  />
107
108
  </WrapperMap>
108
109
  )}