@yoobic/yobi 8.7.30 → 8.7.31

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.
@@ -141,7 +141,7 @@ const YooFormHotzonesCreatorComponent = class {
141
141
  !this.editor && this.initEditor();
142
142
  this.editor.imageAnnotation = [];
143
143
  this.editorContainer.hidden = !this.value.image;
144
- this.editor.updateImagePreview(this.value.image);
144
+ this.editor.updateImagePreview(index$1.getMedia(this.value.image, { forceCookieUrlParam: true }));
145
145
  this.emitValues(ev);
146
146
  }
147
147
  onHotspotImageUpdated(ev, index) {
@@ -139,7 +139,7 @@ export class YooFormHotzonesCreatorComponent {
139
139
  !this.editor && this.initEditor();
140
140
  this.editor.imageAnnotation = [];
141
141
  this.editorContainer.hidden = !this.value.image;
142
- this.editor.updateImagePreview(this.value.image);
142
+ this.editor.updateImagePreview(getMedia(this.value.image, { forceCookieUrlParam: true }));
143
143
  this.emitValues(ev);
144
144
  }
145
145
  onHotspotImageUpdated(ev, index) {
@@ -137,7 +137,7 @@ const YooFormHotzonesCreatorComponent = class {
137
137
  !this.editor && this.initEditor();
138
138
  this.editor.imageAnnotation = [];
139
139
  this.editorContainer.hidden = !this.value.image;
140
- this.editor.updateImagePreview(this.value.image);
140
+ this.editor.updateImagePreview(getMedia(this.value.image, { forceCookieUrlParam: true }));
141
141
  this.emitValues(ev);
142
142
  }
143
143
  onHotspotImageUpdated(ev, index) {
@@ -137,7 +137,7 @@ const YooFormHotzonesCreatorComponent = class {
137
137
  !this.editor && this.initEditor();
138
138
  this.editor.imageAnnotation = [];
139
139
  this.editorContainer.hidden = !this.value.image;
140
- this.editor.updateImagePreview(this.value.image);
140
+ this.editor.updateImagePreview(getMedia(this.value.image, { forceCookieUrlParam: true }));
141
141
  this.emitValues(ev);
142
142
  }
143
143
  onHotspotImageUpdated(ev, index) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoobic/yobi",
3
- "version": "8.7.30",
3
+ "version": "8.7.31",
4
4
  "description": "Yobi - Yoobic Design System",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs.js",