juice-email-cli 2.4.1 → 2.4.3

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.
@@ -0,0 +1,2 @@
1
+ name: "上新推广"
2
+ description: "上新推广,含产词云、品引用表格"
@@ -0,0 +1,2 @@
1
+ name: "标准上新"
2
+ description: "含词云、产品引用表格的标准上新推广布局"
@@ -0,0 +1,164 @@
1
+ # juice.yaml - 用户配置文件示例
2
+ #
3
+ # 放置位置(优先级从低到高):
4
+ # ~/juice.yaml ← 用户主目录,对所有项目生效
5
+ # <模板文件目录>/juice.yaml ← 仅对当前项目生效(推荐)
6
+ # juice -c <此文件> ← 命令行指定
7
+ #
8
+ # 所有配置项均与 CLI 内置默认值深度合并,未填写的字段自动使用内置值。
9
+ # 完整默认配置见:<CLI安装目录>/defaults/juice.yaml
10
+
11
+ # ─── 模板变量(Mustache 语法)────────────────────────────────────────────────
12
+ variables:
13
+ banner:
14
+ image: https://file.elabscience.com/edm/202605201608/banner.webp
15
+ link: http://www.elabscience.com/products/flow-cytometry-antibodies
16
+ keywords: We're excited to announce the launch of <strong class="color-red text-size-[20px]">66</strong> new flow cytometry antibodies, now available with 34 indicators and 35 clone numbers.
17
+
18
+ indicator:
19
+ title: Indicators
20
+ className: title
21
+ lists:
22
+ - text: CD14
23
+ color: "#D100DE"
24
+ link:
25
+ - text: TNFα
26
+ color: "#FF0207"
27
+ link: https://www.elabscience.com/search?keywords=TNF-%CE%B1
28
+ - text: CD195
29
+ color: "#000000"
30
+ link:
31
+ - text: CD25
32
+ color: "#00BF54"
33
+ link:
34
+ - text: TCR Vβ7.1
35
+ color: "#FF0207"
36
+ link:
37
+ - text: CD1d
38
+ color: "#000000"
39
+ link:
40
+ - text: Integrin β7
41
+ color: "#2A77FE"
42
+ link:
43
+ - text: CD2
44
+ color: "#FF0207"
45
+ link:
46
+ - text: CD8
47
+ color: "#FF7800"
48
+ link:
49
+ - text: HLA-A2,B7
50
+ color: "#B10202"
51
+ link:
52
+ - text: CD8a
53
+ color: "#FF7800"
54
+ link:
55
+ - text: CD123
56
+ color: "#2A77FE"
57
+ link: https://www.elabscience.com/search?keywords=CD123
58
+ - text: TCR Vβ1
59
+ color: "#B10202"
60
+ link:
61
+ - text: CD1b
62
+ color: "#00BF54"
63
+ link:
64
+ - text: CD272/BTLA
65
+ color: "#000000"
66
+ link: https://www.elabscience.com/search?keywords=CD272/BTLA
67
+ - text: CD151
68
+ color: "#BF37FA"
69
+ link:
70
+ - text: CD180
71
+ color: "#000000"
72
+ link:
73
+ - text: CD122
74
+ color: "#FF0000"
75
+ link:
76
+ - text: IL-10
77
+ color: "#00BF54"
78
+ link:
79
+ - text: ROR1
80
+ color: "#2A77FE"
81
+ link:
82
+ - text: CD90.2
83
+ color: "#FF0207"
84
+ link:
85
+ - text: FOXP3
86
+ color: "#FF7800"
87
+ link:
88
+ - text: FMC63
89
+ color: "#D100DE"
90
+ link:
91
+ - text: CD159a
92
+ color: "#B10202"
93
+ link:
94
+ - text: TNF-alpha
95
+ color: "#D100DE"
96
+ link:
97
+ - text: CD206
98
+ color: "#FF0207"
99
+ link:
100
+ - text: FcεRIα
101
+ color: "#000000"
102
+ link:
103
+ - text: IgD
104
+ color: "#00BF54"
105
+ link:
106
+ - text: CD3
107
+ color: "#FF0207"
108
+ link:
109
+ - text: CD200
110
+ color: "#000000"
111
+ link:
112
+ - text: CD68
113
+ color: "#2A77FE"
114
+ link:
115
+ - text: CD43
116
+ color: "#FF0207"
117
+ link:
118
+ - text: CD335
119
+ color: "#FF7800"
120
+ link:
121
+ - text: CD52
122
+ color: "#B10202"
123
+ link:
124
+ - text: ......
125
+ color: "#FF7805"
126
+ link:
127
+
128
+ antibodyOffer:
129
+ title: "Designed for Multicolor Panel Flexibility, These Antibodies Offer:"
130
+ className: title
131
+ itemClassName: circle
132
+ lists:
133
+ - More FCM experimental panel design options
134
+ - Lower background interference in FCM staining with optimized fluorescence coupling technique
135
+ - Good separation effect across multiple concentration gradientss
136
+
137
+ indicatorIntroduction:
138
+ title: New Indicators Introduction (Paticial)
139
+ className: title
140
+ itemClassName: gold-star
141
+ lists:
142
+ - "Immunotherapy for Hepatocellular Carcinoma Research: Human TCR Vβ7.1"
143
+ - "Autoimmune Diseases Research: Human TCR Vβ1"
144
+ - "Auxiliary Diagnosis of Tumors: Human CD151"
145
+
146
+ # ── 产品列表 ────────────────────────────────────────────────────────────────
147
+ # 使用 {{#productLists}}...{{/productLists}} 循环遍历
148
+ # {{#productLists}}{{name}}{{catNo}}{{/productLists}}
149
+ productLists:
150
+ - name: Human TCR Vβ7.1
151
+ image: https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605201608/Human TCR Vβ7.1.webp
152
+ link: https://www.elabscience.com/search?keywords=Human TCR V%CE%B27.1
153
+ buttonText: Learn More
154
+
155
+ - name: Human TCR Vβ1
156
+ image: https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605201608/Human TCR Vβ1.webp
157
+ link: https://www.elabscience.com/search?keywords=Human TCR V%CE%B21
158
+ buttonText: Learn More
159
+
160
+ - name: Human CD151
161
+ image: https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605201608/Human CD151.webp
162
+ link: https://www.elabscience.com/search?keywords=Human CD151
163
+ buttonText: Learn More
164
+ width: 20%
@@ -0,0 +1,175 @@
1
+ <tr>
2
+ <td colspan="4" class="image-box">
3
+ {{#banner.link}}
4
+ <a href="{{banner.link}}">
5
+ <img src="{{banner.image}}" />
6
+ </a>
7
+ {{/banner.link}}
8
+
9
+ {{^banner.link}}
10
+ <img src="{{banner.image}}" />
11
+ {{/banner.link}}
12
+ </td>
13
+ </tr>
14
+
15
+ <tr>
16
+ <td colspan="4" class="h-16"></td>
17
+ </tr>
18
+
19
+ <tr>
20
+ <td></td>
21
+ <td colspan="2">{{banner.keywords}}</td>
22
+ <td></td>
23
+ </tr>
24
+
25
+ <tr>
26
+ <td colspan="4" class="h-24"></td>
27
+ </tr>
28
+
29
+ <tr>
30
+ <td colspan="4">
31
+ <table cellspacing="0" cellpadding="0" border="0" class="bg-light-primary">
32
+ <colgroup>
33
+ <col width="10px" />
34
+ <col />
35
+ <col width="10px" />
36
+ </colgroup>
37
+
38
+ <tbody>
39
+ <tr>
40
+ <td></td>
41
+ <td class="pt-3">
42
+ <span class="{{indicator.className}}">{{indicator.title}}</span>
43
+ </td>
44
+ <td></td>
45
+ </tr>
46
+
47
+ <tr>
48
+ <td colspan="3" class="h-12"></td>
49
+ </tr>
50
+
51
+ <tr>
52
+ <td></td>
53
+ <td class="pb-5" style="padding-left: 6px; padding-right: 6px;">
54
+ {{#indicator.lists}}
55
+ <span class="word-cloud-item">
56
+ <a class="cursor-default" style="color: {{color}}" {{#link}}href="{{link}}"{{/link}}>{{text}}</a>
57
+ </span>
58
+ {{/indicator.lists}}
59
+ </td>
60
+ <td></td>
61
+ </tr>
62
+ </tbody>
63
+ </table>
64
+ </td>
65
+ </tr>
66
+
67
+ <tr>
68
+ <td colspan="4" class="h-24"></td>
69
+ </tr>
70
+
71
+ <tr>
72
+ <td></td>
73
+ <td colspan="2">
74
+ <table cellspacing="0" cellpadding="0" border="0">
75
+ <colgroup>
76
+ <col />
77
+ </colgroup>
78
+
79
+ <tbody class="align-middle">
80
+ <tr>
81
+ <td><span class="{{antibodyOffer.className}}">{{antibodyOffer.title}}</span></td>
82
+ </tr>
83
+
84
+ <tr>
85
+ <td class="h-12"></td>
86
+ </tr>
87
+
88
+ <tr>
89
+ <td>
90
+ {{#antibodyOffer.lists}}
91
+ <p class="pb-5 {{antibodyOffer.itemClassName}} color-primary">{{.}}</p>
92
+ {{/antibodyOffer.lists}}
93
+ </td>
94
+ </tr>
95
+ </tbody>
96
+ </table>
97
+ </td>
98
+ <td></td>
99
+ </tr>
100
+
101
+ <tr>
102
+ <td colspan="4" class="h-24"></td>
103
+ </tr>
104
+
105
+ <tr>
106
+ <td></td>
107
+ <td colspan="2">
108
+ <table cellspacing="0" cellpadding="0" border="0">
109
+ <colgroup>
110
+ <col />
111
+ </colgroup>
112
+
113
+ <tbody class="align-middle">
114
+ <tr>
115
+ <td><span class="{{indicatorIntroduction.className}}">{{indicatorIntroduction.title}}</span></td>
116
+ </tr>
117
+
118
+ <tr>
119
+ <td class="h-12"></td>
120
+ </tr>
121
+
122
+ <tr>
123
+ <td>
124
+ {{#indicatorIntroduction.lists}}
125
+ <p class="pb-5 {{indicatorIntroduction.itemClassName}} color-primary">{{.}}</p>
126
+ {{/indicatorIntroduction.lists}}
127
+ </td>
128
+ </tr>
129
+ </tbody>
130
+ </table>
131
+ </td>
132
+ <td></td>
133
+ </tr>
134
+
135
+ <tr>
136
+ <td colspan="4" class="h-16"></td>
137
+ </tr>
138
+
139
+ <tr>
140
+ <td></td>
141
+ <td colspan="2">
142
+ <table cellspacing="0" cellpadding="0" border="0" class="text-center">
143
+ <colgroup>
144
+ {{#productLists}}
145
+ <col {{#width}}width="{{width}}"{{/width}} />
146
+ {{/productLists}}
147
+ </colgroup>
148
+
149
+ <tbody>
150
+ <tr>
151
+ {{#productLists}}
152
+ <td class="image-box">
153
+ <img src="{{image}}" alt="{{name}}" />
154
+ </td>
155
+ {{/productLists}}
156
+ </tr>
157
+
158
+ <tr>
159
+ {{#productLists}}
160
+ <td>{{name}}</td>
161
+ {{/productLists}}
162
+ </tr>
163
+
164
+ <tr>
165
+ {{#productLists}}
166
+ <td class="pt-8">
167
+ <a href="{{link}}" class="button font-bold decoration-none" style="border-radius: 16px;">{{buttonText}}</a>
168
+ </td>
169
+ {{/productLists}}
170
+ </tr>
171
+ </tbody>
172
+ </table>
173
+ </td>
174
+ <td></td>
175
+ </tr>
@@ -800,8 +800,302 @@
800
800
  </td>
801
801
  </tr>
802
802
 
803
+ <tr>
804
+ <td colspan="4" class="h-24"></td>
805
+ </tr>
806
+
807
+ <tr>
808
+ <td colspan="4">
809
+ <table cellspacing="0" cellpadding="0" border="0" class="bg-light-primary">
810
+ <colgroup>
811
+ <col width="10px" />
812
+ <col />
813
+ <col width="10px" />
814
+ </colgroup>
815
+
816
+ <tbody>
817
+ <tr>
818
+ <td></td>
819
+ <td class="pt-3">
820
+ <span class="title">Indicators</span>
821
+ </td>
822
+ <td></td>
823
+ </tr>
824
+
825
+ <tr>
826
+ <td colspan="3" class="h-12"></td>
827
+ </tr>
828
+
829
+ <tr>
830
+ <td></td>
831
+ <td class="pb-5" style="padding-left: 6px; padding-right: 6px;">
832
+ <span class="word-cloud-item">
833
+ <a class="cursor-default" style="color: #d100de">CD14</a>
834
+ </span>
835
+
836
+ <span class="word-cloud-item">
837
+ <a class="cursor-default" style="color: #ff0207" href="https://www.elabscience.com/search?keywords=TNF-%CE%B1">TNFα</a>
838
+ </span>
839
+
840
+ <span class="word-cloud-item">
841
+ <a class="cursor-default" style="color: #000000">CD195</a>
842
+ </span>
843
+
844
+ <span class="word-cloud-item">
845
+ <a class="cursor-default" style="color: #00bf54">CD25</a>
846
+ </span>
847
+
848
+ <span class="word-cloud-item">
849
+ <a class="cursor-default" style="color: #ff0207">TCR Vβ7.1</a>
850
+ </span>
851
+
852
+ <span class="word-cloud-item">
853
+ <a class="cursor-default" style="color: #000000">CD1d</a>
854
+ </span>
855
+
856
+ <span class="word-cloud-item">
857
+ <a class="cursor-default" style="color: #2a77fe">Integrin β7</a>
858
+ </span>
859
+
860
+ <span class="word-cloud-item">
861
+ <a class="cursor-default" style="color: #ff0207">CD2</a>
862
+ </span>
863
+
864
+ <span class="word-cloud-item">
865
+ <a class="cursor-default" style="color: #ff7800">CD8</a>
866
+ </span>
867
+
868
+ <span class="word-cloud-item">
869
+ <a class="cursor-default" style="color: #b10202">HLA-A2,B7</a>
870
+ </span>
871
+
872
+ <span class="word-cloud-item">
873
+ <a class="cursor-default" style="color: #ff7800">CD8a</a>
874
+ </span>
875
+
876
+ <span class="word-cloud-item">
877
+ <a class="cursor-default" style="color: #2a77fe" href="https://www.elabscience.com/search?keywords=CD123">CD123</a>
878
+ </span>
879
+
880
+ <span class="word-cloud-item">
881
+ <a class="cursor-default" style="color: #b10202">TCR Vβ1</a>
882
+ </span>
883
+
884
+ <span class="word-cloud-item">
885
+ <a class="cursor-default" style="color: #00bf54">CD1b</a>
886
+ </span>
887
+
888
+ <span class="word-cloud-item">
889
+ <a class="cursor-default" style="color: #000000" href="https://www.elabscience.com/search?keywords=CD272/BTLA">CD272/BTLA</a>
890
+ </span>
891
+
892
+ <span class="word-cloud-item">
893
+ <a class="cursor-default" style="color: #bf37fa">CD151</a>
894
+ </span>
895
+
896
+ <span class="word-cloud-item">
897
+ <a class="cursor-default" style="color: #000000">CD180</a>
898
+ </span>
899
+
900
+ <span class="word-cloud-item">
901
+ <a class="cursor-default" style="color: #ff0000">CD122</a>
902
+ </span>
903
+
904
+ <span class="word-cloud-item">
905
+ <a class="cursor-default" style="color: #00bf54">IL-10</a>
906
+ </span>
907
+
908
+ <span class="word-cloud-item">
909
+ <a class="cursor-default" style="color: #2a77fe">ROR1</a>
910
+ </span>
911
+
912
+ <span class="word-cloud-item">
913
+ <a class="cursor-default" style="color: #ff0207">CD90.2</a>
914
+ </span>
915
+
916
+ <span class="word-cloud-item">
917
+ <a class="cursor-default" style="color: #ff7800">FOXP3</a>
918
+ </span>
919
+
920
+ <span class="word-cloud-item">
921
+ <a class="cursor-default" style="color: #d100de">FMC63</a>
922
+ </span>
923
+
924
+ <span class="word-cloud-item">
925
+ <a class="cursor-default" style="color: #b10202">CD159a</a>
926
+ </span>
927
+
928
+ <span class="word-cloud-item">
929
+ <a class="cursor-default" style="color: #d100de">TNF-alpha</a>
930
+ </span>
931
+
932
+ <span class="word-cloud-item">
933
+ <a class="cursor-default" style="color: #ff0207">CD206</a>
934
+ </span>
935
+
936
+ <span class="word-cloud-item">
937
+ <a class="cursor-default" style="color: #000000">FcεRIα</a>
938
+ </span>
939
+
940
+ <span class="word-cloud-item">
941
+ <a class="cursor-default" style="color: #00bf54">IgD</a>
942
+ </span>
943
+
944
+ <span class="word-cloud-item">
945
+ <a class="cursor-default" style="color: #ff0207">CD3</a>
946
+ </span>
947
+
948
+ <span class="word-cloud-item">
949
+ <a class="cursor-default" style="color: #000000">CD200</a>
950
+ </span>
951
+
952
+ <span class="word-cloud-item">
953
+ <a class="cursor-default" style="color: #2a77fe">CD68</a>
954
+ </span>
955
+
956
+ <span class="word-cloud-item">
957
+ <a class="cursor-default" style="color: #ff0207">CD43</a>
958
+ </span>
959
+
960
+ <span class="word-cloud-item">
961
+ <a class="cursor-default" style="color: #ff7800">CD335</a>
962
+ </span>
963
+
964
+ <span class="word-cloud-item">
965
+ <a class="cursor-default" style="color: #b10202">CD52 </a>
966
+ </span>
967
+
968
+ <span class="word-cloud-item">
969
+ <a class="cursor-default" style="color: #ff7805">......</a>
970
+ </span>
971
+ </td>
972
+ <td></td>
973
+ </tr>
974
+ </tbody>
975
+ </table>
976
+ </td>
977
+ </tr>
978
+
979
+ <tr>
980
+ <td colspan="4" class="h-24"></td>
981
+ </tr>
982
+
983
+ <tr>
984
+ <td></td>
985
+ <td colspan="2">
986
+ <table cellspacing="0" cellpadding="0" border="0">
987
+ <colgroup>
988
+ <col />
989
+ </colgroup>
990
+
991
+ <tbody class="align-middle">
992
+ <tr>
993
+ <td><span class="title">Designed for Multicolor Panel Flexibility, These Antibodies Offer:</span></td>
994
+ </tr>
995
+
996
+ <tr>
997
+ <td class="h-12"></td>
998
+ </tr>
999
+
1000
+ <tr>
1001
+ <td>
1002
+ <p class="pb-5 circle color-primary">More FCM experimental panel design options</p>
1003
+ <p class="pb-5 circle color-primary">Lower background interference in FCM staining with optimized fluorescence coupling technique</p>
1004
+ <p class="pb-5 circle color-primary">Good separation effect across multiple concentration gradientss</p>
1005
+ </td>
1006
+ </tr>
1007
+ </tbody>
1008
+ </table>
1009
+ </td>
1010
+ <td></td>
1011
+ </tr>
1012
+
1013
+ <tr>
1014
+ <td colspan="4" class="h-24"></td>
1015
+ </tr>
1016
+
1017
+ <tr>
1018
+ <td></td>
1019
+ <td colspan="2">
1020
+ <table cellspacing="0" cellpadding="0" border="0">
1021
+ <colgroup>
1022
+ <col />
1023
+ </colgroup>
1024
+
1025
+ <tbody class="align-middle">
1026
+ <tr>
1027
+ <td><span class="title">New Indicators Introduction (Paticial)</span></td>
1028
+ </tr>
1029
+
1030
+ <tr>
1031
+ <td class="h-12"></td>
1032
+ </tr>
1033
+
1034
+ <tr>
1035
+ <td>
1036
+ <p class="pb-5 gold-star color-primary">Immunotherapy for Hepatocellular Carcinoma Research: Human TCR Vβ7.1</p>
1037
+ <p class="pb-5 gold-star color-primary">Autoimmune Diseases Research: Human TCR Vβ1</p>
1038
+ <p class="pb-5 gold-star color-primary">Auxiliary Diagnosis of Tumors: Human CD151</p>
1039
+ </td>
1040
+ </tr>
1041
+ </tbody>
1042
+ </table>
1043
+ </td>
1044
+ <td></td>
1045
+ </tr>
1046
+
1047
+ <tr>
1048
+ <td colspan="4" class="h-16"></td>
1049
+ </tr>
1050
+
1051
+ <tr>
1052
+ <td></td>
1053
+ <td colspan="2">
1054
+ <table cellspacing="0" cellpadding="0" border="0" class="text-center">
1055
+ <colgroup>
1056
+ <col width="40%" />
1057
+ <col width="40%" />
1058
+ <col width="20%" />
1059
+ </colgroup>
1060
+
1061
+ <tbody>
1062
+ <tr>
1063
+ <td class="image-box">
1064
+ <img src="https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605201608/Human TCR Vβ7.1.webp" alt="Human TCR Vβ7.1" />
1065
+ </td>
1066
+ <td class="image-box">
1067
+ <img src="https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605201608/Human TCR Vβ1.webp" alt="Human TCR Vβ1" />
1068
+ </td>
1069
+ <td class="image-box">
1070
+ <img src="https://elabcomfile.oss-us-west-1.aliyuncs.com/edm/202605201608/Human CD151.webp" alt="Human CD151" />
1071
+ </td>
1072
+ </tr>
1073
+
1074
+ <tr>
1075
+ <td>Human TCR Vβ7.1</td>
1076
+ <td>Human TCR Vβ1</td>
1077
+ <td>Human CD151</td>
1078
+ </tr>
1079
+
1080
+ <tr>
1081
+ <td class="pt-8">
1082
+ <a href="https://www.elabscience.com/search?keywords=Human TCR V%CE%B27.1" class="button font-bold decoration-none" style="border-radius: 16px;">Learn More</a>
1083
+ </td>
1084
+ <td class="pt-8">
1085
+ <a href="https://www.elabscience.com/search?keywords=Human TCR V%CE%B21" class="button font-bold decoration-none" style="border-radius: 16px;">Learn More</a>
1086
+ </td>
1087
+ <td class="pt-8">
1088
+ <a href="https://www.elabscience.com/search?keywords=Human CD151" class="button font-bold decoration-none" style="border-radius: 16px;">Learn More</a>
1089
+ </td>
1090
+ </tr>
1091
+ </tbody>
1092
+ </table>
1093
+ </td>
1094
+ <td></td>
1095
+ </tr>
1096
+
803
1097
  <tr>
804
- <td colspan="4" class="h-16"></td>
1098
+ <td colspan="4" class="h-24"></td>
805
1099
  </tr>
806
1100
 
807
1101
  <tr>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juice-email-cli",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
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",