@capillarytech/creatives-library 8.0.332 → 8.0.334

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 (43) hide show
  1. package/package.json +1 -1
  2. package/utils/tests/tagValidations.test.js +20 -0
  3. package/v2Components/CapTagList/index.js +28 -23
  4. package/v2Components/CapTagList/style.scss +29 -0
  5. package/v2Components/CapTagListWithInput/__tests__/CapTagListWithInput.test.js +63 -0
  6. package/v2Components/CapTagListWithInput/index.js +4 -0
  7. package/v2Components/CapWhatsappCTA/index.js +2 -0
  8. package/v2Components/FormBuilder/index.js +7 -0
  9. package/v2Components/HtmlEditor/HTMLEditor.js +6 -1
  10. package/v2Components/HtmlEditor/__tests__/HTMLEditor.apiErrors.test.js +1 -0
  11. package/v2Components/HtmlEditor/__tests__/HTMLEditor.test.js +927 -2
  12. package/v2Components/HtmlEditor/components/CodeEditorPane/index.js +3 -0
  13. package/v2Containers/BeeEditor/index.js +3 -0
  14. package/v2Containers/CreativesContainer/SlideBoxContent.js +28 -1
  15. package/v2Containers/CreativesContainer/index.js +9 -7
  16. package/v2Containers/Email/index.js +1 -0
  17. package/v2Containers/EmailWrapper/components/EmailHTMLEditor.js +6 -1
  18. package/v2Containers/EmailWrapper/components/EmailWrapperView.js +3 -0
  19. package/v2Containers/EmailWrapper/components/__tests__/EmailHTMLEditor.test.js +20 -2
  20. package/v2Containers/EmailWrapper/components/__tests__/EmailWrapperView.test.js +16 -1
  21. package/v2Containers/EmailWrapper/hooks/useEmailWrapper.js +3 -0
  22. package/v2Containers/EmailWrapper/index.js +4 -0
  23. package/v2Containers/EmailWrapper/tests/useEmailWrapper.edgeCases.test.js +1 -0
  24. package/v2Containers/EmailWrapper/tests/useEmailWrapper.test.js +9 -0
  25. package/v2Containers/InAppWrapper/hooks/__tests__/useInAppWrapper.test.js +1 -0
  26. package/v2Containers/MobilePush/Create/index.js +2 -0
  27. package/v2Containers/MobilePush/Edit/index.js +2 -0
  28. package/v2Containers/MobilepushWrapper/index.js +3 -1
  29. package/v2Containers/Rcs/index.js +1 -7
  30. package/v2Containers/Sms/Create/index.js +2 -0
  31. package/v2Containers/Sms/Edit/index.js +2 -0
  32. package/v2Containers/SmsTrai/Edit/index.js +2 -0
  33. package/v2Containers/SmsWrapper/index.js +2 -0
  34. package/v2Containers/TagList/index.js +62 -5
  35. package/v2Containers/TagList/messages.js +4 -0
  36. package/v2Containers/TagList/tests/TagList.test.js +124 -20
  37. package/v2Containers/TagList/tests/mockdata.js +17 -0
  38. package/v2Containers/Viber/index.js +3 -0
  39. package/v2Containers/WebPush/Create/hooks/useTagManagement.js +0 -2
  40. package/v2Containers/WebPush/Create/index.js +9 -1
  41. package/v2Containers/Whatsapp/index.js +5 -0
  42. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +20 -0
  43. package/v2Containers/Zalo/index.js +2 -0
@@ -258543,6 +258543,7 @@ Click {{3}} to unsubscribe'",
258543
258543
  onContextChange={[Function]}
258544
258544
  onTagSelect={[Function]}
258545
258545
  tags={Array []}
258546
+ waitEventContextTags={Object {}}
258546
258547
  />
258547
258548
  }
258548
258549
  title={
@@ -258595,6 +258596,7 @@ Click {{3}} to unsubscribe'",
258595
258596
  onContextChange={[Function]}
258596
258597
  onTagSelect={[Function]}
258597
258598
  tags={Array []}
258599
+ waitEventContextTags={Object {}}
258598
258600
  >
258599
258601
  <div
258600
258602
  className="tag-mock"
@@ -258612,6 +258614,7 @@ Click {{3}} to unsubscribe'",
258612
258614
  onContextChange={[Function]}
258613
258615
  onTagSelect={[Function]}
258614
258616
  tags={Array []}
258617
+ waitEventContextTags={Object {}}
258615
258618
  >
258616
258619
  TagList
258617
258620
  </div>
@@ -260161,6 +260164,7 @@ T&C'
260161
260164
  key=".2"
260162
260165
  tags={Array []}
260163
260166
  updateHandler={[Function]}
260167
+ waitEventContextTags={Object {}}
260164
260168
  >
260165
260169
  <CapWhatsappCTA
260166
260170
  ctaData={
@@ -262436,6 +262440,7 @@ new message content.",
262436
262440
  isEditFlow={true}
262437
262441
  tags={Array []}
262438
262442
  updateHandler={[Function]}
262443
+ waitEventContextTags={Object {}}
262439
262444
  >
262440
262445
  <CapRow
262441
262446
  align="middle"
@@ -311074,6 +311079,7 @@ Click {{3}} to unsubscribe'",
311074
311079
  onContextChange={[Function]}
311075
311080
  onTagSelect={[Function]}
311076
311081
  tags={Array []}
311082
+ waitEventContextTags={Object {}}
311077
311083
  />
311078
311084
  }
311079
311085
  title={
@@ -311126,6 +311132,7 @@ Click {{3}} to unsubscribe'",
311126
311132
  onContextChange={[Function]}
311127
311133
  onTagSelect={[Function]}
311128
311134
  tags={Array []}
311135
+ waitEventContextTags={Object {}}
311129
311136
  >
311130
311137
  <div
311131
311138
  className="tag-mock"
@@ -311143,6 +311150,7 @@ Click {{3}} to unsubscribe'",
311143
311150
  onContextChange={[Function]}
311144
311151
  onTagSelect={[Function]}
311145
311152
  tags={Array []}
311153
+ waitEventContextTags={Object {}}
311146
311154
  >
311147
311155
  TagList
311148
311156
  </div>
@@ -312692,6 +312700,7 @@ T&C'
312692
312700
  key=".2"
312693
312701
  tags={Array []}
312694
312702
  updateHandler={[Function]}
312703
+ waitEventContextTags={Object {}}
312695
312704
  >
312696
312705
  <CapWhatsappCTA
312697
312706
  ctaData={
@@ -314967,6 +314976,7 @@ new message content.",
314967
314976
  isEditFlow={true}
314968
314977
  tags={Array []}
314969
314978
  updateHandler={[Function]}
314979
+ waitEventContextTags={Object {}}
314970
314980
  >
314971
314981
  <CapRow
314972
314982
  align="middle"
@@ -337743,6 +337753,7 @@ Click {{unsubscribe}} to unsubscribe",
337743
337753
  onContextChange={[Function]}
337744
337754
  onTagSelect={[Function]}
337745
337755
  tags={Array []}
337756
+ waitEventContextTags={Object {}}
337746
337757
  />
337747
337758
  }
337748
337759
  title={
@@ -337795,6 +337806,7 @@ Click {{unsubscribe}} to unsubscribe",
337795
337806
  onContextChange={[Function]}
337796
337807
  onTagSelect={[Function]}
337797
337808
  tags={Array []}
337809
+ waitEventContextTags={Object {}}
337798
337810
  >
337799
337811
  <div
337800
337812
  className="tag-mock"
@@ -337812,6 +337824,7 @@ Click {{unsubscribe}} to unsubscribe",
337812
337824
  onContextChange={[Function]}
337813
337825
  onTagSelect={[Function]}
337814
337826
  tags={Array []}
337827
+ waitEventContextTags={Object {}}
337815
337828
  >
337816
337829
  TagList
337817
337830
  </div>
@@ -339224,6 +339237,7 @@ Click {{unsubscribe}} to unsubscribe",
339224
339237
  key=".2"
339225
339238
  tags={Array []}
339226
339239
  updateHandler={[Function]}
339240
+ waitEventContextTags={Object {}}
339227
339241
  >
339228
339242
  <CapWhatsappCTA
339229
339243
  ctaData={
@@ -341499,6 +341513,7 @@ new message content.",
341499
341513
  isEditFlow={true}
341500
341514
  tags={Array []}
341501
341515
  updateHandler={[Function]}
341516
+ waitEventContextTags={Object {}}
341502
341517
  >
341503
341518
  <CapRow
341504
341519
  align="middle"
@@ -363096,6 +363111,7 @@ new message content.",
363096
363111
  onContextChange={[Function]}
363097
363112
  onTagSelect={[Function]}
363098
363113
  tags={Array []}
363114
+ waitEventContextTags={Object {}}
363099
363115
  />
363100
363116
  }
363101
363117
  title={
@@ -363148,6 +363164,7 @@ new message content.",
363148
363164
  onContextChange={[Function]}
363149
363165
  onTagSelect={[Function]}
363150
363166
  tags={Array []}
363167
+ waitEventContextTags={Object {}}
363151
363168
  >
363152
363169
  <div
363153
363170
  className="tag-mock"
@@ -363165,6 +363182,7 @@ new message content.",
363165
363182
  onContextChange={[Function]}
363166
363183
  onTagSelect={[Function]}
363167
363184
  tags={Array []}
363185
+ waitEventContextTags={Object {}}
363168
363186
  >
363169
363187
  TagList
363170
363188
  </div>
@@ -364576,6 +364594,7 @@ new message content.",
364576
364594
  key=".2"
364577
364595
  tags={Array []}
364578
364596
  updateHandler={[Function]}
364597
+ waitEventContextTags={Object {}}
364579
364598
  >
364580
364599
  <CapWhatsappCTA
364581
364600
  ctaData={
@@ -366842,6 +366861,7 @@ new message content.",
366842
366861
  isEditFlow={true}
366843
366862
  tags={Array []}
366844
366863
  updateHandler={[Function]}
366864
+ waitEventContextTags={Object {}}
366845
366865
  >
366846
366866
  <CapRow
366847
366867
  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
  />