@capillarytech/creatives-library 7.4.4 → 7.5.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.
- package/components/TopBar/assets/images/capillary_logo.png +0 -0
- package/containers/Assets/Gallery/index.js +1 -1
- package/favicon.ico +0 -0
- package/package.json +1 -1
- package/translations/en.json +88 -1
- package/translations/zh.json +87 -0
- package/utils/common.js +2 -2
- package/v2Containers/Assets/Gallery/index.js +2 -2
- package/v2Containers/FTP/_FTP.scss +1 -0
- package/v2Containers/FTP/index.js +1 -1
- package/v2Containers/FTP/messages.js +1 -1
- package/v2Containers/Line/Container/ImageMap/messages.js +0 -4
|
Binary file
|
|
@@ -364,7 +364,7 @@ export class Gallery extends React.Component { // eslint-disable-line react/pref
|
|
|
364
364
|
);
|
|
365
365
|
const actionComponents = (
|
|
366
366
|
<form encType="multipart/form-data" id="myForm">
|
|
367
|
-
<input style={{ display: 'none'}} id="fileName" type="file" onChange={(e) => this.uploadImages(e, {files: e.target.files})} accept="image/*" multiple/>
|
|
367
|
+
<input style={{ display: 'none'}} id="fileName" type="file" onClick={(e) => {e.target.value=null}} onChange={(e) => this.uploadImages(e, {files: e.target.files})} accept="image/*" multiple/>
|
|
368
368
|
<CapButton type={this.props.location.query.type !== 'embedded' ? 'primary' : 'secondary'} onClick={(e) => this.openFileDialog(e)} style={{float: 'right'}}>
|
|
369
369
|
<FormattedMessage {...messages.upload} />
|
|
370
370
|
</CapButton>
|
package/favicon.ico
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/translations/en.json
CHANGED
|
@@ -120,6 +120,8 @@
|
|
|
120
120
|
"creatives.componentsV2.EmailPreviewV2.subject": "Subject:",
|
|
121
121
|
"creatives.componentsV2.EmailPreviewV2.tablet": "Tablet",
|
|
122
122
|
"creatives.componentsV2.EmailPreviewV2.uploadedBy": "Last modified by",
|
|
123
|
+
"creatives.componentsV2.FTP.message": "Message",
|
|
124
|
+
"creatives.componentsV2.FTP.search": "Search",
|
|
123
125
|
"creatives.componentsV2.Footer.header": "This is the Footer component !",
|
|
124
126
|
"creatives.componentsV2.FormBuilder.cancel": "Cancel",
|
|
125
127
|
"creatives.componentsV2.FormBuilder.contentNotValidLanguage": "Content is not valid for language:",
|
|
@@ -266,7 +268,7 @@
|
|
|
266
268
|
"creatives.containers.Create.smsEditorPlaceholder": "Please enter the message content",
|
|
267
269
|
"creatives.containers.Create.somethingWentWrong": "Something went wrong!!",
|
|
268
270
|
"creatives.containers.Create.sourceLinkEmpty": "Cannot leave source link field empty",
|
|
269
|
-
"creatives.containers.Create.tagsErrorMessage": "
|
|
271
|
+
"creatives.containers.Create.tagsErrorMessage": "Please check the message content for unsupported/missing tags",
|
|
270
272
|
"creatives.containers.Create.tagsLabel": "Tags",
|
|
271
273
|
"creatives.containers.Create.templateDataNotValid": "Template data is not valid",
|
|
272
274
|
"creatives.containers.Create.templateMarkedFinal": "Template Marked as Final Successfully",
|
|
@@ -1041,6 +1043,22 @@
|
|
|
1041
1043
|
"creatives.containersV2.EmailWrapper.useEditorDesc": "Create using in-built template",
|
|
1042
1044
|
"creatives.containersV2.EmailWrapper.zipUpload": "Upload zip file",
|
|
1043
1045
|
"creatives.containersV2.EmailWrapper.zipUploadDesc": "Upload compressed file (Zip) containing HTML & images",
|
|
1046
|
+
"creatives.containersV2.FTP.addColumn": "Add column",
|
|
1047
|
+
"creatives.containersV2.FTP.addLabel": "Add Labels",
|
|
1048
|
+
"creatives.containersV2.FTP.change": "Change",
|
|
1049
|
+
"creatives.containersV2.FTP.configureCsv": "Configure CSV",
|
|
1050
|
+
"creatives.containersV2.FTP.customerID": "Customer ID",
|
|
1051
|
+
"creatives.containersV2.FTP.dataPreview": "Data Preview",
|
|
1052
|
+
"creatives.containersV2.FTP.done": "Done",
|
|
1053
|
+
"creatives.containersV2.FTP.ftpServer": "FTP Server",
|
|
1054
|
+
"creatives.containersV2.FTP.ftpServerDesc": "Select the FTP server to send the message data. To add another FTP location,",
|
|
1055
|
+
"creatives.containersV2.FTP.manageFTPSettings": "manage FTP settings",
|
|
1056
|
+
"creatives.containersV2.FTP.messageContent": "Message Content",
|
|
1057
|
+
"creatives.containersV2.FTP.messageHeader": "Message",
|
|
1058
|
+
"creatives.containersV2.FTP.optional": "(optional)",
|
|
1059
|
+
"creatives.containersV2.FTP.selectFtpServerDesc": "FTP not configured for this org. Please add FTP server",
|
|
1060
|
+
"creatives.containersV2.FTP.selectTag": "Select tag",
|
|
1061
|
+
"creatives.containersV2.FTP.unsupportedTagsValidationError": "Unsupported tags: {unsupportedTags}. Please remove them from this message.",
|
|
1044
1062
|
"creatives.containersV2.Facebook.fbAccount": "Facebook Account",
|
|
1045
1063
|
"creatives.containersV2.Facebook.fbAdCampaignSetDetailsDescription": "Once this message is approved, a campaign and an ad set will be created on Facebook Ad Manager with the same name as the current campaign and message name.",
|
|
1046
1064
|
"creatives.containersV2.Facebook.fbAdCampaignSetDetailsTitle": "Ad campaign & ad set details",
|
|
@@ -1160,6 +1178,37 @@
|
|
|
1160
1178
|
"creatives.containersV2.LineImageCarousel.uploadImageDescription": "The relevant image that complements the message context.",
|
|
1161
1179
|
"creatives.containersV2.LineImageCarousel.uploadImageLabel": "Upload Image",
|
|
1162
1180
|
"creatives.containersV2.LineImageCarousel.urlActionTypeTitle": "URL",
|
|
1181
|
+
"creatives.containersV2.LineImageMap.customAssetDesc": "Supported image sizes are 1040 × 520–2080 px for custom templates.",
|
|
1182
|
+
"creatives.containersV2.LineImageMap.dragAndDrop": "Drag and drop image here",
|
|
1183
|
+
"creatives.containersV2.LineImageMap.emptyAltTextErrorMessage": "Title can not be empty",
|
|
1184
|
+
"creatives.containersV2.LineImageMap.emptyTitleErrorMessage": "Template title can not be empty",
|
|
1185
|
+
"creatives.containersV2.LineImageMap.imageDimenstionDescription": "Dimensions: {dimensions} Size: Up to 10MB",
|
|
1186
|
+
"creatives.containersV2.LineImageMap.imageGallery": "Gallery",
|
|
1187
|
+
"creatives.containersV2.LineImageMap.imageReUpload": "Re upload",
|
|
1188
|
+
"creatives.containersV2.LineImageMap.lineImageMapIncorrectSize": "Please upload the image with correct type, size and dimension",
|
|
1189
|
+
"creatives.containersV2.LineImageMap.lineTemplateImageMap": "Line templates - ImageMap",
|
|
1190
|
+
"creatives.containersV2.LineImageMap.linkDescription": "Add URL link/s to different parts of uploaded image.",
|
|
1191
|
+
"creatives.containersV2.LineImageMap.linkUrl": "Enter URL link",
|
|
1192
|
+
"creatives.containersV2.LineImageMap.or": "OR",
|
|
1193
|
+
"creatives.containersV2.LineImageMap.richMsgDesc": "Use this to send out interactive content featuring images you've selected.",
|
|
1194
|
+
"creatives.containersV2.LineImageMap.richMsgHeader": "Rich message",
|
|
1195
|
+
"creatives.containersV2.LineImageMap.searchImageMaps": "Search ImageMaps",
|
|
1196
|
+
"creatives.containersV2.LineImageMap.select": "Select",
|
|
1197
|
+
"creatives.containersV2.LineImageMap.selectTemplateDesc": "Select a template and upload an image to preview your message",
|
|
1198
|
+
"creatives.containersV2.LineImageMap.squareAssetDesc": "Supported image sizes are 1040 × 1040 px for square templates.",
|
|
1199
|
+
"creatives.containersV2.LineImageMap.textMessageAddLabel": "How do you want to upload the image map?",
|
|
1200
|
+
"creatives.containersV2.LineImageMap.textMessageCreateNew": "Create new",
|
|
1201
|
+
"creatives.containersV2.LineImageMap.textMessageORLabel": "OR",
|
|
1202
|
+
"creatives.containersV2.LineImageMap.textMessageSelectTemplate": "Select template",
|
|
1203
|
+
"creatives.containersV2.LineImageMap.textMessageTitleLabel": "Template name",
|
|
1204
|
+
"creatives.containersV2.LineImageMap.textMessageTitlePlaceholder": "Enter template name",
|
|
1205
|
+
"creatives.containersV2.LineImageMap.titleDescription": "The title is shown in push notifications and in the user's chat list.",
|
|
1206
|
+
"creatives.containersV2.LineImageMap.titleLabel": "Title",
|
|
1207
|
+
"creatives.containersV2.LineImageMap.uploadComputer": "Your computer",
|
|
1208
|
+
"creatives.containersV2.LineImageMap.uploadGallery": "Gallery",
|
|
1209
|
+
"creatives.containersV2.LineImageMap.uploadImageDesc": "The relevant image that complements the message context.",
|
|
1210
|
+
"creatives.containersV2.LineImageMap.uploadImageLabel": "Upload Image",
|
|
1211
|
+
"creatives.containersV2.LineImageMap.validUrl": "Please enter a valid URL",
|
|
1163
1212
|
"creatives.containersV2.LineSticker.changeStickerButtonLabel": "Change sticker",
|
|
1164
1213
|
"creatives.containersV2.LineSticker.emptyTitleErrorMessage": "Template title can not be empty",
|
|
1165
1214
|
"creatives.containersV2.LineSticker.selectStickersLabels": "Select stickers",
|
|
@@ -1432,6 +1481,7 @@
|
|
|
1432
1481
|
"creatives.containersV2.Templates.noAccountMessage": "Please select an account to proceed",
|
|
1433
1482
|
"creatives.containersV2.Templates.noAccountsPresent": "Push notifications are not setup for your brand",
|
|
1434
1483
|
"creatives.containersV2.Templates.noAccountsPresentLine": "Line accounts are not setup for your brand",
|
|
1484
|
+
"creatives.containersV2.Templates.noAccountsPresentViber": "Viber accounts are not setup for your brand",
|
|
1435
1485
|
"creatives.containersV2.Templates.noAccountsPresentWeChat": "Wechat accounts are not setup for your brand",
|
|
1436
1486
|
"creatives.containersV2.Templates.noTemplatesFound": "No templates found",
|
|
1437
1487
|
"creatives.containersV2.Templates.noTemplatesMessage": "No templates available",
|
|
@@ -1470,6 +1520,7 @@
|
|
|
1470
1520
|
"creatives.containersV2.Templates.wechatHeader": "WECHAT",
|
|
1471
1521
|
"creatives.containersV2.Templates.yesText": "Yes",
|
|
1472
1522
|
"creatives.containersV2.Templates.zipUploadFailed": "Failed to upload zip file",
|
|
1523
|
+
"creatives.containersV2.TemplatesV2.FTP": "FTP",
|
|
1473
1524
|
"creatives.containersV2.TemplatesV2.callTask": "Call Task",
|
|
1474
1525
|
"creatives.containersV2.TemplatesV2.creatives": "Creatives",
|
|
1475
1526
|
"creatives.containersV2.TemplatesV2.creativesDesc": "These are pre-built templates which you could use to customize your message content.",
|
|
@@ -1482,6 +1533,7 @@
|
|
|
1482
1533
|
"creatives.containersV2.TemplatesV2.pushNotification": "Push notification",
|
|
1483
1534
|
"creatives.containersV2.TemplatesV2.select": "Select",
|
|
1484
1535
|
"creatives.containersV2.TemplatesV2.sms": "SMS",
|
|
1536
|
+
"creatives.containersV2.TemplatesV2.viber": "Viber",
|
|
1485
1537
|
"creatives.containersV2.TemplatesV2.wechat": "Wechat",
|
|
1486
1538
|
"creatives.containersV2.TestPage.header": "Looks like youas are lost!",
|
|
1487
1539
|
"creatives.containersV2.Testv2.descriptionTestv2": "Description of Testv2",
|
|
@@ -1610,6 +1662,41 @@
|
|
|
1610
1662
|
"creatives.containersV2.richMedia.Create.wechatTitle": "Title",
|
|
1611
1663
|
"creatives.containersV2.richMedia.Create.wrongFormatFile": "Wrong file upoaded. Please upload image file",
|
|
1612
1664
|
"creatives.containersV2.richMedia.Create.wrongUrl": "Enter correct URL",
|
|
1665
|
+
"creatives.containersV2.viber.addLabels": "Add labels",
|
|
1666
|
+
"creatives.containersV2.viber.button": "Button",
|
|
1667
|
+
"creatives.containersV2.viber.buttonText": "Button text",
|
|
1668
|
+
"creatives.containersV2.viber.buttonUrl": "Button url",
|
|
1669
|
+
"creatives.containersV2.viber.cancelButtonLabel": "Cancel",
|
|
1670
|
+
"creatives.containersV2.viber.characters": "characters",
|
|
1671
|
+
"creatives.containersV2.viber.doneButtonLabel": "Done",
|
|
1672
|
+
"creatives.containersV2.viber.dragAndDrop": "Drag and drop image here",
|
|
1673
|
+
"creatives.containersV2.viber.emptyContentErrorMessage": "Template content can not be empty",
|
|
1674
|
+
"creatives.containersV2.viber.emptyTitleErrorMessage": "Template title can not be empty",
|
|
1675
|
+
"creatives.containersV2.viber.gettingAllTemplates": "Getting all templates...",
|
|
1676
|
+
"creatives.containersV2.viber.image": "Image",
|
|
1677
|
+
"creatives.containersV2.viber.imageDesc": "The relevant image that complements the message context.",
|
|
1678
|
+
"creatives.containersV2.viber.imageDimenstionDescription": "Dimensions: 300px x 400px",
|
|
1679
|
+
"creatives.containersV2.viber.imageGallery": "Gallery",
|
|
1680
|
+
"creatives.containersV2.viber.imageReUpload": "Re upload",
|
|
1681
|
+
"creatives.containersV2.viber.imageSizeDescription": "Size: 10mb",
|
|
1682
|
+
"creatives.containersV2.viber.inValidUrliErrorMessage": "Button URL is not valid",
|
|
1683
|
+
"creatives.containersV2.viber.invalidTagError": "Please check the message content for unsupported/missing tags",
|
|
1684
|
+
"creatives.containersV2.viber.limitExceededContentErrorMessage": "Template content can not be more than 1000",
|
|
1685
|
+
"creatives.containersV2.viber.message": "Message",
|
|
1686
|
+
"creatives.containersV2.viber.optional": "(optional)",
|
|
1687
|
+
"creatives.containersV2.viber.or": "OR",
|
|
1688
|
+
"creatives.containersV2.viber.search": "Search",
|
|
1689
|
+
"creatives.containersV2.viber.textMessage": "Text message",
|
|
1690
|
+
"creatives.containersV2.viber.textMessageTitleLabel": "Creative name",
|
|
1691
|
+
"creatives.containersV2.viber.textMessageTitlePlaceholder": "Enter template name",
|
|
1692
|
+
"creatives.containersV2.viber.uploadComputer": "Your computer",
|
|
1693
|
+
"creatives.containersV2.viber.uploadGallery": "Gallery",
|
|
1694
|
+
"creatives.containersV2.viber.uploadImage": "Upload Image",
|
|
1695
|
+
"creatives.containersV2.viber.uploadImageDescription": "The relevant image that complements the message context.",
|
|
1696
|
+
"creatives.containersV2.viber.viberCreateNotification": "Viber template created successfully",
|
|
1697
|
+
"creatives.containersV2.viber.viberCreativeTitle": "Viber creative",
|
|
1698
|
+
"creatives.containersV2.viber.viberEditNotification": "Viber template updated successfully",
|
|
1699
|
+
"creatives.containersV2.viber.viberImageIncorrectSize": "Please upload the image with correct type, size and dimension",
|
|
1613
1700
|
"customdatepicker.cancel": "Cancel",
|
|
1614
1701
|
"customdatepicker.done": "Done",
|
|
1615
1702
|
"reon.components.Cap.Workbench": "WorkBench",
|
package/translations/zh.json
CHANGED
|
@@ -120,6 +120,8 @@
|
|
|
120
120
|
"creatives.componentsV2.EmailPreviewV2.subject": "",
|
|
121
121
|
"creatives.componentsV2.EmailPreviewV2.tablet": "",
|
|
122
122
|
"creatives.componentsV2.EmailPreviewV2.uploadedBy": "",
|
|
123
|
+
"creatives.componentsV2.FTP.message": "",
|
|
124
|
+
"creatives.componentsV2.FTP.search": "",
|
|
123
125
|
"creatives.componentsV2.Footer.header": "",
|
|
124
126
|
"creatives.componentsV2.FormBuilder.cancel": "",
|
|
125
127
|
"creatives.componentsV2.FormBuilder.contentNotValidLanguage": "",
|
|
@@ -1041,6 +1043,22 @@
|
|
|
1041
1043
|
"creatives.containersV2.EmailWrapper.useEditorDesc": "",
|
|
1042
1044
|
"creatives.containersV2.EmailWrapper.zipUpload": "",
|
|
1043
1045
|
"creatives.containersV2.EmailWrapper.zipUploadDesc": "",
|
|
1046
|
+
"creatives.containersV2.FTP.addColumn": "",
|
|
1047
|
+
"creatives.containersV2.FTP.addLabel": "",
|
|
1048
|
+
"creatives.containersV2.FTP.change": "",
|
|
1049
|
+
"creatives.containersV2.FTP.configureCsv": "",
|
|
1050
|
+
"creatives.containersV2.FTP.customerID": "",
|
|
1051
|
+
"creatives.containersV2.FTP.dataPreview": "",
|
|
1052
|
+
"creatives.containersV2.FTP.done": "",
|
|
1053
|
+
"creatives.containersV2.FTP.ftpServer": "",
|
|
1054
|
+
"creatives.containersV2.FTP.ftpServerDesc": "",
|
|
1055
|
+
"creatives.containersV2.FTP.manageFTPSettings": "",
|
|
1056
|
+
"creatives.containersV2.FTP.messageContent": "",
|
|
1057
|
+
"creatives.containersV2.FTP.messageHeader": "",
|
|
1058
|
+
"creatives.containersV2.FTP.optional": "",
|
|
1059
|
+
"creatives.containersV2.FTP.selectFtpServerDesc": "",
|
|
1060
|
+
"creatives.containersV2.FTP.selectTag": "",
|
|
1061
|
+
"creatives.containersV2.FTP.unsupportedTagsValidationError": "",
|
|
1044
1062
|
"creatives.containersV2.Facebook.fbAccount": "",
|
|
1045
1063
|
"creatives.containersV2.Facebook.fbAdCampaignSetDetailsDescription": "",
|
|
1046
1064
|
"creatives.containersV2.Facebook.fbAdCampaignSetDetailsTitle": "",
|
|
@@ -1160,6 +1178,37 @@
|
|
|
1160
1178
|
"creatives.containersV2.LineImageCarousel.uploadImageDescription": "",
|
|
1161
1179
|
"creatives.containersV2.LineImageCarousel.uploadImageLabel": "",
|
|
1162
1180
|
"creatives.containersV2.LineImageCarousel.urlActionTypeTitle": "",
|
|
1181
|
+
"creatives.containersV2.LineImageMap.customAssetDesc": "",
|
|
1182
|
+
"creatives.containersV2.LineImageMap.dragAndDrop": "",
|
|
1183
|
+
"creatives.containersV2.LineImageMap.emptyAltTextErrorMessage": "",
|
|
1184
|
+
"creatives.containersV2.LineImageMap.emptyTitleErrorMessage": "",
|
|
1185
|
+
"creatives.containersV2.LineImageMap.imageDimenstionDescription": "",
|
|
1186
|
+
"creatives.containersV2.LineImageMap.imageGallery": "",
|
|
1187
|
+
"creatives.containersV2.LineImageMap.imageReUpload": "",
|
|
1188
|
+
"creatives.containersV2.LineImageMap.lineImageMapIncorrectSize": "",
|
|
1189
|
+
"creatives.containersV2.LineImageMap.lineTemplateImageMap": "",
|
|
1190
|
+
"creatives.containersV2.LineImageMap.linkDescription": "",
|
|
1191
|
+
"creatives.containersV2.LineImageMap.linkUrl": "",
|
|
1192
|
+
"creatives.containersV2.LineImageMap.or": "",
|
|
1193
|
+
"creatives.containersV2.LineImageMap.richMsgDesc": "",
|
|
1194
|
+
"creatives.containersV2.LineImageMap.richMsgHeader": "",
|
|
1195
|
+
"creatives.containersV2.LineImageMap.searchImageMaps": "",
|
|
1196
|
+
"creatives.containersV2.LineImageMap.select": "",
|
|
1197
|
+
"creatives.containersV2.LineImageMap.selectTemplateDesc": "",
|
|
1198
|
+
"creatives.containersV2.LineImageMap.squareAssetDesc": "",
|
|
1199
|
+
"creatives.containersV2.LineImageMap.textMessageAddLabel": "",
|
|
1200
|
+
"creatives.containersV2.LineImageMap.textMessageCreateNew": "",
|
|
1201
|
+
"creatives.containersV2.LineImageMap.textMessageORLabel": "",
|
|
1202
|
+
"creatives.containersV2.LineImageMap.textMessageSelectTemplate": "",
|
|
1203
|
+
"creatives.containersV2.LineImageMap.textMessageTitleLabel": "",
|
|
1204
|
+
"creatives.containersV2.LineImageMap.textMessageTitlePlaceholder": "",
|
|
1205
|
+
"creatives.containersV2.LineImageMap.titleDescription": "",
|
|
1206
|
+
"creatives.containersV2.LineImageMap.titleLabel": "",
|
|
1207
|
+
"creatives.containersV2.LineImageMap.uploadComputer": "",
|
|
1208
|
+
"creatives.containersV2.LineImageMap.uploadGallery": "",
|
|
1209
|
+
"creatives.containersV2.LineImageMap.uploadImageDesc": "",
|
|
1210
|
+
"creatives.containersV2.LineImageMap.uploadImageLabel": "",
|
|
1211
|
+
"creatives.containersV2.LineImageMap.validUrl": "",
|
|
1163
1212
|
"creatives.containersV2.LineSticker.changeStickerButtonLabel": "",
|
|
1164
1213
|
"creatives.containersV2.LineSticker.emptyTitleErrorMessage": "",
|
|
1165
1214
|
"creatives.containersV2.LineSticker.selectStickersLabels": "",
|
|
@@ -1432,6 +1481,7 @@
|
|
|
1432
1481
|
"creatives.containersV2.Templates.noAccountMessage": "",
|
|
1433
1482
|
"creatives.containersV2.Templates.noAccountsPresent": "",
|
|
1434
1483
|
"creatives.containersV2.Templates.noAccountsPresentLine": "",
|
|
1484
|
+
"creatives.containersV2.Templates.noAccountsPresentViber": "",
|
|
1435
1485
|
"creatives.containersV2.Templates.noAccountsPresentWeChat": "",
|
|
1436
1486
|
"creatives.containersV2.Templates.noTemplatesFound": "",
|
|
1437
1487
|
"creatives.containersV2.Templates.noTemplatesMessage": "",
|
|
@@ -1470,6 +1520,7 @@
|
|
|
1470
1520
|
"creatives.containersV2.Templates.wechatHeader": "",
|
|
1471
1521
|
"creatives.containersV2.Templates.yesText": "",
|
|
1472
1522
|
"creatives.containersV2.Templates.zipUploadFailed": "",
|
|
1523
|
+
"creatives.containersV2.TemplatesV2.FTP": "",
|
|
1473
1524
|
"creatives.containersV2.TemplatesV2.callTask": "",
|
|
1474
1525
|
"creatives.containersV2.TemplatesV2.creatives": "",
|
|
1475
1526
|
"creatives.containersV2.TemplatesV2.creativesDesc": "",
|
|
@@ -1482,6 +1533,7 @@
|
|
|
1482
1533
|
"creatives.containersV2.TemplatesV2.pushNotification": "",
|
|
1483
1534
|
"creatives.containersV2.TemplatesV2.select": "",
|
|
1484
1535
|
"creatives.containersV2.TemplatesV2.sms": "",
|
|
1536
|
+
"creatives.containersV2.TemplatesV2.viber": "",
|
|
1485
1537
|
"creatives.containersV2.TemplatesV2.wechat": "",
|
|
1486
1538
|
"creatives.containersV2.TestPage.header": "",
|
|
1487
1539
|
"creatives.containersV2.Testv2.descriptionTestv2": "",
|
|
@@ -1610,6 +1662,41 @@
|
|
|
1610
1662
|
"creatives.containersV2.richMedia.Create.wechatTitle": "",
|
|
1611
1663
|
"creatives.containersV2.richMedia.Create.wrongFormatFile": "",
|
|
1612
1664
|
"creatives.containersV2.richMedia.Create.wrongUrl": "",
|
|
1665
|
+
"creatives.containersV2.viber.addLabels": "",
|
|
1666
|
+
"creatives.containersV2.viber.button": "",
|
|
1667
|
+
"creatives.containersV2.viber.buttonText": "",
|
|
1668
|
+
"creatives.containersV2.viber.buttonUrl": "",
|
|
1669
|
+
"creatives.containersV2.viber.cancelButtonLabel": "",
|
|
1670
|
+
"creatives.containersV2.viber.characters": "",
|
|
1671
|
+
"creatives.containersV2.viber.doneButtonLabel": "",
|
|
1672
|
+
"creatives.containersV2.viber.dragAndDrop": "",
|
|
1673
|
+
"creatives.containersV2.viber.emptyContentErrorMessage": "",
|
|
1674
|
+
"creatives.containersV2.viber.emptyTitleErrorMessage": "",
|
|
1675
|
+
"creatives.containersV2.viber.gettingAllTemplates": "",
|
|
1676
|
+
"creatives.containersV2.viber.image": "",
|
|
1677
|
+
"creatives.containersV2.viber.imageDesc": "",
|
|
1678
|
+
"creatives.containersV2.viber.imageDimenstionDescription": "",
|
|
1679
|
+
"creatives.containersV2.viber.imageGallery": "",
|
|
1680
|
+
"creatives.containersV2.viber.imageReUpload": "",
|
|
1681
|
+
"creatives.containersV2.viber.imageSizeDescription": "",
|
|
1682
|
+
"creatives.containersV2.viber.inValidUrliErrorMessage": "",
|
|
1683
|
+
"creatives.containersV2.viber.invalidTagError": "",
|
|
1684
|
+
"creatives.containersV2.viber.limitExceededContentErrorMessage": "",
|
|
1685
|
+
"creatives.containersV2.viber.message": "",
|
|
1686
|
+
"creatives.containersV2.viber.optional": "",
|
|
1687
|
+
"creatives.containersV2.viber.or": "",
|
|
1688
|
+
"creatives.containersV2.viber.search": "",
|
|
1689
|
+
"creatives.containersV2.viber.textMessage": "",
|
|
1690
|
+
"creatives.containersV2.viber.textMessageTitleLabel": "",
|
|
1691
|
+
"creatives.containersV2.viber.textMessageTitlePlaceholder": "",
|
|
1692
|
+
"creatives.containersV2.viber.uploadComputer": "",
|
|
1693
|
+
"creatives.containersV2.viber.uploadGallery": "",
|
|
1694
|
+
"creatives.containersV2.viber.uploadImage": "",
|
|
1695
|
+
"creatives.containersV2.viber.uploadImageDescription": "",
|
|
1696
|
+
"creatives.containersV2.viber.viberCreateNotification": "",
|
|
1697
|
+
"creatives.containersV2.viber.viberCreativeTitle": "",
|
|
1698
|
+
"creatives.containersV2.viber.viberEditNotification": "",
|
|
1699
|
+
"creatives.containersV2.viber.viberImageIncorrectSize": "",
|
|
1613
1700
|
"customdatepicker.cancel": "",
|
|
1614
1701
|
"customdatepicker.done": "",
|
|
1615
1702
|
"reon.components.Cap.Workbench": "",
|
package/utils/common.js
CHANGED
|
@@ -100,7 +100,7 @@ export function getTreeStructuredTags({tagsList, userLocale = 'en', offerDetails
|
|
|
100
100
|
return getTreeStructureData(combinedTags);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
function transformCouponTags(offerDetails, allTags
|
|
103
|
+
function transformCouponTags(offerDetails, allTags) {
|
|
104
104
|
const couponTags = {};
|
|
105
105
|
const couponTagsKeys = Object.keys(_.get(allTags, 'coupon.subtags', []));
|
|
106
106
|
const withCouponId = (obj, id) => {
|
|
@@ -151,7 +151,7 @@ function transformCouponTags(offerDetails, allTags = []) {
|
|
|
151
151
|
};
|
|
152
152
|
});
|
|
153
153
|
// eslint-disable-next-line no-param-reassign
|
|
154
|
-
|
|
154
|
+
allTags.coupon.subtags = couponTags;
|
|
155
155
|
return allTags;
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -435,7 +435,7 @@ export class Gallery extends React.Component { // eslint-disable-line react/pref
|
|
|
435
435
|
!this.props.isLineAsset && (
|
|
436
436
|
<div style={{ textAlign: 'right', marginTop: '16px', width: '50%'}}>
|
|
437
437
|
<form encType="multipart/form-data" id="myForm">
|
|
438
|
-
<input style={{ display: 'none'}} id="fileName" type="file" onChange={(e) => this.uploadImages(e, {files: e.target.files})} accept="image/*" multiple/>
|
|
438
|
+
<input style={{ display: 'none'}} id="fileName" type="file" onClick={(e) => {e.target.value=null}} onChange={(e) => this.uploadImages(e, {files: e.target.files})} accept="image/*" multiple/>
|
|
439
439
|
<CapButton className="upload-image-gallery" type={this.props.location.query.type !== 'embedded' ? 'primary' : 'secondary'} onClick={(e) => this.openFileDialog(e)} style={{float: 'right'}}>
|
|
440
440
|
<FormattedMessage {...messages.upload} />
|
|
441
441
|
</CapButton>
|
|
@@ -444,7 +444,7 @@ export class Gallery extends React.Component { // eslint-disable-line react/pref
|
|
|
444
444
|
)
|
|
445
445
|
}
|
|
446
446
|
</div>
|
|
447
|
-
) : <input style={{ display: 'none'}} id="fileName" type="file" onChange={(e) => this.uploadImages(e, {files: e.target.files})} accept="image/*" multiple/>;
|
|
447
|
+
) : <input style={{ display: 'none'}} id="fileName" type="file" onClick={(e) => {e.target.value=null}} onChange={(e) => this.uploadImages(e, {files: e.target.files})} accept="image/*" multiple/>;
|
|
448
448
|
const isLoading = this.props.Gallery.assetUploading || this.props.Gallery.fetchingAllAssets;
|
|
449
449
|
const loadingTip = <FormattedMessage {...messages.loadingGallery} />;
|
|
450
450
|
|
|
@@ -319,7 +319,7 @@ export class FTP extends React.Component {
|
|
|
319
319
|
dropdownClassName="select-csv-col-dropdown"
|
|
320
320
|
treeData={tagsWithoutOptout}
|
|
321
321
|
className="select-csv-column"
|
|
322
|
-
value={
|
|
322
|
+
value={item.header}
|
|
323
323
|
onChange={(option, label) => this.selectCsvColumn(option, label, index)}
|
|
324
324
|
showSearch
|
|
325
325
|
searchPlaceholder={
|
|
@@ -75,10 +75,6 @@ export default defineMessages({
|
|
|
75
75
|
id: `${scope}.linkDescription`,
|
|
76
76
|
defaultMessage: 'Add URL link/s to different parts of uploaded image.'
|
|
77
77
|
},
|
|
78
|
-
"linkUrl": {
|
|
79
|
-
id: `${scope}.linkUrl`,
|
|
80
|
-
defaultMessage: 'Link URL'
|
|
81
|
-
},
|
|
82
78
|
"validUrl": {
|
|
83
79
|
id: `${scope}.validUrl`,
|
|
84
80
|
defaultMessage: 'Please enter a valid URL'
|