@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
|
@@ -45188,10 +45188,11 @@ System.register(["./apiPath"], function (_export, _context) {
|
|
|
45188
45188
|
}],
|
|
45189
45189
|
execute: function () {
|
|
45190
45190
|
_export("imageUrl", imageUrl = (site, file, size) => {
|
|
45191
|
+
const name = encodeURIComponent(file.name);
|
|
45191
45192
|
if (!size) {
|
|
45192
|
-
return apiPath(`/api/site/asset/webp/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${
|
|
45193
|
+
return apiPath(`/api/site/asset/webp/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${name}.webp`);
|
|
45193
45194
|
}
|
|
45194
|
-
return apiPath(`/api/site/asset/webp(${size})/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${
|
|
45195
|
+
return apiPath(`/api/site/asset/webp(${size})/${site.appFileID}/${file.appFileID}/${file.fileContentID}/${name}.${size}.webp`);
|
|
45195
45196
|
});
|
|
45196
45197
|
_export("srcSetUrl", srcSetUrl = (site, file) => {
|
|
45197
45198
|
const small = imageUrl(site, file, 480) + " 640w";
|