@social-mail/social-mail-client 1.2.63 → 1.2.65

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 (36) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +5 -1
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/common/pages/websites/list/WebSiteListPage.d.ts.map +1 -1
  6. package/dist/common/pages/websites/list/WebSiteListPage.js +5 -1
  7. package/dist/common/pages/websites/list/WebSiteListPage.js.map +1 -1
  8. package/dist/public/channel/BlogService.d.ts +4 -0
  9. package/dist/public/channel/BlogService.d.ts.map +1 -1
  10. package/dist/public/channel/BlogService.js +11 -0
  11. package/dist/public/channel/BlogService.js.map +1 -1
  12. package/dist/public/channel/ChannelMessage.d.ts.map +1 -1
  13. package/dist/public/channel/ChannelMessage.js +28 -4
  14. package/dist/public/channel/ChannelMessage.js.map +1 -1
  15. package/dist/public/channel/ChannelMessageList.d.ts.map +1 -1
  16. package/dist/public/channel/ChannelMessageList.js +5 -4
  17. package/dist/public/channel/ChannelMessageList.js.map +1 -1
  18. package/dist/public/channel/ChannelView.pack.js +4037 -3976
  19. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  20. package/dist/public/channel/ChannelView.pack.min.js +4 -4
  21. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  22. package/dist/public/channel/UrlService.d.ts +4 -0
  23. package/dist/public/channel/UrlService.d.ts.map +1 -0
  24. package/dist/public/channel/UrlService.js +22 -0
  25. package/dist/public/channel/UrlService.js.map +1 -0
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/web/AppIndex.pack.js +5 -1
  28. package/dist/web/AppIndex.pack.js.map +1 -1
  29. package/dist/web/AppIndex.pack.min.js +1 -1
  30. package/dist/web/AppIndex.pack.min.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/common/pages/websites/list/WebSiteListPage.tsx +3 -1
  33. package/src/public/channel/BlogService.ts +10 -0
  34. package/src/public/channel/ChannelMessage.tsx +19 -1
  35. package/src/public/channel/ChannelMessageList.tsx +2 -1
  36. package/src/public/channel/UrlService.ts +12 -0
@@ -0,0 +1,4 @@
1
+ export declare const UrlService: {
2
+ toBlogUrl: (channelID: number, emailID: number, subject: string) => string;
3
+ };
4
+ //# sourceMappingURL=UrlService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UrlService.d.ts","sourceRoot":"","sources":["../../../src/public/channel/UrlService.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;2BAEI,MAAM,WAAW,MAAM,WAAW,MAAM;CASlE,CAAC"}
@@ -0,0 +1,22 @@
1
+ System.register([], function (_export, _context) {
2
+ "use strict";
3
+
4
+ var UrlService;
5
+ return {
6
+ setters: [],
7
+ execute: function () {
8
+ _export("UrlService", UrlService = {
9
+ toBlogUrl: (channelID, emailID, subject) => {
10
+ subject || (subject = "");
11
+ if (subject.length > 400) {
12
+ subject = subject.substring(0, 400);
13
+ }
14
+ subject = subject.replace(/[^\p{L}\p{N}]+/ug, "-");
15
+ subject = encodeURIComponent(subject).replace(/\%20/g, "-");
16
+ return `/channels/${Number(channelID).toString(36)}/${Number(emailID).toString(36)}/${subject}`;
17
+ }
18
+ });
19
+ }
20
+ };
21
+ });
22
+ //# sourceMappingURL=UrlService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UrlService","toBlogUrl","channelID","emailID","subject","length","substring","replace","encodeURIComponent","Number","toString"],"sources":["../../../src/public/channel/UrlService.ts"],"sourcesContent":[null],"mappings":";;;;;;;4BAAaA,UAAU,GAAG;QAEtBC,SAAS,EAAEA,CAACC,SAAiB,EAAEC,OAAe,EAAEC,OAAe,KAAK;UAChEA,OAAO,KAAPA,OAAO,GAAK,EAAE;UACd,IAAGA,OAAO,CAACC,MAAM,GAAG,GAAG,EAAE;YACrBD,OAAO,GAAGA,OAAO,CAACE,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC;;UAEvCF,OAAO,GAAGA,OAAO,CAACG,OAAO,CAAC,kBAAkB,EAAE,GAAG,CAAC;UAClDH,OAAO,GAAGI,kBAAkB,CAACJ,OAAO,CAAC,CAACG,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC;UAC3D,OAAO,aAAaE,MAAM,CAACP,SAAS,CAAC,CAACQ,QAAQ,CAAC,EAAE,CAAC,IAAID,MAAM,CAACN,OAAO,CAAC,CAACO,QAAQ,CAAC,EAAE,CAAC,IAAIN,OAAO,EAAE;QACnG;OACH;IAAA;EAAA;AAAA"}