@social-mail/social-mail-client 1.2.64 → 1.2.66

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 (58) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +299 -42
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +61 -5
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/model/model.d.ts +120 -2
  6. package/dist/model/model.d.ts.map +1 -1
  7. package/dist/model/model.js +90 -1
  8. package/dist/model/model.js.map +1 -1
  9. package/dist/public/channel/BlogService.d.ts +4 -0
  10. package/dist/public/channel/BlogService.d.ts.map +1 -1
  11. package/dist/public/channel/BlogService.js +13 -2
  12. package/dist/public/channel/BlogService.js.map +1 -1
  13. package/dist/public/channel/ChannelMessage.d.ts.map +1 -1
  14. package/dist/public/channel/ChannelMessage.js +28 -4
  15. package/dist/public/channel/ChannelMessage.js.map +1 -1
  16. package/dist/public/channel/ChannelMessageList.d.ts.map +1 -1
  17. package/dist/public/channel/ChannelMessageList.js +8 -5
  18. package/dist/public/channel/ChannelMessageList.js.map +1 -1
  19. package/dist/public/channel/ChannelView.pack.js +4116 -3964
  20. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  21. package/dist/public/channel/ChannelView.pack.min.js +4 -4
  22. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  23. package/dist/public/channel/UrlService.d.ts +4 -0
  24. package/dist/public/channel/UrlService.d.ts.map +1 -0
  25. package/dist/public/channel/UrlService.js +22 -0
  26. package/dist/public/channel/UrlService.js.map +1 -0
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/dist/web/AppIndex.pack.js +300 -43
  29. package/dist/web/AppIndex.pack.js.map +1 -1
  30. package/dist/web/AppIndex.pack.min.js +62 -6
  31. package/dist/web/AppIndex.pack.min.js.map +1 -1
  32. package/dist/web/drawer/AppDrawer.js +1 -1
  33. package/dist/web/drawer/AppDrawer.js.map +1 -1
  34. package/dist/web/page/channels/detail/ChannelDetailPage.d.ts +2 -0
  35. package/dist/web/page/channels/detail/ChannelDetailPage.d.ts.map +1 -1
  36. package/dist/web/page/channels/detail/ChannelDetailPage.js +128 -2
  37. package/dist/web/page/channels/detail/ChannelDetailPage.js.map +1 -1
  38. package/dist/web/page/channels/services/ChannelService.d.ts +8 -0
  39. package/dist/web/page/channels/services/ChannelService.d.ts.map +1 -1
  40. package/dist/web/page/channels/services/ChannelService.js +37 -1
  41. package/dist/web/page/channels/services/ChannelService.js.map +1 -1
  42. package/dist/web/page/mails/ConversationPage.d.ts.map +1 -1
  43. package/dist/web/page/mails/ConversationPage.js +6 -3
  44. package/dist/web/page/mails/ConversationPage.js.map +1 -1
  45. package/dist/web/page/mails/service/MailService.d.ts.map +1 -1
  46. package/dist/web/page/mails/service/MailService.js +5 -2
  47. package/dist/web/page/mails/service/MailService.js.map +1 -1
  48. package/package.json +1 -1
  49. package/src/model/model.ts +137 -5
  50. package/src/public/channel/BlogService.ts +14 -2
  51. package/src/public/channel/ChannelMessage.tsx +19 -1
  52. package/src/public/channel/ChannelMessageList.tsx +6 -2
  53. package/src/public/channel/UrlService.ts +12 -0
  54. package/src/web/drawer/AppDrawer.tsx +1 -1
  55. package/src/web/page/channels/detail/ChannelDetailPage.tsx +113 -1
  56. package/src/web/page/channels/services/ChannelService.ts +32 -1
  57. package/src/web/page/mails/ConversationPage.tsx +5 -0
  58. package/src/web/page/mails/service/MailService.ts +3 -2
@@ -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"}