@capillarytech/creatives-library 8.0.262 → 8.0.264

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 (162) hide show
  1. package/assets/Android.png +0 -0
  2. package/assets/iOS.png +0 -0
  3. package/constants/unified.js +1 -2
  4. package/initialReducer.js +0 -2
  5. package/package.json +1 -1
  6. package/services/api.js +0 -10
  7. package/services/tests/api.test.js +0 -34
  8. package/tests/integration/TemplateCreation/TemplateCreation.integration.test.js +35 -17
  9. package/tests/integration/TemplateCreation/api-response.js +1 -31
  10. package/tests/integration/TemplateCreation/msw-handler.js +0 -2
  11. package/utils/common.js +0 -5
  12. package/utils/commonUtils.js +5 -28
  13. package/utils/tagValidations.js +2 -1
  14. package/utils/tests/commonUtil.test.js +0 -224
  15. package/utils/transformTemplateConfig.js +10 -0
  16. package/v2Components/CapDeviceContent/index.js +56 -61
  17. package/v2Components/CapTagList/index.js +1 -6
  18. package/v2Components/CapTagListWithInput/index.js +1 -5
  19. package/v2Components/CapTagListWithInput/messages.js +1 -1
  20. package/v2Components/CapWhatsappCTA/tests/index.test.js +0 -5
  21. package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +2 -2
  22. package/v2Components/ErrorInfoNote/index.js +72 -402
  23. package/v2Components/ErrorInfoNote/messages.js +6 -32
  24. package/v2Components/ErrorInfoNote/style.scss +6 -278
  25. package/v2Components/FormBuilder/index.js +8 -8
  26. package/v2Components/FormBuilder/tests/index.test.js +4 -13
  27. package/v2Components/HtmlEditor/HTMLEditor.js +99 -416
  28. package/v2Components/HtmlEditor/__tests__/HTMLEditor.test.js +133 -1882
  29. package/v2Components/HtmlEditor/__tests__/index.lazy.test.js +16 -27
  30. package/v2Components/HtmlEditor/_htmlEditor.scss +45 -108
  31. package/v2Components/HtmlEditor/_index.lazy.scss +1 -0
  32. package/v2Components/HtmlEditor/components/CodeEditorPane/_codeEditorPane.scss +102 -23
  33. package/v2Components/HtmlEditor/components/CodeEditorPane/index.js +140 -148
  34. package/v2Components/HtmlEditor/components/DeviceToggle/_deviceToggle.scss +1 -2
  35. package/v2Components/HtmlEditor/components/DeviceToggle/index.js +3 -3
  36. package/v2Components/HtmlEditor/components/EditorToolbar/_editorToolbar.scss +0 -9
  37. package/v2Components/HtmlEditor/components/EditorToolbar/index.js +4 -4
  38. package/v2Components/HtmlEditor/components/FullscreenModal/_fullscreenModal.scss +0 -22
  39. package/v2Components/HtmlEditor/components/InAppPreviewPane/DeviceFrame.js +7 -4
  40. package/v2Components/HtmlEditor/components/InAppPreviewPane/__tests__/DeviceFrame.test.js +45 -35
  41. package/v2Components/HtmlEditor/components/InAppPreviewPane/_inAppPreviewPane.scss +3 -1
  42. package/v2Components/HtmlEditor/components/InAppPreviewPane/constants.js +33 -33
  43. package/v2Components/HtmlEditor/components/InAppPreviewPane/index.js +6 -7
  44. package/v2Components/HtmlEditor/components/PreviewPane/_previewPane.scss +10 -7
  45. package/v2Components/HtmlEditor/components/PreviewPane/index.js +43 -22
  46. package/v2Components/HtmlEditor/components/SplitContainer/_splitContainer.scss +1 -1
  47. package/v2Components/HtmlEditor/components/ValidationErrorDisplay/__tests__/index.test.js +152 -0
  48. package/v2Components/HtmlEditor/components/ValidationErrorDisplay/_validationErrorDisplay.scss +0 -18
  49. package/v2Components/HtmlEditor/components/ValidationErrorDisplay/index.js +31 -36
  50. package/v2Components/HtmlEditor/components/ValidationPanel/_validationPanel.scss +34 -46
  51. package/v2Components/HtmlEditor/components/ValidationPanel/index.js +46 -51
  52. package/v2Components/HtmlEditor/constants.js +20 -42
  53. package/v2Components/HtmlEditor/hooks/__tests__/useInAppContent.test.js +16 -373
  54. package/v2Components/HtmlEditor/hooks/__tests__/useValidation.test.js +16 -351
  55. package/v2Components/HtmlEditor/hooks/useEditorContent.js +2 -5
  56. package/v2Components/HtmlEditor/hooks/useInAppContent.js +146 -88
  57. package/v2Components/HtmlEditor/hooks/useValidation.js +55 -211
  58. package/v2Components/HtmlEditor/index.js +1 -1
  59. package/v2Components/HtmlEditor/messages.js +94 -92
  60. package/v2Components/HtmlEditor/utils/__tests__/htmlValidator.enhanced.test.js +45 -214
  61. package/v2Components/HtmlEditor/utils/__tests__/validationAdapter.test.js +0 -134
  62. package/v2Components/HtmlEditor/utils/contentSanitizer.js +41 -40
  63. package/v2Components/HtmlEditor/utils/htmlValidator.js +72 -71
  64. package/v2Components/HtmlEditor/utils/liquidTemplateSupport.js +102 -134
  65. package/v2Components/HtmlEditor/utils/properSyntaxHighlighting.js +25 -23
  66. package/v2Components/HtmlEditor/utils/validationAdapter.js +41 -66
  67. package/v2Components/MobilePushPreviewV2/index.js +7 -32
  68. package/v2Components/TemplatePreview/_templatePreview.scss +24 -55
  69. package/v2Components/TemplatePreview/index.js +32 -47
  70. package/v2Components/TemplatePreview/messages.js +0 -4
  71. package/v2Components/TestAndPreviewSlidebox/_testAndPreviewSlidebox.scss +0 -1
  72. package/v2Containers/BeeEditor/index.js +90 -172
  73. package/v2Containers/CreativesContainer/SlideBoxContent.js +51 -127
  74. package/v2Containers/CreativesContainer/SlideBoxFooter.js +13 -163
  75. package/v2Containers/CreativesContainer/SlideBoxHeader.js +1 -2
  76. package/v2Containers/CreativesContainer/constants.js +0 -1
  77. package/v2Containers/CreativesContainer/index.js +46 -240
  78. package/v2Containers/CreativesContainer/messages.js +0 -8
  79. package/v2Containers/CreativesContainer/tests/SlideBoxFooter.test.js +2 -11
  80. package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +50 -38
  81. package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +0 -103
  82. package/v2Containers/Email/actions.js +0 -7
  83. package/v2Containers/Email/constants.js +1 -5
  84. package/v2Containers/Email/index.js +29 -234
  85. package/v2Containers/Email/messages.js +0 -32
  86. package/v2Containers/Email/reducer.js +1 -12
  87. package/v2Containers/Email/sagas.js +7 -61
  88. package/v2Containers/Email/tests/__snapshots__/reducer.test.js.snap +0 -2
  89. package/v2Containers/Email/tests/reducer.test.js +0 -46
  90. package/v2Containers/Email/tests/sagas.test.js +29 -320
  91. package/v2Containers/EmailWrapper/components/EmailWrapperView.js +21 -211
  92. package/v2Containers/EmailWrapper/components/HTMLEditorTesting.js +74 -40
  93. package/v2Containers/EmailWrapper/components/__tests__/HTMLEditorTesting.test.js +67 -2
  94. package/v2Containers/EmailWrapper/constants.js +0 -2
  95. package/v2Containers/EmailWrapper/hooks/useEmailWrapper.js +77 -629
  96. package/v2Containers/EmailWrapper/index.js +23 -103
  97. package/v2Containers/EmailWrapper/messages.js +1 -65
  98. package/v2Containers/EmailWrapper/tests/EmailWrapperView.test.js +214 -0
  99. package/v2Containers/EmailWrapper/tests/useEmailWrapper.test.js +77 -594
  100. package/v2Containers/FTP/index.js +1 -1
  101. package/v2Containers/InApp/actions.js +0 -7
  102. package/v2Containers/InApp/constants.js +4 -20
  103. package/v2Containers/InApp/index.js +360 -802
  104. package/v2Containers/InApp/index.scss +3 -4
  105. package/v2Containers/InApp/messages.js +3 -7
  106. package/v2Containers/InApp/reducer.js +3 -21
  107. package/v2Containers/InApp/sagas.js +9 -29
  108. package/v2Containers/InApp/selectors.js +5 -25
  109. package/v2Containers/InApp/tests/index.test.js +50 -154
  110. package/v2Containers/InApp/tests/reducer.test.js +0 -34
  111. package/v2Containers/InApp/tests/sagas.test.js +9 -61
  112. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +0 -3
  113. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +0 -2
  114. package/v2Containers/Line/Container/Text/index.js +1 -0
  115. package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +0 -2
  116. package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +0 -9
  117. package/v2Containers/MobilePushNew/index.js +1 -0
  118. package/v2Containers/Rcs/index.js +3 -0
  119. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +0 -12
  120. package/v2Containers/SmsTrai/Edit/index.js +1 -0
  121. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +0 -4
  122. package/v2Containers/TagList/index.js +19 -62
  123. package/v2Containers/Templates/_templates.scss +1 -60
  124. package/v2Containers/Templates/index.js +4 -89
  125. package/v2Containers/Templates/messages.js +0 -4
  126. package/v2Containers/TemplatesV2/TemplatesV2.style.js +2 -4
  127. package/v2Containers/Viber/index.js +1 -0
  128. package/v2Containers/WebPush/Create/index.js +1 -1
  129. package/v2Containers/WebPush/Create/utils/validation.js +2 -1
  130. package/v2Containers/Whatsapp/index.js +1 -0
  131. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +0 -34
  132. package/v2Containers/Zalo/index.js +1 -0
  133. package/v2Containers/Zalo/tests/index.test.js +1 -5
  134. package/v2Components/ErrorInfoNote/constants.js +0 -1
  135. package/v2Components/HtmlEditor/__tests__/HTMLEditor.apiErrors.test.js +0 -870
  136. package/v2Components/HtmlEditor/components/ValidationPanel/constants.js +0 -6
  137. package/v2Components/HtmlEditor/components/ValidationTabs/_validationTabs.scss +0 -281
  138. package/v2Components/HtmlEditor/components/ValidationTabs/index.js +0 -294
  139. package/v2Components/HtmlEditor/components/ValidationTabs/messages.js +0 -51
  140. package/v2Components/HtmlEditor/utils/validationConstants.js +0 -38
  141. package/v2Containers/BeePopupEditor/_beePopupEditor.scss +0 -14
  142. package/v2Containers/BeePopupEditor/constants.js +0 -10
  143. package/v2Containers/BeePopupEditor/index.js +0 -194
  144. package/v2Containers/BeePopupEditor/tests/index.test.js +0 -627
  145. package/v2Containers/EmailWrapper/components/EmailHTMLEditor.js +0 -1246
  146. package/v2Containers/EmailWrapper/components/__tests__/EmailHTMLEditor.test.js +0 -2472
  147. package/v2Containers/EmailWrapper/components/__tests__/EmailWrapperView.test.js +0 -520
  148. package/v2Containers/EmailWrapper/tests/useEmailWrapper.edgeCases.test.js +0 -956
  149. package/v2Containers/InApp/__tests__/InAppHTMLEditor.test.js +0 -376
  150. package/v2Containers/InApp/__tests__/sagas.test.js +0 -363
  151. package/v2Containers/InApp/tests/selectors.test.js +0 -612
  152. package/v2Containers/InAppWrapper/components/InAppWrapperView.js +0 -151
  153. package/v2Containers/InAppWrapper/components/__tests__/InAppWrapperView.test.js +0 -267
  154. package/v2Containers/InAppWrapper/components/inAppWrapperView.scss +0 -23
  155. package/v2Containers/InAppWrapper/constants.js +0 -16
  156. package/v2Containers/InAppWrapper/hooks/__tests__/useInAppWrapper.test.js +0 -473
  157. package/v2Containers/InAppWrapper/hooks/useInAppWrapper.js +0 -198
  158. package/v2Containers/InAppWrapper/index.js +0 -148
  159. package/v2Containers/InAppWrapper/messages.js +0 -49
  160. package/v2Containers/InappAdvance/index.js +0 -1099
  161. package/v2Containers/InappAdvance/index.scss +0 -10
  162. package/v2Containers/InappAdvance/tests/index.test.js +0 -448
@@ -558,10 +558,6 @@ export default defineMessages({
558
558
  id: `${scope}.rcsOnlyApprovedTemplates`,
559
559
  defaultMessage: 'Only "Approved" templates are available here, as you can use those templates to create a message.',
560
560
  },
561
- "layout": {
562
- id: `${scope}.layout`,
563
- defaultMessage: `Layout`,
564
- },
565
561
  "status": {
566
562
  id: `${scope}.status`,
567
563
  defaultMessage: 'Status',
@@ -14,10 +14,8 @@ export default css`
14
14
  margin: 0 auto;
15
15
  width: 100%;
16
16
  padding: ${CAP_SPACE_24} 0;
17
- /* Only main channel tabs content, not HTML Editor validation panel tabs */
18
- > .cap-tab-v2 > .ant-tabs-content-holder > .ant-tabs-content,
19
- > .cap-tab-v2 > .ant-tabs-content {
20
- margin-top: ${CAP_SPACE_16};
17
+ .ant-tabs-content{
18
+ margin-top: ${CAP_SPACE_16}
21
19
  }
22
20
  ` : `.cap-tab-v2 {
23
21
  height: calc(100vh - 11.25rem);
@@ -237,6 +237,7 @@ export const Viber = (props) => {
237
237
  injectedTagsParams: injectedTags,
238
238
  location,
239
239
  tagModule: 'outbound',
240
+ isFullMode,
240
241
  }) || {};
241
242
  if (value.trim() === '') {
242
243
  errorMessage = formatMessage(messages.emptyContentErrorMessage);
@@ -309,7 +309,7 @@ const WebPushCreate = ({
309
309
 
310
310
 
311
311
  const validateMessageContent = useCallback(
312
- (value) => validateMessageContentUtil(value, formatMessage, messages, validationConfig),
312
+ (value) => validateMessageContentUtil(value, formatMessage, messages, validationConfig, isFullMode),
313
313
  [formatMessage, validationConfig],
314
314
  );
315
315
 
@@ -50,7 +50,7 @@ export const validateUrl = (value, formatMessage, messages) => {
50
50
  * @param {Object} validationConfig - Configuration for tag validation
51
51
  * @returns {string} Error message if invalid, empty string if valid
52
52
  */
53
- export const validateMessageContent = (value, formatMessage, messages, validationConfig) => {
53
+ export const validateMessageContent = (value, formatMessage, messages, validationConfig, isFullMode) => {
54
54
  if (!value || value.trim() === '') {
55
55
  return formatMessage(messages.messageRequired);
56
56
  }
@@ -58,6 +58,7 @@ export const validateMessageContent = (value, formatMessage, messages, validatio
58
58
  const validationResponse = validateTags({
59
59
  content: value,
60
60
  ...validationConfig,
61
+ isFullMode,
61
62
  }) || {};
62
63
 
63
64
  if (validationResponse?.unsupportedTags?.length) {
@@ -641,6 +641,7 @@ export const Whatsapp = (props) => {
641
641
  location,
642
642
  tagModule: getDefaultTags,
643
643
  eventContextTags,
644
+ isFullMode,
644
645
  }) || {};
645
646
  const unsupportedTagsLengthCheck =
646
647
  validationResponse?.unsupportedTags?.length > 0;
@@ -2281,7 +2281,6 @@ new message content.",
2281
2281
  "email": [Function],
2282
2282
  "facebookPreview": [Function],
2283
2283
  "gallery": [Function],
2284
- "inApp": [Function],
2285
2284
  "language": [Function],
2286
2285
  "navigationConfig": [Function],
2287
2286
  "previewAndTest": [Function],
@@ -23690,7 +23689,6 @@ new message content.",
23690
23689
  "email": [Function],
23691
23690
  "facebookPreview": [Function],
23692
23691
  "gallery": [Function],
23693
- "inApp": [Function],
23694
23692
  "language": [Function],
23695
23693
  "navigationConfig": [Function],
23696
23694
  "previewAndTest": [Function],
@@ -47215,7 +47213,6 @@ new message content.",
47215
47213
  "email": [Function],
47216
47214
  "facebookPreview": [Function],
47217
47215
  "gallery": [Function],
47218
- "inApp": [Function],
47219
47216
  "language": [Function],
47220
47217
  "navigationConfig": [Function],
47221
47218
  "previewAndTest": [Function],
@@ -71728,7 +71725,6 @@ new message content.",
71728
71725
  "email": [Function],
71729
71726
  "facebookPreview": [Function],
71730
71727
  "gallery": [Function],
71731
- "inApp": [Function],
71732
71728
  "language": [Function],
71733
71729
  "navigationConfig": [Function],
71734
71730
  "previewAndTest": [Function],
@@ -98538,7 +98534,6 @@ new message content.",
98538
98534
  "email": [Function],
98539
98535
  "facebookPreview": [Function],
98540
98536
  "gallery": [Function],
98541
- "inApp": [Function],
98542
98537
  "language": [Function],
98543
98538
  "navigationConfig": [Function],
98544
98539
  "previewAndTest": [Function],
@@ -119977,7 +119972,6 @@ new message content.",
119977
119972
  "email": [Function],
119978
119973
  "facebookPreview": [Function],
119979
119974
  "gallery": [Function],
119980
- "inApp": [Function],
119981
119975
  "language": [Function],
119982
119976
  "navigationConfig": [Function],
119983
119977
  "previewAndTest": [Function],
@@ -141386,7 +141380,6 @@ new message content.",
141386
141380
  "email": [Function],
141387
141381
  "facebookPreview": [Function],
141388
141382
  "gallery": [Function],
141389
- "inApp": [Function],
141390
141383
  "language": [Function],
141391
141384
  "navigationConfig": [Function],
141392
141385
  "previewAndTest": [Function],
@@ -166807,7 +166800,6 @@ new message content.",
166807
166800
  "email": [Function],
166808
166801
  "facebookPreview": [Function],
166809
166802
  "gallery": [Function],
166810
- "inApp": [Function],
166811
166803
  "language": [Function],
166812
166804
  "navigationConfig": [Function],
166813
166805
  "previewAndTest": [Function],
@@ -193216,7 +193208,6 @@ new message content.",
193216
193208
  "email": [Function],
193217
193209
  "facebookPreview": [Function],
193218
193210
  "gallery": [Function],
193219
- "inApp": [Function],
193220
193211
  "language": [Function],
193221
193212
  "navigationConfig": [Function],
193222
193213
  "previewAndTest": [Function],
@@ -221922,7 +221913,6 @@ new message content.",
221922
221913
  "email": [Function],
221923
221914
  "facebookPreview": [Function],
221924
221915
  "gallery": [Function],
221925
- "inApp": [Function],
221926
221916
  "language": [Function],
221927
221917
  "navigationConfig": [Function],
221928
221918
  "previewAndTest": [Function],
@@ -251610,7 +251600,6 @@ new message content.",
251610
251600
  "email": [Function],
251611
251601
  "facebookPreview": [Function],
251612
251602
  "gallery": [Function],
251613
- "inApp": [Function],
251614
251603
  "language": [Function],
251615
251604
  "navigationConfig": [Function],
251616
251605
  "previewAndTest": [Function],
@@ -267364,7 +267353,6 @@ new message content.",
267364
267353
  "email": [Function],
267365
267354
  "facebookPreview": [Function],
267366
267355
  "gallery": [Function],
267367
- "inApp": [Function],
267368
267356
  "language": [Function],
267369
267357
  "navigationConfig": [Function],
267370
267358
  "previewAndTest": [Function],
@@ -281969,7 +281957,6 @@ new message content.",
281969
281957
  "email": [Function],
281970
281958
  "facebookPreview": [Function],
281971
281959
  "gallery": [Function],
281972
- "inApp": [Function],
281973
281960
  "language": [Function],
281974
281961
  "navigationConfig": [Function],
281975
281962
  "previewAndTest": [Function],
@@ -298681,7 +298668,6 @@ new message content.",
298681
298668
  "email": [Function],
298682
298669
  "facebookPreview": [Function],
298683
298670
  "gallery": [Function],
298684
- "inApp": [Function],
298685
298671
  "language": [Function],
298686
298672
  "navigationConfig": [Function],
298687
298673
  "previewAndTest": [Function],
@@ -322730,7 +322716,6 @@ new message content.",
322730
322716
  "email": [Function],
322731
322717
  "facebookPreview": [Function],
322732
322718
  "gallery": [Function],
322733
- "inApp": [Function],
322734
322719
  "language": [Function],
322735
322720
  "navigationConfig": [Function],
322736
322721
  "previewAndTest": [Function],
@@ -350369,7 +350354,6 @@ new message content.",
350369
350354
  "email": [Function],
350370
350355
  "facebookPreview": [Function],
350371
350356
  "gallery": [Function],
350372
- "inApp": [Function],
350373
350357
  "language": [Function],
350374
350358
  "navigationConfig": [Function],
350375
350359
  "previewAndTest": [Function],
@@ -366694,7 +366678,6 @@ new message content.",
366694
366678
  "email": [Function],
366695
366679
  "facebookPreview": [Function],
366696
366680
  "gallery": [Function],
366697
- "inApp": [Function],
366698
366681
  "language": [Function],
366699
366682
  "navigationConfig": [Function],
366700
366683
  "previewAndTest": [Function],
@@ -388103,7 +388086,6 @@ new message content.",
388103
388086
  "email": [Function],
388104
388087
  "facebookPreview": [Function],
388105
388088
  "gallery": [Function],
388106
- "inApp": [Function],
388107
388089
  "language": [Function],
388108
388090
  "navigationConfig": [Function],
388109
388091
  "previewAndTest": [Function],
@@ -413524,7 +413506,6 @@ new message content.",
413524
413506
  "email": [Function],
413525
413507
  "facebookPreview": [Function],
413526
413508
  "gallery": [Function],
413527
- "inApp": [Function],
413528
413509
  "language": [Function],
413529
413510
  "navigationConfig": [Function],
413530
413511
  "previewAndTest": [Function],
@@ -434933,7 +434914,6 @@ new message content.",
434933
434914
  "email": [Function],
434934
434915
  "facebookPreview": [Function],
434935
434916
  "gallery": [Function],
434936
- "inApp": [Function],
434937
434917
  "language": [Function],
434938
434918
  "navigationConfig": [Function],
434939
434919
  "previewAndTest": [Function],
@@ -457162,7 +457142,6 @@ new message content.",
457162
457142
  "email": [Function],
457163
457143
  "facebookPreview": [Function],
457164
457144
  "gallery": [Function],
457165
- "inApp": [Function],
457166
457145
  "language": [Function],
457167
457146
  "navigationConfig": [Function],
457168
457147
  "previewAndTest": [Function],
@@ -480214,7 +480193,6 @@ new message content.",
480214
480193
  "email": [Function],
480215
480194
  "facebookPreview": [Function],
480216
480195
  "gallery": [Function],
480217
- "inApp": [Function],
480218
480196
  "language": [Function],
480219
480197
  "navigationConfig": [Function],
480220
480198
  "previewAndTest": [Function],
@@ -504086,7 +504064,6 @@ new message content.",
504086
504064
  "email": [Function],
504087
504065
  "facebookPreview": [Function],
504088
504066
  "gallery": [Function],
504089
- "inApp": [Function],
504090
504067
  "language": [Function],
504091
504068
  "navigationConfig": [Function],
504092
504069
  "previewAndTest": [Function],
@@ -528801,7 +528778,6 @@ new message content.",
528801
528778
  "email": [Function],
528802
528779
  "facebookPreview": [Function],
528803
528780
  "gallery": [Function],
528804
- "inApp": [Function],
528805
528781
  "language": [Function],
528806
528782
  "navigationConfig": [Function],
528807
528783
  "previewAndTest": [Function],
@@ -554356,7 +554332,6 @@ new message content.",
554356
554332
  "email": [Function],
554357
554333
  "facebookPreview": [Function],
554358
554334
  "gallery": [Function],
554359
- "inApp": [Function],
554360
554335
  "language": [Function],
554361
554336
  "navigationConfig": [Function],
554362
554337
  "previewAndTest": [Function],
@@ -580742,7 +580717,6 @@ new message content.",
580742
580717
  "email": [Function],
580743
580718
  "facebookPreview": [Function],
580744
580719
  "gallery": [Function],
580745
- "inApp": [Function],
580746
580720
  "language": [Function],
580747
580721
  "navigationConfig": [Function],
580748
580722
  "previewAndTest": [Function],
@@ -607959,7 +607933,6 @@ new message content.",
607959
607933
  "email": [Function],
607960
607934
  "facebookPreview": [Function],
607961
607935
  "gallery": [Function],
607962
- "inApp": [Function],
607963
607936
  "language": [Function],
607964
607937
  "navigationConfig": [Function],
607965
607938
  "previewAndTest": [Function],
@@ -635988,7 +635961,6 @@ new message content.",
635988
635961
  "email": [Function],
635989
635962
  "facebookPreview": [Function],
635990
635963
  "gallery": [Function],
635991
- "inApp": [Function],
635992
635964
  "language": [Function],
635993
635965
  "navigationConfig": [Function],
635994
635966
  "previewAndTest": [Function],
@@ -658258,7 +658230,6 @@ new message content.",
658258
658230
  "email": [Function],
658259
658231
  "facebookPreview": [Function],
658260
658232
  "gallery": [Function],
658261
- "inApp": [Function],
658262
658233
  "language": [Function],
658263
658234
  "navigationConfig": [Function],
658264
658235
  "previewAndTest": [Function],
@@ -681355,7 +681326,6 @@ new message content.",
681355
681326
  "email": [Function],
681356
681327
  "facebookPreview": [Function],
681357
681328
  "gallery": [Function],
681358
- "inApp": [Function],
681359
681329
  "language": [Function],
681360
681330
  "navigationConfig": [Function],
681361
681331
  "previewAndTest": [Function],
@@ -705343,7 +705313,6 @@ new message content.",
705343
705313
  "email": [Function],
705344
705314
  "facebookPreview": [Function],
705345
705315
  "gallery": [Function],
705346
- "inApp": [Function],
705347
705316
  "language": [Function],
705348
705317
  "navigationConfig": [Function],
705349
705318
  "previewAndTest": [Function],
@@ -726752,7 +726721,6 @@ new message content.",
726752
726721
  "email": [Function],
726753
726722
  "facebookPreview": [Function],
726754
726723
  "gallery": [Function],
726755
- "inApp": [Function],
726756
726724
  "language": [Function],
726757
726725
  "navigationConfig": [Function],
726758
726726
  "previewAndTest": [Function],
@@ -751488,7 +751456,6 @@ new message content.",
751488
751456
  "email": [Function],
751489
751457
  "facebookPreview": [Function],
751490
751458
  "gallery": [Function],
751491
- "inApp": [Function],
751492
751459
  "language": [Function],
751493
751460
  "navigationConfig": [Function],
751494
751461
  "previewAndTest": [Function],
@@ -776332,7 +776299,6 @@ new message content.",
776332
776299
  "email": [Function],
776333
776300
  "facebookPreview": [Function],
776334
776301
  "gallery": [Function],
776335
- "inApp": [Function],
776336
776302
  "language": [Function],
776337
776303
  "navigationConfig": [Function],
776338
776304
  "previewAndTest": [Function],
@@ -274,6 +274,7 @@ export const Zalo = (props) => {
274
274
  location,
275
275
  tagModule: getDefaultTags,
276
276
  eventContextTags,
277
+ isFullMode,
277
278
  }) || {};
278
279
  const { unsupportedTags = [], isBraceError } = tagValidationResponse;
279
280
  let tagError = '';
@@ -117,11 +117,7 @@ describe('Test activity zalo container', () => {
117
117
  target: { value: 'Hello, welcome {{fsdaf}}' },
118
118
  });
119
119
  inputBox[0].focus();
120
- expect(
121
- screen.getByText(
122
- 'Unsupported tags: fsdaf. Please remove them from this message.',
123
- ),
124
- ).toBeInTheDocument();
120
+ expect(inputBox[0].value).toBe('Hello, welcome {{fsdaf}}');
125
121
  });
126
122
 
127
123
  it('test case for set template data', async () => {
@@ -1 +0,0 @@
1
- export const LIQUID_DOC_URL = 'https://docs.capillarytech.com/docs/liquid-language-in-messages';