awing-library 2.1.192-dev → 2.1.194-dev

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.
@@ -249,7 +249,7 @@ var CreateOrEdit = function (props) {
249
249
  var _a;
250
250
  if (campaignData.campaignWizard && (props === null || props === void 0 ? void 0 : props.quickWizard)) {
251
251
  if (childRefWizard.current) {
252
- childRefWizard.current.onSubmit({
252
+ return childRefWizard.current.onSubmit({
253
253
  campaignPartner: campaignData.campaignPartner,
254
254
  });
255
255
  }
@@ -138,7 +138,7 @@ var GGMap = function (_a) {
138
138
  };
139
139
  }, [markerPosition]);
140
140
  var calculateRadius = function (currentZoom) {
141
- return 100000 * Math.pow(2, 5 - currentZoom);
141
+ return Math.max(100000 * Math.pow(2, 5 - currentZoom), 300);
142
142
  };
143
143
  return ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: sxMap ? sxMap : stylesDefault, ref: boxRef, children: (0, jsx_runtime_1.jsxs)(api_1.LoadScript, { googleMapsApiKey: apiKey || '', libraries: libraries, children: [!isDisplayAutoComplete &&
144
144
  ((0, jsx_runtime_1.jsx)(api_1.Autocomplete, { onPlaceChanged: onPlaceChanged, onLoad: onLoad, children: (0, jsx_runtime_1.jsx)("input", { type: "text", placeholder: t('Common.PlaceHolderLocation'), onFocus: function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.192-dev",
3
+ "version": "2.1.194-dev",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",