@capillarytech/creatives-library 3.9.12 → 3.9.21
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/assets/IPad.js +23 -0
- package/assets/index.js +1 -0
- package/components/TemplatePreview/assets/images/HomeScreenAndroid.js +53 -0
- package/components/TemplatePreview/assets/images/SmsMobileAndroid.js +52 -0
- package/components/TemplatePreview/assets/images/SmsMobileIos.js +71 -0
- package/components/TemplatePreview/assets/images/UserIcon.js +24 -0
- package/components/TemplatePreview/assets/images/WechatMobileAndroid.js +53 -0
- package/containers/Cap/index.js +1 -0
- package/package.json +1 -1
- package/v2Components/MobilePushPreviewV2/index.js +4 -4
- package/v2Components/TemplatePreview/assets/images/HomeScreenAndroid.js +53 -0
- package/v2Components/TemplatePreview/assets/images/SmsMobileAndroid.js +52 -0
- package/v2Components/TemplatePreview/assets/images/UserIcon.js +24 -0
- package/v2Components/TemplatePreview/assets/images/WECHAT_5x.png +0 -0
- package/v2Components/TemplatePreview/assets/images/WechatHomeScreenAndroid.js +74 -0
- package/v2Components/TemplatePreview/assets/images/WechatMobileAndroid.js +53 -0
- package/v2Components/TemplatePreview/index.js +3 -0
- package/v2Containers/Assets/Gallery/index.js +14 -20
- package/v2Containers/Assets/images/CalltaskIllustration.js +71 -0
- package/v2Containers/Assets/images/EmailIllustration.js +87 -0
- package/v2Containers/Assets/images/ImageGalleryIllustration.js +60 -0
- package/v2Containers/Assets/images/PushIllustration.js +60 -0
- package/v2Containers/Assets/images/SmsIllustration.js +191 -0
- package/v2Containers/Assets/images/WechatIllustration.js +90 -0
- package/v2Containers/Assets/images/index.js +6 -0
- package/v2Containers/Email/reducer.js +1 -0
- package/v2Containers/WeChat/MapTemplates/index.js +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
|
|
3
|
+
function SvgWechatIllustration(props) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
id="wechatIllustration_svg__Layer_1"
|
|
7
|
+
data-name="Layer 1"
|
|
8
|
+
viewBox="0 0 152 152"
|
|
9
|
+
width="1em"
|
|
10
|
+
height="1em"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<defs>
|
|
15
|
+
<style>
|
|
16
|
+
{
|
|
17
|
+
".wechatIllustration_svg__cls-1{fill:#fec52e}.wechatIllustration_svg__cls-2{fill:#e51fa3}.wechatIllustration_svg__cls-3{fill:#fff}"
|
|
18
|
+
}
|
|
19
|
+
</style>
|
|
20
|
+
</defs>
|
|
21
|
+
<path
|
|
22
|
+
className="wechatIllustration_svg__cls-1"
|
|
23
|
+
d="M49.48 124.86c-3.91 1.45-7.49 10.6 2.47 14 0 0 10.89 3 12.55-3.42 1.28-4.92-9.6-12.62-15.02-10.58zM74.38 137c-1.24-.63-4.68-.84-3.35 3.63 0 0 .82 3.53 4.4 1.54s.19-4.55-1.05-5.17zM138.38 85.11v-.4C137 66.19 130.17 47 118.31 32.27c-.31-.41-.64-.81-1-1.2a72.25 72.25 0 00-11.12-10.79C95.52 12 84.4 8 73.47 7.15c-22.4-1.63-44 10.28-59.32 26.56-.26.27-.49.54-.74.82a70.68 70.68 0 0014.07-1.71c13.57-3.39 15.27-5.55 28.8-2.24C74.37 35 75.53 43 75.83 46.92a12.65 12.65 0 01-1.1 6.95c-1.64 3.61-.34 7.38-1.14 9.06-1.11 2.31-3.47-3.85-5.77-4.12-2.74-.33-7.5-6.78-10.76-6.28C45.9 54.21 82.33 80 64.63 98.63c-6.72 7.07-8.85 5.31-25.83 6.37-2.7.17-4.82 1.43-7 3 6.91 4 14.24 8 21.37 11.76a182.49 182.49 0 0125.63 17.1 37.34 37.34 0 009.62 5.59c9.5 3.7 26.39 6.31 39.72-13.06l.16-.24c7.95-11.75 11.18-27.62 10.08-44.04z"
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
className="wechatIllustration_svg__cls-2"
|
|
27
|
+
d="M92.72 117.83l2.29 2.39-.13-3.34-2.16.95zM70.31 107.9l-1.43 2.98 3.08-1.28-1.65-1.7z"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
className="wechatIllustration_svg__cls-3"
|
|
31
|
+
d="M72.1 102.33l-1.22 2.27 2.55-1.65-1.33-.62z"
|
|
32
|
+
/>
|
|
33
|
+
<ellipse
|
|
34
|
+
className="wechatIllustration_svg__cls-2"
|
|
35
|
+
cx={87.46}
|
|
36
|
+
cy={110.73}
|
|
37
|
+
rx={11.89}
|
|
38
|
+
ry={8.85}
|
|
39
|
+
transform="rotate(-4.99 87.493 110.731)"
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
className="wechatIllustration_svg__cls-2"
|
|
43
|
+
d="M85.24 100.18a11.47 11.47 0 016.22.83c-.77-4.84-6.2-8.26-12.45-7.72-6.47.57-11.35 5.17-10.91 10.28.29 3.35 2.8 6.07 6.31 7.4 0-.17-.06-.34-.08-.51-.44-5.11 5.16-9.15 10.91-10.28z"
|
|
44
|
+
/>
|
|
45
|
+
<ellipse
|
|
46
|
+
className="wechatIllustration_svg__cls-1"
|
|
47
|
+
cx={74.53}
|
|
48
|
+
cy={100.1}
|
|
49
|
+
rx={1.19}
|
|
50
|
+
ry={0.96}
|
|
51
|
+
transform="rotate(-4.99 74.508 100.048)"
|
|
52
|
+
/>
|
|
53
|
+
<ellipse
|
|
54
|
+
className="wechatIllustration_svg__cls-1"
|
|
55
|
+
cx={79.4}
|
|
56
|
+
cy={99.67}
|
|
57
|
+
rx={1.19}
|
|
58
|
+
ry={0.96}
|
|
59
|
+
transform="rotate(-4.99 79.352 99.685)"
|
|
60
|
+
/>
|
|
61
|
+
<ellipse
|
|
62
|
+
className="wechatIllustration_svg__cls-1"
|
|
63
|
+
cx={81}
|
|
64
|
+
cy={108.21}
|
|
65
|
+
rx={1.19}
|
|
66
|
+
ry={0.96}
|
|
67
|
+
transform="rotate(-4.99 81.047 108.266)"
|
|
68
|
+
/>
|
|
69
|
+
<ellipse
|
|
70
|
+
className="wechatIllustration_svg__cls-1"
|
|
71
|
+
cx={85.97}
|
|
72
|
+
cy={107.49}
|
|
73
|
+
rx={1.19}
|
|
74
|
+
ry={0.96}
|
|
75
|
+
transform="rotate(-4.99 86.027 107.448)"
|
|
76
|
+
/>
|
|
77
|
+
<path
|
|
78
|
+
className="wechatIllustration_svg__cls-3"
|
|
79
|
+
d="M98.62 99.08a.32.32 0 01-.26-.15.3.3 0 01.12-.4l7.09-3.85a.3.3 0 01.4.12.3.3 0 01-.12.4L98.76 99a.25.25 0 01-.14.08zM93.08 91a.28.28 0 01-.13 0 .3.3 0 01-.13-.4l3.67-7.18a.3.3 0 01.4-.12.29.29 0 01.12.39l-3.67 7.18a.3.3 0 01-.26.13zM96.59 94.08a.29.29 0 01-.23-.1.3.3 0 010-.41l9-7.58a.29.29 0 11.37.44l-9 7.58a.26.26 0 01-.14.07z"
|
|
80
|
+
/>
|
|
81
|
+
<circle cx={68.05} cy={51.37} r={1.16} fill="#103344" />
|
|
82
|
+
<path
|
|
83
|
+
d="M70.13 34.93c2.34 1.59 6.38 5.47 6.52 11.34.07 2.71 1 4.19 3.38 4.6 4.56.79 5.71-5.45 2.52-10.85-2-3.36-8.68-5.94-12-6.25a.64.64 0 00-.42 1.16z"
|
|
84
|
+
fill="#f27a89"
|
|
85
|
+
/>
|
|
86
|
+
</svg>
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export default SvgWechatIllustration;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as CalltaskIllustration } from './CalltaskIllustration'
|
|
2
|
+
export { default as EmailIllustration } from './EmailIllustration'
|
|
3
|
+
export { default as ImageGalleryIllustration } from './ImageGalleryIllustration'
|
|
4
|
+
export { default as PushIllustration } from './PushIllustration'
|
|
5
|
+
export { default as SmsIllustration } from './SmsIllustration'
|
|
6
|
+
export { default as WechatIllustration } from './WechatIllustration'
|
|
@@ -138,6 +138,7 @@ function emailReducer(state = initialState, action) {
|
|
|
138
138
|
.set('fetchingCmsSettingsError', false)
|
|
139
139
|
.set('CmsSettings', fromJS({}))
|
|
140
140
|
.set('fetchingCmsData', false)
|
|
141
|
+
.set('duplicateResponse', fromJS({}))
|
|
141
142
|
.set('cmsData', '');
|
|
142
143
|
default:
|
|
143
144
|
return state;
|
|
@@ -442,7 +442,7 @@ export class MapTemplates extends React.Component { // eslint-disable-line react
|
|
|
442
442
|
data: {},
|
|
443
443
|
BrandId: (selectedWeChatAccount.configs.brand_id ? selectedWeChatAccount.configs.brand_id : ''),
|
|
444
444
|
OriginalId: selectedWeChatAccount.sourceAccountIdentifier,
|
|
445
|
-
content: editTemplateData.versions.base.content,
|
|
445
|
+
content: encodeURIComponent(editTemplateData.versions.base.content),
|
|
446
446
|
isInternalUrl: this.state.formData['is-internal-url'],
|
|
447
447
|
creative_template_id: editTemplateData._id,
|
|
448
448
|
touser: "{{wechat_open_id}}",
|