@symfony/ux-google-map 2.25.2 → 2.26.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.
@@ -44,7 +44,7 @@ class default_1 extends Controller {
44
44
  createInfoWindow({ definition, element, }) {
45
45
  this.dispatchEvent('info-window:before-create', { definition, element });
46
46
  const infoWindow = this.doCreateInfoWindow({ definition, element });
47
- this.dispatchEvent('info-window:after-create', { infoWindow, element });
47
+ this.dispatchEvent('info-window:after-create', { infoWindow, definition, element });
48
48
  this.infoWindows.push(infoWindow);
49
49
  return infoWindow;
50
50
  }
@@ -75,7 +75,7 @@ class default_1 extends Controller {
75
75
  return ({ definition }) => {
76
76
  this.dispatchEvent(eventBefore, { definition });
77
77
  const drawing = factory({ definition });
78
- this.dispatchEvent(eventAfter, { [type]: drawing });
78
+ this.dispatchEvent(eventAfter, { [type]: drawing, definition });
79
79
  draws.set(definition['@id'], drawing);
80
80
  return drawing;
81
81
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symfony/ux-google-map",
3
3
  "description": "GoogleMaps bridge for Symfony UX Map, integrate interactive maps in your Symfony applications",
4
4
  "license": "MIT",
5
- "version": "2.25.2",
5
+ "version": "2.26.1",
6
6
  "keywords": [
7
7
  "symfony-ux",
8
8
  "google-maps",
@@ -50,7 +50,7 @@
50
50
  "devDependencies": {
51
51
  "@googlemaps/js-api-loader": "^1.16.6",
52
52
  "@hotwired/stimulus": "^3.0.0",
53
- "@symfony/ux-map": "2.25.2",
53
+ "@symfony/ux-map": "2.26.1",
54
54
  "@types/google.maps": "^3.55.9"
55
55
  }
56
56
  }