@capillarytech/creatives-library 7.17.179 → 7.17.180-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +28 -28
- package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +4 -4
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +8 -8
- package/v2Containers/Templates/index.js +2 -2
package/package.json
CHANGED
|
@@ -20387,7 +20387,7 @@ new message content.",
|
|
|
20387
20387
|
}
|
|
20388
20388
|
}
|
|
20389
20389
|
activeKey="text"
|
|
20390
|
-
className="withStyles__StyledComponent-sc-
|
|
20390
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 ixIzqM"
|
|
20391
20391
|
content={
|
|
20392
20392
|
Object {
|
|
20393
20393
|
"isError": true,
|
|
@@ -22780,7 +22780,7 @@ new message content.",
|
|
|
22780
22780
|
}
|
|
22781
22781
|
>
|
|
22782
22782
|
<div
|
|
22783
|
-
className="withStyles__StyledComponent-sc-
|
|
22783
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 ixIzqM"
|
|
22784
22784
|
>
|
|
22785
22785
|
<_class
|
|
22786
22786
|
className="text-template-title"
|
|
@@ -23518,7 +23518,7 @@ new message content.",
|
|
|
23518
23518
|
>
|
|
23519
23519
|
<InjectIntl(Wrapper)
|
|
23520
23520
|
centered={true}
|
|
23521
|
-
className="withStyles__StyledComponent-sc-
|
|
23521
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
23522
23522
|
onCancel={[Function]}
|
|
23523
23523
|
onOk={[Function]}
|
|
23524
23524
|
visible={false}
|
|
@@ -23526,7 +23526,7 @@ new message content.",
|
|
|
23526
23526
|
>
|
|
23527
23527
|
<Wrapper
|
|
23528
23528
|
centered={true}
|
|
23529
|
-
className="withStyles__StyledComponent-sc-
|
|
23529
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
23530
23530
|
intl={
|
|
23531
23531
|
Object {
|
|
23532
23532
|
"defaultFormats": Object {},
|
|
@@ -25785,7 +25785,7 @@ new message content.",
|
|
|
25785
25785
|
>
|
|
25786
25786
|
<CapModal
|
|
25787
25787
|
centered={true}
|
|
25788
|
-
className="withStyles__StyledComponent-sc-
|
|
25788
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
25789
25789
|
intl={
|
|
25790
25790
|
Object {
|
|
25791
25791
|
"defaultFormats": Object {},
|
|
@@ -28044,7 +28044,7 @@ new message content.",
|
|
|
28044
28044
|
>
|
|
28045
28045
|
<Modal
|
|
28046
28046
|
centered={true}
|
|
28047
|
-
className="cap-modal-v2 withStyles__StyledComponent-sc-
|
|
28047
|
+
className="cap-modal-v2 withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
28048
28048
|
confirmLoading={false}
|
|
28049
28049
|
footer={
|
|
28050
28050
|
<div
|
|
@@ -30320,10 +30320,10 @@ new message content.",
|
|
|
30320
30320
|
transitionName="zoom"
|
|
30321
30321
|
visible={false}
|
|
30322
30322
|
width="450px"
|
|
30323
|
-
wrapClassName="cap-modal-v2-wrap withStyles__StyledComponent-sc-
|
|
30323
|
+
wrapClassName="cap-modal-v2-wrap withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
30324
30324
|
>
|
|
30325
30325
|
<Component
|
|
30326
|
-
className="cap-modal-v2 withStyles__StyledComponent-sc-
|
|
30326
|
+
className="cap-modal-v2 withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
30327
30327
|
closeIcon={
|
|
30328
30328
|
<span
|
|
30329
30329
|
className="ant-modal-close-x"
|
|
@@ -32611,7 +32611,7 @@ new message content.",
|
|
|
32611
32611
|
transitionName="zoom"
|
|
32612
32612
|
visible={false}
|
|
32613
32613
|
width="450px"
|
|
32614
|
-
wrapClassName="ant-modal-centered cap-modal-v2-wrap withStyles__StyledComponent-sc-
|
|
32614
|
+
wrapClassName="ant-modal-centered cap-modal-v2-wrap withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
32615
32615
|
>
|
|
32616
32616
|
<PortalWrapper
|
|
32617
32617
|
visible={false}
|
|
@@ -60300,7 +60300,7 @@ new message content.",
|
|
|
60300
60300
|
}
|
|
60301
60301
|
}
|
|
60302
60302
|
activeKey="flex"
|
|
60303
|
-
className="withStyles__StyledComponent-sc-
|
|
60303
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 ixIzqM"
|
|
60304
60304
|
content={
|
|
60305
60305
|
Object {
|
|
60306
60306
|
"isError": true,
|
|
@@ -66384,7 +66384,7 @@ new message content.",
|
|
|
66384
66384
|
}
|
|
66385
66385
|
}
|
|
66386
66386
|
activeKey="flex"
|
|
66387
|
-
className="withStyles__StyledComponent-sc-
|
|
66387
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
66388
66388
|
content={
|
|
66389
66389
|
Object {
|
|
66390
66390
|
"isError": true,
|
|
@@ -68969,7 +68969,7 @@ new message content.",
|
|
|
68969
68969
|
}
|
|
68970
68970
|
>
|
|
68971
68971
|
<div
|
|
68972
|
-
className="withStyles__StyledComponent-sc-
|
|
68972
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
68973
68973
|
>
|
|
68974
68974
|
<CapHeader
|
|
68975
68975
|
className="card-message-header"
|
|
@@ -70098,7 +70098,7 @@ new message content.",
|
|
|
70098
70098
|
}
|
|
70099
70099
|
activeIndex={0}
|
|
70100
70100
|
activeKey="flex"
|
|
70101
|
-
className="withStyles__StyledComponent-sc-
|
|
70101
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
70102
70102
|
content={
|
|
70103
70103
|
Object {
|
|
70104
70104
|
"aspectRatio": "",
|
|
@@ -73284,7 +73284,7 @@ new message content.",
|
|
|
73284
73284
|
}
|
|
73285
73285
|
activeIndex={0}
|
|
73286
73286
|
activeKey="flex"
|
|
73287
|
-
className="withStyles__StyledComponent-sc-
|
|
73287
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
73288
73288
|
content={
|
|
73289
73289
|
Object {
|
|
73290
73290
|
"aspectRatio": "",
|
|
@@ -76326,7 +76326,7 @@ new message content.",
|
|
|
76326
76326
|
}
|
|
76327
76327
|
activeIndex={0}
|
|
76328
76328
|
activeKey="flex"
|
|
76329
|
-
className="withStyles__StyledComponent-sc-
|
|
76329
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
76330
76330
|
content={
|
|
76331
76331
|
Object {
|
|
76332
76332
|
"aspectRatio": "",
|
|
@@ -79379,7 +79379,7 @@ new message content.",
|
|
|
79379
79379
|
}
|
|
79380
79380
|
activeIndex={0}
|
|
79381
79381
|
activeKey="flex"
|
|
79382
|
-
className="withStyles__StyledComponent-sc-
|
|
79382
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
79383
79383
|
content={
|
|
79384
79384
|
Object {
|
|
79385
79385
|
"aspectRatio": "",
|
|
@@ -85194,7 +85194,7 @@ new message content.",
|
|
|
85194
85194
|
}
|
|
85195
85195
|
activeIndex={0}
|
|
85196
85196
|
activeKey="flex"
|
|
85197
|
-
className="withStyles__StyledComponent-sc-
|
|
85197
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
85198
85198
|
content={
|
|
85199
85199
|
Object {
|
|
85200
85200
|
"aspectRatio": "",
|
|
@@ -88352,7 +88352,7 @@ new message content.",
|
|
|
88352
88352
|
}
|
|
88353
88353
|
activeIndex={0}
|
|
88354
88354
|
activeKey="flex"
|
|
88355
|
-
className="withStyles__StyledComponent-sc-
|
|
88355
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
88356
88356
|
content={
|
|
88357
88357
|
Object {
|
|
88358
88358
|
"aspectRatio": "",
|
|
@@ -91441,7 +91441,7 @@ new message content.",
|
|
|
91441
91441
|
}
|
|
91442
91442
|
activeIndex={0}
|
|
91443
91443
|
activeKey="flex"
|
|
91444
|
-
className="withStyles__StyledComponent-sc-
|
|
91444
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
91445
91445
|
content={
|
|
91446
91446
|
Object {
|
|
91447
91447
|
"aspectRatio": "",
|
|
@@ -94429,7 +94429,7 @@ new message content.",
|
|
|
94429
94429
|
}
|
|
94430
94430
|
activeIndex={0}
|
|
94431
94431
|
activeKey="flex"
|
|
94432
|
-
className="withStyles__StyledComponent-sc-
|
|
94432
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
94433
94433
|
content={
|
|
94434
94434
|
Object {
|
|
94435
94435
|
"aspectRatio": "",
|
|
@@ -97177,7 +97177,7 @@ new message content.",
|
|
|
97177
97177
|
}
|
|
97178
97178
|
activeIndex={0}
|
|
97179
97179
|
activeKey="flex"
|
|
97180
|
-
className="withStyles__StyledComponent-sc-
|
|
97180
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 cGThrd"
|
|
97181
97181
|
content={
|
|
97182
97182
|
Object {
|
|
97183
97183
|
"aspectRatio": "",
|
|
@@ -100172,7 +100172,7 @@ new message content.",
|
|
|
100172
100172
|
>
|
|
100173
100173
|
<InjectIntl(Wrapper)
|
|
100174
100174
|
centered={true}
|
|
100175
|
-
className="withStyles__StyledComponent-sc-
|
|
100175
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
100176
100176
|
onCancel={[Function]}
|
|
100177
100177
|
onOk={[Function]}
|
|
100178
100178
|
visible={false}
|
|
@@ -100180,7 +100180,7 @@ new message content.",
|
|
|
100180
100180
|
>
|
|
100181
100181
|
<Wrapper
|
|
100182
100182
|
centered={true}
|
|
100183
|
-
className="withStyles__StyledComponent-sc-
|
|
100183
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
100184
100184
|
intl={
|
|
100185
100185
|
Object {
|
|
100186
100186
|
"defaultFormats": Object {},
|
|
@@ -102439,7 +102439,7 @@ new message content.",
|
|
|
102439
102439
|
>
|
|
102440
102440
|
<CapModal
|
|
102441
102441
|
centered={true}
|
|
102442
|
-
className="withStyles__StyledComponent-sc-
|
|
102442
|
+
className="withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
102443
102443
|
intl={
|
|
102444
102444
|
Object {
|
|
102445
102445
|
"defaultFormats": Object {},
|
|
@@ -104698,7 +104698,7 @@ new message content.",
|
|
|
104698
104698
|
>
|
|
104699
104699
|
<Modal
|
|
104700
104700
|
centered={true}
|
|
104701
|
-
className="cap-modal-v2 withStyles__StyledComponent-sc-
|
|
104701
|
+
className="cap-modal-v2 withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
104702
104702
|
confirmLoading={false}
|
|
104703
104703
|
footer={
|
|
104704
104704
|
<div
|
|
@@ -106974,10 +106974,10 @@ new message content.",
|
|
|
106974
106974
|
transitionName="zoom"
|
|
106975
106975
|
visible={false}
|
|
106976
106976
|
width="450px"
|
|
106977
|
-
wrapClassName="cap-modal-v2-wrap withStyles__StyledComponent-sc-
|
|
106977
|
+
wrapClassName="cap-modal-v2-wrap withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
106978
106978
|
>
|
|
106979
106979
|
<Component
|
|
106980
|
-
className="cap-modal-v2 withStyles__StyledComponent-sc-
|
|
106980
|
+
className="cap-modal-v2 withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
106981
106981
|
closeIcon={
|
|
106982
106982
|
<span
|
|
106983
106983
|
className="ant-modal-close-x"
|
|
@@ -109265,7 +109265,7 @@ new message content.",
|
|
|
109265
109265
|
transitionName="zoom"
|
|
109266
109266
|
visible={false}
|
|
109267
109267
|
width="450px"
|
|
109268
|
-
wrapClassName="ant-modal-centered cap-modal-v2-wrap withStyles__StyledComponent-sc-
|
|
109268
|
+
wrapClassName="ant-modal-centered cap-modal-v2-wrap withStyles__StyledComponent-sc-18wig6o-0 hOOaVY"
|
|
109269
109269
|
>
|
|
109270
109270
|
<PortalWrapper
|
|
109271
109271
|
visible={false}
|
|
@@ -3013,7 +3013,7 @@ new message content.",
|
|
|
3013
3013
|
key=".2"
|
|
3014
3014
|
>
|
|
3015
3015
|
<div
|
|
3016
|
-
className="Create__SMSTraiFooter-sc-
|
|
3016
|
+
className="Create__SMSTraiFooter-sc-7ip2ax-0 cEyOCB"
|
|
3017
3017
|
>
|
|
3018
3018
|
<CapButton
|
|
3019
3019
|
className="done-button"
|
|
@@ -6057,7 +6057,7 @@ new message content.",
|
|
|
6057
6057
|
key=".2"
|
|
6058
6058
|
>
|
|
6059
6059
|
<div
|
|
6060
|
-
className="Create__SMSTraiFooter-sc-
|
|
6060
|
+
className="Create__SMSTraiFooter-sc-7ip2ax-0 cEyOCB"
|
|
6061
6061
|
>
|
|
6062
6062
|
<CapButton
|
|
6063
6063
|
className="done-button"
|
|
@@ -9077,7 +9077,7 @@ new message content.",
|
|
|
9077
9077
|
key=".2"
|
|
9078
9078
|
>
|
|
9079
9079
|
<div
|
|
9080
|
-
className="Create__SMSTraiFooter-sc-
|
|
9080
|
+
className="Create__SMSTraiFooter-sc-7ip2ax-0 cEyOCB"
|
|
9081
9081
|
>
|
|
9082
9082
|
<CapButton
|
|
9083
9083
|
className="done-button"
|
|
@@ -12138,7 +12138,7 @@ new message content.",
|
|
|
12138
12138
|
key=".2"
|
|
12139
12139
|
>
|
|
12140
12140
|
<div
|
|
12141
|
-
className="Create__SMSTraiFooter-sc-
|
|
12141
|
+
className="Create__SMSTraiFooter-sc-7ip2ax-0 cEyOCB"
|
|
12142
12142
|
>
|
|
12143
12143
|
<CapButton
|
|
12144
12144
|
className="done-button"
|
|
@@ -3059,7 +3059,7 @@ FREE GIFTS-
|
|
|
3059
3059
|
key=".0"
|
|
3060
3060
|
>
|
|
3061
3061
|
<div
|
|
3062
|
-
className="Edit__TraiEditTemplateDetails-
|
|
3062
|
+
className="Edit__TraiEditTemplateDetails-jwsec7-1 fDWEGe"
|
|
3063
3063
|
>
|
|
3064
3064
|
<CapLabel__CapLabelInline
|
|
3065
3065
|
type="label1"
|
|
@@ -7383,7 +7383,7 @@ new message content.",
|
|
|
7383
7383
|
</CapRow>
|
|
7384
7384
|
<Edit__SMSTraiFooter>
|
|
7385
7385
|
<div
|
|
7386
|
-
className="Edit__SMSTraiFooter-
|
|
7386
|
+
className="Edit__SMSTraiFooter-jwsec7-0 eHIdLI"
|
|
7387
7387
|
>
|
|
7388
7388
|
<CapButton
|
|
7389
7389
|
className="create-msg"
|
|
@@ -10389,7 +10389,7 @@ FREE GIFTS-
|
|
|
10389
10389
|
key=".0"
|
|
10390
10390
|
>
|
|
10391
10391
|
<div
|
|
10392
|
-
className="Edit__TraiEditTemplateDetails-
|
|
10392
|
+
className="Edit__TraiEditTemplateDetails-jwsec7-1 fDWEGe"
|
|
10393
10393
|
>
|
|
10394
10394
|
<CapLabel__CapLabelInline
|
|
10395
10395
|
type="label1"
|
|
@@ -14713,7 +14713,7 @@ new message content.",
|
|
|
14713
14713
|
</CapRow>
|
|
14714
14714
|
<Edit__SMSTraiFooter>
|
|
14715
14715
|
<div
|
|
14716
|
-
className="Edit__SMSTraiFooter-
|
|
14716
|
+
className="Edit__SMSTraiFooter-jwsec7-0 eHIdLI"
|
|
14717
14717
|
>
|
|
14718
14718
|
<CapButton
|
|
14719
14719
|
className="create-msg"
|
|
@@ -18139,7 +18139,7 @@ FREE GIFTS-
|
|
|
18139
18139
|
key=".0"
|
|
18140
18140
|
>
|
|
18141
18141
|
<div
|
|
18142
|
-
className="Edit__TraiEditTemplateDetails-
|
|
18142
|
+
className="Edit__TraiEditTemplateDetails-jwsec7-1 fDWEGe"
|
|
18143
18143
|
>
|
|
18144
18144
|
<CapLabel__CapLabelInline
|
|
18145
18145
|
type="label1"
|
|
@@ -22451,7 +22451,7 @@ new message content.",
|
|
|
22451
22451
|
</CapRow>
|
|
22452
22452
|
<Edit__SMSTraiFooter>
|
|
22453
22453
|
<div
|
|
22454
|
-
className="Edit__SMSTraiFooter-
|
|
22454
|
+
className="Edit__SMSTraiFooter-jwsec7-0 eHIdLI"
|
|
22455
22455
|
>
|
|
22456
22456
|
<CapButton
|
|
22457
22457
|
className="create-msg"
|
|
@@ -25998,7 +25998,7 @@ FREE GIFTS-
|
|
|
25998
25998
|
key=".0"
|
|
25999
25999
|
>
|
|
26000
26000
|
<div
|
|
26001
|
-
className="Edit__TraiEditTemplateDetails-
|
|
26001
|
+
className="Edit__TraiEditTemplateDetails-jwsec7-1 fDWEGe"
|
|
26002
26002
|
>
|
|
26003
26003
|
<CapLabel__CapLabelInline
|
|
26004
26004
|
type="label1"
|
|
@@ -30322,7 +30322,7 @@ new message content.",
|
|
|
30322
30322
|
</CapRow>
|
|
30323
30323
|
<Edit__SMSTraiFooter>
|
|
30324
30324
|
<div
|
|
30325
|
-
className="Edit__SMSTraiFooter-
|
|
30325
|
+
className="Edit__SMSTraiFooter-jwsec7-0 eHIdLI"
|
|
30326
30326
|
>
|
|
30327
30327
|
<CapButton
|
|
30328
30328
|
className="create-msg"
|
|
@@ -624,7 +624,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
624
624
|
} = configs || {};
|
|
625
625
|
if (weCrmChannels.includes(selectedChannel)) {
|
|
626
626
|
if ([WHATSAPP_LOWERCASE, ZALO_LOWERCASE].includes(selectedChannel)) {
|
|
627
|
-
if (hostName === '') {
|
|
627
|
+
if (hostName === '' && this.props.Templates?.senderDetails?.hostName === '') {
|
|
628
628
|
return;
|
|
629
629
|
}
|
|
630
630
|
|
|
@@ -634,7 +634,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
634
634
|
paramsDefault.username = name;
|
|
635
635
|
paramsDefault.oa_id = sourceAccountIdentifier;
|
|
636
636
|
paramsDefault.token = token;
|
|
637
|
-
paramsDefault.host = hostName || this.state.hostName || this.props.Templates?.senderDetails?.hostName;
|
|
637
|
+
paramsDefault.host = hostName || this.state.hostName || this.props.Templates?.senderDetails?.hostName || this.props.Templates?.selectedZaloAccount?.hostName;
|
|
638
638
|
}
|
|
639
639
|
} else {
|
|
640
640
|
paramsDefault.wecrmId = wecrm_app_id;
|