@social-mail/social-mail-client 1.2.285 → 1.2.286
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 +19 -19
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js +19 -19
- package/dist/site-editor/editor/WebSitePageEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +19 -19
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/WebSitePageEditor.tsx +24 -23
|
@@ -46023,25 +46023,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
|
|
|
46023
46023
|
}
|
|
46024
46024
|
setStylerSheet() {
|
|
46025
46025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
46026
|
-
const stylerCSS = yield this.createFile("styler.css", StylerSet.instance.toString());
|
|
46027
|
-
yield this.addStyleSheet(stylerCSS);
|
|
46028
|
-
let vars = yield this.cloudFileService.children(this.folder.appFileID, "styles/vars.css").firstOrDefault();
|
|
46029
|
-
if (!vars) {
|
|
46030
|
-
vars = yield this.createFile("vars.css", `* {
|
|
46031
|
-
${StylerSet.instance.varsCss}
|
|
46032
|
-
}`);
|
|
46033
|
-
}
|
|
46034
|
-
yield this.addStyleSheet(vars);
|
|
46035
|
-
let script = this.htmlDocument.querySelector("script[web-components]");
|
|
46036
|
-
if (!script) {
|
|
46037
|
-
script = this.htmlDocument.createElement("script");
|
|
46038
|
-
script.setAttribute("web-components", "social");
|
|
46039
|
-
script.setAttribute("async", "true");
|
|
46040
|
-
script.setAttribute("defer", "true");
|
|
46041
|
-
this.htmlDocument.head.appendChild(this.htmlDocument.createTextNode("\n"));
|
|
46042
|
-
this.htmlDocument.head.appendChild(script);
|
|
46043
|
-
}
|
|
46044
|
-
script.setAttribute("src", "//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.54/dist/components.webpack.js");
|
|
46045
46026
|
for (const e of Array.from(this.htmlDocument.querySelectorAll("inject"))) {
|
|
46046
46027
|
let src = e.getAttribute("src");
|
|
46047
46028
|
if (src.startsWith("/")) {
|
|
@@ -46061,6 +46042,25 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
|
|
|
46061
46042
|
e.appendChild(iterator);
|
|
46062
46043
|
}
|
|
46063
46044
|
}
|
|
46045
|
+
const stylerCSS = yield this.createFile("styler.css", StylerSet.instance.toString());
|
|
46046
|
+
yield this.addStyleSheet(stylerCSS);
|
|
46047
|
+
let vars = yield this.cloudFileService.children(this.folder.appFileID, "styles/vars.css").firstOrDefault();
|
|
46048
|
+
if (!vars) {
|
|
46049
|
+
vars = yield this.createFile("vars.css", `* {
|
|
46050
|
+
${StylerSet.instance.varsCss}
|
|
46051
|
+
}`);
|
|
46052
|
+
}
|
|
46053
|
+
yield this.addStyleSheet(vars);
|
|
46054
|
+
let script = this.htmlDocument.querySelector("script[web-components]");
|
|
46055
|
+
if (!script) {
|
|
46056
|
+
script = this.htmlDocument.createElement("script");
|
|
46057
|
+
script.setAttribute("web-components", "social");
|
|
46058
|
+
script.setAttribute("async", "true");
|
|
46059
|
+
script.setAttribute("defer", "true");
|
|
46060
|
+
this.htmlDocument.head.appendChild(this.htmlDocument.createTextNode("\n"));
|
|
46061
|
+
this.htmlDocument.head.appendChild(script);
|
|
46062
|
+
}
|
|
46063
|
+
script.setAttribute("src", "//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.54/dist/components.webpack.js");
|
|
46064
46064
|
});
|
|
46065
46065
|
}
|
|
46066
46066
|
addStyleSheet(file) {
|