tango-app-ui-analyse-trax 3.3.1-alpha-task.66 → 3.3.1-alpha-task.67
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/add-task/add-task.component.mjs +132 -20
- package/esm2022/lib/components/export-gallery/export-gallery.component.mjs +3 -1
- package/esm2022/lib/components/gallery/gallery.component.mjs +376 -29
- package/esm2022/lib/services/trax.service.mjs +25 -1
- package/esm2022/lib/tango-analyse-trax-routing.module.mjs +1 -1
- package/fesm2022/tango-app-ui-analyse-trax.mjs +529 -44
- package/fesm2022/tango-app-ui-analyse-trax.mjs.map +1 -1
- package/lib/components/add-task/add-task.component.d.ts +12 -5
- package/lib/components/flags/flags.component.d.ts +2 -2
- package/lib/components/flags-info/flags-info.component.d.ts +3 -3
- package/lib/components/gallery/gallery.component.d.ts +11 -2
- package/lib/components/orders/orders.component.d.ts +1 -1
- package/lib/components/reports/reports.component.d.ts +2 -2
- package/lib/components/task-configure/task-configure.component.d.ts +1 -1
- package/lib/services/trax.service.d.ts +7 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
4
|
import { TraxService } from '../../services/trax.service';
|
|
5
|
-
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { Answer, AnswerForm, AnswerType, HeaderFilter, Question, QuestionForm, Section, SectionForm, TaskForm, ValidationType } from './create-task.interface';
|
|
8
8
|
import { ToastService } from 'tango-app-ui-shared';
|
|
@@ -11,15 +11,16 @@ import { TimePeriod } from 'ngx-daterangepicker-material/daterangepicker.compone
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class AddTaskComponent implements OnInit {
|
|
13
13
|
private fb;
|
|
14
|
+
private activeModal;
|
|
14
15
|
private gs;
|
|
15
16
|
private traxService;
|
|
16
17
|
private cd;
|
|
17
|
-
|
|
18
|
+
private modalService;
|
|
18
19
|
private router;
|
|
19
20
|
private toastService;
|
|
20
|
-
private elRef;
|
|
21
21
|
taskForm: FormGroup<TaskForm>;
|
|
22
22
|
type: any;
|
|
23
|
+
sourceCheckList_id: any;
|
|
23
24
|
headerData: HeaderFilter | null | undefined;
|
|
24
25
|
answerTypes: {
|
|
25
26
|
label: string;
|
|
@@ -34,8 +35,12 @@ export declare class AddTaskComponent implements OnInit {
|
|
|
34
35
|
private destroy$;
|
|
35
36
|
taskDetails: any;
|
|
36
37
|
inputData: any;
|
|
38
|
+
checklistInfo: any;
|
|
39
|
+
storeProfile: any;
|
|
40
|
+
sectionInfo: any;
|
|
41
|
+
operationtype: any;
|
|
37
42
|
timeDetails: any;
|
|
38
|
-
constructor(fb: FormBuilder, gs: GlobalStateService, traxService: TraxService, cd: ChangeDetectorRef,
|
|
43
|
+
constructor(fb: FormBuilder, activeModal: NgbActiveModal, gs: GlobalStateService, traxService: TraxService, cd: ChangeDetectorRef, modalService: NgbModal, router: Router, toastService: ToastService);
|
|
39
44
|
ngOnInit(): void;
|
|
40
45
|
tasks: number[];
|
|
41
46
|
taskCounter: number;
|
|
@@ -68,11 +73,13 @@ export declare class AddTaskComponent implements OnInit {
|
|
|
68
73
|
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
69
74
|
onStartDateChange(event: any): void;
|
|
70
75
|
datechange(event: TimePeriod): void;
|
|
76
|
+
uploadedFiles: File[];
|
|
77
|
+
onFilesSelected(event: any): void;
|
|
71
78
|
selectedFile?: File;
|
|
72
79
|
previewUrl?: any;
|
|
73
80
|
fileInput: ElementRef;
|
|
74
81
|
onFileSelected(event: any): void;
|
|
75
82
|
removeImage(): void;
|
|
76
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddTaskComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddTaskComponent, "lib-add-task", never, { "type": { "alias": "type"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; "inputData": { "alias": "inputData"; "required": false; }; }, {}, never, never, false, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddTaskComponent, "lib-add-task", never, { "type": { "alias": "type"; "required": false; }; "sourceCheckList_id": { "alias": "sourceCheckList_id"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; "inputData": { "alias": "inputData"; "required": false; }; "checklistInfo": { "alias": "checklistInfo"; "required": false; }; "storeProfile": { "alias": "storeProfile"; "required": false; }; "sectionInfo": { "alias": "sectionInfo"; "required": false; }; "operationtype": { "alias": "operationtype"; "required": false; }; }, {}, never, never, false, never>;
|
|
78
85
|
}
|
|
@@ -21,9 +21,9 @@ export declare class FlagsComponent implements OnInit, OnDestroy {
|
|
|
21
21
|
sortColumName: string;
|
|
22
22
|
sortDirection: number;
|
|
23
23
|
headerData: HeaderFilter | null | undefined;
|
|
24
|
-
flagsTableApiState: BehaviorSubject<"
|
|
24
|
+
flagsTableApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
25
25
|
flagsTableData: FlagsTableData[];
|
|
26
|
-
cardMetricsApiState: BehaviorSubject<"
|
|
26
|
+
cardMetricsApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
27
27
|
cardMetricsData: IFlagCards | null | undefined;
|
|
28
28
|
cardMetricsComparisonData: IFlagComparisonCards | null | undefined;
|
|
29
29
|
searchInput: FormControl;
|
|
@@ -29,12 +29,12 @@ export declare class FlagsInfoComponent implements OnDestroy, OnInit, OnDestroy
|
|
|
29
29
|
checklistSelectControl: FormControl;
|
|
30
30
|
searchInput: FormControl;
|
|
31
31
|
checkLists: Checklist[];
|
|
32
|
-
checkListsApiState: BehaviorSubject<"
|
|
32
|
+
checkListsApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
33
33
|
currentChecklist: Checklist | null | undefined;
|
|
34
34
|
checklistFlagList: ChecklistFlagList | null | undefined;
|
|
35
|
-
flagsTableApiState: BehaviorSubject<"
|
|
35
|
+
flagsTableApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
36
36
|
flagCardValues: FlagCardValues | null | undefined;
|
|
37
|
-
flagsCardValuesState: BehaviorSubject<"
|
|
37
|
+
flagsCardValuesState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
38
38
|
flagCardTrends: FlagCardTrends | null | undefined;
|
|
39
39
|
unattendedSummaryChartNumber: number;
|
|
40
40
|
dateComparisonType: 'daily' | 'weekly';
|
|
@@ -68,6 +68,7 @@ export declare class GalleryComponent implements OnInit, OnDestroy {
|
|
|
68
68
|
tempselectedSection: any;
|
|
69
69
|
showmulti: boolean;
|
|
70
70
|
showsingle: boolean;
|
|
71
|
+
showfilter: boolean;
|
|
71
72
|
previewType: any;
|
|
72
73
|
checkListDescription: any;
|
|
73
74
|
constructor(fb: FormBuilder, gs: GlobalStateService, traxService: TraxService, cd: ChangeDetectorRef, modalService: NgbModal, route: ActivatedRoute, router: Router, toastService: ToastService, location: Location, pageInfo: PageInfoService);
|
|
@@ -76,6 +77,7 @@ export declare class GalleryComponent implements OnInit, OnDestroy {
|
|
|
76
77
|
setPageData(): void;
|
|
77
78
|
getAllGroups(): void;
|
|
78
79
|
clientDetails(): void;
|
|
80
|
+
redoChanged(event: any): void;
|
|
79
81
|
flagChanged(event: any): void;
|
|
80
82
|
onchecklistreset(): void;
|
|
81
83
|
resetValidation(): void;
|
|
@@ -89,6 +91,7 @@ export declare class GalleryComponent implements OnInit, OnDestroy {
|
|
|
89
91
|
removeQueryParams(): void;
|
|
90
92
|
ongroupSelect(event: any): void;
|
|
91
93
|
onStoreSelect(event: any): void;
|
|
94
|
+
storeListdropdownTask(): void;
|
|
92
95
|
storeListdropdown(): void;
|
|
93
96
|
select: string;
|
|
94
97
|
onSubmit(): void;
|
|
@@ -107,6 +110,8 @@ export declare class GalleryComponent implements OnInit, OnDestroy {
|
|
|
107
110
|
getmobileUsageDataview(): void;
|
|
108
111
|
selectsinglequestion(): void;
|
|
109
112
|
getChecklistQA(type: any): void;
|
|
113
|
+
gettaskQA(type: any): void;
|
|
114
|
+
viewTaskList(sectionName: any, questionName: any): void;
|
|
110
115
|
viewChecklists(sectionName: any, questionName: any): void;
|
|
111
116
|
exportXLSX(type: any): void;
|
|
112
117
|
taskCreate(): void;
|
|
@@ -121,8 +126,12 @@ export declare class GalleryComponent implements OnInit, OnDestroy {
|
|
|
121
126
|
exportDet(event: Event): void;
|
|
122
127
|
questionscount(data: any): number;
|
|
123
128
|
setExportAsPPT(type: any, fileType: any): void;
|
|
124
|
-
|
|
125
|
-
|
|
129
|
+
typeChange(event: any): void;
|
|
130
|
+
getAllTasks(type: any): void;
|
|
131
|
+
getTaskQA(type: any): void;
|
|
132
|
+
viewTasks(sectionName: any, questionName: any): void;
|
|
133
|
+
taskredirect(question: any, storeProfile: any, checklistInfo: any): void;
|
|
134
|
+
addTask(type: any, data: any, checklistInfo: any, storeProfile: any, section: any): void;
|
|
126
135
|
selectedTask: any;
|
|
127
136
|
taskTab(task: any): void;
|
|
128
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryComponent, never>;
|
|
@@ -17,7 +17,7 @@ export declare class OrdersComponent implements OnInit {
|
|
|
17
17
|
isAuthorized: 'AUTHORIZED' | 'UNAUTHORIZED';
|
|
18
18
|
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
19
19
|
selectedDateRange: any;
|
|
20
|
-
tableApiState: BehaviorSubject<"
|
|
20
|
+
tableApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
21
21
|
constructor(sopService: TraxService, toastService: ToastService, pageInfo: PageInfoService);
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
setPageData(): void;
|
|
@@ -30,10 +30,10 @@ export declare class ReportsComponent implements OnDestroy, OnInit {
|
|
|
30
30
|
checklistSelectControl: FormControl;
|
|
31
31
|
searchInput: FormControl;
|
|
32
32
|
checkLists: Checklist[];
|
|
33
|
-
checkListsApiState: BehaviorSubject<"
|
|
33
|
+
checkListsApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
34
34
|
currentChecklist: Checklist | null | undefined;
|
|
35
35
|
checklistReports: checkListReport[];
|
|
36
|
-
reportsTableApiState: BehaviorSubject<"
|
|
36
|
+
reportsTableApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
37
37
|
selectAllControl: FormControl<boolean | null>;
|
|
38
38
|
constructor(route: ActivatedRoute, gs: GlobalStateService, traxService: TraxService, router: Router, pageInfo: PageInfoService, toastService: ToastService, modalService: NgbModal);
|
|
39
39
|
ngOnDestroy(): void;
|
|
@@ -34,7 +34,7 @@ export declare class TaskConfigureComponent implements OnInit, OnDestroy {
|
|
|
34
34
|
name: string;
|
|
35
35
|
value: string;
|
|
36
36
|
}[];
|
|
37
|
-
assignTableApiState: BehaviorSubject<"
|
|
37
|
+
assignTableApiState: BehaviorSubject<"loading" | "initial" | "loaded">;
|
|
38
38
|
assignTableData: UserAssignDetails[] | null | undefined;
|
|
39
39
|
itemsPerPage: number;
|
|
40
40
|
currentPage: number;
|
|
@@ -25,6 +25,10 @@ export declare class TraxService implements OnDestroy {
|
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
getSummaryTableData(data: any): Observable<any>;
|
|
27
27
|
getchecklist(data: any): Observable<any>;
|
|
28
|
+
getTaskList(data: any): Observable<any>;
|
|
29
|
+
getQuestions(data: any): Observable<any>;
|
|
30
|
+
getAnswers(data: any): Observable<any>;
|
|
31
|
+
getAnswercount(data: any): Observable<any>;
|
|
28
32
|
getMobUsagelist(data: any): Observable<any>;
|
|
29
33
|
getcustomerunattendedlist(data: any): Observable<any>;
|
|
30
34
|
storeOpencloselist(data: any): Observable<any>;
|
|
@@ -61,6 +65,9 @@ export declare class TraxService implements OnDestroy {
|
|
|
61
65
|
getChecklistDropdownDashboardData(data: any): Observable<any>;
|
|
62
66
|
getInfoCardsData(data: any): Observable<any>;
|
|
63
67
|
checklistFlagTable(body: any): Observable<any>;
|
|
68
|
+
CreatechecklistTask(body: any): Observable<any>;
|
|
69
|
+
redoTaskchecklist(body: any): Observable<any>;
|
|
70
|
+
redoTask(body: any): Observable<any>;
|
|
64
71
|
exportChecklistFlagTable(body: any): Observable<any>;
|
|
65
72
|
reportTable(body: any): Observable<any>;
|
|
66
73
|
flagCardValues(body: any): Observable<any>;
|