@plusscommunities/pluss-newsletter-web-sharing 1.4.35 → 1.4.37
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/dist/index.cjs.js +98 -91
- package/dist/index.esm.js +98 -91
- package/dist/index.umd.js +98 -91
- package/package.json +50 -50
- package/src/feature.config.js +1 -0
- package/src/values.config.awards.js +6 -0
- package/src/values.config.coaching.js +6 -0
- package/src/values.config.curatedposts.js +6 -0
- package/src/values.config.default.js +6 -0
- package/src/values.config.headoffice.js +6 -0
- package/src/values.config.js +6 -0
- package/src/values.config.menu.js +6 -0
- package/src/values.config.news2.js +6 -0
- package/src/values.config.newsa.js +6 -0
- package/src/values.config.newsb.js +6 -0
- package/src/values.config.newsc.js +6 -0
- package/src/values.config.newsd.js +6 -0
- package/src/values.config.noticeboard.js +6 -0
- package/src/values.config.personaldev.js +6 -0
- package/src/values.config.products.js +6 -0
- package/src/values.config.projects.js +6 -0
- package/src/values.config.sales.js +6 -0
- package/src/values.config.sharing.js +6 -0
- package/src/values.config.shifts.js +6 -0
- package/src/values.config.training.js +6 -0
package/dist/index.cjs.js
CHANGED
|
@@ -67,98 +67,104 @@ var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray)
|
|
|
67
67
|
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
68
68
|
|
|
69
69
|
var values = {
|
|
70
|
-
featureKey: '
|
|
71
|
-
serviceKey: '
|
|
72
|
-
reducerKey: '
|
|
73
|
-
analyticsKey: '
|
|
74
|
-
actionNewsLoaded: '
|
|
75
|
-
actionNewsUpdated: '
|
|
76
|
-
actionNewsRemoved: '
|
|
77
|
-
actionNewsSubmissionsLoaded: '
|
|
78
|
-
actionNewsSubmissionRemoved: '
|
|
79
|
-
actionNewsPurge: '
|
|
80
|
-
actionNewsDashboardLoading: '
|
|
81
|
-
actionNewsSubmissionsDashboardLoading: '
|
|
82
|
-
permissionNewsletter: '
|
|
83
|
-
permissionNewsletterSubmit: '
|
|
84
|
-
activityAddNewsSubmission: '
|
|
85
|
-
activityApproveNewsSubmission: '
|
|
86
|
-
activityRejectNewsSubmission: '
|
|
87
|
-
activityAddNews: '
|
|
88
|
-
activityEditNews: '
|
|
89
|
-
acitivtyDeleteNews: '
|
|
90
|
-
routeNewsHub: '/
|
|
91
|
-
routeAddNewsletterEntry: '/
|
|
92
|
-
routePublishAvailableNews: '/
|
|
93
|
-
routeNewsletterSubmission: '/
|
|
94
|
-
routeNewsletterAnalytics: '/
|
|
95
|
-
routeGenerateNewsletter: '/
|
|
96
|
-
routeNewsletterTemplate: '/embed/
|
|
97
|
-
screenNewsHub: '
|
|
98
|
-
screenAddNewsletterEntry: '
|
|
99
|
-
screenPublishAvailableNews: '
|
|
100
|
-
screenNewsletterSubmission: '
|
|
101
|
-
screenNewsletterAnalytics: '
|
|
102
|
-
screenGenerateNewsletter: '
|
|
103
|
-
screenNewsletterTemplate: '
|
|
104
|
-
svgPathGridIcon: '
|
|
105
|
-
svgPathGridIconViewBox: '0 0
|
|
106
|
-
optionHideTimestamp: '
|
|
107
|
-
optionForceNewsAuthorName: '
|
|
108
|
-
optionNewsComments: '
|
|
109
|
-
optionNewsNotifications: '
|
|
110
|
-
optionUseLargeNews: '
|
|
111
|
-
localStorageNewsletterBrandData: "
|
|
112
|
-
localStorageNewsletterMakerLastUpdate: "
|
|
113
|
-
localStorageNewsletterMakerData: "
|
|
114
|
-
stringPostfixSubmissionEmail: '
|
|
115
|
-
menuOrder: 3,
|
|
116
|
-
textTipKeepYourTVNewsFeedActiveAndCurrent: 'Tip: Keep your TV
|
|
117
|
-
textFeaturedNews: 'Featured
|
|
118
|
-
textIsThisAFeaturedNewsArticle: 'Is this a featured
|
|
119
|
-
textFeaturedNewsArticlesWillBeHighlighted: 'Featured
|
|
120
|
-
textThisPostHasPreviouslyBeenPublished: "This
|
|
121
|
-
textNewsletterTitlePostfix: '
|
|
122
|
-
textCreateNewsletter: 'Create
|
|
123
|
-
textNoSelectedNews: 'No selected
|
|
124
|
-
textNewsletterTitle: '
|
|
125
|
-
textSelectNews: 'Select
|
|
126
|
-
textSelectedNews: 'Selected
|
|
127
|
-
textAddEditNewsPostfix: '
|
|
70
|
+
featureKey: 'sharing',
|
|
71
|
+
serviceKey: 'newsletterSharing',
|
|
72
|
+
reducerKey: 'newsSharing',
|
|
73
|
+
analyticsKey: 'newsSharing',
|
|
74
|
+
actionNewsLoaded: 'NEWS_LOADEDSharing',
|
|
75
|
+
actionNewsUpdated: 'NEWS_UPDATEDSharing',
|
|
76
|
+
actionNewsRemoved: 'NEWS_REMOVEDSharing',
|
|
77
|
+
actionNewsSubmissionsLoaded: 'NEWS_SUBMISSIONS_LOADEDSharing',
|
|
78
|
+
actionNewsSubmissionRemoved: 'NEWS_SUBMISSION_REMOVEDSharing',
|
|
79
|
+
actionNewsPurge: 'NEWS_PURGESharing',
|
|
80
|
+
actionNewsDashboardLoading: 'NEWS_DASHBOARD_LOADINGSharing',
|
|
81
|
+
actionNewsSubmissionsDashboardLoading: 'NEWS_SUBMISSIONS_DASHBOARD_LOADINGSharing',
|
|
82
|
+
permissionNewsletter: 'newsletterSharing',
|
|
83
|
+
permissionNewsletterSubmit: 'newsletterSubmitSharing',
|
|
84
|
+
activityAddNewsSubmission: 'AddNewsSubmissionSharing',
|
|
85
|
+
activityApproveNewsSubmission: 'ApproveNewsSubmissionSharing',
|
|
86
|
+
activityRejectNewsSubmission: 'RejectNewsSubmissionSharing',
|
|
87
|
+
activityAddNews: 'AddNewsSharing',
|
|
88
|
+
activityEditNews: 'EditNewsSharing',
|
|
89
|
+
acitivtyDeleteNews: 'DeleteNewsSharing',
|
|
90
|
+
routeNewsHub: '/newsSharing',
|
|
91
|
+
routeAddNewsletterEntry: '/newsSharing/article',
|
|
92
|
+
routePublishAvailableNews: '/newsSharing/content/',
|
|
93
|
+
routeNewsletterSubmission: '/newsSharing/newslettersubmission/',
|
|
94
|
+
routeNewsletterAnalytics: '/newsSharing/analytics/',
|
|
95
|
+
routeGenerateNewsletter: '/newsletterSharing/generate',
|
|
96
|
+
routeNewsletterTemplate: '/embed/newsletterSharing',
|
|
97
|
+
screenNewsHub: 'NewsHubSharing',
|
|
98
|
+
screenAddNewsletterEntry: 'AddNewsletterEntrySharing',
|
|
99
|
+
screenPublishAvailableNews: 'PublishAvailableNewsSharing',
|
|
100
|
+
screenNewsletterSubmission: 'NewsletterSubmissionSharing',
|
|
101
|
+
screenNewsletterAnalytics: 'NewsletterAnalyticsSharing',
|
|
102
|
+
screenGenerateNewsletter: 'GenerateNewsletterSharing',
|
|
103
|
+
screenNewsletterTemplate: 'NewsletterTemplateSharing',
|
|
104
|
+
svgPathGridIcon: 'M6.9375 5.25C5.59802 5.25 4.5 6.34802 4.5 7.6875V13.6875V15.9507C4.5 16.6825 5.39622 17.1394 5.98828 16.7095C5.98853 16.7095 5.98877 16.7095 5.98901 16.7095L7.60913 15.531C7.91811 16.5231 8.84788 17.25 9.9375 17.25H14.6294L18.011 19.7095C18.0112 19.7095 18.0115 19.7095 18.0117 19.7095C18.6038 20.1394 19.5 19.6825 19.5 18.9507V16.6875V10.6875C19.5 9.34802 18.402 8.25 17.0625 8.25H16.5V7.6875C16.5 6.34802 15.402 5.25 14.0625 5.25H6.9375ZM6.9375 6.375H14.0625C14.7938 6.375 15.375 6.95623 15.375 7.6875V11.8125C15.375 12.5438 14.7938 13.125 14.0625 13.125H9.1875C9.06854 13.125 8.95264 13.1627 8.85645 13.2327L5.625 15.583V13.6875V7.6875C5.625 6.95623 6.20623 6.375 6.9375 6.375ZM16.5 9.375H17.0625C17.7938 9.375 18.375 9.95623 18.375 10.6875V16.6875V18.583L15.1436 16.2327C15.0474 16.1627 14.9315 16.125 14.8125 16.125H9.9375C9.20623 16.125 8.625 15.5438 8.625 14.8125V14.792L9.37061 14.25H14.0625C15.402 14.25 16.5 13.152 16.5 11.8125V9.375Z',
|
|
105
|
+
svgPathGridIconViewBox: '0 0 24 24',
|
|
106
|
+
optionHideTimestamp: 'newsHideTimestampSharing',
|
|
107
|
+
optionForceNewsAuthorName: 'forceNewsAuthorNameSharing',
|
|
108
|
+
optionNewsComments: 'newsCommentsSharing',
|
|
109
|
+
optionNewsNotifications: 'newsNotificationsSharing',
|
|
110
|
+
optionUseLargeNews: 'useLargeNewsSharing',
|
|
111
|
+
localStorageNewsletterBrandData: "newsletterBrandDataSharing",
|
|
112
|
+
localStorageNewsletterMakerLastUpdate: "newsletterMakerLastUpdateSharing",
|
|
113
|
+
localStorageNewsletterMakerData: "newsletterMakerDataSharing",
|
|
114
|
+
stringPostfixSubmissionEmail: 'newssubmissionemailSharing',
|
|
115
|
+
menuOrder: 3.5,
|
|
116
|
+
textTipKeepYourTVNewsFeedActiveAndCurrent: 'Tip: Keep your TV Sharing feed active and current, but don’t flood\nit with so much content that important posts get lost.',
|
|
117
|
+
textFeaturedNews: 'Featured Sharing',
|
|
118
|
+
textIsThisAFeaturedNewsArticle: 'Is this a featured sharing?',
|
|
119
|
+
textFeaturedNewsArticlesWillBeHighlighted: 'Featured sharings will be highlighted on the Home page.',
|
|
120
|
+
textThisPostHasPreviouslyBeenPublished: "This sharing has previously been published. Are you sure you want to continue?",
|
|
121
|
+
textNewsletterTitlePostfix: 'Sharing',
|
|
122
|
+
textCreateNewsletter: 'Create Sharing',
|
|
123
|
+
textNoSelectedNews: 'No selected sharing yet',
|
|
124
|
+
textNewsletterTitle: 'Sharing Title',
|
|
125
|
+
textSelectNews: 'Select Sharing',
|
|
126
|
+
textSelectedNews: 'Selected Sharing',
|
|
127
|
+
textAddEditNewsPostfix: 'sharing',
|
|
128
128
|
textNoteThisWillNotChangeInTheApp: function textNoteThisWillNotChangeInTheApp(changeText) {
|
|
129
|
-
return "Note: This will not ".concat(changeText, " the
|
|
129
|
+
return "Note: This will not ".concat(changeText, " the sharing in the app");
|
|
130
130
|
},
|
|
131
|
-
textAreYouSureYouWantToDelete: "Are you sure you want to delete that
|
|
132
|
-
textThereAreNoNews: 'There are no
|
|
133
|
-
textTitleNews: '
|
|
134
|
-
textSubmitYourNewNewsPostHere: 'Submit your new
|
|
135
|
-
textPrintNewsletter: 'Print
|
|
136
|
-
textBackToNews: 'Back to
|
|
137
|
-
textNewsAnalytics: '
|
|
138
|
-
textNewsSubmission: '
|
|
139
|
-
textNewsPost: '
|
|
140
|
-
textNewsPostTitle: '
|
|
141
|
-
textWhenANewsletterSubmissionIsAdded: 'When a
|
|
142
|
-
textIsThisAFeaturedNewsPost: 'Is this a featured
|
|
143
|
-
textFeaturedNewsPostWillBeHighlighted: 'Featured
|
|
144
|
-
textSubmittedANewsletterPostForReview: 'submitted a
|
|
145
|
-
textApprovedANewsSubmission: 'approved a
|
|
146
|
-
textRejectedANewsSubmission: 'rejected a
|
|
147
|
-
textAddedANewsletterPost: 'added a
|
|
148
|
-
textEditedANewsletterPost: 'edited a
|
|
149
|
-
textDeletedANewsletterPost: 'deleted a
|
|
150
|
-
textSingularName: '
|
|
151
|
-
textThereIsNoNews: 'There is no
|
|
152
|
-
textTheAuthorOfANewsPostWillAlwaysDisplay: 'The author of a
|
|
153
|
-
textAllowNewsComments: 'Allow
|
|
154
|
-
textUsersCanPostCommentsOnNews: 'Users can post comments on
|
|
155
|
-
textAllowNewsNotification: 'Allow
|
|
156
|
-
textWhenSettingUpANewsPost: 'When setting up a
|
|
157
|
-
textCondensedNewsStyle: 'Condensed
|
|
158
|
-
textTheNewsSectionUsesCondensedNewsItems: 'The
|
|
159
|
-
textMenuTitle: '
|
|
160
|
-
textPermissionNewsletterManagement: '
|
|
161
|
-
textPermissionNewsletterSubmission: '
|
|
131
|
+
textAreYouSureYouWantToDelete: "Are you sure you want to delete that sharing?",
|
|
132
|
+
textThereAreNoNews: 'There are no sharings',
|
|
133
|
+
textTitleNews: 'Sharing',
|
|
134
|
+
textSubmitYourNewNewsPostHere: 'Submit your new sharing here. You will be notified once your sharing has been approved.',
|
|
135
|
+
textPrintNewsletter: 'Print Sharing',
|
|
136
|
+
textBackToNews: 'Back to Sharing',
|
|
137
|
+
textNewsAnalytics: 'SHARING ANALYTICS',
|
|
138
|
+
textNewsSubmission: 'SHARING SUBMISSION',
|
|
139
|
+
textNewsPost: 'SHARING POST',
|
|
140
|
+
textNewsPostTitle: 'Sharing title',
|
|
141
|
+
textWhenANewsletterSubmissionIsAdded: 'When a sharing submission is added, the entered address will recieve an email notification.',
|
|
142
|
+
textIsThisAFeaturedNewsPost: 'Is this a featured sharing?',
|
|
143
|
+
textFeaturedNewsPostWillBeHighlighted: 'Featured sharing will be highlighted on the Home page.',
|
|
144
|
+
textSubmittedANewsletterPostForReview: 'submitted a sharing for review:',
|
|
145
|
+
textApprovedANewsSubmission: 'approved a sharing submission:',
|
|
146
|
+
textRejectedANewsSubmission: 'rejected a sharing submission:',
|
|
147
|
+
textAddedANewsletterPost: 'added a sharing:',
|
|
148
|
+
textEditedANewsletterPost: 'edited a sharing:',
|
|
149
|
+
textDeletedANewsletterPost: 'deleted a sharing:',
|
|
150
|
+
textSingularName: 'Sharing',
|
|
151
|
+
textThereIsNoNews: 'There is no Sharing',
|
|
152
|
+
textTheAuthorOfANewsPostWillAlwaysDisplay: 'The author of a sharing will always display.',
|
|
153
|
+
textAllowNewsComments: 'Allow Sharing Comments',
|
|
154
|
+
textUsersCanPostCommentsOnNews: 'Users can post comments on Sharing within the app.',
|
|
155
|
+
textAllowNewsNotification: 'Allow Sharing Notifications',
|
|
156
|
+
textWhenSettingUpANewsPost: 'When setting up a sharing, the creator may choose to send a push notification to users of the app.',
|
|
157
|
+
textCondensedNewsStyle: 'Condensed Sharing Style',
|
|
158
|
+
textTheNewsSectionUsesCondensedNewsItems: 'The Sharing section uses condensed Sharing items - smaller images, less information and less scrolling.',
|
|
159
|
+
textMenuTitle: 'Sharing',
|
|
160
|
+
textPermissionNewsletterManagement: 'Sharing Management',
|
|
161
|
+
textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)',
|
|
162
|
+
// Comment subscription notification preference
|
|
163
|
+
notificationPreference: {
|
|
164
|
+
key: 'newsSharingComments',
|
|
165
|
+
label: 'Sharing comments',
|
|
166
|
+
permission: 'newsletterSharing'
|
|
167
|
+
}
|
|
162
168
|
};
|
|
163
169
|
|
|
164
170
|
// import * as PlussCore from '../../pluss-core/src';
|
|
@@ -322,7 +328,8 @@ var FeatureConfig = {
|
|
|
322
328
|
init: function init(environment) {
|
|
323
329
|
FeatureConfig.env = environment;
|
|
324
330
|
PlussCore__namespace.Config.init(environment);
|
|
325
|
-
}
|
|
331
|
+
},
|
|
332
|
+
notificationPreference: values.notificationPreference
|
|
326
333
|
};
|
|
327
334
|
|
|
328
335
|
var Components$2 = PlussCore__namespace.Components;
|
package/dist/index.esm.js
CHANGED
|
@@ -23,98 +23,104 @@ import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
|
23
23
|
import { faNewspaper, faEye, faUser, faComment, faFaceSmile } from '@fortawesome/free-solid-svg-icons';
|
|
24
24
|
|
|
25
25
|
var values = {
|
|
26
|
-
featureKey: '
|
|
27
|
-
serviceKey: '
|
|
28
|
-
reducerKey: '
|
|
29
|
-
analyticsKey: '
|
|
30
|
-
actionNewsLoaded: '
|
|
31
|
-
actionNewsUpdated: '
|
|
32
|
-
actionNewsRemoved: '
|
|
33
|
-
actionNewsSubmissionsLoaded: '
|
|
34
|
-
actionNewsSubmissionRemoved: '
|
|
35
|
-
actionNewsPurge: '
|
|
36
|
-
actionNewsDashboardLoading: '
|
|
37
|
-
actionNewsSubmissionsDashboardLoading: '
|
|
38
|
-
permissionNewsletter: '
|
|
39
|
-
permissionNewsletterSubmit: '
|
|
40
|
-
activityAddNewsSubmission: '
|
|
41
|
-
activityApproveNewsSubmission: '
|
|
42
|
-
activityRejectNewsSubmission: '
|
|
43
|
-
activityAddNews: '
|
|
44
|
-
activityEditNews: '
|
|
45
|
-
acitivtyDeleteNews: '
|
|
46
|
-
routeNewsHub: '/
|
|
47
|
-
routeAddNewsletterEntry: '/
|
|
48
|
-
routePublishAvailableNews: '/
|
|
49
|
-
routeNewsletterSubmission: '/
|
|
50
|
-
routeNewsletterAnalytics: '/
|
|
51
|
-
routeGenerateNewsletter: '/
|
|
52
|
-
routeNewsletterTemplate: '/embed/
|
|
53
|
-
screenNewsHub: '
|
|
54
|
-
screenAddNewsletterEntry: '
|
|
55
|
-
screenPublishAvailableNews: '
|
|
56
|
-
screenNewsletterSubmission: '
|
|
57
|
-
screenNewsletterAnalytics: '
|
|
58
|
-
screenGenerateNewsletter: '
|
|
59
|
-
screenNewsletterTemplate: '
|
|
60
|
-
svgPathGridIcon: '
|
|
61
|
-
svgPathGridIconViewBox: '0 0
|
|
62
|
-
optionHideTimestamp: '
|
|
63
|
-
optionForceNewsAuthorName: '
|
|
64
|
-
optionNewsComments: '
|
|
65
|
-
optionNewsNotifications: '
|
|
66
|
-
optionUseLargeNews: '
|
|
67
|
-
localStorageNewsletterBrandData: "
|
|
68
|
-
localStorageNewsletterMakerLastUpdate: "
|
|
69
|
-
localStorageNewsletterMakerData: "
|
|
70
|
-
stringPostfixSubmissionEmail: '
|
|
71
|
-
menuOrder: 3,
|
|
72
|
-
textTipKeepYourTVNewsFeedActiveAndCurrent: 'Tip: Keep your TV
|
|
73
|
-
textFeaturedNews: 'Featured
|
|
74
|
-
textIsThisAFeaturedNewsArticle: 'Is this a featured
|
|
75
|
-
textFeaturedNewsArticlesWillBeHighlighted: 'Featured
|
|
76
|
-
textThisPostHasPreviouslyBeenPublished: "This
|
|
77
|
-
textNewsletterTitlePostfix: '
|
|
78
|
-
textCreateNewsletter: 'Create
|
|
79
|
-
textNoSelectedNews: 'No selected
|
|
80
|
-
textNewsletterTitle: '
|
|
81
|
-
textSelectNews: 'Select
|
|
82
|
-
textSelectedNews: 'Selected
|
|
83
|
-
textAddEditNewsPostfix: '
|
|
26
|
+
featureKey: 'sharing',
|
|
27
|
+
serviceKey: 'newsletterSharing',
|
|
28
|
+
reducerKey: 'newsSharing',
|
|
29
|
+
analyticsKey: 'newsSharing',
|
|
30
|
+
actionNewsLoaded: 'NEWS_LOADEDSharing',
|
|
31
|
+
actionNewsUpdated: 'NEWS_UPDATEDSharing',
|
|
32
|
+
actionNewsRemoved: 'NEWS_REMOVEDSharing',
|
|
33
|
+
actionNewsSubmissionsLoaded: 'NEWS_SUBMISSIONS_LOADEDSharing',
|
|
34
|
+
actionNewsSubmissionRemoved: 'NEWS_SUBMISSION_REMOVEDSharing',
|
|
35
|
+
actionNewsPurge: 'NEWS_PURGESharing',
|
|
36
|
+
actionNewsDashboardLoading: 'NEWS_DASHBOARD_LOADINGSharing',
|
|
37
|
+
actionNewsSubmissionsDashboardLoading: 'NEWS_SUBMISSIONS_DASHBOARD_LOADINGSharing',
|
|
38
|
+
permissionNewsletter: 'newsletterSharing',
|
|
39
|
+
permissionNewsletterSubmit: 'newsletterSubmitSharing',
|
|
40
|
+
activityAddNewsSubmission: 'AddNewsSubmissionSharing',
|
|
41
|
+
activityApproveNewsSubmission: 'ApproveNewsSubmissionSharing',
|
|
42
|
+
activityRejectNewsSubmission: 'RejectNewsSubmissionSharing',
|
|
43
|
+
activityAddNews: 'AddNewsSharing',
|
|
44
|
+
activityEditNews: 'EditNewsSharing',
|
|
45
|
+
acitivtyDeleteNews: 'DeleteNewsSharing',
|
|
46
|
+
routeNewsHub: '/newsSharing',
|
|
47
|
+
routeAddNewsletterEntry: '/newsSharing/article',
|
|
48
|
+
routePublishAvailableNews: '/newsSharing/content/',
|
|
49
|
+
routeNewsletterSubmission: '/newsSharing/newslettersubmission/',
|
|
50
|
+
routeNewsletterAnalytics: '/newsSharing/analytics/',
|
|
51
|
+
routeGenerateNewsletter: '/newsletterSharing/generate',
|
|
52
|
+
routeNewsletterTemplate: '/embed/newsletterSharing',
|
|
53
|
+
screenNewsHub: 'NewsHubSharing',
|
|
54
|
+
screenAddNewsletterEntry: 'AddNewsletterEntrySharing',
|
|
55
|
+
screenPublishAvailableNews: 'PublishAvailableNewsSharing',
|
|
56
|
+
screenNewsletterSubmission: 'NewsletterSubmissionSharing',
|
|
57
|
+
screenNewsletterAnalytics: 'NewsletterAnalyticsSharing',
|
|
58
|
+
screenGenerateNewsletter: 'GenerateNewsletterSharing',
|
|
59
|
+
screenNewsletterTemplate: 'NewsletterTemplateSharing',
|
|
60
|
+
svgPathGridIcon: 'M6.9375 5.25C5.59802 5.25 4.5 6.34802 4.5 7.6875V13.6875V15.9507C4.5 16.6825 5.39622 17.1394 5.98828 16.7095C5.98853 16.7095 5.98877 16.7095 5.98901 16.7095L7.60913 15.531C7.91811 16.5231 8.84788 17.25 9.9375 17.25H14.6294L18.011 19.7095C18.0112 19.7095 18.0115 19.7095 18.0117 19.7095C18.6038 20.1394 19.5 19.6825 19.5 18.9507V16.6875V10.6875C19.5 9.34802 18.402 8.25 17.0625 8.25H16.5V7.6875C16.5 6.34802 15.402 5.25 14.0625 5.25H6.9375ZM6.9375 6.375H14.0625C14.7938 6.375 15.375 6.95623 15.375 7.6875V11.8125C15.375 12.5438 14.7938 13.125 14.0625 13.125H9.1875C9.06854 13.125 8.95264 13.1627 8.85645 13.2327L5.625 15.583V13.6875V7.6875C5.625 6.95623 6.20623 6.375 6.9375 6.375ZM16.5 9.375H17.0625C17.7938 9.375 18.375 9.95623 18.375 10.6875V16.6875V18.583L15.1436 16.2327C15.0474 16.1627 14.9315 16.125 14.8125 16.125H9.9375C9.20623 16.125 8.625 15.5438 8.625 14.8125V14.792L9.37061 14.25H14.0625C15.402 14.25 16.5 13.152 16.5 11.8125V9.375Z',
|
|
61
|
+
svgPathGridIconViewBox: '0 0 24 24',
|
|
62
|
+
optionHideTimestamp: 'newsHideTimestampSharing',
|
|
63
|
+
optionForceNewsAuthorName: 'forceNewsAuthorNameSharing',
|
|
64
|
+
optionNewsComments: 'newsCommentsSharing',
|
|
65
|
+
optionNewsNotifications: 'newsNotificationsSharing',
|
|
66
|
+
optionUseLargeNews: 'useLargeNewsSharing',
|
|
67
|
+
localStorageNewsletterBrandData: "newsletterBrandDataSharing",
|
|
68
|
+
localStorageNewsletterMakerLastUpdate: "newsletterMakerLastUpdateSharing",
|
|
69
|
+
localStorageNewsletterMakerData: "newsletterMakerDataSharing",
|
|
70
|
+
stringPostfixSubmissionEmail: 'newssubmissionemailSharing',
|
|
71
|
+
menuOrder: 3.5,
|
|
72
|
+
textTipKeepYourTVNewsFeedActiveAndCurrent: 'Tip: Keep your TV Sharing feed active and current, but don’t flood\nit with so much content that important posts get lost.',
|
|
73
|
+
textFeaturedNews: 'Featured Sharing',
|
|
74
|
+
textIsThisAFeaturedNewsArticle: 'Is this a featured sharing?',
|
|
75
|
+
textFeaturedNewsArticlesWillBeHighlighted: 'Featured sharings will be highlighted on the Home page.',
|
|
76
|
+
textThisPostHasPreviouslyBeenPublished: "This sharing has previously been published. Are you sure you want to continue?",
|
|
77
|
+
textNewsletterTitlePostfix: 'Sharing',
|
|
78
|
+
textCreateNewsletter: 'Create Sharing',
|
|
79
|
+
textNoSelectedNews: 'No selected sharing yet',
|
|
80
|
+
textNewsletterTitle: 'Sharing Title',
|
|
81
|
+
textSelectNews: 'Select Sharing',
|
|
82
|
+
textSelectedNews: 'Selected Sharing',
|
|
83
|
+
textAddEditNewsPostfix: 'sharing',
|
|
84
84
|
textNoteThisWillNotChangeInTheApp: function textNoteThisWillNotChangeInTheApp(changeText) {
|
|
85
|
-
return "Note: This will not ".concat(changeText, " the
|
|
85
|
+
return "Note: This will not ".concat(changeText, " the sharing in the app");
|
|
86
86
|
},
|
|
87
|
-
textAreYouSureYouWantToDelete: "Are you sure you want to delete that
|
|
88
|
-
textThereAreNoNews: 'There are no
|
|
89
|
-
textTitleNews: '
|
|
90
|
-
textSubmitYourNewNewsPostHere: 'Submit your new
|
|
91
|
-
textPrintNewsletter: 'Print
|
|
92
|
-
textBackToNews: 'Back to
|
|
93
|
-
textNewsAnalytics: '
|
|
94
|
-
textNewsSubmission: '
|
|
95
|
-
textNewsPost: '
|
|
96
|
-
textNewsPostTitle: '
|
|
97
|
-
textWhenANewsletterSubmissionIsAdded: 'When a
|
|
98
|
-
textIsThisAFeaturedNewsPost: 'Is this a featured
|
|
99
|
-
textFeaturedNewsPostWillBeHighlighted: 'Featured
|
|
100
|
-
textSubmittedANewsletterPostForReview: 'submitted a
|
|
101
|
-
textApprovedANewsSubmission: 'approved a
|
|
102
|
-
textRejectedANewsSubmission: 'rejected a
|
|
103
|
-
textAddedANewsletterPost: 'added a
|
|
104
|
-
textEditedANewsletterPost: 'edited a
|
|
105
|
-
textDeletedANewsletterPost: 'deleted a
|
|
106
|
-
textSingularName: '
|
|
107
|
-
textThereIsNoNews: 'There is no
|
|
108
|
-
textTheAuthorOfANewsPostWillAlwaysDisplay: 'The author of a
|
|
109
|
-
textAllowNewsComments: 'Allow
|
|
110
|
-
textUsersCanPostCommentsOnNews: 'Users can post comments on
|
|
111
|
-
textAllowNewsNotification: 'Allow
|
|
112
|
-
textWhenSettingUpANewsPost: 'When setting up a
|
|
113
|
-
textCondensedNewsStyle: 'Condensed
|
|
114
|
-
textTheNewsSectionUsesCondensedNewsItems: 'The
|
|
115
|
-
textMenuTitle: '
|
|
116
|
-
textPermissionNewsletterManagement: '
|
|
117
|
-
textPermissionNewsletterSubmission: '
|
|
87
|
+
textAreYouSureYouWantToDelete: "Are you sure you want to delete that sharing?",
|
|
88
|
+
textThereAreNoNews: 'There are no sharings',
|
|
89
|
+
textTitleNews: 'Sharing',
|
|
90
|
+
textSubmitYourNewNewsPostHere: 'Submit your new sharing here. You will be notified once your sharing has been approved.',
|
|
91
|
+
textPrintNewsletter: 'Print Sharing',
|
|
92
|
+
textBackToNews: 'Back to Sharing',
|
|
93
|
+
textNewsAnalytics: 'SHARING ANALYTICS',
|
|
94
|
+
textNewsSubmission: 'SHARING SUBMISSION',
|
|
95
|
+
textNewsPost: 'SHARING POST',
|
|
96
|
+
textNewsPostTitle: 'Sharing title',
|
|
97
|
+
textWhenANewsletterSubmissionIsAdded: 'When a sharing submission is added, the entered address will recieve an email notification.',
|
|
98
|
+
textIsThisAFeaturedNewsPost: 'Is this a featured sharing?',
|
|
99
|
+
textFeaturedNewsPostWillBeHighlighted: 'Featured sharing will be highlighted on the Home page.',
|
|
100
|
+
textSubmittedANewsletterPostForReview: 'submitted a sharing for review:',
|
|
101
|
+
textApprovedANewsSubmission: 'approved a sharing submission:',
|
|
102
|
+
textRejectedANewsSubmission: 'rejected a sharing submission:',
|
|
103
|
+
textAddedANewsletterPost: 'added a sharing:',
|
|
104
|
+
textEditedANewsletterPost: 'edited a sharing:',
|
|
105
|
+
textDeletedANewsletterPost: 'deleted a sharing:',
|
|
106
|
+
textSingularName: 'Sharing',
|
|
107
|
+
textThereIsNoNews: 'There is no Sharing',
|
|
108
|
+
textTheAuthorOfANewsPostWillAlwaysDisplay: 'The author of a sharing will always display.',
|
|
109
|
+
textAllowNewsComments: 'Allow Sharing Comments',
|
|
110
|
+
textUsersCanPostCommentsOnNews: 'Users can post comments on Sharing within the app.',
|
|
111
|
+
textAllowNewsNotification: 'Allow Sharing Notifications',
|
|
112
|
+
textWhenSettingUpANewsPost: 'When setting up a sharing, the creator may choose to send a push notification to users of the app.',
|
|
113
|
+
textCondensedNewsStyle: 'Condensed Sharing Style',
|
|
114
|
+
textTheNewsSectionUsesCondensedNewsItems: 'The Sharing section uses condensed Sharing items - smaller images, less information and less scrolling.',
|
|
115
|
+
textMenuTitle: 'Sharing',
|
|
116
|
+
textPermissionNewsletterManagement: 'Sharing Management',
|
|
117
|
+
textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)',
|
|
118
|
+
// Comment subscription notification preference
|
|
119
|
+
notificationPreference: {
|
|
120
|
+
key: 'newsSharingComments',
|
|
121
|
+
label: 'Sharing comments',
|
|
122
|
+
permission: 'newsletterSharing'
|
|
123
|
+
}
|
|
118
124
|
};
|
|
119
125
|
|
|
120
126
|
// import * as PlussCore from '../../pluss-core/src';
|
|
@@ -278,7 +284,8 @@ var FeatureConfig = {
|
|
|
278
284
|
init: function init(environment) {
|
|
279
285
|
FeatureConfig.env = environment;
|
|
280
286
|
PlussCore.Config.init(environment);
|
|
281
|
-
}
|
|
287
|
+
},
|
|
288
|
+
notificationPreference: values.notificationPreference
|
|
282
289
|
};
|
|
283
290
|
|
|
284
291
|
var Components$2 = PlussCore.Components;
|
package/dist/index.umd.js
CHANGED
|
@@ -45,98 +45,104 @@
|
|
|
45
45
|
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
46
46
|
|
|
47
47
|
var values = {
|
|
48
|
-
featureKey: '
|
|
49
|
-
serviceKey: '
|
|
50
|
-
reducerKey: '
|
|
51
|
-
analyticsKey: '
|
|
52
|
-
actionNewsLoaded: '
|
|
53
|
-
actionNewsUpdated: '
|
|
54
|
-
actionNewsRemoved: '
|
|
55
|
-
actionNewsSubmissionsLoaded: '
|
|
56
|
-
actionNewsSubmissionRemoved: '
|
|
57
|
-
actionNewsPurge: '
|
|
58
|
-
actionNewsDashboardLoading: '
|
|
59
|
-
actionNewsSubmissionsDashboardLoading: '
|
|
60
|
-
permissionNewsletter: '
|
|
61
|
-
permissionNewsletterSubmit: '
|
|
62
|
-
activityAddNewsSubmission: '
|
|
63
|
-
activityApproveNewsSubmission: '
|
|
64
|
-
activityRejectNewsSubmission: '
|
|
65
|
-
activityAddNews: '
|
|
66
|
-
activityEditNews: '
|
|
67
|
-
acitivtyDeleteNews: '
|
|
68
|
-
routeNewsHub: '/
|
|
69
|
-
routeAddNewsletterEntry: '/
|
|
70
|
-
routePublishAvailableNews: '/
|
|
71
|
-
routeNewsletterSubmission: '/
|
|
72
|
-
routeNewsletterAnalytics: '/
|
|
73
|
-
routeGenerateNewsletter: '/
|
|
74
|
-
routeNewsletterTemplate: '/embed/
|
|
75
|
-
screenNewsHub: '
|
|
76
|
-
screenAddNewsletterEntry: '
|
|
77
|
-
screenPublishAvailableNews: '
|
|
78
|
-
screenNewsletterSubmission: '
|
|
79
|
-
screenNewsletterAnalytics: '
|
|
80
|
-
screenGenerateNewsletter: '
|
|
81
|
-
screenNewsletterTemplate: '
|
|
82
|
-
svgPathGridIcon: '
|
|
83
|
-
svgPathGridIconViewBox: '0 0
|
|
84
|
-
optionHideTimestamp: '
|
|
85
|
-
optionForceNewsAuthorName: '
|
|
86
|
-
optionNewsComments: '
|
|
87
|
-
optionNewsNotifications: '
|
|
88
|
-
optionUseLargeNews: '
|
|
89
|
-
localStorageNewsletterBrandData: "
|
|
90
|
-
localStorageNewsletterMakerLastUpdate: "
|
|
91
|
-
localStorageNewsletterMakerData: "
|
|
92
|
-
stringPostfixSubmissionEmail: '
|
|
93
|
-
menuOrder: 3,
|
|
94
|
-
textTipKeepYourTVNewsFeedActiveAndCurrent: 'Tip: Keep your TV
|
|
95
|
-
textFeaturedNews: 'Featured
|
|
96
|
-
textIsThisAFeaturedNewsArticle: 'Is this a featured
|
|
97
|
-
textFeaturedNewsArticlesWillBeHighlighted: 'Featured
|
|
98
|
-
textThisPostHasPreviouslyBeenPublished: "This
|
|
99
|
-
textNewsletterTitlePostfix: '
|
|
100
|
-
textCreateNewsletter: 'Create
|
|
101
|
-
textNoSelectedNews: 'No selected
|
|
102
|
-
textNewsletterTitle: '
|
|
103
|
-
textSelectNews: 'Select
|
|
104
|
-
textSelectedNews: 'Selected
|
|
105
|
-
textAddEditNewsPostfix: '
|
|
48
|
+
featureKey: 'sharing',
|
|
49
|
+
serviceKey: 'newsletterSharing',
|
|
50
|
+
reducerKey: 'newsSharing',
|
|
51
|
+
analyticsKey: 'newsSharing',
|
|
52
|
+
actionNewsLoaded: 'NEWS_LOADEDSharing',
|
|
53
|
+
actionNewsUpdated: 'NEWS_UPDATEDSharing',
|
|
54
|
+
actionNewsRemoved: 'NEWS_REMOVEDSharing',
|
|
55
|
+
actionNewsSubmissionsLoaded: 'NEWS_SUBMISSIONS_LOADEDSharing',
|
|
56
|
+
actionNewsSubmissionRemoved: 'NEWS_SUBMISSION_REMOVEDSharing',
|
|
57
|
+
actionNewsPurge: 'NEWS_PURGESharing',
|
|
58
|
+
actionNewsDashboardLoading: 'NEWS_DASHBOARD_LOADINGSharing',
|
|
59
|
+
actionNewsSubmissionsDashboardLoading: 'NEWS_SUBMISSIONS_DASHBOARD_LOADINGSharing',
|
|
60
|
+
permissionNewsletter: 'newsletterSharing',
|
|
61
|
+
permissionNewsletterSubmit: 'newsletterSubmitSharing',
|
|
62
|
+
activityAddNewsSubmission: 'AddNewsSubmissionSharing',
|
|
63
|
+
activityApproveNewsSubmission: 'ApproveNewsSubmissionSharing',
|
|
64
|
+
activityRejectNewsSubmission: 'RejectNewsSubmissionSharing',
|
|
65
|
+
activityAddNews: 'AddNewsSharing',
|
|
66
|
+
activityEditNews: 'EditNewsSharing',
|
|
67
|
+
acitivtyDeleteNews: 'DeleteNewsSharing',
|
|
68
|
+
routeNewsHub: '/newsSharing',
|
|
69
|
+
routeAddNewsletterEntry: '/newsSharing/article',
|
|
70
|
+
routePublishAvailableNews: '/newsSharing/content/',
|
|
71
|
+
routeNewsletterSubmission: '/newsSharing/newslettersubmission/',
|
|
72
|
+
routeNewsletterAnalytics: '/newsSharing/analytics/',
|
|
73
|
+
routeGenerateNewsletter: '/newsletterSharing/generate',
|
|
74
|
+
routeNewsletterTemplate: '/embed/newsletterSharing',
|
|
75
|
+
screenNewsHub: 'NewsHubSharing',
|
|
76
|
+
screenAddNewsletterEntry: 'AddNewsletterEntrySharing',
|
|
77
|
+
screenPublishAvailableNews: 'PublishAvailableNewsSharing',
|
|
78
|
+
screenNewsletterSubmission: 'NewsletterSubmissionSharing',
|
|
79
|
+
screenNewsletterAnalytics: 'NewsletterAnalyticsSharing',
|
|
80
|
+
screenGenerateNewsletter: 'GenerateNewsletterSharing',
|
|
81
|
+
screenNewsletterTemplate: 'NewsletterTemplateSharing',
|
|
82
|
+
svgPathGridIcon: 'M6.9375 5.25C5.59802 5.25 4.5 6.34802 4.5 7.6875V13.6875V15.9507C4.5 16.6825 5.39622 17.1394 5.98828 16.7095C5.98853 16.7095 5.98877 16.7095 5.98901 16.7095L7.60913 15.531C7.91811 16.5231 8.84788 17.25 9.9375 17.25H14.6294L18.011 19.7095C18.0112 19.7095 18.0115 19.7095 18.0117 19.7095C18.6038 20.1394 19.5 19.6825 19.5 18.9507V16.6875V10.6875C19.5 9.34802 18.402 8.25 17.0625 8.25H16.5V7.6875C16.5 6.34802 15.402 5.25 14.0625 5.25H6.9375ZM6.9375 6.375H14.0625C14.7938 6.375 15.375 6.95623 15.375 7.6875V11.8125C15.375 12.5438 14.7938 13.125 14.0625 13.125H9.1875C9.06854 13.125 8.95264 13.1627 8.85645 13.2327L5.625 15.583V13.6875V7.6875C5.625 6.95623 6.20623 6.375 6.9375 6.375ZM16.5 9.375H17.0625C17.7938 9.375 18.375 9.95623 18.375 10.6875V16.6875V18.583L15.1436 16.2327C15.0474 16.1627 14.9315 16.125 14.8125 16.125H9.9375C9.20623 16.125 8.625 15.5438 8.625 14.8125V14.792L9.37061 14.25H14.0625C15.402 14.25 16.5 13.152 16.5 11.8125V9.375Z',
|
|
83
|
+
svgPathGridIconViewBox: '0 0 24 24',
|
|
84
|
+
optionHideTimestamp: 'newsHideTimestampSharing',
|
|
85
|
+
optionForceNewsAuthorName: 'forceNewsAuthorNameSharing',
|
|
86
|
+
optionNewsComments: 'newsCommentsSharing',
|
|
87
|
+
optionNewsNotifications: 'newsNotificationsSharing',
|
|
88
|
+
optionUseLargeNews: 'useLargeNewsSharing',
|
|
89
|
+
localStorageNewsletterBrandData: "newsletterBrandDataSharing",
|
|
90
|
+
localStorageNewsletterMakerLastUpdate: "newsletterMakerLastUpdateSharing",
|
|
91
|
+
localStorageNewsletterMakerData: "newsletterMakerDataSharing",
|
|
92
|
+
stringPostfixSubmissionEmail: 'newssubmissionemailSharing',
|
|
93
|
+
menuOrder: 3.5,
|
|
94
|
+
textTipKeepYourTVNewsFeedActiveAndCurrent: 'Tip: Keep your TV Sharing feed active and current, but don’t flood\nit with so much content that important posts get lost.',
|
|
95
|
+
textFeaturedNews: 'Featured Sharing',
|
|
96
|
+
textIsThisAFeaturedNewsArticle: 'Is this a featured sharing?',
|
|
97
|
+
textFeaturedNewsArticlesWillBeHighlighted: 'Featured sharings will be highlighted on the Home page.',
|
|
98
|
+
textThisPostHasPreviouslyBeenPublished: "This sharing has previously been published. Are you sure you want to continue?",
|
|
99
|
+
textNewsletterTitlePostfix: 'Sharing',
|
|
100
|
+
textCreateNewsletter: 'Create Sharing',
|
|
101
|
+
textNoSelectedNews: 'No selected sharing yet',
|
|
102
|
+
textNewsletterTitle: 'Sharing Title',
|
|
103
|
+
textSelectNews: 'Select Sharing',
|
|
104
|
+
textSelectedNews: 'Selected Sharing',
|
|
105
|
+
textAddEditNewsPostfix: 'sharing',
|
|
106
106
|
textNoteThisWillNotChangeInTheApp: function textNoteThisWillNotChangeInTheApp(changeText) {
|
|
107
|
-
return "Note: This will not ".concat(changeText, " the
|
|
107
|
+
return "Note: This will not ".concat(changeText, " the sharing in the app");
|
|
108
108
|
},
|
|
109
|
-
textAreYouSureYouWantToDelete: "Are you sure you want to delete that
|
|
110
|
-
textThereAreNoNews: 'There are no
|
|
111
|
-
textTitleNews: '
|
|
112
|
-
textSubmitYourNewNewsPostHere: 'Submit your new
|
|
113
|
-
textPrintNewsletter: 'Print
|
|
114
|
-
textBackToNews: 'Back to
|
|
115
|
-
textNewsAnalytics: '
|
|
116
|
-
textNewsSubmission: '
|
|
117
|
-
textNewsPost: '
|
|
118
|
-
textNewsPostTitle: '
|
|
119
|
-
textWhenANewsletterSubmissionIsAdded: 'When a
|
|
120
|
-
textIsThisAFeaturedNewsPost: 'Is this a featured
|
|
121
|
-
textFeaturedNewsPostWillBeHighlighted: 'Featured
|
|
122
|
-
textSubmittedANewsletterPostForReview: 'submitted a
|
|
123
|
-
textApprovedANewsSubmission: 'approved a
|
|
124
|
-
textRejectedANewsSubmission: 'rejected a
|
|
125
|
-
textAddedANewsletterPost: 'added a
|
|
126
|
-
textEditedANewsletterPost: 'edited a
|
|
127
|
-
textDeletedANewsletterPost: 'deleted a
|
|
128
|
-
textSingularName: '
|
|
129
|
-
textThereIsNoNews: 'There is no
|
|
130
|
-
textTheAuthorOfANewsPostWillAlwaysDisplay: 'The author of a
|
|
131
|
-
textAllowNewsComments: 'Allow
|
|
132
|
-
textUsersCanPostCommentsOnNews: 'Users can post comments on
|
|
133
|
-
textAllowNewsNotification: 'Allow
|
|
134
|
-
textWhenSettingUpANewsPost: 'When setting up a
|
|
135
|
-
textCondensedNewsStyle: 'Condensed
|
|
136
|
-
textTheNewsSectionUsesCondensedNewsItems: 'The
|
|
137
|
-
textMenuTitle: '
|
|
138
|
-
textPermissionNewsletterManagement: '
|
|
139
|
-
textPermissionNewsletterSubmission: '
|
|
109
|
+
textAreYouSureYouWantToDelete: "Are you sure you want to delete that sharing?",
|
|
110
|
+
textThereAreNoNews: 'There are no sharings',
|
|
111
|
+
textTitleNews: 'Sharing',
|
|
112
|
+
textSubmitYourNewNewsPostHere: 'Submit your new sharing here. You will be notified once your sharing has been approved.',
|
|
113
|
+
textPrintNewsletter: 'Print Sharing',
|
|
114
|
+
textBackToNews: 'Back to Sharing',
|
|
115
|
+
textNewsAnalytics: 'SHARING ANALYTICS',
|
|
116
|
+
textNewsSubmission: 'SHARING SUBMISSION',
|
|
117
|
+
textNewsPost: 'SHARING POST',
|
|
118
|
+
textNewsPostTitle: 'Sharing title',
|
|
119
|
+
textWhenANewsletterSubmissionIsAdded: 'When a sharing submission is added, the entered address will recieve an email notification.',
|
|
120
|
+
textIsThisAFeaturedNewsPost: 'Is this a featured sharing?',
|
|
121
|
+
textFeaturedNewsPostWillBeHighlighted: 'Featured sharing will be highlighted on the Home page.',
|
|
122
|
+
textSubmittedANewsletterPostForReview: 'submitted a sharing for review:',
|
|
123
|
+
textApprovedANewsSubmission: 'approved a sharing submission:',
|
|
124
|
+
textRejectedANewsSubmission: 'rejected a sharing submission:',
|
|
125
|
+
textAddedANewsletterPost: 'added a sharing:',
|
|
126
|
+
textEditedANewsletterPost: 'edited a sharing:',
|
|
127
|
+
textDeletedANewsletterPost: 'deleted a sharing:',
|
|
128
|
+
textSingularName: 'Sharing',
|
|
129
|
+
textThereIsNoNews: 'There is no Sharing',
|
|
130
|
+
textTheAuthorOfANewsPostWillAlwaysDisplay: 'The author of a sharing will always display.',
|
|
131
|
+
textAllowNewsComments: 'Allow Sharing Comments',
|
|
132
|
+
textUsersCanPostCommentsOnNews: 'Users can post comments on Sharing within the app.',
|
|
133
|
+
textAllowNewsNotification: 'Allow Sharing Notifications',
|
|
134
|
+
textWhenSettingUpANewsPost: 'When setting up a sharing, the creator may choose to send a push notification to users of the app.',
|
|
135
|
+
textCondensedNewsStyle: 'Condensed Sharing Style',
|
|
136
|
+
textTheNewsSectionUsesCondensedNewsItems: 'The Sharing section uses condensed Sharing items - smaller images, less information and less scrolling.',
|
|
137
|
+
textMenuTitle: 'Sharing',
|
|
138
|
+
textPermissionNewsletterManagement: 'Sharing Management',
|
|
139
|
+
textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)',
|
|
140
|
+
// Comment subscription notification preference
|
|
141
|
+
notificationPreference: {
|
|
142
|
+
key: 'newsSharingComments',
|
|
143
|
+
label: 'Sharing comments',
|
|
144
|
+
permission: 'newsletterSharing'
|
|
145
|
+
}
|
|
140
146
|
};
|
|
141
147
|
|
|
142
148
|
// import * as PlussCore from '../../pluss-core/src';
|
|
@@ -300,7 +306,8 @@
|
|
|
300
306
|
init: function init(environment) {
|
|
301
307
|
FeatureConfig.env = environment;
|
|
302
308
|
PlussCore__namespace.Config.init(environment);
|
|
303
|
-
}
|
|
309
|
+
},
|
|
310
|
+
notificationPreference: values.notificationPreference
|
|
304
311
|
};
|
|
305
312
|
|
|
306
313
|
var Components$2 = PlussCore__namespace.Components;
|
package/package.json
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
2
|
+
"name": "@plusscommunities/pluss-newsletter-web-sharing",
|
|
3
|
+
"version": "1.4.37",
|
|
4
|
+
"description": "Extension package to enable newsletter on Pluss Communities Platform",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "npm i && rollup -c",
|
|
8
|
+
"betapatch": "npm version prepatch --preid=beta",
|
|
9
|
+
"patch": "npm version patch",
|
|
10
|
+
"betaupload": "npm run build && npm publish --access public --tag beta && rm -rf node_modules",
|
|
11
|
+
"betaupload:p": "npm run betapatch && npm run betaupload",
|
|
12
|
+
"upload": "npm run build && npm publish --access public && rm -rf node_modules",
|
|
13
|
+
"upload:p": "npm run patch && npm run upload",
|
|
14
|
+
"copy:add": "run(){ ext=${1:-default}; test -f src/values.config.$ext.js || cp src/values.config.default.js src/values.config.$ext.js; }; run",
|
|
15
|
+
"copy:get": "echo $npm_package_name",
|
|
16
|
+
"copy:set": "run(){ target='\\@plusscommunities\\/pluss-newsletter-web'; ext=${1:-default}; [ $ext == 'default' ] && replace=$target || replace=$target'-'$ext; echo 'Setting target to '$replace; test -f src/values.config.$ext.js && cp -f src/values.config.$ext.js src/values.config.js; sed -i '' -e 's/'$target'.*\"/'$replace'\"/g' package.json; }; run",
|
|
17
|
+
"copy:betaupload": "npm run betapatch; for file in `ls ./src/values.config.*.js`; do dup=`echo $file | sed 's/.*values\\.config\\.\\(.*\\)\\.js/\\1/'`; npm run copy:set $dup; npm run betaupload; done; npm run copy:set;",
|
|
18
|
+
"copy:upload": "npm run patch; for file in `ls ./src/values.config.*.js`; do dup=`echo $file | sed 's/.*values\\.config\\.\\(.*\\)\\.js/\\1/'`; npm run copy:set $dup; npm run upload; done; npm run copy:set;"
|
|
19
|
+
},
|
|
20
|
+
"author": "Phillip Suh",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@babel/cli": "^7.14.3",
|
|
24
|
+
"@babel/core": "^7.14.3",
|
|
25
|
+
"@babel/plugin-transform-runtime": "^7.14.3",
|
|
26
|
+
"@babel/preset-env": "^7.14.2",
|
|
27
|
+
"@babel/preset-react": "^7.13.13",
|
|
28
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
29
|
+
"@rollup/plugin-image": "^2.0.6",
|
|
30
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
31
|
+
"autoprefixer": "^10.2.6",
|
|
32
|
+
"rollup": "^2.50.1",
|
|
33
|
+
"rollup-plugin-local-resolve": "^1.0.7",
|
|
34
|
+
"rollup-plugin-styles": "^3.14.1"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@babel/runtime": "^7.14.0"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@plusscommunities/pluss-core-web": "*",
|
|
41
|
+
"@fortawesome/fontawesome-svg-core": "*",
|
|
42
|
+
"@fortawesome/free-solid-svg-icons": "*",
|
|
43
|
+
"@fortawesome/react-fontawesome": "*",
|
|
44
|
+
"lodash": "*",
|
|
45
|
+
"moment": "*",
|
|
46
|
+
"react": "*",
|
|
47
|
+
"react-bootstrap": "*",
|
|
48
|
+
"react-dom": "*",
|
|
49
|
+
"react-fontawesome": "*"
|
|
50
|
+
},
|
|
51
|
+
"keywords": []
|
|
52
52
|
}
|
package/src/feature.config.js
CHANGED
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Awards',
|
|
93
93
|
textPermissionNewsletterManagement: 'Awards Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Awards Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsAwardsComments',
|
|
98
|
+
label: 'Awards comments',
|
|
99
|
+
permission: 'newsletterAwards',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Coaching',
|
|
93
93
|
textPermissionNewsletterManagement: 'Coaching Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Coaching Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsCoachingComments',
|
|
98
|
+
label: 'Coaching comments',
|
|
99
|
+
permission: 'newsletterCoaching',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -93,6 +93,12 @@ const values = {
|
|
|
93
93
|
textMenuTitle: 'Curated Posts',
|
|
94
94
|
textPermissionNewsletterManagement: 'Curated Post Management',
|
|
95
95
|
textPermissionNewsletterSubmission: 'Curated Post Submission (Approval Required)',
|
|
96
|
+
// Comment subscription notification preference
|
|
97
|
+
notificationPreference: {
|
|
98
|
+
key: 'newsCuratedPostsComments',
|
|
99
|
+
label: 'Curated Posts comments',
|
|
100
|
+
permission: 'newsletterCuratedPosts',
|
|
101
|
+
},
|
|
96
102
|
};
|
|
97
103
|
|
|
98
104
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'News',
|
|
93
93
|
textPermissionNewsletterManagement: 'Newsletter Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Newsletter Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsComments',
|
|
98
|
+
label: 'News comments',
|
|
99
|
+
permission: 'newsletter',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -94,6 +94,12 @@ const values = {
|
|
|
94
94
|
textMenuTitle: 'Head Office',
|
|
95
95
|
textPermissionNewsletterManagement: 'Head Office News Management',
|
|
96
96
|
textPermissionNewsletterSubmission: 'Head Office News Submission (Approval Required)',
|
|
97
|
+
// Comment subscription notification preference
|
|
98
|
+
notificationPreference: {
|
|
99
|
+
key: 'newsHeadOfficeComments',
|
|
100
|
+
label: 'Head Office comments',
|
|
101
|
+
permission: 'newsletterHeadOffice',
|
|
102
|
+
},
|
|
97
103
|
};
|
|
98
104
|
|
|
99
105
|
export { values };
|
package/src/values.config.js
CHANGED
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Sharing',
|
|
93
93
|
textPermissionNewsletterManagement: 'Sharing Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsSharingComments',
|
|
98
|
+
label: 'Sharing comments',
|
|
99
|
+
permission: 'newsletterSharing',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Menu',
|
|
93
93
|
textPermissionNewsletterManagement: 'Menu Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Menu Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsMenuComments',
|
|
98
|
+
label: 'Menu comments',
|
|
99
|
+
permission: 'newsletterMenu',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'News 2',
|
|
93
93
|
textPermissionNewsletterManagement: 'Newsletter 2 Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Newsletter 2 Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsTwoComments',
|
|
98
|
+
label: 'News 2 comments',
|
|
99
|
+
permission: 'newsletterTwo',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'News A',
|
|
93
93
|
textPermissionNewsletterManagement: 'Newsletter A Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Newsletter A Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsAComments',
|
|
98
|
+
label: 'News A comments',
|
|
99
|
+
permission: 'newsletterA',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'News B',
|
|
93
93
|
textPermissionNewsletterManagement: 'Newsletter B Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Newsletter B Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsBComments',
|
|
98
|
+
label: 'News B comments',
|
|
99
|
+
permission: 'newsletterB',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'News C',
|
|
93
93
|
textPermissionNewsletterManagement: 'Newsletter C Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Newsletter C Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsCComments',
|
|
98
|
+
label: 'News C comments',
|
|
99
|
+
permission: 'newsletterC',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'News D',
|
|
93
93
|
textPermissionNewsletterManagement: 'Newsletter D Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Newsletter D Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsDComments',
|
|
98
|
+
label: 'News D comments',
|
|
99
|
+
permission: 'newsletterD',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -93,6 +93,12 @@ const values = {
|
|
|
93
93
|
textMenuTitle: 'Notice Board',
|
|
94
94
|
textPermissionNewsletterManagement: 'Notice Board Management',
|
|
95
95
|
textPermissionNewsletterSubmission: 'Notice Board Submission (Approval Required)',
|
|
96
|
+
// Comment subscription notification preference
|
|
97
|
+
notificationPreference: {
|
|
98
|
+
key: 'newsNoticeBoardComments',
|
|
99
|
+
label: 'Notice Board comments',
|
|
100
|
+
permission: 'newsletterNoticeBoard',
|
|
101
|
+
},
|
|
96
102
|
};
|
|
97
103
|
|
|
98
104
|
export { values };
|
|
@@ -94,6 +94,12 @@ const values = {
|
|
|
94
94
|
textMenuTitle: 'Personal Development Hub',
|
|
95
95
|
textPermissionNewsletterManagement: 'Personal Development Management',
|
|
96
96
|
textPermissionNewsletterSubmission: 'Personal Development Submission (Approval Required)',
|
|
97
|
+
// Comment subscription notification preference
|
|
98
|
+
notificationPreference: {
|
|
99
|
+
key: 'newsPersonalDevComments',
|
|
100
|
+
label: 'Personal Development comments',
|
|
101
|
+
permission: 'newsletterPersonalDev',
|
|
102
|
+
},
|
|
97
103
|
};
|
|
98
104
|
|
|
99
105
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Products',
|
|
93
93
|
textPermissionNewsletterManagement: 'Product Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Product Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsProductsComments',
|
|
98
|
+
label: 'Products comments',
|
|
99
|
+
permission: 'newsletterProducts',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -96,6 +96,12 @@ const values = {
|
|
|
96
96
|
textMenuTitle: 'Projects',
|
|
97
97
|
textPermissionNewsletterManagement: 'Projects Management',
|
|
98
98
|
textPermissionNewsletterSubmission: 'Projects Submission (Approval Required)',
|
|
99
|
+
// Comment subscription notification preference
|
|
100
|
+
notificationPreference: {
|
|
101
|
+
key: 'newsProjectsComments',
|
|
102
|
+
label: 'Projects comments',
|
|
103
|
+
permission: 'newsletterProjects',
|
|
104
|
+
},
|
|
99
105
|
};
|
|
100
106
|
|
|
101
107
|
export { values };
|
|
@@ -94,6 +94,12 @@ const values = {
|
|
|
94
94
|
textMenuTitle: 'Sales',
|
|
95
95
|
textPermissionNewsletterManagement: 'Sales Management',
|
|
96
96
|
textPermissionNewsletterSubmission: 'Sales Submission (Approval Required)',
|
|
97
|
+
// Comment subscription notification preference
|
|
98
|
+
notificationPreference: {
|
|
99
|
+
key: 'newsSalesComments',
|
|
100
|
+
label: 'Sales comments',
|
|
101
|
+
permission: 'newsletterSales',
|
|
102
|
+
},
|
|
97
103
|
};
|
|
98
104
|
|
|
99
105
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Sharing',
|
|
93
93
|
textPermissionNewsletterManagement: 'Sharing Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsSharingComments',
|
|
98
|
+
label: 'Sharing comments',
|
|
99
|
+
permission: 'newsletterSharing',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Shifts',
|
|
93
93
|
textPermissionNewsletterManagement: 'Shifts Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Shifts Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsShiftsComments',
|
|
98
|
+
label: 'Shifts comments',
|
|
99
|
+
permission: 'newsletterShifts',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|
|
@@ -92,6 +92,12 @@ const values = {
|
|
|
92
92
|
textMenuTitle: 'Training',
|
|
93
93
|
textPermissionNewsletterManagement: 'Training Management',
|
|
94
94
|
textPermissionNewsletterSubmission: 'Training Submission (Approval Required)',
|
|
95
|
+
// Comment subscription notification preference
|
|
96
|
+
notificationPreference: {
|
|
97
|
+
key: 'newsTrainingComments',
|
|
98
|
+
label: 'Training comments',
|
|
99
|
+
permission: 'newsletterTraining',
|
|
100
|
+
},
|
|
95
101
|
};
|
|
96
102
|
|
|
97
103
|
export { values };
|