@capillarytech/creatives-library 8.0.297 → 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.
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 +189 -4
  11. package/v2Components/CommonTestAndPreview/actions.js +10 -0
  12. package/v2Components/CommonTestAndPreview/constants.js +18 -1
  13. package/v2Components/CommonTestAndPreview/index.js +259 -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/DeliverySettings/ModifyDeliverySettings.test.js +0 -1
  20. package/v2Components/CommonTestAndPreview/tests/ExistingCustomerModal.test.js +114 -0
  21. package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +53 -0
  22. package/v2Components/CommonTestAndPreview/tests/constants.test.js +25 -2
  23. package/v2Components/CommonTestAndPreview/tests/index.test.js +7 -0
  24. package/v2Components/CommonTestAndPreview/tests/reducer.test.js +71 -0
  25. package/v2Components/CommonTestAndPreview/tests/selectors.test.js +17 -0
  26. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +1408 -1276
  27. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +321 -288
  28. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +5246 -4872
@@ -11209,6 +11209,7 @@ new message content.",
11209
11209
  <InjectIntl(TestAndPreviewSlidebox)
11210
11210
  actions={
11211
11211
  Object {
11212
+ "addTestCustomer": [Function],
11212
11213
  "clearCustomerSearchState": [Function],
11213
11214
  "clearPrefilledValues": [Function],
11214
11215
  "clearPreviewErrors": [Function],
@@ -11276,6 +11277,7 @@ new message content.",
11276
11277
  <TestAndPreviewSlidebox
11277
11278
  actions={
11278
11279
  Object {
11280
+ "addTestCustomer": [Function],
11279
11281
  "clearCustomerSearchState": [Function],
11280
11282
  "clearPrefilledValues": [Function],
11281
11283
  "clearPreviewErrors": [Function],
@@ -13592,6 +13594,7 @@ new message content.",
13592
13594
  <CommonTestAndPreview
13593
13595
  actions={
13594
13596
  Object {
13597
+ "addTestCustomer": [Function],
13595
13598
  "clearCustomerSearchState": [Function],
13596
13599
  "clearPrefilledValues": [Function],
13597
13600
  "clearPreviewErrors": [Function],
@@ -15925,130 +15928,138 @@ new message content.",
15925
15928
  closeIconSize="m"
15926
15929
  closeIconType="close"
15927
15930
  content={
15928
- <CapRow
15929
- className="test-preview-container"
15931
+ <CapSpin
15932
+ className="common-test-preview-lookup-spin "
15933
+ spinning={false}
15930
15934
  >
15931
15935
  <CapRow
15932
- className="test-and-preview-panels"
15936
+ className="test-preview-container"
15933
15937
  >
15934
15938
  <CapRow
15935
- className="left-panel"
15939
+ className="test-and-preview-panels"
15936
15940
  >
15937
- <LeftPanelContent
15938
- customers={Immutable.List []}
15939
- enableCustomerSearch={true}
15940
- enableTagExtraction={true}
15941
- error7078Message={null}
15942
- extractedTags={Immutable.List []}
15943
- handleClearSelection={[Function]}
15944
- handleCustomerSelect={[Function]}
15945
- handleExtractTags={[Function]}
15946
- handleSearchCustomer={[Function]}
15947
- isExtractingTags={false}
15948
- isSearchingCustomer={false}
15949
- renderCustomValuesEditor={[Function]}
15950
- selectedCustomer={null}
15951
- tagsExtracted={false}
15952
- />
15953
- <CapDivider
15954
- className="panel-divider"
15955
- />
15956
15941
  <CapRow
15957
- className="panel-section send-test-section"
15942
+ className="left-panel"
15958
15943
  >
15959
- <SendTestMessage
15960
- channel="RCS"
15961
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
15962
- deliverySettings={Object {}}
15963
- formData={
15964
- Object {
15965
- "suggestions": Array [
15944
+ <LeftPanelContent
15945
+ customers={Immutable.List []}
15946
+ enableCustomerSearch={true}
15947
+ enableTagExtraction={true}
15948
+ error7078Message={null}
15949
+ extractedTags={Immutable.List []}
15950
+ handleClearSelection={[Function]}
15951
+ handleCustomerSelect={[Function]}
15952
+ handleExtractTags={[Function]}
15953
+ handleSearchCustomer={[Function]}
15954
+ isExtractingTags={false}
15955
+ isSearchingCustomer={false}
15956
+ renderCustomValuesEditor={[Function]}
15957
+ selectedCustomer={null}
15958
+ tagsExtracted={false}
15959
+ />
15960
+ <CapDivider
15961
+ className="panel-divider"
15962
+ />
15963
+ <CapRow
15964
+ className="panel-section send-test-section"
15965
+ >
15966
+ <SendTestMessage
15967
+ channel="RCS"
15968
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
15969
+ deliverySettings={Object {}}
15970
+ formData={
15971
+ Object {
15972
+ "suggestions": Array [
15973
+ Object {
15974
+ "index": 0,
15975
+ "isSaved": true,
15976
+ "phoneNumber": "",
15977
+ "postback": "stop",
15978
+ "text": "stop",
15979
+ "type": "QUICK_REPLY",
15980
+ "url": null,
15981
+ },
15982
+ ],
15983
+ "templateHeader": "",
15984
+ "templateMessage": "",
15985
+ }
15986
+ }
15987
+ formatMessage={[Function]}
15988
+ handleSendTestMessage={[Function]}
15989
+ handleTestEntitiesChange={[Function]}
15990
+ isFetchingTestCustomers={false}
15991
+ isFetchingTestGroups={false}
15992
+ isLoadingSenderDetails={false}
15993
+ isSendingTestMessage={false}
15994
+ onSaveDeliverySettings={[Function]}
15995
+ registeredSenderIds={Array []}
15996
+ renderAddTestCustomerButton={[Function]}
15997
+ searchValue=""
15998
+ selectedTestEntities={Array []}
15999
+ senderDetailsOptions={Array []}
16000
+ setSearchValue={[Function]}
16001
+ smsTraiDltEnabled={false}
16002
+ testEntitiesTreeData={
16003
+ Array [
16004
+ Object {
16005
+ "children": Immutable.List [],
16006
+ "selectable": false,
16007
+ "title": "Groups",
16008
+ "value": "groups-node",
16009
+ },
15966
16010
  Object {
15967
- "index": 0,
15968
- "isSaved": true,
15969
- "phoneNumber": "",
15970
- "postback": "stop",
15971
- "text": "stop",
15972
- "type": "QUICK_REPLY",
15973
- "url": null,
16011
+ "children": Immutable.List [],
16012
+ "selectable": false,
16013
+ "title": "Individuals",
16014
+ "value": "customers-node",
15974
16015
  },
15975
- ],
15976
- "templateHeader": "",
15977
- "templateMessage": "",
16016
+ ]
15978
16017
  }
15979
- }
15980
- formatMessage={[Function]}
15981
- handleSendTestMessage={[Function]}
15982
- handleTestEntitiesChange={[Function]}
15983
- isFetchingTestCustomers={false}
15984
- isFetchingTestGroups={false}
15985
- isLoadingSenderDetails={false}
15986
- isSendingTestMessage={false}
15987
- onSaveDeliverySettings={[Function]}
15988
- registeredSenderIds={Array []}
15989
- selectedTestEntities={Array []}
15990
- senderDetailsOptions={Array []}
15991
- smsTraiDltEnabled={false}
15992
- testEntitiesTreeData={
15993
- Array [
15994
- Object {
15995
- "children": Immutable.List [],
15996
- "selectable": false,
15997
- "title": "Groups",
15998
- "value": "groups-node",
15999
- },
16000
- Object {
16001
- "children": Immutable.List [],
16002
- "selectable": false,
16003
- "title": "Individuals",
16004
- "value": "customers-node",
16018
+ wecrmAccounts={Array []}
16019
+ />
16020
+ </CapRow>
16021
+ <CapDivider
16022
+ className="panel-divider"
16023
+ />
16024
+ </CapRow>
16025
+ <CapRow
16026
+ className="right-panel"
16027
+ >
16028
+ <PreviewSection
16029
+ unifiedPreviewProps={
16030
+ Object {
16031
+ "channel": "RCS",
16032
+ "content": Object {
16033
+ "suggestions": Array [
16034
+ Object {
16035
+ "index": 0,
16036
+ "isSaved": true,
16037
+ "phoneNumber": "",
16038
+ "postback": "stop",
16039
+ "text": "stop",
16040
+ "type": "QUICK_REPLY",
16041
+ "url": null,
16042
+ },
16043
+ ],
16044
+ "templateHeader": "",
16045
+ "templateMessage": "",
16005
16046
  },
16006
- ]
16047
+ "device": "desktop",
16048
+ "error": null,
16049
+ "formatMessage": [Function],
16050
+ "isUpdating": false,
16051
+ "lastModified": undefined,
16052
+ "onDeviceChange": [Function],
16053
+ "selectedCustomer": null,
16054
+ "showDeviceToggle": true,
16055
+ "updatedByName": undefined,
16056
+ }
16007
16057
  }
16008
- wecrmAccounts={Array []}
16009
16058
  />
16010
16059
  </CapRow>
16011
- <CapDivider
16012
- className="panel-divider"
16013
- />
16014
- </CapRow>
16015
- <CapRow
16016
- className="right-panel"
16017
- >
16018
- <PreviewSection
16019
- unifiedPreviewProps={
16020
- Object {
16021
- "channel": "RCS",
16022
- "content": Object {
16023
- "suggestions": Array [
16024
- Object {
16025
- "index": 0,
16026
- "isSaved": true,
16027
- "phoneNumber": "",
16028
- "postback": "stop",
16029
- "text": "stop",
16030
- "type": "QUICK_REPLY",
16031
- "url": null,
16032
- },
16033
- ],
16034
- "templateHeader": "",
16035
- "templateMessage": "",
16036
- },
16037
- "device": "desktop",
16038
- "error": null,
16039
- "formatMessage": [Function],
16040
- "isUpdating": false,
16041
- "lastModified": undefined,
16042
- "onDeviceChange": [Function],
16043
- "selectedCustomer": null,
16044
- "showDeviceToggle": true,
16045
- "updatedByName": undefined,
16046
- }
16047
- }
16048
- />
16049
16060
  </CapRow>
16050
16061
  </CapRow>
16051
- </CapRow>
16062
+ </CapSpin>
16052
16063
  }
16053
16064
  handleClose={[Function]}
16054
16065
  header={
@@ -27300,6 +27311,7 @@ new message content.",
27300
27311
  <InjectIntl(TestAndPreviewSlidebox)
27301
27312
  actions={
27302
27313
  Object {
27314
+ "addTestCustomer": [Function],
27303
27315
  "clearCustomerSearchState": [Function],
27304
27316
  "clearPrefilledValues": [Function],
27305
27317
  "clearPreviewErrors": [Function],
@@ -27367,6 +27379,7 @@ new message content.",
27367
27379
  <TestAndPreviewSlidebox
27368
27380
  actions={
27369
27381
  Object {
27382
+ "addTestCustomer": [Function],
27370
27383
  "clearCustomerSearchState": [Function],
27371
27384
  "clearPrefilledValues": [Function],
27372
27385
  "clearPreviewErrors": [Function],
@@ -29683,6 +29696,7 @@ new message content.",
29683
29696
  <CommonTestAndPreview
29684
29697
  actions={
29685
29698
  Object {
29699
+ "addTestCustomer": [Function],
29686
29700
  "clearCustomerSearchState": [Function],
29687
29701
  "clearPrefilledValues": [Function],
29688
29702
  "clearPreviewErrors": [Function],
@@ -32016,130 +32030,138 @@ new message content.",
32016
32030
  closeIconSize="m"
32017
32031
  closeIconType="close"
32018
32032
  content={
32019
- <CapRow
32020
- className="test-preview-container"
32033
+ <CapSpin
32034
+ className="common-test-preview-lookup-spin "
32035
+ spinning={false}
32021
32036
  >
32022
32037
  <CapRow
32023
- className="test-and-preview-panels"
32038
+ className="test-preview-container"
32024
32039
  >
32025
32040
  <CapRow
32026
- className="left-panel"
32041
+ className="test-and-preview-panels"
32027
32042
  >
32028
- <LeftPanelContent
32029
- customers={Immutable.List []}
32030
- enableCustomerSearch={true}
32031
- enableTagExtraction={true}
32032
- error7078Message={null}
32033
- extractedTags={Immutable.List []}
32034
- handleClearSelection={[Function]}
32035
- handleCustomerSelect={[Function]}
32036
- handleExtractTags={[Function]}
32037
- handleSearchCustomer={[Function]}
32038
- isExtractingTags={false}
32039
- isSearchingCustomer={false}
32040
- renderCustomValuesEditor={[Function]}
32041
- selectedCustomer={null}
32042
- tagsExtracted={false}
32043
- />
32044
- <CapDivider
32045
- className="panel-divider"
32046
- />
32047
32043
  <CapRow
32048
- className="panel-section send-test-section"
32044
+ className="left-panel"
32049
32045
  >
32050
- <SendTestMessage
32051
- channel="RCS"
32052
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
32053
- deliverySettings={Object {}}
32054
- formData={
32055
- Object {
32056
- "suggestions": Array [
32046
+ <LeftPanelContent
32047
+ customers={Immutable.List []}
32048
+ enableCustomerSearch={true}
32049
+ enableTagExtraction={true}
32050
+ error7078Message={null}
32051
+ extractedTags={Immutable.List []}
32052
+ handleClearSelection={[Function]}
32053
+ handleCustomerSelect={[Function]}
32054
+ handleExtractTags={[Function]}
32055
+ handleSearchCustomer={[Function]}
32056
+ isExtractingTags={false}
32057
+ isSearchingCustomer={false}
32058
+ renderCustomValuesEditor={[Function]}
32059
+ selectedCustomer={null}
32060
+ tagsExtracted={false}
32061
+ />
32062
+ <CapDivider
32063
+ className="panel-divider"
32064
+ />
32065
+ <CapRow
32066
+ className="panel-section send-test-section"
32067
+ >
32068
+ <SendTestMessage
32069
+ channel="RCS"
32070
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
32071
+ deliverySettings={Object {}}
32072
+ formData={
32073
+ Object {
32074
+ "suggestions": Array [
32075
+ Object {
32076
+ "index": 0,
32077
+ "isSaved": true,
32078
+ "phoneNumber": "",
32079
+ "postback": "stop",
32080
+ "text": "stop",
32081
+ "type": "QUICK_REPLY",
32082
+ "url": null,
32083
+ },
32084
+ ],
32085
+ "templateHeader": "",
32086
+ "templateMessage": "",
32087
+ }
32088
+ }
32089
+ formatMessage={[Function]}
32090
+ handleSendTestMessage={[Function]}
32091
+ handleTestEntitiesChange={[Function]}
32092
+ isFetchingTestCustomers={false}
32093
+ isFetchingTestGroups={false}
32094
+ isLoadingSenderDetails={false}
32095
+ isSendingTestMessage={false}
32096
+ onSaveDeliverySettings={[Function]}
32097
+ registeredSenderIds={Array []}
32098
+ renderAddTestCustomerButton={[Function]}
32099
+ searchValue=""
32100
+ selectedTestEntities={Array []}
32101
+ senderDetailsOptions={Array []}
32102
+ setSearchValue={[Function]}
32103
+ smsTraiDltEnabled={false}
32104
+ testEntitiesTreeData={
32105
+ Array [
32057
32106
  Object {
32058
- "index": 0,
32059
- "isSaved": true,
32060
- "phoneNumber": "",
32061
- "postback": "stop",
32062
- "text": "stop",
32063
- "type": "QUICK_REPLY",
32064
- "url": null,
32107
+ "children": Immutable.List [],
32108
+ "selectable": false,
32109
+ "title": "Groups",
32110
+ "value": "groups-node",
32065
32111
  },
32066
- ],
32067
- "templateHeader": "",
32068
- "templateMessage": "",
32112
+ Object {
32113
+ "children": Immutable.List [],
32114
+ "selectable": false,
32115
+ "title": "Individuals",
32116
+ "value": "customers-node",
32117
+ },
32118
+ ]
32069
32119
  }
32070
- }
32071
- formatMessage={[Function]}
32072
- handleSendTestMessage={[Function]}
32073
- handleTestEntitiesChange={[Function]}
32074
- isFetchingTestCustomers={false}
32075
- isFetchingTestGroups={false}
32076
- isLoadingSenderDetails={false}
32077
- isSendingTestMessage={false}
32078
- onSaveDeliverySettings={[Function]}
32079
- registeredSenderIds={Array []}
32080
- selectedTestEntities={Array []}
32081
- senderDetailsOptions={Array []}
32082
- smsTraiDltEnabled={false}
32083
- testEntitiesTreeData={
32084
- Array [
32085
- Object {
32086
- "children": Immutable.List [],
32087
- "selectable": false,
32088
- "title": "Groups",
32089
- "value": "groups-node",
32090
- },
32091
- Object {
32092
- "children": Immutable.List [],
32093
- "selectable": false,
32094
- "title": "Individuals",
32095
- "value": "customers-node",
32120
+ wecrmAccounts={Array []}
32121
+ />
32122
+ </CapRow>
32123
+ <CapDivider
32124
+ className="panel-divider"
32125
+ />
32126
+ </CapRow>
32127
+ <CapRow
32128
+ className="right-panel"
32129
+ >
32130
+ <PreviewSection
32131
+ unifiedPreviewProps={
32132
+ Object {
32133
+ "channel": "RCS",
32134
+ "content": Object {
32135
+ "suggestions": Array [
32136
+ Object {
32137
+ "index": 0,
32138
+ "isSaved": true,
32139
+ "phoneNumber": "",
32140
+ "postback": "stop",
32141
+ "text": "stop",
32142
+ "type": "QUICK_REPLY",
32143
+ "url": null,
32144
+ },
32145
+ ],
32146
+ "templateHeader": "",
32147
+ "templateMessage": "",
32096
32148
  },
32097
- ]
32149
+ "device": "desktop",
32150
+ "error": null,
32151
+ "formatMessage": [Function],
32152
+ "isUpdating": false,
32153
+ "lastModified": undefined,
32154
+ "onDeviceChange": [Function],
32155
+ "selectedCustomer": null,
32156
+ "showDeviceToggle": true,
32157
+ "updatedByName": undefined,
32158
+ }
32098
32159
  }
32099
- wecrmAccounts={Array []}
32100
32160
  />
32101
32161
  </CapRow>
32102
- <CapDivider
32103
- className="panel-divider"
32104
- />
32105
- </CapRow>
32106
- <CapRow
32107
- className="right-panel"
32108
- >
32109
- <PreviewSection
32110
- unifiedPreviewProps={
32111
- Object {
32112
- "channel": "RCS",
32113
- "content": Object {
32114
- "suggestions": Array [
32115
- Object {
32116
- "index": 0,
32117
- "isSaved": true,
32118
- "phoneNumber": "",
32119
- "postback": "stop",
32120
- "text": "stop",
32121
- "type": "QUICK_REPLY",
32122
- "url": null,
32123
- },
32124
- ],
32125
- "templateHeader": "",
32126
- "templateMessage": "",
32127
- },
32128
- "device": "desktop",
32129
- "error": null,
32130
- "formatMessage": [Function],
32131
- "isUpdating": false,
32132
- "lastModified": undefined,
32133
- "onDeviceChange": [Function],
32134
- "selectedCustomer": null,
32135
- "showDeviceToggle": true,
32136
- "updatedByName": undefined,
32137
- }
32138
- }
32139
- />
32140
32162
  </CapRow>
32141
32163
  </CapRow>
32142
- </CapRow>
32164
+ </CapSpin>
32143
32165
  }
32144
32166
  handleClose={[Function]}
32145
32167
  header={
@@ -43913,6 +43935,7 @@ new message content.",
43913
43935
  <InjectIntl(TestAndPreviewSlidebox)
43914
43936
  actions={
43915
43937
  Object {
43938
+ "addTestCustomer": [Function],
43916
43939
  "clearCustomerSearchState": [Function],
43917
43940
  "clearPrefilledValues": [Function],
43918
43941
  "clearPreviewErrors": [Function],
@@ -43980,6 +44003,7 @@ new message content.",
43980
44003
  <TestAndPreviewSlidebox
43981
44004
  actions={
43982
44005
  Object {
44006
+ "addTestCustomer": [Function],
43983
44007
  "clearCustomerSearchState": [Function],
43984
44008
  "clearPrefilledValues": [Function],
43985
44009
  "clearPreviewErrors": [Function],
@@ -46296,6 +46320,7 @@ new message content.",
46296
46320
  <CommonTestAndPreview
46297
46321
  actions={
46298
46322
  Object {
46323
+ "addTestCustomer": [Function],
46299
46324
  "clearCustomerSearchState": [Function],
46300
46325
  "clearPrefilledValues": [Function],
46301
46326
  "clearPreviewErrors": [Function],
@@ -48629,130 +48654,138 @@ new message content.",
48629
48654
  closeIconSize="m"
48630
48655
  closeIconType="close"
48631
48656
  content={
48632
- <CapRow
48633
- className="test-preview-container"
48657
+ <CapSpin
48658
+ className="common-test-preview-lookup-spin "
48659
+ spinning={false}
48634
48660
  >
48635
48661
  <CapRow
48636
- className="test-and-preview-panels"
48662
+ className="test-preview-container"
48637
48663
  >
48638
48664
  <CapRow
48639
- className="left-panel"
48665
+ className="test-and-preview-panels"
48640
48666
  >
48641
- <LeftPanelContent
48642
- customers={Immutable.List []}
48643
- enableCustomerSearch={true}
48644
- enableTagExtraction={true}
48645
- error7078Message={null}
48646
- extractedTags={Immutable.List []}
48647
- handleClearSelection={[Function]}
48648
- handleCustomerSelect={[Function]}
48649
- handleExtractTags={[Function]}
48650
- handleSearchCustomer={[Function]}
48651
- isExtractingTags={false}
48652
- isSearchingCustomer={false}
48653
- renderCustomValuesEditor={[Function]}
48654
- selectedCustomer={null}
48655
- tagsExtracted={false}
48656
- />
48657
- <CapDivider
48658
- className="panel-divider"
48659
- />
48660
48667
  <CapRow
48661
- className="panel-section send-test-section"
48668
+ className="left-panel"
48662
48669
  >
48663
- <SendTestMessage
48664
- channel="RCS"
48665
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
48666
- deliverySettings={Object {}}
48667
- formData={
48668
- Object {
48669
- "suggestions": Array [
48670
+ <LeftPanelContent
48671
+ customers={Immutable.List []}
48672
+ enableCustomerSearch={true}
48673
+ enableTagExtraction={true}
48674
+ error7078Message={null}
48675
+ extractedTags={Immutable.List []}
48676
+ handleClearSelection={[Function]}
48677
+ handleCustomerSelect={[Function]}
48678
+ handleExtractTags={[Function]}
48679
+ handleSearchCustomer={[Function]}
48680
+ isExtractingTags={false}
48681
+ isSearchingCustomer={false}
48682
+ renderCustomValuesEditor={[Function]}
48683
+ selectedCustomer={null}
48684
+ tagsExtracted={false}
48685
+ />
48686
+ <CapDivider
48687
+ className="panel-divider"
48688
+ />
48689
+ <CapRow
48690
+ className="panel-section send-test-section"
48691
+ >
48692
+ <SendTestMessage
48693
+ channel="RCS"
48694
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
48695
+ deliverySettings={Object {}}
48696
+ formData={
48697
+ Object {
48698
+ "suggestions": Array [
48699
+ Object {
48700
+ "index": 0,
48701
+ "isSaved": true,
48702
+ "phoneNumber": "",
48703
+ "postback": "stop",
48704
+ "text": "stop",
48705
+ "type": "QUICK_REPLY",
48706
+ "url": null,
48707
+ },
48708
+ ],
48709
+ "templateHeader": "",
48710
+ "templateMessage": "",
48711
+ }
48712
+ }
48713
+ formatMessage={[Function]}
48714
+ handleSendTestMessage={[Function]}
48715
+ handleTestEntitiesChange={[Function]}
48716
+ isFetchingTestCustomers={false}
48717
+ isFetchingTestGroups={false}
48718
+ isLoadingSenderDetails={false}
48719
+ isSendingTestMessage={false}
48720
+ onSaveDeliverySettings={[Function]}
48721
+ registeredSenderIds={Array []}
48722
+ renderAddTestCustomerButton={[Function]}
48723
+ searchValue=""
48724
+ selectedTestEntities={Array []}
48725
+ senderDetailsOptions={Array []}
48726
+ setSearchValue={[Function]}
48727
+ smsTraiDltEnabled={false}
48728
+ testEntitiesTreeData={
48729
+ Array [
48670
48730
  Object {
48671
- "index": 0,
48672
- "isSaved": true,
48673
- "phoneNumber": "",
48674
- "postback": "stop",
48675
- "text": "stop",
48676
- "type": "QUICK_REPLY",
48677
- "url": null,
48731
+ "children": Immutable.List [],
48732
+ "selectable": false,
48733
+ "title": "Groups",
48734
+ "value": "groups-node",
48678
48735
  },
48679
- ],
48680
- "templateHeader": "",
48681
- "templateMessage": "",
48736
+ Object {
48737
+ "children": Immutable.List [],
48738
+ "selectable": false,
48739
+ "title": "Individuals",
48740
+ "value": "customers-node",
48741
+ },
48742
+ ]
48682
48743
  }
48683
- }
48684
- formatMessage={[Function]}
48685
- handleSendTestMessage={[Function]}
48686
- handleTestEntitiesChange={[Function]}
48687
- isFetchingTestCustomers={false}
48688
- isFetchingTestGroups={false}
48689
- isLoadingSenderDetails={false}
48690
- isSendingTestMessage={false}
48691
- onSaveDeliverySettings={[Function]}
48692
- registeredSenderIds={Array []}
48693
- selectedTestEntities={Array []}
48694
- senderDetailsOptions={Array []}
48695
- smsTraiDltEnabled={false}
48696
- testEntitiesTreeData={
48697
- Array [
48698
- Object {
48699
- "children": Immutable.List [],
48700
- "selectable": false,
48701
- "title": "Groups",
48702
- "value": "groups-node",
48703
- },
48704
- Object {
48705
- "children": Immutable.List [],
48706
- "selectable": false,
48707
- "title": "Individuals",
48708
- "value": "customers-node",
48744
+ wecrmAccounts={Array []}
48745
+ />
48746
+ </CapRow>
48747
+ <CapDivider
48748
+ className="panel-divider"
48749
+ />
48750
+ </CapRow>
48751
+ <CapRow
48752
+ className="right-panel"
48753
+ >
48754
+ <PreviewSection
48755
+ unifiedPreviewProps={
48756
+ Object {
48757
+ "channel": "RCS",
48758
+ "content": Object {
48759
+ "suggestions": Array [
48760
+ Object {
48761
+ "index": 0,
48762
+ "isSaved": true,
48763
+ "phoneNumber": "",
48764
+ "postback": "stop",
48765
+ "text": "stop",
48766
+ "type": "QUICK_REPLY",
48767
+ "url": null,
48768
+ },
48769
+ ],
48770
+ "templateHeader": "",
48771
+ "templateMessage": "",
48709
48772
  },
48710
- ]
48773
+ "device": "desktop",
48774
+ "error": null,
48775
+ "formatMessage": [Function],
48776
+ "isUpdating": false,
48777
+ "lastModified": undefined,
48778
+ "onDeviceChange": [Function],
48779
+ "selectedCustomer": null,
48780
+ "showDeviceToggle": true,
48781
+ "updatedByName": undefined,
48782
+ }
48711
48783
  }
48712
- wecrmAccounts={Array []}
48713
48784
  />
48714
48785
  </CapRow>
48715
- <CapDivider
48716
- className="panel-divider"
48717
- />
48718
- </CapRow>
48719
- <CapRow
48720
- className="right-panel"
48721
- >
48722
- <PreviewSection
48723
- unifiedPreviewProps={
48724
- Object {
48725
- "channel": "RCS",
48726
- "content": Object {
48727
- "suggestions": Array [
48728
- Object {
48729
- "index": 0,
48730
- "isSaved": true,
48731
- "phoneNumber": "",
48732
- "postback": "stop",
48733
- "text": "stop",
48734
- "type": "QUICK_REPLY",
48735
- "url": null,
48736
- },
48737
- ],
48738
- "templateHeader": "",
48739
- "templateMessage": "",
48740
- },
48741
- "device": "desktop",
48742
- "error": null,
48743
- "formatMessage": [Function],
48744
- "isUpdating": false,
48745
- "lastModified": undefined,
48746
- "onDeviceChange": [Function],
48747
- "selectedCustomer": null,
48748
- "showDeviceToggle": true,
48749
- "updatedByName": undefined,
48750
- }
48751
- }
48752
- />
48753
48786
  </CapRow>
48754
48787
  </CapRow>
48755
- </CapRow>
48788
+ </CapSpin>
48756
48789
  }
48757
48790
  handleClose={[Function]}
48758
48791
  header={
@@ -61074,6 +61107,7 @@ new message content.",
61074
61107
  <InjectIntl(TestAndPreviewSlidebox)
61075
61108
  actions={
61076
61109
  Object {
61110
+ "addTestCustomer": [Function],
61077
61111
  "clearCustomerSearchState": [Function],
61078
61112
  "clearPrefilledValues": [Function],
61079
61113
  "clearPreviewErrors": [Function],
@@ -61141,6 +61175,7 @@ new message content.",
61141
61175
  <TestAndPreviewSlidebox
61142
61176
  actions={
61143
61177
  Object {
61178
+ "addTestCustomer": [Function],
61144
61179
  "clearCustomerSearchState": [Function],
61145
61180
  "clearPrefilledValues": [Function],
61146
61181
  "clearPreviewErrors": [Function],
@@ -63457,6 +63492,7 @@ new message content.",
63457
63492
  <CommonTestAndPreview
63458
63493
  actions={
63459
63494
  Object {
63495
+ "addTestCustomer": [Function],
63460
63496
  "clearCustomerSearchState": [Function],
63461
63497
  "clearPrefilledValues": [Function],
63462
63498
  "clearPreviewErrors": [Function],
@@ -65790,130 +65826,138 @@ new message content.",
65790
65826
  closeIconSize="m"
65791
65827
  closeIconType="close"
65792
65828
  content={
65793
- <CapRow
65794
- className="test-preview-container"
65829
+ <CapSpin
65830
+ className="common-test-preview-lookup-spin "
65831
+ spinning={false}
65795
65832
  >
65796
65833
  <CapRow
65797
- className="test-and-preview-panels"
65834
+ className="test-preview-container"
65798
65835
  >
65799
65836
  <CapRow
65800
- className="left-panel"
65837
+ className="test-and-preview-panels"
65801
65838
  >
65802
- <LeftPanelContent
65803
- customers={Immutable.List []}
65804
- enableCustomerSearch={true}
65805
- enableTagExtraction={true}
65806
- error7078Message={null}
65807
- extractedTags={Immutable.List []}
65808
- handleClearSelection={[Function]}
65809
- handleCustomerSelect={[Function]}
65810
- handleExtractTags={[Function]}
65811
- handleSearchCustomer={[Function]}
65812
- isExtractingTags={false}
65813
- isSearchingCustomer={false}
65814
- renderCustomValuesEditor={[Function]}
65815
- selectedCustomer={null}
65816
- tagsExtracted={false}
65817
- />
65818
- <CapDivider
65819
- className="panel-divider"
65820
- />
65821
65839
  <CapRow
65822
- className="panel-section send-test-section"
65840
+ className="left-panel"
65823
65841
  >
65824
- <SendTestMessage
65825
- channel="RCS"
65826
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
65827
- deliverySettings={Object {}}
65828
- formData={
65829
- Object {
65830
- "suggestions": Array [
65842
+ <LeftPanelContent
65843
+ customers={Immutable.List []}
65844
+ enableCustomerSearch={true}
65845
+ enableTagExtraction={true}
65846
+ error7078Message={null}
65847
+ extractedTags={Immutable.List []}
65848
+ handleClearSelection={[Function]}
65849
+ handleCustomerSelect={[Function]}
65850
+ handleExtractTags={[Function]}
65851
+ handleSearchCustomer={[Function]}
65852
+ isExtractingTags={false}
65853
+ isSearchingCustomer={false}
65854
+ renderCustomValuesEditor={[Function]}
65855
+ selectedCustomer={null}
65856
+ tagsExtracted={false}
65857
+ />
65858
+ <CapDivider
65859
+ className="panel-divider"
65860
+ />
65861
+ <CapRow
65862
+ className="panel-section send-test-section"
65863
+ >
65864
+ <SendTestMessage
65865
+ channel="RCS"
65866
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
65867
+ deliverySettings={Object {}}
65868
+ formData={
65869
+ Object {
65870
+ "suggestions": Array [
65871
+ Object {
65872
+ "index": 0,
65873
+ "isSaved": true,
65874
+ "phoneNumber": "",
65875
+ "postback": "stop",
65876
+ "text": "stop",
65877
+ "type": "QUICK_REPLY",
65878
+ "url": null,
65879
+ },
65880
+ ],
65881
+ "templateHeader": "",
65882
+ "templateMessage": "",
65883
+ }
65884
+ }
65885
+ formatMessage={[Function]}
65886
+ handleSendTestMessage={[Function]}
65887
+ handleTestEntitiesChange={[Function]}
65888
+ isFetchingTestCustomers={false}
65889
+ isFetchingTestGroups={false}
65890
+ isLoadingSenderDetails={false}
65891
+ isSendingTestMessage={false}
65892
+ onSaveDeliverySettings={[Function]}
65893
+ registeredSenderIds={Array []}
65894
+ renderAddTestCustomerButton={[Function]}
65895
+ searchValue=""
65896
+ selectedTestEntities={Array []}
65897
+ senderDetailsOptions={Array []}
65898
+ setSearchValue={[Function]}
65899
+ smsTraiDltEnabled={false}
65900
+ testEntitiesTreeData={
65901
+ Array [
65902
+ Object {
65903
+ "children": Immutable.List [],
65904
+ "selectable": false,
65905
+ "title": "Groups",
65906
+ "value": "groups-node",
65907
+ },
65831
65908
  Object {
65832
- "index": 0,
65833
- "isSaved": true,
65834
- "phoneNumber": "",
65835
- "postback": "stop",
65836
- "text": "stop",
65837
- "type": "QUICK_REPLY",
65838
- "url": null,
65909
+ "children": Immutable.List [],
65910
+ "selectable": false,
65911
+ "title": "Individuals",
65912
+ "value": "customers-node",
65839
65913
  },
65840
- ],
65841
- "templateHeader": "",
65842
- "templateMessage": "",
65914
+ ]
65843
65915
  }
65844
- }
65845
- formatMessage={[Function]}
65846
- handleSendTestMessage={[Function]}
65847
- handleTestEntitiesChange={[Function]}
65848
- isFetchingTestCustomers={false}
65849
- isFetchingTestGroups={false}
65850
- isLoadingSenderDetails={false}
65851
- isSendingTestMessage={false}
65852
- onSaveDeliverySettings={[Function]}
65853
- registeredSenderIds={Array []}
65854
- selectedTestEntities={Array []}
65855
- senderDetailsOptions={Array []}
65856
- smsTraiDltEnabled={false}
65857
- testEntitiesTreeData={
65858
- Array [
65859
- Object {
65860
- "children": Immutable.List [],
65861
- "selectable": false,
65862
- "title": "Groups",
65863
- "value": "groups-node",
65864
- },
65865
- Object {
65866
- "children": Immutable.List [],
65867
- "selectable": false,
65868
- "title": "Individuals",
65869
- "value": "customers-node",
65916
+ wecrmAccounts={Array []}
65917
+ />
65918
+ </CapRow>
65919
+ <CapDivider
65920
+ className="panel-divider"
65921
+ />
65922
+ </CapRow>
65923
+ <CapRow
65924
+ className="right-panel"
65925
+ >
65926
+ <PreviewSection
65927
+ unifiedPreviewProps={
65928
+ Object {
65929
+ "channel": "RCS",
65930
+ "content": Object {
65931
+ "suggestions": Array [
65932
+ Object {
65933
+ "index": 0,
65934
+ "isSaved": true,
65935
+ "phoneNumber": "",
65936
+ "postback": "stop",
65937
+ "text": "stop",
65938
+ "type": "QUICK_REPLY",
65939
+ "url": null,
65940
+ },
65941
+ ],
65942
+ "templateHeader": "",
65943
+ "templateMessage": "",
65870
65944
  },
65871
- ]
65945
+ "device": "desktop",
65946
+ "error": null,
65947
+ "formatMessage": [Function],
65948
+ "isUpdating": false,
65949
+ "lastModified": undefined,
65950
+ "onDeviceChange": [Function],
65951
+ "selectedCustomer": null,
65952
+ "showDeviceToggle": true,
65953
+ "updatedByName": undefined,
65954
+ }
65872
65955
  }
65873
- wecrmAccounts={Array []}
65874
65956
  />
65875
65957
  </CapRow>
65876
- <CapDivider
65877
- className="panel-divider"
65878
- />
65879
- </CapRow>
65880
- <CapRow
65881
- className="right-panel"
65882
- >
65883
- <PreviewSection
65884
- unifiedPreviewProps={
65885
- Object {
65886
- "channel": "RCS",
65887
- "content": Object {
65888
- "suggestions": Array [
65889
- Object {
65890
- "index": 0,
65891
- "isSaved": true,
65892
- "phoneNumber": "",
65893
- "postback": "stop",
65894
- "text": "stop",
65895
- "type": "QUICK_REPLY",
65896
- "url": null,
65897
- },
65898
- ],
65899
- "templateHeader": "",
65900
- "templateMessage": "",
65901
- },
65902
- "device": "desktop",
65903
- "error": null,
65904
- "formatMessage": [Function],
65905
- "isUpdating": false,
65906
- "lastModified": undefined,
65907
- "onDeviceChange": [Function],
65908
- "selectedCustomer": null,
65909
- "showDeviceToggle": true,
65910
- "updatedByName": undefined,
65911
- }
65912
- }
65913
- />
65914
65958
  </CapRow>
65915
65959
  </CapRow>
65916
- </CapRow>
65960
+ </CapSpin>
65917
65961
  }
65918
65962
  handleClose={[Function]}
65919
65963
  header={
@@ -77165,6 +77209,7 @@ new message content.",
77165
77209
  <InjectIntl(TestAndPreviewSlidebox)
77166
77210
  actions={
77167
77211
  Object {
77212
+ "addTestCustomer": [Function],
77168
77213
  "clearCustomerSearchState": [Function],
77169
77214
  "clearPrefilledValues": [Function],
77170
77215
  "clearPreviewErrors": [Function],
@@ -77232,6 +77277,7 @@ new message content.",
77232
77277
  <TestAndPreviewSlidebox
77233
77278
  actions={
77234
77279
  Object {
77280
+ "addTestCustomer": [Function],
77235
77281
  "clearCustomerSearchState": [Function],
77236
77282
  "clearPrefilledValues": [Function],
77237
77283
  "clearPreviewErrors": [Function],
@@ -79548,6 +79594,7 @@ new message content.",
79548
79594
  <CommonTestAndPreview
79549
79595
  actions={
79550
79596
  Object {
79597
+ "addTestCustomer": [Function],
79551
79598
  "clearCustomerSearchState": [Function],
79552
79599
  "clearPrefilledValues": [Function],
79553
79600
  "clearPreviewErrors": [Function],
@@ -81881,130 +81928,138 @@ new message content.",
81881
81928
  closeIconSize="m"
81882
81929
  closeIconType="close"
81883
81930
  content={
81884
- <CapRow
81885
- className="test-preview-container"
81931
+ <CapSpin
81932
+ className="common-test-preview-lookup-spin "
81933
+ spinning={false}
81886
81934
  >
81887
81935
  <CapRow
81888
- className="test-and-preview-panels"
81936
+ className="test-preview-container"
81889
81937
  >
81890
81938
  <CapRow
81891
- className="left-panel"
81939
+ className="test-and-preview-panels"
81892
81940
  >
81893
- <LeftPanelContent
81894
- customers={Immutable.List []}
81895
- enableCustomerSearch={true}
81896
- enableTagExtraction={true}
81897
- error7078Message={null}
81898
- extractedTags={Immutable.List []}
81899
- handleClearSelection={[Function]}
81900
- handleCustomerSelect={[Function]}
81901
- handleExtractTags={[Function]}
81902
- handleSearchCustomer={[Function]}
81903
- isExtractingTags={false}
81904
- isSearchingCustomer={false}
81905
- renderCustomValuesEditor={[Function]}
81906
- selectedCustomer={null}
81907
- tagsExtracted={false}
81908
- />
81909
- <CapDivider
81910
- className="panel-divider"
81911
- />
81912
81941
  <CapRow
81913
- className="panel-section send-test-section"
81942
+ className="left-panel"
81914
81943
  >
81915
- <SendTestMessage
81916
- channel="RCS"
81917
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
81918
- deliverySettings={Object {}}
81919
- formData={
81920
- Object {
81921
- "suggestions": Array [
81944
+ <LeftPanelContent
81945
+ customers={Immutable.List []}
81946
+ enableCustomerSearch={true}
81947
+ enableTagExtraction={true}
81948
+ error7078Message={null}
81949
+ extractedTags={Immutable.List []}
81950
+ handleClearSelection={[Function]}
81951
+ handleCustomerSelect={[Function]}
81952
+ handleExtractTags={[Function]}
81953
+ handleSearchCustomer={[Function]}
81954
+ isExtractingTags={false}
81955
+ isSearchingCustomer={false}
81956
+ renderCustomValuesEditor={[Function]}
81957
+ selectedCustomer={null}
81958
+ tagsExtracted={false}
81959
+ />
81960
+ <CapDivider
81961
+ className="panel-divider"
81962
+ />
81963
+ <CapRow
81964
+ className="panel-section send-test-section"
81965
+ >
81966
+ <SendTestMessage
81967
+ channel="RCS"
81968
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
81969
+ deliverySettings={Object {}}
81970
+ formData={
81971
+ Object {
81972
+ "suggestions": Array [
81973
+ Object {
81974
+ "index": 0,
81975
+ "isSaved": true,
81976
+ "phoneNumber": "",
81977
+ "postback": "stop",
81978
+ "text": "stop",
81979
+ "type": "QUICK_REPLY",
81980
+ "url": null,
81981
+ },
81982
+ ],
81983
+ "templateHeader": "",
81984
+ "templateMessage": "",
81985
+ }
81986
+ }
81987
+ formatMessage={[Function]}
81988
+ handleSendTestMessage={[Function]}
81989
+ handleTestEntitiesChange={[Function]}
81990
+ isFetchingTestCustomers={false}
81991
+ isFetchingTestGroups={false}
81992
+ isLoadingSenderDetails={false}
81993
+ isSendingTestMessage={false}
81994
+ onSaveDeliverySettings={[Function]}
81995
+ registeredSenderIds={Array []}
81996
+ renderAddTestCustomerButton={[Function]}
81997
+ searchValue=""
81998
+ selectedTestEntities={Array []}
81999
+ senderDetailsOptions={Array []}
82000
+ setSearchValue={[Function]}
82001
+ smsTraiDltEnabled={false}
82002
+ testEntitiesTreeData={
82003
+ Array [
81922
82004
  Object {
81923
- "index": 0,
81924
- "isSaved": true,
81925
- "phoneNumber": "",
81926
- "postback": "stop",
81927
- "text": "stop",
81928
- "type": "QUICK_REPLY",
81929
- "url": null,
82005
+ "children": Immutable.List [],
82006
+ "selectable": false,
82007
+ "title": "Groups",
82008
+ "value": "groups-node",
81930
82009
  },
81931
- ],
81932
- "templateHeader": "",
81933
- "templateMessage": "",
82010
+ Object {
82011
+ "children": Immutable.List [],
82012
+ "selectable": false,
82013
+ "title": "Individuals",
82014
+ "value": "customers-node",
82015
+ },
82016
+ ]
81934
82017
  }
81935
- }
81936
- formatMessage={[Function]}
81937
- handleSendTestMessage={[Function]}
81938
- handleTestEntitiesChange={[Function]}
81939
- isFetchingTestCustomers={false}
81940
- isFetchingTestGroups={false}
81941
- isLoadingSenderDetails={false}
81942
- isSendingTestMessage={false}
81943
- onSaveDeliverySettings={[Function]}
81944
- registeredSenderIds={Array []}
81945
- selectedTestEntities={Array []}
81946
- senderDetailsOptions={Array []}
81947
- smsTraiDltEnabled={false}
81948
- testEntitiesTreeData={
81949
- Array [
81950
- Object {
81951
- "children": Immutable.List [],
81952
- "selectable": false,
81953
- "title": "Groups",
81954
- "value": "groups-node",
81955
- },
81956
- Object {
81957
- "children": Immutable.List [],
81958
- "selectable": false,
81959
- "title": "Individuals",
81960
- "value": "customers-node",
82018
+ wecrmAccounts={Array []}
82019
+ />
82020
+ </CapRow>
82021
+ <CapDivider
82022
+ className="panel-divider"
82023
+ />
82024
+ </CapRow>
82025
+ <CapRow
82026
+ className="right-panel"
82027
+ >
82028
+ <PreviewSection
82029
+ unifiedPreviewProps={
82030
+ Object {
82031
+ "channel": "RCS",
82032
+ "content": Object {
82033
+ "suggestions": Array [
82034
+ Object {
82035
+ "index": 0,
82036
+ "isSaved": true,
82037
+ "phoneNumber": "",
82038
+ "postback": "stop",
82039
+ "text": "stop",
82040
+ "type": "QUICK_REPLY",
82041
+ "url": null,
82042
+ },
82043
+ ],
82044
+ "templateHeader": "",
82045
+ "templateMessage": "",
81961
82046
  },
81962
- ]
82047
+ "device": "desktop",
82048
+ "error": null,
82049
+ "formatMessage": [Function],
82050
+ "isUpdating": false,
82051
+ "lastModified": undefined,
82052
+ "onDeviceChange": [Function],
82053
+ "selectedCustomer": null,
82054
+ "showDeviceToggle": true,
82055
+ "updatedByName": undefined,
82056
+ }
81963
82057
  }
81964
- wecrmAccounts={Array []}
81965
82058
  />
81966
82059
  </CapRow>
81967
- <CapDivider
81968
- className="panel-divider"
81969
- />
81970
- </CapRow>
81971
- <CapRow
81972
- className="right-panel"
81973
- >
81974
- <PreviewSection
81975
- unifiedPreviewProps={
81976
- Object {
81977
- "channel": "RCS",
81978
- "content": Object {
81979
- "suggestions": Array [
81980
- Object {
81981
- "index": 0,
81982
- "isSaved": true,
81983
- "phoneNumber": "",
81984
- "postback": "stop",
81985
- "text": "stop",
81986
- "type": "QUICK_REPLY",
81987
- "url": null,
81988
- },
81989
- ],
81990
- "templateHeader": "",
81991
- "templateMessage": "",
81992
- },
81993
- "device": "desktop",
81994
- "error": null,
81995
- "formatMessage": [Function],
81996
- "isUpdating": false,
81997
- "lastModified": undefined,
81998
- "onDeviceChange": [Function],
81999
- "selectedCustomer": null,
82000
- "showDeviceToggle": true,
82001
- "updatedByName": undefined,
82002
- }
82003
- }
82004
- />
82005
82060
  </CapRow>
82006
82061
  </CapRow>
82007
- </CapRow>
82062
+ </CapSpin>
82008
82063
  }
82009
82064
  handleClose={[Function]}
82010
82065
  header={
@@ -96572,6 +96627,7 @@ new message content.",
96572
96627
  <InjectIntl(TestAndPreviewSlidebox)
96573
96628
  actions={
96574
96629
  Object {
96630
+ "addTestCustomer": [Function],
96575
96631
  "clearCustomerSearchState": [Function],
96576
96632
  "clearPrefilledValues": [Function],
96577
96633
  "clearPreviewErrors": [Function],
@@ -96639,6 +96695,7 @@ new message content.",
96639
96695
  <TestAndPreviewSlidebox
96640
96696
  actions={
96641
96697
  Object {
96698
+ "addTestCustomer": [Function],
96642
96699
  "clearCustomerSearchState": [Function],
96643
96700
  "clearPrefilledValues": [Function],
96644
96701
  "clearPreviewErrors": [Function],
@@ -98955,6 +99012,7 @@ new message content.",
98955
99012
  <CommonTestAndPreview
98956
99013
  actions={
98957
99014
  Object {
99015
+ "addTestCustomer": [Function],
98958
99016
  "clearCustomerSearchState": [Function],
98959
99017
  "clearPrefilledValues": [Function],
98960
99018
  "clearPreviewErrors": [Function],
@@ -101288,130 +101346,138 @@ new message content.",
101288
101346
  closeIconSize="m"
101289
101347
  closeIconType="close"
101290
101348
  content={
101291
- <CapRow
101292
- className="test-preview-container"
101349
+ <CapSpin
101350
+ className="common-test-preview-lookup-spin "
101351
+ spinning={false}
101293
101352
  >
101294
101353
  <CapRow
101295
- className="test-and-preview-panels"
101354
+ className="test-preview-container"
101296
101355
  >
101297
101356
  <CapRow
101298
- className="left-panel"
101357
+ className="test-and-preview-panels"
101299
101358
  >
101300
- <LeftPanelContent
101301
- customers={Immutable.List []}
101302
- enableCustomerSearch={true}
101303
- enableTagExtraction={true}
101304
- error7078Message={null}
101305
- extractedTags={Immutable.List []}
101306
- handleClearSelection={[Function]}
101307
- handleCustomerSelect={[Function]}
101308
- handleExtractTags={[Function]}
101309
- handleSearchCustomer={[Function]}
101310
- isExtractingTags={false}
101311
- isSearchingCustomer={false}
101312
- renderCustomValuesEditor={[Function]}
101313
- selectedCustomer={null}
101314
- tagsExtracted={false}
101315
- />
101316
- <CapDivider
101317
- className="panel-divider"
101318
- />
101319
101359
  <CapRow
101320
- className="panel-section send-test-section"
101360
+ className="left-panel"
101321
101361
  >
101322
- <SendTestMessage
101323
- channel="RCS"
101324
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
101325
- deliverySettings={Object {}}
101326
- formData={
101327
- Object {
101328
- "suggestions": Array [
101362
+ <LeftPanelContent
101363
+ customers={Immutable.List []}
101364
+ enableCustomerSearch={true}
101365
+ enableTagExtraction={true}
101366
+ error7078Message={null}
101367
+ extractedTags={Immutable.List []}
101368
+ handleClearSelection={[Function]}
101369
+ handleCustomerSelect={[Function]}
101370
+ handleExtractTags={[Function]}
101371
+ handleSearchCustomer={[Function]}
101372
+ isExtractingTags={false}
101373
+ isSearchingCustomer={false}
101374
+ renderCustomValuesEditor={[Function]}
101375
+ selectedCustomer={null}
101376
+ tagsExtracted={false}
101377
+ />
101378
+ <CapDivider
101379
+ className="panel-divider"
101380
+ />
101381
+ <CapRow
101382
+ className="panel-section send-test-section"
101383
+ >
101384
+ <SendTestMessage
101385
+ channel="RCS"
101386
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
101387
+ deliverySettings={Object {}}
101388
+ formData={
101389
+ Object {
101390
+ "suggestions": Array [
101391
+ Object {
101392
+ "index": 0,
101393
+ "isSaved": true,
101394
+ "phoneNumber": "",
101395
+ "postback": "stop",
101396
+ "text": "stop",
101397
+ "type": "QUICK_REPLY",
101398
+ "url": null,
101399
+ },
101400
+ ],
101401
+ "templateHeader": "",
101402
+ "templateMessage": "",
101403
+ }
101404
+ }
101405
+ formatMessage={[Function]}
101406
+ handleSendTestMessage={[Function]}
101407
+ handleTestEntitiesChange={[Function]}
101408
+ isFetchingTestCustomers={false}
101409
+ isFetchingTestGroups={false}
101410
+ isLoadingSenderDetails={false}
101411
+ isSendingTestMessage={false}
101412
+ onSaveDeliverySettings={[Function]}
101413
+ registeredSenderIds={Array []}
101414
+ renderAddTestCustomerButton={[Function]}
101415
+ searchValue=""
101416
+ selectedTestEntities={Array []}
101417
+ senderDetailsOptions={Array []}
101418
+ setSearchValue={[Function]}
101419
+ smsTraiDltEnabled={false}
101420
+ testEntitiesTreeData={
101421
+ Array [
101329
101422
  Object {
101330
- "index": 0,
101331
- "isSaved": true,
101332
- "phoneNumber": "",
101333
- "postback": "stop",
101334
- "text": "stop",
101335
- "type": "QUICK_REPLY",
101336
- "url": null,
101423
+ "children": Immutable.List [],
101424
+ "selectable": false,
101425
+ "title": "Groups",
101426
+ "value": "groups-node",
101337
101427
  },
101338
- ],
101339
- "templateHeader": "",
101340
- "templateMessage": "",
101428
+ Object {
101429
+ "children": Immutable.List [],
101430
+ "selectable": false,
101431
+ "title": "Individuals",
101432
+ "value": "customers-node",
101433
+ },
101434
+ ]
101341
101435
  }
101342
- }
101343
- formatMessage={[Function]}
101344
- handleSendTestMessage={[Function]}
101345
- handleTestEntitiesChange={[Function]}
101346
- isFetchingTestCustomers={false}
101347
- isFetchingTestGroups={false}
101348
- isLoadingSenderDetails={false}
101349
- isSendingTestMessage={false}
101350
- onSaveDeliverySettings={[Function]}
101351
- registeredSenderIds={Array []}
101352
- selectedTestEntities={Array []}
101353
- senderDetailsOptions={Array []}
101354
- smsTraiDltEnabled={false}
101355
- testEntitiesTreeData={
101356
- Array [
101357
- Object {
101358
- "children": Immutable.List [],
101359
- "selectable": false,
101360
- "title": "Groups",
101361
- "value": "groups-node",
101362
- },
101363
- Object {
101364
- "children": Immutable.List [],
101365
- "selectable": false,
101366
- "title": "Individuals",
101367
- "value": "customers-node",
101436
+ wecrmAccounts={Array []}
101437
+ />
101438
+ </CapRow>
101439
+ <CapDivider
101440
+ className="panel-divider"
101441
+ />
101442
+ </CapRow>
101443
+ <CapRow
101444
+ className="right-panel"
101445
+ >
101446
+ <PreviewSection
101447
+ unifiedPreviewProps={
101448
+ Object {
101449
+ "channel": "RCS",
101450
+ "content": Object {
101451
+ "suggestions": Array [
101452
+ Object {
101453
+ "index": 0,
101454
+ "isSaved": true,
101455
+ "phoneNumber": "",
101456
+ "postback": "stop",
101457
+ "text": "stop",
101458
+ "type": "QUICK_REPLY",
101459
+ "url": null,
101460
+ },
101461
+ ],
101462
+ "templateHeader": "",
101463
+ "templateMessage": "",
101368
101464
  },
101369
- ]
101465
+ "device": "desktop",
101466
+ "error": null,
101467
+ "formatMessage": [Function],
101468
+ "isUpdating": false,
101469
+ "lastModified": undefined,
101470
+ "onDeviceChange": [Function],
101471
+ "selectedCustomer": null,
101472
+ "showDeviceToggle": true,
101473
+ "updatedByName": undefined,
101474
+ }
101370
101475
  }
101371
- wecrmAccounts={Array []}
101372
101476
  />
101373
101477
  </CapRow>
101374
- <CapDivider
101375
- className="panel-divider"
101376
- />
101377
- </CapRow>
101378
- <CapRow
101379
- className="right-panel"
101380
- >
101381
- <PreviewSection
101382
- unifiedPreviewProps={
101383
- Object {
101384
- "channel": "RCS",
101385
- "content": Object {
101386
- "suggestions": Array [
101387
- Object {
101388
- "index": 0,
101389
- "isSaved": true,
101390
- "phoneNumber": "",
101391
- "postback": "stop",
101392
- "text": "stop",
101393
- "type": "QUICK_REPLY",
101394
- "url": null,
101395
- },
101396
- ],
101397
- "templateHeader": "",
101398
- "templateMessage": "",
101399
- },
101400
- "device": "desktop",
101401
- "error": null,
101402
- "formatMessage": [Function],
101403
- "isUpdating": false,
101404
- "lastModified": undefined,
101405
- "onDeviceChange": [Function],
101406
- "selectedCustomer": null,
101407
- "showDeviceToggle": true,
101408
- "updatedByName": undefined,
101409
- }
101410
- }
101411
- />
101412
101478
  </CapRow>
101413
101479
  </CapRow>
101414
- </CapRow>
101480
+ </CapSpin>
101415
101481
  }
101416
101482
  handleClose={[Function]}
101417
101483
  header={
@@ -115979,6 +116045,7 @@ new message content.",
115979
116045
  <InjectIntl(TestAndPreviewSlidebox)
115980
116046
  actions={
115981
116047
  Object {
116048
+ "addTestCustomer": [Function],
115982
116049
  "clearCustomerSearchState": [Function],
115983
116050
  "clearPrefilledValues": [Function],
115984
116051
  "clearPreviewErrors": [Function],
@@ -116046,6 +116113,7 @@ new message content.",
116046
116113
  <TestAndPreviewSlidebox
116047
116114
  actions={
116048
116115
  Object {
116116
+ "addTestCustomer": [Function],
116049
116117
  "clearCustomerSearchState": [Function],
116050
116118
  "clearPrefilledValues": [Function],
116051
116119
  "clearPreviewErrors": [Function],
@@ -118362,6 +118430,7 @@ new message content.",
118362
118430
  <CommonTestAndPreview
118363
118431
  actions={
118364
118432
  Object {
118433
+ "addTestCustomer": [Function],
118365
118434
  "clearCustomerSearchState": [Function],
118366
118435
  "clearPrefilledValues": [Function],
118367
118436
  "clearPreviewErrors": [Function],
@@ -120695,130 +120764,138 @@ new message content.",
120695
120764
  closeIconSize="m"
120696
120765
  closeIconType="close"
120697
120766
  content={
120698
- <CapRow
120699
- className="test-preview-container"
120767
+ <CapSpin
120768
+ className="common-test-preview-lookup-spin "
120769
+ spinning={false}
120700
120770
  >
120701
120771
  <CapRow
120702
- className="test-and-preview-panels"
120772
+ className="test-preview-container"
120703
120773
  >
120704
120774
  <CapRow
120705
- className="left-panel"
120775
+ className="test-and-preview-panels"
120706
120776
  >
120707
- <LeftPanelContent
120708
- customers={Immutable.List []}
120709
- enableCustomerSearch={true}
120710
- enableTagExtraction={true}
120711
- error7078Message={null}
120712
- extractedTags={Immutable.List []}
120713
- handleClearSelection={[Function]}
120714
- handleCustomerSelect={[Function]}
120715
- handleExtractTags={[Function]}
120716
- handleSearchCustomer={[Function]}
120717
- isExtractingTags={false}
120718
- isSearchingCustomer={false}
120719
- renderCustomValuesEditor={[Function]}
120720
- selectedCustomer={null}
120721
- tagsExtracted={false}
120722
- />
120723
- <CapDivider
120724
- className="panel-divider"
120725
- />
120726
120777
  <CapRow
120727
- className="panel-section send-test-section"
120778
+ className="left-panel"
120728
120779
  >
120729
- <SendTestMessage
120730
- channel="RCS"
120731
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
120732
- deliverySettings={Object {}}
120733
- formData={
120734
- Object {
120735
- "suggestions": Array [
120780
+ <LeftPanelContent
120781
+ customers={Immutable.List []}
120782
+ enableCustomerSearch={true}
120783
+ enableTagExtraction={true}
120784
+ error7078Message={null}
120785
+ extractedTags={Immutable.List []}
120786
+ handleClearSelection={[Function]}
120787
+ handleCustomerSelect={[Function]}
120788
+ handleExtractTags={[Function]}
120789
+ handleSearchCustomer={[Function]}
120790
+ isExtractingTags={false}
120791
+ isSearchingCustomer={false}
120792
+ renderCustomValuesEditor={[Function]}
120793
+ selectedCustomer={null}
120794
+ tagsExtracted={false}
120795
+ />
120796
+ <CapDivider
120797
+ className="panel-divider"
120798
+ />
120799
+ <CapRow
120800
+ className="panel-section send-test-section"
120801
+ >
120802
+ <SendTestMessage
120803
+ channel="RCS"
120804
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
120805
+ deliverySettings={Object {}}
120806
+ formData={
120807
+ Object {
120808
+ "suggestions": Array [
120809
+ Object {
120810
+ "index": 0,
120811
+ "isSaved": true,
120812
+ "phoneNumber": "",
120813
+ "postback": "stop",
120814
+ "text": "stop",
120815
+ "type": "QUICK_REPLY",
120816
+ "url": null,
120817
+ },
120818
+ ],
120819
+ "templateHeader": "",
120820
+ "templateMessage": "",
120821
+ }
120822
+ }
120823
+ formatMessage={[Function]}
120824
+ handleSendTestMessage={[Function]}
120825
+ handleTestEntitiesChange={[Function]}
120826
+ isFetchingTestCustomers={false}
120827
+ isFetchingTestGroups={false}
120828
+ isLoadingSenderDetails={false}
120829
+ isSendingTestMessage={false}
120830
+ onSaveDeliverySettings={[Function]}
120831
+ registeredSenderIds={Array []}
120832
+ renderAddTestCustomerButton={[Function]}
120833
+ searchValue=""
120834
+ selectedTestEntities={Array []}
120835
+ senderDetailsOptions={Array []}
120836
+ setSearchValue={[Function]}
120837
+ smsTraiDltEnabled={false}
120838
+ testEntitiesTreeData={
120839
+ Array [
120840
+ Object {
120841
+ "children": Immutable.List [],
120842
+ "selectable": false,
120843
+ "title": "Groups",
120844
+ "value": "groups-node",
120845
+ },
120736
120846
  Object {
120737
- "index": 0,
120738
- "isSaved": true,
120739
- "phoneNumber": "",
120740
- "postback": "stop",
120741
- "text": "stop",
120742
- "type": "QUICK_REPLY",
120743
- "url": null,
120847
+ "children": Immutable.List [],
120848
+ "selectable": false,
120849
+ "title": "Individuals",
120850
+ "value": "customers-node",
120744
120851
  },
120745
- ],
120746
- "templateHeader": "",
120747
- "templateMessage": "",
120852
+ ]
120748
120853
  }
120749
- }
120750
- formatMessage={[Function]}
120751
- handleSendTestMessage={[Function]}
120752
- handleTestEntitiesChange={[Function]}
120753
- isFetchingTestCustomers={false}
120754
- isFetchingTestGroups={false}
120755
- isLoadingSenderDetails={false}
120756
- isSendingTestMessage={false}
120757
- onSaveDeliverySettings={[Function]}
120758
- registeredSenderIds={Array []}
120759
- selectedTestEntities={Array []}
120760
- senderDetailsOptions={Array []}
120761
- smsTraiDltEnabled={false}
120762
- testEntitiesTreeData={
120763
- Array [
120764
- Object {
120765
- "children": Immutable.List [],
120766
- "selectable": false,
120767
- "title": "Groups",
120768
- "value": "groups-node",
120769
- },
120770
- Object {
120771
- "children": Immutable.List [],
120772
- "selectable": false,
120773
- "title": "Individuals",
120774
- "value": "customers-node",
120854
+ wecrmAccounts={Array []}
120855
+ />
120856
+ </CapRow>
120857
+ <CapDivider
120858
+ className="panel-divider"
120859
+ />
120860
+ </CapRow>
120861
+ <CapRow
120862
+ className="right-panel"
120863
+ >
120864
+ <PreviewSection
120865
+ unifiedPreviewProps={
120866
+ Object {
120867
+ "channel": "RCS",
120868
+ "content": Object {
120869
+ "suggestions": Array [
120870
+ Object {
120871
+ "index": 0,
120872
+ "isSaved": true,
120873
+ "phoneNumber": "",
120874
+ "postback": "stop",
120875
+ "text": "stop",
120876
+ "type": "QUICK_REPLY",
120877
+ "url": null,
120878
+ },
120879
+ ],
120880
+ "templateHeader": "",
120881
+ "templateMessage": "",
120775
120882
  },
120776
- ]
120883
+ "device": "desktop",
120884
+ "error": null,
120885
+ "formatMessage": [Function],
120886
+ "isUpdating": false,
120887
+ "lastModified": undefined,
120888
+ "onDeviceChange": [Function],
120889
+ "selectedCustomer": null,
120890
+ "showDeviceToggle": true,
120891
+ "updatedByName": undefined,
120892
+ }
120777
120893
  }
120778
- wecrmAccounts={Array []}
120779
120894
  />
120780
120895
  </CapRow>
120781
- <CapDivider
120782
- className="panel-divider"
120783
- />
120784
- </CapRow>
120785
- <CapRow
120786
- className="right-panel"
120787
- >
120788
- <PreviewSection
120789
- unifiedPreviewProps={
120790
- Object {
120791
- "channel": "RCS",
120792
- "content": Object {
120793
- "suggestions": Array [
120794
- Object {
120795
- "index": 0,
120796
- "isSaved": true,
120797
- "phoneNumber": "",
120798
- "postback": "stop",
120799
- "text": "stop",
120800
- "type": "QUICK_REPLY",
120801
- "url": null,
120802
- },
120803
- ],
120804
- "templateHeader": "",
120805
- "templateMessage": "",
120806
- },
120807
- "device": "desktop",
120808
- "error": null,
120809
- "formatMessage": [Function],
120810
- "isUpdating": false,
120811
- "lastModified": undefined,
120812
- "onDeviceChange": [Function],
120813
- "selectedCustomer": null,
120814
- "showDeviceToggle": true,
120815
- "updatedByName": undefined,
120816
- }
120817
- }
120818
- />
120819
120896
  </CapRow>
120820
120897
  </CapRow>
120821
- </CapRow>
120898
+ </CapSpin>
120822
120899
  }
120823
120900
  handleClose={[Function]}
120824
120901
  header={
@@ -136054,6 +136131,7 @@ new message content.",
136054
136131
  <InjectIntl(TestAndPreviewSlidebox)
136055
136132
  actions={
136056
136133
  Object {
136134
+ "addTestCustomer": [Function],
136057
136135
  "clearCustomerSearchState": [Function],
136058
136136
  "clearPrefilledValues": [Function],
136059
136137
  "clearPreviewErrors": [Function],
@@ -136121,6 +136199,7 @@ new message content.",
136121
136199
  <TestAndPreviewSlidebox
136122
136200
  actions={
136123
136201
  Object {
136202
+ "addTestCustomer": [Function],
136124
136203
  "clearCustomerSearchState": [Function],
136125
136204
  "clearPrefilledValues": [Function],
136126
136205
  "clearPreviewErrors": [Function],
@@ -138437,6 +138516,7 @@ new message content.",
138437
138516
  <CommonTestAndPreview
138438
138517
  actions={
138439
138518
  Object {
138519
+ "addTestCustomer": [Function],
138440
138520
  "clearCustomerSearchState": [Function],
138441
138521
  "clearPrefilledValues": [Function],
138442
138522
  "clearPreviewErrors": [Function],
@@ -140770,130 +140850,138 @@ new message content.",
140770
140850
  closeIconSize="m"
140771
140851
  closeIconType="close"
140772
140852
  content={
140773
- <CapRow
140774
- className="test-preview-container"
140853
+ <CapSpin
140854
+ className="common-test-preview-lookup-spin "
140855
+ spinning={false}
140775
140856
  >
140776
140857
  <CapRow
140777
- className="test-and-preview-panels"
140858
+ className="test-preview-container"
140778
140859
  >
140779
140860
  <CapRow
140780
- className="left-panel"
140861
+ className="test-and-preview-panels"
140781
140862
  >
140782
- <LeftPanelContent
140783
- customers={Immutable.List []}
140784
- enableCustomerSearch={true}
140785
- enableTagExtraction={true}
140786
- error7078Message={null}
140787
- extractedTags={Immutable.List []}
140788
- handleClearSelection={[Function]}
140789
- handleCustomerSelect={[Function]}
140790
- handleExtractTags={[Function]}
140791
- handleSearchCustomer={[Function]}
140792
- isExtractingTags={false}
140793
- isSearchingCustomer={false}
140794
- renderCustomValuesEditor={[Function]}
140795
- selectedCustomer={null}
140796
- tagsExtracted={false}
140797
- />
140798
- <CapDivider
140799
- className="panel-divider"
140800
- />
140801
140863
  <CapRow
140802
- className="panel-section send-test-section"
140864
+ className="left-panel"
140803
140865
  >
140804
- <SendTestMessage
140805
- channel="RCS"
140806
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
140807
- deliverySettings={Object {}}
140808
- formData={
140809
- Object {
140810
- "suggestions": Array [
140866
+ <LeftPanelContent
140867
+ customers={Immutable.List []}
140868
+ enableCustomerSearch={true}
140869
+ enableTagExtraction={true}
140870
+ error7078Message={null}
140871
+ extractedTags={Immutable.List []}
140872
+ handleClearSelection={[Function]}
140873
+ handleCustomerSelect={[Function]}
140874
+ handleExtractTags={[Function]}
140875
+ handleSearchCustomer={[Function]}
140876
+ isExtractingTags={false}
140877
+ isSearchingCustomer={false}
140878
+ renderCustomValuesEditor={[Function]}
140879
+ selectedCustomer={null}
140880
+ tagsExtracted={false}
140881
+ />
140882
+ <CapDivider
140883
+ className="panel-divider"
140884
+ />
140885
+ <CapRow
140886
+ className="panel-section send-test-section"
140887
+ >
140888
+ <SendTestMessage
140889
+ channel="RCS"
140890
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
140891
+ deliverySettings={Object {}}
140892
+ formData={
140893
+ Object {
140894
+ "suggestions": Array [
140895
+ Object {
140896
+ "index": 0,
140897
+ "isSaved": true,
140898
+ "phoneNumber": "",
140899
+ "postback": "stop",
140900
+ "text": "stop",
140901
+ "type": "QUICK_REPLY",
140902
+ "url": null,
140903
+ },
140904
+ ],
140905
+ "templateHeader": "",
140906
+ "templateMessage": "",
140907
+ }
140908
+ }
140909
+ formatMessage={[Function]}
140910
+ handleSendTestMessage={[Function]}
140911
+ handleTestEntitiesChange={[Function]}
140912
+ isFetchingTestCustomers={false}
140913
+ isFetchingTestGroups={false}
140914
+ isLoadingSenderDetails={false}
140915
+ isSendingTestMessage={false}
140916
+ onSaveDeliverySettings={[Function]}
140917
+ registeredSenderIds={Array []}
140918
+ renderAddTestCustomerButton={[Function]}
140919
+ searchValue=""
140920
+ selectedTestEntities={Array []}
140921
+ senderDetailsOptions={Array []}
140922
+ setSearchValue={[Function]}
140923
+ smsTraiDltEnabled={false}
140924
+ testEntitiesTreeData={
140925
+ Array [
140926
+ Object {
140927
+ "children": Immutable.List [],
140928
+ "selectable": false,
140929
+ "title": "Groups",
140930
+ "value": "groups-node",
140931
+ },
140811
140932
  Object {
140812
- "index": 0,
140813
- "isSaved": true,
140814
- "phoneNumber": "",
140815
- "postback": "stop",
140816
- "text": "stop",
140817
- "type": "QUICK_REPLY",
140818
- "url": null,
140933
+ "children": Immutable.List [],
140934
+ "selectable": false,
140935
+ "title": "Individuals",
140936
+ "value": "customers-node",
140819
140937
  },
140820
- ],
140821
- "templateHeader": "",
140822
- "templateMessage": "",
140938
+ ]
140823
140939
  }
140824
- }
140825
- formatMessage={[Function]}
140826
- handleSendTestMessage={[Function]}
140827
- handleTestEntitiesChange={[Function]}
140828
- isFetchingTestCustomers={false}
140829
- isFetchingTestGroups={false}
140830
- isLoadingSenderDetails={false}
140831
- isSendingTestMessage={false}
140832
- onSaveDeliverySettings={[Function]}
140833
- registeredSenderIds={Array []}
140834
- selectedTestEntities={Array []}
140835
- senderDetailsOptions={Array []}
140836
- smsTraiDltEnabled={false}
140837
- testEntitiesTreeData={
140838
- Array [
140839
- Object {
140840
- "children": Immutable.List [],
140841
- "selectable": false,
140842
- "title": "Groups",
140843
- "value": "groups-node",
140844
- },
140845
- Object {
140846
- "children": Immutable.List [],
140847
- "selectable": false,
140848
- "title": "Individuals",
140849
- "value": "customers-node",
140940
+ wecrmAccounts={Array []}
140941
+ />
140942
+ </CapRow>
140943
+ <CapDivider
140944
+ className="panel-divider"
140945
+ />
140946
+ </CapRow>
140947
+ <CapRow
140948
+ className="right-panel"
140949
+ >
140950
+ <PreviewSection
140951
+ unifiedPreviewProps={
140952
+ Object {
140953
+ "channel": "RCS",
140954
+ "content": Object {
140955
+ "suggestions": Array [
140956
+ Object {
140957
+ "index": 0,
140958
+ "isSaved": true,
140959
+ "phoneNumber": "",
140960
+ "postback": "stop",
140961
+ "text": "stop",
140962
+ "type": "QUICK_REPLY",
140963
+ "url": null,
140964
+ },
140965
+ ],
140966
+ "templateHeader": "",
140967
+ "templateMessage": "",
140850
140968
  },
140851
- ]
140969
+ "device": "desktop",
140970
+ "error": null,
140971
+ "formatMessage": [Function],
140972
+ "isUpdating": false,
140973
+ "lastModified": undefined,
140974
+ "onDeviceChange": [Function],
140975
+ "selectedCustomer": null,
140976
+ "showDeviceToggle": true,
140977
+ "updatedByName": undefined,
140978
+ }
140852
140979
  }
140853
- wecrmAccounts={Array []}
140854
140980
  />
140855
140981
  </CapRow>
140856
- <CapDivider
140857
- className="panel-divider"
140858
- />
140859
- </CapRow>
140860
- <CapRow
140861
- className="right-panel"
140862
- >
140863
- <PreviewSection
140864
- unifiedPreviewProps={
140865
- Object {
140866
- "channel": "RCS",
140867
- "content": Object {
140868
- "suggestions": Array [
140869
- Object {
140870
- "index": 0,
140871
- "isSaved": true,
140872
- "phoneNumber": "",
140873
- "postback": "stop",
140874
- "text": "stop",
140875
- "type": "QUICK_REPLY",
140876
- "url": null,
140877
- },
140878
- ],
140879
- "templateHeader": "",
140880
- "templateMessage": "",
140881
- },
140882
- "device": "desktop",
140883
- "error": null,
140884
- "formatMessage": [Function],
140885
- "isUpdating": false,
140886
- "lastModified": undefined,
140887
- "onDeviceChange": [Function],
140888
- "selectedCustomer": null,
140889
- "showDeviceToggle": true,
140890
- "updatedByName": undefined,
140891
- }
140892
- }
140893
- />
140894
140982
  </CapRow>
140895
140983
  </CapRow>
140896
- </CapRow>
140984
+ </CapSpin>
140897
140985
  }
140898
140986
  handleClose={[Function]}
140899
140987
  header={
@@ -152145,6 +152233,7 @@ new message content.",
152145
152233
  <InjectIntl(TestAndPreviewSlidebox)
152146
152234
  actions={
152147
152235
  Object {
152236
+ "addTestCustomer": [Function],
152148
152237
  "clearCustomerSearchState": [Function],
152149
152238
  "clearPrefilledValues": [Function],
152150
152239
  "clearPreviewErrors": [Function],
@@ -152212,6 +152301,7 @@ new message content.",
152212
152301
  <TestAndPreviewSlidebox
152213
152302
  actions={
152214
152303
  Object {
152304
+ "addTestCustomer": [Function],
152215
152305
  "clearCustomerSearchState": [Function],
152216
152306
  "clearPrefilledValues": [Function],
152217
152307
  "clearPreviewErrors": [Function],
@@ -154528,6 +154618,7 @@ new message content.",
154528
154618
  <CommonTestAndPreview
154529
154619
  actions={
154530
154620
  Object {
154621
+ "addTestCustomer": [Function],
154531
154622
  "clearCustomerSearchState": [Function],
154532
154623
  "clearPrefilledValues": [Function],
154533
154624
  "clearPreviewErrors": [Function],
@@ -156861,130 +156952,138 @@ new message content.",
156861
156952
  closeIconSize="m"
156862
156953
  closeIconType="close"
156863
156954
  content={
156864
- <CapRow
156865
- className="test-preview-container"
156955
+ <CapSpin
156956
+ className="common-test-preview-lookup-spin "
156957
+ spinning={false}
156866
156958
  >
156867
156959
  <CapRow
156868
- className="test-and-preview-panels"
156960
+ className="test-preview-container"
156869
156961
  >
156870
156962
  <CapRow
156871
- className="left-panel"
156963
+ className="test-and-preview-panels"
156872
156964
  >
156873
- <LeftPanelContent
156874
- customers={Immutable.List []}
156875
- enableCustomerSearch={true}
156876
- enableTagExtraction={true}
156877
- error7078Message={null}
156878
- extractedTags={Immutable.List []}
156879
- handleClearSelection={[Function]}
156880
- handleCustomerSelect={[Function]}
156881
- handleExtractTags={[Function]}
156882
- handleSearchCustomer={[Function]}
156883
- isExtractingTags={false}
156884
- isSearchingCustomer={false}
156885
- renderCustomValuesEditor={[Function]}
156886
- selectedCustomer={null}
156887
- tagsExtracted={false}
156888
- />
156889
- <CapDivider
156890
- className="panel-divider"
156891
- />
156892
156965
  <CapRow
156893
- className="panel-section send-test-section"
156966
+ className="left-panel"
156894
156967
  >
156895
- <SendTestMessage
156896
- channel="RCS"
156897
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
156898
- deliverySettings={Object {}}
156899
- formData={
156900
- Object {
156901
- "suggestions": Array [
156968
+ <LeftPanelContent
156969
+ customers={Immutable.List []}
156970
+ enableCustomerSearch={true}
156971
+ enableTagExtraction={true}
156972
+ error7078Message={null}
156973
+ extractedTags={Immutable.List []}
156974
+ handleClearSelection={[Function]}
156975
+ handleCustomerSelect={[Function]}
156976
+ handleExtractTags={[Function]}
156977
+ handleSearchCustomer={[Function]}
156978
+ isExtractingTags={false}
156979
+ isSearchingCustomer={false}
156980
+ renderCustomValuesEditor={[Function]}
156981
+ selectedCustomer={null}
156982
+ tagsExtracted={false}
156983
+ />
156984
+ <CapDivider
156985
+ className="panel-divider"
156986
+ />
156987
+ <CapRow
156988
+ className="panel-section send-test-section"
156989
+ >
156990
+ <SendTestMessage
156991
+ channel="RCS"
156992
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
156993
+ deliverySettings={Object {}}
156994
+ formData={
156995
+ Object {
156996
+ "suggestions": Array [
156997
+ Object {
156998
+ "index": 0,
156999
+ "isSaved": true,
157000
+ "phoneNumber": "",
157001
+ "postback": "stop",
157002
+ "text": "stop",
157003
+ "type": "QUICK_REPLY",
157004
+ "url": null,
157005
+ },
157006
+ ],
157007
+ "templateHeader": "",
157008
+ "templateMessage": "",
157009
+ }
157010
+ }
157011
+ formatMessage={[Function]}
157012
+ handleSendTestMessage={[Function]}
157013
+ handleTestEntitiesChange={[Function]}
157014
+ isFetchingTestCustomers={false}
157015
+ isFetchingTestGroups={false}
157016
+ isLoadingSenderDetails={false}
157017
+ isSendingTestMessage={false}
157018
+ onSaveDeliverySettings={[Function]}
157019
+ registeredSenderIds={Array []}
157020
+ renderAddTestCustomerButton={[Function]}
157021
+ searchValue=""
157022
+ selectedTestEntities={Array []}
157023
+ senderDetailsOptions={Array []}
157024
+ setSearchValue={[Function]}
157025
+ smsTraiDltEnabled={false}
157026
+ testEntitiesTreeData={
157027
+ Array [
156902
157028
  Object {
156903
- "index": 0,
156904
- "isSaved": true,
156905
- "phoneNumber": "",
156906
- "postback": "stop",
156907
- "text": "stop",
156908
- "type": "QUICK_REPLY",
156909
- "url": null,
157029
+ "children": Immutable.List [],
157030
+ "selectable": false,
157031
+ "title": "Groups",
157032
+ "value": "groups-node",
156910
157033
  },
156911
- ],
156912
- "templateHeader": "",
156913
- "templateMessage": "",
157034
+ Object {
157035
+ "children": Immutable.List [],
157036
+ "selectable": false,
157037
+ "title": "Individuals",
157038
+ "value": "customers-node",
157039
+ },
157040
+ ]
156914
157041
  }
156915
- }
156916
- formatMessage={[Function]}
156917
- handleSendTestMessage={[Function]}
156918
- handleTestEntitiesChange={[Function]}
156919
- isFetchingTestCustomers={false}
156920
- isFetchingTestGroups={false}
156921
- isLoadingSenderDetails={false}
156922
- isSendingTestMessage={false}
156923
- onSaveDeliverySettings={[Function]}
156924
- registeredSenderIds={Array []}
156925
- selectedTestEntities={Array []}
156926
- senderDetailsOptions={Array []}
156927
- smsTraiDltEnabled={false}
156928
- testEntitiesTreeData={
156929
- Array [
156930
- Object {
156931
- "children": Immutable.List [],
156932
- "selectable": false,
156933
- "title": "Groups",
156934
- "value": "groups-node",
156935
- },
156936
- Object {
156937
- "children": Immutable.List [],
156938
- "selectable": false,
156939
- "title": "Individuals",
156940
- "value": "customers-node",
157042
+ wecrmAccounts={Array []}
157043
+ />
157044
+ </CapRow>
157045
+ <CapDivider
157046
+ className="panel-divider"
157047
+ />
157048
+ </CapRow>
157049
+ <CapRow
157050
+ className="right-panel"
157051
+ >
157052
+ <PreviewSection
157053
+ unifiedPreviewProps={
157054
+ Object {
157055
+ "channel": "RCS",
157056
+ "content": Object {
157057
+ "suggestions": Array [
157058
+ Object {
157059
+ "index": 0,
157060
+ "isSaved": true,
157061
+ "phoneNumber": "",
157062
+ "postback": "stop",
157063
+ "text": "stop",
157064
+ "type": "QUICK_REPLY",
157065
+ "url": null,
157066
+ },
157067
+ ],
157068
+ "templateHeader": "",
157069
+ "templateMessage": "",
156941
157070
  },
156942
- ]
157071
+ "device": "desktop",
157072
+ "error": null,
157073
+ "formatMessage": [Function],
157074
+ "isUpdating": false,
157075
+ "lastModified": undefined,
157076
+ "onDeviceChange": [Function],
157077
+ "selectedCustomer": null,
157078
+ "showDeviceToggle": true,
157079
+ "updatedByName": undefined,
157080
+ }
156943
157081
  }
156944
- wecrmAccounts={Array []}
156945
157082
  />
156946
157083
  </CapRow>
156947
- <CapDivider
156948
- className="panel-divider"
156949
- />
156950
- </CapRow>
156951
- <CapRow
156952
- className="right-panel"
156953
- >
156954
- <PreviewSection
156955
- unifiedPreviewProps={
156956
- Object {
156957
- "channel": "RCS",
156958
- "content": Object {
156959
- "suggestions": Array [
156960
- Object {
156961
- "index": 0,
156962
- "isSaved": true,
156963
- "phoneNumber": "",
156964
- "postback": "stop",
156965
- "text": "stop",
156966
- "type": "QUICK_REPLY",
156967
- "url": null,
156968
- },
156969
- ],
156970
- "templateHeader": "",
156971
- "templateMessage": "",
156972
- },
156973
- "device": "desktop",
156974
- "error": null,
156975
- "formatMessage": [Function],
156976
- "isUpdating": false,
156977
- "lastModified": undefined,
156978
- "onDeviceChange": [Function],
156979
- "selectedCustomer": null,
156980
- "showDeviceToggle": true,
156981
- "updatedByName": undefined,
156982
- }
156983
- }
156984
- />
156985
157084
  </CapRow>
156986
157085
  </CapRow>
156987
- </CapRow>
157086
+ </CapSpin>
156988
157087
  }
156989
157088
  handleClose={[Function]}
156990
157089
  header={
@@ -168236,6 +168335,7 @@ new message content.",
168236
168335
  <InjectIntl(TestAndPreviewSlidebox)
168237
168336
  actions={
168238
168337
  Object {
168338
+ "addTestCustomer": [Function],
168239
168339
  "clearCustomerSearchState": [Function],
168240
168340
  "clearPrefilledValues": [Function],
168241
168341
  "clearPreviewErrors": [Function],
@@ -168303,6 +168403,7 @@ new message content.",
168303
168403
  <TestAndPreviewSlidebox
168304
168404
  actions={
168305
168405
  Object {
168406
+ "addTestCustomer": [Function],
168306
168407
  "clearCustomerSearchState": [Function],
168307
168408
  "clearPrefilledValues": [Function],
168308
168409
  "clearPreviewErrors": [Function],
@@ -170619,6 +170720,7 @@ new message content.",
170619
170720
  <CommonTestAndPreview
170620
170721
  actions={
170621
170722
  Object {
170723
+ "addTestCustomer": [Function],
170622
170724
  "clearCustomerSearchState": [Function],
170623
170725
  "clearPrefilledValues": [Function],
170624
170726
  "clearPreviewErrors": [Function],
@@ -172952,130 +173054,138 @@ new message content.",
172952
173054
  closeIconSize="m"
172953
173055
  closeIconType="close"
172954
173056
  content={
172955
- <CapRow
172956
- className="test-preview-container"
173057
+ <CapSpin
173058
+ className="common-test-preview-lookup-spin "
173059
+ spinning={false}
172957
173060
  >
172958
173061
  <CapRow
172959
- className="test-and-preview-panels"
173062
+ className="test-preview-container"
172960
173063
  >
172961
173064
  <CapRow
172962
- className="left-panel"
173065
+ className="test-and-preview-panels"
172963
173066
  >
172964
- <LeftPanelContent
172965
- customers={Immutable.List []}
172966
- enableCustomerSearch={true}
172967
- enableTagExtraction={true}
172968
- error7078Message={null}
172969
- extractedTags={Immutable.List []}
172970
- handleClearSelection={[Function]}
172971
- handleCustomerSelect={[Function]}
172972
- handleExtractTags={[Function]}
172973
- handleSearchCustomer={[Function]}
172974
- isExtractingTags={false}
172975
- isSearchingCustomer={false}
172976
- renderCustomValuesEditor={[Function]}
172977
- selectedCustomer={null}
172978
- tagsExtracted={false}
172979
- />
172980
- <CapDivider
172981
- className="panel-divider"
172982
- />
172983
173067
  <CapRow
172984
- className="panel-section send-test-section"
173068
+ className="left-panel"
172985
173069
  >
172986
- <SendTestMessage
172987
- channel="RCS"
172988
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
172989
- deliverySettings={Object {}}
172990
- formData={
172991
- Object {
172992
- "suggestions": Array [
173070
+ <LeftPanelContent
173071
+ customers={Immutable.List []}
173072
+ enableCustomerSearch={true}
173073
+ enableTagExtraction={true}
173074
+ error7078Message={null}
173075
+ extractedTags={Immutable.List []}
173076
+ handleClearSelection={[Function]}
173077
+ handleCustomerSelect={[Function]}
173078
+ handleExtractTags={[Function]}
173079
+ handleSearchCustomer={[Function]}
173080
+ isExtractingTags={false}
173081
+ isSearchingCustomer={false}
173082
+ renderCustomValuesEditor={[Function]}
173083
+ selectedCustomer={null}
173084
+ tagsExtracted={false}
173085
+ />
173086
+ <CapDivider
173087
+ className="panel-divider"
173088
+ />
173089
+ <CapRow
173090
+ className="panel-section send-test-section"
173091
+ >
173092
+ <SendTestMessage
173093
+ channel="RCS"
173094
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
173095
+ deliverySettings={Object {}}
173096
+ formData={
173097
+ Object {
173098
+ "suggestions": Array [
173099
+ Object {
173100
+ "index": 0,
173101
+ "isSaved": true,
173102
+ "phoneNumber": "",
173103
+ "postback": "stop",
173104
+ "text": "stop",
173105
+ "type": "QUICK_REPLY",
173106
+ "url": null,
173107
+ },
173108
+ ],
173109
+ "templateHeader": "",
173110
+ "templateMessage": "",
173111
+ }
173112
+ }
173113
+ formatMessage={[Function]}
173114
+ handleSendTestMessage={[Function]}
173115
+ handleTestEntitiesChange={[Function]}
173116
+ isFetchingTestCustomers={false}
173117
+ isFetchingTestGroups={false}
173118
+ isLoadingSenderDetails={false}
173119
+ isSendingTestMessage={false}
173120
+ onSaveDeliverySettings={[Function]}
173121
+ registeredSenderIds={Array []}
173122
+ renderAddTestCustomerButton={[Function]}
173123
+ searchValue=""
173124
+ selectedTestEntities={Array []}
173125
+ senderDetailsOptions={Array []}
173126
+ setSearchValue={[Function]}
173127
+ smsTraiDltEnabled={false}
173128
+ testEntitiesTreeData={
173129
+ Array [
172993
173130
  Object {
172994
- "index": 0,
172995
- "isSaved": true,
172996
- "phoneNumber": "",
172997
- "postback": "stop",
172998
- "text": "stop",
172999
- "type": "QUICK_REPLY",
173000
- "url": null,
173131
+ "children": Immutable.List [],
173132
+ "selectable": false,
173133
+ "title": "Groups",
173134
+ "value": "groups-node",
173001
173135
  },
173002
- ],
173003
- "templateHeader": "",
173004
- "templateMessage": "",
173136
+ Object {
173137
+ "children": Immutable.List [],
173138
+ "selectable": false,
173139
+ "title": "Individuals",
173140
+ "value": "customers-node",
173141
+ },
173142
+ ]
173005
173143
  }
173006
- }
173007
- formatMessage={[Function]}
173008
- handleSendTestMessage={[Function]}
173009
- handleTestEntitiesChange={[Function]}
173010
- isFetchingTestCustomers={false}
173011
- isFetchingTestGroups={false}
173012
- isLoadingSenderDetails={false}
173013
- isSendingTestMessage={false}
173014
- onSaveDeliverySettings={[Function]}
173015
- registeredSenderIds={Array []}
173016
- selectedTestEntities={Array []}
173017
- senderDetailsOptions={Array []}
173018
- smsTraiDltEnabled={false}
173019
- testEntitiesTreeData={
173020
- Array [
173021
- Object {
173022
- "children": Immutable.List [],
173023
- "selectable": false,
173024
- "title": "Groups",
173025
- "value": "groups-node",
173026
- },
173027
- Object {
173028
- "children": Immutable.List [],
173029
- "selectable": false,
173030
- "title": "Individuals",
173031
- "value": "customers-node",
173144
+ wecrmAccounts={Array []}
173145
+ />
173146
+ </CapRow>
173147
+ <CapDivider
173148
+ className="panel-divider"
173149
+ />
173150
+ </CapRow>
173151
+ <CapRow
173152
+ className="right-panel"
173153
+ >
173154
+ <PreviewSection
173155
+ unifiedPreviewProps={
173156
+ Object {
173157
+ "channel": "RCS",
173158
+ "content": Object {
173159
+ "suggestions": Array [
173160
+ Object {
173161
+ "index": 0,
173162
+ "isSaved": true,
173163
+ "phoneNumber": "",
173164
+ "postback": "stop",
173165
+ "text": "stop",
173166
+ "type": "QUICK_REPLY",
173167
+ "url": null,
173168
+ },
173169
+ ],
173170
+ "templateHeader": "",
173171
+ "templateMessage": "",
173032
173172
  },
173033
- ]
173173
+ "device": "desktop",
173174
+ "error": null,
173175
+ "formatMessage": [Function],
173176
+ "isUpdating": false,
173177
+ "lastModified": undefined,
173178
+ "onDeviceChange": [Function],
173179
+ "selectedCustomer": null,
173180
+ "showDeviceToggle": true,
173181
+ "updatedByName": undefined,
173182
+ }
173034
173183
  }
173035
- wecrmAccounts={Array []}
173036
173184
  />
173037
173185
  </CapRow>
173038
- <CapDivider
173039
- className="panel-divider"
173040
- />
173041
- </CapRow>
173042
- <CapRow
173043
- className="right-panel"
173044
- >
173045
- <PreviewSection
173046
- unifiedPreviewProps={
173047
- Object {
173048
- "channel": "RCS",
173049
- "content": Object {
173050
- "suggestions": Array [
173051
- Object {
173052
- "index": 0,
173053
- "isSaved": true,
173054
- "phoneNumber": "",
173055
- "postback": "stop",
173056
- "text": "stop",
173057
- "type": "QUICK_REPLY",
173058
- "url": null,
173059
- },
173060
- ],
173061
- "templateHeader": "",
173062
- "templateMessage": "",
173063
- },
173064
- "device": "desktop",
173065
- "error": null,
173066
- "formatMessage": [Function],
173067
- "isUpdating": false,
173068
- "lastModified": undefined,
173069
- "onDeviceChange": [Function],
173070
- "selectedCustomer": null,
173071
- "showDeviceToggle": true,
173072
- "updatedByName": undefined,
173073
- }
173074
- }
173075
- />
173076
173186
  </CapRow>
173077
173187
  </CapRow>
173078
- </CapRow>
173188
+ </CapSpin>
173079
173189
  }
173080
173190
  handleClose={[Function]}
173081
173191
  header={
@@ -184327,6 +184437,7 @@ new message content.",
184327
184437
  <InjectIntl(TestAndPreviewSlidebox)
184328
184438
  actions={
184329
184439
  Object {
184440
+ "addTestCustomer": [Function],
184330
184441
  "clearCustomerSearchState": [Function],
184331
184442
  "clearPrefilledValues": [Function],
184332
184443
  "clearPreviewErrors": [Function],
@@ -184394,6 +184505,7 @@ new message content.",
184394
184505
  <TestAndPreviewSlidebox
184395
184506
  actions={
184396
184507
  Object {
184508
+ "addTestCustomer": [Function],
184397
184509
  "clearCustomerSearchState": [Function],
184398
184510
  "clearPrefilledValues": [Function],
184399
184511
  "clearPreviewErrors": [Function],
@@ -186710,6 +186822,7 @@ new message content.",
186710
186822
  <CommonTestAndPreview
186711
186823
  actions={
186712
186824
  Object {
186825
+ "addTestCustomer": [Function],
186713
186826
  "clearCustomerSearchState": [Function],
186714
186827
  "clearPrefilledValues": [Function],
186715
186828
  "clearPreviewErrors": [Function],
@@ -189043,130 +189156,138 @@ new message content.",
189043
189156
  closeIconSize="m"
189044
189157
  closeIconType="close"
189045
189158
  content={
189046
- <CapRow
189047
- className="test-preview-container"
189159
+ <CapSpin
189160
+ className="common-test-preview-lookup-spin "
189161
+ spinning={false}
189048
189162
  >
189049
189163
  <CapRow
189050
- className="test-and-preview-panels"
189164
+ className="test-preview-container"
189051
189165
  >
189052
189166
  <CapRow
189053
- className="left-panel"
189167
+ className="test-and-preview-panels"
189054
189168
  >
189055
- <LeftPanelContent
189056
- customers={Immutable.List []}
189057
- enableCustomerSearch={true}
189058
- enableTagExtraction={true}
189059
- error7078Message={null}
189060
- extractedTags={Immutable.List []}
189061
- handleClearSelection={[Function]}
189062
- handleCustomerSelect={[Function]}
189063
- handleExtractTags={[Function]}
189064
- handleSearchCustomer={[Function]}
189065
- isExtractingTags={false}
189066
- isSearchingCustomer={false}
189067
- renderCustomValuesEditor={[Function]}
189068
- selectedCustomer={null}
189069
- tagsExtracted={false}
189070
- />
189071
- <CapDivider
189072
- className="panel-divider"
189073
- />
189074
189169
  <CapRow
189075
- className="panel-section send-test-section"
189170
+ className="left-panel"
189076
189171
  >
189077
- <SendTestMessage
189078
- channel="RCS"
189079
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
189080
- deliverySettings={Object {}}
189081
- formData={
189082
- Object {
189083
- "suggestions": Array [
189172
+ <LeftPanelContent
189173
+ customers={Immutable.List []}
189174
+ enableCustomerSearch={true}
189175
+ enableTagExtraction={true}
189176
+ error7078Message={null}
189177
+ extractedTags={Immutable.List []}
189178
+ handleClearSelection={[Function]}
189179
+ handleCustomerSelect={[Function]}
189180
+ handleExtractTags={[Function]}
189181
+ handleSearchCustomer={[Function]}
189182
+ isExtractingTags={false}
189183
+ isSearchingCustomer={false}
189184
+ renderCustomValuesEditor={[Function]}
189185
+ selectedCustomer={null}
189186
+ tagsExtracted={false}
189187
+ />
189188
+ <CapDivider
189189
+ className="panel-divider"
189190
+ />
189191
+ <CapRow
189192
+ className="panel-section send-test-section"
189193
+ >
189194
+ <SendTestMessage
189195
+ channel="RCS"
189196
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
189197
+ deliverySettings={Object {}}
189198
+ formData={
189199
+ Object {
189200
+ "suggestions": Array [
189201
+ Object {
189202
+ "index": 0,
189203
+ "isSaved": true,
189204
+ "phoneNumber": "",
189205
+ "postback": "stop",
189206
+ "text": "stop",
189207
+ "type": "QUICK_REPLY",
189208
+ "url": null,
189209
+ },
189210
+ ],
189211
+ "templateHeader": "",
189212
+ "templateMessage": "",
189213
+ }
189214
+ }
189215
+ formatMessage={[Function]}
189216
+ handleSendTestMessage={[Function]}
189217
+ handleTestEntitiesChange={[Function]}
189218
+ isFetchingTestCustomers={false}
189219
+ isFetchingTestGroups={false}
189220
+ isLoadingSenderDetails={false}
189221
+ isSendingTestMessage={false}
189222
+ onSaveDeliverySettings={[Function]}
189223
+ registeredSenderIds={Array []}
189224
+ renderAddTestCustomerButton={[Function]}
189225
+ searchValue=""
189226
+ selectedTestEntities={Array []}
189227
+ senderDetailsOptions={Array []}
189228
+ setSearchValue={[Function]}
189229
+ smsTraiDltEnabled={false}
189230
+ testEntitiesTreeData={
189231
+ Array [
189084
189232
  Object {
189085
- "index": 0,
189086
- "isSaved": true,
189087
- "phoneNumber": "",
189088
- "postback": "stop",
189089
- "text": "stop",
189090
- "type": "QUICK_REPLY",
189091
- "url": null,
189233
+ "children": Immutable.List [],
189234
+ "selectable": false,
189235
+ "title": "Groups",
189236
+ "value": "groups-node",
189092
189237
  },
189093
- ],
189094
- "templateHeader": "",
189095
- "templateMessage": "",
189238
+ Object {
189239
+ "children": Immutable.List [],
189240
+ "selectable": false,
189241
+ "title": "Individuals",
189242
+ "value": "customers-node",
189243
+ },
189244
+ ]
189096
189245
  }
189097
- }
189098
- formatMessage={[Function]}
189099
- handleSendTestMessage={[Function]}
189100
- handleTestEntitiesChange={[Function]}
189101
- isFetchingTestCustomers={false}
189102
- isFetchingTestGroups={false}
189103
- isLoadingSenderDetails={false}
189104
- isSendingTestMessage={false}
189105
- onSaveDeliverySettings={[Function]}
189106
- registeredSenderIds={Array []}
189107
- selectedTestEntities={Array []}
189108
- senderDetailsOptions={Array []}
189109
- smsTraiDltEnabled={false}
189110
- testEntitiesTreeData={
189111
- Array [
189112
- Object {
189113
- "children": Immutable.List [],
189114
- "selectable": false,
189115
- "title": "Groups",
189116
- "value": "groups-node",
189117
- },
189118
- Object {
189119
- "children": Immutable.List [],
189120
- "selectable": false,
189121
- "title": "Individuals",
189122
- "value": "customers-node",
189246
+ wecrmAccounts={Array []}
189247
+ />
189248
+ </CapRow>
189249
+ <CapDivider
189250
+ className="panel-divider"
189251
+ />
189252
+ </CapRow>
189253
+ <CapRow
189254
+ className="right-panel"
189255
+ >
189256
+ <PreviewSection
189257
+ unifiedPreviewProps={
189258
+ Object {
189259
+ "channel": "RCS",
189260
+ "content": Object {
189261
+ "suggestions": Array [
189262
+ Object {
189263
+ "index": 0,
189264
+ "isSaved": true,
189265
+ "phoneNumber": "",
189266
+ "postback": "stop",
189267
+ "text": "stop",
189268
+ "type": "QUICK_REPLY",
189269
+ "url": null,
189270
+ },
189271
+ ],
189272
+ "templateHeader": "",
189273
+ "templateMessage": "",
189123
189274
  },
189124
- ]
189275
+ "device": "desktop",
189276
+ "error": null,
189277
+ "formatMessage": [Function],
189278
+ "isUpdating": false,
189279
+ "lastModified": undefined,
189280
+ "onDeviceChange": [Function],
189281
+ "selectedCustomer": null,
189282
+ "showDeviceToggle": true,
189283
+ "updatedByName": undefined,
189284
+ }
189125
189285
  }
189126
- wecrmAccounts={Array []}
189127
189286
  />
189128
189287
  </CapRow>
189129
- <CapDivider
189130
- className="panel-divider"
189131
- />
189132
- </CapRow>
189133
- <CapRow
189134
- className="right-panel"
189135
- >
189136
- <PreviewSection
189137
- unifiedPreviewProps={
189138
- Object {
189139
- "channel": "RCS",
189140
- "content": Object {
189141
- "suggestions": Array [
189142
- Object {
189143
- "index": 0,
189144
- "isSaved": true,
189145
- "phoneNumber": "",
189146
- "postback": "stop",
189147
- "text": "stop",
189148
- "type": "QUICK_REPLY",
189149
- "url": null,
189150
- },
189151
- ],
189152
- "templateHeader": "",
189153
- "templateMessage": "",
189154
- },
189155
- "device": "desktop",
189156
- "error": null,
189157
- "formatMessage": [Function],
189158
- "isUpdating": false,
189159
- "lastModified": undefined,
189160
- "onDeviceChange": [Function],
189161
- "selectedCustomer": null,
189162
- "showDeviceToggle": true,
189163
- "updatedByName": undefined,
189164
- }
189165
- }
189166
- />
189167
189288
  </CapRow>
189168
189289
  </CapRow>
189169
- </CapRow>
189290
+ </CapSpin>
189170
189291
  }
189171
189292
  handleClose={[Function]}
189172
189293
  header={
@@ -196940,6 +197061,7 @@ new message content.",
196940
197061
  <InjectIntl(TestAndPreviewSlidebox)
196941
197062
  actions={
196942
197063
  Object {
197064
+ "addTestCustomer": [Function],
196943
197065
  "clearCustomerSearchState": [Function],
196944
197066
  "clearPrefilledValues": [Function],
196945
197067
  "clearPreviewErrors": [Function],
@@ -196996,6 +197118,7 @@ new message content.",
196996
197118
  <TestAndPreviewSlidebox
196997
197119
  actions={
196998
197120
  Object {
197121
+ "addTestCustomer": [Function],
196999
197122
  "clearCustomerSearchState": [Function],
197000
197123
  "clearPrefilledValues": [Function],
197001
197124
  "clearPreviewErrors": [Function],
@@ -199301,6 +199424,7 @@ new message content.",
199301
199424
  <CommonTestAndPreview
199302
199425
  actions={
199303
199426
  Object {
199427
+ "addTestCustomer": [Function],
199304
199428
  "clearCustomerSearchState": [Function],
199305
199429
  "clearPrefilledValues": [Function],
199306
199430
  "clearPreviewErrors": [Function],
@@ -201623,108 +201747,116 @@ new message content.",
201623
201747
  closeIconSize="m"
201624
201748
  closeIconType="close"
201625
201749
  content={
201626
- <CapRow
201627
- className="test-preview-container"
201750
+ <CapSpin
201751
+ className="common-test-preview-lookup-spin "
201752
+ spinning={false}
201628
201753
  >
201629
201754
  <CapRow
201630
- className="test-and-preview-panels"
201755
+ className="test-preview-container"
201631
201756
  >
201632
201757
  <CapRow
201633
- className="left-panel"
201758
+ className="test-and-preview-panels"
201634
201759
  >
201635
- <LeftPanelContent
201636
- customers={Immutable.List []}
201637
- enableCustomerSearch={true}
201638
- enableTagExtraction={true}
201639
- error7078Message={null}
201640
- extractedTags={Immutable.List []}
201641
- handleClearSelection={[Function]}
201642
- handleCustomerSelect={[Function]}
201643
- handleExtractTags={[Function]}
201644
- handleSearchCustomer={[Function]}
201645
- isExtractingTags={false}
201646
- isSearchingCustomer={false}
201647
- renderCustomValuesEditor={[Function]}
201648
- selectedCustomer={null}
201649
- tagsExtracted={false}
201650
- />
201651
- <CapDivider
201652
- className="panel-divider"
201653
- />
201654
201760
  <CapRow
201655
- className="panel-section send-test-section"
201761
+ className="left-panel"
201656
201762
  >
201657
- <SendTestMessage
201658
- channel="RCS"
201659
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\"}"
201660
- deliverySettings={Object {}}
201661
- formData={
201662
- Object {
201663
- "templateHeader": "",
201664
- "templateMessage": "",
201665
- }
201666
- }
201667
- formatMessage={[Function]}
201668
- handleSendTestMessage={[Function]}
201669
- handleTestEntitiesChange={[Function]}
201670
- isFetchingTestCustomers={false}
201671
- isFetchingTestGroups={false}
201672
- isLoadingSenderDetails={false}
201673
- isSendingTestMessage={false}
201674
- onSaveDeliverySettings={[Function]}
201675
- registeredSenderIds={Array []}
201676
- selectedTestEntities={Array []}
201677
- senderDetailsOptions={Array []}
201678
- smsTraiDltEnabled={false}
201679
- testEntitiesTreeData={
201680
- Array [
201681
- Object {
201682
- "children": Immutable.List [],
201683
- "selectable": false,
201684
- "title": "Groups",
201685
- "value": "groups-node",
201686
- },
201763
+ <LeftPanelContent
201764
+ customers={Immutable.List []}
201765
+ enableCustomerSearch={true}
201766
+ enableTagExtraction={true}
201767
+ error7078Message={null}
201768
+ extractedTags={Immutable.List []}
201769
+ handleClearSelection={[Function]}
201770
+ handleCustomerSelect={[Function]}
201771
+ handleExtractTags={[Function]}
201772
+ handleSearchCustomer={[Function]}
201773
+ isExtractingTags={false}
201774
+ isSearchingCustomer={false}
201775
+ renderCustomValuesEditor={[Function]}
201776
+ selectedCustomer={null}
201777
+ tagsExtracted={false}
201778
+ />
201779
+ <CapDivider
201780
+ className="panel-divider"
201781
+ />
201782
+ <CapRow
201783
+ className="panel-section send-test-section"
201784
+ >
201785
+ <SendTestMessage
201786
+ channel="RCS"
201787
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\"}"
201788
+ deliverySettings={Object {}}
201789
+ formData={
201687
201790
  Object {
201688
- "children": Immutable.List [],
201689
- "selectable": false,
201690
- "title": "Individuals",
201691
- "value": "customers-node",
201791
+ "templateHeader": "",
201792
+ "templateMessage": "",
201793
+ }
201794
+ }
201795
+ formatMessage={[Function]}
201796
+ handleSendTestMessage={[Function]}
201797
+ handleTestEntitiesChange={[Function]}
201798
+ isFetchingTestCustomers={false}
201799
+ isFetchingTestGroups={false}
201800
+ isLoadingSenderDetails={false}
201801
+ isSendingTestMessage={false}
201802
+ onSaveDeliverySettings={[Function]}
201803
+ registeredSenderIds={Array []}
201804
+ renderAddTestCustomerButton={[Function]}
201805
+ searchValue=""
201806
+ selectedTestEntities={Array []}
201807
+ senderDetailsOptions={Array []}
201808
+ setSearchValue={[Function]}
201809
+ smsTraiDltEnabled={false}
201810
+ testEntitiesTreeData={
201811
+ Array [
201812
+ Object {
201813
+ "children": Immutable.List [],
201814
+ "selectable": false,
201815
+ "title": "Groups",
201816
+ "value": "groups-node",
201817
+ },
201818
+ Object {
201819
+ "children": Immutable.List [],
201820
+ "selectable": false,
201821
+ "title": "Individuals",
201822
+ "value": "customers-node",
201823
+ },
201824
+ ]
201825
+ }
201826
+ wecrmAccounts={Array []}
201827
+ />
201828
+ </CapRow>
201829
+ <CapDivider
201830
+ className="panel-divider"
201831
+ />
201832
+ </CapRow>
201833
+ <CapRow
201834
+ className="right-panel"
201835
+ >
201836
+ <PreviewSection
201837
+ unifiedPreviewProps={
201838
+ Object {
201839
+ "channel": "RCS",
201840
+ "content": Object {
201841
+ "templateHeader": "",
201842
+ "templateMessage": "",
201692
201843
  },
201693
- ]
201844
+ "device": "desktop",
201845
+ "error": null,
201846
+ "formatMessage": [Function],
201847
+ "isUpdating": false,
201848
+ "lastModified": undefined,
201849
+ "onDeviceChange": [Function],
201850
+ "selectedCustomer": null,
201851
+ "showDeviceToggle": true,
201852
+ "updatedByName": undefined,
201853
+ }
201694
201854
  }
201695
- wecrmAccounts={Array []}
201696
201855
  />
201697
201856
  </CapRow>
201698
- <CapDivider
201699
- className="panel-divider"
201700
- />
201701
- </CapRow>
201702
- <CapRow
201703
- className="right-panel"
201704
- >
201705
- <PreviewSection
201706
- unifiedPreviewProps={
201707
- Object {
201708
- "channel": "RCS",
201709
- "content": Object {
201710
- "templateHeader": "",
201711
- "templateMessage": "",
201712
- },
201713
- "device": "desktop",
201714
- "error": null,
201715
- "formatMessage": [Function],
201716
- "isUpdating": false,
201717
- "lastModified": undefined,
201718
- "onDeviceChange": [Function],
201719
- "selectedCustomer": null,
201720
- "showDeviceToggle": true,
201721
- "updatedByName": undefined,
201722
- }
201723
- }
201724
- />
201725
201857
  </CapRow>
201726
201858
  </CapRow>
201727
- </CapRow>
201859
+ </CapSpin>
201728
201860
  }
201729
201861
  handleClose={[Function]}
201730
201862
  header={