@plusscommunities/pluss-newsletter-web-sharing 1.4.36 → 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 CHANGED
@@ -158,7 +158,13 @@ var values = {
158
158
  textTheNewsSectionUsesCondensedNewsItems: 'The Sharing section uses condensed Sharing items - smaller images, less information and less scrolling.',
159
159
  textMenuTitle: 'Sharing',
160
160
  textPermissionNewsletterManagement: 'Sharing Management',
161
- textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)'
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
@@ -114,7 +114,13 @@ var values = {
114
114
  textTheNewsSectionUsesCondensedNewsItems: 'The Sharing section uses condensed Sharing items - smaller images, less information and less scrolling.',
115
115
  textMenuTitle: 'Sharing',
116
116
  textPermissionNewsletterManagement: 'Sharing Management',
117
- textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)'
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
@@ -136,7 +136,13 @@
136
136
  textTheNewsSectionUsesCondensedNewsItems: 'The Sharing section uses condensed Sharing items - smaller images, less information and less scrolling.',
137
137
  textMenuTitle: 'Sharing',
138
138
  textPermissionNewsletterManagement: 'Sharing Management',
139
- textPermissionNewsletterSubmission: 'Sharing Submission (Approval Required)'
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-newsletter-web-sharing",
3
- "version": "1.4.36",
3
+ "version": "1.4.37",
4
4
  "description": "Extension package to enable newsletter on Pluss Communities Platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -164,5 +164,6 @@ const FeatureConfig = {
164
164
  FeatureConfig.env = environment;
165
165
  PlussCore.Config.init(environment);
166
166
  },
167
+ notificationPreference: values.notificationPreference,
167
168
  };
168
169
  export default FeatureConfig;
@@ -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 };
@@ -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 };