@capillarytech/creatives-library 8.0.320 → 8.0.321
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/package.json +1 -1
- package/utils/tests/tagValidations.test.js +34 -0
- package/v2Components/CapTagList/index.js +15 -22
- package/v2Components/CapTagList/style.scss +48 -0
- package/v2Components/CapTagListWithInput/__tests__/CapTagListWithInput.test.js +63 -0
- package/v2Components/CapTagListWithInput/index.js +4 -0
- package/v2Components/CapWhatsappCTA/index.js +2 -0
- package/v2Components/FormBuilder/index.js +7 -0
- package/v2Components/HtmlEditor/HTMLEditor.js +6 -1
- package/v2Components/HtmlEditor/__tests__/HTMLEditor.apiErrors.test.js +1 -0
- package/v2Components/HtmlEditor/__tests__/HTMLEditor.test.js +927 -2
- package/v2Components/HtmlEditor/components/CodeEditorPane/index.js +3 -0
- package/v2Containers/BeeEditor/index.js +3 -0
- package/v2Containers/CreativesContainer/SlideBoxContent.js +28 -1
- package/v2Containers/CreativesContainer/index.js +3 -0
- package/v2Containers/Email/index.js +1 -0
- package/v2Containers/EmailWrapper/components/EmailHTMLEditor.js +7 -1
- package/v2Containers/EmailWrapper/components/EmailWrapperView.js +3 -0
- package/v2Containers/EmailWrapper/components/__tests__/EmailHTMLEditor.test.js +20 -2
- package/v2Containers/EmailWrapper/components/__tests__/EmailWrapperView.test.js +16 -1
- package/v2Containers/EmailWrapper/hooks/useEmailWrapper.js +3 -0
- package/v2Containers/EmailWrapper/index.js +4 -0
- package/v2Containers/EmailWrapper/tests/useEmailWrapper.edgeCases.test.js +1 -0
- package/v2Containers/EmailWrapper/tests/useEmailWrapper.test.js +9 -0
- package/v2Containers/InAppWrapper/hooks/__tests__/useInAppWrapper.test.js +19 -0
- package/v2Containers/InAppWrapper/hooks/useInAppWrapper.js +3 -0
- package/v2Containers/InAppWrapper/index.js +3 -0
- package/v2Containers/MobilePush/Create/index.js +2 -0
- package/v2Containers/MobilePush/Edit/index.js +2 -0
- package/v2Containers/MobilepushWrapper/index.js +3 -1
- package/v2Containers/Rcs/index.js +1 -0
- package/v2Containers/Sms/Create/index.js +2 -0
- package/v2Containers/Sms/Edit/index.js +2 -0
- package/v2Containers/SmsTrai/Edit/index.js +2 -0
- package/v2Containers/SmsWrapper/index.js +2 -0
- package/v2Containers/TagList/index.js +41 -2
- package/v2Containers/TagList/messages.js +4 -0
- package/v2Containers/TagList/tests/TagList.test.js +122 -20
- package/v2Containers/TagList/tests/mockdata.js +17 -0
- package/v2Containers/Viber/index.js +5 -0
- package/v2Containers/WebPush/Create/hooks/useTagManagement.js +0 -2
- package/v2Containers/WebPush/Create/index.js +9 -1
- package/v2Containers/Whatsapp/index.js +5 -0
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +20 -0
- package/v2Containers/Zalo/index.js +2 -0
|
@@ -258593,6 +258593,7 @@ Click {{3}} to unsubscribe'",
|
|
|
258593
258593
|
onContextChange={[Function]}
|
|
258594
258594
|
onTagSelect={[Function]}
|
|
258595
258595
|
tags={Array []}
|
|
258596
|
+
waitEventContextTags={Object {}}
|
|
258596
258597
|
/>
|
|
258597
258598
|
}
|
|
258598
258599
|
title={
|
|
@@ -258645,6 +258646,7 @@ Click {{3}} to unsubscribe'",
|
|
|
258645
258646
|
onContextChange={[Function]}
|
|
258646
258647
|
onTagSelect={[Function]}
|
|
258647
258648
|
tags={Array []}
|
|
258649
|
+
waitEventContextTags={Object {}}
|
|
258648
258650
|
>
|
|
258649
258651
|
<div
|
|
258650
258652
|
className="tag-mock"
|
|
@@ -258662,6 +258664,7 @@ Click {{3}} to unsubscribe'",
|
|
|
258662
258664
|
onContextChange={[Function]}
|
|
258663
258665
|
onTagSelect={[Function]}
|
|
258664
258666
|
tags={Array []}
|
|
258667
|
+
waitEventContextTags={Object {}}
|
|
258665
258668
|
>
|
|
258666
258669
|
TagList
|
|
258667
258670
|
</div>
|
|
@@ -260211,6 +260214,7 @@ T&C'
|
|
|
260211
260214
|
key=".2"
|
|
260212
260215
|
tags={Array []}
|
|
260213
260216
|
updateHandler={[Function]}
|
|
260217
|
+
waitEventContextTags={Object {}}
|
|
260214
260218
|
>
|
|
260215
260219
|
<CapWhatsappCTA
|
|
260216
260220
|
ctaData={
|
|
@@ -262486,6 +262490,7 @@ new message content.",
|
|
|
262486
262490
|
isEditFlow={true}
|
|
262487
262491
|
tags={Array []}
|
|
262488
262492
|
updateHandler={[Function]}
|
|
262493
|
+
waitEventContextTags={Object {}}
|
|
262489
262494
|
>
|
|
262490
262495
|
<CapRow
|
|
262491
262496
|
align="middle"
|
|
@@ -311139,6 +311144,7 @@ Click {{3}} to unsubscribe'",
|
|
|
311139
311144
|
onContextChange={[Function]}
|
|
311140
311145
|
onTagSelect={[Function]}
|
|
311141
311146
|
tags={Array []}
|
|
311147
|
+
waitEventContextTags={Object {}}
|
|
311142
311148
|
/>
|
|
311143
311149
|
}
|
|
311144
311150
|
title={
|
|
@@ -311191,6 +311197,7 @@ Click {{3}} to unsubscribe'",
|
|
|
311191
311197
|
onContextChange={[Function]}
|
|
311192
311198
|
onTagSelect={[Function]}
|
|
311193
311199
|
tags={Array []}
|
|
311200
|
+
waitEventContextTags={Object {}}
|
|
311194
311201
|
>
|
|
311195
311202
|
<div
|
|
311196
311203
|
className="tag-mock"
|
|
@@ -311208,6 +311215,7 @@ Click {{3}} to unsubscribe'",
|
|
|
311208
311215
|
onContextChange={[Function]}
|
|
311209
311216
|
onTagSelect={[Function]}
|
|
311210
311217
|
tags={Array []}
|
|
311218
|
+
waitEventContextTags={Object {}}
|
|
311211
311219
|
>
|
|
311212
311220
|
TagList
|
|
311213
311221
|
</div>
|
|
@@ -312757,6 +312765,7 @@ T&C'
|
|
|
312757
312765
|
key=".2"
|
|
312758
312766
|
tags={Array []}
|
|
312759
312767
|
updateHandler={[Function]}
|
|
312768
|
+
waitEventContextTags={Object {}}
|
|
312760
312769
|
>
|
|
312761
312770
|
<CapWhatsappCTA
|
|
312762
312771
|
ctaData={
|
|
@@ -315032,6 +315041,7 @@ new message content.",
|
|
|
315032
315041
|
isEditFlow={true}
|
|
315033
315042
|
tags={Array []}
|
|
315034
315043
|
updateHandler={[Function]}
|
|
315044
|
+
waitEventContextTags={Object {}}
|
|
315035
315045
|
>
|
|
315036
315046
|
<CapRow
|
|
315037
315047
|
align="middle"
|
|
@@ -337813,6 +337823,7 @@ Click {{unsubscribe}} to unsubscribe",
|
|
|
337813
337823
|
onContextChange={[Function]}
|
|
337814
337824
|
onTagSelect={[Function]}
|
|
337815
337825
|
tags={Array []}
|
|
337826
|
+
waitEventContextTags={Object {}}
|
|
337816
337827
|
/>
|
|
337817
337828
|
}
|
|
337818
337829
|
title={
|
|
@@ -337865,6 +337876,7 @@ Click {{unsubscribe}} to unsubscribe",
|
|
|
337865
337876
|
onContextChange={[Function]}
|
|
337866
337877
|
onTagSelect={[Function]}
|
|
337867
337878
|
tags={Array []}
|
|
337879
|
+
waitEventContextTags={Object {}}
|
|
337868
337880
|
>
|
|
337869
337881
|
<div
|
|
337870
337882
|
className="tag-mock"
|
|
@@ -337882,6 +337894,7 @@ Click {{unsubscribe}} to unsubscribe",
|
|
|
337882
337894
|
onContextChange={[Function]}
|
|
337883
337895
|
onTagSelect={[Function]}
|
|
337884
337896
|
tags={Array []}
|
|
337897
|
+
waitEventContextTags={Object {}}
|
|
337885
337898
|
>
|
|
337886
337899
|
TagList
|
|
337887
337900
|
</div>
|
|
@@ -339294,6 +339307,7 @@ Click {{unsubscribe}} to unsubscribe",
|
|
|
339294
339307
|
key=".2"
|
|
339295
339308
|
tags={Array []}
|
|
339296
339309
|
updateHandler={[Function]}
|
|
339310
|
+
waitEventContextTags={Object {}}
|
|
339297
339311
|
>
|
|
339298
339312
|
<CapWhatsappCTA
|
|
339299
339313
|
ctaData={
|
|
@@ -341569,6 +341583,7 @@ new message content.",
|
|
|
341569
341583
|
isEditFlow={true}
|
|
341570
341584
|
tags={Array []}
|
|
341571
341585
|
updateHandler={[Function]}
|
|
341586
|
+
waitEventContextTags={Object {}}
|
|
341572
341587
|
>
|
|
341573
341588
|
<CapRow
|
|
341574
341589
|
align="middle"
|
|
@@ -363171,6 +363186,7 @@ new message content.",
|
|
|
363171
363186
|
onContextChange={[Function]}
|
|
363172
363187
|
onTagSelect={[Function]}
|
|
363173
363188
|
tags={Array []}
|
|
363189
|
+
waitEventContextTags={Object {}}
|
|
363174
363190
|
/>
|
|
363175
363191
|
}
|
|
363176
363192
|
title={
|
|
@@ -363223,6 +363239,7 @@ new message content.",
|
|
|
363223
363239
|
onContextChange={[Function]}
|
|
363224
363240
|
onTagSelect={[Function]}
|
|
363225
363241
|
tags={Array []}
|
|
363242
|
+
waitEventContextTags={Object {}}
|
|
363226
363243
|
>
|
|
363227
363244
|
<div
|
|
363228
363245
|
className="tag-mock"
|
|
@@ -363240,6 +363257,7 @@ new message content.",
|
|
|
363240
363257
|
onContextChange={[Function]}
|
|
363241
363258
|
onTagSelect={[Function]}
|
|
363242
363259
|
tags={Array []}
|
|
363260
|
+
waitEventContextTags={Object {}}
|
|
363243
363261
|
>
|
|
363244
363262
|
TagList
|
|
363245
363263
|
</div>
|
|
@@ -364651,6 +364669,7 @@ new message content.",
|
|
|
364651
364669
|
key=".2"
|
|
364652
364670
|
tags={Array []}
|
|
364653
364671
|
updateHandler={[Function]}
|
|
364672
|
+
waitEventContextTags={Object {}}
|
|
364654
364673
|
>
|
|
364655
364674
|
<CapWhatsappCTA
|
|
364656
364675
|
ctaData={
|
|
@@ -366917,6 +366936,7 @@ new message content.",
|
|
|
366917
366936
|
isEditFlow={true}
|
|
366918
366937
|
tags={Array []}
|
|
366919
366938
|
updateHandler={[Function]}
|
|
366939
|
+
waitEventContextTags={Object {}}
|
|
366920
366940
|
>
|
|
366921
366941
|
<CapRow
|
|
366922
366942
|
align="middle"
|
|
@@ -76,6 +76,7 @@ export const Zalo = (props) => {
|
|
|
76
76
|
selectedOfferDetails,
|
|
77
77
|
hostName: zaloHostName = '',
|
|
78
78
|
eventContextTags,
|
|
79
|
+
waitEventContextTags,
|
|
79
80
|
metaDataStatus = "",
|
|
80
81
|
// TestAndPreviewSlidebox props
|
|
81
82
|
showTestAndPreviewSlidebox: propsShowTestAndPreviewSlidebox,
|
|
@@ -519,6 +520,7 @@ export const Zalo = (props) => {
|
|
|
519
520
|
injectedTags={injectedTags || {}}
|
|
520
521
|
selectedOfferDetails={selectedOfferDetails}
|
|
521
522
|
eventContextTags={eventContextTags}
|
|
523
|
+
waitEventContextTags={waitEventContextTags}
|
|
522
524
|
/>
|
|
523
525
|
}
|
|
524
526
|
/>
|