@capillarytech/creatives-library 8.0.242-alpha.10 → 8.0.242-alpha.11
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/assets/Android.png +0 -0
- package/assets/iOS.png +0 -0
- package/config/app.js +1 -1
- package/constants/unified.js +2 -2
- package/initialReducer.js +0 -2
- package/package.json +1 -1
- package/services/api.js +5 -10
- package/services/tests/api.test.js +0 -18
- package/translations/en.json +4 -3
- package/utils/common.js +6 -5
- package/utils/commonUtils.js +1 -14
- package/utils/imageUrlUpload.js +141 -0
- package/utils/tests/commonUtil.test.js +0 -224
- package/utils/transformTemplateConfig.js +10 -0
- package/v2Components/CapDeviceContent/index.js +56 -61
- package/v2Components/CapImageUpload/constants.js +2 -0
- package/v2Components/CapImageUpload/index.js +65 -16
- package/v2Components/CapImageUpload/index.scss +4 -1
- package/v2Components/CapImageUpload/messages.js +5 -1
- package/v2Components/CapImageUrlUpload/constants.js +26 -0
- package/v2Components/CapImageUrlUpload/index.js +365 -0
- package/v2Components/CapImageUrlUpload/index.scss +35 -0
- package/v2Components/CapImageUrlUpload/messages.js +47 -0
- package/v2Components/CapTagList/index.js +1 -6
- package/v2Components/CapTagListWithInput/index.js +1 -5
- package/v2Components/CapTagListWithInput/messages.js +1 -1
- package/v2Components/CapWhatsappCTA/tests/index.test.js +0 -5
- package/v2Components/ErrorInfoNote/index.js +72 -412
- package/v2Components/ErrorInfoNote/messages.js +0 -22
- package/v2Components/ErrorInfoNote/style.scss +2 -279
- package/v2Components/HtmlEditor/HTMLEditor.js +91 -220
- package/v2Components/HtmlEditor/__tests__/HTMLEditor.test.js +133 -1132
- package/v2Components/HtmlEditor/__tests__/index.lazy.test.js +12 -17
- package/v2Components/HtmlEditor/_htmlEditor.scss +45 -107
- package/v2Components/HtmlEditor/_index.lazy.scss +1 -1
- package/v2Components/HtmlEditor/components/CodeEditorPane/_codeEditorPane.scss +101 -13
- package/v2Components/HtmlEditor/components/CodeEditorPane/index.js +139 -148
- package/v2Components/HtmlEditor/components/DeviceToggle/_deviceToggle.scss +1 -2
- package/v2Components/HtmlEditor/components/DeviceToggle/index.js +3 -3
- package/v2Components/HtmlEditor/components/EditorToolbar/_editorToolbar.scss +0 -9
- package/v2Components/HtmlEditor/components/EditorToolbar/index.js +1 -1
- package/v2Components/HtmlEditor/components/FullscreenModal/_fullscreenModal.scss +0 -22
- package/v2Components/HtmlEditor/components/InAppPreviewPane/DeviceFrame.js +7 -4
- package/v2Components/HtmlEditor/components/InAppPreviewPane/__tests__/DeviceFrame.test.js +45 -35
- package/v2Components/HtmlEditor/components/InAppPreviewPane/_inAppPreviewPane.scss +3 -1
- package/v2Components/HtmlEditor/components/InAppPreviewPane/constants.js +33 -33
- package/v2Components/HtmlEditor/components/InAppPreviewPane/index.js +6 -7
- package/v2Components/HtmlEditor/components/PreviewPane/_previewPane.scss +6 -3
- package/v2Components/HtmlEditor/components/PreviewPane/index.js +11 -10
- package/v2Components/HtmlEditor/components/SplitContainer/_splitContainer.scss +1 -1
- package/v2Components/HtmlEditor/components/ValidationErrorDisplay/__tests__/index.test.js +72 -70
- package/v2Components/HtmlEditor/components/ValidationErrorDisplay/index.js +31 -49
- package/v2Components/HtmlEditor/constants.js +20 -29
- package/v2Components/HtmlEditor/hooks/__tests__/useInAppContent.test.js +16 -373
- package/v2Components/HtmlEditor/hooks/useEditorContent.js +2 -5
- package/v2Components/HtmlEditor/hooks/useInAppContent.js +146 -88
- package/v2Components/HtmlEditor/index.js +1 -1
- package/v2Components/HtmlEditor/messages.js +85 -95
- package/v2Components/HtmlEditor/utils/liquidTemplateSupport.js +101 -99
- package/v2Components/HtmlEditor/utils/properSyntaxHighlighting.js +25 -23
- package/v2Components/HtmlEditor/utils/validationAdapter.js +41 -34
- package/v2Components/MobilePushPreviewV2/index.js +7 -32
- package/v2Components/TemplatePreview/_templatePreview.scss +24 -44
- package/v2Components/TemplatePreview/index.js +32 -47
- package/v2Components/TemplatePreview/messages.js +0 -4
- package/v2Components/TestAndPreviewSlidebox/index.js +25 -31
- package/v2Containers/App/constants.js +5 -0
- package/v2Containers/BeeEditor/index.js +80 -82
- package/v2Containers/Cap/tests/__snapshots__/index.test.js.snap +4 -3
- package/v2Containers/CreativesContainer/SlideBoxContent.js +118 -148
- package/v2Containers/CreativesContainer/SlideBoxFooter.js +3 -9
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +2 -2
- package/v2Containers/CreativesContainer/constants.js +2 -1
- package/v2Containers/CreativesContainer/index.js +41 -173
- package/v2Containers/CreativesContainer/messages.js +4 -4
- package/v2Containers/CreativesContainer/tests/SlideBoxContent.test.js +210 -0
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +354 -38
- package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +0 -36
- package/v2Containers/Email/actions.js +0 -7
- package/v2Containers/Email/constants.js +1 -5
- package/v2Containers/Email/index.js +0 -13
- package/v2Containers/Email/messages.js +0 -32
- package/v2Containers/Email/reducer.js +1 -12
- package/v2Containers/Email/sagas.js +6 -41
- package/v2Containers/Email/tests/__snapshots__/reducer.test.js.snap +0 -2
- package/v2Containers/EmailWrapper/components/EmailWrapperView.js +7 -193
- package/v2Containers/EmailWrapper/components/HTMLEditorTesting.js +74 -40
- package/v2Containers/EmailWrapper/components/__tests__/HTMLEditorTesting.test.js +67 -2
- package/v2Containers/EmailWrapper/constants.js +0 -2
- package/v2Containers/EmailWrapper/hooks/useEmailWrapper.js +67 -436
- package/v2Containers/EmailWrapper/index.js +23 -99
- package/v2Containers/EmailWrapper/messages.js +1 -61
- package/v2Containers/EmailWrapper/tests/EmailWrapperView.test.js +214 -0
- package/v2Containers/EmailWrapper/tests/useEmailWrapper.test.js +77 -111
- package/v2Containers/InApp/actions.js +0 -7
- package/v2Containers/InApp/constants.js +4 -20
- package/v2Containers/InApp/index.js +357 -801
- package/v2Containers/InApp/index.scss +3 -4
- package/v2Containers/InApp/messages.js +3 -7
- package/v2Containers/InApp/reducer.js +3 -21
- package/v2Containers/InApp/sagas.js +9 -29
- package/v2Containers/InApp/selectors.js +5 -25
- package/v2Containers/InApp/tests/index.test.js +50 -154
- package/v2Containers/InApp/tests/reducer.test.js +0 -34
- package/v2Containers/InApp/tests/sagas.test.js +9 -61
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +12 -12
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +8 -8
- package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +100 -77
- package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +72 -63
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +184 -150
- package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +16 -12
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +32 -28
- package/v2Containers/TagList/index.js +1 -67
- package/v2Containers/Templates/ChannelTypeIllustration.js +13 -1
- package/v2Containers/Templates/_templates.scss +202 -56
- package/v2Containers/Templates/actions.js +2 -1
- package/v2Containers/Templates/constants.js +1 -0
- package/v2Containers/Templates/index.js +278 -128
- package/v2Containers/Templates/messages.js +24 -4
- package/v2Containers/Templates/reducer.js +2 -0
- package/v2Containers/Templates/tests/index.test.js +10 -0
- package/v2Containers/TemplatesV2/index.js +8 -1
- package/v2Containers/TemplatesV2/messages.js +4 -0
- package/v2Containers/WebPush/Create/components/BrandIconSection.js +108 -0
- package/v2Containers/WebPush/Create/components/ButtonForm.js +172 -0
- package/v2Containers/WebPush/Create/components/ButtonItem.js +101 -0
- package/v2Containers/WebPush/Create/components/ButtonList.js +145 -0
- package/v2Containers/WebPush/Create/components/ButtonsLinksSection.js +164 -0
- package/v2Containers/WebPush/Create/components/ButtonsLinksSection.test.js +463 -0
- package/v2Containers/WebPush/Create/components/FormActions.js +54 -0
- package/v2Containers/WebPush/Create/components/FormActions.test.js +163 -0
- package/v2Containers/WebPush/Create/components/MediaSection.js +142 -0
- package/v2Containers/WebPush/Create/components/MediaSection.test.js +341 -0
- package/v2Containers/WebPush/Create/components/MessageSection.js +103 -0
- package/v2Containers/WebPush/Create/components/MessageSection.test.js +268 -0
- package/v2Containers/WebPush/Create/components/NotificationTitleSection.js +87 -0
- package/v2Containers/WebPush/Create/components/NotificationTitleSection.test.js +210 -0
- package/v2Containers/WebPush/Create/components/TemplateNameSection.js +54 -0
- package/v2Containers/WebPush/Create/components/TemplateNameSection.test.js +143 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/ButtonsLinksSection.test.js.snap +86 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/FormActions.test.js.snap +16 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/MediaSection.test.js.snap +41 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/MessageSection.test.js.snap +54 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/NotificationTitleSection.test.js.snap +37 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/TemplateNameSection.test.js.snap +21 -0
- package/v2Containers/WebPush/Create/components/_buttons.scss +246 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonForm.test.js +554 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonItem.test.js +607 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonList.test.js +633 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonForm.test.js.snap +666 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonItem.test.js.snap +74 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonList.test.js.snap +78 -0
- package/v2Containers/WebPush/Create/hooks/useButtonManagement.js +138 -0
- package/v2Containers/WebPush/Create/hooks/useButtonManagement.test.js +406 -0
- package/v2Containers/WebPush/Create/hooks/useCharacterCount.js +30 -0
- package/v2Containers/WebPush/Create/hooks/useCharacterCount.test.js +151 -0
- package/v2Containers/WebPush/Create/hooks/useImageUpload.js +104 -0
- package/v2Containers/WebPush/Create/hooks/useImageUpload.test.js +538 -0
- package/v2Containers/WebPush/Create/hooks/useTagManagement.js +122 -0
- package/v2Containers/WebPush/Create/hooks/useTagManagement.test.js +633 -0
- package/v2Containers/WebPush/Create/index.js +1056 -0
- package/v2Containers/WebPush/Create/index.scss +134 -0
- package/v2Containers/WebPush/Create/messages.js +203 -0
- package/v2Containers/WebPush/Create/preview/DevicePreviewContent.js +228 -0
- package/v2Containers/WebPush/Create/preview/NotificationContainer.js +294 -0
- package/v2Containers/WebPush/Create/preview/PreviewContent.js +90 -0
- package/v2Containers/WebPush/Create/preview/PreviewControls.js +305 -0
- package/v2Containers/WebPush/Create/preview/PreviewDisclaimer.js +23 -0
- package/v2Containers/WebPush/Create/preview/WebPushPreview.js +150 -0
- package/v2Containers/WebPush/Create/preview/assets/Light.svg +53 -0
- package/v2Containers/WebPush/Create/preview/assets/Top.svg +5 -0
- package/v2Containers/WebPush/Create/preview/assets/android-arrow-down.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/android-arrow-up.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/chrome-icon.png +0 -0
- package/v2Containers/WebPush/Create/preview/assets/edge-icon.png +0 -0
- package/v2Containers/WebPush/Create/preview/assets/firefox-icon.svg +106 -0
- package/v2Containers/WebPush/Create/preview/assets/iOS.svg +26 -0
- package/v2Containers/WebPush/Create/preview/assets/macos-arrow-down-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/macos-triple-dot-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/opera-icon.svg +18 -0
- package/v2Containers/WebPush/Create/preview/assets/safari-icon.svg +29 -0
- package/v2Containers/WebPush/Create/preview/assets/windows-close-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/windows-triple-dot-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileChromeHeader.js +47 -0
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileExpanded.js +141 -0
- package/v2Containers/WebPush/Create/preview/components/IOSHeader.js +45 -0
- package/v2Containers/WebPush/Create/preview/components/NotificationExpandedContent.js +68 -0
- package/v2Containers/WebPush/Create/preview/components/NotificationHeader.js +61 -0
- package/v2Containers/WebPush/Create/preview/components/WindowsChromeExpanded.js +99 -0
- package/v2Containers/WebPush/Create/preview/components/tests/AndroidMobileExpanded.test.js +733 -0
- package/v2Containers/WebPush/Create/preview/components/tests/WindowsChromeExpanded.test.js +571 -0
- package/v2Containers/WebPush/Create/preview/components/tests/__snapshots__/AndroidMobileExpanded.test.js.snap +81 -0
- package/v2Containers/WebPush/Create/preview/components/tests/__snapshots__/WindowsChromeExpanded.test.js.snap +81 -0
- package/v2Containers/WebPush/Create/preview/config/notificationMappings.js +50 -0
- package/v2Containers/WebPush/Create/preview/constants.js +637 -0
- package/v2Containers/WebPush/Create/preview/notification-container.scss +79 -0
- package/v2Containers/WebPush/Create/preview/preview.scss +351 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-chrome.scss +370 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-edge.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-firefox.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-opera.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-chrome.scss +47 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-edge.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-firefox.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-opera.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_base.scss +207 -0
- package/v2Containers/WebPush/Create/preview/styles/_ios.scss +153 -0
- package/v2Containers/WebPush/Create/preview/styles/_ipados.scss +107 -0
- package/v2Containers/WebPush/Create/preview/styles/_macos-chrome.scss +101 -0
- package/v2Containers/WebPush/Create/preview/styles/_windows-chrome.scss +229 -0
- package/v2Containers/WebPush/Create/preview/tests/DevicePreviewContent.test.js +909 -0
- package/v2Containers/WebPush/Create/preview/tests/NotificationContainer.test.js +1081 -0
- package/v2Containers/WebPush/Create/preview/tests/PreviewControls.test.js +723 -0
- package/v2Containers/WebPush/Create/preview/tests/WebPushPreview.test.js +943 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/DevicePreviewContent.test.js.snap +131 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/NotificationContainer.test.js.snap +112 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/PreviewControls.test.js.snap +144 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/WebPushPreview.test.js.snap +129 -0
- package/v2Containers/WebPush/Create/utils/payloadBuilder.js +94 -0
- package/v2Containers/WebPush/Create/utils/payloadBuilder.test.js +390 -0
- package/v2Containers/WebPush/Create/utils/previewUtils.js +89 -0
- package/v2Containers/WebPush/Create/utils/urlValidation.js +115 -0
- package/v2Containers/WebPush/Create/utils/urlValidation.test.js +449 -0
- package/v2Containers/WebPush/Create/utils/validation.js +75 -0
- package/v2Containers/WebPush/Create/utils/validation.test.js +283 -0
- package/v2Containers/WebPush/actions.js +60 -0
- package/v2Containers/WebPush/constants.js +128 -0
- package/v2Containers/WebPush/index.js +2 -0
- package/v2Containers/WebPush/reducer.js +104 -0
- package/v2Containers/WebPush/sagas.js +119 -0
- package/v2Containers/WebPush/selectors.js +65 -0
- package/v2Containers/WebPush/tests/reducer.test.js +863 -0
- package/v2Containers/WebPush/tests/sagas.test.js +566 -0
- package/v2Containers/WebPush/tests/selectors.test.js +843 -0
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +528 -431
- package/v2Components/HtmlEditor/components/ValidationTabs/_validationTabs.scss +0 -254
- package/v2Components/HtmlEditor/components/ValidationTabs/index.js +0 -362
- package/v2Components/HtmlEditor/components/ValidationTabs/messages.js +0 -51
- package/v2Containers/BeePopupEditor/constants.js +0 -10
- package/v2Containers/BeePopupEditor/index.js +0 -193
- package/v2Containers/BeePopupEditor/tests/index.test.js +0 -627
- package/v2Containers/EmailWrapper/components/EmailHTMLEditor.js +0 -1046
- package/v2Containers/InApp/__tests__/InAppHTMLEditor.test.js +0 -376
- package/v2Containers/InApp/__tests__/sagas.test.js +0 -363
- package/v2Containers/InApp/tests/selectors.test.js +0 -612
- package/v2Containers/InAppWrapper/components/InAppWrapperView.js +0 -162
- package/v2Containers/InAppWrapper/components/__tests__/InAppWrapperView.test.js +0 -267
- package/v2Containers/InAppWrapper/components/inAppWrapperView.scss +0 -9
- package/v2Containers/InAppWrapper/constants.js +0 -16
- package/v2Containers/InAppWrapper/hooks/__tests__/useInAppWrapper.test.js +0 -473
- package/v2Containers/InAppWrapper/hooks/useInAppWrapper.js +0 -198
- package/v2Containers/InAppWrapper/index.js +0 -148
- package/v2Containers/InAppWrapper/messages.js +0 -49
- package/v2Containers/InappAdvance/index.js +0 -1099
- package/v2Containers/InappAdvance/index.scss +0 -10
- package/v2Containers/InappAdvance/tests/index.test.js +0 -448
|
@@ -2,22 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIFE Should handle isTestAndPreviewMode IIFE in Email edit mode with ID 1`] = `
|
|
4
4
|
<SlideBoxContent__CreativesWrapper>
|
|
5
|
-
<
|
|
5
|
+
<ForwardRef
|
|
6
6
|
cap={Object {}}
|
|
7
7
|
editor="default"
|
|
8
|
-
emailCreateMode="editor"
|
|
9
8
|
eventContextTags={Object {}}
|
|
10
|
-
|
|
9
|
+
getDefaultTags=""
|
|
11
10
|
handleCloseTestAndPreview={[MockFunction]}
|
|
12
11
|
handleTestAndPreview={[MockFunction]}
|
|
13
12
|
isLoyaltyModule={false}
|
|
14
13
|
isTestAndPreviewMode={true}
|
|
15
|
-
key="cretives-container-email-edit
|
|
14
|
+
key="cretives-container-email-edit"
|
|
16
15
|
location={
|
|
17
16
|
Object {
|
|
18
|
-
"pathname": "/email/edit
|
|
17
|
+
"pathname": "/email/edit",
|
|
19
18
|
"query": Object {
|
|
20
|
-
"id": "123",
|
|
21
19
|
"module": "library",
|
|
22
20
|
"type": "embedded",
|
|
23
21
|
},
|
|
@@ -30,10 +28,14 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
30
28
|
"id": "123",
|
|
31
29
|
}
|
|
32
30
|
}
|
|
31
|
+
route={
|
|
32
|
+
Object {
|
|
33
|
+
"name": "email",
|
|
34
|
+
}
|
|
35
|
+
}
|
|
33
36
|
showLiquidErrorInFooter={false}
|
|
34
37
|
showTemplateName={[MockFunction]}
|
|
35
38
|
showTestAndPreviewSlidebox={true}
|
|
36
|
-
step="createTemplateContent"
|
|
37
39
|
templateData={
|
|
38
40
|
Object {
|
|
39
41
|
"_id": "123",
|
|
@@ -45,29 +47,26 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
45
47
|
},
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
|
-
type=""
|
|
49
50
|
/>
|
|
50
51
|
</SlideBoxContent__CreativesWrapper>
|
|
51
52
|
`;
|
|
52
53
|
|
|
53
54
|
exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIFE Should handle isTestAndPreviewMode IIFE in Email edit mode with ID 2`] = `
|
|
54
55
|
<SlideBoxContent__CreativesWrapper>
|
|
55
|
-
<
|
|
56
|
+
<ForwardRef
|
|
56
57
|
cap={Object {}}
|
|
57
58
|
editor="default"
|
|
58
|
-
emailCreateMode="editor"
|
|
59
59
|
eventContextTags={Object {}}
|
|
60
|
-
|
|
60
|
+
getDefaultTags=""
|
|
61
61
|
handleCloseTestAndPreview={[MockFunction]}
|
|
62
62
|
handleTestAndPreview={[MockFunction]}
|
|
63
63
|
isLoyaltyModule={false}
|
|
64
64
|
isTestAndPreviewMode={false}
|
|
65
|
-
key="cretives-container-email-edit
|
|
65
|
+
key="cretives-container-email-edit"
|
|
66
66
|
location={
|
|
67
67
|
Object {
|
|
68
|
-
"pathname": "/email/edit
|
|
68
|
+
"pathname": "/email/edit",
|
|
69
69
|
"query": Object {
|
|
70
|
-
"id": "123",
|
|
71
70
|
"module": "library",
|
|
72
71
|
"type": "embedded",
|
|
73
72
|
},
|
|
@@ -80,10 +79,14 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
80
79
|
"id": "123",
|
|
81
80
|
}
|
|
82
81
|
}
|
|
82
|
+
route={
|
|
83
|
+
Object {
|
|
84
|
+
"name": "email",
|
|
85
|
+
}
|
|
86
|
+
}
|
|
83
87
|
showLiquidErrorInFooter={false}
|
|
84
88
|
showTemplateName={[MockFunction]}
|
|
85
89
|
showTestAndPreviewSlidebox={false}
|
|
86
|
-
step="createTemplateContent"
|
|
87
90
|
templateData={
|
|
88
91
|
Object {
|
|
89
92
|
"_id": "123",
|
|
@@ -95,29 +98,26 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
95
98
|
},
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
|
-
type=""
|
|
99
101
|
/>
|
|
100
102
|
</SlideBoxContent__CreativesWrapper>
|
|
101
103
|
`;
|
|
102
104
|
|
|
103
105
|
exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIFE Should handle isTestAndPreviewMode IIFE in Email edit mode without ID 1`] = `
|
|
104
106
|
<SlideBoxContent__CreativesWrapper>
|
|
105
|
-
<
|
|
107
|
+
<ForwardRef
|
|
106
108
|
cap={Object {}}
|
|
107
109
|
editor="default"
|
|
108
|
-
emailCreateMode="editor"
|
|
109
110
|
eventContextTags={Object {}}
|
|
110
|
-
|
|
111
|
+
getDefaultTags=""
|
|
111
112
|
handleCloseTestAndPreview={[MockFunction]}
|
|
112
113
|
handleTestAndPreview={[MockFunction]}
|
|
113
114
|
isLoyaltyModule={false}
|
|
114
115
|
isTestAndPreviewMode={true}
|
|
115
|
-
key="cretives-container-email-edit
|
|
116
|
+
key="cretives-container-email-edit"
|
|
116
117
|
location={
|
|
117
118
|
Object {
|
|
118
|
-
"pathname": "/email/edit
|
|
119
|
+
"pathname": "/email/edit",
|
|
119
120
|
"query": Object {
|
|
120
|
-
"id": undefined,
|
|
121
121
|
"module": "library",
|
|
122
122
|
"type": "embedded",
|
|
123
123
|
},
|
|
@@ -130,10 +130,14 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
130
130
|
"id": undefined,
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
+
route={
|
|
134
|
+
Object {
|
|
135
|
+
"name": "email",
|
|
136
|
+
}
|
|
137
|
+
}
|
|
133
138
|
showLiquidErrorInFooter={false}
|
|
134
139
|
showTemplateName={[MockFunction]}
|
|
135
140
|
showTestAndPreviewSlidebox={true}
|
|
136
|
-
step="createTemplateContent"
|
|
137
141
|
templateData={
|
|
138
142
|
Object {
|
|
139
143
|
"type": "EMAIL",
|
|
@@ -144,29 +148,26 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
144
148
|
},
|
|
145
149
|
}
|
|
146
150
|
}
|
|
147
|
-
type=""
|
|
148
151
|
/>
|
|
149
152
|
</SlideBoxContent__CreativesWrapper>
|
|
150
153
|
`;
|
|
151
154
|
|
|
152
155
|
exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIFE Should handle isTestAndPreviewMode IIFE in Email edit mode without ID 2`] = `
|
|
153
156
|
<SlideBoxContent__CreativesWrapper>
|
|
154
|
-
<
|
|
157
|
+
<ForwardRef
|
|
155
158
|
cap={Object {}}
|
|
156
159
|
editor="default"
|
|
157
|
-
emailCreateMode="editor"
|
|
158
160
|
eventContextTags={Object {}}
|
|
159
|
-
|
|
161
|
+
getDefaultTags=""
|
|
160
162
|
handleCloseTestAndPreview={[MockFunction]}
|
|
161
163
|
handleTestAndPreview={[MockFunction]}
|
|
162
164
|
isLoyaltyModule={false}
|
|
163
165
|
isTestAndPreviewMode={false}
|
|
164
|
-
key="cretives-container-email-edit
|
|
166
|
+
key="cretives-container-email-edit"
|
|
165
167
|
location={
|
|
166
168
|
Object {
|
|
167
|
-
"pathname": "/email/edit
|
|
169
|
+
"pathname": "/email/edit",
|
|
168
170
|
"query": Object {
|
|
169
|
-
"id": undefined,
|
|
170
171
|
"module": "library",
|
|
171
172
|
"type": "embedded",
|
|
172
173
|
},
|
|
@@ -179,10 +180,14 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
179
180
|
"id": undefined,
|
|
180
181
|
}
|
|
181
182
|
}
|
|
183
|
+
route={
|
|
184
|
+
Object {
|
|
185
|
+
"name": "email",
|
|
186
|
+
}
|
|
187
|
+
}
|
|
182
188
|
showLiquidErrorInFooter={false}
|
|
183
189
|
showTemplateName={[MockFunction]}
|
|
184
190
|
showTestAndPreviewSlidebox={false}
|
|
185
|
-
step="createTemplateContent"
|
|
186
191
|
templateData={
|
|
187
192
|
Object {
|
|
188
193
|
"type": "EMAIL",
|
|
@@ -193,7 +198,6 @@ exports[`Test SlideBoxContent container Email component isTestAndPreviewMode IIF
|
|
|
193
198
|
},
|
|
194
199
|
}
|
|
195
200
|
}
|
|
196
|
-
type=""
|
|
197
201
|
/>
|
|
198
202
|
</SlideBoxContent__CreativesWrapper>
|
|
199
203
|
`;
|
|
@@ -1097,17 +1101,25 @@ exports[`Test SlideBoxContent container Should render correct component for what
|
|
|
1097
1101
|
|
|
1098
1102
|
exports[`Test SlideBoxContent container Should render correct component for whatsapp channel create mode 2`] = `
|
|
1099
1103
|
<SlideBoxContent__CreativesWrapper>
|
|
1100
|
-
<
|
|
1101
|
-
date={0}
|
|
1104
|
+
<ForwardRef
|
|
1102
1105
|
getDefaultTags=""
|
|
1103
|
-
|
|
1106
|
+
location={
|
|
1107
|
+
Object {
|
|
1108
|
+
"pathname": "/inapp/create",
|
|
1109
|
+
"query": Object {
|
|
1110
|
+
"isEditFromCampaigns": undefined,
|
|
1111
|
+
"module": "library",
|
|
1112
|
+
"type": "embedded",
|
|
1113
|
+
},
|
|
1114
|
+
"search": "",
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1104
1117
|
onCreateComplete={[MockFunction]}
|
|
1105
1118
|
templateData={
|
|
1106
1119
|
Object {
|
|
1107
1120
|
"mode": "create",
|
|
1108
1121
|
}
|
|
1109
1122
|
}
|
|
1110
|
-
type=""
|
|
1111
1123
|
/>
|
|
1112
1124
|
</SlideBoxContent__CreativesWrapper>
|
|
1113
1125
|
`;
|
|
@@ -1271,7 +1283,7 @@ exports[`Test SlideBoxContent container Should render correctly with isTestAndPr
|
|
|
1271
1283
|
|
|
1272
1284
|
exports[`Test SlideBoxContent container Should render correctly with isTestAndPreviewMode disabled 2`] = `
|
|
1273
1285
|
<SlideBoxContent__CreativesWrapper>
|
|
1274
|
-
<Connect(UserIsAuthenticated(
|
|
1286
|
+
<Connect(UserIsAuthenticated(Connect(InjectIntl(EmailWrapper))))
|
|
1275
1287
|
date={0}
|
|
1276
1288
|
getCmsTemplatesInProgress={false}
|
|
1277
1289
|
isTestAndPreviewMode={false}
|
|
@@ -1345,7 +1357,7 @@ exports[`Test SlideBoxContent container Should render correctly with isTestAndPr
|
|
|
1345
1357
|
|
|
1346
1358
|
exports[`Test SlideBoxContent container Should render correctly with isTestAndPreviewMode enabled 2`] = `
|
|
1347
1359
|
<SlideBoxContent__CreativesWrapper>
|
|
1348
|
-
<Connect(UserIsAuthenticated(
|
|
1360
|
+
<Connect(UserIsAuthenticated(Connect(InjectIntl(EmailWrapper))))
|
|
1349
1361
|
date={0}
|
|
1350
1362
|
getCmsTemplatesInProgress={false}
|
|
1351
1363
|
isTestAndPreviewMode={true}
|
|
@@ -1409,6 +1421,310 @@ exports[`Test SlideBoxContent container Should render correctly with isTestAndPr
|
|
|
1409
1421
|
</SlideBoxContent__CreativesWrapper>
|
|
1410
1422
|
`;
|
|
1411
1423
|
|
|
1424
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should handle supportedTags prop in webpush create mode 1`] = `
|
|
1425
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1426
|
+
<_default
|
|
1427
|
+
getDefaultTags=""
|
|
1428
|
+
location={
|
|
1429
|
+
Object {
|
|
1430
|
+
"pathname": "/webpush/create",
|
|
1431
|
+
"query": Object {
|
|
1432
|
+
"isEditFromCampaigns": undefined,
|
|
1433
|
+
"module": "library",
|
|
1434
|
+
"type": "embedded",
|
|
1435
|
+
},
|
|
1436
|
+
"search": "",
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
onCreateComplete={[MockFunction]}
|
|
1440
|
+
supportedTags={
|
|
1441
|
+
Array [
|
|
1442
|
+
"tag1",
|
|
1443
|
+
"tag2",
|
|
1444
|
+
]
|
|
1445
|
+
}
|
|
1446
|
+
/>
|
|
1447
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1448
|
+
`;
|
|
1449
|
+
|
|
1450
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should handle supportedTags prop in webpush edit mode 1`] = `
|
|
1451
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1452
|
+
<_default
|
|
1453
|
+
getDefaultTags=""
|
|
1454
|
+
location={
|
|
1455
|
+
Object {
|
|
1456
|
+
"pathname": "/webpush/edit",
|
|
1457
|
+
"query": Object {
|
|
1458
|
+
"isEditFromCampaigns": undefined,
|
|
1459
|
+
"module": "library",
|
|
1460
|
+
"type": "embedded",
|
|
1461
|
+
},
|
|
1462
|
+
"search": "",
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
onCreateComplete={[MockFunction]}
|
|
1466
|
+
params={
|
|
1467
|
+
Object {
|
|
1468
|
+
"id": "123",
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
supportedTags={
|
|
1472
|
+
Array [
|
|
1473
|
+
"tag1",
|
|
1474
|
+
"tag2",
|
|
1475
|
+
]
|
|
1476
|
+
}
|
|
1477
|
+
templateData={
|
|
1478
|
+
Object {
|
|
1479
|
+
"_id": "123",
|
|
1480
|
+
"type": "WEBPUSH",
|
|
1481
|
+
"versions": Object {
|
|
1482
|
+
"base": Object {
|
|
1483
|
+
"content": Object {
|
|
1484
|
+
"webpush": Object {
|
|
1485
|
+
"message": "Test Message",
|
|
1486
|
+
"title": "Test Title",
|
|
1487
|
+
},
|
|
1488
|
+
},
|
|
1489
|
+
},
|
|
1490
|
+
},
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
/>
|
|
1494
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1495
|
+
`;
|
|
1496
|
+
|
|
1497
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should handle webpush create mode with all props 1`] = `
|
|
1498
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1499
|
+
<_default
|
|
1500
|
+
creativesMode="test"
|
|
1501
|
+
eventContextTags={Object {}}
|
|
1502
|
+
forwardedTags={Object {}}
|
|
1503
|
+
getDefaultTags=""
|
|
1504
|
+
handleClose={[MockFunction]}
|
|
1505
|
+
isFullMode={true}
|
|
1506
|
+
location={
|
|
1507
|
+
Object {
|
|
1508
|
+
"pathname": "/webpush/create",
|
|
1509
|
+
"query": Object {
|
|
1510
|
+
"isEditFromCampaigns": undefined,
|
|
1511
|
+
"module": "default",
|
|
1512
|
+
"type": false,
|
|
1513
|
+
},
|
|
1514
|
+
"search": "",
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
onCreateComplete={[MockFunction]}
|
|
1518
|
+
selectedOfferDetails={Array []}
|
|
1519
|
+
supportedTags={
|
|
1520
|
+
Array [
|
|
1521
|
+
"tag1",
|
|
1522
|
+
]
|
|
1523
|
+
}
|
|
1524
|
+
/>
|
|
1525
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1526
|
+
`;
|
|
1527
|
+
|
|
1528
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should handle webpush edit mode with all props 1`] = `
|
|
1529
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1530
|
+
<_default
|
|
1531
|
+
creativesMode="test"
|
|
1532
|
+
eventContextTags={Object {}}
|
|
1533
|
+
forwardedTags={Object {}}
|
|
1534
|
+
getDefaultTags=""
|
|
1535
|
+
handleClose={[MockFunction]}
|
|
1536
|
+
isFullMode={true}
|
|
1537
|
+
location={
|
|
1538
|
+
Object {
|
|
1539
|
+
"pathname": "/webpush/edit",
|
|
1540
|
+
"query": Object {
|
|
1541
|
+
"isEditFromCampaigns": undefined,
|
|
1542
|
+
"module": "default",
|
|
1543
|
+
"type": false,
|
|
1544
|
+
},
|
|
1545
|
+
"search": "",
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
onCreateComplete={[MockFunction]}
|
|
1549
|
+
params={
|
|
1550
|
+
Object {
|
|
1551
|
+
"id": "123",
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
selectedOfferDetails={Array []}
|
|
1555
|
+
supportedTags={
|
|
1556
|
+
Array [
|
|
1557
|
+
"tag1",
|
|
1558
|
+
]
|
|
1559
|
+
}
|
|
1560
|
+
templateData={
|
|
1561
|
+
Object {
|
|
1562
|
+
"_id": "123",
|
|
1563
|
+
"type": "WEBPUSH",
|
|
1564
|
+
"versions": Object {
|
|
1565
|
+
"base": Object {
|
|
1566
|
+
"content": Object {
|
|
1567
|
+
"webpush": Object {
|
|
1568
|
+
"message": "Test Message",
|
|
1569
|
+
"title": "Test Title",
|
|
1570
|
+
},
|
|
1571
|
+
},
|
|
1572
|
+
},
|
|
1573
|
+
},
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
/>
|
|
1577
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1578
|
+
`;
|
|
1579
|
+
|
|
1580
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should render correct component for webpush channel create mode 1`] = `
|
|
1581
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1582
|
+
<_default
|
|
1583
|
+
getDefaultTags=""
|
|
1584
|
+
location={
|
|
1585
|
+
Object {
|
|
1586
|
+
"pathname": "/webpush/create",
|
|
1587
|
+
"query": Object {
|
|
1588
|
+
"isEditFromCampaigns": undefined,
|
|
1589
|
+
"module": "library",
|
|
1590
|
+
"type": "embedded",
|
|
1591
|
+
},
|
|
1592
|
+
"search": "",
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
onCreateComplete={[MockFunction]}
|
|
1596
|
+
supportedTags={Array []}
|
|
1597
|
+
/>
|
|
1598
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1599
|
+
`;
|
|
1600
|
+
|
|
1601
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should render correct component for webpush channel edit mode 1`] = `
|
|
1602
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1603
|
+
<_default
|
|
1604
|
+
getDefaultTags=""
|
|
1605
|
+
location={
|
|
1606
|
+
Object {
|
|
1607
|
+
"pathname": "/webpush/edit",
|
|
1608
|
+
"query": Object {
|
|
1609
|
+
"isEditFromCampaigns": undefined,
|
|
1610
|
+
"module": "library",
|
|
1611
|
+
"type": "embedded",
|
|
1612
|
+
},
|
|
1613
|
+
"search": "",
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
onCreateComplete={[MockFunction]}
|
|
1617
|
+
params={
|
|
1618
|
+
Object {
|
|
1619
|
+
"id": "123",
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
supportedTags={Array []}
|
|
1623
|
+
templateData={
|
|
1624
|
+
Object {
|
|
1625
|
+
"_id": "123",
|
|
1626
|
+
"type": "WEBPUSH",
|
|
1627
|
+
"versions": Object {
|
|
1628
|
+
"base": Object {
|
|
1629
|
+
"content": Object {
|
|
1630
|
+
"webpush": Object {
|
|
1631
|
+
"message": "Test Message",
|
|
1632
|
+
"title": "Test Title",
|
|
1633
|
+
},
|
|
1634
|
+
},
|
|
1635
|
+
},
|
|
1636
|
+
},
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
/>
|
|
1640
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1641
|
+
`;
|
|
1642
|
+
|
|
1643
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should render correct component for webpush channel preview mode with all fields 1`] = `
|
|
1644
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1645
|
+
<div
|
|
1646
|
+
className="webpush-preview-container"
|
|
1647
|
+
>
|
|
1648
|
+
<_default
|
|
1649
|
+
brandIconSrc="https://example.com/brand-icon.png"
|
|
1650
|
+
imageSrc="https://example.com/image.jpg"
|
|
1651
|
+
layoutMode="compact"
|
|
1652
|
+
notificationBody="Test notification body text"
|
|
1653
|
+
notificationTitle="Test Notification Title"
|
|
1654
|
+
url="https://example.com"
|
|
1655
|
+
/>
|
|
1656
|
+
</div>
|
|
1657
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1658
|
+
`;
|
|
1659
|
+
|
|
1660
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should render correct component for webpush channel preview mode with empty fields 1`] = `
|
|
1661
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1662
|
+
<div
|
|
1663
|
+
className="webpush-preview-container"
|
|
1664
|
+
>
|
|
1665
|
+
<_default
|
|
1666
|
+
brandIconSrc=""
|
|
1667
|
+
imageSrc=""
|
|
1668
|
+
layoutMode="compact"
|
|
1669
|
+
notificationBody=""
|
|
1670
|
+
notificationTitle=""
|
|
1671
|
+
url=""
|
|
1672
|
+
/>
|
|
1673
|
+
</div>
|
|
1674
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1675
|
+
`;
|
|
1676
|
+
|
|
1677
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should render correct component for webpush channel preview mode with minimal fields 1`] = `
|
|
1678
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1679
|
+
<div
|
|
1680
|
+
className="webpush-preview-container"
|
|
1681
|
+
>
|
|
1682
|
+
<_default
|
|
1683
|
+
brandIconSrc=""
|
|
1684
|
+
imageSrc=""
|
|
1685
|
+
layoutMode="compact"
|
|
1686
|
+
notificationBody="Test Message"
|
|
1687
|
+
notificationTitle="Test Title"
|
|
1688
|
+
url=""
|
|
1689
|
+
/>
|
|
1690
|
+
</div>
|
|
1691
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1692
|
+
`;
|
|
1693
|
+
|
|
1694
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should render correct component for webpush channel preview mode with missing onClickAction url 1`] = `
|
|
1695
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1696
|
+
<div
|
|
1697
|
+
className="webpush-preview-container"
|
|
1698
|
+
>
|
|
1699
|
+
<_default
|
|
1700
|
+
brandIconSrc=""
|
|
1701
|
+
imageSrc=""
|
|
1702
|
+
layoutMode="compact"
|
|
1703
|
+
notificationBody="Test Message"
|
|
1704
|
+
notificationTitle="Test Title"
|
|
1705
|
+
url=""
|
|
1706
|
+
/>
|
|
1707
|
+
</div>
|
|
1708
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1709
|
+
`;
|
|
1710
|
+
|
|
1711
|
+
exports[`Test SlideBoxContent container WebPush channel functionality Should render correct component for webpush channel preview mode with null onClickAction 1`] = `
|
|
1712
|
+
<SlideBoxContent__CreativesWrapper>
|
|
1713
|
+
<div
|
|
1714
|
+
className="webpush-preview-container"
|
|
1715
|
+
>
|
|
1716
|
+
<_default
|
|
1717
|
+
brandIconSrc=""
|
|
1718
|
+
imageSrc=""
|
|
1719
|
+
layoutMode="compact"
|
|
1720
|
+
notificationBody="Test Message"
|
|
1721
|
+
notificationTitle="Test Title"
|
|
1722
|
+
url=""
|
|
1723
|
+
/>
|
|
1724
|
+
</div>
|
|
1725
|
+
</SlideBoxContent__CreativesWrapper>
|
|
1726
|
+
`;
|
|
1727
|
+
|
|
1412
1728
|
exports[`Test SlideBoxContent container getChannelPreviewContent utility function Should handle FACEBOOK channel preview content 1`] = `
|
|
1413
1729
|
<SlideBoxContent__CreativesWrapper>
|
|
1414
1730
|
<InjectIntl(TemplatePreview)
|
|
@@ -17,7 +17,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
|
|
|
17
17
|
handleCloseTestAndPreview={[Function]}
|
|
18
18
|
handleTestAndPreview={[Function]}
|
|
19
19
|
hostName=""
|
|
20
|
-
inAppEditorType={null}
|
|
21
20
|
isTestAndPreviewMode={false}
|
|
22
21
|
loyaltyMetaData={
|
|
23
22
|
Object {
|
|
@@ -33,8 +32,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
|
|
|
33
32
|
onEnterTemplateName={[Function]}
|
|
34
33
|
onFTPSubmit={[MockFunction]}
|
|
35
34
|
onFacebookSubmit={[MockFunction]}
|
|
36
|
-
onInAppEditorTypeChange={[Function]}
|
|
37
|
-
onInAppModeChange={[Function]}
|
|
38
35
|
onMobilepushModeChange={[Function]}
|
|
39
36
|
onPreviewTemplate={[Function]}
|
|
40
37
|
onRemoveTemplateName={[Function]}
|
|
@@ -106,7 +103,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
|
|
|
106
103
|
handleCloseTestAndPreview={[Function]}
|
|
107
104
|
handleTestAndPreview={[Function]}
|
|
108
105
|
hostName=""
|
|
109
|
-
inAppEditorType={null}
|
|
110
106
|
isTestAndPreviewMode={false}
|
|
111
107
|
loyaltyMetaData={
|
|
112
108
|
Object {
|
|
@@ -122,8 +118,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
|
|
|
122
118
|
onEnterTemplateName={[Function]}
|
|
123
119
|
onFTPSubmit={[MockFunction]}
|
|
124
120
|
onFacebookSubmit={[MockFunction]}
|
|
125
|
-
onInAppEditorTypeChange={[Function]}
|
|
126
|
-
onInAppModeChange={[Function]}
|
|
127
121
|
onMobilepushModeChange={[Function]}
|
|
128
122
|
onPreviewTemplate={[Function]}
|
|
129
123
|
onRemoveTemplateName={[Function]}
|
|
@@ -195,7 +189,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
|
|
|
195
189
|
handleCloseTestAndPreview={[Function]}
|
|
196
190
|
handleTestAndPreview={[Function]}
|
|
197
191
|
hostName=""
|
|
198
|
-
inAppEditorType={null}
|
|
199
192
|
isTestAndPreviewMode={false}
|
|
200
193
|
loyaltyMetaData={
|
|
201
194
|
Object {
|
|
@@ -211,8 +204,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
|
|
|
211
204
|
onEnterTemplateName={[Function]}
|
|
212
205
|
onFTPSubmit={[MockFunction]}
|
|
213
206
|
onFacebookSubmit={[MockFunction]}
|
|
214
|
-
onInAppEditorTypeChange={[Function]}
|
|
215
|
-
onInAppModeChange={[Function]}
|
|
216
207
|
onMobilepushModeChange={[Function]}
|
|
217
208
|
onPreviewTemplate={[Function]}
|
|
218
209
|
onRemoveTemplateName={[Function]}
|
|
@@ -235,12 +226,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
|
|
|
235
226
|
}
|
|
236
227
|
footer={
|
|
237
228
|
<SlideBoxFooter
|
|
238
|
-
continueButtonLabel={
|
|
239
|
-
Object {
|
|
240
|
-
"defaultMessage": "Next",
|
|
241
|
-
"id": "creatives.containersV2.Creatives.next",
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
229
|
currentChannel="WHATSAPP"
|
|
245
230
|
currentTab="ANDROID"
|
|
246
231
|
errorMessages={
|
|
@@ -249,7 +234,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
|
|
|
249
234
|
"STANDARD_ERROR_MSG": Array [],
|
|
250
235
|
}
|
|
251
236
|
}
|
|
252
|
-
isContinueButtonDisabled={true}
|
|
253
237
|
isLiquidValidationError={false}
|
|
254
238
|
onCreateNextStep={[Function]}
|
|
255
239
|
onDiscard={[Function]}
|
|
@@ -303,7 +287,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
|
|
|
303
287
|
handleCloseTestAndPreview={[Function]}
|
|
304
288
|
handleTestAndPreview={[Function]}
|
|
305
289
|
hostName=""
|
|
306
|
-
inAppEditorType={null}
|
|
307
290
|
isTestAndPreviewMode={false}
|
|
308
291
|
loyaltyMetaData={
|
|
309
292
|
Object {
|
|
@@ -319,8 +302,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
|
|
|
319
302
|
onEnterTemplateName={[Function]}
|
|
320
303
|
onFTPSubmit={[MockFunction]}
|
|
321
304
|
onFacebookSubmit={[MockFunction]}
|
|
322
|
-
onInAppEditorTypeChange={[Function]}
|
|
323
|
-
onInAppModeChange={[Function]}
|
|
324
305
|
onMobilepushModeChange={[Function]}
|
|
325
306
|
onPreviewTemplate={[Function]}
|
|
326
307
|
onRemoveTemplateName={[Function]}
|
|
@@ -343,12 +324,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
|
|
|
343
324
|
}
|
|
344
325
|
footer={
|
|
345
326
|
<SlideBoxFooter
|
|
346
|
-
continueButtonLabel={
|
|
347
|
-
Object {
|
|
348
|
-
"defaultMessage": "Next",
|
|
349
|
-
"id": "creatives.containersV2.Creatives.next",
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
327
|
currentChannel="WHATSAPP"
|
|
353
328
|
currentTab="ANDROID"
|
|
354
329
|
errorMessages={
|
|
@@ -357,7 +332,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
|
|
|
357
332
|
"STANDARD_ERROR_MSG": Array [],
|
|
358
333
|
}
|
|
359
334
|
}
|
|
360
|
-
isContinueButtonDisabled={true}
|
|
361
335
|
isLiquidValidationError={false}
|
|
362
336
|
onCreateNextStep={[Function]}
|
|
363
337
|
onDiscard={[Function]}
|
|
@@ -411,7 +385,6 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
|
|
|
411
385
|
handleCloseTestAndPreview={[Function]}
|
|
412
386
|
handleTestAndPreview={[Function]}
|
|
413
387
|
hostName=""
|
|
414
|
-
inAppEditorType={null}
|
|
415
388
|
isTestAndPreviewMode={false}
|
|
416
389
|
loyaltyMetaData={
|
|
417
390
|
Object {
|
|
@@ -427,8 +400,6 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
|
|
|
427
400
|
onEnterTemplateName={[Function]}
|
|
428
401
|
onFTPSubmit={[MockFunction]}
|
|
429
402
|
onFacebookSubmit={[MockFunction]}
|
|
430
|
-
onInAppEditorTypeChange={[Function]}
|
|
431
|
-
onInAppModeChange={[Function]}
|
|
432
403
|
onMobilepushModeChange={[Function]}
|
|
433
404
|
onPreviewTemplate={[Function]}
|
|
434
405
|
onRemoveTemplateName={[Function]}
|
|
@@ -451,12 +422,6 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
|
|
|
451
422
|
}
|
|
452
423
|
footer={
|
|
453
424
|
<SlideBoxFooter
|
|
454
|
-
continueButtonLabel={
|
|
455
|
-
Object {
|
|
456
|
-
"defaultMessage": "Next",
|
|
457
|
-
"id": "creatives.containersV2.Creatives.next",
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
425
|
currentChannel="WHATSAPP"
|
|
461
426
|
currentTab="ANDROID"
|
|
462
427
|
errorMessages={
|
|
@@ -465,7 +430,6 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
|
|
|
465
430
|
"STANDARD_ERROR_MSG": Array [],
|
|
466
431
|
}
|
|
467
432
|
}
|
|
468
|
-
isContinueButtonDisabled={true}
|
|
469
433
|
isLiquidValidationError={false}
|
|
470
434
|
onCreateNextStep={[Function]}
|
|
471
435
|
onDiscard={[Function]}
|