@ieeesa-npm/groups 0.14.0 → 0.14.2

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.
@@ -43,6 +43,7 @@ export declare class AddUserRosterComponent implements OnInit, OnDestroy {
43
43
  groupRosterType: GroupRosterType;
44
44
  isUserExist: boolean;
45
45
  selectedOrganizations: AutoCompleteOption[];
46
+ timeOutId: ReturnType<typeof setTimeout>;
46
47
  dynamicFormComponent: DynamicFormComponent;
47
48
  submitFormResponse: EventEmitter<any>;
48
49
  formCancel: EventEmitter<any>;
@@ -177,6 +178,17 @@ export declare class AddUserRosterComponent implements OnInit, OnDestroy {
177
178
  * @memberof AddUserRosterComponent
178
179
  */
179
180
  onAddUserFormChange(form: FormGroup[]): void;
181
+ /**
182
+ * Checks if all other control except representingOrg are valid.
183
+ * @return {boolean}
184
+ * @memberof AddUserRosterComponent
185
+ */
186
+ isAllOtherControlsValid(): boolean;
187
+ /**
188
+ * Enables or disables submit button.
189
+ * @memberof AddUserRosterComponent
190
+ */
191
+ updateSubmitButtonStatus(): void;
180
192
  /**
181
193
  * Constructs add new user payload from the form data depends on the GroupRosterType and returns.
182
194
  * @param {*} formData
@@ -7,6 +7,9 @@ export interface BusinessRule {
7
7
  allowedGroupType: string[];
8
8
  hasClassification?: boolean;
9
9
  isAdmin?: boolean;
10
+ allowEdit?: boolean;
11
+ allowDelete?: boolean;
12
+ isRootGroup?: boolean;
10
13
  }
11
14
  export interface GroupType {
12
15
  name: string;
@@ -1,4 +1,5 @@
1
1
  export declare enum GroupRosterType {
2
2
  INDIVIDUAL = "Individual",
3
- SYSTEM_USER = "User"
3
+ SYSTEM_USER = "User",
4
+ ENTITY = "Entity"
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/groups",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"