@capillarytech/creatives-library 8.0.264 → 8.0.265
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/constants/unified.js +0 -1
- package/package.json +1 -1
- package/services/api.js +0 -5
- package/utils/common.js +0 -6
- package/utils/tagValidations.js +1 -2
- package/utils/tests/transformerUtils.test.js +0 -297
- package/utils/transformerUtils.js +0 -40
- package/v2Components/CapImageUpload/constants.js +0 -2
- package/v2Components/CapImageUpload/index.js +16 -65
- package/v2Components/CapImageUpload/index.scss +1 -4
- package/v2Components/CapImageUpload/messages.js +1 -5
- package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +2 -2
- package/v2Components/FormBuilder/index.js +8 -8
- package/v2Containers/App/constants.js +0 -5
- package/v2Containers/CreativesContainer/SlideBoxContent.js +2 -57
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +0 -1
- package/v2Containers/CreativesContainer/constants.js +0 -3
- package/v2Containers/CreativesContainer/index.js +0 -168
- package/v2Containers/CreativesContainer/messages.js +0 -4
- package/v2Containers/CreativesContainer/tests/SlideBoxContent.test.js +0 -210
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +0 -304
- package/v2Containers/Email/index.js +7 -3
- package/v2Containers/FTP/index.js +1 -1
- package/v2Containers/InApp/index.js +0 -1
- package/v2Containers/Line/Container/Text/index.js +0 -1
- package/v2Containers/MobilePushNew/index.js +0 -1
- package/v2Containers/Rcs/index.js +0 -3
- package/v2Containers/SmsTrai/Edit/index.js +0 -1
- package/v2Containers/Templates/ChannelTypeIllustration.js +1 -13
- package/v2Containers/Templates/_templates.scss +0 -205
- package/v2Containers/Templates/actions.js +1 -2
- package/v2Containers/Templates/constants.js +0 -1
- package/v2Containers/Templates/index.js +34 -274
- package/v2Containers/Templates/messages.js +0 -24
- package/v2Containers/Templates/reducer.js +0 -2
- package/v2Containers/Templates/tests/index.test.js +0 -10
- package/v2Containers/TemplatesV2/index.js +7 -15
- package/v2Containers/TemplatesV2/messages.js +0 -4
- package/v2Containers/Viber/index.js +0 -1
- package/v2Containers/Whatsapp/index.js +0 -1
- package/v2Containers/Zalo/index.js +0 -1
- package/v2Containers/Zalo/tests/index.test.js +5 -1
- package/utils/imageUrlUpload.js +0 -141
- package/v2Components/CapImageUrlUpload/constants.js +0 -26
- package/v2Components/CapImageUrlUpload/index.js +0 -365
- package/v2Components/CapImageUrlUpload/index.scss +0 -35
- package/v2Components/CapImageUrlUpload/messages.js +0 -47
- package/v2Containers/WebPush/Create/components/BrandIconSection.js +0 -108
- package/v2Containers/WebPush/Create/components/ButtonForm.js +0 -172
- package/v2Containers/WebPush/Create/components/ButtonItem.js +0 -101
- package/v2Containers/WebPush/Create/components/ButtonList.js +0 -145
- package/v2Containers/WebPush/Create/components/ButtonsLinksSection.js +0 -164
- package/v2Containers/WebPush/Create/components/ButtonsLinksSection.test.js +0 -463
- package/v2Containers/WebPush/Create/components/FormActions.js +0 -54
- package/v2Containers/WebPush/Create/components/FormActions.test.js +0 -163
- package/v2Containers/WebPush/Create/components/MediaSection.js +0 -142
- package/v2Containers/WebPush/Create/components/MediaSection.test.js +0 -341
- package/v2Containers/WebPush/Create/components/MessageSection.js +0 -103
- package/v2Containers/WebPush/Create/components/MessageSection.test.js +0 -268
- package/v2Containers/WebPush/Create/components/NotificationTitleSection.js +0 -87
- package/v2Containers/WebPush/Create/components/NotificationTitleSection.test.js +0 -210
- package/v2Containers/WebPush/Create/components/TemplateNameSection.js +0 -54
- package/v2Containers/WebPush/Create/components/TemplateNameSection.test.js +0 -143
- package/v2Containers/WebPush/Create/components/__snapshots__/ButtonsLinksSection.test.js.snap +0 -86
- package/v2Containers/WebPush/Create/components/__snapshots__/FormActions.test.js.snap +0 -16
- package/v2Containers/WebPush/Create/components/__snapshots__/MediaSection.test.js.snap +0 -41
- package/v2Containers/WebPush/Create/components/__snapshots__/MessageSection.test.js.snap +0 -54
- package/v2Containers/WebPush/Create/components/__snapshots__/NotificationTitleSection.test.js.snap +0 -37
- package/v2Containers/WebPush/Create/components/__snapshots__/TemplateNameSection.test.js.snap +0 -21
- package/v2Containers/WebPush/Create/components/_buttons.scss +0 -246
- package/v2Containers/WebPush/Create/components/tests/ButtonForm.test.js +0 -554
- package/v2Containers/WebPush/Create/components/tests/ButtonItem.test.js +0 -607
- package/v2Containers/WebPush/Create/components/tests/ButtonList.test.js +0 -633
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonForm.test.js.snap +0 -666
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonItem.test.js.snap +0 -74
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonList.test.js.snap +0 -78
- package/v2Containers/WebPush/Create/hooks/useButtonManagement.js +0 -138
- package/v2Containers/WebPush/Create/hooks/useButtonManagement.test.js +0 -406
- package/v2Containers/WebPush/Create/hooks/useCharacterCount.js +0 -30
- package/v2Containers/WebPush/Create/hooks/useCharacterCount.test.js +0 -151
- package/v2Containers/WebPush/Create/hooks/useImageUpload.js +0 -104
- package/v2Containers/WebPush/Create/hooks/useImageUpload.test.js +0 -538
- package/v2Containers/WebPush/Create/hooks/useTagManagement.js +0 -122
- package/v2Containers/WebPush/Create/hooks/useTagManagement.test.js +0 -633
- package/v2Containers/WebPush/Create/index.js +0 -1148
- package/v2Containers/WebPush/Create/index.scss +0 -134
- package/v2Containers/WebPush/Create/messages.js +0 -211
- package/v2Containers/WebPush/Create/preview/DevicePreviewContent.js +0 -228
- package/v2Containers/WebPush/Create/preview/NotificationContainer.js +0 -294
- package/v2Containers/WebPush/Create/preview/PreviewContent.js +0 -90
- package/v2Containers/WebPush/Create/preview/PreviewControls.js +0 -305
- package/v2Containers/WebPush/Create/preview/PreviewDisclaimer.js +0 -25
- package/v2Containers/WebPush/Create/preview/WebPushPreview.js +0 -155
- package/v2Containers/WebPush/Create/preview/assets/Light.svg +0 -53
- package/v2Containers/WebPush/Create/preview/assets/Top.svg +0 -5
- package/v2Containers/WebPush/Create/preview/assets/android-arrow-down.svg +0 -9
- package/v2Containers/WebPush/Create/preview/assets/android-arrow-up.svg +0 -9
- 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 +0 -106
- package/v2Containers/WebPush/Create/preview/assets/iOS.svg +0 -26
- package/v2Containers/WebPush/Create/preview/assets/macos-arrow-down-icon.svg +0 -9
- package/v2Containers/WebPush/Create/preview/assets/macos-triple-dot-icon.svg +0 -9
- package/v2Containers/WebPush/Create/preview/assets/opera-icon.svg +0 -18
- package/v2Containers/WebPush/Create/preview/assets/safari-icon.svg +0 -29
- package/v2Containers/WebPush/Create/preview/assets/windows-close-icon.svg +0 -9
- package/v2Containers/WebPush/Create/preview/assets/windows-triple-dot-icon.svg +0 -9
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileChromeHeader.js +0 -51
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileExpanded.js +0 -145
- package/v2Containers/WebPush/Create/preview/components/IOSHeader.js +0 -45
- package/v2Containers/WebPush/Create/preview/components/NotificationExpandedContent.js +0 -68
- package/v2Containers/WebPush/Create/preview/components/NotificationHeader.js +0 -61
- package/v2Containers/WebPush/Create/preview/components/WindowsChromeExpanded.js +0 -99
- package/v2Containers/WebPush/Create/preview/components/tests/AndroidMobileExpanded.test.js +0 -733
- package/v2Containers/WebPush/Create/preview/components/tests/WindowsChromeExpanded.test.js +0 -571
- package/v2Containers/WebPush/Create/preview/components/tests/__snapshots__/AndroidMobileExpanded.test.js.snap +0 -85
- package/v2Containers/WebPush/Create/preview/components/tests/__snapshots__/WindowsChromeExpanded.test.js.snap +0 -81
- package/v2Containers/WebPush/Create/preview/config/notificationMappings.js +0 -50
- package/v2Containers/WebPush/Create/preview/constants.js +0 -637
- package/v2Containers/WebPush/Create/preview/notification-container.scss +0 -79
- package/v2Containers/WebPush/Create/preview/preview.scss +0 -358
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-chrome.scss +0 -370
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-edge.scss +0 -12
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-firefox.scss +0 -12
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-opera.scss +0 -12
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-chrome.scss +0 -47
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-edge.scss +0 -11
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-firefox.scss +0 -11
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-opera.scss +0 -11
- package/v2Containers/WebPush/Create/preview/styles/_base.scss +0 -207
- package/v2Containers/WebPush/Create/preview/styles/_ios.scss +0 -153
- package/v2Containers/WebPush/Create/preview/styles/_ipados.scss +0 -107
- package/v2Containers/WebPush/Create/preview/styles/_macos-chrome.scss +0 -101
- package/v2Containers/WebPush/Create/preview/styles/_windows-chrome.scss +0 -229
- package/v2Containers/WebPush/Create/preview/tests/DevicePreviewContent.test.js +0 -909
- package/v2Containers/WebPush/Create/preview/tests/NotificationContainer.test.js +0 -1081
- package/v2Containers/WebPush/Create/preview/tests/PreviewControls.test.js +0 -723
- package/v2Containers/WebPush/Create/preview/tests/WebPushPreview.test.js +0 -1327
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/DevicePreviewContent.test.js.snap +0 -131
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/NotificationContainer.test.js.snap +0 -112
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/PreviewControls.test.js.snap +0 -144
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/WebPushPreview.test.js.snap +0 -129
- package/v2Containers/WebPush/Create/utils/payloadBuilder.js +0 -96
- package/v2Containers/WebPush/Create/utils/payloadBuilder.test.js +0 -396
- package/v2Containers/WebPush/Create/utils/previewUtils.js +0 -89
- package/v2Containers/WebPush/Create/utils/urlValidation.js +0 -115
- package/v2Containers/WebPush/Create/utils/urlValidation.test.js +0 -449
- package/v2Containers/WebPush/Create/utils/validation.js +0 -76
- package/v2Containers/WebPush/Create/utils/validation.test.js +0 -283
- package/v2Containers/WebPush/actions.js +0 -60
- package/v2Containers/WebPush/constants.js +0 -132
- package/v2Containers/WebPush/index.js +0 -2
- package/v2Containers/WebPush/reducer.js +0 -104
- package/v2Containers/WebPush/sagas.js +0 -119
- package/v2Containers/WebPush/selectors.js +0 -65
- package/v2Containers/WebPush/tests/reducer.test.js +0 -863
- package/v2Containers/WebPush/tests/sagas.test.js +0 -566
- package/v2Containers/WebPush/tests/selectors.test.js +0 -960
|
@@ -133,20 +133,17 @@
|
|
|
133
133
|
.ant-card-meta-description{
|
|
134
134
|
display: -webkit-box;
|
|
135
135
|
-webkit-line-clamp: 13;
|
|
136
|
-
line-clamp: 13;
|
|
137
136
|
-webkit-box-orient: vertical;
|
|
138
137
|
}
|
|
139
138
|
}
|
|
140
139
|
.truncate-text-with-button{
|
|
141
140
|
.ant-card-meta-description{
|
|
142
141
|
-webkit-line-clamp: 13;
|
|
143
|
-
line-clamp: 13;
|
|
144
142
|
}
|
|
145
143
|
}
|
|
146
144
|
.truncate-text-with-image{
|
|
147
145
|
.ant-card-meta-description{
|
|
148
146
|
-webkit-line-clamp: 3;
|
|
149
|
-
line-clamp: 3;
|
|
150
147
|
}
|
|
151
148
|
}
|
|
152
149
|
|
|
@@ -318,73 +315,6 @@
|
|
|
318
315
|
}
|
|
319
316
|
}
|
|
320
317
|
|
|
321
|
-
.WEBPUSH {
|
|
322
|
-
.cap-custom-card {
|
|
323
|
-
.ant-card-body {
|
|
324
|
-
height: 19rem;
|
|
325
|
-
padding: $CAP_SPACE_16;
|
|
326
|
-
overflow: hidden;
|
|
327
|
-
|
|
328
|
-
.ant-card-meta {
|
|
329
|
-
height: 100%;
|
|
330
|
-
|
|
331
|
-
.ant-card-meta-description {
|
|
332
|
-
height: 100%;
|
|
333
|
-
display: flex;
|
|
334
|
-
flex-direction: column;
|
|
335
|
-
|
|
336
|
-
.sms-template-content.webpush-template-content {
|
|
337
|
-
height: 100%;
|
|
338
|
-
overflow: hidden;
|
|
339
|
-
|
|
340
|
-
.webpush-template-card {
|
|
341
|
-
height: 100%;
|
|
342
|
-
overflow: hidden;
|
|
343
|
-
|
|
344
|
-
.webpush-template-meta {
|
|
345
|
-
flex-shrink: 0;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.webpush-template-text {
|
|
349
|
-
flex: 1;
|
|
350
|
-
min-height: 0;
|
|
351
|
-
overflow: hidden;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.webpush-media-image {
|
|
355
|
-
max-height: 7.142rem;
|
|
356
|
-
flex-shrink: 0;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
.webpush-template-cta-section {
|
|
360
|
-
flex-shrink: 0;
|
|
361
|
-
margin-top: $CAP_SPACE_08;
|
|
362
|
-
padding-top: $CAP_SPACE_08;
|
|
363
|
-
border-top: 1px solid $CAP_G07;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.cap-custom-card.has-hover-option:hover {
|
|
373
|
-
.sms-template-content.webpush-template-content {
|
|
374
|
-
opacity: 0.2;
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
&.no-image .ant-card-meta {
|
|
379
|
-
background: $CAP_WHITE;
|
|
380
|
-
padding: $CAP_SPACE_16;
|
|
381
|
-
|
|
382
|
-
.ant-card-meta-description {
|
|
383
|
-
height: 100%;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
318
|
.create-new-link{
|
|
389
319
|
.ant-anchor-link {
|
|
390
320
|
display: flex;
|
|
@@ -438,136 +368,6 @@
|
|
|
438
368
|
width: 100%;
|
|
439
369
|
}
|
|
440
370
|
|
|
441
|
-
.sms-template-content.webpush-template-content {
|
|
442
|
-
padding: 0;
|
|
443
|
-
// Font-family override: needed when used in library mode where parent repo's root font-family differs
|
|
444
|
-
font-family: 'Roboto', open-sans, sans-serif;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.webpush-template-card {
|
|
448
|
-
display: flex;
|
|
449
|
-
flex-direction: column;
|
|
450
|
-
|
|
451
|
-
.webpush-template-meta {
|
|
452
|
-
display: flex;
|
|
453
|
-
align-items: flex-start;
|
|
454
|
-
gap: $CAP_SPACE_08;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
.webpush-brand-icon,
|
|
458
|
-
.webpush-brand-icon-placeholder {
|
|
459
|
-
width: $CAP_SPACE_20;
|
|
460
|
-
height: $CAP_SPACE_20;
|
|
461
|
-
border-radius: 50%;
|
|
462
|
-
flex-shrink: 0;
|
|
463
|
-
object-fit: cover;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.webpush-brand-icon-placeholder {
|
|
467
|
-
background-color: $CAP_G07;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
.webpush-template-text {
|
|
471
|
-
display: flex;
|
|
472
|
-
flex-direction: column;
|
|
473
|
-
gap: $CAP_SPACE_04;
|
|
474
|
-
width: 100%;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
.webpush-template-header {
|
|
478
|
-
display: flex;
|
|
479
|
-
align-items: flex-start;
|
|
480
|
-
justify-content: space-between;
|
|
481
|
-
gap: $CAP_SPACE_08;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.webpush-template-title {
|
|
485
|
-
width: 1px; // Required for text truncation with flex: 1
|
|
486
|
-
font-weight: 600;
|
|
487
|
-
color: $CAP_G02;
|
|
488
|
-
font-size: $FONT_SIZE_S;
|
|
489
|
-
line-height: $CAP_SPACE_16;
|
|
490
|
-
word-break: break-word;
|
|
491
|
-
flex: 1;
|
|
492
|
-
overflow: hidden;
|
|
493
|
-
text-overflow: ellipsis;
|
|
494
|
-
white-space: nowrap;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.webpush-template-time {
|
|
498
|
-
color: $CAP_G04;
|
|
499
|
-
font-size: $FONT_SIZE_VS;
|
|
500
|
-
line-height: $CAP_SPACE_16;
|
|
501
|
-
white-space: nowrap;
|
|
502
|
-
flex-shrink: 0;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.webpush-template-message {
|
|
506
|
-
color: $CAP_G04;
|
|
507
|
-
font-size: $FONT_SIZE_S;
|
|
508
|
-
line-height: $CAP_SPACE_16;
|
|
509
|
-
word-break: break-word;
|
|
510
|
-
display: -webkit-box;
|
|
511
|
-
-webkit-line-clamp: 3;
|
|
512
|
-
line-clamp: 3;
|
|
513
|
-
-webkit-box-orient: vertical;
|
|
514
|
-
overflow: hidden;
|
|
515
|
-
text-overflow: ellipsis;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.webpush-media-image {
|
|
519
|
-
width: 100%;
|
|
520
|
-
height: auto;
|
|
521
|
-
max-height: 8.571rem;
|
|
522
|
-
border-radius: $CAP_SPACE_08;
|
|
523
|
-
object-fit: cover;
|
|
524
|
-
margin-top: $CAP_SPACE_04;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.webpush-template-cta-section {
|
|
528
|
-
display: flex;
|
|
529
|
-
margin-top: $CAP_SPACE_08;
|
|
530
|
-
padding-top: $CAP_SPACE_08;
|
|
531
|
-
width: 100%;
|
|
532
|
-
|
|
533
|
-
&.single-cta {
|
|
534
|
-
justify-content: center;
|
|
535
|
-
|
|
536
|
-
.webpush-template-cta-item {
|
|
537
|
-
flex: 0 1 auto;
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.webpush-template-cta-item {
|
|
542
|
-
flex: 1;
|
|
543
|
-
padding: 0 $CAP_SPACE_08;
|
|
544
|
-
display: flex;
|
|
545
|
-
align-items: center;
|
|
546
|
-
justify-content: center;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
.webpush-template-cta-item + .webpush-template-cta-item {
|
|
550
|
-
border-left: 1px solid $CAP_G07;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.webpush-template-cta-text {
|
|
554
|
-
font-weight: 600;
|
|
555
|
-
font-size: $FONT_SIZE_VS;
|
|
556
|
-
line-height: 1rem;
|
|
557
|
-
color: $CAP_G02;
|
|
558
|
-
text-align: center;
|
|
559
|
-
white-space: nowrap;
|
|
560
|
-
overflow: hidden;
|
|
561
|
-
text-overflow: ellipsis;
|
|
562
|
-
width: 100%;
|
|
563
|
-
user-select: none;
|
|
564
|
-
-webkit-user-select: none;
|
|
565
|
-
-moz-user-select: none;
|
|
566
|
-
-ms-user-select: none;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
|
|
571
371
|
.footer-container{
|
|
572
372
|
padding: 8px 0 8px 16px;
|
|
573
373
|
}
|
|
@@ -772,7 +572,6 @@
|
|
|
772
572
|
text-overflow: ellipsis;
|
|
773
573
|
display: -webkit-box;
|
|
774
574
|
-webkit-line-clamp: 3;
|
|
775
|
-
line-clamp: 3;
|
|
776
575
|
-webkit-box-orient: vertical;
|
|
777
576
|
}
|
|
778
577
|
.title{
|
|
@@ -835,7 +634,6 @@
|
|
|
835
634
|
text-overflow: ellipsis;
|
|
836
635
|
display: -webkit-box;
|
|
837
636
|
-webkit-line-clamp: 2;
|
|
838
|
-
line-clamp: 2;
|
|
839
637
|
-webkit-box-orient: vertical;
|
|
840
638
|
}
|
|
841
639
|
.actions{
|
|
@@ -913,7 +711,6 @@
|
|
|
913
711
|
overflow: hidden;
|
|
914
712
|
&.desc{
|
|
915
713
|
-webkit-line-clamp: 5;
|
|
916
|
-
line-clamp: 5;
|
|
917
714
|
}
|
|
918
715
|
}
|
|
919
716
|
|
|
@@ -1011,7 +808,6 @@
|
|
|
1011
808
|
.whatsapp-message-with-media {
|
|
1012
809
|
display: -webkit-box;
|
|
1013
810
|
-webkit-line-clamp: 3;
|
|
1014
|
-
line-clamp: 3;
|
|
1015
811
|
-webkit-box-orient: vertical;
|
|
1016
812
|
overflow: hidden;
|
|
1017
813
|
}
|
|
@@ -1019,7 +815,6 @@
|
|
|
1019
815
|
.whatsapp-message-without-media {
|
|
1020
816
|
display: -webkit-box;
|
|
1021
817
|
-webkit-line-clamp: 10;
|
|
1022
|
-
line-clamp: 10;
|
|
1023
818
|
-webkit-box-orient: vertical;
|
|
1024
819
|
overflow: hidden;
|
|
1025
820
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import * as types from './constants';
|
|
8
8
|
import {
|
|
9
|
-
LINE, WHATSAPP, RCS, ZALO,
|
|
9
|
+
LINE, WHATSAPP, RCS, ZALO,
|
|
10
10
|
} from '../CreativesContainer/constants';
|
|
11
11
|
|
|
12
12
|
export function getAllTemplates(channel, queryParams, intlCopyOf = '') {
|
|
@@ -68,7 +68,6 @@ export function setChannelAccount(channel, account) {
|
|
|
68
68
|
[LINE]: types.SET_LINE_ACCOUNT,
|
|
69
69
|
[WHATSAPP]: types.SET_WHATSAPP_ACCOUNT,
|
|
70
70
|
[ZALO]: types.SET_ZALO_ACCOUNT,
|
|
71
|
-
[WEBPUSH]: types.SET_WEBPUSH_ACCOUNT,
|
|
72
71
|
[RCS]: types.SET_RCS_ACCOUNT,
|
|
73
72
|
};
|
|
74
73
|
|
|
@@ -51,7 +51,6 @@ export const SET_FACEBOOK_ACCOUNT = "app/v2Containers/Templates/SET_FACEBOOK_ACC
|
|
|
51
51
|
export const SET_WHATSAPP_ACCOUNT = "app/v2Containers/Templates/SET_WHATSAPP_ACCOUNT";
|
|
52
52
|
export const SET_RCS_ACCOUNT = "app/v2Containers/Templates/SET_RCS_ACCOUNT";
|
|
53
53
|
export const SET_ZALO_ACCOUNT = "app/v2Containers/Templates/SET_ZALO_ACCOUNT";
|
|
54
|
-
export const SET_WEBPUSH_ACCOUNT = "app/v2Containers/Templates/SET_WEBPUSH_ACCOUNT";
|
|
55
54
|
|
|
56
55
|
export const GET_DEAFULT_BEE_TEMPLATES_REQUEST = 'app/v2Containers/Templates/GET_DEAFULT_BEE_TEMPLATES_REQUEST';
|
|
57
56
|
export const GET_DEAFULT_BEE_TEMPLATES_SUCCESS = 'app/v2Containers/Templates/GET_DEAFULT_BEE_TEMPLATES_SUCCESS';
|