@capillarytech/creatives-library 8.0.298 → 8.0.299-alpha.3
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/services/api.js +17 -0
- package/services/tests/api.test.js +85 -0
- package/utils/commonUtils.js +10 -0
- package/utils/tests/commonUtil.test.js +169 -0
- package/v2Components/CommonTestAndPreview/AddTestCustomer.js +42 -0
- package/v2Components/CommonTestAndPreview/CustomerCreationModal.js +284 -0
- package/v2Components/CommonTestAndPreview/ExistingCustomerModal.js +72 -0
- package/v2Components/CommonTestAndPreview/SendTestMessage.js +78 -49
- package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +189 -4
- package/v2Components/CommonTestAndPreview/actions.js +10 -0
- package/v2Components/CommonTestAndPreview/constants.js +18 -1
- package/v2Components/CommonTestAndPreview/index.js +259 -14
- package/v2Components/CommonTestAndPreview/messages.js +94 -0
- package/v2Components/CommonTestAndPreview/reducer.js +10 -0
- package/v2Components/CommonTestAndPreview/tests/AddTestCustomer.test.js +66 -0
- package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +653 -0
- package/v2Components/CommonTestAndPreview/tests/CustomerCreationModal.test.js +316 -0
- package/v2Components/CommonTestAndPreview/tests/ExistingCustomerModal.test.js +114 -0
- package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +53 -0
- package/v2Components/CommonTestAndPreview/tests/constants.test.js +25 -2
- package/v2Components/CommonTestAndPreview/tests/index.test.js +7 -0
- package/v2Components/CommonTestAndPreview/tests/reducer.test.js +71 -0
- package/v2Components/CommonTestAndPreview/tests/selectors.test.js +17 -0
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +1408 -1276
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +321 -288
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +5246 -4872
|
@@ -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,44 @@ new message content.",
|
|
|
10792
10795
|
closeIconSize="m"
|
|
10793
10796
|
closeIconType="close"
|
|
10794
10797
|
content={
|
|
10795
|
-
<
|
|
10796
|
-
className="test-preview-
|
|
10798
|
+
<CapSpin
|
|
10799
|
+
className="common-test-preview-lookup-spin "
|
|
10800
|
+
spinning={false}
|
|
10797
10801
|
>
|
|
10798
10802
|
<CapRow
|
|
10799
|
-
className="test-
|
|
10803
|
+
className="test-preview-container"
|
|
10800
10804
|
>
|
|
10801
10805
|
<CapRow
|
|
10802
|
-
className="
|
|
10806
|
+
className="test-and-preview-panels"
|
|
10803
10807
|
>
|
|
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
10808
|
<CapRow
|
|
10824
|
-
className="panel
|
|
10809
|
+
className="left-panel"
|
|
10825
10810
|
>
|
|
10826
|
-
<
|
|
10827
|
-
|
|
10828
|
-
|
|
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
|
|
10829
10836
|
{#var#}
|
|
10830
10837
|
|
|
10831
10838
|
BUY1GET1-
|
|
@@ -10836,19 +10843,19 @@ BUY1GET1-
|
|
|
10836
10843
|
FREE GIFTS-
|
|
10837
10844
|
{#var#}
|
|
10838
10845
|
{#var#}"
|
|
10839
|
-
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10846
|
+
deliverySettings={
|
|
10847
|
+
Object {
|
|
10848
|
+
"cdmaSenderId": "",
|
|
10849
|
+
"domainGatewayMapId": null,
|
|
10850
|
+
"domainId": null,
|
|
10851
|
+
"gsmSenderId": "",
|
|
10852
|
+
}
|
|
10845
10853
|
}
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
"template": "LATEST FASHION@VISHAL
|
|
10854
|
+
formData={
|
|
10855
|
+
Object {
|
|
10856
|
+
"templateConfigs": Object {
|
|
10857
|
+
"registeredSenderIds": "VISHMM",
|
|
10858
|
+
"template": "LATEST FASHION@VISHAL
|
|
10852
10859
|
{#var#}
|
|
10853
10860
|
|
|
10854
10861
|
BUY1GET1-
|
|
@@ -10859,54 +10866,57 @@ BUY1GET1-
|
|
|
10859
10866
|
FREE GIFTS-
|
|
10860
10867
|
{#var#}
|
|
10861
10868
|
{#var#}",
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10869
|
+
"templateId": "'1107160207324585172'",
|
|
10870
|
+
"traiDltEnabled": true,
|
|
10871
|
+
},
|
|
10872
|
+
}
|
|
10865
10873
|
}
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
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
|
+
]
|
|
10904
|
+
}
|
|
10905
|
+
wecrmAccounts={Array []}
|
|
10906
|
+
/>
|
|
10907
|
+
</CapRow>
|
|
10908
|
+
<CapDivider
|
|
10909
|
+
className="panel-divider"
|
|
10896
10910
|
/>
|
|
10897
10911
|
</CapRow>
|
|
10898
|
-
<
|
|
10899
|
-
className="panel
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
unifiedPreviewProps={
|
|
10907
|
-
Object {
|
|
10908
|
-
"channel": "SMS",
|
|
10909
|
-
"content": "LATEST FASHION@VISHAL
|
|
10912
|
+
<CapRow
|
|
10913
|
+
className="right-panel"
|
|
10914
|
+
>
|
|
10915
|
+
<PreviewSection
|
|
10916
|
+
unifiedPreviewProps={
|
|
10917
|
+
Object {
|
|
10918
|
+
"channel": "SMS",
|
|
10919
|
+
"content": "LATEST FASHION@VISHAL
|
|
10910
10920
|
{#var#}
|
|
10911
10921
|
|
|
10912
10922
|
BUY1GET1-
|
|
@@ -10917,21 +10927,22 @@ BUY1GET1-
|
|
|
10917
10927
|
FREE GIFTS-
|
|
10918
10928
|
{#var#}
|
|
10919
10929
|
{#var#}",
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
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
|
+
}
|
|
10929
10940
|
}
|
|
10930
|
-
|
|
10931
|
-
|
|
10941
|
+
/>
|
|
10942
|
+
</CapRow>
|
|
10932
10943
|
</CapRow>
|
|
10933
10944
|
</CapRow>
|
|
10934
|
-
</
|
|
10945
|
+
</CapSpin>
|
|
10935
10946
|
}
|
|
10936
10947
|
handleClose={[Function]}
|
|
10937
10948
|
header={
|
|
@@ -17015,6 +17026,7 @@ FREE GIFTS-
|
|
|
17015
17026
|
<InjectIntl(TestAndPreviewSlidebox)
|
|
17016
17027
|
actions={
|
|
17017
17028
|
Object {
|
|
17029
|
+
"addTestCustomer": [Function],
|
|
17018
17030
|
"clearCustomerSearchState": [Function],
|
|
17019
17031
|
"clearPrefilledValues": [Function],
|
|
17020
17032
|
"clearPreviewErrors": [Function],
|
|
@@ -17095,6 +17107,7 @@ FREE GIFTS-
|
|
|
17095
17107
|
<TestAndPreviewSlidebox
|
|
17096
17108
|
actions={
|
|
17097
17109
|
Object {
|
|
17110
|
+
"addTestCustomer": [Function],
|
|
17098
17111
|
"clearCustomerSearchState": [Function],
|
|
17099
17112
|
"clearPrefilledValues": [Function],
|
|
17100
17113
|
"clearPreviewErrors": [Function],
|
|
@@ -19424,6 +19437,7 @@ new message content.",
|
|
|
19424
19437
|
<CommonTestAndPreview
|
|
19425
19438
|
actions={
|
|
19426
19439
|
Object {
|
|
19440
|
+
"addTestCustomer": [Function],
|
|
19427
19441
|
"clearCustomerSearchState": [Function],
|
|
19428
19442
|
"clearPrefilledValues": [Function],
|
|
19429
19443
|
"clearPreviewErrors": [Function],
|
|
@@ -21770,40 +21784,44 @@ new message content.",
|
|
|
21770
21784
|
closeIconSize="m"
|
|
21771
21785
|
closeIconType="close"
|
|
21772
21786
|
content={
|
|
21773
|
-
<
|
|
21774
|
-
className="test-preview-
|
|
21787
|
+
<CapSpin
|
|
21788
|
+
className="common-test-preview-lookup-spin "
|
|
21789
|
+
spinning={false}
|
|
21775
21790
|
>
|
|
21776
21791
|
<CapRow
|
|
21777
|
-
className="test-
|
|
21792
|
+
className="test-preview-container"
|
|
21778
21793
|
>
|
|
21779
21794
|
<CapRow
|
|
21780
|
-
className="
|
|
21795
|
+
className="test-and-preview-panels"
|
|
21781
21796
|
>
|
|
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
21797
|
<CapRow
|
|
21802
|
-
className="panel
|
|
21798
|
+
className="left-panel"
|
|
21803
21799
|
>
|
|
21804
|
-
<
|
|
21805
|
-
|
|
21806
|
-
|
|
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
|
|
21807
21825
|
{#var#}
|
|
21808
21826
|
|
|
21809
21827
|
BUY1GET1-
|
|
@@ -21814,19 +21832,19 @@ BUY1GET1-
|
|
|
21814
21832
|
FREE GIFTS-
|
|
21815
21833
|
{#var#}
|
|
21816
21834
|
{#var#}"
|
|
21817
|
-
|
|
21818
|
-
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21822
|
-
|
|
21835
|
+
deliverySettings={
|
|
21836
|
+
Object {
|
|
21837
|
+
"cdmaSenderId": "",
|
|
21838
|
+
"domainGatewayMapId": null,
|
|
21839
|
+
"domainId": null,
|
|
21840
|
+
"gsmSenderId": "",
|
|
21841
|
+
}
|
|
21823
21842
|
}
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21827
|
-
|
|
21828
|
-
|
|
21829
|
-
"template": "LATEST FASHION@VISHAL
|
|
21843
|
+
formData={
|
|
21844
|
+
Object {
|
|
21845
|
+
"templateConfigs": Object {
|
|
21846
|
+
"registeredSenderIds": "VISHMM",
|
|
21847
|
+
"template": "LATEST FASHION@VISHAL
|
|
21830
21848
|
{#var#}
|
|
21831
21849
|
|
|
21832
21850
|
BUY1GET1-
|
|
@@ -21837,54 +21855,57 @@ BUY1GET1-
|
|
|
21837
21855
|
FREE GIFTS-
|
|
21838
21856
|
{#var#}
|
|
21839
21857
|
{#var#}",
|
|
21840
|
-
|
|
21841
|
-
|
|
21842
|
-
|
|
21858
|
+
"templateId": "'1107160207324585172'",
|
|
21859
|
+
"traiDltEnabled": true,
|
|
21860
|
+
},
|
|
21861
|
+
}
|
|
21843
21862
|
}
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
|
|
21847
|
-
|
|
21848
|
-
|
|
21849
|
-
|
|
21850
|
-
|
|
21851
|
-
|
|
21852
|
-
|
|
21853
|
-
|
|
21854
|
-
|
|
21855
|
-
|
|
21856
|
-
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
|
|
21866
|
-
|
|
21867
|
-
|
|
21868
|
-
|
|
21869
|
-
|
|
21870
|
-
|
|
21871
|
-
|
|
21872
|
-
|
|
21873
|
-
|
|
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
|
+
]
|
|
21893
|
+
}
|
|
21894
|
+
wecrmAccounts={Array []}
|
|
21895
|
+
/>
|
|
21896
|
+
</CapRow>
|
|
21897
|
+
<CapDivider
|
|
21898
|
+
className="panel-divider"
|
|
21874
21899
|
/>
|
|
21875
21900
|
</CapRow>
|
|
21876
|
-
<
|
|
21877
|
-
className="panel
|
|
21878
|
-
|
|
21879
|
-
|
|
21880
|
-
|
|
21881
|
-
|
|
21882
|
-
|
|
21883
|
-
|
|
21884
|
-
unifiedPreviewProps={
|
|
21885
|
-
Object {
|
|
21886
|
-
"channel": "SMS",
|
|
21887
|
-
"content": "LATEST FASHION@VISHAL
|
|
21901
|
+
<CapRow
|
|
21902
|
+
className="right-panel"
|
|
21903
|
+
>
|
|
21904
|
+
<PreviewSection
|
|
21905
|
+
unifiedPreviewProps={
|
|
21906
|
+
Object {
|
|
21907
|
+
"channel": "SMS",
|
|
21908
|
+
"content": "LATEST FASHION@VISHAL
|
|
21888
21909
|
{#var#}
|
|
21889
21910
|
|
|
21890
21911
|
BUY1GET1-
|
|
@@ -21895,21 +21916,22 @@ BUY1GET1-
|
|
|
21895
21916
|
FREE GIFTS-
|
|
21896
21917
|
{#var#}
|
|
21897
21918
|
{#var#}",
|
|
21898
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21902
|
-
|
|
21903
|
-
|
|
21904
|
-
|
|
21905
|
-
|
|
21906
|
-
|
|
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
|
+
}
|
|
21907
21929
|
}
|
|
21908
|
-
|
|
21909
|
-
|
|
21930
|
+
/>
|
|
21931
|
+
</CapRow>
|
|
21910
21932
|
</CapRow>
|
|
21911
21933
|
</CapRow>
|
|
21912
|
-
</
|
|
21934
|
+
</CapSpin>
|
|
21913
21935
|
}
|
|
21914
21936
|
handleClose={[Function]}
|
|
21915
21937
|
header={
|
|
@@ -28083,6 +28105,7 @@ FREE GIFTS-
|
|
|
28083
28105
|
<InjectIntl(TestAndPreviewSlidebox)
|
|
28084
28106
|
actions={
|
|
28085
28107
|
Object {
|
|
28108
|
+
"addTestCustomer": [Function],
|
|
28086
28109
|
"clearCustomerSearchState": [Function],
|
|
28087
28110
|
"clearPrefilledValues": [Function],
|
|
28088
28111
|
"clearPreviewErrors": [Function],
|
|
@@ -28163,6 +28186,7 @@ FREE GIFTS-
|
|
|
28163
28186
|
<TestAndPreviewSlidebox
|
|
28164
28187
|
actions={
|
|
28165
28188
|
Object {
|
|
28189
|
+
"addTestCustomer": [Function],
|
|
28166
28190
|
"clearCustomerSearchState": [Function],
|
|
28167
28191
|
"clearPrefilledValues": [Function],
|
|
28168
28192
|
"clearPreviewErrors": [Function],
|
|
@@ -30492,6 +30516,7 @@ new message content.",
|
|
|
30492
30516
|
<CommonTestAndPreview
|
|
30493
30517
|
actions={
|
|
30494
30518
|
Object {
|
|
30519
|
+
"addTestCustomer": [Function],
|
|
30495
30520
|
"clearCustomerSearchState": [Function],
|
|
30496
30521
|
"clearPrefilledValues": [Function],
|
|
30497
30522
|
"clearPreviewErrors": [Function],
|
|
@@ -32838,40 +32863,44 @@ new message content.",
|
|
|
32838
32863
|
closeIconSize="m"
|
|
32839
32864
|
closeIconType="close"
|
|
32840
32865
|
content={
|
|
32841
|
-
<
|
|
32842
|
-
className="test-preview-
|
|
32866
|
+
<CapSpin
|
|
32867
|
+
className="common-test-preview-lookup-spin "
|
|
32868
|
+
spinning={false}
|
|
32843
32869
|
>
|
|
32844
32870
|
<CapRow
|
|
32845
|
-
className="test-
|
|
32871
|
+
className="test-preview-container"
|
|
32846
32872
|
>
|
|
32847
32873
|
<CapRow
|
|
32848
|
-
className="
|
|
32874
|
+
className="test-and-preview-panels"
|
|
32849
32875
|
>
|
|
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
32876
|
<CapRow
|
|
32870
|
-
className="panel
|
|
32877
|
+
className="left-panel"
|
|
32871
32878
|
>
|
|
32872
|
-
<
|
|
32873
|
-
|
|
32874
|
-
|
|
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
|
|
32875
32904
|
{#var#}
|
|
32876
32905
|
|
|
32877
32906
|
BUY1GET1-
|
|
@@ -32882,19 +32911,19 @@ BUY1GET1-
|
|
|
32882
32911
|
FREE GIFTS-
|
|
32883
32912
|
{#var#}
|
|
32884
32913
|
{#var#}"
|
|
32885
|
-
|
|
32886
|
-
|
|
32887
|
-
|
|
32888
|
-
|
|
32889
|
-
|
|
32890
|
-
|
|
32914
|
+
deliverySettings={
|
|
32915
|
+
Object {
|
|
32916
|
+
"cdmaSenderId": "",
|
|
32917
|
+
"domainGatewayMapId": null,
|
|
32918
|
+
"domainId": null,
|
|
32919
|
+
"gsmSenderId": "",
|
|
32920
|
+
}
|
|
32891
32921
|
}
|
|
32892
|
-
|
|
32893
|
-
|
|
32894
|
-
|
|
32895
|
-
|
|
32896
|
-
|
|
32897
|
-
"template": "LATEST FASHION@VISHAL
|
|
32922
|
+
formData={
|
|
32923
|
+
Object {
|
|
32924
|
+
"templateConfigs": Object {
|
|
32925
|
+
"registeredSenderIds": "VISHMM",
|
|
32926
|
+
"template": "LATEST FASHION@VISHAL
|
|
32898
32927
|
{#var#}
|
|
32899
32928
|
|
|
32900
32929
|
BUY1GET1-
|
|
@@ -32905,54 +32934,57 @@ BUY1GET1-
|
|
|
32905
32934
|
FREE GIFTS-
|
|
32906
32935
|
{#var#}
|
|
32907
32936
|
{#var#}",
|
|
32908
|
-
|
|
32909
|
-
|
|
32910
|
-
|
|
32937
|
+
"templateId": "'1107160207324585172'",
|
|
32938
|
+
"traiDltEnabled": true,
|
|
32939
|
+
},
|
|
32940
|
+
}
|
|
32911
32941
|
}
|
|
32912
|
-
|
|
32913
|
-
|
|
32914
|
-
|
|
32915
|
-
|
|
32916
|
-
|
|
32917
|
-
|
|
32918
|
-
|
|
32919
|
-
|
|
32920
|
-
|
|
32921
|
-
|
|
32922
|
-
|
|
32923
|
-
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
|
|
32927
|
-
|
|
32928
|
-
|
|
32929
|
-
|
|
32930
|
-
|
|
32931
|
-
|
|
32932
|
-
|
|
32933
|
-
|
|
32934
|
-
|
|
32935
|
-
|
|
32936
|
-
|
|
32937
|
-
|
|
32938
|
-
|
|
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
|
+
]
|
|
32972
|
+
}
|
|
32973
|
+
wecrmAccounts={Array []}
|
|
32974
|
+
/>
|
|
32975
|
+
</CapRow>
|
|
32976
|
+
<CapDivider
|
|
32977
|
+
className="panel-divider"
|
|
32942
32978
|
/>
|
|
32943
32979
|
</CapRow>
|
|
32944
|
-
<
|
|
32945
|
-
className="panel
|
|
32946
|
-
|
|
32947
|
-
|
|
32948
|
-
|
|
32949
|
-
|
|
32950
|
-
|
|
32951
|
-
|
|
32952
|
-
unifiedPreviewProps={
|
|
32953
|
-
Object {
|
|
32954
|
-
"channel": "SMS",
|
|
32955
|
-
"content": "LATEST FASHION@VISHAL
|
|
32980
|
+
<CapRow
|
|
32981
|
+
className="right-panel"
|
|
32982
|
+
>
|
|
32983
|
+
<PreviewSection
|
|
32984
|
+
unifiedPreviewProps={
|
|
32985
|
+
Object {
|
|
32986
|
+
"channel": "SMS",
|
|
32987
|
+
"content": "LATEST FASHION@VISHAL
|
|
32956
32988
|
{#var#}
|
|
32957
32989
|
|
|
32958
32990
|
BUY1GET1-
|
|
@@ -32963,21 +32995,22 @@ BUY1GET1-
|
|
|
32963
32995
|
FREE GIFTS-
|
|
32964
32996
|
{#var#}
|
|
32965
32997
|
{#var#}",
|
|
32966
|
-
|
|
32967
|
-
|
|
32968
|
-
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32973
|
-
|
|
32974
|
-
|
|
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
|
+
}
|
|
32975
33008
|
}
|
|
32976
|
-
|
|
32977
|
-
|
|
33009
|
+
/>
|
|
33010
|
+
</CapRow>
|
|
32978
33011
|
</CapRow>
|
|
32979
33012
|
</CapRow>
|
|
32980
|
-
</
|
|
33013
|
+
</CapSpin>
|
|
32981
33014
|
}
|
|
32982
33015
|
handleClose={[Function]}
|
|
32983
33016
|
header={
|