tango-app-ui-manage-settings 3.0.51-dev → 3.0.53-dev
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/components/brand-details/brand-details.component.mjs +3 -3
- package/esm2022/lib/components/configurations/employee-training/employee-training.component.mjs +5 -3
- package/esm2022/lib/components/configurations/report-configuration/report-configuration.component.mjs +103 -42
- package/esm2022/lib/services/client-api.service.mjs +6 -2
- package/fesm2022/tango-app-ui-manage-settings.mjs +113 -46
- package/fesm2022/tango-app-ui-manage-settings.mjs.map +1 -1
- package/lib/components/configurations/report-configuration/report-configuration.component.d.ts +12 -5
- package/lib/services/client-api.service.d.ts +1 -0
- package/package.json +1 -1
package/lib/components/configurations/report-configuration/report-configuration.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
2
|
+
import { FormGroup, FormBuilder, FormArray } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
5
5
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
@@ -21,20 +21,27 @@ export declare class ReportConfigurationComponent implements AfterViewInit, OnDe
|
|
|
21
21
|
selectedReport: any;
|
|
22
22
|
private readonly destroy$;
|
|
23
23
|
emailValidation: any[];
|
|
24
|
+
noData: boolean;
|
|
25
|
+
loading: boolean;
|
|
24
26
|
constructor(fb: FormBuilder, apiService: ClientApiService, modalService: NgbModal, toaster: ToastService, cd: ChangeDetectorRef, gs: GlobalStateService);
|
|
27
|
+
get reportsFormArray(): FormArray<any>;
|
|
25
28
|
ngOnDestroy(): void;
|
|
26
29
|
emailValidator(value: any): void;
|
|
27
30
|
ngAfterViewInit(): void;
|
|
28
31
|
initForm(): void;
|
|
29
32
|
patchForm(data: any): void;
|
|
30
33
|
getClientReports(clientId: string): void;
|
|
31
|
-
onKeyDown(event: any): void;
|
|
32
|
-
removeChip(i: number): void;
|
|
34
|
+
onKeyDown(event: any, index: any): void;
|
|
35
|
+
removeChip(i: number, j: number): void;
|
|
33
36
|
onReportSelect(event: any): void;
|
|
34
|
-
|
|
37
|
+
getEnabledValue(i: number): boolean | null;
|
|
38
|
+
getEmails(index: any): FormArray<any>;
|
|
35
39
|
openAddModal(): void;
|
|
40
|
+
getReportDisabled(index: any): any;
|
|
41
|
+
enableForm(index: any): void;
|
|
42
|
+
deleteReport(reportId: string): void;
|
|
36
43
|
onCancel(): void;
|
|
37
|
-
onSubmit(): void;
|
|
44
|
+
onSubmit(data: any): void;
|
|
38
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportConfigurationComponent, never>;
|
|
39
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReportConfigurationComponent, "lib-report-configuration", never, {}, {}, never, never, false, never>;
|
|
40
47
|
}
|
|
@@ -34,6 +34,7 @@ export declare class ClientApiService {
|
|
|
34
34
|
getClientReports(id: string): Observable<any>;
|
|
35
35
|
getSingleReport(id: string): Observable<any>;
|
|
36
36
|
updateReport(id: string, data: any): Observable<any>;
|
|
37
|
+
deleteReport(reportId: string): Observable<any>;
|
|
37
38
|
getCsmUsers(): Observable<any>;
|
|
38
39
|
getOpsUsers(): Observable<any>;
|
|
39
40
|
getAllCountries(): Observable<any>;
|