@capillarytech/creatives-library 3.9.21 → 3.10.0

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 (85) hide show
  1. package/components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +7 -7
  2. package/components/TemplatePreview/_templatePreview.scss +20 -287
  3. package/components/TemplatePreview/index.js +31 -203
  4. package/components/TemplatePreview/messages.js +0 -21
  5. package/containers/Assets/Gallery/index.js +59 -53
  6. package/containers/Cap/index.js +0 -1
  7. package/index.js +0 -6
  8. package/package.json +1 -1
  9. package/routes.js +0 -5
  10. package/services/getSchema.js +1 -4
  11. package/translations/en.json +1 -29
  12. package/translations/zh.json +1 -29
  13. package/v2Components/FormBuilder/index.js +37 -188
  14. package/v2Components/FormBuilder/messages.js +0 -16
  15. package/v2Components/MobilePushPreviewV2/index.js +36 -44
  16. package/v2Components/MobilePushPreviewV2/messages.js +8 -0
  17. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/_wechatRichmediaTemplatePrev.scss +0 -64
  18. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +18 -100
  19. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/messages.js +0 -12
  20. package/v2Components/TemplatePreview/_templatePreview.scss +4 -24
  21. package/v2Components/TemplatePreview/index.js +23 -162
  22. package/v2Components/TemplatePreview/messages.js +0 -8
  23. package/v2Containers/Assets/Gallery/index.js +48 -54
  24. package/v2Containers/CreativesContainer/SlideBoxContent.js +4 -87
  25. package/v2Containers/CreativesContainer/SlideBoxHeader.js +1 -1
  26. package/v2Containers/CreativesContainer/index.js +2 -58
  27. package/v2Containers/CreativesContainer/messages.js +2 -2
  28. package/v2Containers/Email/_email.scss +1 -7
  29. package/v2Containers/Email/index.js +14 -40
  30. package/v2Containers/Email/messages.js +0 -4
  31. package/v2Containers/Email/reducer.js +0 -1
  32. package/v2Containers/EmailWrapper/index.js +5 -7
  33. package/v2Containers/Line/Create/_lineCreate.scss +19 -40
  34. package/v2Containers/Line/Create/actions.js +9 -13
  35. package/v2Containers/Line/Create/index.js +237 -498
  36. package/v2Containers/Line/Create/messages.js +2 -42
  37. package/v2Containers/Line/Create/sagas.js +4 -10
  38. package/v2Containers/Line/Create/selectors.js +9 -3
  39. package/v2Containers/MobilePush/Create/index.js +0 -5
  40. package/v2Containers/MobilePush/Edit/index.js +0 -5
  41. package/v2Containers/MobilepushWrapper/index.js +1 -4
  42. package/v2Containers/Sms/Create/index.js +1 -2
  43. package/v2Containers/Sms/Edit/index.js +0 -2
  44. package/v2Containers/Templates/_templates.scss +1 -24
  45. package/v2Containers/Templates/actions.js +0 -7
  46. package/v2Containers/Templates/constants.js +0 -2
  47. package/v2Containers/Templates/index.js +15 -118
  48. package/v2Containers/Templates/messages.js +0 -8
  49. package/v2Containers/Templates/reducer.js +0 -2
  50. package/v2Containers/TemplatesV2/index.js +4 -5
  51. package/v2Containers/TemplatesV2/messages.js +0 -4
  52. package/assets/IPad.js +0 -23
  53. package/assets/index.js +0 -1
  54. package/assets/lineImageTemplate.png +0 -0
  55. package/components/TemplatePreview/assets/images/HomeScreenAndroid.js +0 -53
  56. package/components/TemplatePreview/assets/images/SmsMobileAndroid.js +0 -52
  57. package/components/TemplatePreview/assets/images/SmsMobileIos.js +0 -71
  58. package/components/TemplatePreview/assets/images/UserIcon.js +0 -24
  59. package/components/TemplatePreview/assets/images/WechatMobileAndroid.js +0 -53
  60. package/components/TemplatePreview/assets/images/home-screen-android.svg +0 -21
  61. package/components/TemplatePreview/assets/images/home-screen-ios.svg +0 -16
  62. package/components/TemplatePreview/assets/images/sms_mobile_android.svg +0 -22
  63. package/components/TemplatePreview/assets/images/sms_mobile_ios.svg +0 -16
  64. package/components/TemplatePreview/assets/images/wechat_mobile_android.svg +0 -20
  65. package/v2Components/TemplatePreview/assets/images/HomeScreenAndroid.js +0 -53
  66. package/v2Components/TemplatePreview/assets/images/SmsMobileAndroid.js +0 -52
  67. package/v2Components/TemplatePreview/assets/images/UserIcon.js +0 -24
  68. package/v2Components/TemplatePreview/assets/images/WechatHomeScreenAndroid.js +0 -74
  69. package/v2Components/TemplatePreview/assets/images/WechatMobileAndroid.js +0 -53
  70. package/v2Components/TemplatePreview/assets/images/home-screen-android.svg +0 -21
  71. package/v2Components/TemplatePreview/assets/images/home-screen-ios.svg +0 -16
  72. package/v2Components/TemplatePreview/assets/images/sms_mobile_android.svg +0 -22
  73. package/v2Components/TemplatePreview/assets/images/wechat-home-screen-android.svg +0 -21
  74. package/v2Components/TemplatePreview/assets/images/wechat_mobile_android.svg +0 -20
  75. package/v2Containers/Assets/images/CalltaskIllustration.js +0 -71
  76. package/v2Containers/Assets/images/EmailIllustration.js +0 -87
  77. package/v2Containers/Assets/images/ImageGalleryIllustration.js +0 -60
  78. package/v2Containers/Assets/images/PushIllustration.js +0 -60
  79. package/v2Containers/Assets/images/SmsIllustration.js +0 -191
  80. package/v2Containers/Assets/images/WechatIllustration.js +0 -90
  81. package/v2Containers/Assets/images/index.js +0 -6
  82. package/v2Containers/Line/Create/initialSchema.js +0 -378
  83. package/v2Containers/Line/CreateWrapper/constants.js +0 -2
  84. package/v2Containers/Line/CreateWrapper/index.js +0 -117
  85. package/v2Containers/Line/CreateWrapper/messages.js +0 -55
@@ -1,191 +0,0 @@
1
- import * as React from "react";
2
-
3
- function SvgSmsIllustration(props) {
4
- return (
5
- <svg
6
- id="smsIllustration_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
- ".smsIllustration_svg__cls-2{fill:#f0df32}.smsIllustration_svg__cls-3{fill:#f87d22}.smsIllustration_svg__cls-4{fill:#fff}"
18
- }
19
- </style>
20
- </defs>
21
- <path
22
- d="M102.38 15.26s-2.76.77-2.19 2.48 3.65 2 4.6.58.13-3.81-2.41-3.06zm14.38 5.08a4.15 4.15 0 00-5.33-2.34s-4.71 1.05-3.19 3.81 4.58 5.29 7.15 5.47 2.17-5.2 1.37-6.94zm27.79 73.88c-.22-8-5-14.76-14.69-23.77a37.39 37.39 0 01-8.36-11.12 45.72 45.72 0 01-2.82-7.56c-.8-2.85-1.39-5.72-2-8.6-2.1-9.24-6.51-20.78-30.43-26-21.69-4.76-43.91 4.64-63.5 27.09A63.88 63.88 0 009.94 66.4C7.59 73.53 6.2 82.14 9 89.54c6.09 16.16 27.07 14.7 36.52 18.26s17.2 16.57 23.71 21a49.36 49.36 0 0047.63 3.57c22.23-10.1 27.9-30.11 27.69-38.15z"
23
- fill="#103344"
24
- />
25
- <path
26
- className="smsIllustration_svg__cls-2"
27
- d="M107.6 66.34L97 65.67a2 2 0 00-2.11 1.86l-.43 6.92a2 2 0 001.85 2.11l5.28.33-.14 2.25 2.38-2.1 3 .19a2 2 0 002.1-1.86l.44-6.92a2 2 0 00-1.77-2.11z"
28
- />
29
- <ellipse
30
- className="smsIllustration_svg__cls-2"
31
- cx={50.46}
32
- cy={61.84}
33
- rx={1.03}
34
- ry={0.99}
35
- />
36
- <ellipse
37
- className="smsIllustration_svg__cls-2"
38
- cx={78.27}
39
- cy={44.43}
40
- rx={1.27}
41
- ry={1.2}
42
- />
43
- <ellipse
44
- className="smsIllustration_svg__cls-2"
45
- cx={73.51}
46
- cy={54.5}
47
- rx={1.14}
48
- ry={1.07}
49
- />
50
- <ellipse
51
- className="smsIllustration_svg__cls-2"
52
- cx={55.68}
53
- cy={34.22}
54
- rx={1.14}
55
- ry={1.07}
56
- />
57
- <path
58
- className="smsIllustration_svg__cls-3"
59
- transform="rotate(3.62 102.297 69.623)"
60
- d="M97.58 69.15h9.51v.81h-9.51z"
61
- />
62
- <path
63
- className="smsIllustration_svg__cls-3"
64
- transform="rotate(3.62 102.194 71.368)"
65
- d="M97.47 70.92h9.51v.81h-9.51z"
66
- />
67
- <path
68
- className="smsIllustration_svg__cls-3"
69
- transform="rotate(3.62 100.355 73.327)"
70
- d="M97.34 72.86h6.1v.81h-6.1z"
71
- />
72
- <path
73
- className="smsIllustration_svg__cls-2"
74
- d="M98.05 32.06l-5.65-.17a1.06 1.06 0 00-1.09 1l-.11 3.7a1.06 1.06 0 001 1.1l2.82.08L95 39l1.24-1.16h1.62a1.05 1.05 0 001.09-1l.12-3.7a1.08 1.08 0 00-1.02-1.08z"
75
- />
76
- <path
77
- className="smsIllustration_svg__cls-2"
78
- transform="rotate(1.74 95.362 33.79)"
79
- d="M92.76 33.65h5.08v.43h-5.08z"
80
- />
81
- <path
82
- className="smsIllustration_svg__cls-2"
83
- transform="rotate(1.74 95.377 34.779)"
84
- d="M92.73 34.6h5.08v.43h-5.08z"
85
- />
86
- <path
87
- className="smsIllustration_svg__cls-2"
88
- transform="rotate(1.74 94.41 36.11)"
89
- d="M92.69 35.67h3.26v.43h-3.26z"
90
- />
91
- <path
92
- className="smsIllustration_svg__cls-2"
93
- d="M93.35 53.13L91 53.06a.43.43 0 00-.45.43v1.55a.45.45 0 00.43.46h1.18v.5l.51-.49h.68a.45.45 0 00.46-.43v-1.55a.45.45 0 00-.46-.4z"
94
- />
95
- <path
96
- className="smsIllustration_svg__cls-2"
97
- transform="rotate(1.74 92.374 53.926)"
98
- d="M91.13 53.79h2.13v.18h-2.13z"
99
- />
100
- <path
101
- className="smsIllustration_svg__cls-2"
102
- transform="rotate(1.74 92.38 54.255)"
103
- d="M91.12 54.19h2.13v.18h-2.13z"
104
- />
105
- <path
106
- className="smsIllustration_svg__cls-2"
107
- transform="rotate(1.74 92.06 54.919)"
108
- d="M91.11 54.64h1.36v.18h-1.36z"
109
- />
110
- <path
111
- className="smsIllustration_svg__cls-2"
112
- d="M75 33.11L72.7 33a.42.42 0 00-.43.41v1.47a.41.41 0 00.4.43h1.12v.47l.49-.46h.65a.42.42 0 00.43-.41v-1.47a.41.41 0 00-.36-.33z"
113
- />
114
- <circle
115
- className="smsIllustration_svg__cls-2"
116
- cx={27.34}
117
- cy={69.11}
118
- r={0.27}
119
- />
120
- <circle
121
- className="smsIllustration_svg__cls-2"
122
- cx={40.71}
123
- cy={60.39}
124
- r={0.32}
125
- />
126
- <circle
127
- className="smsIllustration_svg__cls-2"
128
- cx={43.89}
129
- cy={43.83}
130
- r={0.48}
131
- />
132
- <circle
133
- className="smsIllustration_svg__cls-2"
134
- cx={54.46}
135
- cy={48.33}
136
- r={0.48}
137
- />
138
- <circle
139
- className="smsIllustration_svg__cls-2"
140
- cx={33.59}
141
- cy={54.75}
142
- r={0.63}
143
- />
144
- <path
145
- className="smsIllustration_svg__cls-4"
146
- d="M83.31 90.69c2-3.1 4.3-2.11 4.92-1.63 1 .76.61 1.94-2.42 4.73-2.84 2.61-5.31 4.52-8.66 7.58-6.38 5.83-7.9 8.13-7.9 8.13s-.89-1.14 2.08-5.61a21.54 21.54 0 012.86-4s7.57-6.81 9.12-9.2z"
147
- />
148
- <path
149
- className="smsIllustration_svg__cls-4"
150
- d="M77.73 100.8h-.12c-.9-.21-22.07-5.26-26.9-13.28a13.63 13.63 0 01-.1-14.61 12 12 0 0111.92-5.31c4.5.58 9.15 5.68 13.84 15.14a110.23 110.23 0 015.7 14l.05.16zM60.76 68A11.39 11.39 0 0051 73.15a13.15 13.15 0 00.11 14.08c4.53 7.53 24.66 12.58 26.46 13l3.94-3.55c-.72-2.21-9.13-27.34-19.07-28.64a14.28 14.28 0 00-1.68-.04z"
151
- />
152
- <path
153
- className="smsIllustration_svg__cls-4"
154
- d="M58.31 107.72a9.84 9.84 0 01-5.41-1.32c-4.18-2.75-4.7-5.66-4.64-7.16A5.24 5.24 0 0151 94.85c3.29-1.78 17.76 2.79 18.38 3a.26.26 0 01.16.32.25.25 0 01-.31.16c-.15 0-14.89-4.69-18-3a4.73 4.73 0 00-2.44 4c-.06 1.39.44 4.11 4.42 6.72 6 4 20.83-2.9 21.63-3.27l2.46-2.24a.24.24 0 01.35 0 .25.25 0 010 .36l-2.49 2.26a.09.09 0 01-.06 0c-.54.22-9.7 4.56-16.79 4.56zM80.26 96.75L57.7 68.24l.19-.16 22.57 28.51-.2.16zM78.69 98.94C65.63 86 49.52 76.25 49.36 76.15l.13-.21c.16.1 16.3 9.86 29.38 22.82z"
155
- />
156
- <path
157
- className="smsIllustration_svg__cls-4"
158
- d="M51.49 105a.13.13 0 01-.13-.11.14.14 0 01.11-.14l24-3.07-26-4.56a.14.14 0 01-.1-.15.13.13 0 01.15-.1l26.85 4.71a.12.12 0 01.1.12.11.11 0 01-.11.12L51.5 105zM70.76 84.71a7 7 0 01-.38-.95l.24-.08c.19.56.36.91.36.92zM70.17 83c-.08-.33-.14-.67-.19-1h.25a8.26 8.26 0 00.18 1zm-.26-1.76V81v-.69h.25v.98zm.39-1.71l-.24-.06a5.45 5.45 0 01.3-1l.23.09a5.71 5.71 0 00-.29 1zm.62-1.53l-.22-.13a5.29 5.29 0 01.6-.83l.19.17a4.79 4.79 0 00-.57.79zM72 76.65l-.17-.19.48-.39.15.2a5.81 5.81 0 00-.46.38zM64.22 76.37a7.53 7.53 0 01-.41-.93l.23-.09a8 8 0 00.4.9zm-.64-1.66a8.75 8.75 0 01-.18-1h.25a7.87 7.87 0 00.17 1zm0-1.76h-.25a7 7 0 01.08-1h.24a8.22 8.22 0 00-.03 1.05zm.22-1.71l-.24-.06a6.71 6.71 0 01.31-1l.23.09a8.37 8.37 0 00-.26.97zm.6-1.61l-.23-.11a6 6 0 01.53-.88l.2.15a5.33 5.33 0 00-.46.84zM79.53 97.75l-.53-.59.19-.16c.58.65.58.65.55.72l-.23-.1h.11zm-1-1.15l-.67-.75.18-.16.68.75zm-1.18-1.3l-.67-.75.19-.17.67.75zm-1.2-1.3l-.68-.74.19-.17.67.75zM75 92.7l-.71-.7.18-.17.68.74zm-1.18-1.29l-.68-.74.18-.17.68.74zm-1.19-1.29l-.68-.74.18-.17.68.74zm-1.23-1.29l-.69-.73.18-.17.69.73zm-1.2-1.27l-.69-.73.18-.17.69.72zM69 86.28l-.69-.72.18-.17.69.72zM67.78 85l-.7-.72.18-.17.7.71zm-1.22-1.26l-.71-.71.18-.18c.23.23.45.47.69.7zm-1.24-1.24l-.71-.7.17-.18.72.7zm-1.25-1.23l-.73-.69.18-.18.72.69zm-1.28-1.2l-.74-.66.16-.19c.24.2.49.43.75.67zm-1.31-1.15c-.31-.25-.57-.45-.79-.6l.14-.21c.23.16.49.36.8.62zm-7.24-.07l-.15-.2a7 7 0 01.88-.52l.11.22a7.5 7.5 0 00-.84.52zm1.52-.8l-.09-.23a7.2 7.2 0 011-.3l.06.24a6.76 6.76 0 00-.97.31zm4.3-.09a6.33 6.33 0 00-.94-.28l.05-.24a4.8 4.8 0 011 .29zm-2.64-.33v-.25a5.8 5.8 0 011 0v.25a6.43 6.43 0 00-1 .02zM77.72 99.63a.17.17 0 01-.12-.06l-.68-.57.16-.2.68.57-.07.1.07.09a.11.11 0 01-.04.07zm-1.38-1.1l-.78-.63.16-.19.78.63zM75 97.43l-.79-.62.16-.2.79.63zm-1.38-1.08l-.79-.61.15-.2.8.61zm-1.42-1.07l-.8-.6.15-.2.8.6zm-1.4-1l-.8-.63.14-.2c.28.19.55.39.81.59zm-1.42-1l-.82-.57.14-.21.82.58zm-1.44-1l-.83-.55.13-.21.84.56zm-1.46-1l-.85-.54.14-.21c.28.18.56.35.84.54zM65 90.32l-.86-.5.12-.22.87.51zM53.27 90l-.27-.14a4 4 0 01.64-.82l.17.17a3.44 3.44 0 00-.54.79zm10.21-.52l-.89-.48.11-.22.89.46zm-9.08-.73l-.15-.2a5.22 5.22 0 01.88-.52l.11.22a5 5 0 00-.84.48zm7.51 0c-.32-.14-.63-.27-.92-.37l.09-.24c.29.11.6.23.93.38zm-1.63-.6a9.19 9.19 0 00-1-.23v-.24c.32.06.65.14 1 .23zM55.92 88l-.07-.24a6.46 6.46 0 011-.22v.25a6.07 6.07 0 00-.93.21zm2.67-.22a8 8 0 00-.84 0h-.14v-.25h.15a8.71 8.71 0 01.87 0z"
159
- />
160
- <path
161
- className="smsIllustration_svg__cls-4"
162
- d="M53.2 104.46a1.08 1.08 0 010-.16 2.33 2.33 0 01.2-.89l.23.1a2.11 2.11 0 00-.18.79.68.68 0 000 .12zm.8-1.55l-.19-.16a3.21 3.21 0 01.77-.68l.14.2a3.49 3.49 0 00-.72.64zm1.35-1l-.1-.23a5.53 5.53 0 011-.36l.07.24a7.05 7.05 0 00-.97.36zm16.55-.23l-1-.12v-.25l1 .12zm-1.74-.2l-1-.1v-.25l1 .1zm-13.16-.1v-.24c.3-.07.64-.13 1-.18v.25a8.65 8.65 0 00-1 .17zm11.44-.06l-1-.08v-.25l1 .08zm-1.75-.14h-1v-.25h1zm-8-.06v-.25c.33 0 .66-.06 1-.07v.25c-.34.01-.69.04-.99.07zm6.23 0h-1v-.25h1zm-4.48-.12v-.25h1v.25zm2.74 0h-1v-.25h1z"
163
- />
164
- <path
165
- className="smsIllustration_svg__cls-2"
166
- d="M102.21 100.79l-19.59-4.27a3.76 3.76 0 00-4.48 2.87l-2.8 12.86a3.75 3.75 0 002.87 4.47l9.8 2.14-.91 4.14 5.07-3.26L97.8 121a3.77 3.77 0 004.48-2.88l2.8-12.85a3.76 3.76 0 00-2.87-4.48z"
167
- />
168
- <path
169
- className="smsIllustration_svg__cls-3"
170
- transform="rotate(12.3 91.428 105.296)"
171
- d="M82.41 104.54h18.03v1.53H82.41z"
172
- />
173
- <path
174
- className="smsIllustration_svg__cls-3"
175
- transform="rotate(12.3 90.706 108.613)"
176
- d="M81.7 107.82h18.03v1.53H81.7z"
177
- />
178
- <path
179
- className="smsIllustration_svg__cls-3"
180
- transform="rotate(12.3 86.722 111.718)"
181
- d="M80.94 110.94H92.5v1.53H80.94z"
182
- />
183
- <path
184
- className="smsIllustration_svg__cls-4"
185
- d="M70.76 68.24s14.94-5.45 14.36 7.91C85 79.53 83.24 89.9 83.24 89.9s1.42-12.11 1.44-14.57c.03-4.64-3.96-9.93-13.92-7.09z"
186
- />
187
- </svg>
188
- );
189
- }
190
-
191
- export default SvgSmsIllustration;
@@ -1,90 +0,0 @@
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;
@@ -1,6 +0,0 @@
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'
@@ -1,378 +0,0 @@
1
- export const response = {
2
- metaEntities: [
3
- {
4
- _id: "5b926d5aa77c585b698a5620",
5
- type: "LAYOUT",
6
- definition: {
7
- module: "Campaigns",
8
- channel: "LINE",
9
- textSchema: {
10
- standalone: {
11
- sections: [
12
- {
13
- type: "parent",
14
- childSections: [
15
- {
16
- type: "multicols",
17
- width: 16,
18
- inputFields: [
19
- {
20
- cols: [],
21
- },
22
- ],
23
- actionFields: [],
24
- },
25
- {
26
- type: "parent",
27
- childSections: [
28
- {
29
- width: 16,
30
- type: "parent",
31
- childSections: [
32
- {
33
- type: "multicols",
34
- inputFields: [
35
- {
36
- cols: [
37
- {
38
- id: "template-name",
39
- placeholder: "",
40
- type: "input",
41
- label: "Message",
42
- metaType: "text",
43
- datatype: "string",
44
- required: true,
45
- fluid: true,
46
- styling: "semantic",
47
- order: 1,
48
- width: 18,
49
- customComponent: false,
50
- standalone: true,
51
- onlyDisplay: false,
52
- errorMessage:
53
- "",
54
- supportedEvents: ["onChange"],
55
- },
56
- ],
57
- },
58
- ],
59
- },
60
- {
61
- type: "multicols",
62
- inputFields: [
63
- {
64
- rowClassName: "tag-container",
65
- cols: [
66
- {
67
- style: {
68
- marginBottom: "unset",
69
- height: "24px",
70
- },
71
- width: 18,
72
- id: "tagList",
73
- label: "Add label",
74
- className: "add-label",
75
- type: "tag-list",
76
- metaType: "List",
77
- datatype: "select",
78
- required: true,
79
- fluid: true,
80
- onlyDisplay: true,
81
- styling: "semantic",
82
- order: 1,
83
- customComponent: true,
84
- supportedEvents: ["onTagSelect"],
85
- },
86
- ],
87
- },
88
- ],
89
- },
90
- {
91
- type: "multicols",
92
-
93
- inputFields: [
94
- {
95
- rowClassName: "line-message-content",
96
- cols: [
97
- {
98
- id: "message-editor",
99
- label: "Message",
100
- type: "textarea",
101
- metaType: "text",
102
- datatype: "string",
103
- style: { marginBottom: "16px" },
104
- required: true,
105
- errorMessage:
106
- "",
107
- placeholder:
108
- "",
109
- fluid: true,
110
- styling: "semantic",
111
- onlyDisplay: false,
112
- width: 18,
113
- autosize: true,
114
- autosizeParams: {
115
- maxRows: 18,
116
- minRows: 3,
117
- },
118
- order: 2,
119
- customComponent: true,
120
- supportedEvents: ["onChange"],
121
- },
122
- ],
123
- },
124
- {
125
- rowClassName: "sms-count-container",
126
- rowStyle: {
127
- bottom: "8px",
128
- fontSize: "12px",
129
- },
130
- cols: [
131
- {
132
- id: "sms-count",
133
- type: "div",
134
- props: { type: "label3" },
135
- onlyDisplay: true,
136
- metaType: "label",
137
- value: "",
138
- primitive: true,
139
- width: 18,
140
- style: {
141
- float: "right",
142
- },
143
- },
144
- ],
145
- },
146
- ],
147
- actionFields: [],
148
- },
149
- ],
150
- },
151
- {
152
- width: 6,
153
- type: "multicols",
154
- offset: 1,
155
-
156
- inputFields: [
157
- {
158
- cols: [
159
- {
160
- id: "line-preview",
161
- type: "line-preview",
162
- customComponent: true,
163
- customStyling: {
164
- padding: "0",
165
- },
166
- metaType: "preview",
167
- required: true,
168
- fluid: true,
169
- styling: "semantic",
170
- order: 1,
171
- onlyDisplay: true,
172
- offset: 7,
173
- channel: "LINE",
174
- charCounterEnabled: true,
175
- },
176
- ],
177
- },
178
- ],
179
- },
180
- ],
181
- },
182
- {
183
- type: "multicols",
184
- inputFields: [
185
- {
186
- rowClassName: "creatives-sms-footer",
187
- cols: [
188
- {
189
- id: "save-button",
190
- metaType: "submit-button",
191
- colStyle: { marginRight: "16px" },
192
- type: "button",
193
- buttonType: "primary",
194
- value: "Save",
195
- customComponent: false,
196
- styling: "semantic",
197
- order: 3,
198
- fluid: true,
199
- standalone: true,
200
- onlyDisplay: true,
201
- submitAction: "saveFormData",
202
- supportedEvents: ["saveFormData"],
203
- },
204
- ],
205
- },
206
- ],
207
- actionFields: [],
208
- },
209
- ],
210
- },
211
- ],
212
- },
213
- module: "Campaigns",
214
- channel: "LINE",
215
- },
216
- imageSchema: {
217
- standalone: {
218
- sections: [
219
- {
220
- type: "parent",
221
- childSections: [
222
- {
223
- type: "multicols",
224
- width: 16,
225
- inputFields: [
226
- {
227
- cols: [],
228
- },
229
- ],
230
- actionFields: [],
231
- },
232
- {
233
- type: "parent",
234
-
235
- childSections: [
236
- {
237
- width: 16,
238
- type: "parent",
239
- childSections: [
240
- {
241
- type: "multicols",
242
- inputFields: [
243
- {
244
- cols: [
245
- {
246
- id: "template-name",
247
- placeholder: "",
248
- type: "input",
249
- label: "Message",
250
- metaType: "text",
251
- datatype: "string",
252
- required: true,
253
- fluid: true,
254
- styling: "semantic",
255
- order: 1,
256
- width: 18,
257
- customComponent: false,
258
- standalone: true,
259
- onlyDisplay: false,
260
- errorMessage:
261
- "",
262
- supportedEvents: ["onChange"],
263
- },
264
- ],
265
- },
266
- ],
267
- },
268
- {
269
- type: "multicols",
270
-
271
- inputFields: [
272
- {
273
- rowClassName:
274
- "mobile-push-row mobile-push-img line-image",
275
- cols: [
276
- {
277
- id: "image-upload-line",
278
- type: "upload",
279
- showPreview: true,
280
- previewProps: {
281
- label: "",
282
- inductiveText:
283
- "",
284
- errorMessage: "",
285
- },
286
- width: 22,
287
- metaType: "text",
288
- datatype: "string",
289
- required: true,
290
- fluid: true,
291
- styling: "semantic",
292
- order: 1,
293
- style: {
294
- marginTop: 36,
295
- },
296
- customComponent: true,
297
- offset: 0,
298
- submitAction: "onUpload",
299
- supportedEvents: ["onUpload"],
300
- },
301
- ],
302
- },
303
- ],
304
- actionFields: [],
305
- },
306
- ],
307
- },
308
- {
309
- width: 6,
310
- type: "multicols",
311
- offset: 1,
312
-
313
- inputFields: [
314
- {
315
- cols: [
316
- {
317
- id: "line-preview",
318
- type: "line-preview",
319
- customComponent: true,
320
- customStyling: {
321
- padding: "0",
322
- },
323
- metaType: "preview",
324
- required: true,
325
- fluid: true,
326
- styling: "semantic",
327
- order: 1,
328
- onlyDisplay: true,
329
- offset: 7,
330
- channel: "LINE",
331
- charCounterEnabled: true,
332
- },
333
- ],
334
- },
335
- ],
336
- },
337
- ],
338
- },
339
- {
340
- type: "multicols",
341
- inputFields: [
342
- {
343
- rowClassName: "creatives-sms-footer",
344
- cols: [
345
- {
346
- id: "save-button",
347
- metaType: "submit-button",
348
- colStyle: { marginRight: "16px" },
349
- type: "button",
350
- buttonType: "primary",
351
- value: "Save",
352
- customComponent: false,
353
- styling: "semantic",
354
- order: 3,
355
- fluid: true,
356
- standalone: true,
357
- onlyDisplay: true,
358
- submitAction: "saveFormData",
359
- supportedEvents: ["saveFormData"],
360
- },
361
- ],
362
- },
363
- ],
364
- actionFields: [],
365
- },
366
- ],
367
- },
368
- ],
369
- },
370
- channel: "LINE",
371
- module: "Campaigns",
372
- type: "LAYOUT",
373
- },
374
- },
375
- isActive: true,
376
- },
377
- ],
378
- };
@@ -1,2 +0,0 @@
1
- export const TEXT = 'text';
2
- export const IMAGE = 'image';