@social-mail/social-mail-client 1.2.680 → 1.2.682
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/content/templates/plain/blog.html +22 -0
- package/content/templates/plain/contact.html +22 -0
- package/content/templates/plain/index.html +22 -53
- package/content/templates/plain/store.html +22 -0
- package/content/templates/plain/templates/footer.html +16 -0
- package/content/templates/plain/templates/header.html +20 -0
- package/dist/admin/AdminAppIndex.pack.js +31 -14
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/websites/edit/WebSiteFolderEditor.d.ts.map +1 -1
- package/dist/common/pages/websites/edit/WebSiteFolderEditor.js +5 -0
- package/dist/common/pages/websites/edit/WebSiteFolderEditor.js.map +1 -1
- package/dist/common/pages/websites/edit/WebSiteFolderSettings.d.ts.map +1 -1
- package/dist/common/pages/websites/edit/WebSiteFolderSettings.js +9 -2
- package/dist/common/pages/websites/edit/WebSiteFolderSettings.js.map +1 -1
- package/dist/common/pages/websites/templates/ChooseWebSiteTemplatePage.d.ts +1 -1
- package/dist/common/pages/websites/templates/ChooseWebSiteTemplatePage.d.ts.map +1 -1
- package/dist/common/pages/websites/templates/ChooseWebSiteTemplatePage.js +17 -12
- package/dist/common/pages/websites/templates/ChooseWebSiteTemplatePage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +31 -14
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/websites/edit/WebSiteFolderEditor.tsx +6 -0
- package/src/common/pages/websites/edit/WebSiteFolderSettings.tsx +7 -0
- package/src/common/pages/websites/templates/ChooseWebSiteTemplatePage.tsx +27 -8
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title>Main Page</title>
|
|
4
|
+
<meta name="viewport" content="width=device-width, shrink-to-fit=YES, initial-scale=1.0"/>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css">
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<main styler-layout="main">
|
|
14
|
+
<inject src="/templates/header.html"></inject>
|
|
15
|
+
|
|
16
|
+
<section styler-layout="component" data-package="@social-mail/social-mail-client" data-host="true" data-view="dist/public/channel/ChannelView"></section>
|
|
17
|
+
|
|
18
|
+
<inject src="/templates/footer.html"></inject>
|
|
19
|
+
|
|
20
|
+
</main>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title>Main Page</title>
|
|
4
|
+
<meta name="viewport" content="width=device-width, shrink-to-fit=YES, initial-scale=1.0"/>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css">
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<main styler-layout="main">
|
|
14
|
+
<inject src="/templates/header.html"></inject>
|
|
15
|
+
|
|
16
|
+
<section styler-layout="component" data-package="@social-mail/social-mail-client" data-host="true" data-view="dist/public/contact-us/ContactUsApp"></section>
|
|
17
|
+
|
|
18
|
+
<inject src="/templates/footer.html"></inject>
|
|
19
|
+
|
|
20
|
+
</main>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -1,62 +1,31 @@
|
|
|
1
1
|
<html>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
<head>
|
|
3
|
+
<title>Main Page</title>
|
|
4
|
+
<meta name="viewport" content="width=device-width, shrink-to-fit=YES, initial-scale=1.0"/>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css">
|
|
10
11
|
</head>
|
|
11
12
|
<body>
|
|
12
13
|
<main styler-layout="main">
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
styler-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
styler-box-shadow="default"
|
|
20
|
-
styler-colors="primary">
|
|
21
|
-
<h1>Social Mail</h1>
|
|
22
|
-
<div styler-element="navbar">
|
|
23
|
-
<input type="checkbox" styler-element="drawer">
|
|
24
|
-
<nav>
|
|
25
|
-
<a>Home</a>
|
|
26
|
-
<a>Features</a>
|
|
27
|
-
</nav>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<section styler-layout="card" styler-colors="primary">
|
|
31
|
-
<h4 styler-element="accent">Demo 1</h4>
|
|
32
|
-
<section styler-element="surface">This is a demo 2.</section>
|
|
33
|
-
</section>
|
|
34
|
-
<section styler-layout="columns-3">
|
|
35
|
-
<section>
|
|
36
|
-
<section styler-layout="card" styler-colors="primary">
|
|
37
|
-
<h4 styler-element="accent">Address</h4>
|
|
38
|
-
<section styler-element="surface">404 Not Found,<div>HTTP/1.1 Protocol</div>
|
|
39
|
-
</section>
|
|
40
|
-
</section>
|
|
14
|
+
<inject src="/templates/header.html"></inject>
|
|
15
|
+
|
|
16
|
+
<carousel-slider>
|
|
17
|
+
<section styler-layout="column">
|
|
18
|
+
<h5>Products</h5>
|
|
19
|
+
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImZpbGw6IHJnYmEoMCwwLDAsMC4xNSk7IHRyYW5zZm9ybTogc2NhbGUoMC43NSkiPgogICAgICAgIDxwYXRoIGQ9Ik04LjUgMTMuNWwyLjUgMyAzLjUtNC41IDQuNSA2SDVtMTYgMVY1YTIgMiAwIDAgMC0yLTJINWMtMS4xIDAtMiAuOS0yIDJ2MTRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMnoiPjwvcGF0aD4KICAgICAgPC9zdmc+"/>
|
|
41
20
|
</section>
|
|
42
|
-
<section>
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
<section styler-element="surface">No where to be found<div>This is another demo.</div>
|
|
46
|
-
</section>
|
|
47
|
-
</section>
|
|
21
|
+
<section styler-layout="column">
|
|
22
|
+
<h5>Services</h5>
|
|
23
|
+
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImZpbGw6IHJnYmEoMCwwLDAsMC4xNSk7IHRyYW5zZm9ybTogc2NhbGUoMC43NSkiPgogICAgICAgIDxwYXRoIGQ9Ik04LjUgMTMuNWwyLjUgMyAzLjUtNC41IDQuNSA2SDVtMTYgMVY1YTIgMiAwIDAgMC0yLTJINWMtMS4xIDAtMiAuOS0yIDJ2MTRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMnoiPjwvcGF0aD4KICAgICAgPC9zdmc+"/>
|
|
48
24
|
</section>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</section>
|
|
54
|
-
</section>
|
|
55
|
-
</section>
|
|
56
|
-
</section>
|
|
57
|
-
<footer styler-font-size="sizeSmaller">
|
|
58
|
-
<a href="https://fontawesome.com/" target="_blank">Fonts by Font Awesome</a>
|
|
59
|
-
</footer>
|
|
25
|
+
</carousel-slider>
|
|
26
|
+
|
|
27
|
+
<inject src="/templates/footer.html"></inject>
|
|
28
|
+
|
|
60
29
|
</main>
|
|
61
30
|
</body>
|
|
62
31
|
</html>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title>Main Page</title>
|
|
4
|
+
<meta name="viewport" content="width=device-width, shrink-to-fit=YES, initial-scale=1.0"/>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css">
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<main styler-layout="main">
|
|
14
|
+
<inject src="/templates/header.html"></inject>
|
|
15
|
+
|
|
16
|
+
<section styler-layout="component" data-package="@social-mail/social-mail-client" data-host="true" data-view="dist/public/store/StoreApp"></section>
|
|
17
|
+
|
|
18
|
+
<inject src="/templates/footer.html"></inject>
|
|
19
|
+
|
|
20
|
+
</main>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
</head>
|
|
6
|
+
<body>
|
|
7
|
+
<section styler-layout="banner" styler-background-color="custom" style="--styler-background-color: var(--background-logo);">
|
|
8
|
+
<footer styler-display="flex" styler-flex-direction="column" styler-gap="size-default" styler-padding="size-default">
|
|
9
|
+
<section styler-font-size="x-small" styler-text-align="center" styler-display="flex" styler-gap="size-default" styler-justify-content="center">
|
|
10
|
+
<a href="https://socialmail.in" target="_blank">Powered by SocialMail</a>
|
|
11
|
+
<a href="https://fontawesome.com/" target="_blank">Fonts by Font Awesome</a>
|
|
12
|
+
</section>
|
|
13
|
+
</footer>
|
|
14
|
+
</section>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
</head>
|
|
6
|
+
<body>
|
|
7
|
+
<section styler-layout="banner" style="top:0; --styler-background-color: var(--background-logo); --styler-color: var(--header-text-color);" styler-backdrop-filter="blur" styler-box-shadow="thin" styler-align-items="center" styler-justify-content="center" styler-position="sticky" styler-padding="size-small" styler-background-color="custom" styler-color="custom">
|
|
8
|
+
<div styler-layout="floating-nav-bar" styler-display="flex" styler-gap="size-default" styler-border="none" styler-border-radius="size-zero" styler-height="rem4" styler-backdrop-filter="none" styler-background-color="transparent">
|
|
9
|
+
<h1>Social Site</h1>
|
|
10
|
+
<menu-bar>
|
|
11
|
+
<a href="/">Home</a>
|
|
12
|
+
<a href="/store.html">Store</a>
|
|
13
|
+
<a href="/about.html">About</a>
|
|
14
|
+
<a href="/blog.html">@Social</a>
|
|
15
|
+
<a href="/contact.html">Contact</a>
|
|
16
|
+
</menu-bar>
|
|
17
|
+
</div>
|
|
18
|
+
</section>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
@@ -48149,22 +48149,27 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
48149
48149
|
createTemplate() {
|
|
48150
48150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48151
48151
|
const template = "plain";
|
|
48152
|
-
yield this.uploadFromTemplate("index.html", template);
|
|
48153
|
-
|
|
48152
|
+
yield Promise.all([this.uploadFromTemplate("styles/vars.css", template, "text/css"), this.uploadFromTemplate("templates/header.html", template, "text/html"), this.uploadFromTemplate("templates/footer.html", template, "text/html"), this.uploadFromTemplate("blog.html", template, "text/html"), this.uploadFromTemplate("contact.html", template, "text/html"), this.uploadFromTemplate("store.html", template, "text/html"), this.uploadFromTemplate("index.html", template, "text/html")]);
|
|
48153
|
+
location.reload();
|
|
48154
48154
|
});
|
|
48155
48155
|
}
|
|
48156
|
-
uploadFromTemplate(fileName, template) {
|
|
48156
|
+
uploadFromTemplate(fileName, template, type) {
|
|
48157
48157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48158
48158
|
const path = UMD.resolvePath(`@social-mail/social-mail-client/content/templates/${template}/${fileName}`);
|
|
48159
|
-
const
|
|
48160
|
-
|
|
48161
|
-
const
|
|
48162
|
-
|
|
48163
|
-
|
|
48164
|
-
|
|
48165
|
-
|
|
48166
|
-
|
|
48167
|
-
|
|
48159
|
+
const contentText = yield FetchBuilder.get(path).responseAsText();
|
|
48160
|
+
let folder;
|
|
48161
|
+
const index = fileName.lastIndexOf("/");
|
|
48162
|
+
if (index !== -1) {
|
|
48163
|
+
folder = fileName.substring(0, index);
|
|
48164
|
+
fileName = fileName.substring(index + 1);
|
|
48165
|
+
}
|
|
48166
|
+
const content = new File([contentText], fileName, {
|
|
48167
|
+
type
|
|
48168
|
+
});
|
|
48169
|
+
yield this.cloudFileService.saveFile({
|
|
48170
|
+
content,
|
|
48171
|
+
parentID: this.parameters.appFileID,
|
|
48172
|
+
folder
|
|
48168
48173
|
});
|
|
48169
48174
|
});
|
|
48170
48175
|
}
|
|
@@ -56721,6 +56726,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
56721
56726
|
}, XNode.create(Checkbox, {
|
|
56722
56727
|
checked: Bind.twoWays(() => this.model.isTemplate),
|
|
56723
56728
|
text: "Save this as a Template"
|
|
56729
|
+
})), XNode.create(FormField, {
|
|
56730
|
+
label: "Enable"
|
|
56731
|
+
}, XNode.create(Checkbox, {
|
|
56732
|
+
checked: Bind.twoWays(() => this.model.storeEnabled),
|
|
56733
|
+
text: "Store"
|
|
56724
56734
|
})), XNode.create("div", null, "We recommend using the host name as folder name, e.g. akashkava.com"), XNode.create("div", {
|
|
56725
56735
|
"data-layout": "command-row"
|
|
56726
56736
|
}, XNode.create("button", {
|
|
@@ -56747,10 +56757,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
56747
56757
|
|
|
56748
56758
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/pages/websites/edit/WebSiteFolderEditor");
|
|
56749
56759
|
|
|
56750
|
-
System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@web-atoms/web-controls/dist/basic/Form", "@web-atoms/web-controls/dist/basic/FormField", "@web-atoms/core/dist/core/Bind", "../../../controls/buttons/IconButton", "@web-atoms/core/dist/view-model/Action", "../../../../services/EntityService", "@web-atoms/core/dist/core/InjectProperty"], function (_export, _context) {
|
|
56760
|
+
System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@web-atoms/web-controls/dist/basic/Form", "@web-atoms/web-controls/dist/basic/FormField", "@web-atoms/core/dist/core/Bind", "../../../controls/buttons/IconButton", "@web-atoms/core/dist/view-model/Action", "../../../../services/EntityService", "@web-atoms/core/dist/core/InjectProperty", "@web-atoms/web-controls/dist/basic/Checkbox"], function (_export, _context) {
|
|
56751
56761
|
"use strict";
|
|
56752
56762
|
|
|
56753
|
-
var __awaiter, __decorate, __metadata, XNode, PopupWindowPage, Form, FormField, Bind, SaveIconTextButton, Action, EntityService, InjectProperty, WebSiteFolderSettings;
|
|
56763
|
+
var __awaiter, __decorate, __metadata, XNode, PopupWindowPage, Form, FormField, Bind, SaveIconTextButton, Action, EntityService, InjectProperty, Checkbox, WebSiteFolderSettings;
|
|
56754
56764
|
_export("default", void 0);
|
|
56755
56765
|
return {
|
|
56756
56766
|
setters: [function (_tslib) {
|
|
@@ -56775,6 +56785,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
56775
56785
|
EntityService = _servicesEntityService.default;
|
|
56776
56786
|
}, function (_webAtomsCoreDistCoreInjectProperty) {
|
|
56777
56787
|
InjectProperty = _webAtomsCoreDistCoreInjectProperty.default;
|
|
56788
|
+
}, function (_webAtomsWebControlsDistBasicCheckbox) {
|
|
56789
|
+
Checkbox = _webAtomsWebControlsDistBasicCheckbox.default;
|
|
56778
56790
|
}],
|
|
56779
56791
|
execute: function () {
|
|
56780
56792
|
_export("default", WebSiteFolderSettings = class WebSiteFolderSettings extends PopupWindowPage {
|
|
@@ -56789,6 +56801,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
56789
56801
|
label: "Support Email"
|
|
56790
56802
|
}, XNode.create("input", {
|
|
56791
56803
|
value: Bind.twoWaysImmediate(() => this.model.supportEmail)
|
|
56804
|
+
})), XNode.create(FormField, {
|
|
56805
|
+
label: "Enable"
|
|
56806
|
+
}, XNode.create(Checkbox, {
|
|
56807
|
+
checked: Bind.twoWaysImmediate(() => this.model.storeEnabled),
|
|
56808
|
+
text: "Store"
|
|
56792
56809
|
})), XNode.create(FormField, {
|
|
56793
56810
|
label: ""
|
|
56794
56811
|
}, XNode.create(SaveIconTextButton, {
|