@capillarytech/creatives-library 8.0.298 → 8.0.299-alpha.4

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 (28) hide show
  1. package/package.json +1 -1
  2. package/services/api.js +17 -0
  3. package/services/tests/api.test.js +85 -0
  4. package/utils/commonUtils.js +10 -0
  5. package/utils/tests/commonUtil.test.js +169 -0
  6. package/v2Components/CommonTestAndPreview/AddTestCustomer.js +42 -0
  7. package/v2Components/CommonTestAndPreview/CustomerCreationModal.js +284 -0
  8. package/v2Components/CommonTestAndPreview/ExistingCustomerModal.js +72 -0
  9. package/v2Components/CommonTestAndPreview/SendTestMessage.js +78 -49
  10. package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +200 -4
  11. package/v2Components/CommonTestAndPreview/actions.js +10 -0
  12. package/v2Components/CommonTestAndPreview/constants.js +18 -1
  13. package/v2Components/CommonTestAndPreview/index.js +274 -14
  14. package/v2Components/CommonTestAndPreview/messages.js +94 -0
  15. package/v2Components/CommonTestAndPreview/reducer.js +10 -0
  16. package/v2Components/CommonTestAndPreview/tests/AddTestCustomer.test.js +66 -0
  17. package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +653 -0
  18. package/v2Components/CommonTestAndPreview/tests/CustomerCreationModal.test.js +316 -0
  19. package/v2Components/CommonTestAndPreview/tests/ExistingCustomerModal.test.js +114 -0
  20. package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +53 -0
  21. package/v2Components/CommonTestAndPreview/tests/constants.test.js +25 -2
  22. package/v2Components/CommonTestAndPreview/tests/index.test.js +7 -0
  23. package/v2Components/CommonTestAndPreview/tests/reducer.test.js +71 -0
  24. package/v2Components/CommonTestAndPreview/tests/selectors.test.js +17 -0
  25. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +1588 -1336
  26. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +369 -306
  27. package/v2Containers/TemplatesV2/TemplatesV2.style.js +9 -3
  28. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +5794 -5080
@@ -6037,6 +6037,7 @@ FREE GIFTS-
6037
6037
  <InjectIntl(TestAndPreviewSlidebox)
6038
6038
  actions={
6039
6039
  Object {
6040
+ "addTestCustomer": [Function],
6040
6041
  "clearCustomerSearchState": [Function],
6041
6042
  "clearPrefilledValues": [Function],
6042
6043
  "clearPreviewErrors": [Function],
@@ -6117,6 +6118,7 @@ FREE GIFTS-
6117
6118
  <TestAndPreviewSlidebox
6118
6119
  actions={
6119
6120
  Object {
6121
+ "addTestCustomer": [Function],
6120
6122
  "clearCustomerSearchState": [Function],
6121
6123
  "clearPrefilledValues": [Function],
6122
6124
  "clearPreviewErrors": [Function],
@@ -8446,6 +8448,7 @@ new message content.",
8446
8448
  <CommonTestAndPreview
8447
8449
  actions={
8448
8450
  Object {
8451
+ "addTestCustomer": [Function],
8449
8452
  "clearCustomerSearchState": [Function],
8450
8453
  "clearPrefilledValues": [Function],
8451
8454
  "clearPreviewErrors": [Function],
@@ -10792,40 +10795,53 @@ new message content.",
10792
10795
  closeIconSize="m"
10793
10796
  closeIconType="close"
10794
10797
  content={
10795
- <CapRow
10796
- className="test-preview-container"
10798
+ <div
10799
+ className="common-test-and-preview-notification-container"
10800
+ style={
10801
+ Object {
10802
+ "height": "100%",
10803
+ "position": "relative",
10804
+ }
10805
+ }
10797
10806
  >
10798
- <CapRow
10799
- className="test-and-preview-panels"
10807
+ <CapSpin
10808
+ className="common-test-preview-lookup-spin "
10809
+ spinning={false}
10800
10810
  >
10801
10811
  <CapRow
10802
- className="left-panel"
10812
+ className="test-preview-container"
10803
10813
  >
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
- />
10823
10814
  <CapRow
10824
- className="panel-section send-test-section"
10815
+ className="test-and-preview-panels"
10825
10816
  >
10826
- <SendTestMessage
10827
- channel="SMS"
10828
- content="LATEST FASHION@VISHAL
10817
+ <CapRow
10818
+ className="left-panel"
10819
+ >
10820
+ <LeftPanelContent
10821
+ customers={Immutable.List []}
10822
+ enableCustomerSearch={true}
10823
+ enableTagExtraction={true}
10824
+ error7078Message={null}
10825
+ extractedTags={Immutable.List []}
10826
+ handleClearSelection={[Function]}
10827
+ handleCustomerSelect={[Function]}
10828
+ handleExtractTags={[Function]}
10829
+ handleSearchCustomer={[Function]}
10830
+ isExtractingTags={false}
10831
+ isSearchingCustomer={false}
10832
+ renderCustomValuesEditor={[Function]}
10833
+ selectedCustomer={null}
10834
+ tagsExtracted={false}
10835
+ />
10836
+ <CapDivider
10837
+ className="panel-divider"
10838
+ />
10839
+ <CapRow
10840
+ className="panel-section send-test-section"
10841
+ >
10842
+ <SendTestMessage
10843
+ channel="SMS"
10844
+ content="LATEST FASHION@VISHAL
10829
10845
  {#var#}
10830
10846
 
10831
10847
  BUY1GET1-
@@ -10836,19 +10852,19 @@ BUY1GET1-
10836
10852
  FREE GIFTS-
10837
10853
  {#var#}
10838
10854
  {#var#}"
10839
- deliverySettings={
10840
- Object {
10841
- "cdmaSenderId": "",
10842
- "domainGatewayMapId": null,
10843
- "domainId": null,
10844
- "gsmSenderId": "",
10845
- }
10846
- }
10847
- formData={
10848
- Object {
10849
- "templateConfigs": Object {
10850
- "registeredSenderIds": "VISHMM",
10851
- "template": "LATEST FASHION@VISHAL
10855
+ deliverySettings={
10856
+ Object {
10857
+ "cdmaSenderId": "",
10858
+ "domainGatewayMapId": null,
10859
+ "domainId": null,
10860
+ "gsmSenderId": "",
10861
+ }
10862
+ }
10863
+ formData={
10864
+ Object {
10865
+ "templateConfigs": Object {
10866
+ "registeredSenderIds": "VISHMM",
10867
+ "template": "LATEST FASHION@VISHAL
10852
10868
  {#var#}
10853
10869
 
10854
10870
  BUY1GET1-
@@ -10859,54 +10875,57 @@ BUY1GET1-
10859
10875
  FREE GIFTS-
10860
10876
  {#var#}
10861
10877
  {#var#}",
10862
- "templateId": "'1107160207324585172'",
10863
- "traiDltEnabled": true,
10864
- },
10865
- }
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
- },
10878
+ "templateId": "'1107160207324585172'",
10879
+ "traiDltEnabled": true,
10880
+ },
10881
+ }
10882
+ }
10883
+ formatMessage={[Function]}
10884
+ handleSendTestMessage={[Function]}
10885
+ handleTestEntitiesChange={[Function]}
10886
+ isFetchingTestCustomers={false}
10887
+ isFetchingTestGroups={false}
10888
+ isLoadingSenderDetails={false}
10889
+ isSendingTestMessage={false}
10890
+ onSaveDeliverySettings={[Function]}
10891
+ registeredSenderIds="VISHMM"
10892
+ renderAddTestCustomerButton={[Function]}
10893
+ searchValue=""
10894
+ selectedTestEntities={Array []}
10895
+ senderDetailsOptions={Array []}
10896
+ setSearchValue={[Function]}
10897
+ smsTraiDltEnabled={true}
10898
+ testEntitiesTreeData={
10899
+ Array [
10900
+ Object {
10901
+ "children": Immutable.List [],
10902
+ "selectable": false,
10903
+ "title": "Groups",
10904
+ "value": "groups-node",
10905
+ },
10906
+ Object {
10907
+ "children": Immutable.List [],
10908
+ "selectable": false,
10909
+ "title": "Individuals",
10910
+ "value": "customers-node",
10911
+ },
10912
+ ]
10913
+ }
10914
+ wecrmAccounts={Array []}
10915
+ />
10916
+ </CapRow>
10917
+ <CapDivider
10918
+ className="panel-divider"
10919
+ />
10920
+ </CapRow>
10921
+ <CapRow
10922
+ className="right-panel"
10923
+ >
10924
+ <PreviewSection
10925
+ unifiedPreviewProps={
10887
10926
  Object {
10888
- "children": Immutable.List [],
10889
- "selectable": false,
10890
- "title": "Individuals",
10891
- "value": "customers-node",
10892
- },
10893
- ]
10894
- }
10895
- wecrmAccounts={Array []}
10896
- />
10897
- </CapRow>
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
10927
+ "channel": "SMS",
10928
+ "content": "LATEST FASHION@VISHAL
10910
10929
  {#var#}
10911
10930
 
10912
10931
  BUY1GET1-
@@ -10917,21 +10936,23 @@ BUY1GET1-
10917
10936
  FREE GIFTS-
10918
10937
  {#var#}
10919
10938
  {#var#}",
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,
10929
- }
10930
- }
10931
- />
10939
+ "device": "desktop",
10940
+ "error": null,
10941
+ "formatMessage": [Function],
10942
+ "isUpdating": false,
10943
+ "lastModified": undefined,
10944
+ "onDeviceChange": [Function],
10945
+ "selectedCustomer": null,
10946
+ "showDeviceToggle": true,
10947
+ "updatedByName": undefined,
10948
+ }
10949
+ }
10950
+ />
10951
+ </CapRow>
10952
+ </CapRow>
10932
10953
  </CapRow>
10933
- </CapRow>
10934
- </CapRow>
10954
+ </CapSpin>
10955
+ </div>
10935
10956
  }
10936
10957
  handleClose={[Function]}
10937
10958
  header={
@@ -17015,6 +17036,7 @@ FREE GIFTS-
17015
17036
  <InjectIntl(TestAndPreviewSlidebox)
17016
17037
  actions={
17017
17038
  Object {
17039
+ "addTestCustomer": [Function],
17018
17040
  "clearCustomerSearchState": [Function],
17019
17041
  "clearPrefilledValues": [Function],
17020
17042
  "clearPreviewErrors": [Function],
@@ -17095,6 +17117,7 @@ FREE GIFTS-
17095
17117
  <TestAndPreviewSlidebox
17096
17118
  actions={
17097
17119
  Object {
17120
+ "addTestCustomer": [Function],
17098
17121
  "clearCustomerSearchState": [Function],
17099
17122
  "clearPrefilledValues": [Function],
17100
17123
  "clearPreviewErrors": [Function],
@@ -19424,6 +19447,7 @@ new message content.",
19424
19447
  <CommonTestAndPreview
19425
19448
  actions={
19426
19449
  Object {
19450
+ "addTestCustomer": [Function],
19427
19451
  "clearCustomerSearchState": [Function],
19428
19452
  "clearPrefilledValues": [Function],
19429
19453
  "clearPreviewErrors": [Function],
@@ -21770,40 +21794,53 @@ new message content.",
21770
21794
  closeIconSize="m"
21771
21795
  closeIconType="close"
21772
21796
  content={
21773
- <CapRow
21774
- className="test-preview-container"
21797
+ <div
21798
+ className="common-test-and-preview-notification-container"
21799
+ style={
21800
+ Object {
21801
+ "height": "100%",
21802
+ "position": "relative",
21803
+ }
21804
+ }
21775
21805
  >
21776
- <CapRow
21777
- className="test-and-preview-panels"
21806
+ <CapSpin
21807
+ className="common-test-preview-lookup-spin "
21808
+ spinning={false}
21778
21809
  >
21779
21810
  <CapRow
21780
- className="left-panel"
21811
+ className="test-preview-container"
21781
21812
  >
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
- />
21801
21813
  <CapRow
21802
- className="panel-section send-test-section"
21814
+ className="test-and-preview-panels"
21803
21815
  >
21804
- <SendTestMessage
21805
- channel="SMS"
21806
- content="LATEST FASHION@VISHAL
21816
+ <CapRow
21817
+ className="left-panel"
21818
+ >
21819
+ <LeftPanelContent
21820
+ customers={Immutable.List []}
21821
+ enableCustomerSearch={true}
21822
+ enableTagExtraction={true}
21823
+ error7078Message={null}
21824
+ extractedTags={Immutable.List []}
21825
+ handleClearSelection={[Function]}
21826
+ handleCustomerSelect={[Function]}
21827
+ handleExtractTags={[Function]}
21828
+ handleSearchCustomer={[Function]}
21829
+ isExtractingTags={false}
21830
+ isSearchingCustomer={false}
21831
+ renderCustomValuesEditor={[Function]}
21832
+ selectedCustomer={null}
21833
+ tagsExtracted={false}
21834
+ />
21835
+ <CapDivider
21836
+ className="panel-divider"
21837
+ />
21838
+ <CapRow
21839
+ className="panel-section send-test-section"
21840
+ >
21841
+ <SendTestMessage
21842
+ channel="SMS"
21843
+ content="LATEST FASHION@VISHAL
21807
21844
  {#var#}
21808
21845
 
21809
21846
  BUY1GET1-
@@ -21814,19 +21851,19 @@ BUY1GET1-
21814
21851
  FREE GIFTS-
21815
21852
  {#var#}
21816
21853
  {#var#}"
21817
- deliverySettings={
21818
- Object {
21819
- "cdmaSenderId": "",
21820
- "domainGatewayMapId": null,
21821
- "domainId": null,
21822
- "gsmSenderId": "",
21823
- }
21824
- }
21825
- formData={
21826
- Object {
21827
- "templateConfigs": Object {
21828
- "registeredSenderIds": "VISHMM",
21829
- "template": "LATEST FASHION@VISHAL
21854
+ deliverySettings={
21855
+ Object {
21856
+ "cdmaSenderId": "",
21857
+ "domainGatewayMapId": null,
21858
+ "domainId": null,
21859
+ "gsmSenderId": "",
21860
+ }
21861
+ }
21862
+ formData={
21863
+ Object {
21864
+ "templateConfigs": Object {
21865
+ "registeredSenderIds": "VISHMM",
21866
+ "template": "LATEST FASHION@VISHAL
21830
21867
  {#var#}
21831
21868
 
21832
21869
  BUY1GET1-
@@ -21837,54 +21874,57 @@ BUY1GET1-
21837
21874
  FREE GIFTS-
21838
21875
  {#var#}
21839
21876
  {#var#}",
21840
- "templateId": "'1107160207324585172'",
21841
- "traiDltEnabled": true,
21842
- },
21843
- }
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
- },
21877
+ "templateId": "'1107160207324585172'",
21878
+ "traiDltEnabled": true,
21879
+ },
21880
+ }
21881
+ }
21882
+ formatMessage={[Function]}
21883
+ handleSendTestMessage={[Function]}
21884
+ handleTestEntitiesChange={[Function]}
21885
+ isFetchingTestCustomers={false}
21886
+ isFetchingTestGroups={false}
21887
+ isLoadingSenderDetails={false}
21888
+ isSendingTestMessage={false}
21889
+ onSaveDeliverySettings={[Function]}
21890
+ registeredSenderIds="VISHMM"
21891
+ renderAddTestCustomerButton={[Function]}
21892
+ searchValue=""
21893
+ selectedTestEntities={Array []}
21894
+ senderDetailsOptions={Array []}
21895
+ setSearchValue={[Function]}
21896
+ smsTraiDltEnabled={true}
21897
+ testEntitiesTreeData={
21898
+ Array [
21899
+ Object {
21900
+ "children": Immutable.List [],
21901
+ "selectable": false,
21902
+ "title": "Groups",
21903
+ "value": "groups-node",
21904
+ },
21905
+ Object {
21906
+ "children": Immutable.List [],
21907
+ "selectable": false,
21908
+ "title": "Individuals",
21909
+ "value": "customers-node",
21910
+ },
21911
+ ]
21912
+ }
21913
+ wecrmAccounts={Array []}
21914
+ />
21915
+ </CapRow>
21916
+ <CapDivider
21917
+ className="panel-divider"
21918
+ />
21919
+ </CapRow>
21920
+ <CapRow
21921
+ className="right-panel"
21922
+ >
21923
+ <PreviewSection
21924
+ unifiedPreviewProps={
21865
21925
  Object {
21866
- "children": Immutable.List [],
21867
- "selectable": false,
21868
- "title": "Individuals",
21869
- "value": "customers-node",
21870
- },
21871
- ]
21872
- }
21873
- wecrmAccounts={Array []}
21874
- />
21875
- </CapRow>
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
21926
+ "channel": "SMS",
21927
+ "content": "LATEST FASHION@VISHAL
21888
21928
  {#var#}
21889
21929
 
21890
21930
  BUY1GET1-
@@ -21895,21 +21935,23 @@ BUY1GET1-
21895
21935
  FREE GIFTS-
21896
21936
  {#var#}
21897
21937
  {#var#}",
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,
21907
- }
21908
- }
21909
- />
21938
+ "device": "desktop",
21939
+ "error": null,
21940
+ "formatMessage": [Function],
21941
+ "isUpdating": false,
21942
+ "lastModified": undefined,
21943
+ "onDeviceChange": [Function],
21944
+ "selectedCustomer": null,
21945
+ "showDeviceToggle": true,
21946
+ "updatedByName": undefined,
21947
+ }
21948
+ }
21949
+ />
21950
+ </CapRow>
21951
+ </CapRow>
21910
21952
  </CapRow>
21911
- </CapRow>
21912
- </CapRow>
21953
+ </CapSpin>
21954
+ </div>
21913
21955
  }
21914
21956
  handleClose={[Function]}
21915
21957
  header={
@@ -28083,6 +28125,7 @@ FREE GIFTS-
28083
28125
  <InjectIntl(TestAndPreviewSlidebox)
28084
28126
  actions={
28085
28127
  Object {
28128
+ "addTestCustomer": [Function],
28086
28129
  "clearCustomerSearchState": [Function],
28087
28130
  "clearPrefilledValues": [Function],
28088
28131
  "clearPreviewErrors": [Function],
@@ -28163,6 +28206,7 @@ FREE GIFTS-
28163
28206
  <TestAndPreviewSlidebox
28164
28207
  actions={
28165
28208
  Object {
28209
+ "addTestCustomer": [Function],
28166
28210
  "clearCustomerSearchState": [Function],
28167
28211
  "clearPrefilledValues": [Function],
28168
28212
  "clearPreviewErrors": [Function],
@@ -30492,6 +30536,7 @@ new message content.",
30492
30536
  <CommonTestAndPreview
30493
30537
  actions={
30494
30538
  Object {
30539
+ "addTestCustomer": [Function],
30495
30540
  "clearCustomerSearchState": [Function],
30496
30541
  "clearPrefilledValues": [Function],
30497
30542
  "clearPreviewErrors": [Function],
@@ -32838,40 +32883,53 @@ new message content.",
32838
32883
  closeIconSize="m"
32839
32884
  closeIconType="close"
32840
32885
  content={
32841
- <CapRow
32842
- className="test-preview-container"
32886
+ <div
32887
+ className="common-test-and-preview-notification-container"
32888
+ style={
32889
+ Object {
32890
+ "height": "100%",
32891
+ "position": "relative",
32892
+ }
32893
+ }
32843
32894
  >
32844
- <CapRow
32845
- className="test-and-preview-panels"
32895
+ <CapSpin
32896
+ className="common-test-preview-lookup-spin "
32897
+ spinning={false}
32846
32898
  >
32847
32899
  <CapRow
32848
- className="left-panel"
32900
+ className="test-preview-container"
32849
32901
  >
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
- />
32869
32902
  <CapRow
32870
- className="panel-section send-test-section"
32903
+ className="test-and-preview-panels"
32871
32904
  >
32872
- <SendTestMessage
32873
- channel="SMS"
32874
- content="LATEST FASHION@VISHAL
32905
+ <CapRow
32906
+ className="left-panel"
32907
+ >
32908
+ <LeftPanelContent
32909
+ customers={Immutable.List []}
32910
+ enableCustomerSearch={true}
32911
+ enableTagExtraction={true}
32912
+ error7078Message={null}
32913
+ extractedTags={Immutable.List []}
32914
+ handleClearSelection={[Function]}
32915
+ handleCustomerSelect={[Function]}
32916
+ handleExtractTags={[Function]}
32917
+ handleSearchCustomer={[Function]}
32918
+ isExtractingTags={false}
32919
+ isSearchingCustomer={false}
32920
+ renderCustomValuesEditor={[Function]}
32921
+ selectedCustomer={null}
32922
+ tagsExtracted={false}
32923
+ />
32924
+ <CapDivider
32925
+ className="panel-divider"
32926
+ />
32927
+ <CapRow
32928
+ className="panel-section send-test-section"
32929
+ >
32930
+ <SendTestMessage
32931
+ channel="SMS"
32932
+ content="LATEST FASHION@VISHAL
32875
32933
  {#var#}
32876
32934
 
32877
32935
  BUY1GET1-
@@ -32882,19 +32940,19 @@ BUY1GET1-
32882
32940
  FREE GIFTS-
32883
32941
  {#var#}
32884
32942
  {#var#}"
32885
- deliverySettings={
32886
- Object {
32887
- "cdmaSenderId": "",
32888
- "domainGatewayMapId": null,
32889
- "domainId": null,
32890
- "gsmSenderId": "",
32891
- }
32892
- }
32893
- formData={
32894
- Object {
32895
- "templateConfigs": Object {
32896
- "registeredSenderIds": "VISHMM",
32897
- "template": "LATEST FASHION@VISHAL
32943
+ deliverySettings={
32944
+ Object {
32945
+ "cdmaSenderId": "",
32946
+ "domainGatewayMapId": null,
32947
+ "domainId": null,
32948
+ "gsmSenderId": "",
32949
+ }
32950
+ }
32951
+ formData={
32952
+ Object {
32953
+ "templateConfigs": Object {
32954
+ "registeredSenderIds": "VISHMM",
32955
+ "template": "LATEST FASHION@VISHAL
32898
32956
  {#var#}
32899
32957
 
32900
32958
  BUY1GET1-
@@ -32905,54 +32963,57 @@ BUY1GET1-
32905
32963
  FREE GIFTS-
32906
32964
  {#var#}
32907
32965
  {#var#}",
32908
- "templateId": "'1107160207324585172'",
32909
- "traiDltEnabled": true,
32910
- },
32911
- }
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
- },
32966
+ "templateId": "'1107160207324585172'",
32967
+ "traiDltEnabled": true,
32968
+ },
32969
+ }
32970
+ }
32971
+ formatMessage={[Function]}
32972
+ handleSendTestMessage={[Function]}
32973
+ handleTestEntitiesChange={[Function]}
32974
+ isFetchingTestCustomers={false}
32975
+ isFetchingTestGroups={false}
32976
+ isLoadingSenderDetails={false}
32977
+ isSendingTestMessage={false}
32978
+ onSaveDeliverySettings={[Function]}
32979
+ registeredSenderIds="VISHMM"
32980
+ renderAddTestCustomerButton={[Function]}
32981
+ searchValue=""
32982
+ selectedTestEntities={Array []}
32983
+ senderDetailsOptions={Array []}
32984
+ setSearchValue={[Function]}
32985
+ smsTraiDltEnabled={true}
32986
+ testEntitiesTreeData={
32987
+ Array [
32988
+ Object {
32989
+ "children": Immutable.List [],
32990
+ "selectable": false,
32991
+ "title": "Groups",
32992
+ "value": "groups-node",
32993
+ },
32994
+ Object {
32995
+ "children": Immutable.List [],
32996
+ "selectable": false,
32997
+ "title": "Individuals",
32998
+ "value": "customers-node",
32999
+ },
33000
+ ]
33001
+ }
33002
+ wecrmAccounts={Array []}
33003
+ />
33004
+ </CapRow>
33005
+ <CapDivider
33006
+ className="panel-divider"
33007
+ />
33008
+ </CapRow>
33009
+ <CapRow
33010
+ className="right-panel"
33011
+ >
33012
+ <PreviewSection
33013
+ unifiedPreviewProps={
32933
33014
  Object {
32934
- "children": Immutable.List [],
32935
- "selectable": false,
32936
- "title": "Individuals",
32937
- "value": "customers-node",
32938
- },
32939
- ]
32940
- }
32941
- wecrmAccounts={Array []}
32942
- />
32943
- </CapRow>
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
33015
+ "channel": "SMS",
33016
+ "content": "LATEST FASHION@VISHAL
32956
33017
  {#var#}
32957
33018
 
32958
33019
  BUY1GET1-
@@ -32963,21 +33024,23 @@ BUY1GET1-
32963
33024
  FREE GIFTS-
32964
33025
  {#var#}
32965
33026
  {#var#}",
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,
32975
- }
32976
- }
32977
- />
33027
+ "device": "desktop",
33028
+ "error": null,
33029
+ "formatMessage": [Function],
33030
+ "isUpdating": false,
33031
+ "lastModified": undefined,
33032
+ "onDeviceChange": [Function],
33033
+ "selectedCustomer": null,
33034
+ "showDeviceToggle": true,
33035
+ "updatedByName": undefined,
33036
+ }
33037
+ }
33038
+ />
33039
+ </CapRow>
33040
+ </CapRow>
32978
33041
  </CapRow>
32979
- </CapRow>
32980
- </CapRow>
33042
+ </CapSpin>
33043
+ </div>
32981
33044
  }
32982
33045
  handleClose={[Function]}
32983
33046
  header={