@capillarytech/creatives-library 9.0.15-alpha.3 → 9.0.16-beta.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.
Files changed (146) hide show
  1. package/AppRoot.js +80 -0
  2. package/app.js +5 -3
  3. package/constants/unified.js +0 -29
  4. package/entry.js +67 -1
  5. package/global-styles.js +1 -1
  6. package/mfe-exposed-components.js +2 -4
  7. package/package.json +2 -2
  8. package/services/api.js +1 -1
  9. package/services/tests/api.test.js +20 -35
  10. package/styles/containers/layout/_layoutPage.scss +8 -6
  11. package/utils/commonUtils.js +1 -19
  12. package/utils/getDataLayer.js +15 -0
  13. package/utils/gtmTrackers/gtmEvents/creativeDetails.js +2 -1
  14. package/utils/mfeDetect.js +1 -0
  15. package/v2Components/CapActionButton/constants.js +1 -8
  16. package/v2Components/CapActionButton/index.js +144 -202
  17. package/v2Components/CapActionButton/index.scss +14 -232
  18. package/v2Components/CapActionButton/messages.js +3 -19
  19. package/v2Components/CapActionButton/tests/index.test.js +18 -42
  20. package/v2Components/CapImageUpload/index.js +2 -2
  21. package/v2Components/CapTagList/index.js +0 -10
  22. package/v2Components/CommonTestAndPreview/CustomValuesEditor.js +48 -70
  23. package/v2Components/CommonTestAndPreview/DeliverySettings/DeliverySettings.scss +2 -8
  24. package/v2Components/CommonTestAndPreview/DeliverySettings/ModifyDeliverySettings.js +21 -214
  25. package/v2Components/CommonTestAndPreview/DeliverySettings/constants.js +0 -16
  26. package/v2Components/CommonTestAndPreview/DeliverySettings/index.js +9 -83
  27. package/v2Components/CommonTestAndPreview/DeliverySettings/messages.js +0 -30
  28. package/v2Components/CommonTestAndPreview/DeliverySettings/utils/parseSenderDetailsResponse.js +11 -60
  29. package/v2Components/CommonTestAndPreview/SendTestMessage.js +5 -10
  30. package/v2Components/CommonTestAndPreview/UnifiedPreview/RcsPreviewContent.js +22 -202
  31. package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +80 -381
  32. package/v2Components/CommonTestAndPreview/UnifiedPreview/index.js +8 -155
  33. package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +0 -11
  34. package/v2Components/CommonTestAndPreview/constants.js +2 -38
  35. package/v2Components/CommonTestAndPreview/index.js +222 -761
  36. package/v2Components/CommonTestAndPreview/messages.js +3 -45
  37. package/v2Components/CommonTestAndPreview/sagas.js +6 -25
  38. package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +0 -1
  39. package/v2Components/CommonTestAndPreview/tests/CustomValuesEditor.test.js +267 -284
  40. package/v2Components/CommonTestAndPreview/tests/DeliverySettings/ModifyDeliverySettings.test.js +65 -231
  41. package/v2Components/CommonTestAndPreview/tests/DeliverySettings/index.test.js +5 -118
  42. package/v2Components/CommonTestAndPreview/tests/DeliverySettings/utils/parseSenderDetailsResponse.test.js +0 -341
  43. package/v2Components/CommonTestAndPreview/tests/PreviewSection.test.js +1 -8
  44. package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +13 -34
  45. package/v2Components/CommonTestAndPreview/tests/UnifiedPreview/RcsPreviewContent.test.js +283 -281
  46. package/v2Components/CommonTestAndPreview/tests/UnifiedPreview/index.test.js +1 -199
  47. package/v2Components/CommonTestAndPreview/tests/index.test.js +4 -133
  48. package/v2Components/CommonTestAndPreview/tests/sagas.test.js +24 -31
  49. package/v2Components/NavigationBar/index.js +9 -7
  50. package/v2Components/NavigationBar/mfeModuleHeader.config.js +16 -0
  51. package/v2Components/Pagination/_pagination.scss +2 -0
  52. package/v2Components/TemplatePreview/_templatePreview.scss +25 -45
  53. package/v2Components/TemplatePreview/index.js +32 -147
  54. package/v2Components/TemplatePreview/tests/index.test.js +0 -142
  55. package/v2Components/TestAndPreviewSlidebox/CustomValuesEditor.js +6 -6
  56. package/v2Components/TestAndPreviewSlidebox/index.js +1 -13
  57. package/v2Components/TestAndPreviewSlidebox/sagas.js +4 -11
  58. package/v2Components/TestAndPreviewSlidebox/tests/saga.test.js +1 -3
  59. package/v2Containers/Cap/constants.js +1 -0
  60. package/v2Containers/Cap/index.js +47 -21
  61. package/v2Containers/Cap/sagas.js +19 -0
  62. package/v2Containers/CommunicationFlow/Tests/CommunicationFlow.test.js +1 -4
  63. package/v2Containers/CommunicationFlow/steps/DeliverySettingsStep/Tests/DeliverySettingsSection.test.js +0 -4
  64. package/v2Containers/CommunicationFlow/steps/DeliverySettingsStep/Tests/SenderDetails.test.js +20 -20
  65. package/v2Containers/CreativesContainer/SlideBoxContent.js +7 -37
  66. package/v2Containers/CreativesContainer/SlideBoxFooter.js +5 -14
  67. package/v2Containers/CreativesContainer/SlideBoxHeader.js +5 -36
  68. package/v2Containers/CreativesContainer/constants.js +0 -11
  69. package/v2Containers/CreativesContainer/index.js +104 -323
  70. package/v2Containers/CreativesContainer/index.scss +1 -83
  71. package/v2Containers/CreativesContainer/tests/SlideBoxFooter.test.js +34 -79
  72. package/v2Containers/CreativesContainer/tests/SlideBoxHeader.test.js +16 -79
  73. package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +0 -8
  74. package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxHeader.test.js.snap +90 -333
  75. package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +15 -20
  76. package/v2Containers/CreativesContainer/tests/index.test.js +9 -71
  77. package/v2Containers/MobilePush/Create/test/saga.test.js +2 -2
  78. package/v2Containers/Rcs/constants.js +11 -131
  79. package/v2Containers/Rcs/index.js +829 -2682
  80. package/v2Containers/Rcs/index.scss +8 -443
  81. package/v2Containers/Rcs/messages.js +6 -45
  82. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +39409 -74176
  83. package/v2Containers/Rcs/tests/__snapshots__/utils.test.js.snap +74 -10
  84. package/v2Containers/Rcs/tests/index.test.js +40 -151
  85. package/v2Containers/Rcs/tests/mockData.js +0 -38
  86. package/v2Containers/Rcs/tests/utils.test.js +30 -643
  87. package/v2Containers/Rcs/utils.js +12 -466
  88. package/v2Containers/Sms/Create/index.js +48 -115
  89. package/v2Containers/SmsTrai/Create/index.js +4 -9
  90. package/v2Containers/SmsTrai/Edit/constants.js +0 -2
  91. package/v2Containers/SmsTrai/Edit/index.js +169 -678
  92. package/v2Containers/SmsTrai/Edit/messages.js +4 -14
  93. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +2854 -5455
  94. package/v2Containers/SmsWrapper/index.js +8 -37
  95. package/v2Containers/TagList/index.js +0 -6
  96. package/v2Containers/Templates/_templates.scss +11 -196
  97. package/v2Containers/Templates/actions.js +0 -11
  98. package/v2Containers/Templates/constants.js +0 -2
  99. package/v2Containers/Templates/index.js +60 -131
  100. package/v2Containers/Templates/sagas.js +13 -57
  101. package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +1015 -1060
  102. package/v2Containers/Templates/tests/sagas.test.js +16 -199
  103. package/v2Containers/TemplatesV2/TemplatesV2.style.js +10 -75
  104. package/v2Containers/TemplatesV2/index.js +43 -86
  105. package/v2Containers/WeChat/MapTemplates/test/saga.test.js +9 -9
  106. package/v2Containers/Whatsapp/index.js +25 -4
  107. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +34 -578
  108. package/utils/rcsPayloadUtils.js +0 -92
  109. package/utils/templateVarUtils.js +0 -201
  110. package/utils/tests/rcsPayloadUtils.test.js +0 -226
  111. package/utils/tests/templateVarUtils.test.js +0 -204
  112. package/v2Components/CommonTestAndPreview/previewApiUtils.js +0 -59
  113. package/v2Components/CommonTestAndPreview/tests/previewApiUtils.test.js +0 -67
  114. package/v2Components/CommonTestAndPreview/utils.js +0 -84
  115. package/v2Components/SmsFallback/SmsFallbackLocalSelector.js +0 -91
  116. package/v2Components/SmsFallback/constants.js +0 -94
  117. package/v2Components/SmsFallback/index.js +0 -958
  118. package/v2Components/SmsFallback/index.scss +0 -266
  119. package/v2Components/SmsFallback/messages.js +0 -78
  120. package/v2Components/SmsFallback/smsFallbackUtils.js +0 -120
  121. package/v2Components/SmsFallback/tests/SmsFallbackLocalSelector.test.js +0 -50
  122. package/v2Components/SmsFallback/tests/rcsSmsFallback.acceptance.test.js +0 -147
  123. package/v2Components/SmsFallback/tests/smsFallbackHandlers.test.js +0 -304
  124. package/v2Components/SmsFallback/tests/smsFallbackUi.test.js +0 -208
  125. package/v2Components/SmsFallback/tests/smsFallbackUtils.test.js +0 -309
  126. package/v2Components/SmsFallback/tests/useLocalTemplateList.test.js +0 -422
  127. package/v2Components/SmsFallback/useLocalTemplateList.js +0 -92
  128. package/v2Components/TemplatePreview/constants.js +0 -2
  129. package/v2Components/VarSegmentMessageEditor/constants.js +0 -2
  130. package/v2Components/VarSegmentMessageEditor/index.js +0 -125
  131. package/v2Components/VarSegmentMessageEditor/index.scss +0 -46
  132. package/v2Containers/CreativesContainer/CreativesSlideBoxWrapper.js +0 -17
  133. package/v2Containers/CreativesContainer/embeddedSlideboxUtils.js +0 -79
  134. package/v2Containers/CreativesContainer/tests/SlideBoxContent.localTemplates.test.js +0 -90
  135. package/v2Containers/CreativesContainer/tests/embeddedSlideboxUtils.test.js +0 -258
  136. package/v2Containers/CreativesContainer/tests/useLocalTemplatesProp.test.js +0 -125
  137. package/v2Containers/Rcs/rcsLibraryHydrationUtils.js +0 -227
  138. package/v2Containers/Rcs/tests/rcsLibraryHydrationUtils.test.js +0 -318
  139. package/v2Containers/Sms/smsFormDataHelpers.js +0 -67
  140. package/v2Containers/Sms/tests/smsFormDataHelpers.test.js +0 -253
  141. package/v2Containers/SmsTrai/Edit/index.scss +0 -126
  142. package/v2Containers/Templates/TemplatesActionBar.js +0 -101
  143. package/v2Containers/Templates/tests/TemplatesActionBar.test.js +0 -120
  144. package/v2Containers/Templates/tests/smsTemplatesListApi.test.js +0 -180
  145. package/v2Containers/Templates/utils/smsTemplatesListApi.js +0 -79
  146. package/v2Containers/TemplatesV2/tests/TemplatesV2.localTemplates.test.js +0 -131
@@ -1,5 +1,60 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
+ exports[`Test SlideBoxHeader container Should render correct component for inapp channel create mode 1`] = `
4
+ <div
5
+ key="creatives-container-slidebox-header-content"
6
+ >
7
+ <CapHeader
8
+ className="support-video-elements"
9
+ title={
10
+ <FormattedMessage
11
+ defaultMessage="New {channel}"
12
+ id="creatives.containersV2.Creatives.createMessageContent"
13
+ values={
14
+ Object {
15
+ "channel": <FormattedMessage
16
+ defaultMessage="In App Message"
17
+ id="creatives.containersV2.Creatives.inAppHeader"
18
+ values={Object {}}
19
+ />,
20
+ }
21
+ }
22
+ />
23
+ }
24
+ />
25
+ </div>
26
+ `;
27
+
28
+ exports[`Test SlideBoxHeader container Should render correct component for inapp channel edit mode (non-fullmode) 1`] = `
29
+ <div
30
+ key="creatives-container-slidebox-header-content"
31
+ >
32
+ <CapHeader
33
+ className="support-video-elements"
34
+ description={
35
+ <React.Fragment>
36
+
37
+ </React.Fragment>
38
+ }
39
+ title={
40
+ <FormattedMessage
41
+ defaultMessage="Edit {channel}"
42
+ id="creatives.containersV2.Creatives.editMessageContent"
43
+ values={
44
+ Object {
45
+ "channel": <FormattedMessage
46
+ defaultMessage="In App Message"
47
+ id="creatives.containersV2.Creatives.inAppHeader"
48
+ values={Object {}}
49
+ />,
50
+ }
51
+ }
52
+ />
53
+ }
54
+ />
55
+ </div>
56
+ `;
57
+
3
58
  exports[`Test SlideBoxHeader container Should render correct component for rcs channel create mode 1`] = `
4
59
  <div
5
60
  key="creatives-container-slidebox-header-content"
@@ -349,341 +404,43 @@ exports[`Test SlideBoxHeader container Should render correct component for zalo
349
404
  </div>
350
405
  `;
351
406
 
352
- exports[`Test SlideBoxHeader container does not call templateNameRenderProp when isFullMode is false (showTemplateNameHeader=false) 1`] = `
407
+ exports[`Test SlideBoxHeader container Should render wechat map template create steps (mapTemplateCreate path) 1`] = `
353
408
  <div
354
409
  key="creatives-container-slidebox-header-content"
355
410
  >
356
- <CapHeader
357
- className="support-video-elements"
358
- description={
359
- <React.Fragment>
360
-
361
- </React.Fragment>
362
- }
363
- title={
364
- <FormattedMessage
365
- defaultMessage="Edit {channel}"
366
- id="creatives.containersV2.Creatives.editMessageContent"
367
- values={
368
- Object {
369
- "channel": <FormattedMessage
370
- defaultMessage="SMS"
371
- id="creatives.containersV2.Creatives.smsHeader"
372
- values={Object {}}
373
- />,
374
- }
375
- }
376
- />
377
- }
378
- />
379
- </div>
380
- `;
381
-
382
- exports[`Test SlideBoxHeader container does not call templateNameRenderProp when shouldShowTemplateName is false (showTemplateNameHeader=false) 1`] = `
383
- <div
384
- key="creatives-container-slidebox-header-content"
385
- >
386
- <CapHeader
387
- className="support-video-elements"
388
- description={
389
- <React.Fragment>
390
-
391
- </React.Fragment>
392
- }
393
- prefix={false}
394
- title={
395
- <FormattedMessage
396
- defaultMessage="Edit {channel}"
397
- id="creatives.containersV2.Creatives.editMessageContent"
398
- values={
399
- Object {
400
- "channel": <FormattedMessage
401
- defaultMessage="SMS"
402
- id="creatives.containersV2.Creatives.smsHeader"
403
- values={Object {}}
404
- />,
405
- }
406
- }
407
- />
408
- }
409
- />
410
- </div>
411
- `;
412
-
413
- exports[`Test SlideBoxHeader container hides edit header for InApp edit with fullMode (shouldShowInAppEditHeader=false, isInAppCreate guard) 1`] = `
414
- <div
415
- key="creatives-container-slidebox-header-content"
416
- >
417
- <CapHeader
418
- className="support-video-elements"
419
- description={
420
- <React.Fragment>
421
-
422
- </React.Fragment>
423
- }
424
- prefix={false}
425
- title={
426
- <FormattedMessage
427
- defaultMessage="Edit {channel}"
428
- id="creatives.containersV2.Creatives.editMessageContent"
429
- values={
430
- Object {
431
- "channel": <FormattedMessage
432
- defaultMessage="In App Message"
433
- id="creatives.containersV2.Creatives.inAppHeader"
434
- values={Object {}}
435
- />,
436
- }
437
- }
438
- />
439
- }
440
- />
441
- </div>
442
- `;
443
-
444
- exports[`Test SlideBoxHeader container renders templateNameRenderProp when isFullMode and shouldShowTemplateName are both true 1`] = `
445
- <div
446
- key="creatives-container-slidebox-header-content"
447
- />
448
- `;
449
-
450
- exports[`Test SlideBoxHeader container renders whatsappOverview=false header when WHATSAPP edit without fullMode 1`] = `
451
- <div
452
- key="creatives-container-slidebox-header-content"
453
- >
454
- <CapHeader
455
- className="support-video-elements"
456
- description={
457
- <React.Fragment>
458
- <React.Fragment>
459
- <SlideBoxHeader__StyledLabel
460
- className=""
461
- type="label1"
462
- >
463
- <FormattedMessage
464
- defaultMessage="Template name"
465
- id="creatives.containersV2.templateNameLabel"
466
- values={Object {}}
467
- />
468
- </SlideBoxHeader__StyledLabel>
469
- <SlideBoxHeader__StyledLabel
470
- className="whatsapp-rcs-slidebox-template-name"
471
- type="label2"
472
- >
473
- amit123456
474
- </SlideBoxHeader__StyledLabel>
475
- </React.Fragment>
476
- <React.Fragment>
477
- <SlideBoxHeader__StyledLabel
478
- className=""
479
- type="label3"
480
- >
481
- <FormattedMessage
482
- defaultMessage="|"
483
- id="creatives.containersV2.Whatsapp.labelSeperator"
484
- values={Object {}}
485
- />
486
- </SlideBoxHeader__StyledLabel>
487
- <SlideBoxHeader__StyledLabel
488
- className=""
489
- type="label1"
490
- >
491
- <FormattedMessage
492
- defaultMessage="Template category"
493
- id="creatives.containersV2.Whatsapp.templateCategoryLabel"
494
- values={Object {}}
495
- />
496
- </SlideBoxHeader__StyledLabel>
497
- <SlideBoxHeader__StyledLabel
498
- className=""
499
- type="label2"
500
- >
501
- Alert Update
502
- </SlideBoxHeader__StyledLabel>
503
- <SlideBoxHeader__StyledLabel
504
- className=""
505
- type="label3"
506
- >
507
- <FormattedMessage
508
- defaultMessage="|"
509
- id="creatives.containersV2.Whatsapp.labelSeperator"
510
- values={Object {}}
511
- />
512
- </SlideBoxHeader__StyledLabel>
513
- <SlideBoxHeader__StyledLabel
514
- className=""
515
- type="label1"
516
- >
517
- <FormattedMessage
518
- defaultMessage="Language"
519
- id="creatives.containersV2.Whatsapp.languageLabel"
520
- values={Object {}}
521
- />
522
- </SlideBoxHeader__StyledLabel>
523
- <SlideBoxHeader__StyledLabel
524
- className=""
525
- type="label2"
526
- >
527
- <FormattedMessage
528
- defaultMessage="English"
529
- id="creatives.containersV2.Whatsapp.english"
530
- values={Object {}}
531
- />
532
- </SlideBoxHeader__StyledLabel>
533
- </React.Fragment>
534
- </React.Fragment>
535
- }
536
- title={
537
- <FormattedMessage
538
- defaultMessage="Edit {channel}"
539
- id="creatives.containersV2.Creatives.editMessageContent"
540
- values={
541
- Object {
542
- "channel": <FormattedMessage
543
- defaultMessage="WhatsApp template"
544
- id="creatives.containersV2.Creatives.whatsappTemplate"
545
- values={Object {}}
546
- />,
547
- }
548
- }
549
- />
550
- }
551
- />
552
- </div>
553
- `;
554
-
555
- exports[`Test SlideBoxHeader container renders whatsappOverview=true header when WHATSAPP edit in fullMode 1`] = `
556
- <div
557
- key="creatives-container-slidebox-header-content"
558
- >
559
- <CapHeader
560
- className="support-video-elements"
561
- description={
562
- <React.Fragment>
563
- <React.Fragment>
564
- <SlideBoxHeader__StyledLabel
565
- className=""
566
- type="label1"
567
- >
568
- <FormattedMessage
569
- defaultMessage="Template name"
570
- id="creatives.containersV2.templateNameLabel"
571
- values={Object {}}
572
- />
573
- </SlideBoxHeader__StyledLabel>
574
- <SlideBoxHeader__StyledLabel
575
- className="whatsapp-rcs-slidebox-template-name"
576
- type="label2"
577
- >
578
- amit123456
579
- </SlideBoxHeader__StyledLabel>
580
- </React.Fragment>
581
- <React.Fragment>
582
- <SlideBoxHeader__StyledLabel
583
- className=""
584
- type="label3"
585
- >
586
- <FormattedMessage
587
- defaultMessage="|"
588
- id="creatives.containersV2.Whatsapp.labelSeperator"
589
- values={Object {}}
590
- />
591
- </SlideBoxHeader__StyledLabel>
592
- <SlideBoxHeader__StyledLabel
593
- className=""
594
- type="label1"
595
- >
596
- <FormattedMessage
597
- defaultMessage="Template category"
598
- id="creatives.containersV2.Whatsapp.templateCategoryLabel"
599
- values={Object {}}
600
- />
601
- </SlideBoxHeader__StyledLabel>
602
- <SlideBoxHeader__StyledLabel
603
- className=""
604
- type="label2"
605
- >
606
- Alert Update
607
- </SlideBoxHeader__StyledLabel>
608
- <SlideBoxHeader__StyledLabel
609
- className=""
610
- type="label3"
611
- >
612
- <FormattedMessage
613
- defaultMessage="|"
614
- id="creatives.containersV2.Whatsapp.labelSeperator"
615
- values={Object {}}
616
- />
617
- </SlideBoxHeader__StyledLabel>
618
- <SlideBoxHeader__StyledLabel
619
- className=""
620
- type="label1"
621
- >
622
- <FormattedMessage
623
- defaultMessage="Language"
624
- id="creatives.containersV2.Whatsapp.languageLabel"
625
- values={Object {}}
626
- />
627
- </SlideBoxHeader__StyledLabel>
628
- <SlideBoxHeader__StyledLabel
629
- className=""
630
- type="label2"
631
- >
632
- <FormattedMessage
633
- defaultMessage="English"
634
- id="creatives.containersV2.Whatsapp.english"
635
- values={Object {}}
636
- />
637
- </SlideBoxHeader__StyledLabel>
638
- </React.Fragment>
639
- </React.Fragment>
640
- }
641
- prefix={false}
642
- title={
643
- <FormattedMessage
644
- defaultMessage="WhatsApp template overview"
645
- id="creatives.containersV2.Creatives.whatsappOverview"
646
- values={
647
- Object {
648
- "channel": <FormattedMessage
649
- defaultMessage="WhatsApp template"
650
- id="creatives.containersV2.Creatives.whatsappTemplate"
651
- values={Object {}}
652
- />,
653
- }
654
- }
655
- />
656
- }
657
- />
658
- </div>
659
- `;
660
-
661
- exports[`Test SlideBoxHeader container shows edit header for InApp edit without fullMode (shouldShowInAppEditHeader=true) 1`] = `
662
- <div
663
- key="creatives-container-slidebox-header-content"
664
- >
665
- <CapHeader
666
- className="support-video-elements"
667
- description={
668
- <React.Fragment>
669
-
670
- </React.Fragment>
671
- }
672
- title={
673
- <FormattedMessage
674
- defaultMessage="Edit {channel}"
675
- id="creatives.containersV2.Creatives.editMessageContent"
676
- values={
677
- Object {
678
- "channel": <FormattedMessage
679
- defaultMessage="In App Message"
680
- id="creatives.containersV2.Creatives.inAppHeader"
681
- values={Object {}}
682
- />,
683
- }
684
- }
685
- />
686
- }
687
- />
411
+ <CapSteps
412
+ className="wechat-steps"
413
+ current={0}
414
+ onChange={[MockFunction]}
415
+ size="small"
416
+ >
417
+ <CapStep
418
+ title={
419
+ <CapLabel
420
+ type="label8"
421
+ >
422
+ <FormattedMessage
423
+ defaultMessage="Select template"
424
+ id="creatives.containersV2.Creatives.selectTemplate"
425
+ values={Object {}}
426
+ />
427
+ </CapLabel>
428
+ }
429
+ />
430
+ <CapStep
431
+ disabled={true}
432
+ title={
433
+ <CapLabel
434
+ type="label8"
435
+ >
436
+ <FormattedMessage
437
+ defaultMessage="Add content"
438
+ id="creatives.containersV2.Creatives.addContent"
439
+ values={Object {}}
440
+ />
441
+ </CapLabel>
442
+ }
443
+ />
444
+ </CapSteps>
688
445
  </div>
689
446
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Test SlideBoxContent container campaign message, add creative click rcs 1`] = `
4
- <CreativesSlideBoxWrapper
4
+ <CreativesContainer__SlideBoxWrapper
5
5
  className="add-creatives-section creatives-library-mode "
6
6
  shouldApplyFooterMargin={false}
7
7
  slideBoxWrapperMargin={0}
@@ -20,7 +20,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
20
20
  inAppEditorType={null}
21
21
  isAnonymousType={false}
22
22
  isTestAndPreviewMode={false}
23
- localTemplatesConfig={Object {}}
24
23
  loyaltyMetaData={
25
24
  Object {
26
25
  "actionName": "SEND_COMMUNICATION_ACTION",
@@ -61,6 +60,7 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
61
60
  }
62
61
  }
63
62
  templateStep="modeSelection"
63
+ waitEventContextTags={Object {}}
64
64
  weChatMaptemplateStep={0}
65
65
  weChatTemplateType=""
66
66
  />
@@ -83,7 +83,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
83
83
  }
84
84
  templateNameRenderProp={[Function]}
85
85
  templateStep="modeSelection"
86
- useLocalTemplates={false}
87
86
  weChatMaptemplateStep={0}
88
87
  weChatTemplateType=""
89
88
  />
@@ -91,11 +90,11 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
91
90
  show={true}
92
91
  size="size-xl"
93
92
  />
94
- </CreativesSlideBoxWrapper>
93
+ </CreativesContainer__SlideBoxWrapper>
95
94
  `;
96
95
 
97
96
  exports[`Test SlideBoxContent container campaign message, add creative click whatsapp 1`] = `
98
- <CreativesSlideBoxWrapper
97
+ <CreativesContainer__SlideBoxWrapper
99
98
  className="add-creatives-section creatives-library-mode "
100
99
  shouldApplyFooterMargin={false}
101
100
  slideBoxWrapperMargin={0}
@@ -114,7 +113,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
114
113
  inAppEditorType={null}
115
114
  isAnonymousType={false}
116
115
  isTestAndPreviewMode={false}
117
- localTemplatesConfig={Object {}}
118
116
  loyaltyMetaData={
119
117
  Object {
120
118
  "actionName": "SEND_COMMUNICATION_ACTION",
@@ -155,6 +153,7 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
155
153
  }
156
154
  }
157
155
  templateStep="modeSelection"
156
+ waitEventContextTags={Object {}}
158
157
  weChatMaptemplateStep={0}
159
158
  weChatTemplateType=""
160
159
  />
@@ -177,7 +176,6 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
177
176
  }
178
177
  templateNameRenderProp={[Function]}
179
178
  templateStep="modeSelection"
180
- useLocalTemplates={false}
181
179
  weChatMaptemplateStep={0}
182
180
  weChatTemplateType=""
183
181
  />
@@ -185,11 +183,11 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
185
183
  show={true}
186
184
  size="size-xl"
187
185
  />
188
- </CreativesSlideBoxWrapper>
186
+ </CreativesContainer__SlideBoxWrapper>
189
187
  `;
190
188
 
191
189
  exports[`Test SlideBoxContent container campaign message, whatsapp edit all data 1`] = `
192
- <CreativesSlideBoxWrapper
190
+ <CreativesContainer__SlideBoxWrapper
193
191
  className="add-creatives-section creatives-library-mode "
194
192
  shouldApplyFooterMargin={false}
195
193
  slideBoxWrapperMargin={0}
@@ -208,7 +206,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
208
206
  inAppEditorType={null}
209
207
  isAnonymousType={false}
210
208
  isTestAndPreviewMode={false}
211
- localTemplatesConfig={Object {}}
212
209
  loyaltyMetaData={
213
210
  Object {
214
211
  "actionName": "SEND_COMMUNICATION_ACTION",
@@ -244,6 +241,7 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
244
241
  showTestAndPreviewSlidebox={false}
245
242
  slidBoxContent="editTemplate"
246
243
  templateStep="modeSelection"
244
+ waitEventContextTags={Object {}}
247
245
  weChatMaptemplateStep={0}
248
246
  weChatTemplateType=""
249
247
  />
@@ -314,7 +312,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
314
312
  slidBoxContent="editTemplate"
315
313
  templateNameRenderProp={[Function]}
316
314
  templateStep="modeSelection"
317
- useLocalTemplates={false}
318
315
  weChatMaptemplateStep={0}
319
316
  weChatTemplateType=""
320
317
  />
@@ -322,11 +319,11 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
322
319
  show={false}
323
320
  size="size-xl"
324
321
  />
325
- </CreativesSlideBoxWrapper>
322
+ </CreativesContainer__SlideBoxWrapper>
326
323
  `;
327
324
 
328
325
  exports[`Test SlideBoxContent container campaign message, whatsapp edit min data 1`] = `
329
- <CreativesSlideBoxWrapper
326
+ <CreativesContainer__SlideBoxWrapper
330
327
  className="add-creatives-section creatives-library-mode "
331
328
  shouldApplyFooterMargin={false}
332
329
  slideBoxWrapperMargin={0}
@@ -345,7 +342,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
345
342
  inAppEditorType={null}
346
343
  isAnonymousType={false}
347
344
  isTestAndPreviewMode={false}
348
- localTemplatesConfig={Object {}}
349
345
  loyaltyMetaData={
350
346
  Object {
351
347
  "actionName": "SEND_COMMUNICATION_ACTION",
@@ -381,6 +377,7 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
381
377
  showTestAndPreviewSlidebox={false}
382
378
  slidBoxContent="editTemplate"
383
379
  templateStep="modeSelection"
380
+ waitEventContextTags={Object {}}
384
381
  weChatMaptemplateStep={0}
385
382
  weChatTemplateType=""
386
383
  />
@@ -451,7 +448,6 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
451
448
  slidBoxContent="editTemplate"
452
449
  templateNameRenderProp={[Function]}
453
450
  templateStep="modeSelection"
454
- useLocalTemplates={false}
455
451
  weChatMaptemplateStep={0}
456
452
  weChatTemplateType=""
457
453
  />
@@ -459,11 +455,11 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
459
455
  show={false}
460
456
  size="size-xl"
461
457
  />
462
- </CreativesSlideBoxWrapper>
458
+ </CreativesContainer__SlideBoxWrapper>
463
459
  `;
464
460
 
465
461
  exports[`Test SlideBoxContent container it should clear the url, on channel change from new whatsapp to another 1`] = `
466
- <CreativesSlideBoxWrapper
462
+ <CreativesContainer__SlideBoxWrapper
467
463
  className="add-creatives-section creatives-library-mode "
468
464
  shouldApplyFooterMargin={false}
469
465
  slideBoxWrapperMargin={0}
@@ -482,7 +478,6 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
482
478
  inAppEditorType={null}
483
479
  isAnonymousType={false}
484
480
  isTestAndPreviewMode={false}
485
- localTemplatesConfig={Object {}}
486
481
  loyaltyMetaData={
487
482
  Object {
488
483
  "actionName": "SEND_COMMUNICATION_ACTION",
@@ -518,6 +513,7 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
518
513
  showTestAndPreviewSlidebox={false}
519
514
  slidBoxContent="editTemplate"
520
515
  templateStep="modeSelection"
516
+ waitEventContextTags={Object {}}
521
517
  weChatMaptemplateStep={0}
522
518
  weChatTemplateType=""
523
519
  />
@@ -588,7 +584,6 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
588
584
  slidBoxContent="editTemplate"
589
585
  templateNameRenderProp={[Function]}
590
586
  templateStep="modeSelection"
591
- useLocalTemplates={false}
592
587
  weChatMaptemplateStep={0}
593
588
  weChatTemplateType=""
594
589
  />
@@ -596,5 +591,5 @@ exports[`Test SlideBoxContent container it should clear the url, on channel chan
596
591
  show={false}
597
592
  size="size-xl"
598
593
  />
599
- </CreativesSlideBoxWrapper>
594
+ </CreativesContainer__SlideBoxWrapper>
600
595
  `;