@capillarytech/creatives-library 8.0.59-alpha.6 → 8.0.59
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.
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
.action-text-reply{
|
|
9
9
|
position: absolute;
|
|
10
10
|
left: 34%;
|
|
11
|
-
top:
|
|
11
|
+
top: 59%;
|
|
12
12
|
color: #3861ca;
|
|
13
13
|
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
14
14
|
}
|
|
15
15
|
.action-text-cancel{
|
|
16
16
|
position: absolute;
|
|
17
17
|
left: 33.5%;
|
|
18
|
-
top:
|
|
18
|
+
top: 66%;
|
|
19
19
|
color: #3861ca;
|
|
20
20
|
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
21
21
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
.lock-screen-preview .lock-msgContainer{
|
|
27
27
|
position: absolute;
|
|
28
|
-
top:
|
|
28
|
+
top: 40%;
|
|
29
29
|
left: 25.9%;
|
|
30
30
|
width: 21.5%;
|
|
31
31
|
height: 60px;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
.main-screen-preview .msgContainer{
|
|
57
57
|
position: absolute;
|
|
58
|
-
top: 30
|
|
58
|
+
top: 30%;
|
|
59
59
|
left: 53%;
|
|
60
60
|
width: 42%;
|
|
61
61
|
height: 336px;
|
|
@@ -138,8 +138,8 @@
|
|
|
138
138
|
margin: 0 20px 0 auto;
|
|
139
139
|
.action-text{
|
|
140
140
|
position: absolute;
|
|
141
|
-
left:
|
|
142
|
-
top:
|
|
141
|
+
left: 27.5%;
|
|
142
|
+
top: 54%;
|
|
143
143
|
font-size: $FONT_SIZE_VS;
|
|
144
144
|
color: #3861ca;
|
|
145
145
|
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
@@ -150,8 +150,8 @@
|
|
|
150
150
|
}
|
|
151
151
|
.lock-screen-preview .lock-msgContainer{
|
|
152
152
|
position: absolute;
|
|
153
|
-
top:
|
|
154
|
-
left:
|
|
153
|
+
top: 43%;
|
|
154
|
+
left: 25.9%;
|
|
155
155
|
width: 21.5%;
|
|
156
156
|
height: 52px;
|
|
157
157
|
display: -webkit-box;
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
|
|
182
182
|
.main-screen-preview .msgContainer{
|
|
183
183
|
position: absolute;
|
|
184
|
-
top: 30
|
|
184
|
+
top: 30%;
|
|
185
185
|
left: 53%;
|
|
186
186
|
width: 42%;
|
|
187
187
|
height: 336px;
|
package/index.js
CHANGED
|
@@ -93,7 +93,7 @@ import whatsappSaga from './v2Containers/Whatsapp/sagas';
|
|
|
93
93
|
|
|
94
94
|
import Zalo from './v2Containers/Zalo';
|
|
95
95
|
import zaloReducer from './v2Containers/Zalo/reducer';
|
|
96
|
-
import
|
|
96
|
+
import zaloSaga from './v2Containers/Zalo/saga';
|
|
97
97
|
|
|
98
98
|
import InApp from './v2Containers/InApp';
|
|
99
99
|
import inAppReducer from './v2Containers/InApp/reducer';
|
|
@@ -129,7 +129,7 @@ const FacebookPreviewContainer = { FacebookPreview, facebookPreviewReducer, face
|
|
|
129
129
|
const SmsTraiContainer = {SmsTraiCreate, SmsTraiCreateReducer, SmsTraiCreateSaga};
|
|
130
130
|
const WhatsappContainer = { Whatsapp, whatsappReducer, whatsappSaga };
|
|
131
131
|
const RcsContainer = { Rcs, rcsReducer, rcsSaga };
|
|
132
|
-
const ZaloContainer = { Zalo, zaloReducer,
|
|
132
|
+
const ZaloContainer = { Zalo, zaloReducer, zaloSaga };
|
|
133
133
|
const InAppContainer = { InApp, inAppReducer, inAppSaga };
|
|
134
134
|
|
|
135
135
|
const GalleryContainer = {Gallery, galleryReducer, gallerySagas};
|
package/package.json
CHANGED
|
@@ -3002,7 +3002,7 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
3002
3002
|
ifError = this.state.checkValidation && (isVersionEnable ? this.state.errorData[`${this.state.currentTab - 1}`][val.id] : this.state.errorData[val.id]);
|
|
3003
3003
|
const { TAG_BRACKET_COUNT_MISMATCH_ERROR } = errorMessageForTags;
|
|
3004
3004
|
const { formatMessage } = this.props.intl;
|
|
3005
|
-
let errorMessageText = errorType === TAG_BRACKET_COUNT_MISMATCH_ERROR ?
|
|
3005
|
+
let errorMessageText = errorType === TAG_BRACKET_COUNT_MISMATCH_ERROR ? formatMessage(globalMessages.unbalanacedCurlyBraces) :(val.errorMessage && ifError ? val.errorMessage : '');
|
|
3006
3006
|
const value = isVersionEnable ? this.state.formData[`${this.state.currentTab - 1}`][val.id] : this.state.formData[val.id];
|
|
3007
3007
|
if (styling === 'semantic') {
|
|
3008
3008
|
columns.push(
|
|
@@ -54,8 +54,6 @@ import { v2ViberSagas } from '../Viber/sagas';
|
|
|
54
54
|
import { v2FacebookSagas } from '../Facebook/sagas';
|
|
55
55
|
import createReducer from '../Line/Container/reducer';
|
|
56
56
|
import { DAEMON } from '@capillarytech/vulcan-react-sdk/utils/sagaInjectorTypes';
|
|
57
|
-
import { v2ZaloSagas } from '../Zalo/saga';
|
|
58
|
-
|
|
59
57
|
const gtm = window.dataLayer || [];
|
|
60
58
|
const {
|
|
61
59
|
logNewTab,
|
|
@@ -611,7 +609,6 @@ function mapDispatchToProps(dispatch) {
|
|
|
611
609
|
const withConnect = connect(mapStateToProps, mapDispatchToProps);
|
|
612
610
|
const withReducer = injectReducer({ key: 'cap', reducer });
|
|
613
611
|
const withZaloReducer = injectReducer({ key: 'zalo', reducer: zaloReducer });
|
|
614
|
-
const withZaloSagas = injectSaga({ key: 'zalo', saga: v2ZaloSagas });
|
|
615
612
|
const withSaga = injectSaga({ key: 'cap', saga: v2CapSagas });
|
|
616
613
|
const withLiquidSaga = injectSaga({ key: 'liquid', saga: capSagaLiquidEntity, mode : DAEMON });
|
|
617
614
|
const withSmsCreateSaga = injectSaga({ key: 'create', saga: v2SmsCreateSagas });
|
|
@@ -641,7 +638,6 @@ export default compose(
|
|
|
641
638
|
withFacebookSaga,
|
|
642
639
|
withReducer,
|
|
643
640
|
withZaloReducer,
|
|
644
|
-
withZaloSagas,
|
|
645
641
|
withLineReducer,
|
|
646
642
|
withConnect,
|
|
647
643
|
)(injectIntl(Cap));
|
|
@@ -506,8 +506,7 @@ const mapDispatchToProps = (dispatch) => ({
|
|
|
506
506
|
|
|
507
507
|
|
|
508
508
|
const withReducer = injectReducer({ key: 'zalo', reducer: v2ZaloReducer });
|
|
509
|
-
|
|
510
|
-
//
|
|
509
|
+
const withZaloSaga = injectSaga({ key: 'zalo', saga: v2ZaloSagas });
|
|
511
510
|
|
|
512
511
|
export default withCreatives({
|
|
513
512
|
WrappedComponent: Zalo,
|
|
@@ -515,4 +514,5 @@ export default withCreatives({
|
|
|
515
514
|
mapDispatchToProps,
|
|
516
515
|
userAuth: true,
|
|
517
516
|
reducers: [withReducer],
|
|
517
|
+
sagas: [withZaloSaga],
|
|
518
518
|
});
|