fansunited-widget-poll 2.2.2 → 2.3.0

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/README.md CHANGED
@@ -234,7 +234,26 @@ const labels = {
234
234
  at: "At:",
235
235
  deleteScheduledTaskModalTitle: "Delete scheduled task",
236
236
  deleteScheduledTaskModalParagraph: "Are you sure you want to delete the following scheduled task: ",
237
-
237
+ voting: 'Voting',
238
+ reports: 'Reports',
239
+ exports: 'Exports',
240
+ option: 'Option',
241
+ exportUsersData: 'Export users data',
242
+ category: 'Category',
243
+ action: 'Action',
244
+ exportAllUsers: 'Export all users',
245
+ exportAllUsersDescription: 'Export all users who voted in the poll.',
246
+ participations: 'Participations',
247
+ performanceByDay: 'Performance by day',
248
+ pollChartErrorMessage: 'There was a problem with fetching information about poll participation. Please try again',
249
+ exportUsersForOption: 'Export users voted for option',
250
+ exportAllUsersForOption: 'Export all users who voted for option',
251
+ exportForOption: 'Export for option',
252
+ exportUsersLeads: 'Export users leads',
253
+ exportAllUsersLeads: 'Export all users leads',
254
+ exportAllUsersLeadsDescription: 'Export all users collected leads in the poll.',
255
+ usersLeadsExportMessage: 'All users leads have been exported successfully',
256
+ usersLeadsExportErrorMessage: 'There was a problem with exporting all users leads. Please try again',
238
257
  };
239
258
 
240
259
  const App = () => {
@@ -418,6 +437,12 @@ Here is all information about **`LabelsModel`**:
418
437
  | `exportAllUsersDescription` | Description for export all users table row | Export all users who voted in the poll. |
419
438
  | `participations` | Legend for participations chart | Participations |
420
439
  | `performanceByDay` | Header for participations chart | Performance by day |
440
+ | `pollChartErrorMessage` | Toast error message when a chart data is fetching | There was a problem with fetching information about poll participation. Please try again |
421
441
  | `exportUsersForOption` | Title for export users table row | Export users voted for option |
422
442
  | `exportAllUsersForOption` | Description for export users table row | Export all users who voted for option |
423
- | `exportForOption` | Title for export users table row button | Export for option |
443
+ | `exportForOption` | Title for export users table row button | Export for option |
444
+ | `exportUsersLeads` | Title in export users leads table | Export users leads |
445
+ | `exportAllUsersLeads` | Category label in export users leads table | Export all users leads |
446
+ | `exportAllUsersLeadsDescription` | Category description label in export users leads table | Export all users collected leads in the poll. |
447
+ | `exportAllUsersLeadsDescription` | Success toast message when exporting users leads | All users leads have been exported successfully |
448
+ | `exportAllUsersLeadsDescription` | Toast error message when exporting users leads operation fails | There was a problem with exporting all users leads. Please try again |
@@ -171,8 +171,14 @@ export default class LabelsModel {
171
171
  usersExportErrorMessage: string;
172
172
  participations: string;
173
173
  performanceByDay: string;
174
+ pollChartErrorMessage: string;
174
175
  exportUsersForOption: string;
175
176
  exportAllUsersForOption: string;
176
177
  exportForOption: string;
178
+ exportUsersLeads: string;
179
+ exportAllUsersLeads: string;
180
+ exportAllUsersLeadsDescription: string;
181
+ usersLeadsExportMessage: string;
182
+ usersLeadsExportErrorMessage: string;
177
183
  constructor(labels?: LabelsModel);
178
184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-widget-poll",
3
- "version": "2.2.2",
3
+ "version": "2.3.0",
4
4
  "main": "poll-manager.es.js",
5
5
  "author": "Fans United",
6
6
  "description": "",