@capillarytech/creatives-library 7.14.19 → 7.14.20

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.14.19",
4
+ "version": "7.14.20",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -691,6 +691,7 @@ export function SlideBoxContent(props) {
691
691
  templateData={templateData}
692
692
  selectedAccount={selectedAccount}
693
693
  handleClose={handleClose}
694
+ selectedOfferDetails={selectedOfferDetails}
694
695
  />
695
696
  )
696
697
  }
@@ -708,6 +709,7 @@ export function SlideBoxContent(props) {
708
709
  onShowTemplates={onShowTemplates}
709
710
  createNew
710
711
  handleClose={handleClose}
712
+ selectedOfferDetails={selectedOfferDetails}
711
713
  />
712
714
  )
713
715
  }
@@ -41,6 +41,7 @@ export const LineText = ({
41
41
  activeKey,
42
42
  Templates,
43
43
  getAllTemplates,
44
+ selectedOfferDetails,
44
45
  }) => {
45
46
  if (activeKey !== 'text') {
46
47
  return null;
@@ -260,6 +261,7 @@ export const LineText = ({
260
261
  // className={val.className ? val.className : ''}
261
262
  id={`${id}_tags`}
262
263
  userLocale={localStorage.getItem('jlocale') || 'en'}
264
+ selectedOfferDetails={selectedOfferDetails}
263
265
  />
264
266
  </>
265
267
  );
@@ -60,7 +60,7 @@ export const LineContainer = ({
60
60
  createNew,
61
61
  onShowTemplates,
62
62
  handleClose,
63
- additionalProperties
63
+ selectedOfferDetails
64
64
  }) => {
65
65
  const paramObj = params || {};
66
66
  const initialWrapperContent = [{ type: TEXT, isError: true, isInit: true }];
@@ -327,6 +327,7 @@ export const LineContainer = ({
327
327
  uploadedAssetList={uploadedAssetList}
328
328
  deleteUploadedImgList={deleteUploadedImgList}
329
329
  updateUploadedAssetList={updateUploadedAssetList}
330
+ selectedOfferDetails={selectedOfferDetails}
330
331
  />
331
332
  );
332
333
  });
@@ -1072,7 +1072,7 @@ export const Whatsapp = (props) => {
1072
1072
  if (templateMessage.trim() === '' || templateMessageError) {
1073
1073
  return true;
1074
1074
  }
1075
- //if media type is image and image is not uploaded
1075
+ //if media type is image, video or document and the mediaType file is not uploaded
1076
1076
  if ( !isMediaTypeText && karixFileHandle === '') {
1077
1077
  return true;
1078
1078
  }