@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.
- 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 +200 -4
- package/v2Components/CommonTestAndPreview/actions.js +10 -0
- package/v2Components/CommonTestAndPreview/constants.js +18 -1
- package/v2Components/CommonTestAndPreview/index.js +274 -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 +1588 -1336
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +369 -306
- package/v2Containers/TemplatesV2/TemplatesV2.style.js +9 -3
- 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
|
-
<
|
|
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
|
-
<
|
|
10799
|
-
className="test-
|
|
10807
|
+
<CapSpin
|
|
10808
|
+
className="common-test-preview-lookup-spin "
|
|
10809
|
+
spinning={false}
|
|
10800
10810
|
>
|
|
10801
10811
|
<CapRow
|
|
10802
|
-
className="
|
|
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="
|
|
10815
|
+
className="test-and-preview-panels"
|
|
10825
10816
|
>
|
|
10826
|
-
<
|
|
10827
|
-
|
|
10828
|
-
|
|
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
|
-
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
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
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
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
|
-
"
|
|
10889
|
-
"
|
|
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
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
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
|
-
</
|
|
10934
|
-
</
|
|
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
|
-
<
|
|
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
|
-
<
|
|
21777
|
-
className="test-
|
|
21806
|
+
<CapSpin
|
|
21807
|
+
className="common-test-preview-lookup-spin "
|
|
21808
|
+
spinning={false}
|
|
21778
21809
|
>
|
|
21779
21810
|
<CapRow
|
|
21780
|
-
className="
|
|
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="
|
|
21814
|
+
className="test-and-preview-panels"
|
|
21803
21815
|
>
|
|
21804
|
-
<
|
|
21805
|
-
|
|
21806
|
-
|
|
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
|
-
|
|
21818
|
-
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21822
|
-
|
|
21823
|
-
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21827
|
-
|
|
21828
|
-
|
|
21829
|
-
|
|
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
|
-
|
|
21841
|
-
|
|
21842
|
-
|
|
21843
|
-
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
|
|
21847
|
-
|
|
21848
|
-
|
|
21849
|
-
|
|
21850
|
-
|
|
21851
|
-
|
|
21852
|
-
|
|
21853
|
-
|
|
21854
|
-
|
|
21855
|
-
|
|
21856
|
-
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
|
|
21863
|
-
|
|
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
|
-
"
|
|
21867
|
-
"
|
|
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
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21902
|
-
|
|
21903
|
-
|
|
21904
|
-
|
|
21905
|
-
|
|
21906
|
-
|
|
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
|
-
</
|
|
21912
|
-
</
|
|
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
|
-
<
|
|
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
|
-
<
|
|
32845
|
-
className="test-
|
|
32895
|
+
<CapSpin
|
|
32896
|
+
className="common-test-preview-lookup-spin "
|
|
32897
|
+
spinning={false}
|
|
32846
32898
|
>
|
|
32847
32899
|
<CapRow
|
|
32848
|
-
className="
|
|
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="
|
|
32903
|
+
className="test-and-preview-panels"
|
|
32871
32904
|
>
|
|
32872
|
-
<
|
|
32873
|
-
|
|
32874
|
-
|
|
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
|
-
|
|
32886
|
-
|
|
32887
|
-
|
|
32888
|
-
|
|
32889
|
-
|
|
32890
|
-
|
|
32891
|
-
|
|
32892
|
-
|
|
32893
|
-
|
|
32894
|
-
|
|
32895
|
-
|
|
32896
|
-
|
|
32897
|
-
|
|
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
|
-
|
|
32909
|
-
|
|
32910
|
-
|
|
32911
|
-
|
|
32912
|
-
|
|
32913
|
-
|
|
32914
|
-
|
|
32915
|
-
|
|
32916
|
-
|
|
32917
|
-
|
|
32918
|
-
|
|
32919
|
-
|
|
32920
|
-
|
|
32921
|
-
|
|
32922
|
-
|
|
32923
|
-
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
|
|
32927
|
-
|
|
32928
|
-
|
|
32929
|
-
|
|
32930
|
-
|
|
32931
|
-
|
|
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
|
-
"
|
|
32935
|
-
"
|
|
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
|
-
|
|
32967
|
-
|
|
32968
|
-
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32973
|
-
|
|
32974
|
-
|
|
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
|
-
</
|
|
32980
|
-
</
|
|
33042
|
+
</CapSpin>
|
|
33043
|
+
</div>
|
|
32981
33044
|
}
|
|
32982
33045
|
handleClose={[Function]}
|
|
32983
33046
|
header={
|