@capillarytech/creatives-library 2.0.73 → 2.0.75

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 (92) hide show
  1. package/package.json +1 -1
  2. package/v2Containers/Templates/_templates.scss +5 -1
  3. package/v2Containers/Templates/index.js +1 -1
  4. package/v2Containers/TemplatesV2/index.js +1 -1
  5. package/components/EmailPreview/assets/images/iPad.svg +0 -10
  6. package/components/EmailPreview/assets/images/mobile.png +0 -0
  7. package/components/FormBuilder/test +0 -1845
  8. package/containers/CallTask/_callTask.scss +0 -5
  9. package/containers/CallTask/actions.js +0 -15
  10. package/containers/CallTask/constants.js +0 -7
  11. package/containers/CallTask/index.js +0 -141
  12. package/containers/CallTask/messages.js +0 -21
  13. package/containers/CallTask/reducer.js +0 -23
  14. package/containers/CallTask/sagas.js +0 -11
  15. package/containers/CallTask/selectors.js +0 -25
  16. package/containers/CallTask/tests/actions.test.js +0 -18
  17. package/containers/CallTask/tests/index.test.js +0 -10
  18. package/containers/CallTask/tests/reducer.test.js +0 -9
  19. package/containers/CallTask/tests/sagas.test.js +0 -15
  20. package/containers/CallTask/tests/selectors.test.js +0 -10
  21. package/containers/ChannelTemplates/actions.js +0 -20
  22. package/containers/ChannelTemplates/constants.js +0 -8
  23. package/containers/ChannelTemplates/index.js +0 -48
  24. package/containers/ChannelTemplates/messages.js +0 -13
  25. package/containers/ChannelTemplates/reducer.js +0 -34
  26. package/containers/ChannelTemplates/sagas.js +0 -32
  27. package/containers/ChannelTemplates/selectors.js +0 -25
  28. package/containers/ChannelTemplates/tests/actions.test.js +0 -18
  29. package/containers/ChannelTemplates/tests/index.test.js +0 -10
  30. package/containers/ChannelTemplates/tests/reducer.test.js +0 -9
  31. package/containers/ChannelTemplates/tests/sagas.test.js +0 -15
  32. package/containers/ChannelTemplates/tests/selectors.test.js +0 -10
  33. package/containers/CreativesContainer/SlideBoxContent.js +0 -248
  34. package/containers/CreativesContainer/SlideBoxFooter.js +0 -38
  35. package/containers/CreativesContainer/SlideBoxHeader.js +0 -65
  36. package/containers/CreativesContainer/actions.js +0 -27
  37. package/containers/CreativesContainer/constants.js +0 -13
  38. package/containers/CreativesContainer/index.js +0 -418
  39. package/containers/CreativesContainer/index.scss +0 -27
  40. package/containers/CreativesContainer/messages.js +0 -17
  41. package/containers/CreativesContainer/reducer.js +0 -29
  42. package/containers/CreativesContainer/sagas.js +0 -11
  43. package/containers/CreativesContainer/selectors.js +0 -30
  44. package/containers/CreativesContainer/tests/actions.test.js +0 -18
  45. package/containers/CreativesContainer/tests/index.test.js +0 -10
  46. package/containers/CreativesContainer/tests/reducer.test.js +0 -9
  47. package/containers/CreativesContainer/tests/sagas.test.js +0 -15
  48. package/containers/CreativesContainer/tests/selectors.test.js +0 -10
  49. package/containers/EmailWrapper/actions.js +0 -15
  50. package/containers/EmailWrapper/constants.js +0 -7
  51. package/containers/EmailWrapper/index.js +0 -238
  52. package/containers/EmailWrapper/messages.js +0 -57
  53. package/containers/EmailWrapper/reducer.js +0 -23
  54. package/containers/EmailWrapper/sagas.js +0 -11
  55. package/containers/EmailWrapper/selectors.js +0 -25
  56. package/containers/EmailWrapper/tests/actions.test.js +0 -18
  57. package/containers/EmailWrapper/tests/index.test.js +0 -10
  58. package/containers/EmailWrapper/tests/reducer.test.js +0 -9
  59. package/containers/EmailWrapper/tests/sagas.test.js +0 -15
  60. package/containers/EmailWrapper/tests/selectors.test.js +0 -10
  61. package/containers/MobilePush/commonMethods.js +0 -249
  62. package/containers/MobilePush/eventsMap.js +0 -127
  63. package/containers/MobilePush/initialSchema.js +0 -1739
  64. package/containers/MobilepushWrapper/_mobilepushWrapper.scss +0 -18
  65. package/containers/MobilepushWrapper/index.js +0 -97
  66. package/containers/MobilepushWrapper/messages.js +0 -25
  67. package/containers/MobilepushWrapper/tests/index.test.js +0 -10
  68. package/containers/TemplatesV2/_templatesV2.scss +0 -5
  69. package/containers/TemplatesV2/actions.js +0 -16
  70. package/containers/TemplatesV2/constants.js +0 -10
  71. package/containers/TemplatesV2/index.js +0 -207
  72. package/containers/TemplatesV2/messages.js +0 -29
  73. package/containers/TemplatesV2/selectors.js +0 -25
  74. package/containers/TemplatesV2/tests/actions.test.js +0 -18
  75. package/containers/TemplatesV2/tests/index.test.js +0 -10
  76. package/containers/TemplatesV2/tests/reducer.test.js +0 -9
  77. package/containers/TemplatesV2/tests/sagas.test.js +0 -15
  78. package/containers/TemplatesV2/tests/selectors.test.js +0 -10
  79. package/containers/WeChat/RichmediaTemplates/Create/testschema.js +0 -379
  80. package/containers/WeChat/_wechat.scss +0 -8
  81. package/containers/WeChat/actions.js +0 -52
  82. package/containers/WeChat/constants.js +0 -28
  83. package/containers/WeChat/index.js +0 -1635
  84. package/containers/WeChat/messages.js +0 -73
  85. package/containers/WeChat/reducer.js +0 -74
  86. package/containers/WeChat/sagas.js +0 -86
  87. package/containers/WeChat/selectors.js +0 -25
  88. package/containers/WeChat/tests/actions.test.js +0 -18
  89. package/containers/WeChat/tests/index.test.js +0 -10
  90. package/containers/WeChat/tests/reducer.test.js +0 -9
  91. package/containers/WeChat/tests/sagas.test.js +0 -15
  92. package/containers/WeChat/tests/selectors.test.js +0 -10
@@ -1,1739 +0,0 @@
1
- export const response = {
2
- metaEntities: [
3
- {
4
- _id: "5a6879f2f48500d47560c741",
5
- type: "LAYOUT",
6
- definition: {
7
- module: "Campaigns",
8
- channel: "MOBILEPUSH",
9
- textSchema: {
10
- standalone: {
11
- sections: [
12
- {
13
- type: "multicols",
14
- inputFields: [
15
- {
16
- cols: [
17
- {
18
- id: "template-name",
19
- placeholder: "Enter template name*",
20
- type: "input",
21
- metaType: "text",
22
- datatype: "string",
23
- required: true,
24
- fluid: true,
25
- style: {
26
- marginBottom: "16px",
27
- },
28
- styling: "semantic",
29
- order: 1,
30
- width: 9,
31
- offSet: 10,
32
- customComponent: false,
33
- standalone: true,
34
- supportedEvents: [
35
- "onChange",
36
- ],
37
- errorMessage: "Template name cannot be empty",
38
- },
39
- {
40
- id: "discard-button",
41
- width: 3,
42
- offset: 8,
43
- metaType: "submit-button",
44
- colStyle: {
45
- textAlign: "right",
46
- paddingRight: "12px",
47
- },
48
- type: "button",
49
- buttonType: "cancel",
50
- value: "Discard Changes",
51
- customComponent: false,
52
- standalone: true,
53
- styling: "semantic",
54
- order: 3,
55
- fluid: false,
56
- submitAction: "discardValues",
57
- supportedEvents: [
58
- "discardValues",
59
- ],
60
- },
61
- {
62
- id: "cancel-button",
63
- width: 2,
64
- metaType: "submit-button",
65
- colStyle: {
66
- textAlign: "right",
67
- width: "9%",
68
- },
69
- type: "button",
70
- buttonType: "cancel",
71
- value: "Cancel",
72
- customComponent: false,
73
- standalone: true,
74
- styling: "semantic",
75
- order: 3,
76
- fluid: false,
77
- submitAction: "cancelTemplate",
78
- supportedEvents: [
79
- "cancelTemplate",
80
- ],
81
- },
82
- {
83
- id: "save-button",
84
- width: 2,
85
- metaType: "submit-button",
86
- colStyle: {
87
- textAlign: "right",
88
- width: "7%",
89
- },
90
- type: "button",
91
- buttonType: "primary",
92
- value: "Save",
93
- customComponent: false,
94
- styling: "semantic",
95
- order: 3,
96
- fluid: false,
97
- standalone: true,
98
- submitAction: "saveFormData",
99
- supportedEvents: [
100
- "saveFormData",
101
- ],
102
- },
103
- ],
104
- },
105
- ],
106
- actionFields: [],
107
- },
108
- {
109
- type: "multicols",
110
- inputFields: [
111
- {
112
- cols: [
113
- {
114
- standalone: true,
115
- customComponent: false,
116
- offSet: 6,
117
- width: 5,
118
- order: 1,
119
- styling: "semantic",
120
- style: {
121
- display: "block",
122
- marginBottom: "16px",
123
- },
124
- fluid: true,
125
- required: true,
126
- datatype: "string",
127
- metaType: "text",
128
- options: [],
129
- type: "select",
130
- placeholder: "Select Mobilepush Account",
131
- labelStyle: {
132
- display: "block",
133
- padding: ".5em .833em",
134
-
135
- color: "#333333",
136
- textAlign: "left",
137
- backgroundColor: "white",
138
- },
139
- label: "Account Id",
140
- id: "mobilepush-accounts",
141
- },
142
- ],
143
- },
144
- {
145
- cols: [
146
- {
147
- standalone: true,
148
- customComponent: false,
149
- offSet: 6,
150
- width: 15,
151
- order: 1,
152
- styling: "semantic",
153
- style: {
154
- marginBottom: "16px",
155
-
156
- },
157
- disabled: false,
158
- fluid: true,
159
- required: true,
160
- datatype: "string",
161
- metaType: "text",
162
- options: [],
163
- type: "select",
164
- placeholder: "Select Mobilepush Template",
165
- labelStyle: {
166
- padding: ".5em .833em",
167
-
168
-
169
- color: "#333333",
170
- textAlign: "left",
171
- backgroundColor: "white",
172
- },
173
- supportedEvents: [
174
- "onSelect",
175
- ],
176
- label: "Template",
177
- id: "mobilepush-template",
178
- },
179
- ],
180
- },
181
- ],
182
- },
183
- ],
184
- },
185
- containers: [
186
- {
187
- id: "pane",
188
- supportedEvents: [
189
- "onTabChange",
190
- ],
191
- panes: [
192
- {
193
- isSupported: true, //ios channel is supported initially. this value migh get changes based on orgs supported channels.
194
- sectionsHeaders: [
195
- {
196
- type: "multicols",
197
- inputFields: [
198
- {
199
- rowStyle: {
200
- display: "flex",
201
- flex: 1,
202
- },
203
- cols: [
204
- {
205
- id: "tab-header-android",
206
- metaType: "label",
207
- value: "Android",
208
- primitive: true,
209
- dynamicTab: false,
210
- type: "div",
211
- width: 5,
212
- offset: 0,
213
- onlyDisplay: true,
214
- colStyle: {
215
- flex: 1,
216
- },
217
-
218
- },
219
- ],
220
- },
221
- ],
222
- actionFields: [],
223
- },
224
- ],
225
- sections: [
226
- {
227
- type: "parent",
228
- width: 16,
229
- rowStyle: {
230
- height: "100%",
231
- },
232
- childSections: [
233
- {
234
- colStyle: {
235
- paddingTop: "16px",
236
- paddingLeft: "16px",
237
- borderRight: "1px solid #d9d9d9",
238
- height: "70vh",
239
- overflowY: "auto",
240
- },
241
- width: 16,
242
- type: "parent",
243
- childSections: [
244
- {
245
- type: "multicols",
246
- inputFields: [
247
- {
248
- rowClassName: "mobile-push-row",
249
- cols: [
250
- {
251
- id: "copy-iphone-content",
252
- metaType: "label",
253
- value: "Copy Title and Content From IOS",
254
- primitive: true,
255
- dynamicTab: false,
256
- type: "div",
257
- style: {
258
- backgroundColor: "white",
259
- textAlign: "left",
260
- color: "#2673D7",
261
-
262
- cursor: "pointer",
263
- },
264
- submitAction: "onClick",
265
- supportedEvents: [
266
- "onClick",
267
- ],
268
- offset: 0,
269
- onlyDisplay: true,
270
- colStyle: {
271
- flex: 1,
272
- },
273
- },
274
- ],
275
- },
276
- {
277
- rowClassName: "mobile-push-row",
278
- cols: [
279
-
280
- {
281
- id: "message-title",
282
- label: "Title",
283
- type: "input",
284
- metaType: "text",
285
- datatype: "string",
286
- required: true,
287
- width: 22,
288
- placeholder: "Please input message title name.",
289
- fluid: true,
290
- styling: "semantic",
291
- order: 1,
292
- customComponent: false,
293
- supportedEvents: [],
294
- errorMessage: "Template message has unsupported/missing tags!",
295
- },
296
- {
297
- offset: 20,
298
- id: "title-tagList",
299
- target: "message-title",
300
- label: "Tags",
301
- type: "tag-list",
302
- metaType: "List",
303
- datatype: "select",
304
- required: true,
305
- fluid: true,
306
- onlyDisplay: true,
307
- styling: "semantic",
308
- order: 1,
309
- customComponent: true,
310
- supportedEvents: [
311
- "onTagSelect",
312
- ],
313
- },
314
- ],
315
- },
316
- {
317
- rowClassName: "mobile-push-row",
318
- cols: [
319
-
320
- {
321
- id: "message-editor",
322
- label: "Message",
323
- offset: 0,
324
- type: "textarea",
325
- width: 22,
326
- metaType: "text",
327
- datatype: "string",
328
- required: true,
329
- placeholder: "Please input mobile push template content.",
330
- fluid: true,
331
- styling: "semantic",
332
- autosize: true,
333
- autosizeParams: {
334
- minRows: 3,
335
- },
336
-
337
- order: 1,
338
- customComponent: true,
339
- supportedEvents: [
340
- "onChange",
341
- ],
342
- errorMessage: "Template message has unsupported/missing tags!",
343
- },
344
- {
345
- offset: 20,
346
- id: "message-tagList",
347
- target: "message-editor",
348
- label: "Tags",
349
- type: "tag-list",
350
- metaType: "List",
351
- datatype: "select",
352
- required: true,
353
- style: {
354
- marginTop: "55px",
355
- },
356
- fluid: true,
357
- onlyDisplay: true,
358
- styling: "semantic",
359
- order: 2,
360
- customComponent: true,
361
- supportedEvents: [
362
- "onTagSelect",
363
- ],
364
- },
365
- ],
366
- },
367
- {
368
- rowClassName: "mobile-push-row",
369
- identifier: "add-pri-cta",
370
- cols: [
371
-
372
- {
373
- id: "add-pri-cta",
374
-
375
- label: "Add action link to content",
376
- inductiveText: "Add a hyperlink of the page which customer will be directed to",
377
- styling: "semantic",
378
- dynamicTab: false,
379
- type: "checkbox",
380
- customComponent: false,
381
- datatype: "boolean",
382
- fluid: true,
383
- metaType: "label",
384
- onlyDisplay: false,
385
- order: 1,
386
- offset: 0,
387
- colStyle: {
388
- flex: 1,
389
- },
390
- submitAction: "addPrimaryCta",
391
- supportedEvents: [
392
- "addPrimaryCta",
393
- ],
394
- },
395
- ],
396
- },
397
- {
398
- identifier: "add-sec-cta",
399
-
400
- cols: [
401
- {
402
- id: "add-sec-cta",
403
- label: "Add primary button to notification",
404
- styling: "semantic",
405
- dynamicTab: false,
406
- type: "checkbox",
407
- customComponent: false,
408
- datatype: "boolean",
409
- fluid: true,
410
-
411
- metaType: "label",
412
- // metaType: "text",
413
- onlyDisplay: false,
414
- // type: "div",
415
- // width: 6,
416
- style: {
417
- marginBottom: '24px',
418
- },
419
- offset: 0,
420
- colStyle: {
421
- flex: 1,
422
- },
423
- submitAction: "addSecondaryCta",
424
- supportedEvents: [
425
- "addSecondaryCta",
426
- ],
427
- fieldsLimit: 2,
428
- fieldsCount: 0,
429
- },
430
- ],
431
- },
432
- {
433
- identifier: "add-sec-cta-2",
434
-
435
- cols: [
436
- {
437
- id: "add-sec-cta-2",
438
- metaType: "label",
439
- dynamicTab: false,
440
- label: "Add secondary button to notification",
441
- styling: "semantic",
442
- type: "checkbox",
443
- customComponent: false,
444
- datatype: "boolean",
445
- fluid: true,
446
- onlyDisplay: false,
447
- // type: "div",
448
- // width: 6,
449
- // style: {
450
- // backgroundColor: "white",
451
- // textAlign: "left",
452
- // color: "#2673D7",
453
- // lineHeight: "24px",
454
- // fontSize: "14px",
455
- // marginTop: "16px",
456
- // fontWeight: "600",
457
- // fontFamily: "open-sans",
458
- // fontStyle: "normal",
459
- // cursor: "pointer",
460
- // },
461
- offset: 0,
462
- colStyle: {
463
- flex: 1,
464
- },
465
- submitAction: "addSecondaryCta",
466
- supportedEvents: [
467
- "addSecondaryCta",
468
- ],
469
- fieldsLimit: 2,
470
- fieldsCount: 1,
471
- },
472
- ],
473
- },
474
- ],
475
- actionFields: [],
476
- },
477
- ],
478
- },
479
- {
480
- width: 6,
481
- type: "multicols",
482
- offset: 1,
483
- colStyle: {
484
- paddingTop: "16px",
485
- },
486
- inputFields: [
487
- {
488
- cols: [
489
- {
490
- id: "mobile-push-preview",
491
- type: "mobile-push-preview",
492
- device: "android",
493
- customComponent: true,
494
- customStyling: {
495
- padding: "0",
496
- },
497
- metaType: "preview",
498
- required: true,
499
- fluid: true,
500
- styling: "semantic",
501
- order: 1,
502
- width: 5,
503
- onlyDisplay: true,
504
- offset: 7,
505
- channel: "MOBILEPUSH",
506
- content: {
507
- title: "message-title",
508
- message: "message-editor",
509
- secondaryCta1: "secondary-cta-0-label",
510
- secondaryCta2: "secondary-cta-1-label",
511
- appName: "",
512
- },
513
- },
514
- ],
515
- },
516
- ],
517
- },
518
- ],
519
- },
520
- ],
521
- },
522
- {
523
- isSupported: true, //ios channel is supported initially. this value migh get changes based on orgs supported channels.
524
-
525
- sectionsHeaders: [
526
- {
527
- type: "multicols",
528
- inputFields: [
529
- {
530
- rowStyle: {
531
- display: "flex",
532
- flex: 1,
533
- },
534
- cols: [
535
- {
536
- id: "tab-header-iphone",
537
- metaType: "label",
538
- value: "iOS",
539
- primitive: true,
540
- dynamicTab: false,
541
- type: "div",
542
- width: 5,
543
- offset: 0,
544
- onlyDisplay: true,
545
- colStyle: {
546
- flex: 1,
547
- },
548
-
549
- },
550
- ],
551
- },
552
- ],
553
- actionFields: [],
554
- },
555
- ],
556
- sections: [
557
- {
558
- type: "parent",
559
- width: 16,
560
- rowStyle: {
561
- height: "100%",
562
- },
563
- childSections: [
564
- {
565
- colStyle: {
566
- paddingTop: "16px",
567
- paddingLeft: "16px",
568
- borderRight: "1px solid #d9d9d9",
569
- height: "70vh",
570
- overflowY: "auto",
571
- },
572
- width: 16,
573
- type: "parent",
574
- childSections: [
575
- {
576
- type: "multicols",
577
- inputFields: [
578
- {
579
- rowClassName: "mobile-push-row",
580
- cols: [
581
- {
582
- id: "copy-android-content",
583
- metaType: "label",
584
- value: "Copy Title and Content From Android",
585
- primitive: true,
586
- dynamicTab: false,
587
- type: "div",
588
- style: {
589
- backgroundColor: "white",
590
- textAlign: "left",
591
- color: "#2673D7",
592
-
593
- cursor: "pointer",
594
- },
595
- offset: 0,
596
- submitAction: "onClick",
597
- supportedEvents: [
598
- "onClick",
599
- ],
600
- onlyDisplay: true,
601
- colStyle: {
602
- flex: 1,
603
- },
604
- },
605
- ],
606
- },
607
- {
608
- rowClassName: "mobile-push-row",
609
- cols: [
610
-
611
- {
612
- id: "message-title2",
613
- label: "Title",
614
- type: "input",
615
- metaType: "text",
616
- datatype: "string",
617
- required: true,
618
- width: 22,
619
- placeholder: "Please input message title name.",
620
- fluid: true,
621
- styling: "semantic",
622
- order: 1,
623
- customComponent: false,
624
- supportedEvents: [],
625
- errorMessage: "Template title has unsupported/missing tags.",
626
- },
627
- {
628
- offset: 20,
629
- id: "title-tagList2",
630
- target: "message-title2",
631
- label: "Tags",
632
- type: "tag-list",
633
- metaType: "List",
634
- datatype: "select",
635
- required: true,
636
- fluid: true,
637
- onlyDisplay: true,
638
- styling: "semantic",
639
- order: 1,
640
- customComponent: true,
641
- supportedEvents: [
642
- "onTagSelect",
643
- ],
644
- },
645
- ],
646
- },
647
- {
648
- rowClassName: "mobile-push-row",
649
- cols: [
650
-
651
- {
652
- id: "message-editor2",
653
- label: "Message",
654
- offset: 0,
655
- type: "textarea",
656
- width: 22,
657
- metaType: "text",
658
- datatype: "string",
659
- required: true,
660
- placeholder: "Please input mobile push template content.",
661
- fluid: true,
662
- styling: "semantic",
663
- autosize: true,
664
-
665
- autosizeParams: {
666
- minRows: 3,
667
- },
668
- order: 1,
669
- customComponent: true,
670
- supportedEvents: [
671
- "onChange",
672
- ],
673
- errorMessage: "Template message has unsupported/missing tags!",
674
- },
675
- {
676
- offset: 20,
677
- id: "message-tagList2",
678
- label: "Tags",
679
- target: "message-editor2",
680
- type: "tag-list",
681
- metaType: "List",
682
- datatype: "select",
683
- style: {
684
- marginTop: "55px",
685
- },
686
- required: true,
687
- fluid: true,
688
- onlyDisplay: true,
689
- styling: "semantic",
690
- order: 2,
691
- customComponent: true,
692
- supportedEvents: [
693
- "onTagSelect",
694
- ],
695
- },
696
- ],
697
- },
698
- {
699
- rowClassName: "mobile-push-row",
700
- identifier: "add-pri-cta-ios",
701
-
702
- cols: [
703
- {
704
- id: "add-pri-cta-ios",
705
- styling: "semantic",
706
-
707
- label: "Add action link to content",
708
- inductiveText: "Add a hyperlink of the page which customer will be directed to",
709
- customComponent: false,
710
- datatype: "boolean",
711
- fluid: true,
712
- metaType: "text",
713
- onlyDisplay: false,
714
- order: 1,
715
- dynamicTab: false,
716
- type: "checkbox",
717
- // style: {
718
- // backgroundColor: "white",
719
- // textAlign: "left",
720
- // color: "#2673D7",
721
- // lineHeight: "24px",
722
- // fontSize: "14px",
723
- // fontWeight: "600",
724
- // fontFamily: "open-sans",
725
- // fontStyle: "normal",
726
- // cursor: "pointer",
727
- // },
728
- offset: 0,
729
- colStyle: {
730
- flex: 1,
731
- },
732
- submitAction: "addPrimaryCta",
733
- supportedEvents: [
734
- "addPrimaryCta",
735
- ],
736
- },
737
- ],
738
- },
739
- {
740
- identifier: "add-sec-cta-ios",
741
-
742
- cols: [
743
- {
744
- id: "add-sec-cta-ios",
745
- metaType: "label",
746
- dynamicTab: false,
747
- label: "Add action buttons to notification",
748
- styling: "semantic",
749
- type: "checkbox",
750
- customComponent: false,
751
- datatype: "boolean",
752
- fluid: true,
753
- // metaType: "text",
754
- onlyDisplay: false,
755
- // type: "div",
756
- // style: {
757
- // backgroundColor: "white",
758
- // textAlign: "left",
759
- // color: "#2673D7",
760
- // lineHeight: "24px",
761
- // fontSize: "14px",
762
- // marginTop: "16px",
763
- // fontWeight: "600",
764
- // fontFamily: "open-sans",
765
- // fontStyle: "normal",
766
- // cursor: "pointer",
767
- // },
768
- offset: 0,
769
- // onlyDisplay: true,
770
- colStyle: {
771
- flex: 1,
772
- },
773
- submitAction: "addSecondaryCtaIos",
774
- supportedEvents: [
775
- "addSecondaryCtaIos",
776
- ],
777
- },
778
- ],
779
- },
780
-
781
- ],
782
- actionFields: [],
783
- },
784
- ],
785
- },
786
- {
787
- width: 6,
788
- type: "multicols",
789
- offset: 1,
790
- colStyle: {
791
- paddingTop: "16px",
792
- },
793
- inputFields: [
794
- {
795
- cols: [
796
- {
797
- id: "mobile-push-preview",
798
- type: "mobile-push-preview",
799
- device: "iphone",
800
- customComponent: true,
801
- customStyling: {
802
- padding: "0",
803
- },
804
- metaType: "preview",
805
- required: true,
806
- fluid: true,
807
- styling: "semantic",
808
- order: 1,
809
- width: 5,
810
- onlyDisplay: true,
811
- offset: 7,
812
- channel: "MOBILEPUSH",
813
- content: {
814
- title: "message-title2",
815
- message: "message-editor2",
816
- secondaryCta1: "secondary-cta-1-action",
817
- secondaryCta2: "secondary-cta-1-action2",
818
- appName: "",
819
- },
820
- },
821
- ],
822
- },
823
- ],
824
- },
825
- ],
826
- },
827
- ],
828
- },
829
- ],
830
- type: "tabs",
831
- defaultPanes: 1,
832
- additionalPanes: 0,
833
- },
834
- ],
835
- channel: "MOBILEPUSH",
836
- module: "Campaigns",
837
- },
838
- imageSchema: {
839
- standalone: {
840
- sections: [
841
- {
842
- type: "multicols",
843
- inputFields: [
844
- {
845
- cols: [
846
- {
847
- id: "template-name",
848
- placeholder: "Enter template name",
849
- type: "input",
850
- metaType: "text",
851
- datatype: "string",
852
- required: true,
853
- fluid: true,
854
- style: {
855
-
856
- marginBottom: "16px",
857
- },
858
- styling: "semantic",
859
- order: 1,
860
- width: 9,
861
- offSet: 10,
862
- customComponent: false,
863
- standalone: true,
864
- supportedEvents: [
865
- "onChange",
866
- ],
867
- errorMessage: "Template name cannot be empty.",
868
- },
869
- {
870
- id: "discard-button",
871
- width: 3,
872
- offset: 8,
873
- metaType: "submit-button",
874
- colStyle: {
875
- textAlign: "right",
876
- paddingRight: "12px",
877
- },
878
- type: "button",
879
- buttonType: "cancel",
880
- value: "Discard Changes",
881
- customComponent: false,
882
- standalone: true,
883
- styling: "semantic",
884
- order: 3,
885
- fluid: false,
886
- submitAction: "discardValues",
887
- supportedEvents: [
888
- "discardValues",
889
- ],
890
- },
891
- {
892
- id: "cancel-button",
893
- width: 2,
894
- metaType: "submit-button",
895
- colStyle: {
896
- textAlign: "right",
897
- width: "9%",
898
- },
899
- type: "button",
900
- buttonType: "cancel",
901
- value: "Cancel",
902
- customComponent: false,
903
- standalone: true,
904
- styling: "semantic",
905
- order: 3,
906
- fluid: false,
907
- submitAction: "cancelTemplate",
908
- supportedEvents: [
909
- "cancelTemplate",
910
- ],
911
- },
912
- {
913
- id: "save-button",
914
- width: 2,
915
- metaType: "submit-button",
916
- colStyle: {
917
- textAlign: "right",
918
- width: "7%",
919
- },
920
- type: "button",
921
- buttonType: "primary",
922
- value: "Save",
923
- customComponent: false,
924
- styling: "semantic",
925
- order: 3,
926
- fluid: false,
927
- standalone: true,
928
- submitAction: "saveFormData",
929
- supportedEvents: [
930
- "saveFormData",
931
- ],
932
- },
933
- ],
934
- },
935
- ],
936
- actionFields: [],
937
- },
938
- {
939
- type: "multicols",
940
- inputFields: [
941
- {
942
- cols: [
943
- {
944
- standalone: true,
945
- customComponent: false,
946
- offSet: 6,
947
- width: 5,
948
- order: 1,
949
- styling: "semantic",
950
- style: {
951
- display: "block",
952
- marginBottom: "16px",
953
-
954
- },
955
- fluid: true,
956
- required: true,
957
- datatype: "string",
958
- metaType: "text",
959
- options: [],
960
- type: "select",
961
- placeholder: "Select Mobilepush Account",
962
- labelStyle: {
963
- display: "block",
964
- padding: ".5em .833em",
965
-
966
- color: "#333333",
967
- textAlign: "left",
968
- backgroundColor: "white",
969
- },
970
- label: "Account Id",
971
- id: "mobilepush-accounts",
972
- },
973
- ],
974
- },
975
- {
976
- cols: [
977
- {
978
- standalone: true,
979
- customComponent: false,
980
- offSet: 6,
981
- width: 15,
982
- order: 1,
983
- styling: "semantic",
984
- style: {
985
- marginBottom: "16px",
986
-
987
- },
988
- disabled: false,
989
- fluid: true,
990
- required: true,
991
- datatype: "string",
992
- metaType: "text",
993
- options: [],
994
- type: "select",
995
- placeholder: "Select Mobilepush Template",
996
- labelStyle: {
997
- padding: ".5em .833em",
998
-
999
- color: "#333333",
1000
- textAlign: "left",
1001
- backgroundColor: "white",
1002
- },
1003
- supportedEvents: [
1004
- "onSelect",
1005
- ],
1006
- label: "Template",
1007
- id: "mobilepush-template",
1008
- },
1009
- ],
1010
- },
1011
- ],
1012
- },
1013
- ],
1014
- },
1015
- containers: [
1016
- {
1017
- id: "pane",
1018
- supportedEvents: [
1019
- "onTabChange",
1020
- ],
1021
- panes: [
1022
- {
1023
- isSupported: true, //ios channel is supported initially. this value migh get changes based on orgs supported channels.
1024
-
1025
- sectionsHeaders: [
1026
- {
1027
- type: "multicols",
1028
- inputFields: [
1029
- {
1030
- rowStyle: {
1031
- display: "flex",
1032
- flex: 1,
1033
- },
1034
- cols: [
1035
- {
1036
- id: "tab-header",
1037
- metaType: "label",
1038
- value: "Android",
1039
- primitive: true,
1040
- dynamicTab: false,
1041
- type: "div",
1042
- width: 5,
1043
- offset: 0,
1044
- onlyDisplay: true,
1045
- colStyle: {
1046
- flex: 1,
1047
- },
1048
-
1049
- },
1050
- ],
1051
- },
1052
- ],
1053
- actionFields: [],
1054
- },
1055
- ],
1056
- sections: [
1057
- {
1058
- type: "parent",
1059
- width: 16,
1060
- rowStyle: {
1061
- height: "100%",
1062
- },
1063
- childSections: [
1064
- {
1065
- colStyle: {
1066
- paddingTop: "16px",
1067
- paddingLeft: "16px",
1068
- borderRight: "1px solid #d9d9d9",
1069
- height: "70vh",
1070
- overflowY: "auto",
1071
- },
1072
- width: 16,
1073
- type: "parent",
1074
- childSections: [
1075
- {
1076
- type: "multicols",
1077
- inputFields: [
1078
- {
1079
- rowClassName: "mobile-push-row",
1080
- cols: [
1081
- {
1082
- id: "copy-iphone-content",
1083
- metaType: "label",
1084
- value: "Copy Title and Content From IOS",
1085
- primitive: true,
1086
- dynamicTab: false,
1087
- type: "div",
1088
- style: {
1089
- backgroundColor: "white",
1090
- textAlign: "left",
1091
- color: "#2E89DF",
1092
-
1093
- cursor: "pointer",
1094
- },
1095
- submitAction: "onClick",
1096
- supportedEvents: [
1097
- "onClick",
1098
- ],
1099
- offset: 0,
1100
- onlyDisplay: true,
1101
- colStyle: {
1102
- flex: 1,
1103
- },
1104
- },
1105
- ],
1106
- },
1107
- {
1108
- rowClassName: "mobile-push-row",
1109
- cols: [
1110
-
1111
- {
1112
- id: "message-title",
1113
- label: "Title",
1114
- type: "input",
1115
- metaType: "text",
1116
- datatype: "string",
1117
- required: true,
1118
- width: 22,
1119
- placeholder: "Please input message title name.",
1120
- fluid: true,
1121
- styling: "semantic",
1122
- order: 1,
1123
- customComponent: false,
1124
- supportedEvents: [],
1125
- errorMessage: "Message title has unsupported/missing tags!",
1126
- },
1127
- {
1128
- offset: 20,
1129
- id: "title-tagList",
1130
- target: "message-title",
1131
- label: "Tags",
1132
- type: "tag-list",
1133
- metaType: "List",
1134
- datatype: "select",
1135
- required: true,
1136
- fluid: true,
1137
- onlyDisplay: true,
1138
- styling: "semantic",
1139
- order: 1,
1140
- customComponent: true,
1141
- supportedEvents: [
1142
- "onTagSelect",
1143
- ],
1144
- },
1145
- ],
1146
- },
1147
- {
1148
- rowClassName: "mobile-push-row",
1149
- cols: [
1150
-
1151
- {
1152
- id: "message-editor",
1153
- label: "Message",
1154
- offset: 0,
1155
- type: "textarea",
1156
- width: 22,
1157
- metaType: "text",
1158
- datatype: "string",
1159
- required: true,
1160
- placeholder: "Please input mobile push template content.",
1161
- errorMessage: "Template message has unsupported/missing tags!",
1162
- fluid: true,
1163
- styling: "semantic",
1164
- autosize: true,
1165
-
1166
- autosizeParams: {
1167
- minRows: 3,
1168
- },
1169
- order: 1,
1170
- customComponent: true,
1171
- supportedEvents: [
1172
- "onChange",
1173
- ],
1174
- },
1175
- {
1176
- offset: 20,
1177
- id: "message-tagList",
1178
- target: "message-editor",
1179
- label: "Tags",
1180
- type: "tag-list",
1181
- metaType: "List",
1182
- datatype: "select",
1183
- style: {
1184
- marginTop: "55px",
1185
- },
1186
- required: true,
1187
- fluid: true,
1188
- onlyDisplay: true,
1189
- styling: "semantic",
1190
- order: 2,
1191
- customComponent: true,
1192
- supportedEvents: [
1193
- "onTagSelect",
1194
- ],
1195
- },
1196
- ],
1197
- },
1198
- {
1199
- rowClassName: "mobile-push-row",
1200
- cols: [
1201
-
1202
-
1203
- {
1204
- id: "image-upload-android",
1205
- label: "Upload Image",
1206
- type: "upload",
1207
- showPreview: true,
1208
- previewProps: {
1209
- label: "Cover Image",
1210
- inductiveText: "Maximum file size acceptable is 5 MB",
1211
- // placeholder: "Max file size acceptable is 5mb",
1212
- errorMessage: "Please upload Image",
1213
-
1214
- },
1215
- width: 22,
1216
- metaType: "text",
1217
- datatype: "string",
1218
- required: true,
1219
- fluid: true,
1220
- styling: "semantic",
1221
- order: 1,
1222
- customComponent: true,
1223
- offset: 0,
1224
- submitAction: "onUpload",
1225
- supportedEvents: [
1226
- "onUpload",
1227
- ],
1228
- },
1229
- ],
1230
- },
1231
- {
1232
- rowClassName: "mobile-push-row",
1233
-
1234
- identifier: "add-pri-cta",
1235
- cols: [
1236
- {
1237
- id: "add-pri-cta",
1238
- styling: "semantic",
1239
-
1240
-
1241
- label: "Add action link to content",
1242
- inductiveText: "Add a hyperlink of the page which customer will be directed to",
1243
- customComponent: false,
1244
- datatype: "boolean",
1245
- fluid: true,
1246
- metaType: "text",
1247
- onlyDisplay: false,
1248
- order: 1,
1249
- dynamicTab: false,
1250
- type: "checkbox",
1251
- // style: {
1252
- // backgroundColor: "white",
1253
- // textAlign: "left",
1254
- // color: "#2673D7",
1255
- // lineHeight: "24px",
1256
- // fontSize: "14px",
1257
- // fontWeight: "600",
1258
- // fontFamily: "open-sans",
1259
- // fontStyle: "normal",
1260
- // cursor: "pointer",
1261
- // },
1262
- offset: 0,
1263
- colStyle: {
1264
- flex: 1,
1265
- },
1266
- submitAction: "addPrimaryCta",
1267
- supportedEvents: [
1268
- "addPrimaryCta",
1269
- ],
1270
- },
1271
- ],
1272
- },
1273
- {
1274
- identifier: "add-sec-cta",
1275
-
1276
- cols: [
1277
- {
1278
- id: "add-sec-cta",
1279
- label: "Add primary button to notification",
1280
- styling: "semantic",
1281
- dynamicTab: false,
1282
- type: "checkbox",
1283
- customComponent: false,
1284
- datatype: "boolean",
1285
- fluid: true,
1286
-
1287
- metaType: "label",
1288
- // metaType: "text",
1289
- onlyDisplay: false,
1290
- // type: "div",
1291
- // width: 6,
1292
- style: {
1293
- marginBottom: '24px',
1294
- },
1295
- offset: 0,
1296
- colStyle: {
1297
- flex: 1,
1298
- },
1299
- submitAction: "addSecondaryCta",
1300
- supportedEvents: [
1301
- "addSecondaryCta",
1302
- ],
1303
- fieldsLimit: 2,
1304
- fieldsCount: 0,
1305
- },
1306
- ],
1307
- },
1308
- {
1309
- identifier: "add-sec-cta-2",
1310
-
1311
- cols: [
1312
- {
1313
- id: "add-sec-cta-2",
1314
- metaType: "label",
1315
- dynamicTab: false,
1316
- label: "Add secondary button to notification",
1317
- styling: "semantic",
1318
- type: "checkbox",
1319
- customComponent: false,
1320
- datatype: "boolean",
1321
- fluid: true,
1322
- onlyDisplay: false,
1323
- // type: "div",
1324
- // width: 6,
1325
- // style: {
1326
- // backgroundColor: "white",
1327
- // textAlign: "left",
1328
- // color: "#2673D7",
1329
- // lineHeight: "24px",
1330
- // fontSize: "14px",
1331
- // marginTop: "16px",
1332
- // fontWeight: "600",
1333
- // fontFamily: "open-sans",
1334
- // fontStyle: "normal",
1335
- // cursor: "pointer",
1336
- // },
1337
- offset: 0,
1338
- colStyle: {
1339
- flex: 1,
1340
- },
1341
- submitAction: "addSecondaryCta",
1342
- supportedEvents: [
1343
- "addSecondaryCta",
1344
- ],
1345
- fieldsLimit: 2,
1346
- fieldsCount: 1,
1347
- },
1348
- ],
1349
- },
1350
- ],
1351
- actionFields: [],
1352
- },
1353
- ],
1354
- },
1355
- {
1356
- width: 6,
1357
- type: "multicols",
1358
- offset: 1,
1359
- colStyle: {
1360
- paddingTop: "16px",
1361
- },
1362
- inputFields: [
1363
- {
1364
- cols: [
1365
- {
1366
- id: "mobile-push-preview",
1367
- type: "mobile-push-preview",
1368
- device: "android",
1369
- customComponent: true,
1370
- customStyling: {
1371
- padding: "0",
1372
- },
1373
- metaType: "preview",
1374
- required: true,
1375
- fluid: true,
1376
- styling: "semantic",
1377
- order: 1,
1378
- width: 5,
1379
- onlyDisplay: true,
1380
- offset: 7,
1381
- channel: "MOBILEPUSH",
1382
- content: {
1383
- title: "message-title",
1384
- message: "message-editor",
1385
- secondaryCta1: "secondary-cta-0-label",
1386
- secondaryCta2: "secondary-cta-1-label",
1387
- appName: "",
1388
- },
1389
- },
1390
- ],
1391
- },
1392
- ],
1393
- },
1394
- ],
1395
- },
1396
- ],
1397
- },
1398
- {
1399
- isSupported: true, //ios channel is supported initially. this value migh get changes based on orgs supported channels.
1400
-
1401
- sectionsHeaders: [
1402
- {
1403
- type: "multicols",
1404
- inputFields: [
1405
- {
1406
- rowStyle: {
1407
- display: "flex",
1408
- flex: 1,
1409
- },
1410
- cols: [
1411
- {
1412
- id: "tab-header",
1413
- metaType: "label",
1414
- value: "iOS",
1415
- primitive: true,
1416
- dynamicTab: false,
1417
- type: "div",
1418
- width: 5,
1419
- offset: 0,
1420
- onlyDisplay: true,
1421
- colStyle: {
1422
- flex: 1,
1423
- },
1424
-
1425
- },
1426
- ],
1427
- },
1428
- ],
1429
- actionFields: [],
1430
- },
1431
- ],
1432
- sections: [
1433
- {
1434
- type: "parent",
1435
- width: 16,
1436
- rowStyle: {
1437
- height: "100%",
1438
- },
1439
- childSections: [
1440
- {
1441
- colStyle: {
1442
- paddingTop: "16px",
1443
- paddingLeft: "16px",
1444
- borderRight: "1px solid #d9d9d9",
1445
- height: "70vh",
1446
- overflowY: "auto",
1447
- },
1448
- width: 16,
1449
- type: "parent",
1450
- childSections: [
1451
- {
1452
- type: "multicols",
1453
- inputFields: [
1454
- {
1455
- rowClassName: "mobile-push-row",
1456
- cols: [
1457
- {
1458
- id: "copy-android-content",
1459
- metaType: "label",
1460
- value: "Copy Title and Content From Android",
1461
- primitive: true,
1462
- dynamicTab: false,
1463
- type: "div",
1464
- style: {
1465
- backgroundColor: "white",
1466
- textAlign: "left",
1467
- color: "#2E89DF",
1468
-
1469
- cursor: "pointer",
1470
- },
1471
- offset: 0,
1472
- submitAction: "onClick",
1473
- supportedEvents: [
1474
- "onClick",
1475
- ],
1476
- onlyDisplay: true,
1477
- colStyle: {
1478
- flex: 1,
1479
- },
1480
- },
1481
- ],
1482
- },
1483
- {
1484
- rowClassName: "mobile-push-row",
1485
- cols: [
1486
- {
1487
- id: "message-title2",
1488
- label: "Title",
1489
- type: "input",
1490
- metaType: "text",
1491
- datatype: "string",
1492
- required: true,
1493
- width: 22,
1494
- placeholder: "Please input message title name.",
1495
- fluid: true,
1496
- styling: "semantic",
1497
- order: 1,
1498
- customComponent: false,
1499
- supportedEvents: [],
1500
- errorMessage: "Message title has unsupported/missing tags!",
1501
- },
1502
- {
1503
- offset: 20,
1504
- id: "title-tagList",
1505
- label: "Tags",
1506
- target: "message-title2",
1507
- type: "tag-list",
1508
- metaType: "List",
1509
- datatype: "select",
1510
- required: true,
1511
- fluid: true,
1512
- onlyDisplay: true,
1513
- styling: "semantic",
1514
- order: 1,
1515
- customComponent: true,
1516
- supportedEvents: [
1517
- "onTagSelect",
1518
- ],
1519
- },
1520
- ],
1521
- },
1522
- {
1523
- rowClassName: "mobile-push-row",
1524
- cols: [
1525
-
1526
- {
1527
- id: "message-editor2",
1528
- label: "Message",
1529
- offset: 0,
1530
- type: "textarea",
1531
- width: 22,
1532
- metaType: "text",
1533
- datatype: "string",
1534
- required: true,
1535
- placeholder: "Please input mobile push template content.",
1536
- errorMessage: "Template message has unsupported/missing tags!",
1537
- fluid: true,
1538
- styling: "semantic",
1539
- autosize: true,
1540
-
1541
- autosizeParams: {
1542
- minRows: 3,
1543
- },
1544
- order: 1,
1545
- customComponent: true,
1546
- supportedEvents: [
1547
- "onChange",
1548
- ],
1549
- },
1550
- {
1551
- id: "message-tagList",
1552
- label: "Tags",
1553
- offset: 20,
1554
- target: "message-editor2",
1555
- type: "tag-list",
1556
- metaType: "List",
1557
- style: {
1558
- marginTop: "55px",
1559
- },
1560
- datatype: "select",
1561
- required: true,
1562
- fluid: true,
1563
- onlyDisplay: true,
1564
- styling: "semantic",
1565
- order: 2,
1566
- customComponent: true,
1567
- supportedEvents: [
1568
- "onTagSelect",
1569
- ],
1570
- },
1571
- ],
1572
- },
1573
- {
1574
- rowClassName: "mobile-push-row",
1575
- cols: [
1576
-
1577
-
1578
- {
1579
- id: "image-upload-ios",
1580
- label: "Upload Image",
1581
- offset: 0,
1582
- showPreview: true,
1583
- previewProps: {
1584
- label: "Cover Image",
1585
- inductiveText: "Maximum file size acceptable is 5 MB",
1586
- // placeholder: "Max file size acceptable is 5mb",
1587
- errorMessage: "Please upload Image",
1588
-
1589
- },
1590
- type: "upload",
1591
- width: 22,
1592
- metaType: "text",
1593
- datatype: "string",
1594
- required: true,
1595
- fluid: true,
1596
- styling: "semantic",
1597
- order: 1,
1598
- customComponent: true,
1599
- submitAction: "onUpload",
1600
- supportedEvents: [
1601
- "onUpload",
1602
- ],
1603
- },
1604
- ],
1605
- },
1606
- {
1607
- rowClassName: "mobile-push-row",
1608
- identifier: "add-pri-cta-ios",
1609
-
1610
- cols: [
1611
- {
1612
- id: "add-pri-cta-ios",
1613
- label: "Add action link to content",
1614
- inductiveText: "Add a hyperlink of the page which customer will be directed to",
1615
- customComponent: false,
1616
- datatype: "boolean",
1617
- fluid: true,
1618
- metaType: "text",
1619
- onlyDisplay: false,
1620
- order: 1,
1621
- dynamicTab: false,
1622
- type: "checkbox",
1623
- styling: "semantic",
1624
-
1625
- // style: {
1626
- // backgroundColor: "white",
1627
- // textAlign: "left",
1628
- // color: "#2673D7",
1629
- // lineHeight: "24px",
1630
- // fontSize: "14px",
1631
- // fontWeight: "600",
1632
- // fontFamily: "open-sans",
1633
- // fontStyle: "normal",
1634
- // cursor: "pointer",
1635
- // },
1636
- offset: 0,
1637
- colStyle: {
1638
- flex: 1,
1639
- },
1640
- submitAction: "addPrimaryCta",
1641
- supportedEvents: [
1642
- "addPrimaryCta",
1643
- ],
1644
- },
1645
- ],
1646
- },
1647
- {
1648
- identifier: "add-sec-cta-ios",
1649
-
1650
- cols: [
1651
- {
1652
- id: "add-sec-cta-ios",
1653
- metaType: "label",
1654
- dynamicTab: false,
1655
- label: "Add action buttons to notification",
1656
- styling: "semantic",
1657
- type: "checkbox",
1658
- customComponent: false,
1659
- datatype: "boolean",
1660
- fluid: true,
1661
- // metaType: "text",
1662
- onlyDisplay: false,
1663
- offset: 0,
1664
- // onlyDisplay: true,
1665
- colStyle: {
1666
- flex: 1,
1667
- },
1668
- submitAction: "addSecondaryCtaIos",
1669
- supportedEvents: [
1670
- "addSecondaryCtaIos",
1671
- ],
1672
- },
1673
- ],
1674
- },
1675
-
1676
- ],
1677
- actionFields: [],
1678
- },
1679
- ],
1680
- },
1681
- {
1682
- width: 6,
1683
- type: "multicols",
1684
- offset: 1,
1685
- colStyle: {
1686
- paddingTop: "16px",
1687
- },
1688
- inputFields: [
1689
- {
1690
- cols: [
1691
- {
1692
- id: "mobile-push-preview",
1693
- type: "mobile-push-preview",
1694
- device: "iphone",
1695
- customComponent: true,
1696
- customStyling: {
1697
- padding: "0",
1698
- },
1699
- metaType: "preview",
1700
- required: true,
1701
- fluid: true,
1702
- styling: "semantic",
1703
- order: 1,
1704
- width: 5,
1705
- onlyDisplay: true,
1706
- offset: 7,
1707
- channel: "MOBILEPUSH",
1708
- content: {
1709
- title: "message-title2",
1710
- message: "message-editor2",
1711
- secondaryCta1: "secondary-cta-1-action",
1712
- secondaryCta2: "secondary-cta-1-action2",
1713
- appName: "",
1714
- },
1715
- },
1716
- ],
1717
- },
1718
- ],
1719
- },
1720
- ],
1721
- },
1722
- ],
1723
- },
1724
- ],
1725
- type: "tabs",
1726
- defaultPanes: 1,
1727
- additionalPanes: 0,
1728
- },
1729
- ],
1730
- channel: "MOBILEPUSH",
1731
- module: "Campaigns",
1732
- type: "LAYOUT",
1733
- },
1734
- },
1735
- isActive: true,
1736
- },
1737
- ],
1738
- };
1739
-