@ieeesa-npm/groups 0.15.8 → 0.15.10
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/esm2022/lib/assets/constants.json +75 -4
- package/esm2022/lib/components/add-user-roster/add-user-roster.component.mjs +86 -35
- package/esm2022/lib/components/edit-user-roles/edit-user-roles.component.mjs +94 -51
- package/esm2022/lib/components/interest-form/interest-form.component.mjs +104 -0
- package/esm2022/lib/components/interest-form-management/interest-form-management.component.mjs +63 -0
- package/esm2022/lib/components/interested-rosters/interested-rosters.component.mjs +28 -0
- package/esm2022/lib/components/org-multi-select/org-multi-select.component.mjs +455 -0
- package/esm2022/lib/components/roster-import/roster-import.component.mjs +149 -82
- package/esm2022/lib/components/roster-import-history/roster-import-history.component.mjs +232 -0
- package/esm2022/lib/components/tree-view/tree-view.component.mjs +26 -5
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +10 -3
- package/esm2022/lib/groups.component.mjs +60 -6
- package/esm2022/lib/models/group-action.model.mjs +2 -1
- package/esm2022/lib/models/group-function-type.model.mjs +2 -1
- package/esm2022/lib/models/permission-type.model.mjs +2 -1
- package/esm2022/lib/models/roster-import.model.mjs +34 -17
- package/esm2022/lib/services/roster-import-api.service.mjs +174 -0
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/ieeesa-npm-groups.mjs +1562 -308
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/components/add-user-roster/add-user-roster.component.d.ts +30 -0
- package/lib/components/edit-user-roles/edit-user-roles.component.d.ts +31 -0
- package/lib/components/interest-form/interest-form.component.d.ts +75 -0
- package/lib/components/interest-form-management/interest-form-management.component.d.ts +31 -0
- package/lib/components/interested-rosters/interested-rosters.component.d.ts +17 -0
- package/lib/components/org-multi-select/org-multi-select.component.d.ts +212 -0
- package/lib/components/roster-import/roster-import.component.d.ts +77 -38
- package/lib/components/roster-import-history/roster-import-history.component.d.ts +102 -0
- package/lib/components/tree-view/tree-view.component.d.ts +6 -3
- package/lib/components/view-roster/view-roster.component.d.ts +5 -0
- package/lib/groups.component.d.ts +17 -0
- package/lib/models/group-action.model.d.ts +2 -1
- package/lib/models/group-function-type.model.d.ts +2 -1
- package/lib/models/permission-type.model.d.ts +2 -1
- package/lib/models/roster-import.model.d.ts +104 -21
- package/lib/services/groups.service.d.ts +4 -0
- package/lib/services/roster-import-api.service.d.ts +108 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
- package/esm2022/lib/assets/roster-import-mocks.mjs +0 -98
- package/lib/assets/roster-import-mocks.d.ts +0 -27
|
@@ -202,6 +202,13 @@
|
|
|
202
202
|
"label": "Collapse Group",
|
|
203
203
|
"toolTip": "Collapse Group",
|
|
204
204
|
"iconURL": "assets/images/sprites/sprites.svg#icon-expand-collapse-minus"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": 7,
|
|
208
|
+
"ariaLabel": "Manage Interest Form",
|
|
209
|
+
"label": "Manage Interest Form",
|
|
210
|
+
"toolTip": "Manage Interest Form",
|
|
211
|
+
"iconURL": "assets/images/sprites/sprites.svg#icon-manage-interest-form"
|
|
205
212
|
}
|
|
206
213
|
],
|
|
207
214
|
"groupActionsMenu": {
|
|
@@ -211,6 +218,35 @@
|
|
|
211
218
|
"ariaLabel": "Group Actions Menu"
|
|
212
219
|
}
|
|
213
220
|
},
|
|
221
|
+
"rosterInterests": {
|
|
222
|
+
"heading": "Roster Interests",
|
|
223
|
+
"closeAriaLabel": "Close Roster Interests dialog",
|
|
224
|
+
"tabs": {
|
|
225
|
+
"interestedRosters": "Interested Rosters",
|
|
226
|
+
"interestForm": "Interest Form"
|
|
227
|
+
},
|
|
228
|
+
"footer": {
|
|
229
|
+
"cancel": "Cancel",
|
|
230
|
+
"preview": "Preview Form"
|
|
231
|
+
},
|
|
232
|
+
"interestedRosters": {
|
|
233
|
+
"placeholderMessage": "Interested rosters will be listed here."
|
|
234
|
+
},
|
|
235
|
+
"interestForm": {
|
|
236
|
+
"changesNotice": "Changes to the interest form affect future submissions only. Existing responses will not be modified.",
|
|
237
|
+
"sectionTitle": "Interest Form",
|
|
238
|
+
"sectionDescription": "Enable a customisable form for interest requests.",
|
|
239
|
+
"standardQuestionsTitle": "Locked Standard Questions",
|
|
240
|
+
"standardQuestionsHint": "cannot be removed",
|
|
241
|
+
"standardTag": "Standard · Required",
|
|
242
|
+
"standardQuestions": ["Name", "Email Address", "Affiliation"],
|
|
243
|
+
"defaultMembershipTitle": "Default Membership Level",
|
|
244
|
+
"defaultMembershipDescription": "Select the membership level automatically assigned",
|
|
245
|
+
"membershipLevels": ["Observer", "Voting Member", "Associate Member"],
|
|
246
|
+
"customQuestionsTitle": "Custom Questions",
|
|
247
|
+
"addQuestionLabel": "+ Add Question"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
214
250
|
"deleteGroup": {
|
|
215
251
|
"message": {
|
|
216
252
|
"success": {
|
|
@@ -294,7 +330,7 @@
|
|
|
294
330
|
},
|
|
295
331
|
"bulkImport": {
|
|
296
332
|
"title": "Bulk Import",
|
|
297
|
-
"subtitle": "Upload CSV or
|
|
333
|
+
"subtitle": "Upload CSV or XLSX file"
|
|
298
334
|
}
|
|
299
335
|
},
|
|
300
336
|
"rosterImport": {
|
|
@@ -311,11 +347,22 @@
|
|
|
311
347
|
"Affiliation",
|
|
312
348
|
"Classification"
|
|
313
349
|
],
|
|
350
|
+
"sampleRows": [
|
|
351
|
+
[
|
|
352
|
+
"John Doe",
|
|
353
|
+
"john.doe@example.com",
|
|
354
|
+
"Member",
|
|
355
|
+
"Individual Member",
|
|
356
|
+
"Acme Corp",
|
|
357
|
+
"IEEE",
|
|
358
|
+
"Producer"
|
|
359
|
+
]
|
|
360
|
+
],
|
|
314
361
|
"uploadLabel": "Upload your file",
|
|
315
362
|
"downloadSampleLabel": "Download Sample File",
|
|
316
363
|
"sampleFileName": "Roster_Sample.csv",
|
|
317
364
|
"dropzoneText": "Drag & drop a file here, or click to browse",
|
|
318
|
-
"dropzoneHint": "Accepted formats: .csv, .
|
|
365
|
+
"dropzoneHint": "Accepted formats: .csv, .xlsx",
|
|
319
366
|
"processingLabel": "Processing file records....",
|
|
320
367
|
"processedLabel": "Processing file records....",
|
|
321
368
|
"buttons": {
|
|
@@ -330,9 +377,9 @@
|
|
|
330
377
|
"errorsHeader": "Row errors — these rows will be skipped"
|
|
331
378
|
},
|
|
332
379
|
"validation": {
|
|
333
|
-
"unsupportedType": "Incorrect file type. Please upload a valid .csv
|
|
380
|
+
"unsupportedType": "Incorrect file type. Please upload a valid .csv or .xlsx file.",
|
|
334
381
|
"emptyFile": "The selected file is empty. Please upload a file with roster records.",
|
|
335
|
-
"fileTooLarge": "File size exceeds the maximum allowed size of
|
|
382
|
+
"fileTooLarge": "File size exceeds the maximum allowed size of 10MB.",
|
|
336
383
|
"singleFileOnly": "Please upload a single file at a time.",
|
|
337
384
|
"noDataRecords": "No roster data found. The selected file contains headers but no roster records.",
|
|
338
385
|
"missingHeaders": "Incorrect file format. Mandatory column headers are missing",
|
|
@@ -349,6 +396,26 @@
|
|
|
349
396
|
"downloadErrorLog": "Download Error log"
|
|
350
397
|
}
|
|
351
398
|
},
|
|
399
|
+
"rosterImportHistory": {
|
|
400
|
+
"heading": "View History",
|
|
401
|
+
"backToRosters": "Back to Rosters",
|
|
402
|
+
"buttonLabel": "View History",
|
|
403
|
+
"ariaLabel": "View import history",
|
|
404
|
+
"importedFilesTitle": "Imported Files",
|
|
405
|
+
"tableColumns": {
|
|
406
|
+
"timestamp": "Timestamp",
|
|
407
|
+
"personImported": "Person Imported",
|
|
408
|
+
"fileName": "File Name",
|
|
409
|
+
"addedRows": "Added Rows",
|
|
410
|
+
"errors": "Errors",
|
|
411
|
+
"targetGroup": "Target Group"
|
|
412
|
+
},
|
|
413
|
+
"noRecordsMessage": "No import history found.",
|
|
414
|
+
"loadingMessage": "Loading import history...",
|
|
415
|
+
"errorMessage": "Unable to load import history. Please try again.",
|
|
416
|
+
"forbiddenMessage": "You do not have permission to view the import history for this group.",
|
|
417
|
+
"emptyFieldPlaceholder": "—"
|
|
418
|
+
},
|
|
352
419
|
"editUserRoles": {
|
|
353
420
|
"heading": "Edit System User",
|
|
354
421
|
"message": {
|
|
@@ -399,6 +466,10 @@
|
|
|
399
466
|
"1037": "Group and parent group should not be same.",
|
|
400
467
|
"1038": "Reassigning parent for this group is not allowed.",
|
|
401
468
|
"1039": "You may not remove yourself from admin role.",
|
|
469
|
+
"1072": "Incorrect file type. Only .xlsx and .csv files are supported.",
|
|
470
|
+
"1073": "File size exceeds the maximum allowed size of 10MB.",
|
|
471
|
+
"1074": "The file exceeds the maximum allowed limit of 10,000 rows.",
|
|
472
|
+
"1075": "This import can no longer be processed in its current state. Please start a new import.",
|
|
402
473
|
"2001": "No user found. Please add details for the new user.",
|
|
403
474
|
"2002": "Role does not belong to the group type.",
|
|
404
475
|
"2010": "User not found.",
|