@social-mail/social-mail-client 1.8.272 → 1.8.274
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 +13 -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/FileUrlService.d.ts.map +1 -1
- package/dist/common/FileUrlService.js +2 -1
- package/dist/common/FileUrlService.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +15 -7
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/channel/pages/PublicChannelPage.js +1 -1
- package/dist/public/channel/pages/PublicChannelPage.js.map +1 -1
- package/dist/public/channel/pages/posts/ChannelPage.js +2 -5
- package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
- package/dist/services/email/EmailContentDownloader.d.ts +2 -1
- package/dist/services/email/EmailContentDownloader.d.ts.map +1 -1
- package/dist/services/email/EmailContentDownloader.js +11 -1
- package/dist/services/email/EmailContentDownloader.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +13 -2
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +13 -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/FileUrlService.ts +4 -1
- package/src/public/channel/pages/PublicChannelPage.tsx +1 -1
- package/src/public/channel/pages/posts/ChannelPage.tsx +2 -2
- package/src/services/email/EmailContentDownloader.ts +8 -1
|
@@ -25221,7 +25221,8 @@ System.register([], function (_export, _context) {
|
|
|
25221
25221
|
return url.replace("/view/", "/html/") + ".html";
|
|
25222
25222
|
},
|
|
25223
25223
|
webP(file, size = 300) {
|
|
25224
|
-
const
|
|
25224
|
+
const webp = `/webp(${300})/`;
|
|
25225
|
+
const url = file.url.replace("/view/", webp).replace("/webm-branded/", webp);
|
|
25225
25226
|
return url + `.${size}.webp`;
|
|
25226
25227
|
},
|
|
25227
25228
|
webM(file) {
|
|
@@ -33873,7 +33874,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
|
|
|
33873
33874
|
System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/entity/dist/models/TaskManager", "../../model/model", "@web-atoms/core/dist/di/Inject", "../EntityService", "../../common/cache/CacheTTL", "../../common/cache/CacheVersions"], function (_export, _context) {
|
|
33874
33875
|
"use strict";
|
|
33875
33876
|
|
|
33876
|
-
var __awaiter, __decorate, __metadata, DISingleton, TaskManager, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
|
|
33877
|
+
var __awaiter, __decorate, __metadata, DISingleton, TaskManager, ChannelEmail, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
|
|
33877
33878
|
return {
|
|
33878
33879
|
setters: [function (_tslib) {
|
|
33879
33880
|
__awaiter = _tslib.__awaiter;
|
|
@@ -33884,6 +33885,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
33884
33885
|
}, function (_webAtomsEntityDistModelsTaskManager) {
|
|
33885
33886
|
TaskManager = _webAtomsEntityDistModelsTaskManager.default;
|
|
33886
33887
|
}, function (_modelModel) {
|
|
33888
|
+
ChannelEmail = _modelModel.ChannelEmail;
|
|
33887
33889
|
Email = _modelModel.Email;
|
|
33888
33890
|
}, function (_webAtomsCoreDistDiInject) {
|
|
33889
33891
|
Inject = _webAtomsCoreDistDiInject.Inject;
|
|
@@ -33897,6 +33899,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
33897
33899
|
execute: function () {
|
|
33898
33900
|
cacheSeconds = CacheTTL.seconds.oneMonth;
|
|
33899
33901
|
EmailContentDownloader = class EmailContentDownloader extends TaskManager {
|
|
33902
|
+
downloadPostContent(email) {
|
|
33903
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33904
|
+
var _a;
|
|
33905
|
+
(_a = email.email).htmlBody || (_a.htmlBody = yield this.entityService.run(ChannelEmail, "getBody", email, {
|
|
33906
|
+
cacheVersion: CacheVersions.email,
|
|
33907
|
+
cacheSeconds
|
|
33908
|
+
}).asText());
|
|
33909
|
+
});
|
|
33910
|
+
}
|
|
33900
33911
|
downloadPost(email) {
|
|
33901
33912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
33902
33913
|
email.htmlBody || (email.htmlBody = yield this.entityService.run(Email, "getBody", email, {
|