@capillarytech/creatives-library 0.0.4 → 0.0.6
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/components/CardGrid/index.js +11 -3
- package/components/Ckeditor/index.js +20 -17
- package/components/CustomPopOver/index.js +4 -1
- package/components/EmailPreview/index.js +1 -1
- package/components/FormBuilder/index.js +225 -71
- package/components/TemplatePreview/index.js +3 -0
- package/components/Toastr/index.js +1 -1
- package/containers/Cap/sagas.js +14 -1
- package/containers/Ebill/reducer.js +4 -1
- package/containers/Ebill/selectors.js +1 -1
- package/containers/Email/index.js +595 -158
- package/containers/Email/messages.js +12 -0
- package/containers/Email/reducer.js +4 -1
- package/containers/Email/selectors.js +7 -1
- package/containers/Sms/Create/index.js +3 -3
- package/containers/Templates/actions.js +13 -0
- package/containers/Templates/constants.js +2 -1
- package/containers/Templates/index.js +57 -57
- package/containers/Templates/messages.js +1 -1
- package/containers/Templates/reducer.js +9 -2
- package/initialState.js +6 -0
- package/package.json +2 -1
- package/reducers.js +4 -0
- package/routes.js +24 -2
- package/translations/en.json +17 -1
- package/translations/zh.json +16 -0
package/translations/en.json
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
"app.components.BreadCrumbs.header": "This is the BreadCrumbs component !",
|
|
3
3
|
"app.components.CapTagList.Cancel": "Cancel",
|
|
4
4
|
"app.components.CapTagList.Ok": "Ok",
|
|
5
|
+
"app.components.CapTagList.dynamic_days_before_expiry": "Dynamic Days before Expiry",
|
|
5
6
|
"app.components.CapTagList.numberOfDaysBeforeExpiry": "Number of days before expiry",
|
|
6
7
|
"app.components.Ckeditor.header": "This is the Ckeditor component !",
|
|
7
8
|
"app.components.CustomPopOver.header": "This is the CustomPopOver component !",
|
|
8
9
|
"app.components.DateRange.header": "This is the DateRange component !",
|
|
9
10
|
"app.components.Edmeditor.header": "This is the Edmeditor component !",
|
|
11
|
+
"app.components.EmailPreview.lastModified": "Last Modified On",
|
|
12
|
+
"app.components.EmailPreview.uploadedBy": "Last Modified By",
|
|
10
13
|
"app.components.Footer.header": "This is the Footer component !",
|
|
11
14
|
"app.components.FormBuilder.header": "This is the FormBuilder component !",
|
|
12
15
|
"app.components.ImagePreview.loadingImage": "Loading Images !!!!",
|
|
@@ -61,6 +64,7 @@
|
|
|
61
64
|
"app.containers.Create.saveButton": "Save",
|
|
62
65
|
"app.containers.Create.saveTemplateLoader": "Saving Template...",
|
|
63
66
|
"app.containers.Create.smsEditorPlaceholder": "Please input sms template content.",
|
|
67
|
+
"app.containers.Create.somethingWentWrong": "Something Went Wrong!!",
|
|
64
68
|
"app.containers.Create.tagsErrorMessage": "Template content has unsupported/missing tags!",
|
|
65
69
|
"app.containers.Create.tagsLabel": "Tags",
|
|
66
70
|
"app.containers.Create.templateNamePlaceHolder": "Enter template name",
|
|
@@ -97,6 +101,7 @@
|
|
|
97
101
|
"app.containers.Edit.saveButton": "Save",
|
|
98
102
|
"app.containers.Edit.saveTemplateLoader": "Saving Template...",
|
|
99
103
|
"app.containers.Edit.smsEditorPlaceholder": "Please input sms template content.",
|
|
104
|
+
"app.containers.Edit.somethingWentWrong": "Something Went Wrong!!",
|
|
100
105
|
"app.containers.Edit.tagsErrorMessage": "Template content has unsupported/missing tags!",
|
|
101
106
|
"app.containers.Edit.tagsLabel": "Tags",
|
|
102
107
|
"app.containers.Edit.templateNamePlaceHolder": "Enter template name",
|
|
@@ -112,6 +117,7 @@
|
|
|
112
117
|
"app.containers.Email.Tags": "Tags",
|
|
113
118
|
"app.containers.Email.alphabetically": "Alphabetically",
|
|
114
119
|
"app.containers.Email.alphabeticallyOption": "Alphabetically",
|
|
120
|
+
"app.containers.Email.assetUploadFailed": "Image uploaded failed",
|
|
115
121
|
"app.containers.Email.blankTemplate": "Blank Template",
|
|
116
122
|
"app.containers.Email.cancel": "Cancel",
|
|
117
123
|
"app.containers.Email.createHeading": "Create Email Template",
|
|
@@ -152,8 +158,10 @@
|
|
|
152
158
|
"app.containers.Email.templateNameNotEmpty": "Template name cannot be empty.",
|
|
153
159
|
"app.containers.Email.templateNamePlaceholder": "Enter template name",
|
|
154
160
|
"app.containers.Email.upload": "Upload Image",
|
|
161
|
+
"app.containers.Email.uploadSizeError": "File Size Too large to upload. Please upload file upto 5 MB",
|
|
155
162
|
"app.containers.Email.uploadedAt": "Modified",
|
|
156
163
|
"app.containers.Email.uploadedBy": "Uploaded By",
|
|
164
|
+
"app.containers.Email.uploadingImage": "Uploading Image...",
|
|
157
165
|
"app.containers.Email.yes": "Yes",
|
|
158
166
|
"app.containers.Login.header": "This is Login container change !",
|
|
159
167
|
"app.containers.Login.invalidCredential": "Invalid Username or Password",
|
|
@@ -278,6 +286,7 @@
|
|
|
278
286
|
"app.containers.Templates.alphabeticallyOption": "Alphabetically",
|
|
279
287
|
"app.containers.Templates.blankTemplate": "Blank Template",
|
|
280
288
|
"app.containers.Templates.campaigns": "Campaigns",
|
|
289
|
+
"app.containers.Templates.cancelText": "Cancel",
|
|
281
290
|
"app.containers.Templates.createEmailActionButton": "Create Email",
|
|
282
291
|
"app.containers.Templates.createSmsActionButton": "Create SMS",
|
|
283
292
|
"app.containers.Templates.creatives": "Creatives",
|
|
@@ -292,12 +301,15 @@
|
|
|
292
301
|
"app.containers.Templates.emailPreview": "Email Preview",
|
|
293
302
|
"app.containers.Templates.gettingAllTemplates": "Getting all templates...",
|
|
294
303
|
"app.containers.Templates.header": "This is Templates container !",
|
|
304
|
+
"app.containers.Templates.imageTemplate": "Image",
|
|
305
|
+
"app.containers.Templates.invalidUploadFileError": "File cannot be uploaded. Please select another file with valid file format.",
|
|
295
306
|
"app.containers.Templates.mapTemplate": "Map Template",
|
|
296
307
|
"app.containers.Templates.mobilepushHeader": "Mobile Push",
|
|
297
308
|
"app.containers.Templates.mostRecentOption": "Most Recent",
|
|
298
309
|
"app.containers.Templates.newTemplate": "New Template",
|
|
299
310
|
"app.containers.Templates.noAccountMessage": "Please select an account to proceed",
|
|
300
311
|
"app.containers.Templates.noTemplatesMessage": "No Templates Available",
|
|
312
|
+
"app.containers.Templates.preview": "Preview",
|
|
301
313
|
"app.containers.Templates.previewButton": "Preview",
|
|
302
314
|
"app.containers.Templates.searchText": "Search",
|
|
303
315
|
"app.containers.Templates.selectAccount": "Select Account",
|
|
@@ -308,8 +320,11 @@
|
|
|
308
320
|
"app.containers.Templates.smsHeader": "SMS",
|
|
309
321
|
"app.containers.Templates.somethingWentWrong": "Something Went Wrong!!",
|
|
310
322
|
"app.containers.Templates.sortBy": "Sort by",
|
|
323
|
+
"app.containers.Templates.templateDeleteConfirm": "Are you sure you want to delete this Template?",
|
|
311
324
|
"app.containers.Templates.templateDeleteSuccess": "SMS Template Deleted Successfully",
|
|
312
|
-
"app.containers.Templates.templateDuplicateSuccess": "
|
|
325
|
+
"app.containers.Templates.templateDuplicateSuccess": "Template Duplicated Successfully",
|
|
326
|
+
"app.containers.Templates.templateSelection": "Template Selection",
|
|
327
|
+
"app.containers.Templates.textTemplate": "Text",
|
|
313
328
|
"app.containers.Templates.unMapButton": "Unmap",
|
|
314
329
|
"app.containers.Templates.uploadFile": "Upload File",
|
|
315
330
|
"app.containers.Templates.uploadedAt": "Modified",
|
|
@@ -318,6 +333,7 @@
|
|
|
318
333
|
"app.containers.Templates.useEditor": "Use Editor",
|
|
319
334
|
"app.containers.Templates.wechatChannelTemplatesHeader": "WECHAT Templates",
|
|
320
335
|
"app.containers.Templates.wechatHeader": "WECHAT",
|
|
336
|
+
"app.containers.Templates.yesText": "Yes",
|
|
321
337
|
"app.containers.Templates.zipUploadFailed": "Failed to Upload zip file",
|
|
322
338
|
"app.containers.Testv2.header": "This is Testv2 container !",
|
|
323
339
|
"app.containers.WeChat.accountId": "Account Id",
|
package/translations/zh.json
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
"app.components.BreadCrumbs.header": "",
|
|
3
3
|
"app.components.CapTagList.Cancel": "取消",
|
|
4
4
|
"app.components.CapTagList.Ok": "",
|
|
5
|
+
"app.components.CapTagList.dynamic_days_before_expiry": "",
|
|
5
6
|
"app.components.CapTagList.numberOfDaysBeforeExpiry": "",
|
|
6
7
|
"app.components.Ckeditor.header": "",
|
|
7
8
|
"app.components.CustomPopOver.header": "",
|
|
8
9
|
"app.components.DateRange.header": "",
|
|
9
10
|
"app.components.Edmeditor.header": "",
|
|
11
|
+
"app.components.EmailPreview.lastModified": "",
|
|
12
|
+
"app.components.EmailPreview.uploadedBy": "",
|
|
10
13
|
"app.components.Footer.header": "",
|
|
11
14
|
"app.components.FormBuilder.header": "",
|
|
12
15
|
"app.components.ImagePreview.loadingImage": "",
|
|
@@ -61,6 +64,7 @@
|
|
|
61
64
|
"app.containers.Create.saveButton": "保存",
|
|
62
65
|
"app.containers.Create.saveTemplateLoader": "报错模板",
|
|
63
66
|
"app.containers.Create.smsEditorPlaceholder": "导入SMS模板内容",
|
|
67
|
+
"app.containers.Create.somethingWentWrong": "",
|
|
64
68
|
"app.containers.Create.tagsErrorMessage": "模板内容中有不支持的或不存在的标签",
|
|
65
69
|
"app.containers.Create.tagsLabel": "标签",
|
|
66
70
|
"app.containers.Create.templateNamePlaceHolder": "输入模板名称",
|
|
@@ -97,6 +101,7 @@
|
|
|
97
101
|
"app.containers.Edit.saveButton": "保存",
|
|
98
102
|
"app.containers.Edit.saveTemplateLoader": "报错模板",
|
|
99
103
|
"app.containers.Edit.smsEditorPlaceholder": "导入SMS模板内容",
|
|
104
|
+
"app.containers.Edit.somethingWentWrong": "",
|
|
100
105
|
"app.containers.Edit.tagsErrorMessage": "模板内容中有不支持的或不存在的标签",
|
|
101
106
|
"app.containers.Edit.tagsLabel": "标签",
|
|
102
107
|
"app.containers.Edit.templateNamePlaceHolder": "输入模板名称",
|
|
@@ -112,6 +117,7 @@
|
|
|
112
117
|
"app.containers.Email.Tags": "",
|
|
113
118
|
"app.containers.Email.alphabetically": "",
|
|
114
119
|
"app.containers.Email.alphabeticallyOption": "",
|
|
120
|
+
"app.containers.Email.assetUploadFailed": "",
|
|
115
121
|
"app.containers.Email.blankTemplate": "",
|
|
116
122
|
"app.containers.Email.cancel": "",
|
|
117
123
|
"app.containers.Email.createHeading": "",
|
|
@@ -152,8 +158,10 @@
|
|
|
152
158
|
"app.containers.Email.templateNameNotEmpty": "",
|
|
153
159
|
"app.containers.Email.templateNamePlaceholder": "",
|
|
154
160
|
"app.containers.Email.upload": "",
|
|
161
|
+
"app.containers.Email.uploadSizeError": "",
|
|
155
162
|
"app.containers.Email.uploadedAt": "",
|
|
156
163
|
"app.containers.Email.uploadedBy": "",
|
|
164
|
+
"app.containers.Email.uploadingImage": "",
|
|
157
165
|
"app.containers.Email.yes": "",
|
|
158
166
|
"app.containers.Login.header": "",
|
|
159
167
|
"app.containers.Login.invalidCredential": "无效的用户名或密码",
|
|
@@ -278,6 +286,7 @@
|
|
|
278
286
|
"app.containers.Templates.alphabeticallyOption": "字母排序",
|
|
279
287
|
"app.containers.Templates.blankTemplate": "空白模板",
|
|
280
288
|
"app.containers.Templates.campaigns": "",
|
|
289
|
+
"app.containers.Templates.cancelText": "",
|
|
281
290
|
"app.containers.Templates.createEmailActionButton": "",
|
|
282
291
|
"app.containers.Templates.createSmsActionButton": "创建短信",
|
|
283
292
|
"app.containers.Templates.creatives": "",
|
|
@@ -292,12 +301,15 @@
|
|
|
292
301
|
"app.containers.Templates.emailPreview": "",
|
|
293
302
|
"app.containers.Templates.gettingAllTemplates": "获取所有模板",
|
|
294
303
|
"app.containers.Templates.header": "",
|
|
304
|
+
"app.containers.Templates.imageTemplate": "",
|
|
305
|
+
"app.containers.Templates.invalidUploadFileError": "",
|
|
295
306
|
"app.containers.Templates.mapTemplate": "创建模板",
|
|
296
307
|
"app.containers.Templates.mobilepushHeader": "",
|
|
297
308
|
"app.containers.Templates.mostRecentOption": "最近",
|
|
298
309
|
"app.containers.Templates.newTemplate": "",
|
|
299
310
|
"app.containers.Templates.noAccountMessage": "请选择需要处理的公众号",
|
|
300
311
|
"app.containers.Templates.noTemplatesMessage": "没有可用的模板",
|
|
312
|
+
"app.containers.Templates.preview": "",
|
|
301
313
|
"app.containers.Templates.previewButton": "预览",
|
|
302
314
|
"app.containers.Templates.searchText": "搜索",
|
|
303
315
|
"app.containers.Templates.selectAccount": "选择公众号",
|
|
@@ -308,8 +320,11 @@
|
|
|
308
320
|
"app.containers.Templates.smsHeader": "短信",
|
|
309
321
|
"app.containers.Templates.somethingWentWrong": "出现问题!!",
|
|
310
322
|
"app.containers.Templates.sortBy": "排序",
|
|
323
|
+
"app.containers.Templates.templateDeleteConfirm": "",
|
|
311
324
|
"app.containers.Templates.templateDeleteSuccess": "短信模板复制成功",
|
|
312
325
|
"app.containers.Templates.templateDuplicateSuccess": "短信模板删除成功",
|
|
326
|
+
"app.containers.Templates.templateSelection": "",
|
|
327
|
+
"app.containers.Templates.textTemplate": "",
|
|
313
328
|
"app.containers.Templates.unMapButton": "取消模板",
|
|
314
329
|
"app.containers.Templates.uploadFile": "",
|
|
315
330
|
"app.containers.Templates.uploadedAt": "最后修改于",
|
|
@@ -318,6 +333,7 @@
|
|
|
318
333
|
"app.containers.Templates.useEditor": "",
|
|
319
334
|
"app.containers.Templates.wechatChannelTemplatesHeader": "微信模板",
|
|
320
335
|
"app.containers.Templates.wechatHeader": "微信",
|
|
336
|
+
"app.containers.Templates.yesText": "",
|
|
321
337
|
"app.containers.Templates.zipUploadFailed": "",
|
|
322
338
|
"app.containers.Testv2.header": "",
|
|
323
339
|
"app.containers.WeChat.accountId": "账户ID",
|