@social-mail/social-mail-client 1.2.601 → 1.2.603
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 +11 -7
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +3 -3
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/code-editor/CodeSnippetPage.d.ts +2 -2
- package/dist/code-editor/CodeSnippetPage.d.ts.map +1 -1
- package/dist/code-editor/CodeSnippetPage.js +7 -5
- package/dist/code-editor/CodeSnippetPage.js.map +1 -1
- package/dist/public/channel/ChannelView.d.ts +2 -0
- package/dist/public/channel/ChannelView.d.ts.map +1 -1
- package/dist/public/channel/ChannelView.js +6 -2
- package/dist/public/channel/ChannelView.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +163 -22
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +113 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/channel/PostSummary.d.ts +10 -1
- package/dist/public/channel/PostSummary.d.ts.map +1 -1
- package/dist/public/channel/PostSummary.js +157 -20
- package/dist/public/channel/PostSummary.js.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js.map +1 -1
- package/dist/site-editor/properties/controls/PropertyEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/controls/PropertyEditor.js +3 -1
- package/dist/site-editor/properties/controls/PropertyEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/BackgroundGroupEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +11 -7
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +3 -3
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/code-editor/CodeSnippetPage.tsx +5 -4
- package/src/public/channel/ChannelView.tsx +5 -1
- package/src/public/channel/PostSummary.tsx +160 -16
- package/src/site-editor/editor/WebSitePageEditor.tsx +1 -1
- package/src/site-editor/properties/controls/PropertyEditor.tsx +1 -0
- package/src/site-editor/properties/groups/BackgroundGroupEditor.tsx +1 -1
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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({
|
|
@@ -48856,7 +48858,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
48856
48858
|
"data-click-event": eventClick,
|
|
48857
48859
|
class: icon
|
|
48858
48860
|
}))
|
|
48859
|
-
}, a), XNode.create(Select, Object.assign({
|
|
48861
|
+
}, a), XNode.create(Select, Object.assign({
|
|
48862
|
+
"data-property-value-editor": "drop-down"
|
|
48863
|
+
}, BindStyleValue(property.key), {
|
|
48860
48864
|
"data-flex": "stretch-full",
|
|
48861
48865
|
valuePath: v => v.value,
|
|
48862
48866
|
items: [{
|
|
@@ -54280,7 +54284,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
|
|
|
54280
54284
|
} = files[0];
|
|
54281
54285
|
const path = "./" + [...folder, file.name].join("/");
|
|
54282
54286
|
element.style.setProperty("background-image", `url("${path}")`);
|
|
54283
|
-
element.
|
|
54287
|
+
element.style.setProperty("--styler-background-image", `url("${path}")`);
|
|
54284
54288
|
});
|
|
54285
54289
|
}
|
|
54286
54290
|
changeImage() {
|