@ieeesa-npm/groups 0.8.3 → 0.8.5

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.
@@ -6,5 +6,4 @@ export declare const GroupsValidationPatterns: {
6
6
  representingOrgNameMaxLength: number;
7
7
  representingOrgNameMinLength: number;
8
8
  representingOrganization: RegExp;
9
- firstOrLastName: RegExp;
10
9
  };
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { Subject } from 'rxjs';
4
- import { AlertsService, AlertType, GlobalErrorHandlerService } from '@ieeesa-npm/utility';
4
+ import { AlertsService, GlobalErrorHandlerService } from '@ieeesa-npm/utility';
5
5
  import { FormGrid, AlignType, CheckboxOption, SelectOption, FormModel, FieldConfig, DynamicFormComponent } from '@ieeesa-npm/presentation';
6
6
  import { GroupsService } from '../../services/groups.service';
7
7
  import { AddOrEditUserIndividualRosterPayload, AddOrEditUserPayload } from '../../models/add-or-edit-user-group.model';
@@ -40,7 +40,6 @@ export declare class AddUserRosterComponent implements OnInit, OnDestroy {
40
40
  organizations: SelectOption[];
41
41
  hasClassification: boolean;
42
42
  groupRosterType: GroupRosterType;
43
- isUserExist: boolean;
44
43
  dynamicFormComponent: DynamicFormComponent;
45
44
  submitFormResponse: EventEmitter<any>;
46
45
  formCancel: EventEmitter<any>;
@@ -72,12 +71,6 @@ export declare class AddUserRosterComponent implements OnInit, OnDestroy {
72
71
  * @memberof AddUserRosterComponent
73
72
  */
74
73
  validateUserExistence(): void;
75
- /**
76
- * Initialize the add user form group array.
77
- * @param {string} [email]
78
- * @memberof AddUserRosterComponent
79
- */
80
- createAddUserFormGroup(email?: string): void;
81
74
  /**
82
75
  * Adds classification, Member Type and Representing Organization form controls while adding new user to an individual group roster.
83
76
  * @memberof AddUserRosterComponent
@@ -167,14 +160,6 @@ export declare class AddUserRosterComponent implements OnInit, OnDestroy {
167
160
  * @memberof AddUserRosterComponent
168
161
  */
169
162
  disableSubmitButton(): void;
170
- /**
171
- * Handles alerts for error, warning.
172
- * @param {(string | string[])} message -error or warning message
173
- * @param {AlertType} alertType
174
- * @return -returns nothing
175
- * @memberof AddUserRosterComponent
176
- */
177
- showAlertMessage(message: string | string[], alertType: AlertType): void;
178
163
  /**
179
164
  * NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
180
165
  * @memberof AddUserRosterComponent
@@ -7,11 +7,9 @@ export interface AddOrEditGroupUserDetailsResponse {
7
7
  }
8
8
  export interface AddOrEditUserRolePayload {
9
9
  groupId: string;
10
- userId?: string;
10
+ userId: string;
11
11
  roles: string[];
12
12
  email: string;
13
- firstName?: string;
14
- lastName?: string;
15
13
  }
16
14
  export interface AddOrEditIndividualRosterPayload extends AddOrEditUserRolePayload {
17
15
  classification?: {
@@ -33,12 +33,6 @@ export declare class GroupsService {
33
33
  alertService: AlertsService;
34
34
  groupsText: {
35
35
  ER1000: string;
36
- /**
37
- * Sets selected group info.
38
- * @param {(GroupInfo | undefined)} selectedGroupInfo -selected group info.
39
- * @param {(GroupInfo | undefined)} [selectedGroupParentInfo] -selected parent group info.
40
- * @memberof GroupsService
41
- */
42
36
  ER1001: string;
43
37
  "1001": string;
44
38
  "1002": string;
@@ -54,11 +48,7 @@ export declare class GroupsService {
54
48
  "1012": string;
55
49
  "1013": string;
56
50
  "1014": string;
57
- "1015": string; /**
58
- * Sets group function type.
59
- * @param {GroupFunctionType} groupFunctionType -group function type.
60
- * @memberof GroupsService
61
- */
51
+ "1015": string;
62
52
  "1016": string;
63
53
  "1017": string;
64
54
  "1018": string;
@@ -67,12 +57,6 @@ export declare class GroupsService {
67
57
  "1021": string;
68
58
  "1022": string;
69
59
  "1023": string;
70
- /**
71
- * Gets the group users for the given group id.
72
- * @param {string} groupId
73
- * @return {Observable<GetGroupUsersResponse>}
74
- * @memberof GroupsService
75
- */
76
60
  "1024": string;
77
61
  "1025": string;
78
62
  "1026": string;
@@ -84,8 +68,6 @@ export declare class GroupsService {
84
68
  "1032": string;
85
69
  "1033": string;
86
70
  "1034": string;
87
- "1035": string;
88
- "1036": string;
89
71
  "2001": string;
90
72
  "2002": string;
91
73
  "2010": string;
@@ -97,12 +79,6 @@ export declare class GroupsService {
97
79
  "2016": string;
98
80
  "2017": string;
99
81
  "2018": string;
100
- /**
101
- * Gets the group users based on searched name or email
102
- * @param {SearchUsersPayload} payload
103
- * @return {Observable<GetGroupUsersResponse>}
104
- * @memberof GroupsService
105
- */
106
82
  "2019": string;
107
83
  "2020": string;
108
84
  "2021": string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/groups",
3
- "version": "0.8.3",
3
+ "version": "0.8.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
7
- "@ieeesa-npm/presentation": "^0.9.4",
8
- "@ieeesa-npm/shared-styles": "^0.2.1",
9
- "@ieeesa-npm/utility": "^0.8.4"
7
+ "@ieeesa-npm/presentation": "^0.9.6",
8
+ "@ieeesa-npm/shared-styles": "^0.2.2",
9
+ "@ieeesa-npm/utility": "^0.8.6"
10
10
  },
11
11
  "dependencies": {
12
12
  "tslib": "^2.3.0"