@capillarytech/creatives-library 8.0.309 → 8.0.310

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 (79) hide show
  1. package/constants/unified.js +1 -5
  2. package/initialState.js +2 -0
  3. package/package.json +1 -1
  4. package/services/api.js +0 -17
  5. package/services/tests/api.test.js +0 -85
  6. package/utils/common.js +8 -5
  7. package/utils/commonUtils.js +93 -46
  8. package/utils/tagValidations.js +223 -83
  9. package/utils/tests/commonUtil.test.js +124 -316
  10. package/utils/tests/tagValidations.test.js +358 -441
  11. package/v2Components/CommonTestAndPreview/SendTestMessage.js +49 -78
  12. package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +34 -134
  13. package/v2Components/CommonTestAndPreview/actions.js +0 -10
  14. package/v2Components/CommonTestAndPreview/constants.js +1 -15
  15. package/v2Components/CommonTestAndPreview/index.js +19 -80
  16. package/v2Components/CommonTestAndPreview/messages.js +0 -94
  17. package/v2Components/CommonTestAndPreview/reducer.js +0 -10
  18. package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +0 -53
  19. package/v2Components/CommonTestAndPreview/tests/constants.test.js +1 -31
  20. package/v2Components/CommonTestAndPreview/tests/index.test.js +0 -36
  21. package/v2Components/CommonTestAndPreview/tests/reducer.test.js +0 -71
  22. package/v2Components/CommonTestAndPreview/tests/sagas.test.js +0 -377
  23. package/v2Components/CommonTestAndPreview/tests/selectors.test.js +0 -17
  24. package/v2Components/ErrorInfoNote/index.js +5 -2
  25. package/v2Components/FormBuilder/index.js +203 -137
  26. package/v2Components/FormBuilder/messages.js +8 -0
  27. package/v2Components/HtmlEditor/HTMLEditor.js +5 -0
  28. package/v2Components/HtmlEditor/__tests__/HTMLEditor.apiErrors.test.js +1 -0
  29. package/v2Components/HtmlEditor/__tests__/HTMLEditor.test.js +15 -0
  30. package/v2Components/HtmlEditor/components/CodeEditorPane/index.js +2 -1
  31. package/v2Containers/Cap/mockData.js +14 -0
  32. package/v2Containers/Cap/reducer.js +55 -3
  33. package/v2Containers/Cap/tests/reducer.test.js +102 -0
  34. package/v2Containers/CreativesContainer/SlideBoxContent.js +1 -5
  35. package/v2Containers/CreativesContainer/SlideBoxFooter.js +5 -13
  36. package/v2Containers/CreativesContainer/constants.js +0 -6
  37. package/v2Containers/CreativesContainer/index.js +7 -47
  38. package/v2Containers/Email/index.js +5 -1
  39. package/v2Containers/EmailWrapper/components/EmailHTMLEditor.js +70 -23
  40. package/v2Containers/EmailWrapper/components/__tests__/EmailHTMLEditor.test.js +120 -20
  41. package/v2Containers/FTP/index.js +51 -2
  42. package/v2Containers/FTP/messages.js +4 -0
  43. package/v2Containers/InApp/index.js +107 -35
  44. package/v2Containers/InApp/tests/index.test.js +6 -17
  45. package/v2Containers/InappAdvance/index.js +112 -4
  46. package/v2Containers/InappAdvance/tests/index.test.js +0 -2
  47. package/v2Containers/Line/Container/Text/index.js +1 -0
  48. package/v2Containers/MobilePush/Create/index.js +19 -59
  49. package/v2Containers/MobilePush/Edit/index.js +20 -48
  50. package/v2Containers/MobilePushNew/index.js +32 -12
  51. package/v2Containers/MobilepushWrapper/index.js +1 -3
  52. package/v2Containers/Rcs/index.js +37 -12
  53. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +1276 -1408
  54. package/v2Containers/Sms/Create/index.js +3 -39
  55. package/v2Containers/Sms/Create/messages.js +0 -4
  56. package/v2Containers/Sms/Edit/index.js +3 -35
  57. package/v2Containers/Sms/commonMethods.js +6 -3
  58. package/v2Containers/SmsTrai/Edit/index.js +47 -11
  59. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +294 -327
  60. package/v2Containers/SmsWrapper/index.js +0 -2
  61. package/v2Containers/TemplatesV2/index.js +13 -28
  62. package/v2Containers/Viber/index.js +1 -0
  63. package/v2Containers/WebPush/Create/hooks/useTagManagement.js +3 -1
  64. package/v2Containers/WebPush/Create/hooks/useTagManagement.test.js +7 -0
  65. package/v2Containers/WebPush/Create/index.js +2 -2
  66. package/v2Containers/WebPush/Create/utils/validation.js +8 -17
  67. package/v2Containers/WebPush/Create/utils/validation.test.js +24 -44
  68. package/v2Containers/Whatsapp/index.js +17 -9
  69. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +4872 -5246
  70. package/v2Containers/Zalo/index.js +11 -3
  71. package/v2Components/CommonTestAndPreview/AddTestCustomer.js +0 -42
  72. package/v2Components/CommonTestAndPreview/CustomerCreationModal.js +0 -284
  73. package/v2Components/CommonTestAndPreview/ExistingCustomerModal.js +0 -72
  74. package/v2Components/CommonTestAndPreview/tests/AddTestCustomer.test.js +0 -66
  75. package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +0 -657
  76. package/v2Components/CommonTestAndPreview/tests/CustomValuesEditor.test.js +0 -172
  77. package/v2Components/CommonTestAndPreview/tests/CustomerCreationModal.test.js +0 -466
  78. package/v2Components/CommonTestAndPreview/tests/ExistingCustomerModal.test.js +0 -114
  79. package/v2Containers/Sms/tests/commonMethods.test.js +0 -122
@@ -4265,7 +4265,7 @@ FREE GIFTS-
4265
4265
  <CapCheckbox
4266
4266
  checked={false}
4267
4267
  disabled={false}
4268
- key=".3"
4268
+ key=".4"
4269
4269
  labelType="h4"
4270
4270
  onChange={[Function]}
4271
4271
  >
@@ -4327,7 +4327,7 @@ FREE GIFTS-
4327
4327
  </div>
4328
4328
  </CapCheckbox>
4329
4329
  <div
4330
- key=".5"
4330
+ key=".6"
4331
4331
  style={
4332
4332
  Object {
4333
4333
  "marginBottom": "100px",
@@ -6037,7 +6037,6 @@ FREE GIFTS-
6037
6037
  <InjectIntl(TestAndPreviewSlidebox)
6038
6038
  actions={
6039
6039
  Object {
6040
- "addTestCustomer": [Function],
6041
6040
  "clearCustomerSearchState": [Function],
6042
6041
  "clearPrefilledValues": [Function],
6043
6042
  "clearPreviewErrors": [Function],
@@ -6118,7 +6117,6 @@ FREE GIFTS-
6118
6117
  <TestAndPreviewSlidebox
6119
6118
  actions={
6120
6119
  Object {
6121
- "addTestCustomer": [Function],
6122
6120
  "clearCustomerSearchState": [Function],
6123
6121
  "clearPrefilledValues": [Function],
6124
6122
  "clearPreviewErrors": [Function],
@@ -8448,7 +8446,6 @@ new message content.",
8448
8446
  <CommonTestAndPreview
8449
8447
  actions={
8450
8448
  Object {
8451
- "addTestCustomer": [Function],
8452
8449
  "clearCustomerSearchState": [Function],
8453
8450
  "clearPrefilledValues": [Function],
8454
8451
  "clearPreviewErrors": [Function],
@@ -10795,44 +10792,40 @@ new message content.",
10795
10792
  closeIconSize="m"
10796
10793
  closeIconType="close"
10797
10794
  content={
10798
- <CapSpin
10799
- className="common-test-preview-lookup-spin "
10800
- spinning={false}
10795
+ <CapRow
10796
+ className="test-preview-container"
10801
10797
  >
10802
10798
  <CapRow
10803
- className="test-preview-container"
10799
+ className="test-and-preview-panels"
10804
10800
  >
10805
10801
  <CapRow
10806
- className="test-and-preview-panels"
10802
+ className="left-panel"
10807
10803
  >
10804
+ <LeftPanelContent
10805
+ customers={Immutable.List []}
10806
+ enableCustomerSearch={true}
10807
+ enableTagExtraction={true}
10808
+ error7078Message={null}
10809
+ extractedTags={Immutable.List []}
10810
+ handleClearSelection={[Function]}
10811
+ handleCustomerSelect={[Function]}
10812
+ handleExtractTags={[Function]}
10813
+ handleSearchCustomer={[Function]}
10814
+ isExtractingTags={false}
10815
+ isSearchingCustomer={false}
10816
+ renderCustomValuesEditor={[Function]}
10817
+ selectedCustomer={null}
10818
+ tagsExtracted={false}
10819
+ />
10820
+ <CapDivider
10821
+ className="panel-divider"
10822
+ />
10808
10823
  <CapRow
10809
- className="left-panel"
10824
+ className="panel-section send-test-section"
10810
10825
  >
10811
- <LeftPanelContent
10812
- customers={Immutable.List []}
10813
- enableCustomerSearch={true}
10814
- enableTagExtraction={true}
10815
- error7078Message={null}
10816
- extractedTags={Immutable.List []}
10817
- handleClearSelection={[Function]}
10818
- handleCustomerSelect={[Function]}
10819
- handleExtractTags={[Function]}
10820
- handleSearchCustomer={[Function]}
10821
- isExtractingTags={false}
10822
- isSearchingCustomer={false}
10823
- renderCustomValuesEditor={[Function]}
10824
- selectedCustomer={null}
10825
- tagsExtracted={false}
10826
- />
10827
- <CapDivider
10828
- className="panel-divider"
10829
- />
10830
- <CapRow
10831
- className="panel-section send-test-section"
10832
- >
10833
- <SendTestMessage
10834
- channel="SMS"
10835
- content="LATEST FASHION@VISHAL
10826
+ <SendTestMessage
10827
+ channel="SMS"
10828
+ content="LATEST FASHION@VISHAL
10836
10829
  {#var#}
10837
10830
 
10838
10831
  BUY1GET1-
@@ -10843,19 +10836,19 @@ BUY1GET1-
10843
10836
  FREE GIFTS-
10844
10837
  {#var#}
10845
10838
  {#var#}"
10846
- deliverySettings={
10847
- Object {
10848
- "cdmaSenderId": "",
10849
- "domainGatewayMapId": null,
10850
- "domainId": null,
10851
- "gsmSenderId": "",
10852
- }
10839
+ deliverySettings={
10840
+ Object {
10841
+ "cdmaSenderId": "",
10842
+ "domainGatewayMapId": null,
10843
+ "domainId": null,
10844
+ "gsmSenderId": "",
10853
10845
  }
10854
- formData={
10855
- Object {
10856
- "templateConfigs": Object {
10857
- "registeredSenderIds": "VISHMM",
10858
- "template": "LATEST FASHION@VISHAL
10846
+ }
10847
+ formData={
10848
+ Object {
10849
+ "templateConfigs": Object {
10850
+ "registeredSenderIds": "VISHMM",
10851
+ "template": "LATEST FASHION@VISHAL
10859
10852
  {#var#}
10860
10853
 
10861
10854
  BUY1GET1-
@@ -10866,57 +10859,54 @@ BUY1GET1-
10866
10859
  FREE GIFTS-
10867
10860
  {#var#}
10868
10861
  {#var#}",
10869
- "templateId": "'1107160207324585172'",
10870
- "traiDltEnabled": true,
10871
- },
10872
- }
10873
- }
10874
- formatMessage={[Function]}
10875
- handleSendTestMessage={[Function]}
10876
- handleTestEntitiesChange={[Function]}
10877
- isFetchingTestCustomers={false}
10878
- isFetchingTestGroups={false}
10879
- isLoadingSenderDetails={false}
10880
- isSendingTestMessage={false}
10881
- onSaveDeliverySettings={[Function]}
10882
- registeredSenderIds="VISHMM"
10883
- renderAddTestCustomerButton={[Function]}
10884
- searchValue=""
10885
- selectedTestEntities={Array []}
10886
- senderDetailsOptions={Array []}
10887
- setSearchValue={[Function]}
10888
- smsTraiDltEnabled={true}
10889
- testEntitiesTreeData={
10890
- Array [
10891
- Object {
10892
- "children": Immutable.List [],
10893
- "selectable": false,
10894
- "title": "Groups",
10895
- "value": "groups-node",
10896
- },
10897
- Object {
10898
- "children": Immutable.List [],
10899
- "selectable": false,
10900
- "title": "Individuals",
10901
- "value": "customers-node",
10902
- },
10903
- ]
10862
+ "templateId": "'1107160207324585172'",
10863
+ "traiDltEnabled": true,
10864
+ },
10904
10865
  }
10905
- wecrmAccounts={Array []}
10906
- />
10907
- </CapRow>
10908
- <CapDivider
10909
- className="panel-divider"
10866
+ }
10867
+ formatMessage={[Function]}
10868
+ handleSendTestMessage={[Function]}
10869
+ handleTestEntitiesChange={[Function]}
10870
+ isFetchingTestCustomers={false}
10871
+ isFetchingTestGroups={false}
10872
+ isLoadingSenderDetails={false}
10873
+ isSendingTestMessage={false}
10874
+ onSaveDeliverySettings={[Function]}
10875
+ registeredSenderIds="VISHMM"
10876
+ selectedTestEntities={Array []}
10877
+ senderDetailsOptions={Array []}
10878
+ smsTraiDltEnabled={true}
10879
+ testEntitiesTreeData={
10880
+ Array [
10881
+ Object {
10882
+ "children": Immutable.List [],
10883
+ "selectable": false,
10884
+ "title": "Groups",
10885
+ "value": "groups-node",
10886
+ },
10887
+ Object {
10888
+ "children": Immutable.List [],
10889
+ "selectable": false,
10890
+ "title": "Individuals",
10891
+ "value": "customers-node",
10892
+ },
10893
+ ]
10894
+ }
10895
+ wecrmAccounts={Array []}
10910
10896
  />
10911
10897
  </CapRow>
10912
- <CapRow
10913
- className="right-panel"
10914
- >
10915
- <PreviewSection
10916
- unifiedPreviewProps={
10917
- Object {
10918
- "channel": "SMS",
10919
- "content": "LATEST FASHION@VISHAL
10898
+ <CapDivider
10899
+ className="panel-divider"
10900
+ />
10901
+ </CapRow>
10902
+ <CapRow
10903
+ className="right-panel"
10904
+ >
10905
+ <PreviewSection
10906
+ unifiedPreviewProps={
10907
+ Object {
10908
+ "channel": "SMS",
10909
+ "content": "LATEST FASHION@VISHAL
10920
10910
  {#var#}
10921
10911
 
10922
10912
  BUY1GET1-
@@ -10927,22 +10917,21 @@ BUY1GET1-
10927
10917
  FREE GIFTS-
10928
10918
  {#var#}
10929
10919
  {#var#}",
10930
- "device": "desktop",
10931
- "error": null,
10932
- "formatMessage": [Function],
10933
- "isUpdating": false,
10934
- "lastModified": undefined,
10935
- "onDeviceChange": [Function],
10936
- "selectedCustomer": null,
10937
- "showDeviceToggle": true,
10938
- "updatedByName": undefined,
10939
- }
10920
+ "device": "desktop",
10921
+ "error": null,
10922
+ "formatMessage": [Function],
10923
+ "isUpdating": false,
10924
+ "lastModified": undefined,
10925
+ "onDeviceChange": [Function],
10926
+ "selectedCustomer": null,
10927
+ "showDeviceToggle": true,
10928
+ "updatedByName": undefined,
10940
10929
  }
10941
- />
10942
- </CapRow>
10930
+ }
10931
+ />
10943
10932
  </CapRow>
10944
10933
  </CapRow>
10945
- </CapSpin>
10934
+ </CapRow>
10946
10935
  }
10947
10936
  handleClose={[Function]}
10948
10937
  header={
@@ -15254,7 +15243,7 @@ FREE GIFTS-
15254
15243
  <CapCheckbox
15255
15244
  checked={false}
15256
15245
  disabled={false}
15257
- key=".3"
15246
+ key=".4"
15258
15247
  labelType="h4"
15259
15248
  onChange={[Function]}
15260
15249
  >
@@ -15316,7 +15305,7 @@ FREE GIFTS-
15316
15305
  </div>
15317
15306
  </CapCheckbox>
15318
15307
  <div
15319
- key=".5"
15308
+ key=".6"
15320
15309
  style={
15321
15310
  Object {
15322
15311
  "marginBottom": "100px",
@@ -17026,7 +17015,6 @@ FREE GIFTS-
17026
17015
  <InjectIntl(TestAndPreviewSlidebox)
17027
17016
  actions={
17028
17017
  Object {
17029
- "addTestCustomer": [Function],
17030
17018
  "clearCustomerSearchState": [Function],
17031
17019
  "clearPrefilledValues": [Function],
17032
17020
  "clearPreviewErrors": [Function],
@@ -17107,7 +17095,6 @@ FREE GIFTS-
17107
17095
  <TestAndPreviewSlidebox
17108
17096
  actions={
17109
17097
  Object {
17110
- "addTestCustomer": [Function],
17111
17098
  "clearCustomerSearchState": [Function],
17112
17099
  "clearPrefilledValues": [Function],
17113
17100
  "clearPreviewErrors": [Function],
@@ -19437,7 +19424,6 @@ new message content.",
19437
19424
  <CommonTestAndPreview
19438
19425
  actions={
19439
19426
  Object {
19440
- "addTestCustomer": [Function],
19441
19427
  "clearCustomerSearchState": [Function],
19442
19428
  "clearPrefilledValues": [Function],
19443
19429
  "clearPreviewErrors": [Function],
@@ -21784,44 +21770,40 @@ new message content.",
21784
21770
  closeIconSize="m"
21785
21771
  closeIconType="close"
21786
21772
  content={
21787
- <CapSpin
21788
- className="common-test-preview-lookup-spin "
21789
- spinning={false}
21773
+ <CapRow
21774
+ className="test-preview-container"
21790
21775
  >
21791
21776
  <CapRow
21792
- className="test-preview-container"
21777
+ className="test-and-preview-panels"
21793
21778
  >
21794
21779
  <CapRow
21795
- className="test-and-preview-panels"
21780
+ className="left-panel"
21796
21781
  >
21782
+ <LeftPanelContent
21783
+ customers={Immutable.List []}
21784
+ enableCustomerSearch={true}
21785
+ enableTagExtraction={true}
21786
+ error7078Message={null}
21787
+ extractedTags={Immutable.List []}
21788
+ handleClearSelection={[Function]}
21789
+ handleCustomerSelect={[Function]}
21790
+ handleExtractTags={[Function]}
21791
+ handleSearchCustomer={[Function]}
21792
+ isExtractingTags={false}
21793
+ isSearchingCustomer={false}
21794
+ renderCustomValuesEditor={[Function]}
21795
+ selectedCustomer={null}
21796
+ tagsExtracted={false}
21797
+ />
21798
+ <CapDivider
21799
+ className="panel-divider"
21800
+ />
21797
21801
  <CapRow
21798
- className="left-panel"
21802
+ className="panel-section send-test-section"
21799
21803
  >
21800
- <LeftPanelContent
21801
- customers={Immutable.List []}
21802
- enableCustomerSearch={true}
21803
- enableTagExtraction={true}
21804
- error7078Message={null}
21805
- extractedTags={Immutable.List []}
21806
- handleClearSelection={[Function]}
21807
- handleCustomerSelect={[Function]}
21808
- handleExtractTags={[Function]}
21809
- handleSearchCustomer={[Function]}
21810
- isExtractingTags={false}
21811
- isSearchingCustomer={false}
21812
- renderCustomValuesEditor={[Function]}
21813
- selectedCustomer={null}
21814
- tagsExtracted={false}
21815
- />
21816
- <CapDivider
21817
- className="panel-divider"
21818
- />
21819
- <CapRow
21820
- className="panel-section send-test-section"
21821
- >
21822
- <SendTestMessage
21823
- channel="SMS"
21824
- content="LATEST FASHION@VISHAL
21804
+ <SendTestMessage
21805
+ channel="SMS"
21806
+ content="LATEST FASHION@VISHAL
21825
21807
  {#var#}
21826
21808
 
21827
21809
  BUY1GET1-
@@ -21832,19 +21814,19 @@ BUY1GET1-
21832
21814
  FREE GIFTS-
21833
21815
  {#var#}
21834
21816
  {#var#}"
21835
- deliverySettings={
21836
- Object {
21837
- "cdmaSenderId": "",
21838
- "domainGatewayMapId": null,
21839
- "domainId": null,
21840
- "gsmSenderId": "",
21841
- }
21817
+ deliverySettings={
21818
+ Object {
21819
+ "cdmaSenderId": "",
21820
+ "domainGatewayMapId": null,
21821
+ "domainId": null,
21822
+ "gsmSenderId": "",
21842
21823
  }
21843
- formData={
21844
- Object {
21845
- "templateConfigs": Object {
21846
- "registeredSenderIds": "VISHMM",
21847
- "template": "LATEST FASHION@VISHAL
21824
+ }
21825
+ formData={
21826
+ Object {
21827
+ "templateConfigs": Object {
21828
+ "registeredSenderIds": "VISHMM",
21829
+ "template": "LATEST FASHION@VISHAL
21848
21830
  {#var#}
21849
21831
 
21850
21832
  BUY1GET1-
@@ -21855,57 +21837,54 @@ BUY1GET1-
21855
21837
  FREE GIFTS-
21856
21838
  {#var#}
21857
21839
  {#var#}",
21858
- "templateId": "'1107160207324585172'",
21859
- "traiDltEnabled": true,
21860
- },
21861
- }
21862
- }
21863
- formatMessage={[Function]}
21864
- handleSendTestMessage={[Function]}
21865
- handleTestEntitiesChange={[Function]}
21866
- isFetchingTestCustomers={false}
21867
- isFetchingTestGroups={false}
21868
- isLoadingSenderDetails={false}
21869
- isSendingTestMessage={false}
21870
- onSaveDeliverySettings={[Function]}
21871
- registeredSenderIds="VISHMM"
21872
- renderAddTestCustomerButton={[Function]}
21873
- searchValue=""
21874
- selectedTestEntities={Array []}
21875
- senderDetailsOptions={Array []}
21876
- setSearchValue={[Function]}
21877
- smsTraiDltEnabled={true}
21878
- testEntitiesTreeData={
21879
- Array [
21880
- Object {
21881
- "children": Immutable.List [],
21882
- "selectable": false,
21883
- "title": "Groups",
21884
- "value": "groups-node",
21885
- },
21886
- Object {
21887
- "children": Immutable.List [],
21888
- "selectable": false,
21889
- "title": "Individuals",
21890
- "value": "customers-node",
21891
- },
21892
- ]
21840
+ "templateId": "'1107160207324585172'",
21841
+ "traiDltEnabled": true,
21842
+ },
21893
21843
  }
21894
- wecrmAccounts={Array []}
21895
- />
21896
- </CapRow>
21897
- <CapDivider
21898
- className="panel-divider"
21844
+ }
21845
+ formatMessage={[Function]}
21846
+ handleSendTestMessage={[Function]}
21847
+ handleTestEntitiesChange={[Function]}
21848
+ isFetchingTestCustomers={false}
21849
+ isFetchingTestGroups={false}
21850
+ isLoadingSenderDetails={false}
21851
+ isSendingTestMessage={false}
21852
+ onSaveDeliverySettings={[Function]}
21853
+ registeredSenderIds="VISHMM"
21854
+ selectedTestEntities={Array []}
21855
+ senderDetailsOptions={Array []}
21856
+ smsTraiDltEnabled={true}
21857
+ testEntitiesTreeData={
21858
+ Array [
21859
+ Object {
21860
+ "children": Immutable.List [],
21861
+ "selectable": false,
21862
+ "title": "Groups",
21863
+ "value": "groups-node",
21864
+ },
21865
+ Object {
21866
+ "children": Immutable.List [],
21867
+ "selectable": false,
21868
+ "title": "Individuals",
21869
+ "value": "customers-node",
21870
+ },
21871
+ ]
21872
+ }
21873
+ wecrmAccounts={Array []}
21899
21874
  />
21900
21875
  </CapRow>
21901
- <CapRow
21902
- className="right-panel"
21903
- >
21904
- <PreviewSection
21905
- unifiedPreviewProps={
21906
- Object {
21907
- "channel": "SMS",
21908
- "content": "LATEST FASHION@VISHAL
21876
+ <CapDivider
21877
+ className="panel-divider"
21878
+ />
21879
+ </CapRow>
21880
+ <CapRow
21881
+ className="right-panel"
21882
+ >
21883
+ <PreviewSection
21884
+ unifiedPreviewProps={
21885
+ Object {
21886
+ "channel": "SMS",
21887
+ "content": "LATEST FASHION@VISHAL
21909
21888
  {#var#}
21910
21889
 
21911
21890
  BUY1GET1-
@@ -21916,22 +21895,21 @@ BUY1GET1-
21916
21895
  FREE GIFTS-
21917
21896
  {#var#}
21918
21897
  {#var#}",
21919
- "device": "desktop",
21920
- "error": null,
21921
- "formatMessage": [Function],
21922
- "isUpdating": false,
21923
- "lastModified": undefined,
21924
- "onDeviceChange": [Function],
21925
- "selectedCustomer": null,
21926
- "showDeviceToggle": true,
21927
- "updatedByName": undefined,
21928
- }
21898
+ "device": "desktop",
21899
+ "error": null,
21900
+ "formatMessage": [Function],
21901
+ "isUpdating": false,
21902
+ "lastModified": undefined,
21903
+ "onDeviceChange": [Function],
21904
+ "selectedCustomer": null,
21905
+ "showDeviceToggle": true,
21906
+ "updatedByName": undefined,
21929
21907
  }
21930
- />
21931
- </CapRow>
21908
+ }
21909
+ />
21932
21910
  </CapRow>
21933
21911
  </CapRow>
21934
- </CapSpin>
21912
+ </CapRow>
21935
21913
  }
21936
21914
  handleClose={[Function]}
21937
21915
  header={
@@ -26273,7 +26251,7 @@ FREE GIFTS-
26273
26251
  <CapCheckbox
26274
26252
  checked={false}
26275
26253
  disabled={false}
26276
- key=".3"
26254
+ key=".4"
26277
26255
  labelType="h4"
26278
26256
  onChange={[Function]}
26279
26257
  >
@@ -26335,7 +26313,7 @@ FREE GIFTS-
26335
26313
  </div>
26336
26314
  </CapCheckbox>
26337
26315
  <div
26338
- key=".5"
26316
+ key=".6"
26339
26317
  style={
26340
26318
  Object {
26341
26319
  "marginBottom": "100px",
@@ -28105,7 +28083,6 @@ FREE GIFTS-
28105
28083
  <InjectIntl(TestAndPreviewSlidebox)
28106
28084
  actions={
28107
28085
  Object {
28108
- "addTestCustomer": [Function],
28109
28086
  "clearCustomerSearchState": [Function],
28110
28087
  "clearPrefilledValues": [Function],
28111
28088
  "clearPreviewErrors": [Function],
@@ -28186,7 +28163,6 @@ FREE GIFTS-
28186
28163
  <TestAndPreviewSlidebox
28187
28164
  actions={
28188
28165
  Object {
28189
- "addTestCustomer": [Function],
28190
28166
  "clearCustomerSearchState": [Function],
28191
28167
  "clearPrefilledValues": [Function],
28192
28168
  "clearPreviewErrors": [Function],
@@ -30516,7 +30492,6 @@ new message content.",
30516
30492
  <CommonTestAndPreview
30517
30493
  actions={
30518
30494
  Object {
30519
- "addTestCustomer": [Function],
30520
30495
  "clearCustomerSearchState": [Function],
30521
30496
  "clearPrefilledValues": [Function],
30522
30497
  "clearPreviewErrors": [Function],
@@ -32863,44 +32838,40 @@ new message content.",
32863
32838
  closeIconSize="m"
32864
32839
  closeIconType="close"
32865
32840
  content={
32866
- <CapSpin
32867
- className="common-test-preview-lookup-spin "
32868
- spinning={false}
32841
+ <CapRow
32842
+ className="test-preview-container"
32869
32843
  >
32870
32844
  <CapRow
32871
- className="test-preview-container"
32845
+ className="test-and-preview-panels"
32872
32846
  >
32873
32847
  <CapRow
32874
- className="test-and-preview-panels"
32848
+ className="left-panel"
32875
32849
  >
32850
+ <LeftPanelContent
32851
+ customers={Immutable.List []}
32852
+ enableCustomerSearch={true}
32853
+ enableTagExtraction={true}
32854
+ error7078Message={null}
32855
+ extractedTags={Immutable.List []}
32856
+ handleClearSelection={[Function]}
32857
+ handleCustomerSelect={[Function]}
32858
+ handleExtractTags={[Function]}
32859
+ handleSearchCustomer={[Function]}
32860
+ isExtractingTags={false}
32861
+ isSearchingCustomer={false}
32862
+ renderCustomValuesEditor={[Function]}
32863
+ selectedCustomer={null}
32864
+ tagsExtracted={false}
32865
+ />
32866
+ <CapDivider
32867
+ className="panel-divider"
32868
+ />
32876
32869
  <CapRow
32877
- className="left-panel"
32870
+ className="panel-section send-test-section"
32878
32871
  >
32879
- <LeftPanelContent
32880
- customers={Immutable.List []}
32881
- enableCustomerSearch={true}
32882
- enableTagExtraction={true}
32883
- error7078Message={null}
32884
- extractedTags={Immutable.List []}
32885
- handleClearSelection={[Function]}
32886
- handleCustomerSelect={[Function]}
32887
- handleExtractTags={[Function]}
32888
- handleSearchCustomer={[Function]}
32889
- isExtractingTags={false}
32890
- isSearchingCustomer={false}
32891
- renderCustomValuesEditor={[Function]}
32892
- selectedCustomer={null}
32893
- tagsExtracted={false}
32894
- />
32895
- <CapDivider
32896
- className="panel-divider"
32897
- />
32898
- <CapRow
32899
- className="panel-section send-test-section"
32900
- >
32901
- <SendTestMessage
32902
- channel="SMS"
32903
- content="LATEST FASHION@VISHAL
32872
+ <SendTestMessage
32873
+ channel="SMS"
32874
+ content="LATEST FASHION@VISHAL
32904
32875
  {#var#}
32905
32876
 
32906
32877
  BUY1GET1-
@@ -32911,19 +32882,19 @@ BUY1GET1-
32911
32882
  FREE GIFTS-
32912
32883
  {#var#}
32913
32884
  {#var#}"
32914
- deliverySettings={
32915
- Object {
32916
- "cdmaSenderId": "",
32917
- "domainGatewayMapId": null,
32918
- "domainId": null,
32919
- "gsmSenderId": "",
32920
- }
32885
+ deliverySettings={
32886
+ Object {
32887
+ "cdmaSenderId": "",
32888
+ "domainGatewayMapId": null,
32889
+ "domainId": null,
32890
+ "gsmSenderId": "",
32921
32891
  }
32922
- formData={
32923
- Object {
32924
- "templateConfigs": Object {
32925
- "registeredSenderIds": "VISHMM",
32926
- "template": "LATEST FASHION@VISHAL
32892
+ }
32893
+ formData={
32894
+ Object {
32895
+ "templateConfigs": Object {
32896
+ "registeredSenderIds": "VISHMM",
32897
+ "template": "LATEST FASHION@VISHAL
32927
32898
  {#var#}
32928
32899
 
32929
32900
  BUY1GET1-
@@ -32934,57 +32905,54 @@ BUY1GET1-
32934
32905
  FREE GIFTS-
32935
32906
  {#var#}
32936
32907
  {#var#}",
32937
- "templateId": "'1107160207324585172'",
32938
- "traiDltEnabled": true,
32939
- },
32940
- }
32941
- }
32942
- formatMessage={[Function]}
32943
- handleSendTestMessage={[Function]}
32944
- handleTestEntitiesChange={[Function]}
32945
- isFetchingTestCustomers={false}
32946
- isFetchingTestGroups={false}
32947
- isLoadingSenderDetails={false}
32948
- isSendingTestMessage={false}
32949
- onSaveDeliverySettings={[Function]}
32950
- registeredSenderIds="VISHMM"
32951
- renderAddTestCustomerButton={[Function]}
32952
- searchValue=""
32953
- selectedTestEntities={Array []}
32954
- senderDetailsOptions={Array []}
32955
- setSearchValue={[Function]}
32956
- smsTraiDltEnabled={true}
32957
- testEntitiesTreeData={
32958
- Array [
32959
- Object {
32960
- "children": Immutable.List [],
32961
- "selectable": false,
32962
- "title": "Groups",
32963
- "value": "groups-node",
32964
- },
32965
- Object {
32966
- "children": Immutable.List [],
32967
- "selectable": false,
32968
- "title": "Individuals",
32969
- "value": "customers-node",
32970
- },
32971
- ]
32908
+ "templateId": "'1107160207324585172'",
32909
+ "traiDltEnabled": true,
32910
+ },
32972
32911
  }
32973
- wecrmAccounts={Array []}
32974
- />
32975
- </CapRow>
32976
- <CapDivider
32977
- className="panel-divider"
32912
+ }
32913
+ formatMessage={[Function]}
32914
+ handleSendTestMessage={[Function]}
32915
+ handleTestEntitiesChange={[Function]}
32916
+ isFetchingTestCustomers={false}
32917
+ isFetchingTestGroups={false}
32918
+ isLoadingSenderDetails={false}
32919
+ isSendingTestMessage={false}
32920
+ onSaveDeliverySettings={[Function]}
32921
+ registeredSenderIds="VISHMM"
32922
+ selectedTestEntities={Array []}
32923
+ senderDetailsOptions={Array []}
32924
+ smsTraiDltEnabled={true}
32925
+ testEntitiesTreeData={
32926
+ Array [
32927
+ Object {
32928
+ "children": Immutable.List [],
32929
+ "selectable": false,
32930
+ "title": "Groups",
32931
+ "value": "groups-node",
32932
+ },
32933
+ Object {
32934
+ "children": Immutable.List [],
32935
+ "selectable": false,
32936
+ "title": "Individuals",
32937
+ "value": "customers-node",
32938
+ },
32939
+ ]
32940
+ }
32941
+ wecrmAccounts={Array []}
32978
32942
  />
32979
32943
  </CapRow>
32980
- <CapRow
32981
- className="right-panel"
32982
- >
32983
- <PreviewSection
32984
- unifiedPreviewProps={
32985
- Object {
32986
- "channel": "SMS",
32987
- "content": "LATEST FASHION@VISHAL
32944
+ <CapDivider
32945
+ className="panel-divider"
32946
+ />
32947
+ </CapRow>
32948
+ <CapRow
32949
+ className="right-panel"
32950
+ >
32951
+ <PreviewSection
32952
+ unifiedPreviewProps={
32953
+ Object {
32954
+ "channel": "SMS",
32955
+ "content": "LATEST FASHION@VISHAL
32988
32956
  {#var#}
32989
32957
 
32990
32958
  BUY1GET1-
@@ -32995,22 +32963,21 @@ BUY1GET1-
32995
32963
  FREE GIFTS-
32996
32964
  {#var#}
32997
32965
  {#var#}",
32998
- "device": "desktop",
32999
- "error": null,
33000
- "formatMessage": [Function],
33001
- "isUpdating": false,
33002
- "lastModified": undefined,
33003
- "onDeviceChange": [Function],
33004
- "selectedCustomer": null,
33005
- "showDeviceToggle": true,
33006
- "updatedByName": undefined,
33007
- }
32966
+ "device": "desktop",
32967
+ "error": null,
32968
+ "formatMessage": [Function],
32969
+ "isUpdating": false,
32970
+ "lastModified": undefined,
32971
+ "onDeviceChange": [Function],
32972
+ "selectedCustomer": null,
32973
+ "showDeviceToggle": true,
32974
+ "updatedByName": undefined,
33008
32975
  }
33009
- />
33010
- </CapRow>
32976
+ }
32977
+ />
33011
32978
  </CapRow>
33012
32979
  </CapRow>
33013
- </CapSpin>
32980
+ </CapRow>
33014
32981
  }
33015
32982
  handleClose={[Function]}
33016
32983
  header={