croco-html 4.7.0 → 4.8.0

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.
@@ -223,10 +223,7 @@ class ImageMethods {
223
223
  if (fileId === null || fileId === undefined) {
224
224
  return null;
225
225
  }
226
- const format = ImageMethods.isPrivateFileId(fileId)
227
- ? options.imageOptions.publicImageResizedUrlFormat
228
- : options.imageOptions.privateImageResizedUrlFormat;
229
- return format
226
+ return options.imageOptions.sizeTypeAndFileIdImageUrlFormat
230
227
  .replace("{sizeType}", sizeType)
231
228
  .replace("{fileId}", fileId);
232
229
  }
@@ -1762,6 +1759,8 @@ class AudioPlayerTagViewComponent {
1762
1759
  return this.data.data.fileName;
1763
1760
  }
1764
1761
  getSrc() {
1762
+ //this._options.fileIdAndNamePathUrlFormat;
1763
+ // TODO если fileId указан то нужно
1765
1764
  // return AudioMethods.buildUrl(this.fileId, this.fileName);
1766
1765
  return this.fileId;
1767
1766
  }