@social-mail/social-mail-client 1.2.366 → 1.2.368

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 (106) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +127 -471
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +115 -452
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/public/channel/ChannelView.pack.js +12 -9
  6. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  7. package/dist/public/channel/ChannelView.pack.min.js +1 -1
  8. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  9. package/dist/public/store/Store.pack.js +9 -6
  10. package/dist/public/store/Store.pack.js.map +1 -1
  11. package/dist/public/store/Store.pack.min.js +1 -1
  12. package/dist/public/store/Store.pack.min.js.map +1 -1
  13. package/dist/site-editor/blocks/Billboard.d.ts.map +1 -1
  14. package/dist/site-editor/blocks/Billboard.js +0 -37
  15. package/dist/site-editor/blocks/Billboard.js.map +1 -1
  16. package/dist/site-editor/blocks/Block.js +81 -0
  17. package/dist/site-editor/blocks/Block.js.map +1 -1
  18. package/dist/site-editor/blocks/Card.d.ts.map +1 -1
  19. package/dist/site-editor/blocks/Card.js +0 -37
  20. package/dist/site-editor/blocks/Card.js.map +1 -1
  21. package/dist/site-editor/blocks/Carousel.d.ts.map +1 -1
  22. package/dist/site-editor/blocks/Carousel.js +0 -20
  23. package/dist/site-editor/blocks/Carousel.js.map +1 -1
  24. package/dist/site-editor/blocks/ColumnBox.d.ts.map +1 -1
  25. package/dist/site-editor/blocks/ColumnBox.js +0 -18
  26. package/dist/site-editor/blocks/ColumnBox.js.map +1 -1
  27. package/dist/site-editor/blocks/Columns2.d.ts.map +1 -1
  28. package/dist/site-editor/blocks/Columns2.js +0 -19
  29. package/dist/site-editor/blocks/Columns2.js.map +1 -1
  30. package/dist/site-editor/blocks/Columns3.d.ts.map +1 -1
  31. package/dist/site-editor/blocks/Columns3.js +0 -19
  32. package/dist/site-editor/blocks/Columns3.js.map +1 -1
  33. package/dist/site-editor/blocks/ImageBox.d.ts.map +1 -1
  34. package/dist/site-editor/blocks/ImageBox.js +15 -28
  35. package/dist/site-editor/blocks/ImageBox.js.map +1 -1
  36. package/dist/site-editor/blocks/ImageCard.d.ts.map +1 -1
  37. package/dist/site-editor/blocks/ImageCard.js +0 -37
  38. package/dist/site-editor/blocks/ImageCard.js.map +1 -1
  39. package/dist/site-editor/blocks/ImageGallery.d.ts.map +1 -1
  40. package/dist/site-editor/blocks/ImageGallery.js +0 -20
  41. package/dist/site-editor/blocks/ImageGallery.js.map +1 -1
  42. package/dist/site-editor/blocks/InjectBox.d.ts.map +1 -1
  43. package/dist/site-editor/blocks/InjectBox.js +0 -20
  44. package/dist/site-editor/blocks/InjectBox.js.map +1 -1
  45. package/dist/site-editor/blocks/MarqueeText.d.ts.map +1 -1
  46. package/dist/site-editor/blocks/MarqueeText.js +2 -29
  47. package/dist/site-editor/blocks/MarqueeText.js.map +1 -1
  48. package/dist/site-editor/blocks/PDFFlipBook.d.ts.map +1 -1
  49. package/dist/site-editor/blocks/PDFFlipBook.js +2 -33
  50. package/dist/site-editor/blocks/PDFFlipBook.js.map +1 -1
  51. package/dist/site-editor/blocks/RightImageBox.d.ts.map +1 -1
  52. package/dist/site-editor/blocks/RightImageBox.js +15 -29
  53. package/dist/site-editor/blocks/RightImageBox.js.map +1 -1
  54. package/dist/site-editor/blocks/RowBox.d.ts.map +1 -1
  55. package/dist/site-editor/blocks/RowBox.js +0 -18
  56. package/dist/site-editor/blocks/RowBox.js.map +1 -1
  57. package/dist/site-editor/blocks/TextBox.d.ts.map +1 -1
  58. package/dist/site-editor/blocks/TextBox.js +0 -20
  59. package/dist/site-editor/blocks/TextBox.js.map +1 -1
  60. package/dist/site-editor/blocks/TextMask.d.ts.map +1 -1
  61. package/dist/site-editor/blocks/TextMask.js +0 -18
  62. package/dist/site-editor/blocks/TextMask.js.map +1 -1
  63. package/dist/site-editor/blocks/VerticalImageBox.d.ts.map +1 -1
  64. package/dist/site-editor/blocks/VerticalImageBox.js +0 -18
  65. package/dist/site-editor/blocks/VerticalImageBox.js.map +1 -1
  66. package/dist/site-editor/blocks/VideoPlayer.d.ts.map +1 -1
  67. package/dist/site-editor/blocks/VideoPlayer.js +0 -24
  68. package/dist/site-editor/blocks/VideoPlayer.js.map +1 -1
  69. package/dist/site-editor/blocks/WrapGrid.d.ts.map +1 -1
  70. package/dist/site-editor/blocks/WrapGrid.js +0 -18
  71. package/dist/site-editor/blocks/WrapGrid.js.map +1 -1
  72. package/dist/tsconfig.tsbuildinfo +1 -1
  73. package/dist/web/AppIndex.pack.js +127 -471
  74. package/dist/web/AppIndex.pack.js.map +1 -1
  75. package/dist/web/AppIndex.pack.min.js +115 -452
  76. package/dist/web/AppIndex.pack.min.js.map +1 -1
  77. package/dist/web/page/mails/service/ConversationService.js +3 -3
  78. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  79. package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.d.ts.map +1 -1
  80. package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.js +9 -6
  81. package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.js.map +1 -1
  82. package/node_modules/@web-atoms/web-controls/dist/tsconfig.tsbuildinfo +1 -1
  83. package/node_modules/@web-atoms/web-controls/package.json +1 -1
  84. package/node_modules/@web-atoms/web-controls/src/basic/AtomRepeater.tsx +9 -8
  85. package/package.json +2 -2
  86. package/src/site-editor/blocks/Billboard.tsx +0 -37
  87. package/src/site-editor/blocks/Block.tsx +82 -0
  88. package/src/site-editor/blocks/Card.tsx +0 -37
  89. package/src/site-editor/blocks/Carousel.tsx +0 -20
  90. package/src/site-editor/blocks/ColumnBox.tsx +0 -18
  91. package/src/site-editor/blocks/Columns2.tsx +0 -19
  92. package/src/site-editor/blocks/Columns3.tsx +0 -19
  93. package/src/site-editor/blocks/ImageBox.tsx +15 -28
  94. package/src/site-editor/blocks/ImageCard.tsx +0 -37
  95. package/src/site-editor/blocks/ImageGallery.tsx +0 -20
  96. package/src/site-editor/blocks/InjectBox.tsx +0 -20
  97. package/src/site-editor/blocks/MarqueeText.tsx +0 -26
  98. package/src/site-editor/blocks/PDFFlipBook.tsx +0 -28
  99. package/src/site-editor/blocks/RightImageBox.tsx +15 -29
  100. package/src/site-editor/blocks/RowBox.tsx +0 -18
  101. package/src/site-editor/blocks/TextBox.tsx +0 -20
  102. package/src/site-editor/blocks/TextMask.tsx +0 -18
  103. package/src/site-editor/blocks/VerticalImageBox.tsx +0 -18
  104. package/src/site-editor/blocks/VideoPlayer.tsx +0 -25
  105. package/src/site-editor/blocks/WrapGrid.tsx +0 -18
  106. package/src/web/page/mails/service/ConversationService.tsx +1 -1
@@ -33,43 +33,6 @@ StylerSets.register("low", styled.css `
33
33
  grid-column: 1;
34
34
  grid-row: 3;
35
35
  }
36
-
37
- & > section:empty:before {
38
- background-color: #ddd;
39
- color: #000;
40
- font-size: 16px;
41
- font-weight: bold;
42
- font-family: 'Courier New', Courier, monospace;
43
- height: 100%;
44
- display: flex;
45
- justify-items: center;
46
- align-items: center;
47
- min-height: 30px;
48
- opacity: 0.3;
49
- border-radius: 3px;
50
- white-space: nowrap;
51
- overflow: hidden;
52
- text-overflow: ellipsis;
53
- content: "Container";
54
- }
55
- & > h4:empty:before {
56
- background-color: #ddd;
57
- color: #000;
58
- font-size: 16px;
59
- font-weight: bold;
60
- font-family: 'Courier New', Courier, monospace;
61
- height: 100%;
62
- display: flex;
63
- justify-items: center;
64
- align-items: center;
65
- min-height: 30px;
66
- opacity: 0.3;
67
- border-radius: 3px;
68
- white-space: nowrap;
69
- overflow: hidden;
70
- text-overflow: ellipsis;
71
- content: "Title";
72
- }
73
36
  `.expand("[styler-layout=card]")
74
37
  );
75
38
 
@@ -18,26 +18,6 @@ StylerSets.register("low", styled.css `
18
18
 
19
19
  display: flex;
20
20
  flex-direction: row;
21
-
22
- & > *:empty:before {
23
- background-color: #ddd;
24
- color: #000;
25
- font-size: 16px;
26
- font-weight: bold;
27
- font-family: 'Courier New', Courier, monospace;
28
- height: 100%;
29
- display: flex;
30
- justify-items: center;
31
- align-items: center;
32
- min-height: 30px;
33
- opacity: 0.3;
34
- border-radius: 3px;
35
- white-space: nowrap;
36
- overflow: hidden;
37
- text-overflow: ellipsis;
38
- content: "Container";
39
-
40
- }
41
21
  `.expand("carousel-slider"));
42
22
 
43
23
  export const Carousel = Block({
@@ -19,24 +19,6 @@ StylerSets.register("low", styled.css `
19
19
  flex: 1 1 100%;
20
20
  }
21
21
 
22
- & > *:empty:before {
23
- background-color: #ddd;
24
- color: #000;
25
- font-size: 16px;
26
- font-weight: bold;
27
- font-family: 'Courier New', Courier, monospace;
28
- height: 100%;
29
- display: flex;
30
- justify-items: center;
31
- align-items: center;
32
- min-height: 30px;
33
- opacity: 0.3;
34
- border-radius: 3px;
35
- white-space: nowrap;
36
- overflow: hidden;
37
- text-overflow: ellipsis;
38
- content: "Container";
39
- }
40
22
  `.expand("[styler-layout=column]"));
41
23
 
42
24
 
@@ -33,25 +33,6 @@ StylerSets.register("low", styled.css `
33
33
  max-width: 50%;
34
34
  }
35
35
  }
36
- & > *:empty:before {
37
- background-color: #ddd;
38
- color: #000;
39
- font-size: 16px;
40
- font-weight: bold;
41
- font-family: 'Courier New', Courier, monospace;
42
- height: 100%;
43
- display: flex;
44
- justify-items: center;
45
- align-items: center;
46
- min-height: 30px;
47
- opacity: 0.3;
48
- border-radius: 3px;
49
- white-space: nowrap;
50
- overflow: hidden;
51
- text-overflow: ellipsis;
52
- content: "Container";
53
-
54
- }
55
36
  `.expand("[styler-layout=columns-2]")
56
37
  );
57
38
 
@@ -33,25 +33,6 @@ StylerSets.register("low", styled.css `
33
33
  max-width: 33%;
34
34
  }
35
35
  }
36
- & > *:empty:before {
37
- background-color: #ddd;
38
- color: #000;
39
- font-size: 16px;
40
- font-weight: bold;
41
- font-family: 'Courier New', Courier, monospace;
42
- height: 100%;
43
- display: flex;
44
- justify-items: center;
45
- align-items: center;
46
- min-height: 30px;
47
- opacity: 0.3;
48
- border-radius: 3px;
49
- white-space: nowrap;
50
- overflow: hidden;
51
- text-overflow: ellipsis;
52
- content: "Container";
53
-
54
- }
55
36
 
56
37
  `.expand("[styler-layout=columns-3]")
57
38
  );
@@ -23,17 +23,6 @@ StylerSets.register("low", styled.css `
23
23
  max-width: 100%;
24
24
  }
25
25
 
26
- @media (min-width: 600px) {
27
- & {
28
- flex-direction: row;
29
- }
30
- & > * {
31
- padding: ${stylerVars.sizeDefault};
32
- flex: 1 1 50%;
33
- max-width: 50%;
34
- }
35
- }
36
-
37
26
  & > img {
38
27
  align-self: stretch;
39
28
  border-radius: ${stylerVars.sizeLarge}
@@ -46,23 +35,21 @@ StylerSets.register("low", styled.css `
46
35
  }
47
36
  }
48
37
 
49
- & > *:empty:before {
50
- background-color: #ddd;
51
- color: #000;
52
- font-size: 16px;
53
- font-weight: bold;
54
- font-family: 'Courier New', Courier, monospace;
55
- height: 100%;
56
- display: flex;
57
- justify-items: center;
58
- align-items: center;
59
- min-height: 30px;
60
- opacity: 0.3;
61
- border-radius: 3px;
62
- white-space: nowrap;
63
- overflow: hidden;
64
- text-overflow: ellipsis;
65
- content: "Container";
38
+
39
+ @media (min-width: 600px) {
40
+ & {
41
+ flex-direction: row;
42
+ }
43
+
44
+ & > img {
45
+ align-self: center;
46
+ }
47
+
48
+ & > * {
49
+ padding: ${stylerVars.sizeDefault};
50
+ flex: 1 1 50%;
51
+ max-width: 50%;
52
+ }
66
53
  }
67
54
  `.expand("[styler-layout=image-box]")
68
55
  );
@@ -65,43 +65,6 @@ display: grid;
65
65
  grid-row: 2;
66
66
  }
67
67
  }
68
-
69
- & > section:empty:before {
70
- background-color: #ddd;
71
- color: #000;
72
- font-size: 16px;
73
- font-weight: bold;
74
- font-family: 'Courier New', Courier, monospace;
75
- height: 100%;
76
- display: flex;
77
- justify-items: center;
78
- align-items: center;
79
- min-height: 30px;
80
- opacity: 0.3;
81
- border-radius: 3px;
82
- white-space: nowrap;
83
- overflow: hidden;
84
- text-overflow: ellipsis;
85
- content: "Container";
86
- }
87
- & > h4:empty:before {
88
- background-color: #ddd;
89
- color: #000;
90
- font-size: 16px;
91
- font-weight: bold;
92
- font-family: 'Courier New', Courier, monospace;
93
- height: 100%;
94
- display: flex;
95
- justify-items: center;
96
- align-items: center;
97
- min-height: 30px;
98
- opacity: 0.3;
99
- border-radius: 3px;
100
- white-space: nowrap;
101
- overflow: hidden;
102
- text-overflow: ellipsis;
103
- content: "Title";
104
- }
105
68
  `.expand("[styler-layout=image-card]")
106
69
  );
107
70
 
@@ -19,26 +19,6 @@ StylerSets.register("low", styled.css `
19
19
  display: flex;
20
20
  flex-direction: row;
21
21
  flex-wrap: wrap;
22
-
23
- & > *:empty:before {
24
- background-color: #ddd;
25
- color: #000;
26
- font-size: 16px;
27
- font-weight: bold;
28
- font-family: 'Courier New', Courier, monospace;
29
- height: 100%;
30
- display: flex;
31
- justify-items: center;
32
- align-items: center;
33
- min-height: 30px;
34
- opacity: 0.3;
35
- border-radius: 3px;
36
- white-space: nowrap;
37
- overflow: hidden;
38
- text-overflow: ellipsis;
39
- content: "Container";
40
-
41
- }
42
22
  `.expand("image-gallery"));
43
23
 
44
24
  StylerSets.register("low", styled.css `
@@ -20,26 +20,6 @@ StylerSets.register("low", styled.css `
20
20
  user-select: none;
21
21
  pointer-events: none;
22
22
  }
23
-
24
- &:empty:before {
25
- background-color: #ddd;
26
- color: #000;
27
- font-size: 16px;
28
- font-weight: bold;
29
- font-family: 'Courier New', Courier, monospace;
30
- height: 100%;
31
- display: flex;
32
- justify-items: center;
33
- align-items: center;
34
- min-height: 30px;
35
- opacity: 0.3;
36
- border-radius: 3px;
37
- white-space: nowrap;
38
- overflow: hidden;
39
- text-overflow: ellipsis;
40
- content: "INJECT HTML";
41
- }
42
-
43
23
  }
44
24
  `.expand("body[editing]"));
45
25
 
@@ -2,32 +2,6 @@
2
2
 
3
3
  import XNode from "@web-atoms/core/dist/core/XNode";
4
4
  import { Block } from "./Block";
5
- import { StylerSets } from "../styler/StylerSets";
6
- import styled from "@web-atoms/core/dist/style/styled";
7
-
8
- StylerSets.register("low", styled.css `
9
-
10
-
11
- &:empty:before {
12
- background-color: #ddd;
13
- color: #000;
14
- font-size: 16px;
15
- font-weight: bold;
16
- font-family: 'Courier New', Courier, monospace;
17
- height: 100%;
18
- display: flex;
19
- justify-items: center;
20
- align-items: center;
21
- min-height: 30px;
22
- opacity: 0.3;
23
- border-radius: 3px;
24
- white-space: nowrap;
25
- overflow: hidden;
26
- text-overflow: ellipsis;
27
- content: "Marquee Text";
28
-
29
- }
30
- `.expand("marquee-text"));
31
5
 
32
6
  /* eslint-disable @typescript-eslint/no-namespace */
33
7
  declare global {
@@ -14,34 +14,6 @@ declare global {
14
14
  }
15
15
  }
16
16
 
17
- StylerSets.register("low", styled.css `
18
- & pdf-flip-book {
19
- & * {
20
- user-select: none;
21
- pointer-events: none;
22
- }
23
-
24
- &:empty:before {
25
- background-color: #ddd;
26
- color: #000;
27
- font-size: 16px;
28
- font-weight: bold;
29
- font-family: 'Courier New', Courier, monospace;
30
- height: 100%;
31
- display: flex;
32
- justify-items: center;
33
- align-items: center;
34
- min-height: 30px;
35
- opacity: 0.3;
36
- border-radius: 3px;
37
- white-space: nowrap;
38
- overflow: hidden;
39
- text-overflow: ellipsis;
40
- content: "PDF Book";
41
- }
42
- }
43
- `.expand("body[editing]"));
44
-
45
17
  export const PDFFlipBook = Block({
46
18
  className: "fad fa-grid-4",
47
19
  title: "Add Image Grid",
@@ -23,18 +23,6 @@ StylerSets.register("low", styled.css `
23
23
  max-width: 100%;
24
24
  }
25
25
 
26
- @media (min-width: 600px) {
27
- & {
28
- flex-direction: row-reverse;
29
- }
30
-
31
- & > * {
32
- padding: ${stylerVars.sizeDefault};
33
- flex: 1 1 50%;
34
- max-width: 50%;
35
- }
36
- }
37
-
38
26
  & > img {
39
27
  align-self: stretch;
40
28
  border-radius: ${stylerVars.sizeLarge}
@@ -47,24 +35,22 @@ StylerSets.register("low", styled.css `
47
35
  }
48
36
  }
49
37
 
50
- & > *:empty:before {
51
- background-color: #ddd;
52
- color: #000;
53
- font-size: 16px;
54
- font-weight: bold;
55
- font-family: 'Courier New', Courier, monospace;
56
- height: 100%;
57
- display: flex;
58
- justify-items: center;
59
- align-items: center;
60
- min-height: 30px;
61
- opacity: 0.3;
62
- border-radius: 3px;
63
- white-space: nowrap;
64
- overflow: hidden;
65
- text-overflow: ellipsis;
66
- content: "Container";
38
+ @media (min-width: 600px) {
39
+ & {
40
+ flex-direction: row-reverse;
41
+ }
42
+
43
+ & > img {
44
+ align-self: center;
45
+ }
46
+
47
+ & > * {
48
+ padding: ${stylerVars.sizeDefault};
49
+ flex: 1 1 50%;
50
+ max-width: 50%;
51
+ }
67
52
  }
53
+
68
54
  `.expand("[styler-layout=right-image-box]")
69
55
 
70
56
  );
@@ -28,24 +28,6 @@ StylerSets.register("low", styled.css `
28
28
  flex-wrap: nowrap;
29
29
  }
30
30
  }
31
- & > *:empty:before {
32
- background-color: #ddd;
33
- color: #000;
34
- font-size: 16px;
35
- font-weight: bold;
36
- font-family: 'Courier New', Courier, monospace;
37
- height: 100%;
38
- display: flex;
39
- justify-items: center;
40
- align-items: center;
41
- min-height: 30px;
42
- opacity: 0.3;
43
- border-radius: 3px;
44
- white-space: nowrap;
45
- overflow: hidden;
46
- text-overflow: ellipsis;
47
- content: "Container";
48
- }
49
31
  `.expand("[styler-layout=row]")
50
32
  );
51
33
 
@@ -15,26 +15,6 @@ StylerSets.register("low", styled.css `
15
15
  border-radius: ${stylerVars.sizeDefault};
16
16
  justify-items: center;
17
17
  align-items: stretch;
18
-
19
- & > p:empty:before {
20
- background-color: #ddd;
21
- color: #000;
22
- font-size: 16px;
23
- font-weight: bold;
24
- font-family: 'Courier New', Courier, monospace;
25
- height: 100%;
26
- display: flex;
27
- justify-items: center;
28
- align-items: center;
29
- min-height: 30px;
30
- opacity: 0.3;
31
- border-radius: 3px;
32
- white-space: nowrap;
33
- overflow: hidden;
34
- text-overflow: ellipsis;
35
- content: "Container";
36
-
37
- }
38
18
  `.expand("[styler-layout=text-box]")
39
19
 
40
20
  );
@@ -5,24 +5,6 @@ import { StylerSets } from "../styler/StylerSets";
5
5
 
6
6
  StylerSets.register("low", styled.css `
7
7
  &:empty:before {
8
- padding: 10px;
9
- background-color: #ddd;
10
- color: #000;
11
- font-size: 16px;
12
- font-weight: bold;
13
- font-family: 'Courier New', Courier, monospace;
14
- height: 100%;
15
- min-height: 100px;
16
- display: flex;
17
- justify-items: center;
18
- align-items: center;
19
- opacity: 0.3;
20
- border-radius: 3px;
21
- white-space: nowrap;
22
- overflow: hidden;
23
- text-align: center;
24
- vertical-align: middle;
25
- text-overflow: ellipsis;
26
8
  content: "Text Mask";
27
9
  }
28
10
  `.expand("body[editing] [styler-background-clip=text]"));
@@ -34,24 +34,6 @@ StylerSets.register("low", styled.css `
34
34
  }
35
35
  }
36
36
 
37
- & > *:empty:before {
38
- background-color: #ddd;
39
- color: #000;
40
- font-size: 16px;
41
- font-weight: bold;
42
- font-family: 'Courier New', Courier, monospace;
43
- height: 100%;
44
- display: flex;
45
- justify-items: center;
46
- align-items: center;
47
- min-height: 30px;
48
- opacity: 0.3;
49
- border-radius: 3px;
50
- white-space: nowrap;
51
- overflow: hidden;
52
- text-overflow: ellipsis;
53
- content: "Container";
54
- }
55
37
  `.expand("[styler-layout=vertical-image-box]")
56
38
 
57
39
  );
@@ -6,31 +6,6 @@ import { defaultImageSrc } from "./defaultImage";
6
6
  import styled from "@web-atoms/core/dist/style/styled";
7
7
  import { StylerSets } from "../styler/StylerSets";
8
8
 
9
- StylerSets.register("low", styled.css `
10
-
11
-
12
- & > *:empty:before {
13
- background-color: #ddd;
14
- color: #000;
15
- font-size: 16px;
16
- font-weight: bold;
17
- font-family: 'Courier New', Courier, monospace;
18
- height: 100%;
19
- min-height: 100px;
20
- display: flex;
21
- justify-items: center;
22
- align-items: center;
23
- min-height: 30px;
24
- opacity: 0.3;
25
- border-radius: 3px;
26
- white-space: nowrap;
27
- overflow: hidden;
28
- text-overflow: ellipsis;
29
- content: "Video Player";
30
-
31
- }
32
- `.expand("video-player"));
33
-
34
9
  StylerSets.register("low", styled.css `
35
10
 
36
11
  display: flex;
@@ -12,24 +12,6 @@ StylerSets.register("low", styled.css `
12
12
  padding: ${stylerVars.sizeDefault};
13
13
  margin: ${stylerVars.sizeDefault};
14
14
  border-radius: ${stylerVars.sizeDefault};
15
- &:empty:before {
16
- background-color: #ddd;
17
- color: #000;
18
- font-size: 16px;
19
- font-weight: bold;
20
- font-family: 'Courier New', Courier, monospace;
21
- height: 100%;
22
- display: flex;
23
- justify-items: center;
24
- align-items: center;
25
- min-height: 30px;
26
- opacity: 0.3;
27
- border-radius: 3px;
28
- white-space: nowrap;
29
- overflow: hidden;
30
- text-overflow: ellipsis;
31
- content: "Container";
32
- }
33
15
  `.expand("[styler-layout=wrap-list]")
34
16
  );
35
17
 
@@ -49,7 +49,7 @@ export const renderMail = AtomControl.registerProperty("data-html", "html", (c,
49
49
  if (src) {
50
50
  if (src.startsWith("cid:")) {
51
51
  cid = src.substring(4);
52
- const a = mail.attachments.find((x) => x.contentID === cid);
52
+ const a = mail.attachments?.find((x) => x.contentID === cid);
53
53
  if (a) {
54
54
  iterator.setAttribute("src", apiPath(`/api/files/${a.appFileID}/${a.fileContentID}/${a.name}`));
55
55
  }