@social-mail/social-mail-client 1.2.238 → 1.2.239
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.
- package/dist/admin/AdminAppIndex.pack.js +3 -2
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/fileUrl.d.ts.map +1 -1
- package/dist/common/fileUrl.js +3 -2
- package/dist/common/fileUrl.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +3 -2
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/fileUrl.ts +3 -2
|
@@ -48874,10 +48874,11 @@ System.register(["./apiPath"], function (_export, _context) {
|
|
|
48874
48874
|
}],
|
|
48875
48875
|
execute: function () {
|
|
48876
48876
|
_export("imageUrl", imageUrl = (site, file, size) => {
|
|
48877
|
+
const name = encodeURIComponent(file.name);
|
|
48877
48878
|
if (!size) {
|
|
48878
|
-
return apiPath(`/api/site/asset/webp/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${
|
|
48879
|
+
return apiPath(`/api/site/asset/webp/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${name}.webp`);
|
|
48879
48880
|
}
|
|
48880
|
-
return apiPath(`/api/site/asset/webp(${size})/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${
|
|
48881
|
+
return apiPath(`/api/site/asset/webp(${size})/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${name}.${size}.webp`);
|
|
48881
48882
|
});
|
|
48882
48883
|
_export("srcSetUrl", srcSetUrl = (site, file) => {
|
|
48883
48884
|
const small = imageUrl(site, file, 480) + " 640w";
|