@capillarytech/creatives-library 2.0.61 → 2.0.63
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/app.js +1 -1
- package/assets/NoImage1.js +50 -0
- package/assets/WithImage1.js +57 -0
- package/components/FormBuilder/_formBuilder.scss +8 -3
- package/components/FormBuilder/index.js +94 -64
- package/components/PreviewSideBar/_previewsidebar.scss +1 -1
- package/components/TemplatePreview/_templatePreview.scss +1 -1
- package/containers/CreativesContainer/SlideBoxContent.js +1 -1
- package/containers/CreativesContainer/index.js +1 -1
- package/containers/MobilePush/Create/_mobilePushCreate.scss +13 -0
- package/containers/MobilePush/Create/actions.js +6 -0
- package/containers/MobilePush/Create/constants.js +1 -0
- package/containers/MobilePush/Create/index.js +626 -1128
- package/containers/MobilePush/Create/messages.js +5 -1
- package/containers/MobilePush/Create/reducer.js +2 -0
- package/containers/MobilePush/Create/selectors.js +3 -3
- package/containers/MobilePush/Edit/_mobilePushCreate.scss +10 -0
- package/containers/MobilePush/Edit/index.js +375 -1106
- package/containers/MobilePush/Edit/messages.js +4 -0
- package/containers/MobilePush/Edit/reducer.js +2 -1
- package/containers/MobilePush/Edit/selectors.js +3 -1
- package/containers/MobilePush/commonMethods.js +249 -0
- package/containers/MobilePush/eventsMap.js +127 -0
- package/containers/MobilePush/initialSchema.js +1751 -0
- package/containers/MobilepushWrapper/_mobilepushWrapper.scss +18 -0
- package/containers/MobilepushWrapper/index.js +7 -4
- package/containers/Sms/Create/_smsCreate.scss +1 -1
- package/containers/TemplatesV2/index.js +7 -8
- package/global-styles.js +1 -0
- package/index.html +2 -0
- package/package.json +1 -1
- package/services/api.js +3 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { defineMessages } from 'react-intl';
|
|
7
7
|
|
|
8
8
|
export default defineMessages({
|
|
9
|
-
imageUploadLabel: {
|
|
9
|
+
"imageUploadLabel": {
|
|
10
10
|
id: 'app.containers.MobilePush.Create.ImageUploadLabel',
|
|
11
11
|
defaultMessage: 'Upload Image',
|
|
12
12
|
},
|
|
@@ -230,4 +230,8 @@ export default defineMessages({
|
|
|
230
230
|
id: 'app.containers.MobilePush.Create.mobilePush',
|
|
231
231
|
defaultMessage: 'Mobile Push',
|
|
232
232
|
},
|
|
233
|
+
"selectActionButton": {
|
|
234
|
+
id: 'app.containers.MobilePush.Create.mobilePush',
|
|
235
|
+
defaultMessage: 'Select action buttons',
|
|
236
|
+
},
|
|
233
237
|
});
|
|
@@ -62,6 +62,8 @@ function createReducer(state = initialState, action) {
|
|
|
62
62
|
return state
|
|
63
63
|
.set('getIosCtasSucccess', false)
|
|
64
64
|
.set('iosCtasLoading', false);
|
|
65
|
+
case types.RESET_STORE:
|
|
66
|
+
return state.delete('uploadedAssetData').delete('iosCtasData');
|
|
65
67
|
default:
|
|
66
68
|
return state;
|
|
67
69
|
}
|
|
@@ -3,8 +3,7 @@ import { createSelector } from 'reselect';
|
|
|
3
3
|
/**
|
|
4
4
|
* Direct selector to the create state domain
|
|
5
5
|
*/
|
|
6
|
-
const selectPushMessageCreateDomain = () => (state) => state.get('create');
|
|
7
|
-
|
|
6
|
+
const selectPushMessageCreateDomain = () => (state, props) => props.isFullMode === false ? state.get('mobileCreate') : state.get('create');
|
|
8
7
|
/**
|
|
9
8
|
* Other specific selectors
|
|
10
9
|
*/
|
|
@@ -23,6 +22,7 @@ const makeSelectCreateResponse = () => createSelector(
|
|
|
23
22
|
selectPushMessageCreateDomain(), (dimensionState) => dimensionState.get('response')
|
|
24
23
|
);
|
|
25
24
|
|
|
25
|
+
const makeSelectIosCta = () => createSelector(makeSelectCreate(), (create) => create.getIosCtasSucccess && create.iosCtasData );
|
|
26
26
|
export {
|
|
27
|
-
makeSelectCreate, makeSelectCreateResponse,
|
|
27
|
+
makeSelectCreate, makeSelectCreateResponse, makeSelectIosCta,
|
|
28
28
|
};
|