juice-email-cli 2.4.17 → 2.4.19

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.
@@ -21,6 +21,7 @@ variables:
21
21
  keywords: Immune Thrombocytopenia (ITP), Nicotinamide Mononucleotide (NMN), CD38-NAD<sup>+</sup> Axis
22
22
 
23
23
  information:
24
+ isHorizontal: false
24
25
  image:
25
26
  - https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605211020/information.webp
26
27
  content: "This study identifies the CD38-NAD<sup>+</sup> axis as an immunometabolic checkpoint in ITP. Anti-CD38 antibodies deplete NAD<sup>+</sup>, driving M1 macrophages and FcγRI upregulation, which increases platelet phagocytosis. Restoring NAD<sup>+</sup> via CD38 inhibition or NMN reprograms macrophages to a resting state and blocks platelet destruction without affecting humoral immunity. In 25 refractory ITP patients, low-dose NMN (450 mg bid × 2 weeks) was well tolerated: 20% achieved platelets ≥50×10<sup>9</sup>/L, and 52% maintained response at week 8, with stable immunoglobulin levels. Thus, targeting CD38-NAD<sup>+</sup> metabolism offers a non-antibody-depleting therapeutic strategy."
@@ -31,6 +32,7 @@ variables:
31
32
  # ── 产品列表 ────────────────────────────────────────────────────────────────
32
33
  # 使用 {{#productLists}}...{{/productLists}} 循环遍历
33
34
  # {{#productLists}}{{name}}{{catNo}}{{/productLists}}
35
+ productTitle: Elabscience<sup>&reg;</sup> Product Cited in This Literature
34
36
  productLists:
35
37
  - name: Human NOS2/iNOS(Nitric Oxide Synthase 2, Inducible) ELISA Kit
36
38
  catNo: E-EL-H0753
@@ -52,36 +52,43 @@
52
52
  <td colspan="2">
53
53
  <table cellspacing="0" cellpadding="0" border="0" class="table-dashed border-separate" style="padding: 16px;">
54
54
  <colgroup>
55
+ {{^information.isHorizontal}}
55
56
  <col width="40%" />
57
+ {{/information.isHorizontal}}
56
58
  <col />
57
59
  </colgroup>
58
60
 
59
61
  <tbody class="align-top">
60
62
  <tr>
61
- <td colspan="2"></td>
63
+ <td {{^information.isHorizontal}}colspan="2"{{/information.isHorizontal}}></td>
62
64
  </tr>
63
65
 
64
66
  <tr>
65
- <td rowspan="2" style="padding-right: 12px;" class="image-box align-middle">
67
+ <td {{^information.isHorizontal}}rowspan="2"{{/information.isHorizontal}} {{^information.isHorizontal}}style="padding-right: 12px;"{{/information.isHorizontal}} class="image-box align-middle {{#information.isHorizontal}}pb-12{{/information.isHorizontal}}">
66
68
  {{#information.image}}
67
69
  <img src="{{.}}" />
68
70
  {{/information.image}}
69
71
  </td>
72
+ {{#information.isHorizontal}}
73
+ </tr>
74
+
75
+ <tr>
76
+ {{/information.isHorizontal}}
70
77
  <td class="h-0 {{#information.link}}pb-24{{/information.link}}">
71
78
  <p>{{information.content}}</p>
72
79
  </td>
73
80
  </tr>
74
81
 
82
+ {{#information.link}}
75
83
  <tr>
76
- <td>
77
- {{#information.link}}
84
+ <td class="{{#information.isHorizontal}}text-center{{/information.isHorizontal}}">
78
85
  <a href="{{information.link}}" class="button decoration-none">{{information.buttonText}}</a>
79
- {{/information.link}}
80
86
  </td>
81
87
  </tr>
88
+ {{/information.link}}
82
89
 
83
90
  <tr>
84
- <td colspan="2"></td>
91
+ <td {{^information.isHorizontal}}colspan="2"{{/information.isHorizontal}}></td>
85
92
  </tr>
86
93
  </tbody>
87
94
  </table>
@@ -106,7 +113,7 @@
106
113
  <tr>
107
114
  <td></td>
108
115
  <td colspan="2">
109
- <span class="square-title">Elabscience<sup>&reg;</sup> Product Cited in This Literature</span>
116
+ <span class="square-title">{{productTitle}}</span>
110
117
  </td>
111
118
  <td></td>
112
119
  </tr>
@@ -126,7 +133,7 @@
126
133
 
127
134
  <tbody>
128
135
  <tr>
129
- <td>Product</td>
136
+ <td>Product Name</td>
130
137
  <td>Cat. No.</td>
131
138
  </tr>
132
139
 
@@ -18,6 +18,7 @@ variables:
18
18
  indicator:
19
19
  title: Indicators
20
20
  className: title
21
+ needCondensed: false
21
22
  lists:
22
23
  - text: CD14
23
24
  color: "#D100DE"
@@ -146,6 +147,7 @@ variables:
146
147
  # ── 产品列表 ────────────────────────────────────────────────────────────────
147
148
  # 使用 {{#productLists}}...{{/productLists}} 循环遍历
148
149
  # {{#productLists}}{{name}}{{catNo}}{{/productLists}}
150
+ isGridProduct: false
149
151
  productLists:
150
152
  - name: Human TCR Vβ7.1
151
153
  image: https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605201608/Human TCR Vβ7.1.webp
@@ -44,13 +44,15 @@
44
44
  <td></td>
45
45
  </tr>
46
46
 
47
+ {{^indicator.needCondensed}}
47
48
  <tr>
48
49
  <td colspan="3" class="h-12"></td>
49
50
  </tr>
51
+ {{/indicator.needCondensed}}
50
52
 
51
53
  <tr>
52
54
  <td></td>
53
- <td class="pb-5" style="padding-left: 6px; padding-right: 6px;">
55
+ <td class="pb-5" {{^indicator.needCondensed}}style="padding-left: 6px; padding-right: 6px;"{{/indicator.needCondensed}}>
54
56
  {{#indicator.lists}}
55
57
  <span class="word-cloud-item">
56
58
  <a class="cursor-default" style="color: {{color}}" {{#link}}href="{{link}}"{{/link}}>{{text}}</a>
@@ -132,13 +134,39 @@
132
134
  <td></td>
133
135
  </tr>
134
136
 
137
+ {{^isGridProduct}}
135
138
  <tr>
136
139
  <td colspan="4" class="h-16"></td>
137
140
  </tr>
141
+ {{/isGridProduct}}
138
142
 
139
143
  <tr>
140
144
  <td></td>
141
145
  <td colspan="2">
146
+ {{#isGridProduct}}
147
+ <table cellspacing="0" cellpadding="0" border="0" class="text-center">
148
+ <colgroup>
149
+ <col />
150
+ <col />
151
+ </colgroup>
152
+
153
+ <tbody>
154
+ {{#productLists}}
155
+ <tr>
156
+ {{#.}}
157
+ <td class="pt-24">
158
+ <p class="image-box"><img src="{{image}}" alt="{{name}}" /></p>
159
+ <p class="pt-8">{{name}}</p>
160
+ <p class="pt-12"><a href="{{link}}" class="button font-bold decoration-none" style="border-radius: 16px;">{{buttonText}}</a></p>
161
+ </td>
162
+ {{/.}}
163
+ </tr>
164
+ {{/productLists}}
165
+ </tbody>
166
+ </table>
167
+ {{/isGridProduct}}
168
+
169
+ {{^isGridProduct}}
142
170
  <table cellspacing="0" cellpadding="0" border="0" class="text-center">
143
171
  <colgroup>
144
172
  {{#productLists}}
@@ -170,6 +198,7 @@
170
198
  </tr>
171
199
  </tbody>
172
200
  </table>
201
+ {{/isGridProduct}}
173
202
  </td>
174
203
  <td></td>
175
204
  </tr>
@@ -314,6 +314,14 @@
314
314
  background: url(https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605251428/finger-icon.webp) 0 5px / 18px 16px no-repeat scroll;
315
315
  }
316
316
 
317
+ .square {
318
+ padding-left: 28px;
319
+ background: url(https://file.elabscience.com/edm/202606261518/square-blue.webp) 0 5px / 16px 16px no-repeat scroll;
320
+ }
321
+
322
+ .square.orange {
323
+ background-image: url(https://file.elabscience.com/edm/202606261518/square-orange.webp);
324
+ }
317
325
 
318
326
  .image-box {
319
327
  line-height: 0;
@@ -21,6 +21,7 @@ variables:
21
21
  keywords: Immune Thrombocytopenia (ITP), Nicotinamide Mononucleotide (NMN), CD38-NAD<sup>+</sup> Axis
22
22
 
23
23
  information:
24
+ isHorizontal: false
24
25
  image:
25
26
  - https://pri-cella.oss-ap-southeast-1.aliyuncs.com/edm/202604211419/information.webp
26
27
  content: "This study identifies the CD38-NAD<sup>+</sup> axis as an immunometabolic checkpoint in ITP. Anti-CD38 antibodies deplete NAD<sup>+</sup>, driving M1 macrophages and FcγRI upregulation, which increases platelet phagocytosis. Restoring NAD<sup>+</sup> via CD38 inhibition or NMN reprograms macrophages to a resting state and blocks platelet destruction without affecting humoral immunity. In 25 refractory ITP patients, low-dose NMN (450 mg bid × 2 weeks) was well tolerated: 20% achieved platelets ≥50×10<sup>9</sup>/L, and 52% maintained response at week 8, with stable immunoglobulin levels. Thus, targeting CD38-NAD<sup>+</sup> metabolism offers a non-antibody-depleting therapeutic strategy."
@@ -52,36 +52,43 @@
52
52
  <td colspan="2">
53
53
  <table cellspacing="0" cellpadding="0" border="0" class="table-dashed border-separate" style="padding: 16px;">
54
54
  <colgroup>
55
+ {{^information.isHorizontal}}
55
56
  <col width="40%" />
57
+ {{/information.isHorizontal}}
56
58
  <col />
57
59
  </colgroup>
58
60
 
59
61
  <tbody class="align-top">
60
62
  <tr>
61
- <td colspan="2"></td>
63
+ <td {{^information.isHorizontal}}colspan="2"{{/information.isHorizontal}}></td>
62
64
  </tr>
63
65
 
64
66
  <tr>
65
- <td rowspan="2" style="padding-right: 12px;" class="image-box align-middle">
67
+ <td {{^information.isHorizontal}}rowspan="2"{{/information.isHorizontal}} {{^information.isHorizontal}}style="padding-right: 12px;"{{/information.isHorizontal}} class="image-box align-middle {{#information.isHorizontal}}pb-12{{/information.isHorizontal}}">
66
68
  {{#information.image}}
67
69
  <img src="{{.}}" />
68
70
  {{/information.image}}
69
71
  </td>
72
+ {{#information.isHorizontal}}
73
+ </tr>
74
+
75
+ <tr>
76
+ {{/information.isHorizontal}}
70
77
  <td class="h-0 {{#information.link}}pb-24{{/information.link}}">
71
78
  <p>{{information.content}}</p>
72
79
  </td>
73
80
  </tr>
74
81
 
82
+ {{#information.link}}
75
83
  <tr>
76
- <td>
77
- {{#information.link}}
84
+ <td class="{{#information.isHorizontal}}text-center{{/information.isHorizontal}}">
78
85
  <a href="{{information.link}}" class="button decoration-none">{{information.buttonText}}</a>
79
- {{/information.link}}
80
86
  </td>
81
87
  </tr>
88
+ {{/information.link}}
82
89
 
83
90
  <tr>
84
- <td colspan="2"></td>
91
+ <td {{^information.isHorizontal}}colspan="2"{{/information.isHorizontal}}></td>
85
92
  </tr>
86
93
  </tbody>
87
94
  </table>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juice-email-cli",
3
- "version": "2.4.17",
3
+ "version": "2.4.19",
4
4
  "type": "module",
5
5
  "description": "CLI tool to generate email-client-compatible HTML with juice (CSS inlining) + Mustache templating + minification",
6
6
  "main": "src/index.js",