@social-mail/social-mail-client 1.2.58 → 1.2.60

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.
Files changed (26) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +38 -23
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +25 -12
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/public/channel/ChannelView.pack.js +14 -12
  6. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  7. package/dist/public/channel/ChannelView.pack.min.js +1 -1
  8. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  9. package/dist/services/email/EmailContentDownloader.d.ts.map +1 -1
  10. package/dist/services/email/EmailContentDownloader.js +14 -12
  11. package/dist/services/email/EmailContentDownloader.js.map +1 -1
  12. package/dist/site-editor/styler/properties/layouts/blocks/layoutImageBox.d.ts.map +1 -1
  13. package/dist/site-editor/styler/properties/layouts/blocks/layoutImageBox.js +12 -6
  14. package/dist/site-editor/styler/properties/layouts/blocks/layoutImageBox.js.map +1 -1
  15. package/dist/site-editor/styler/properties/layouts/blocks/layoutRightImageBox.d.ts.map +1 -1
  16. package/dist/site-editor/styler/properties/layouts/blocks/layoutRightImageBox.js +12 -5
  17. package/dist/site-editor/styler/properties/layouts/blocks/layoutRightImageBox.js.map +1 -1
  18. package/dist/tsconfig.tsbuildinfo +1 -1
  19. package/dist/web/AppIndex.pack.js +38 -23
  20. package/dist/web/AppIndex.pack.js.map +1 -1
  21. package/dist/web/AppIndex.pack.min.js +25 -12
  22. package/dist/web/AppIndex.pack.min.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/services/email/EmailContentDownloader.ts +16 -14
  25. package/src/site-editor/styler/properties/layouts/blocks/layoutImageBox.ts +12 -6
  26. package/src/site-editor/styler/properties/layouts/blocks/layoutRightImageBox.ts +12 -5
@@ -22046,19 +22046,21 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
22046
22046
  if (content) {
22047
22047
  return email.htmlBody = yield content.text();
22048
22048
  }
22049
- for (let i = 0; i < 3; i++) {
22050
- try {
22051
- const text = yield FetchBuilder.get(email.htmlBodyUrl).responseAsText();
22052
- yield cache.put(cacheKey, new Response(text, {
22053
- headers: {
22054
- "cache-control": "public, max-age=86000"
22055
- }
22056
- }));
22057
- return email.htmlBody = text;
22058
- } catch (error) {
22059
- console.error(error);
22049
+ return yield this.run(() => __awaiter(this, void 0, void 0, function* () {
22050
+ for (let i = 0; i < 3; i++) {
22051
+ try {
22052
+ const text = yield FetchBuilder.get(email.htmlBodyUrl).responseAsText();
22053
+ yield cache.put(cacheKey, new Response(text, {
22054
+ headers: {
22055
+ "cache-control": "public, max-age=86000"
22056
+ }
22057
+ }));
22058
+ return email.htmlBody = text;
22059
+ } catch (error) {
22060
+ console.error(error);
22061
+ }
22060
22062
  }
22061
- }
22063
+ }));
22062
22064
  });
22063
22065
  }
22064
22066
  };
@@ -36801,23 +36803,29 @@ System.register(["@web-atoms/core/dist/style/styled", "../../../Styler"], functi
36801
36803
  justify-items: center;
36802
36804
  align-items: stretch;
36803
36805
  contain: content;
36806
+ position: relative;
36807
+
36808
+ & > * {
36809
+ padding: ${stylerVars.sizeDefault};
36810
+ flex: 1 1 100%;
36811
+ max-width: 100%;
36812
+ }
36804
36813
 
36805
36814
  @media (min-width: 600px) {
36806
36815
  & {
36807
36816
  flex-direction: row;
36808
36817
  }
36818
+ & > * {
36819
+ padding: ${stylerVars.sizeDefault};
36820
+ flex: 1 1 50%;
36821
+ max-width: 50%;
36822
+ }
36809
36823
  }
36810
36824
 
36811
36825
  & > img {
36812
36826
  align-self: center;
36813
36827
  }
36814
36828
 
36815
- & > * {
36816
- padding: ${stylerVars.sizeDefault};
36817
- flex: 1 1 100%;
36818
- max-width: 50%;
36819
- }
36820
-
36821
36829
  & > *:empty:before {
36822
36830
  background-color: #ddd;
36823
36831
  color: #000;
@@ -36898,6 +36906,7 @@ System.register(["@web-atoms/core/dist/style/styled", "../../../Styler"], functi
36898
36906
  _export("layoutRightImageBox", layoutRightImageBox = {
36899
36907
  "right-image-box": styled.css`
36900
36908
  display: flex;
36909
+ position: relative;
36901
36910
  flex-direction: column;
36902
36911
  gap: ${stylerVars.sizeDefault};
36903
36912
  padding: ${stylerVars.sizeDefault};
@@ -36907,16 +36916,22 @@ System.register(["@web-atoms/core/dist/style/styled", "../../../Styler"], functi
36907
36916
  align-items: stretch;
36908
36917
  contain: content;
36909
36918
 
36919
+ & > * {
36920
+ padding: ${stylerVars.sizeDefault};
36921
+ flex: 1 1 100%;
36922
+ max-width: 100%;
36923
+ }
36924
+
36910
36925
  @media (min-width: 600px) {
36911
36926
  & {
36912
36927
  flex-direction: row-reverse;
36913
36928
  }
36914
- }
36915
36929
 
36916
- & > * {
36917
- padding: ${stylerVars.sizeDefault};
36918
- flex: 1 1 100%;
36919
- max-width: 50%;
36930
+ & > * {
36931
+ padding: ${stylerVars.sizeDefault};
36932
+ flex: 1 1 50%;
36933
+ max-width: 50%;
36934
+ }
36920
36935
  }
36921
36936
 
36922
36937
  & > img {