@ieeesa-npm/groups 0.8.5 → 0.8.6
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 +15 -4
- package/esm2022/lib/assets/form-validations.mjs +3 -1
- package/esm2022/lib/components/add-user-roster/add-user-roster.component.mjs +191 -85
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +3 -3
- package/esm2022/lib/models/add-or-edit-user-group.model.mjs +1 -1
- package/fesm2022/ieeesa-npm-groups.mjs +209 -90
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/assets/form-validations.d.ts +1 -0
- package/lib/components/add-user-roster/add-user-roster.component.d.ts +32 -2
- package/lib/models/add-or-edit-user-group.model.d.ts +3 -1
- package/lib/services/groups.service.d.ts +25 -1
- package/package.json +4 -4
|
@@ -28,6 +28,8 @@ var addUserRoster = {
|
|
|
28
28
|
leftButtonLabel: "Cancel",
|
|
29
29
|
saveButtonLabel: "Save",
|
|
30
30
|
fullName: "Name",
|
|
31
|
+
firstName: "First Name",
|
|
32
|
+
lastName: "Last Name",
|
|
31
33
|
role: "Role",
|
|
32
34
|
classification: "Classification",
|
|
33
35
|
representingOrganization: "Representing Organization",
|
|
@@ -35,6 +37,8 @@ var addUserRoster = {
|
|
|
35
37
|
ariaLabel: {
|
|
36
38
|
email: "Email Address",
|
|
37
39
|
fullName: "Full name",
|
|
40
|
+
firstName: "First Name",
|
|
41
|
+
lastName: "Last Name",
|
|
38
42
|
role: "Role",
|
|
39
43
|
classification: "Classification",
|
|
40
44
|
memberType: "Member Type",
|
|
@@ -43,6 +47,8 @@ var addUserRoster = {
|
|
|
43
47
|
ariaDescribedById: {
|
|
44
48
|
email: "ariaEmailAddress",
|
|
45
49
|
fullName: "ariaFullName",
|
|
50
|
+
firstName: "ariaFirstName",
|
|
51
|
+
lastName: "ariaLastName",
|
|
46
52
|
role: "ariaRole",
|
|
47
53
|
classification: "ariaClassification",
|
|
48
54
|
memberType: "ariaMemberType",
|
|
@@ -58,7 +64,8 @@ var addUserRoster = {
|
|
|
58
64
|
},
|
|
59
65
|
pattern: {
|
|
60
66
|
email: "Please enter valid email.",
|
|
61
|
-
representingOrganization: "Representing Organization contains invalid characters. Please enter alphanumeric, special characters and whitespace only."
|
|
67
|
+
representingOrganization: "Representing Organization contains invalid characters. Please enter alphanumeric, special characters and whitespace only.",
|
|
68
|
+
firstOrLastName: "This field is required."
|
|
62
69
|
}
|
|
63
70
|
},
|
|
64
71
|
success: {
|
|
@@ -68,6 +75,8 @@ var addUserRoster = {
|
|
|
68
75
|
supportText: {
|
|
69
76
|
emailAddress: "Please enter valid email address which includes @ symbol, dot (.) and domain. For example, user@ieee.org",
|
|
70
77
|
fullName: "Enter user full name.",
|
|
78
|
+
firstName: "Enter user's first name.",
|
|
79
|
+
lastName: "Enter user's last name.",
|
|
71
80
|
role: "<strong>Note:</strong> In order to remove all roles, please remove the user from the system user group.",
|
|
72
81
|
roleForIndividualRoster: "Select Role(s) from the options.",
|
|
73
82
|
classification: "Select Classification from the dropdown.",
|
|
@@ -214,7 +223,7 @@ var deleteGroup = {
|
|
|
214
223
|
},
|
|
215
224
|
confirmationInfo: {
|
|
216
225
|
leftButtonLabel: "Cancel",
|
|
217
|
-
rightButtonLabel: "
|
|
226
|
+
rightButtonLabel: "Ok",
|
|
218
227
|
promptMessage: "Are you sure you want to delete the group: "
|
|
219
228
|
}
|
|
220
229
|
};
|
|
@@ -226,7 +235,7 @@ var deleteUsersGroup = {
|
|
|
226
235
|
},
|
|
227
236
|
confirmationInfo: {
|
|
228
237
|
leftButtonLabel: "Cancel",
|
|
229
|
-
rightButtonLabel: "
|
|
238
|
+
rightButtonLabel: "Ok",
|
|
230
239
|
promptMessagePart1: "Are you sure you want to remove ",
|
|
231
240
|
promptMessagePart2: "selected user(s) from the"
|
|
232
241
|
}
|
|
@@ -293,7 +302,9 @@ var errors = {
|
|
|
293
302
|
"1032": "No record found!",
|
|
294
303
|
"1033": "Please enter at least 3 characters to perform search operation.",
|
|
295
304
|
"1034": "No record(s) found.",
|
|
296
|
-
"
|
|
305
|
+
"1035": "First name is required.",
|
|
306
|
+
"1036": "Last name is required.",
|
|
307
|
+
"2001": "No user found. Please add details for the new user.",
|
|
297
308
|
"2002": "Role does not belong to the group type.",
|
|
298
309
|
"2010": "User not found.",
|
|
299
310
|
"2011": "User not found.",
|
|
@@ -357,6 +368,8 @@ const GroupsValidationPatterns = {
|
|
|
357
368
|
representingOrgNameMinLength: 3,
|
|
358
369
|
// Representing Organization field regular expression which accept Alpha Numeric, Special Characters and whitespace.
|
|
359
370
|
representingOrganization: /^(?=.*[a-zA-Z])[\w\s!"#$%&'()*+,-.\/\:;<=>?@[\]^_`{|}~\\]+$/i,
|
|
371
|
+
// First or Last Name field regular expression which does not allow only whitespace or empty string.
|
|
372
|
+
firstOrLastName: /^(?!\s*$).+/
|
|
360
373
|
};
|
|
361
374
|
|
|
362
375
|
/* eslint-disable no-unused-vars */
|
|
@@ -2518,11 +2531,17 @@ class AddUserRosterComponent {
|
|
|
2518
2531
|
this.isSearchUserForm = true;
|
|
2519
2532
|
this.userRoles = [];
|
|
2520
2533
|
this.selectedUserRoles = [];
|
|
2534
|
+
this.userInfo = {
|
|
2535
|
+
email: '',
|
|
2536
|
+
name: '',
|
|
2537
|
+
userId: '',
|
|
2538
|
+
};
|
|
2521
2539
|
this.isAddUserFormEmailSearch = false;
|
|
2522
2540
|
this.classifications = [];
|
|
2523
2541
|
this.memberTypes = [];
|
|
2524
2542
|
this.organizations = [];
|
|
2525
2543
|
this.hasClassification = false;
|
|
2544
|
+
this.isUserExist = false;
|
|
2526
2545
|
this.submitFormResponse = new EventEmitter();
|
|
2527
2546
|
this.formCancel = new EventEmitter();
|
|
2528
2547
|
}
|
|
@@ -2536,12 +2555,7 @@ class AddUserRosterComponent {
|
|
|
2536
2555
|
this.hasClassification = groupType?.hasClassification ?? false;
|
|
2537
2556
|
this.groupRosterType = groupType?.rosterType;
|
|
2538
2557
|
if (!this.groupRosterType)
|
|
2539
|
-
this.
|
|
2540
|
-
status: 'custom',
|
|
2541
|
-
message: this.constants?.errors?.ER1001,
|
|
2542
|
-
alertType: AlertType.ERROR,
|
|
2543
|
-
isCloseNeeded: true,
|
|
2544
|
-
});
|
|
2558
|
+
this.showAlertMessage(this.constants?.errors?.ER1001, AlertType.ERROR);
|
|
2545
2559
|
else {
|
|
2546
2560
|
if (this.groupRosterType === GroupRosterType.INDIVIDUAL) {
|
|
2547
2561
|
if (this.hasClassification)
|
|
@@ -2605,12 +2619,34 @@ class AddUserRosterComponent {
|
|
|
2605
2619
|
next: (res) => {
|
|
2606
2620
|
if (res?.status) {
|
|
2607
2621
|
this.userInfo = res?.body;
|
|
2622
|
+
this.isUserExist = true;
|
|
2608
2623
|
this.validateUserExistence();
|
|
2609
2624
|
}
|
|
2610
2625
|
},
|
|
2611
2626
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2612
2627
|
error: (error) => {
|
|
2613
|
-
this.
|
|
2628
|
+
this.isUserExist = false;
|
|
2629
|
+
const errorCodes = error?.error?.body?.errorCodes;
|
|
2630
|
+
if (errorCodes?.includes('2001')) {
|
|
2631
|
+
this.isSearchUserForm = false;
|
|
2632
|
+
this.rightButtonLabel =
|
|
2633
|
+
this.addUserRosterTexts?.label?.saveButtonLabel;
|
|
2634
|
+
this.isSubmitButtonDisabled = true;
|
|
2635
|
+
if (!this.isAddUserFormEmailSearch ||
|
|
2636
|
+
!(this.addUserFormGroupRef.contains('firstName') &&
|
|
2637
|
+
this.addUserFormGroupRef.contains('lastName'))) {
|
|
2638
|
+
this.userInfo.email = email;
|
|
2639
|
+
this.updateAddUserFormGroupValues(JSON.stringify(this.addUserFormGroupRef?.value));
|
|
2640
|
+
}
|
|
2641
|
+
else {
|
|
2642
|
+
this.addUserFormGroupRef?.get('firstName')?.setValue('');
|
|
2643
|
+
this.addUserFormGroupRef?.get('lastName')?.setValue('');
|
|
2644
|
+
}
|
|
2645
|
+
this.showAlertMessage(this.constants?.errors?.['2001'], AlertType.ERROR);
|
|
2646
|
+
}
|
|
2647
|
+
else {
|
|
2648
|
+
this.handleErrors(error);
|
|
2649
|
+
}
|
|
2614
2650
|
},
|
|
2615
2651
|
});
|
|
2616
2652
|
}
|
|
@@ -2630,12 +2666,7 @@ class AddUserRosterComponent {
|
|
|
2630
2666
|
.pipe(takeUntil$1(this.destroy$))
|
|
2631
2667
|
?.subscribe({
|
|
2632
2668
|
next: () => {
|
|
2633
|
-
this.
|
|
2634
|
-
status: 'custom',
|
|
2635
|
-
message: this.constants?.errors?.['1022'],
|
|
2636
|
-
alertType: AlertType.ERROR,
|
|
2637
|
-
isCloseNeeded: true,
|
|
2638
|
-
});
|
|
2669
|
+
this.showAlertMessage(this.constants?.errors?.['1022'], AlertType.ERROR);
|
|
2639
2670
|
},
|
|
2640
2671
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2641
2672
|
error: (error) => {
|
|
@@ -2644,74 +2675,17 @@ class AddUserRosterComponent {
|
|
|
2644
2675
|
this.isSearchUserForm = false;
|
|
2645
2676
|
this.rightButtonLabel =
|
|
2646
2677
|
this.addUserRosterTexts?.label?.saveButtonLabel;
|
|
2678
|
+
const addUserFormGroupPrevValues = JSON.stringify(this.addUserFormGroupRef?.value);
|
|
2647
2679
|
if (!this.isAddUserFormEmailSearch) {
|
|
2648
2680
|
this.selectedUserRoles = [];
|
|
2649
2681
|
this.isSubmitButtonDisabled = true;
|
|
2650
|
-
this.
|
|
2651
|
-
formGroup: [
|
|
2652
|
-
{
|
|
2653
|
-
legend: '',
|
|
2654
|
-
controls: [
|
|
2655
|
-
{
|
|
2656
|
-
type: FormControlType.SEARCH,
|
|
2657
|
-
label: this.addUserRosterTexts?.label?.email + '*',
|
|
2658
|
-
controlName: 'emailSearch',
|
|
2659
|
-
value: this.userInfo?.email,
|
|
2660
|
-
searchType: SearchType.ON_CLICK,
|
|
2661
|
-
validation: [
|
|
2662
|
-
Validators.required,
|
|
2663
|
-
Validators.pattern(GroupsValidationPatterns.email),
|
|
2664
|
-
],
|
|
2665
|
-
supportMessage: this.addUserRosterTexts?.supportText?.emailAddress,
|
|
2666
|
-
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2667
|
-
patternErrorMessage: this.addUserRosterTexts?.message?.error?.pattern
|
|
2668
|
-
?.email,
|
|
2669
|
-
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.email,
|
|
2670
|
-
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById
|
|
2671
|
-
?.email,
|
|
2672
|
-
},
|
|
2673
|
-
{
|
|
2674
|
-
type: FormControlType.TEXT_AREA,
|
|
2675
|
-
label: this.addUserRosterTexts?.label?.fullName + '*',
|
|
2676
|
-
controlName: 'fullName',
|
|
2677
|
-
value: this.userInfo?.name,
|
|
2678
|
-
validation: [Validators.required],
|
|
2679
|
-
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2680
|
-
isReadonly: true,
|
|
2681
|
-
ariaMultiline: false,
|
|
2682
|
-
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.fullName,
|
|
2683
|
-
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById
|
|
2684
|
-
?.fullName,
|
|
2685
|
-
},
|
|
2686
|
-
{
|
|
2687
|
-
type: FormControlType.CHECKBOX,
|
|
2688
|
-
label: this.groupRosterType === GroupRosterType.INDIVIDUAL
|
|
2689
|
-
? this.addUserRosterTexts?.label?.role
|
|
2690
|
-
: this.addUserRosterTexts?.label?.role + '*',
|
|
2691
|
-
controlName: 'roles',
|
|
2692
|
-
checkboxOptions: this.userRoles,
|
|
2693
|
-
minSelectionRequired: 1,
|
|
2694
|
-
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.role,
|
|
2695
|
-
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById
|
|
2696
|
-
?.role,
|
|
2697
|
-
supportMessage: this.groupRosterType === GroupRosterType.INDIVIDUAL
|
|
2698
|
-
? this.addUserRosterTexts?.supportText
|
|
2699
|
-
?.roleForIndividualRoster
|
|
2700
|
-
: this.addUserRosterTexts?.supportText?.role,
|
|
2701
|
-
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2702
|
-
validation: this.groupRosterType === GroupRosterType.INDIVIDUAL
|
|
2703
|
-
? []
|
|
2704
|
-
: [Validators.required],
|
|
2705
|
-
},
|
|
2706
|
-
],
|
|
2707
|
-
},
|
|
2708
|
-
],
|
|
2709
|
-
};
|
|
2682
|
+
this.createAddUserFormGroup();
|
|
2710
2683
|
if (this.groupRosterType === GroupRosterType.INDIVIDUAL) {
|
|
2711
2684
|
this.updateAddUserFormGroup();
|
|
2712
2685
|
}
|
|
2713
2686
|
}
|
|
2714
2687
|
else {
|
|
2688
|
+
this.updateAddUserFormGroupValues(addUserFormGroupPrevValues);
|
|
2715
2689
|
this.addUserFormGroupRef
|
|
2716
2690
|
?.get('emailSearch')
|
|
2717
2691
|
?.setValue(this.userInfo?.email);
|
|
@@ -2727,17 +2701,141 @@ class AddUserRosterComponent {
|
|
|
2727
2701
|
},
|
|
2728
2702
|
});
|
|
2729
2703
|
}
|
|
2704
|
+
/**
|
|
2705
|
+
* Creates add user form group and updates it with prev form values.
|
|
2706
|
+
* @param {string} stringifiedAddUserFormPrevValues
|
|
2707
|
+
* @memberof AddUserRosterComponent
|
|
2708
|
+
*/
|
|
2709
|
+
updateAddUserFormGroupValues(addUserFormValues) {
|
|
2710
|
+
this.createAddUserFormGroup(this.userInfo?.email);
|
|
2711
|
+
if (this.groupRosterType === GroupRosterType.INDIVIDUAL) {
|
|
2712
|
+
const formValues = addUserFormValues ? JSON.parse(addUserFormValues) : '';
|
|
2713
|
+
this.updateAddUserFormGroup({
|
|
2714
|
+
classification: formValues?.classification,
|
|
2715
|
+
memberType: formValues?.memberType,
|
|
2716
|
+
representingOrg: formValues?.representingOrg,
|
|
2717
|
+
});
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
/**
|
|
2721
|
+
* Initialize the add user form group array.
|
|
2722
|
+
* @param {string} [email]
|
|
2723
|
+
* @memberof AddUserRosterComponent
|
|
2724
|
+
*/
|
|
2725
|
+
createAddUserFormGroup(email) {
|
|
2726
|
+
this.addUserFormGroup = {
|
|
2727
|
+
formGroup: [
|
|
2728
|
+
{
|
|
2729
|
+
legend: '',
|
|
2730
|
+
controls: [
|
|
2731
|
+
{
|
|
2732
|
+
type: FormControlType.SEARCH,
|
|
2733
|
+
label: this.addUserRosterTexts?.label?.email + '*',
|
|
2734
|
+
controlName: 'emailSearch',
|
|
2735
|
+
value: this.isUserExist ? this.userInfo?.email : email,
|
|
2736
|
+
searchType: SearchType.ON_CLICK,
|
|
2737
|
+
validation: [
|
|
2738
|
+
Validators.required,
|
|
2739
|
+
Validators.pattern(GroupsValidationPatterns.email),
|
|
2740
|
+
],
|
|
2741
|
+
supportMessage: this.addUserRosterTexts?.supportText?.emailAddress,
|
|
2742
|
+
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2743
|
+
patternErrorMessage: this.addUserRosterTexts?.message?.error?.pattern?.email,
|
|
2744
|
+
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.email,
|
|
2745
|
+
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById?.email,
|
|
2746
|
+
},
|
|
2747
|
+
...(this.isUserExist
|
|
2748
|
+
? [
|
|
2749
|
+
{
|
|
2750
|
+
type: FormControlType.TEXT_AREA,
|
|
2751
|
+
label: this.addUserRosterTexts?.label?.fullName + '*',
|
|
2752
|
+
controlName: 'fullName',
|
|
2753
|
+
value: this.userInfo?.name,
|
|
2754
|
+
validation: [Validators.required],
|
|
2755
|
+
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2756
|
+
isReadonly: true,
|
|
2757
|
+
ariaMultiline: false,
|
|
2758
|
+
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.fullName,
|
|
2759
|
+
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById
|
|
2760
|
+
?.fullName,
|
|
2761
|
+
},
|
|
2762
|
+
]
|
|
2763
|
+
: [
|
|
2764
|
+
{
|
|
2765
|
+
type: FormControlType.INPUT,
|
|
2766
|
+
label: this.addUserRosterTexts?.label?.firstName + '*',
|
|
2767
|
+
controlName: 'firstName',
|
|
2768
|
+
validation: [
|
|
2769
|
+
Validators.required,
|
|
2770
|
+
Validators.pattern(GroupsValidationPatterns.firstOrLastName),
|
|
2771
|
+
],
|
|
2772
|
+
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2773
|
+
patternErrorMessage: this.addUserRosterTexts?.message?.error?.pattern
|
|
2774
|
+
?.firstOrLastName,
|
|
2775
|
+
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.firstName,
|
|
2776
|
+
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById
|
|
2777
|
+
?.firstName,
|
|
2778
|
+
supportMessage: this.addUserRosterTexts?.supportText?.firstName,
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
type: FormControlType.INPUT,
|
|
2782
|
+
label: this.addUserRosterTexts?.label?.lastName + '*',
|
|
2783
|
+
controlName: 'lastName',
|
|
2784
|
+
validation: [
|
|
2785
|
+
Validators.required,
|
|
2786
|
+
Validators.pattern(GroupsValidationPatterns.firstOrLastName),
|
|
2787
|
+
],
|
|
2788
|
+
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2789
|
+
patternErrorMessage: this.addUserRosterTexts?.message?.error?.pattern
|
|
2790
|
+
?.firstOrLastName,
|
|
2791
|
+
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.lastName,
|
|
2792
|
+
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById
|
|
2793
|
+
?.lastName,
|
|
2794
|
+
supportMessage: this.addUserRosterTexts?.supportText?.lastName,
|
|
2795
|
+
},
|
|
2796
|
+
]),
|
|
2797
|
+
{
|
|
2798
|
+
type: FormControlType.CHECKBOX,
|
|
2799
|
+
label: this.groupRosterType === GroupRosterType.INDIVIDUAL
|
|
2800
|
+
? this.addUserRosterTexts?.label?.role
|
|
2801
|
+
: this.addUserRosterTexts?.label?.role + '*',
|
|
2802
|
+
controlName: 'roles',
|
|
2803
|
+
checkboxOptions: this.userRoles,
|
|
2804
|
+
minSelectionRequired: 1,
|
|
2805
|
+
ariaLabel: this.addUserRosterTexts?.label?.ariaLabel?.role,
|
|
2806
|
+
ariaDescribedById: this.addUserRosterTexts?.label?.ariaDescribedById?.role,
|
|
2807
|
+
supportMessage: this.groupRosterType === GroupRosterType.INDIVIDUAL
|
|
2808
|
+
? this.addUserRosterTexts?.supportText
|
|
2809
|
+
?.roleForIndividualRoster
|
|
2810
|
+
: this.addUserRosterTexts?.supportText?.role,
|
|
2811
|
+
requiredErrorMessage: this.addUserRosterTexts?.message?.error?.required,
|
|
2812
|
+
validation: this.groupRosterType === GroupRosterType.INDIVIDUAL
|
|
2813
|
+
? []
|
|
2814
|
+
: [Validators.required],
|
|
2815
|
+
},
|
|
2816
|
+
],
|
|
2817
|
+
},
|
|
2818
|
+
],
|
|
2819
|
+
};
|
|
2820
|
+
}
|
|
2730
2821
|
/**
|
|
2731
2822
|
* Adds classification, Member Type and Representing Organization form controls while adding new user to an individual group roster.
|
|
2823
|
+
* @param {{
|
|
2824
|
+
* classification: SelectOption;
|
|
2825
|
+
* memberType: SelectOption;
|
|
2826
|
+
* representingOrg: SelectOption;
|
|
2827
|
+
* }} [addUserFormGroupPrevValues]
|
|
2732
2828
|
* @memberof AddUserRosterComponent
|
|
2733
2829
|
*/
|
|
2734
|
-
updateAddUserFormGroup() {
|
|
2830
|
+
updateAddUserFormGroup(addUserFormGroupPrevValues) {
|
|
2735
2831
|
if (this.hasClassification)
|
|
2736
2832
|
this.updateAddUserFormControls(this.addUserFormGroup.formGroup[0].controls.length - 1, {
|
|
2737
2833
|
type: FormControlType.SELECT,
|
|
2738
2834
|
label: this.addUserRosterTexts?.label?.classification + '*',
|
|
2739
2835
|
controlName: 'classification',
|
|
2740
2836
|
dropdownOptions: this.classifications,
|
|
2837
|
+
value: this.classifications?.find((classification) => classification.id ===
|
|
2838
|
+
addUserFormGroupPrevValues?.classification?.id),
|
|
2741
2839
|
validation: [Validators.required],
|
|
2742
2840
|
placeholder: '',
|
|
2743
2841
|
supportMessage: this.addUserRosterTexts?.supportText?.classification,
|
|
@@ -2750,6 +2848,7 @@ class AddUserRosterComponent {
|
|
|
2750
2848
|
label: this.addUserRosterTexts?.label?.memberType + '*',
|
|
2751
2849
|
controlName: 'memberType',
|
|
2752
2850
|
dropdownOptions: this.memberTypes,
|
|
2851
|
+
value: this.memberTypes?.find((memberType) => memberType.id === addUserFormGroupPrevValues?.memberType?.id),
|
|
2753
2852
|
validation: [Validators.required],
|
|
2754
2853
|
placeholder: '',
|
|
2755
2854
|
supportMessage: this.addUserRosterTexts?.supportText?.memberType,
|
|
@@ -2761,6 +2860,7 @@ class AddUserRosterComponent {
|
|
|
2761
2860
|
type: FormControlType.AUTO_COMPLETE,
|
|
2762
2861
|
label: this.addUserRosterTexts?.label?.representingOrganization + '*',
|
|
2763
2862
|
controlName: 'representingOrg',
|
|
2863
|
+
value: addUserFormGroupPrevValues?.representingOrg,
|
|
2764
2864
|
validation: [
|
|
2765
2865
|
Validators.required,
|
|
2766
2866
|
Validators.maxLength(GroupsValidationPatterns.representingOrgNameMaxLength),
|
|
@@ -2965,12 +3065,7 @@ class AddUserRosterComponent {
|
|
|
2965
3065
|
if (Array.isArray(errorCodes) && !error?.error?.status) {
|
|
2966
3066
|
if (errorCodes[0] !== '3004') {
|
|
2967
3067
|
const errorMessage = this.groupService.parseErrorMessage(errorCodes);
|
|
2968
|
-
this.
|
|
2969
|
-
status: 'custom',
|
|
2970
|
-
message: errorMessage,
|
|
2971
|
-
alertType: AlertType.ERROR,
|
|
2972
|
-
isCloseNeeded: true,
|
|
2973
|
-
});
|
|
3068
|
+
this.showAlertMessage(errorMessage, AlertType.ERROR);
|
|
2974
3069
|
}
|
|
2975
3070
|
}
|
|
2976
3071
|
else if (error && error instanceof HttpErrorResponse) {
|
|
@@ -2999,8 +3094,9 @@ class AddUserRosterComponent {
|
|
|
2999
3094
|
if (this.groupRosterType === GroupRosterType.INDIVIDUAL) {
|
|
3000
3095
|
payload = {
|
|
3001
3096
|
payload: {
|
|
3002
|
-
email: this.
|
|
3003
|
-
|
|
3097
|
+
email: this.isUserExist
|
|
3098
|
+
? this.userInfo?.email
|
|
3099
|
+
: formData?.emailSearch,
|
|
3004
3100
|
roles: this.selectedUserRoles,
|
|
3005
3101
|
groupId: this.groupService.selectedGroupInfo?.groupId,
|
|
3006
3102
|
memberStatus: {
|
|
@@ -3024,12 +3120,20 @@ class AddUserRosterComponent {
|
|
|
3024
3120
|
else
|
|
3025
3121
|
payload = {
|
|
3026
3122
|
payload: {
|
|
3027
|
-
email: this.
|
|
3123
|
+
email: this.isUserExist
|
|
3124
|
+
? this.userInfo?.email
|
|
3125
|
+
: formData?.emailSearch,
|
|
3028
3126
|
roles: this.selectedUserRoles,
|
|
3029
|
-
userId: this.userInfo?.userId,
|
|
3030
3127
|
groupId: this.groupService.selectedGroupInfo?.groupId,
|
|
3031
3128
|
},
|
|
3032
3129
|
};
|
|
3130
|
+
if (this.isUserExist) {
|
|
3131
|
+
payload.payload.userId = this.userInfo?.userId;
|
|
3132
|
+
}
|
|
3133
|
+
else {
|
|
3134
|
+
payload.payload.firstName = formData?.firstName?.trim();
|
|
3135
|
+
payload.payload.lastName = formData?.lastName?.trim();
|
|
3136
|
+
}
|
|
3033
3137
|
return payload;
|
|
3034
3138
|
}
|
|
3035
3139
|
/**
|
|
@@ -3040,6 +3144,21 @@ class AddUserRosterComponent {
|
|
|
3040
3144
|
this.updateFormControlOptions('representingOrg', 'autoCompleteOptions', []);
|
|
3041
3145
|
this.isSubmitButtonDisabled = true;
|
|
3042
3146
|
}
|
|
3147
|
+
/**
|
|
3148
|
+
* Handles alerts for error, warning.
|
|
3149
|
+
* @param {(string | string[])} message -error or warning message
|
|
3150
|
+
* @param {AlertType} alertType
|
|
3151
|
+
* @return -returns nothing
|
|
3152
|
+
* @memberof AddUserRosterComponent
|
|
3153
|
+
*/
|
|
3154
|
+
showAlertMessage(message, alertType) {
|
|
3155
|
+
this.alertService?.showMessage({
|
|
3156
|
+
status: 'custom',
|
|
3157
|
+
message: message,
|
|
3158
|
+
alertType: alertType,
|
|
3159
|
+
isCloseNeeded: true,
|
|
3160
|
+
});
|
|
3161
|
+
}
|
|
3043
3162
|
/**
|
|
3044
3163
|
* NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
|
|
3045
3164
|
* @memberof AddUserRosterComponent
|
|
@@ -3802,11 +3921,11 @@ class ViewRosterComponent {
|
|
|
3802
3921
|
this.destroy$.unsubscribe();
|
|
3803
3922
|
}
|
|
3804
3923
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ViewRosterComponent, deps: [{ token: i1.MatDialog }, { token: GroupsService }, { token: i2.AlertsService }, { token: i0.ChangeDetectorRef }, { token: i2.GlobalErrorHandlerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3805
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ViewRosterComponent, isStandalone: true, selector: "ieeesa-view-roster", ngImport: i0, template: "<ieeesa-data-table\r\n [tableDataInfo]=\"tableData\"\r\n [columnSchemaInfo]=\"columnSchema\"\r\n [searchPlaceHolderText]=\"searchPlaceholderText\"\r\n [tableActions]=\"rosterActions\"\r\n [isCellTextOverflowEllipsis]=\"true\"\r\n [filters]=\"filters\"\r\n [className]=\"dataTableClassName\"\r\n [selectedFilterOptions]=\"filterOptions\"\r\n [defaultSortedColumn]=\"defaultSortedColumn\"\r\n (selectedFilter)=\"setSelectedFilterOptions($event)\"\r\n (removeFilteredOption)=\"onFilterGroupUsers($event)\"\r\n (filteredOptions)=\"onFilterGroupUsers($event)\"\r\n (searchedValue)=\"onSearchGroupUsers($event)\"\r\n (selectedRowToEdit)=\"onEditUserRoles($event)\"\r\n (selectedRowsToDelete)=\"openUserDeleteConfirmationModal($event)\"\r\n (sortChange)=\"onSortGroupUsers($event)\"\r\n (addRow)=\"onAddNewUser()\"\r\n></ieeesa-data-table>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.56em;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25em;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625em;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375em;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875em;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625em;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1em;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-modal-dialog.ieeesa-view-roster{max-width:90vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal{box-shadow:0 3px #11b7e5 inset,0 4px 24px #00000080;padding-bottom:3em}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal .mat-mdc-dialog-content{padding:0;min-height:405px}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal-title{padding-bottom:1.25em}.ieeesa-data-table__content{height:500px}.ieeesa-data-table__no-table-data{height:auto}.ieeesa-data-table__filter{padding-bottom:1em}.ieeesa-data-table .ieeesa-filter{--mdc-checkbox-state-layer-size: 2.5em}.ieeesa-data-table .ieeesa-filter__filter-options .mdc-form-field>label{padding-left:0;padding-right:10px}.ieeesa-data-table .cdk-column-select{width:7%}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-name{width:11.25em;max-width:11.25em}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-email{width:15em;max-width:15em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-name{width:11em;max-width:11em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-email{width:13em;max-width:13em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-memberType,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-role,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-employer{width:8.25em;max-width:8.25em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-org_name,.ieeesa-data-table .ieeesa-individual-roster .cdk-column{width:10em;max-width:10em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-classification{width:15em;max-width:15em}@media (max-width: 576px){.ieeesa-modal-dialog.ieeesa-view-roster{max-width:95vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-data-table{padding-right:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DataTableComponent, selector: "ieeesa-data-table", inputs: ["tableDataInfo", "columnSchemaInfo", "tableActions", "caption", "paginatorConfig", "searchPlaceHolderText", "rowEditButton", "rowDeleteButton", "tableEditButton", "tableDeleteButton", "addButton", "defaultColumnSortDirection", "defaultSortedColumn", "filters", "selectedFilterOptions", "appliedFilterOptions", "searchType", "className", "inbuiltSortingNeeded", "isCellTextOverflowEllipsis"], outputs: ["rowSelected", "selectedRowToEdit", "selectedRowToDelete", "selectedRowsToDelete", "rowLink", "addRow", "columnDataOnRowLinkClick", "paginationChange", "selectedFilter", "removeFilteredOption", "filteredOptions", "searchedValue", "sortChange"] }, { kind: "ngmodule", type: MatDialogModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3924
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ViewRosterComponent, isStandalone: true, selector: "ieeesa-view-roster", ngImport: i0, template: "<ieeesa-data-table\r\n [tableDataInfo]=\"tableData\"\r\n [columnSchemaInfo]=\"columnSchema\"\r\n [searchPlaceHolderText]=\"searchPlaceholderText\"\r\n [tableActions]=\"rosterActions\"\r\n [isCellTextOverflowEllipsis]=\"true\"\r\n [filters]=\"filters\"\r\n [className]=\"dataTableClassName\"\r\n [selectedFilterOptions]=\"filterOptions\"\r\n (selectedFilter)=\"setSelectedFilterOptions($event)\"\r\n (removeFilteredOption)=\"onFilterGroupUsers($event)\"\r\n (filteredOptions)=\"onFilterGroupUsers($event)\"\r\n (searchedValue)=\"onSearchGroupUsers($event)\"\r\n (selectedRowToEdit)=\"onEditUserRoles($event)\"\r\n (selectedRowsToDelete)=\"openUserDeleteConfirmationModal($event)\"\r\n (sortChange)=\"onSortGroupUsers($event)\"\r\n (addRow)=\"onAddNewUser()\"\r\n></ieeesa-data-table>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.56em;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25em;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625em;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375em;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875em;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625em;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1em;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-modal-dialog.ieeesa-view-roster{max-width:90vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal{box-shadow:0 3px #11b7e5 inset,0 4px 24px #00000080;padding-bottom:3em}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal .mat-mdc-dialog-content{padding:0;min-height:405px}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal-title{padding-bottom:1.25em}.ieeesa-data-table__content{height:500px}.ieeesa-data-table__no-table-data{height:auto}.ieeesa-data-table__filter{padding-bottom:1em}.ieeesa-data-table .ieeesa-filter{--mdc-checkbox-state-layer-size: 2.5em}.ieeesa-data-table .ieeesa-filter__filter-options .mdc-form-field>label{padding-left:0;padding-right:10px}.ieeesa-data-table .cdk-column-select{width:7%}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-name{width:11.25em;max-width:11.25em}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-email{width:15em;max-width:15em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-name{width:11em;max-width:11em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-email{width:13em;max-width:13em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-memberType,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-role,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-employer{width:8.25em;max-width:8.25em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-org_name,.ieeesa-data-table .ieeesa-individual-roster .cdk-column{width:10em;max-width:10em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-classification{width:15em;max-width:15em}@media (max-width: 576px){.ieeesa-modal-dialog.ieeesa-view-roster{max-width:95vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-data-table{padding-right:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DataTableComponent, selector: "ieeesa-data-table", inputs: ["tableDataInfo", "columnSchemaInfo", "tableActions", "caption", "paginatorConfig", "searchPlaceHolderText", "rowEditButton", "rowDeleteButton", "tableEditButton", "tableDeleteButton", "addButton", "defaultColumnSortDirection", "defaultSortedColumn", "isClearSortNeeded", "filters", "selectedFilterOptions", "appliedFilterOptions", "searchType", "className", "inbuiltSortingNeeded", "isCellTextOverflowEllipsis"], outputs: ["rowSelected", "selectedRowToEdit", "selectedRowToDelete", "selectedRowsToDelete", "rowLink", "addRow", "columnDataOnRowLinkClick", "paginationChange", "selectedFilter", "removeFilteredOption", "filteredOptions", "searchedValue", "sortChange"] }, { kind: "ngmodule", type: MatDialogModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3806
3925
|
}
|
|
3807
3926
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ViewRosterComponent, decorators: [{
|
|
3808
3927
|
type: Component,
|
|
3809
|
-
args: [{ selector: 'ieeesa-view-roster', standalone: true, imports: [CommonModule, DataTableComponent, MatDialogModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ieeesa-data-table\r\n [tableDataInfo]=\"tableData\"\r\n [columnSchemaInfo]=\"columnSchema\"\r\n [searchPlaceHolderText]=\"searchPlaceholderText\"\r\n [tableActions]=\"rosterActions\"\r\n [isCellTextOverflowEllipsis]=\"true\"\r\n [filters]=\"filters\"\r\n [className]=\"dataTableClassName\"\r\n [selectedFilterOptions]=\"filterOptions\"\r\n [defaultSortedColumn]=\"defaultSortedColumn\"\r\n (selectedFilter)=\"setSelectedFilterOptions($event)\"\r\n (removeFilteredOption)=\"onFilterGroupUsers($event)\"\r\n (filteredOptions)=\"onFilterGroupUsers($event)\"\r\n (searchedValue)=\"onSearchGroupUsers($event)\"\r\n (selectedRowToEdit)=\"onEditUserRoles($event)\"\r\n (selectedRowsToDelete)=\"openUserDeleteConfirmationModal($event)\"\r\n (sortChange)=\"onSortGroupUsers($event)\"\r\n (addRow)=\"onAddNewUser()\"\r\n></ieeesa-data-table>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.56em;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25em;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625em;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375em;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875em;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625em;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1em;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-modal-dialog.ieeesa-view-roster{max-width:90vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal{box-shadow:0 3px #11b7e5 inset,0 4px 24px #00000080;padding-bottom:3em}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal .mat-mdc-dialog-content{padding:0;min-height:405px}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal-title{padding-bottom:1.25em}.ieeesa-data-table__content{height:500px}.ieeesa-data-table__no-table-data{height:auto}.ieeesa-data-table__filter{padding-bottom:1em}.ieeesa-data-table .ieeesa-filter{--mdc-checkbox-state-layer-size: 2.5em}.ieeesa-data-table .ieeesa-filter__filter-options .mdc-form-field>label{padding-left:0;padding-right:10px}.ieeesa-data-table .cdk-column-select{width:7%}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-name{width:11.25em;max-width:11.25em}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-email{width:15em;max-width:15em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-name{width:11em;max-width:11em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-email{width:13em;max-width:13em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-memberType,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-role,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-employer{width:8.25em;max-width:8.25em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-org_name,.ieeesa-data-table .ieeesa-individual-roster .cdk-column{width:10em;max-width:10em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-classification{width:15em;max-width:15em}@media (max-width: 576px){.ieeesa-modal-dialog.ieeesa-view-roster{max-width:95vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-data-table{padding-right:0!important}}\n"] }]
|
|
3928
|
+
args: [{ selector: 'ieeesa-view-roster', standalone: true, imports: [CommonModule, DataTableComponent, MatDialogModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ieeesa-data-table\r\n [tableDataInfo]=\"tableData\"\r\n [columnSchemaInfo]=\"columnSchema\"\r\n [searchPlaceHolderText]=\"searchPlaceholderText\"\r\n [tableActions]=\"rosterActions\"\r\n [isCellTextOverflowEllipsis]=\"true\"\r\n [filters]=\"filters\"\r\n [className]=\"dataTableClassName\"\r\n [selectedFilterOptions]=\"filterOptions\"\r\n (selectedFilter)=\"setSelectedFilterOptions($event)\"\r\n (removeFilteredOption)=\"onFilterGroupUsers($event)\"\r\n (filteredOptions)=\"onFilterGroupUsers($event)\"\r\n (searchedValue)=\"onSearchGroupUsers($event)\"\r\n (selectedRowToEdit)=\"onEditUserRoles($event)\"\r\n (selectedRowsToDelete)=\"openUserDeleteConfirmationModal($event)\"\r\n (sortChange)=\"onSortGroupUsers($event)\"\r\n (addRow)=\"onAddNewUser()\"\r\n></ieeesa-data-table>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.56em;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25em;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625em;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375em;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375em;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125em;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875em;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625em;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5em;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125em;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1em;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875em;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875em;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5em;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1em;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1em;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125em;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-modal-dialog.ieeesa-view-roster{max-width:90vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal{box-shadow:0 3px #11b7e5 inset,0 4px 24px #00000080;padding-bottom:3em}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal .mat-mdc-dialog-content{padding:0;min-height:405px}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-modal-title{padding-bottom:1.25em}.ieeesa-data-table__content{height:500px}.ieeesa-data-table__no-table-data{height:auto}.ieeesa-data-table__filter{padding-bottom:1em}.ieeesa-data-table .ieeesa-filter{--mdc-checkbox-state-layer-size: 2.5em}.ieeesa-data-table .ieeesa-filter__filter-options .mdc-form-field>label{padding-left:0;padding-right:10px}.ieeesa-data-table .cdk-column-select{width:7%}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-name{width:11.25em;max-width:11.25em}.ieeesa-data-table .ieeesa-system-users-roster .cdk-column-email{width:15em;max-width:15em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-name{width:11em;max-width:11em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-email{width:13em;max-width:13em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-memberType,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-role,.ieeesa-data-table .ieeesa-individual-roster .cdk-column-employer{width:8.25em;max-width:8.25em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-org_name,.ieeesa-data-table .ieeesa-individual-roster .cdk-column{width:10em;max-width:10em}.ieeesa-data-table .ieeesa-individual-roster .cdk-column-classification{width:15em;max-width:15em}@media (max-width: 576px){.ieeesa-modal-dialog.ieeesa-view-roster{max-width:95vw!important}.ieeesa-modal-dialog.ieeesa-view-roster .ieeesa-data-table{padding-right:0!important}}\n"] }]
|
|
3810
3929
|
}], ctorParameters: function () { return [{ type: i1.MatDialog }, { type: GroupsService }, { type: i2.AlertsService }, { type: i0.ChangeDetectorRef }, { type: i2.GlobalErrorHandlerService }]; } });
|
|
3811
3930
|
|
|
3812
3931
|
/**
|