@social-mail/social-mail-client 1.2.602 → 1.2.604

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 (32) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +7 -5
  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/code-editor/CodeSnippetPage.d.ts +2 -2
  6. package/dist/code-editor/CodeSnippetPage.d.ts.map +1 -1
  7. package/dist/code-editor/CodeSnippetPage.js +7 -5
  8. package/dist/code-editor/CodeSnippetPage.js.map +1 -1
  9. package/dist/public/channel/BlogService.js +3 -1
  10. package/dist/public/channel/BlogService.js.map +1 -1
  11. package/dist/public/channel/ChannelView.d.ts +2 -0
  12. package/dist/public/channel/ChannelView.d.ts.map +1 -1
  13. package/dist/public/channel/ChannelView.js +6 -2
  14. package/dist/public/channel/ChannelView.js.map +1 -1
  15. package/dist/public/channel/ChannelView.pack.js +166 -23
  16. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  17. package/dist/public/channel/ChannelView.pack.min.js +114 -2
  18. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  19. package/dist/public/channel/PostSummary.d.ts +10 -1
  20. package/dist/public/channel/PostSummary.d.ts.map +1 -1
  21. package/dist/public/channel/PostSummary.js +157 -20
  22. package/dist/public/channel/PostSummary.js.map +1 -1
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/dist/web/AppIndex.pack.js +7 -5
  25. package/dist/web/AppIndex.pack.js.map +1 -1
  26. package/dist/web/AppIndex.pack.min.js +1 -1
  27. package/dist/web/AppIndex.pack.min.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/code-editor/CodeSnippetPage.tsx +5 -4
  30. package/src/public/channel/BlogService.ts +1 -1
  31. package/src/public/channel/ChannelView.tsx +5 -1
  32. package/src/public/channel/PostSummary.tsx +160 -16
@@ -40614,14 +40614,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
40614
40614
  _export("default", CodeSnippetPage = class CodeSnippetPage extends PopupWindowPage {
40615
40615
  constructor() {
40616
40616
  super(...arguments);
40617
- this.langaugeId = "html";
40617
+ this.languageId = "html";
40618
40618
  this.code = "";
40619
40619
  }
40620
40620
  init() {
40621
40621
  var _a, _b, _c, _d;
40622
40622
  return __awaiter(this, void 0, void 0, function* () {
40623
40623
  this.code = (_b = (_a = this.parameters) === null || _a === void 0 ? void 0 : _a.code) !== null && _b !== void 0 ? _b : "";
40624
- this.langaugeId = (_d = (_c = this.parameters) === null || _c === void 0 ? void 0 : _c.languageId) !== null && _d !== void 0 ? _d : "html";
40624
+ this.languageId = (_d = (_c = this.parameters) === null || _c === void 0 ? void 0 : _c.languageId) !== null && _d !== void 0 ? _d : "html";
40625
40625
  this.title = "Insert Code Snippet";
40626
40626
  if (!isMobileView) {
40627
40627
  this.element.style.minWidth = "70vw";
@@ -40643,7 +40643,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
40643
40643
  "data-layout": "header-row"
40644
40644
  }, XNode.create(Select, {
40645
40645
  items: this.monacoService.getLanguages(),
40646
- value: Bind.twoWaysImmediate(() => this.langaugeId),
40646
+ value: Bind.twoWaysImmediate(() => this.languageId),
40647
40647
  "event-input": () => setTimeout(() => this.createModel())
40648
40648
  }));
40649
40649
  this.createModel();
@@ -40664,11 +40664,13 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
40664
40664
  }
40665
40665
  createModel() {
40666
40666
  var _a, _b, _c;
40667
- const lang = (_a = this.monacoService.languages.find(x => x.id === this.langaugeId)) !== null && _a !== void 0 ? _a : this.monacoService.languages[0];
40667
+ const lang = (_a = this.monacoService.languages.find(x => x.id === this.languageId)) !== null && _a !== void 0 ? _a : this.monacoService.languages[0];
40668
40668
  this.textModel = this.monacoService.setCodeModel(this, this.code, `http://a/file${(_c = (_b = lang.extensions) === null || _b === void 0 ? void 0 : _b[0]) !== null && _c !== void 0 ? _c : ".txt"}`);
40669
40669
  }
40670
40670
  colorize(code) {
40671
- return __awaiter(this, void 0, void 0, function* () {});
40671
+ return __awaiter(this, void 0, void 0, function* () {
40672
+ return code;
40673
+ });
40672
40674
  }
40673
40675
  });
40674
40676
  __decorate([Action({