@social-mail/social-mail-client 1.2.97 → 1.2.99
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/README.md +72 -1
- package/dist/admin/AdminAppIndex.pack.js +38 -21
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +5 -5
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/controls/emoji-picker/EmojiPicker.d.ts.map +1 -1
- package/dist/common/controls/emoji-picker/EmojiPicker.js.map +1 -1
- package/dist/public/channel/BlogService.d.ts +5 -2
- package/dist/public/channel/BlogService.d.ts.map +1 -1
- package/dist/public/channel/BlogService.js +23 -9
- package/dist/public/channel/BlogService.js.map +1 -1
- package/dist/public/channel/ChannelMessage.d.ts +3 -0
- package/dist/public/channel/ChannelMessage.d.ts.map +1 -1
- package/dist/public/channel/ChannelMessage.js +59 -11
- package/dist/public/channel/ChannelMessage.js.map +1 -1
- package/dist/public/channel/ChannelMessageList.d.ts.map +1 -1
- package/dist/public/channel/ChannelMessageList.js +10 -5
- package/dist/public/channel/ChannelMessageList.js.map +1 -1
- package/dist/public/channel/ChannelView.d.ts.map +1 -1
- package/dist/public/channel/ChannelView.js +3 -66
- package/dist/public/channel/ChannelView.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +5870 -5467
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +121 -115
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/channel/emoji/EmojiPopup.d.ts +6 -0
- package/dist/public/channel/emoji/EmojiPopup.d.ts.map +1 -0
- package/dist/public/channel/emoji/EmojiPopup.js +37 -0
- package/dist/public/channel/emoji/EmojiPopup.js.map +1 -0
- package/dist/public/channel/styles/channelViewStyle.d.ts.map +1 -0
- package/dist/public/channel/styles/channelViewStyle.js +120 -0
- package/dist/public/channel/styles/channelViewStyle.js.map +1 -0
- package/dist/services/email/EmailContentDownloader.d.ts +2 -1
- package/dist/services/email/EmailContentDownloader.d.ts.map +1 -1
- package/dist/services/email/EmailContentDownloader.js +7 -4
- package/dist/services/email/EmailContentDownloader.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +38 -21
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +5 -5
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/channels/services/ChannelService.d.ts +2 -0
- package/dist/web/page/channels/services/ChannelService.d.ts.map +1 -1
- package/dist/web/page/channels/services/ChannelService.js +16 -3
- package/dist/web/page/channels/services/ChannelService.js.map +1 -1
- package/dist/web/page/mails/mini-compose/{Atttach.d.ts → Attach.d.ts} +1 -1
- package/dist/web/page/mails/mini-compose/Attach.d.ts.map +1 -0
- package/dist/web/page/mails/mini-compose/{Atttach.js → Attach.js} +1 -1
- package/dist/web/page/mails/mini-compose/Attach.js.map +1 -0
- package/dist/web/page/mails/mini-compose/MiniComposeBox.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js +10 -9
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js.map +1 -1
- package/dist/web/page/mails/service/EngagementService.d.ts +1 -1
- package/dist/web/page/mails/service/EngagementService.d.ts.map +1 -1
- package/dist/web/page/mails/service/EngagementService.js +2 -2
- package/dist/web/page/mails/service/EngagementService.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/emoji-picker/EmojiPicker.tsx +0 -12
- package/src/public/channel/BlogService.ts +21 -7
- package/src/public/channel/ChannelMessage.tsx +63 -11
- package/src/public/channel/ChannelMessageList.tsx +9 -3
- package/src/public/channel/ChannelView.tsx +1 -63
- package/src/public/channel/emoji/EmojiPopup.tsx +28 -0
- package/src/public/channel/styles/channelViewStyle.ts +110 -0
- package/src/services/email/EmailContentDownloader.ts +9 -5
- package/src/web/page/channels/services/ChannelService.ts +16 -1
- package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +8 -6
- package/src/web/page/mails/service/EngagementService.tsx +2 -2
- package/dist/public/channel/channelViewStyle.d.ts.map +0 -1
- package/dist/public/channel/channelViewStyle.js +0 -53
- package/dist/public/channel/channelViewStyle.js.map +0 -1
- package/dist/web/page/mails/mini-compose/Atttach.d.ts.map +0 -1
- package/dist/web/page/mails/mini-compose/Atttach.js.map +0 -1
- package/src/public/channel/channelViewStyle.ts +0 -42
- /package/dist/public/channel/{channelViewStyle.d.ts → styles/channelViewStyle.d.ts} +0 -0
- /package/src/web/page/mails/mini-compose/{Atttach.tsx → Attach.tsx} +0 -0
|
@@ -1,72 +1,10 @@
|
|
|
1
1
|
import "../../style/GlobalStyle";
|
|
2
2
|
import Pack from "@web-atoms/core/dist/Pack";
|
|
3
|
-
import styled from "@web-atoms/core/dist/style/styled";
|
|
4
3
|
|
|
5
|
-
styled.css `
|
|
6
|
-
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
|
|
9
|
-
& > header {
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
& > section {
|
|
14
|
-
& [data-element=blog-item] {
|
|
15
|
-
margin: 10px;
|
|
16
|
-
border: solid 1px lightgray;
|
|
17
|
-
border-radius: 10px;
|
|
18
|
-
display: grid;
|
|
19
|
-
grid-template-columns: 1fr auto auto;
|
|
20
|
-
grid-template-rows: auto 1fr;
|
|
21
|
-
|
|
22
|
-
background-color: gray;
|
|
23
|
-
|
|
24
|
-
& > h4 {
|
|
25
|
-
grid-row: 1;
|
|
26
|
-
grid-column: 1;
|
|
27
|
-
margin-block-start: 0;
|
|
28
|
-
margin-block-end: 0;
|
|
29
|
-
padding: 10px;
|
|
30
|
-
& > a {
|
|
31
|
-
text-decoration: none;
|
|
32
|
-
color: white;
|
|
33
|
-
&:hover {
|
|
34
|
-
text-decoration: underline;
|
|
35
|
-
color: #73ff73;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
& > h5 {
|
|
41
|
-
grid-row: 1;
|
|
42
|
-
grid-column: 2;
|
|
43
|
-
margin-block-start: 0;
|
|
44
|
-
margin-block-end: 0;
|
|
45
|
-
padding: 10px;
|
|
46
|
-
}
|
|
47
|
-
& > h6 {
|
|
48
|
-
grid-row: 1;
|
|
49
|
-
grid-column: 3;
|
|
50
|
-
margin-block-start: 0;
|
|
51
|
-
margin-block-end: 0;
|
|
52
|
-
padding: 10px;
|
|
53
|
-
}
|
|
54
|
-
& > section {
|
|
55
|
-
padding: 10px;
|
|
56
|
-
border-bottom-left-radius: 10px;
|
|
57
|
-
border-bottom-right-radius: 10px;
|
|
58
|
-
grid-row: 2;
|
|
59
|
-
grid-column: 1 / span 3;
|
|
60
|
-
background-color: canvas;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
`.installGlobal("[data-blog-list=blog-list]");
|
|
66
4
|
|
|
67
5
|
const url = new URL(location.href);
|
|
68
6
|
(window as any).pageUrl = url;
|
|
69
|
-
const { default: view } = await (/\/channels\//.test(url.pathname)
|
|
7
|
+
const { default: view } = await (/\/channels\//.test(url.pathname) || url.searchParams.has("detail")
|
|
70
8
|
? import("./ChannelMessage")
|
|
71
9
|
: import("./ChannelMessageList")) as any;
|
|
72
10
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import WebApp from "@web-atoms/core/dist/web/WebApp";
|
|
2
|
+
import { AtomControl } from "@web-atoms/core/dist/web/controls/AtomControl";
|
|
3
|
+
import InlinePopup from "@web-atoms/web-controls/dist/basic/InlinePopup";
|
|
4
|
+
|
|
5
|
+
declare let EmojiMart: any;
|
|
6
|
+
|
|
7
|
+
export default class EmojiPopup extends InlinePopup {
|
|
8
|
+
constructor(app, e) {
|
|
9
|
+
super(app, e);
|
|
10
|
+
this.runAfterInit(() => this.app.runAsync(() => this.init()));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
async init() {
|
|
14
|
+
|
|
15
|
+
await WebApp.installScript("https://cdn.jsdelivr.net/npm/emoji-mart@latest/dist/browser.js");
|
|
16
|
+
|
|
17
|
+
const picker = new EmojiMart.Picker({
|
|
18
|
+
previewPosition: "none",
|
|
19
|
+
autoFocus: true,
|
|
20
|
+
theme: "light",
|
|
21
|
+
maxFrequentRows: 2,
|
|
22
|
+
onEmojiSelect: (emoji) => this.close(emoji.native)
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
this.element.appendChild(picker);
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import styled from "@web-atoms/core/dist/style/styled";
|
|
2
|
+
|
|
3
|
+
styled.css `
|
|
4
|
+
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
|
|
7
|
+
& > header {
|
|
8
|
+
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
& > section {
|
|
12
|
+
& [data-element=blog-item] {
|
|
13
|
+
margin: 10px;
|
|
14
|
+
border: solid 1px lightgray;
|
|
15
|
+
border-radius: 10px;
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-template-columns: 1fr auto auto;
|
|
18
|
+
grid-template-rows: auto 1fr auto;
|
|
19
|
+
|
|
20
|
+
background-color: gray;
|
|
21
|
+
|
|
22
|
+
& > h4 {
|
|
23
|
+
grid-row: 1;
|
|
24
|
+
grid-column: 1;
|
|
25
|
+
margin-block-start: 0;
|
|
26
|
+
margin-block-end: 0;
|
|
27
|
+
padding: 10px;
|
|
28
|
+
& > a {
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
color: white;
|
|
31
|
+
&:hover {
|
|
32
|
+
text-decoration: underline;
|
|
33
|
+
color: #73ff73;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
& > h5 {
|
|
39
|
+
grid-row: 1;
|
|
40
|
+
grid-column: 2;
|
|
41
|
+
margin-block-start: 0;
|
|
42
|
+
margin-block-end: 0;
|
|
43
|
+
padding: 10px;
|
|
44
|
+
}
|
|
45
|
+
& > h6 {
|
|
46
|
+
grid-row: 1;
|
|
47
|
+
grid-column: 3;
|
|
48
|
+
margin-block-start: 0;
|
|
49
|
+
margin-block-end: 0;
|
|
50
|
+
padding: 10px;
|
|
51
|
+
}
|
|
52
|
+
& > section {
|
|
53
|
+
padding: 10px;
|
|
54
|
+
grid-row: 2;
|
|
55
|
+
grid-column: 1 / span 3;
|
|
56
|
+
background-color: canvas;
|
|
57
|
+
}
|
|
58
|
+
& > footer {
|
|
59
|
+
padding: 10px;
|
|
60
|
+
grid-row: 3;
|
|
61
|
+
grid-column: 1/ span 3;
|
|
62
|
+
background-color: canvas;
|
|
63
|
+
border-bottom-left-radius: 10px;
|
|
64
|
+
border-bottom-right-radius: 10px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
`.installGlobal("[data-blog-list=blog-list]");
|
|
70
|
+
|
|
71
|
+
export const channelViewStyle = styled.css `
|
|
72
|
+
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
gap: 5px;
|
|
76
|
+
|
|
77
|
+
& > header, & > footer {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: row;
|
|
80
|
+
flex-wrap: wrap;
|
|
81
|
+
gap: 10px;
|
|
82
|
+
padding: 10px;
|
|
83
|
+
background: #FAFAFA;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (min-width: 900px) {
|
|
87
|
+
display: grid;
|
|
88
|
+
grid-template-columns: 1fr auto;
|
|
89
|
+
grid-template-rows: auto 1fr auto;
|
|
90
|
+
gap: 5px;
|
|
91
|
+
|
|
92
|
+
& > header {
|
|
93
|
+
grid-row: 1;
|
|
94
|
+
grid-column: 1 / span 2;
|
|
95
|
+
}
|
|
96
|
+
& > section {
|
|
97
|
+
grid-row: 2;
|
|
98
|
+
grid-column: 1;
|
|
99
|
+
}
|
|
100
|
+
& > aside {
|
|
101
|
+
grid-row: 2;
|
|
102
|
+
grid-column: 2;
|
|
103
|
+
}
|
|
104
|
+
& > footer {
|
|
105
|
+
grid-row: 3;
|
|
106
|
+
grid-column: 1 / span 2;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
`.installLocal();
|
|
@@ -9,29 +9,33 @@ import DateTime from "@web-atoms/date-time/dist/DateTime";
|
|
|
9
9
|
@DISingleton({})
|
|
10
10
|
export default class EmailContentDownloader extends TaskManager {
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
download(mce: IMailboxContactEmail) {
|
|
13
|
+
return this.downloadFromUrl(mce.htmlBodyUrl, mce.email);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
async downloadFromUrl(url: string, email: IEmail) {
|
|
13
17
|
|
|
14
18
|
const cache = await window.caches.open("email-content-cache");
|
|
15
19
|
|
|
16
|
-
const cacheKey = new URL(
|
|
20
|
+
const cacheKey = new URL(url, location.href);
|
|
17
21
|
|
|
18
22
|
const content = await cache.match(cacheKey);
|
|
19
23
|
|
|
20
24
|
if (content) {
|
|
21
|
-
return
|
|
25
|
+
return email.htmlBody = await content.text();
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
return await this.run(async () => {
|
|
25
29
|
|
|
26
30
|
for(let i = 0;i<3;i++) {
|
|
27
31
|
try {
|
|
28
|
-
const text = await FetchBuilder.get(
|
|
32
|
+
const text = await FetchBuilder.get(url).responseAsText();
|
|
29
33
|
await cache.put(cacheKey, new Response(text, {
|
|
30
34
|
headers: {
|
|
31
35
|
"cache-control": "public, max-age=86000"
|
|
32
36
|
}
|
|
33
37
|
}));
|
|
34
|
-
return
|
|
38
|
+
return email.htmlBody = text;
|
|
35
39
|
} catch (error){
|
|
36
40
|
// eslint-disable-next-line no-console
|
|
37
41
|
console.error(error);
|
|
@@ -3,6 +3,8 @@ import { Inject } from "@web-atoms/core/dist/di/Inject";
|
|
|
3
3
|
import EntityService from "../../../../services/EntityService";
|
|
4
4
|
import { Email, IEmail, IMailboxContact, Mailbox, MailboxContact } from "../../../../model/model";
|
|
5
5
|
import { Sql } from "../../../../common/Sql";
|
|
6
|
+
import EmailContentDownloader from "../../../../services/email/EmailContentDownloader";
|
|
7
|
+
import EngagementService from "../../mails/service/EngagementService";
|
|
6
8
|
|
|
7
9
|
@DITransient({})
|
|
8
10
|
export default class ChannelService {
|
|
@@ -10,6 +12,12 @@ export default class ChannelService {
|
|
|
10
12
|
@Inject
|
|
11
13
|
private entityService: EntityService;
|
|
12
14
|
|
|
15
|
+
@Inject
|
|
16
|
+
private emailContentDownloader: EmailContentDownloader;
|
|
17
|
+
|
|
18
|
+
@Inject
|
|
19
|
+
private engagementService: EngagementService;
|
|
20
|
+
|
|
13
21
|
public async getMails({
|
|
14
22
|
channelID,
|
|
15
23
|
published = true,
|
|
@@ -38,8 +46,15 @@ export default class ChannelService {
|
|
|
38
46
|
q = q.where({ search }, (p) => (x) => Sql.text.like(x.subject, p.search));
|
|
39
47
|
}
|
|
40
48
|
|
|
41
|
-
|
|
49
|
+
const result = await q.orderByDescending((x) => x.emailID)
|
|
42
50
|
.toPagedList({ start, size, cancelToken });
|
|
51
|
+
const tasks = [];
|
|
52
|
+
for (const iterator of result.items) {
|
|
53
|
+
tasks.push(this.emailContentDownloader.download(iterator));
|
|
54
|
+
tasks.push(this.engagementService.downloadEngagements(iterator));
|
|
55
|
+
}
|
|
56
|
+
await Promise.all(tasks);
|
|
57
|
+
return result;
|
|
43
58
|
}
|
|
44
59
|
|
|
45
60
|
public async getMailbox(id: number) {
|
|
@@ -28,7 +28,7 @@ import Separator from "@web-atoms/web-controls/dist/html-editor/commands/Separat
|
|
|
28
28
|
import Insert from "./Insert";
|
|
29
29
|
import TimeSpan from "@web-atoms/date-time/dist/TimeSpan";
|
|
30
30
|
import ToggleEmoji from "./ToggleEmoji";
|
|
31
|
-
import Attach from "./
|
|
31
|
+
import Attach from "./Attach";
|
|
32
32
|
import PopupService from "@web-atoms/core/dist/web/services/PopupService";
|
|
33
33
|
|
|
34
34
|
const css = styled.css `
|
|
@@ -68,6 +68,11 @@ const css = styled.css `
|
|
|
68
68
|
}
|
|
69
69
|
`.installLocal();
|
|
70
70
|
|
|
71
|
+
const defaultEmailBody = `<section style="background-color: white; color: black;">
|
|
72
|
+
<section contentEditable="true"> </br></section>
|
|
73
|
+
<footer data-social-mail-commands="emoji-bar"></footer>
|
|
74
|
+
</section>`;
|
|
75
|
+
|
|
71
76
|
export default class MiniComposeBox extends AtomControl {
|
|
72
77
|
|
|
73
78
|
public mailboxContact: IMailboxContact = null;
|
|
@@ -106,10 +111,7 @@ export default class MiniComposeBox extends AtomControl {
|
|
|
106
111
|
|
|
107
112
|
this.typedMessage = this.draft?.htmlBody
|
|
108
113
|
? this.draft.htmlBody
|
|
109
|
-
:
|
|
110
|
-
<section contentEditable="true"> </br></section>
|
|
111
|
-
<footer data-social-mail-commands="emoji-bar"></footer>
|
|
112
|
-
</section>`;
|
|
114
|
+
: defaultEmailBody;
|
|
113
115
|
|
|
114
116
|
this.render(<div>
|
|
115
117
|
<MailHtmlEditor
|
|
@@ -292,7 +294,7 @@ export default class MiniComposeBox extends AtomControl {
|
|
|
292
294
|
await this.mailService.send(this.draft);
|
|
293
295
|
this.draft = Email.create({
|
|
294
296
|
subject: "",
|
|
295
|
-
htmlBody:
|
|
297
|
+
htmlBody: defaultEmailBody,
|
|
296
298
|
attachments: []
|
|
297
299
|
});
|
|
298
300
|
this.editor.htmlContent = this.draft.htmlBody;
|
|
@@ -16,7 +16,7 @@ export default class EngagementService {
|
|
|
16
16
|
entityService: EntityService;
|
|
17
17
|
|
|
18
18
|
@Inject
|
|
19
|
-
|
|
19
|
+
emailContentDownloader: EmailContentDownloader;
|
|
20
20
|
|
|
21
21
|
async downloadEngagements(email: IEmail) {
|
|
22
22
|
|
|
@@ -61,7 +61,7 @@ export default class EngagementService {
|
|
|
61
61
|
{ start, size, cacheVersion , cacheSeconds }
|
|
62
62
|
);
|
|
63
63
|
|
|
64
|
-
await Promise.all(list.items.map((x) => this.
|
|
64
|
+
await Promise.all(list.items.map((x) => this.emailContentDownloader.download(x)));
|
|
65
65
|
|
|
66
66
|
return list;
|
|
67
67
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"channelViewStyle.d.ts","sourceRoot":"","sources":["../../../src/public/channel/channelViewStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,QAuCb,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
System.register(["@web-atoms/core/dist/style/styled"], function (_export, _context) {
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
var styled, channelViewStyle;
|
|
5
|
-
return {
|
|
6
|
-
setters: [function (_webAtomsCoreDistStyleStyled) {
|
|
7
|
-
styled = _webAtomsCoreDistStyleStyled.default;
|
|
8
|
-
}],
|
|
9
|
-
execute: function () {
|
|
10
|
-
_export("channelViewStyle", channelViewStyle = styled.css`
|
|
11
|
-
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
gap: 5px;
|
|
15
|
-
|
|
16
|
-
& > header, & > footer {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: row;
|
|
19
|
-
flex-wrap: wrap;
|
|
20
|
-
gap: 10px;
|
|
21
|
-
padding: 10px;
|
|
22
|
-
background: #FAFAFA;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@media (min-width: 900px) {
|
|
26
|
-
display: grid;
|
|
27
|
-
grid-template-columns: 1fr auto;
|
|
28
|
-
grid-template-rows: auto 1fr auto;
|
|
29
|
-
gap: 5px;
|
|
30
|
-
|
|
31
|
-
& > header {
|
|
32
|
-
grid-row: 1;
|
|
33
|
-
grid-column: 1 / span 2;
|
|
34
|
-
}
|
|
35
|
-
& > section {
|
|
36
|
-
grid-row: 2;
|
|
37
|
-
grid-column: 1;
|
|
38
|
-
}
|
|
39
|
-
& > aside {
|
|
40
|
-
grid-row: 2;
|
|
41
|
-
grid-column: 2;
|
|
42
|
-
}
|
|
43
|
-
& > footer {
|
|
44
|
-
grid-row: 3;
|
|
45
|
-
grid-column: 1 / span 2;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
`.installLocal());
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
});
|
|
53
|
-
//# sourceMappingURL=channelViewStyle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["styled","_webAtomsCoreDistStyleStyled","default","execute","_export","channelViewStyle","css","installLocal"],"sources":["../../../src/public/channel/channelViewStyle.ts"],"sourcesContent":[null],"mappings":";;;;;;MAAOA,MAAM,GAAAC,4BAAA,CAAAC,OAAA;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAAC,OAAA,qBAEAC,gBAAgB,GAAGL,MAAM,CAACM,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC1C,CAACC,YAAY,EAAE;IAAA;EAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Atttach.d.ts","sourceRoot":"","sources":["../../../../../src/web/page/mails/mini-compose/Atttach.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,SAAiD,EAAC;;CAAA,OA0DlF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Attach","alignment","XNode","create","PopupButton","class","icon","title","MenuItem","Object","assign","UploadEvent","AttachUploadAction","accept","multiple","extra","label","capture","_export","setters","_webAtomsCoreDistCoreXNode","default","_webAtomsWebControlsDistBasicPopupButton","_webAtomsWebControlsDistBasicUploadEvent","execute"],"sources":["../../../../../src/web/page/mails/mini-compose/Atttach.tsx"],"sourcesContent":[null],"mappings":";;;;EASc,SAAUA,MAAMA,CAAC;IAAEC,SAAS,GAAG;EAAqC,CAAC;IAC/E,OAAOC,KAAA,CAAAC,MAAA,CAACC,WAAW;MACfC,KAAK,EAAC,SAAS;MAAA,eACH,gBAAgB;MAC5BC,IAAI,EAAC,uBAAuB;MAC5BC,KAAK,EAAC,QAAQ;MACdN,SAAS,EAAEA;IAAS,GAChBC,KAAA,CAAAC,MAAA,CAACK,QAAQ,EAAAC,MAAA,CAAAC,MAAA,KACCC,WAAW,CAACC,kBAAkB,CAAC;MACjCC,MAAM,EAAE,SAAS;MACjBC,QAAQ,EAAE,IAAI;MACdC,KAAK,EAAE;KAEV,CAAC;MACFT,IAAI,EAAC,cAAc;MACnBU,KAAK,EAAC;IAAe,GACnB,EACNd,KAAA,CAAAC,MAAA,CAACK,QAAQ,EAAAC,MAAA,CAAAC,MAAA,KACCC,WAAW,CAACC,kBAAkB,CAAC;MACjCC,MAAM,EAAE,SAAS;MACjBI,OAAO,EAAE,MAAM;MACfF,KAAK,EAAE;KAEV,CAAC;MACFT,IAAI,EAAC,4BAA4B;MACjCU,KAAK,EAAC;IAAY,GAChB,EACNd,KAAA,CAAAC,MAAA,CAACK,QAAQ,EAAAC,MAAA,CAAAC,MAAA,KACCC,WAAW,CAACC,kBAAkB,CAAC;MACjCC,MAAM,EAAE,SAAS;MACjBC,QAAQ,EAAE,KAAK;MACfC,KAAK,EAAE;KAEV,CAAC;MACFT,IAAI,EAAC,mBAAmB;MACxBU,KAAK,EAAC;IAAc,GAClB,EACNd,KAAA,CAAAC,MAAA,CAACK,QAAQ,EAAAC,MAAA,CAAAC,MAAA,KACCC,WAAW,CAACC,kBAAkB,CAAC;MACjCC,MAAM,EAAE,SAAS;MACjBI,OAAO,EAAE,MAAM;MACfF,KAAK,EAAE;KAEV,CAAC;MACFT,IAAI,EAAC,0BAA0B;MAC/BU,KAAK,EAAC;IAAc,GAClB,EACNd,KAAA,CAAAC,MAAA,CAACK,QAAQ,EAAAC,MAAA,CAAAC,MAAA,KACCC,WAAW,CAACC,kBAAkB,CAAC;MACjCC,MAAM,EAAE,KAAK;MACbE,KAAK,EAAE;KAEV,CAAC;MACFT,IAAI,EAAC,oBAAoB;MACzBU,KAAK,EAAC,kBAAkB;MAAA,mBACR;IAAO,GACrB,CACI;EACtB;EAACE,OAAA,YA1DuBlB,MAAM;EAAA;IAAAmB,OAAA,aAAAC,0BAAA;MARvBlB,KAAK,GAAAkB,0BAAA,CAAAC,OAAA;IAAA,aAAAC,wCAAA;MAGLlB,WAAW,GAAAkB,wCAAA,CAAAD,OAAA;MAAIb,QAAQ,GAAAc,wCAAA,CAARd,QAAQ;IAAA,aAAAe,wCAAA;MACvBZ,WAAW,GAAAY,wCAAA,CAAAF,OAAA;IAAA;IAAAG,OAAA,WAAAA,CAAA;EAAA;AAAA"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import styled from "@web-atoms/core/dist/style/styled";
|
|
2
|
-
|
|
3
|
-
export const channelViewStyle = styled.css `
|
|
4
|
-
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
gap: 5px;
|
|
8
|
-
|
|
9
|
-
& > header, & > footer {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
flex-wrap: wrap;
|
|
13
|
-
gap: 10px;
|
|
14
|
-
padding: 10px;
|
|
15
|
-
background: #FAFAFA;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@media (min-width: 900px) {
|
|
19
|
-
display: grid;
|
|
20
|
-
grid-template-columns: 1fr auto;
|
|
21
|
-
grid-template-rows: auto 1fr auto;
|
|
22
|
-
gap: 5px;
|
|
23
|
-
|
|
24
|
-
& > header {
|
|
25
|
-
grid-row: 1;
|
|
26
|
-
grid-column: 1 / span 2;
|
|
27
|
-
}
|
|
28
|
-
& > section {
|
|
29
|
-
grid-row: 2;
|
|
30
|
-
grid-column: 1;
|
|
31
|
-
}
|
|
32
|
-
& > aside {
|
|
33
|
-
grid-row: 2;
|
|
34
|
-
grid-column: 2;
|
|
35
|
-
}
|
|
36
|
-
& > footer {
|
|
37
|
-
grid-row: 3;
|
|
38
|
-
grid-column: 1 / span 2;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
`.installLocal();
|
|
File without changes
|
|
File without changes
|