@ieeesa-npm/groups 0.7.2 → 0.7.4
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 +51 -10
- package/esm2022/lib/assets/form-validations.mjs +4 -1
- package/esm2022/lib/components/add-user-roster/add-user-roster.component.mjs +259 -22
- package/esm2022/lib/components/edit-user-roles/edit-user-roles.component.mjs +275 -33
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +442 -96
- package/esm2022/lib/groups.component.mjs +3 -3
- package/esm2022/lib/models/add-or-edit-user-group.model.mjs +1 -1
- package/esm2022/lib/models/classification.model.mjs +2 -0
- package/esm2022/lib/models/filter-type.model.mjs +8 -0
- package/esm2022/lib/models/group-types.model.mjs +1 -1
- package/esm2022/lib/models/group-user-info.model.mjs +1 -1
- package/esm2022/lib/models/member-type.model.mjs +2 -0
- package/esm2022/lib/models/organization.model.mjs +2 -0
- package/esm2022/lib/models/roster-type.model.mjs +7 -0
- package/esm2022/lib/models/table-column-schema-user-group.model.mjs +12 -0
- package/esm2022/lib/models/user.model.mjs +1 -1
- package/esm2022/lib/services/groups.service.mjs +87 -14
- package/esm2022/public-api.mjs +7 -1
- package/fesm2022/ieeesa-npm-groups.mjs +1130 -169
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/assets/form-validations.d.ts +2 -0
- package/lib/components/add-user-roster/add-user-roster.component.d.ts +58 -1
- package/lib/components/edit-user-roles/edit-user-roles.component.d.ts +64 -11
- package/lib/components/view-roster/view-roster.component.d.ts +61 -8
- package/lib/models/add-or-edit-user-group.model.d.ts +24 -8
- package/lib/models/classification.model.d.ts +10 -0
- package/lib/models/filter-type.model.d.ts +5 -0
- package/lib/models/group-types.model.d.ts +1 -0
- package/lib/models/group-user-info.model.d.ts +3 -0
- package/lib/models/member-type.model.d.ts +10 -0
- package/lib/models/organization.model.d.ts +9 -0
- package/lib/models/roster-type.model.d.ts +4 -0
- package/lib/models/table-column-schema-user-group.model.d.ts +9 -0
- package/lib/models/user.model.d.ts +20 -5
- package/lib/services/groups.service.d.ts +67 -28
- package/package.json +3 -3
- package/public-api.d.ts +6 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"addUserRoster": {
|
|
3
|
-
"heading": "New
|
|
3
|
+
"heading": "New User",
|
|
4
4
|
"label": {
|
|
5
5
|
"email": "Email Address",
|
|
6
6
|
"rightButtonLabel": "Search & Continue",
|
|
@@ -8,22 +8,35 @@
|
|
|
8
8
|
"saveButtonLabel": "Save",
|
|
9
9
|
"fullName": "Name",
|
|
10
10
|
"role": "Role",
|
|
11
|
+
"classification": "Classification",
|
|
12
|
+
"representingOrganization": "Representing Organization",
|
|
13
|
+
"memberType": "Member Type",
|
|
11
14
|
"ariaLabel": {
|
|
12
15
|
"email": "Email Address",
|
|
13
16
|
"fullName": "Full name",
|
|
14
|
-
"role": "Role"
|
|
17
|
+
"role": "Role",
|
|
18
|
+
"classification": "Classification",
|
|
19
|
+
"memberType": "Member Type",
|
|
20
|
+
"representingOrganization": "Representing Organization"
|
|
15
21
|
},
|
|
16
22
|
"ariaDescribedById": {
|
|
17
23
|
"email": "ariaEmailAddress",
|
|
18
24
|
"fullName": "ariaFullName",
|
|
19
|
-
"role": "ariaRole"
|
|
25
|
+
"role": "ariaRole",
|
|
26
|
+
"classification": "ariaClassification",
|
|
27
|
+
"memberType": "ariaMemberType",
|
|
28
|
+
"representingOrganization": "ariaRepresentingOrganization"
|
|
20
29
|
}
|
|
21
30
|
},
|
|
22
31
|
"message": {
|
|
23
32
|
"error": {
|
|
24
33
|
"required": "This field is required.",
|
|
34
|
+
"limit": {
|
|
35
|
+
"representingOrganization": "Representing Organization must not be greater than 250 characters long."
|
|
36
|
+
},
|
|
25
37
|
"pattern": {
|
|
26
|
-
"email": "Please enter valid email."
|
|
38
|
+
"email": "Please enter valid email.",
|
|
39
|
+
"representingOrganization": "Representing Organization contains invalid characters. Please enter alphanumeric, special characters and whitespace only."
|
|
27
40
|
}
|
|
28
41
|
},
|
|
29
42
|
"success": {
|
|
@@ -33,7 +46,11 @@
|
|
|
33
46
|
"supportText": {
|
|
34
47
|
"emailAddress": "Please enter valid email address which includes @ symbol, dot (.) and domain. For example, user@ieee.org",
|
|
35
48
|
"fullName": "Enter user full name.",
|
|
36
|
-
"role": "<strong>Note:</strong>
|
|
49
|
+
"role": "<strong>Note:</strong> In order to remove all roles, please remove the user from the system user group.",
|
|
50
|
+
"roleForIndividualRoster": "Select Role(s) from the options.",
|
|
51
|
+
"classification": "Select Classification from the dropdown.",
|
|
52
|
+
"memberType": "Select Member Type from the dropdown.",
|
|
53
|
+
"representingOrganization": "Enter Representing Organization details for a user."
|
|
37
54
|
}
|
|
38
55
|
},
|
|
39
56
|
"createGroup": {
|
|
@@ -193,13 +210,23 @@
|
|
|
193
210
|
}
|
|
194
211
|
},
|
|
195
212
|
"viewRoster": {
|
|
196
|
-
"
|
|
213
|
+
"tableColumnsForSystemUsers": {
|
|
197
214
|
"name": "Name",
|
|
198
215
|
"email": "Email Address",
|
|
199
216
|
"role": "Role"
|
|
200
217
|
},
|
|
201
|
-
"
|
|
202
|
-
|
|
218
|
+
"tableColumnsForIndividual": {
|
|
219
|
+
"name": "Name",
|
|
220
|
+
"employer": "Employer",
|
|
221
|
+
"email": "Email address",
|
|
222
|
+
"memberType": "Member Type",
|
|
223
|
+
"organizationName": "Representing Org",
|
|
224
|
+
"classification": "Classification",
|
|
225
|
+
"role": "Role"
|
|
226
|
+
},
|
|
227
|
+
"searchPlaceholderSystemUsers": "Search by Name/Email Address",
|
|
228
|
+
"searchPlaceholderIndividual": "Search by Name/Email Address/Representing Org",
|
|
229
|
+
"emptyFieldValueReplacedBy": "-"
|
|
203
230
|
},
|
|
204
231
|
"editUserRoles": {
|
|
205
232
|
"heading": "Edit System User",
|
|
@@ -211,6 +238,7 @@
|
|
|
211
238
|
},
|
|
212
239
|
"errors": {
|
|
213
240
|
"ER1000": "Allowed group types are not found for the selected group!",
|
|
241
|
+
"ER1001": "Roster type is not configured.",
|
|
214
242
|
"1001": "Group Name already in use.",
|
|
215
243
|
"1002": "Group Short Name already in use.",
|
|
216
244
|
"1003": "Parent Group is inactive for the provided subgroup.",
|
|
@@ -243,12 +271,25 @@
|
|
|
243
271
|
"1030": "No record found!",
|
|
244
272
|
"1031": "No record found!",
|
|
245
273
|
"1032": "No record found!",
|
|
246
|
-
"1033": "Please enter
|
|
274
|
+
"1033": "Please enter at least 3 characters to perform search operation.",
|
|
247
275
|
"1034": "Resource Not Found!",
|
|
248
276
|
"2001": "No user(s) found!",
|
|
249
277
|
"2002": "Role does not belong to the group type.",
|
|
250
278
|
"2010": "User not found.",
|
|
251
|
-
"2011": "User not found."
|
|
279
|
+
"2011": "User not found.",
|
|
280
|
+
"20l2": "First Name is required.",
|
|
281
|
+
"2013": "Last Name is required.",
|
|
282
|
+
"2014": "Representation Organization is required.",
|
|
283
|
+
"2015": "Representing Organization contains invalid characters. Please enter alphanumeric, special characters and whitespace only.",
|
|
284
|
+
"2016": "Representing Organization must not be greater than 250 characters long.",
|
|
285
|
+
"2017": "First Name must not be greater than 100 characters long.",
|
|
286
|
+
"2018": "Last Name must not be greater than 100 characters long.",
|
|
287
|
+
"2019": "Classification is required.",
|
|
288
|
+
"2020": "Classification does not exist.",
|
|
289
|
+
"2021": "Member Type does not exist.",
|
|
290
|
+
"2022": "Representation Organization does not exist.",
|
|
291
|
+
"2023": "Member Type is required.",
|
|
292
|
+
"3004": "Organization does not found."
|
|
252
293
|
},
|
|
253
294
|
"ariaLabel": {
|
|
254
295
|
"alert": "Alert"
|
|
@@ -7,5 +7,8 @@ export const GroupsValidationPatterns = {
|
|
|
7
7
|
// Group Scope field regular expression which accept Alpha Numeric, Special Characters and whitespace.
|
|
8
8
|
groupScope: /^(?=.*[a-zA-Z])[\w\s!"#$%&'()*+,-.\/\:;<=>?@[\]^_`{|}~\\]+$/i,
|
|
9
9
|
email: /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/,
|
|
10
|
+
representingOrgNameMaxLength: 250,
|
|
11
|
+
// Representing Organization field regular expression which accept Alpha Numeric, Special Characters and whitespace.
|
|
12
|
+
representingOrganization: /^(?=.*[a-zA-Z])[\w\s!"#$%&'()*+,-.\/\:;<=>?@[\]^_`{|}~\\]+$/i,
|
|
10
13
|
};
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS12YWxpZGF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2dyb3Vwcy9zcmMvbGliL2Fzc2V0cy9mb3JtLXZhbGlkYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHNDQUFzQztBQUN0QyxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRztJQUN0Qyw4R0FBOEc7SUFDOUcsU0FBUyxFQUFFLDhEQUE4RDtJQUN6RSxtSEFBbUg7SUFDbkgsU0FBUyxFQUFFLHNDQUFzQztJQUNqRCxzR0FBc0c7SUFDdEcsVUFBVSxFQUFFLDhEQUE4RDtJQUMxRSxLQUFLLEVBQUUsa0NBQWtDO0lBQ3pDLDRCQUE0QixFQUFFLEdBQUc7SUFDakMsb0hBQW9IO0lBQ3BILHdCQUF3QixFQUN0Qiw4REFBOEQ7Q0FDakUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIG5vLXVzZWxlc3MtZXNjYXBlICovXHJcbmV4cG9ydCBjb25zdCBHcm91cHNWYWxpZGF0aW9uUGF0dGVybnMgPSB7XHJcbiAgLy8gR3JvdXAgTmFtZSBmaWVsZCByZWd1bGFyIGV4cHJlc3Npb24sIHdoaWNoIGFjY2VwdCBBbHBoYSBOdW1lcmljLCBTcGVjaWFsIENoY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