tango-app-ui-analyse-trax 3.3.1-alpha-task.67 → 3.3.1-alpha-task.69
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/action-centre/action-centre.component.mjs +54 -36
- package/esm2022/lib/components/activity-log/activity-log.component.mjs +33 -9
- package/esm2022/lib/components/add-task/add-task.component.mjs +2 -2
- package/esm2022/lib/components/chip-dropdown/chip-dropdown.component.mjs +15 -8
- package/esm2022/lib/components/create-task/create-task.component.mjs +41 -14
- package/esm2022/lib/components/create-task/create-task.data.mjs +12 -12
- package/esm2022/lib/components/create-task/create-task.interface.mjs +1 -1
- package/esm2022/lib/components/dashboard-info/dashboard-info.component.mjs +38 -71
- package/esm2022/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.mjs +3 -21
- package/esm2022/lib/components/gallery/gallery.component.mjs +25 -17
- package/esm2022/lib/services/trax.service.mjs +2 -2
- package/fesm2022/tango-app-ui-analyse-trax.mjs +213 -182
- package/fesm2022/tango-app-ui-analyse-trax.mjs.map +1 -1
- package/lib/components/action-centre/action-centre.component.d.ts +13 -8
- package/lib/components/activity-log/activity-log.component.d.ts +4 -1
- package/lib/components/chip-dropdown/chip-dropdown.component.d.ts +2 -1
- package/lib/components/create-task/create-task.component.d.ts +4 -1
- package/lib/components/create-task/create-task.data.d.ts +11 -11
- package/lib/components/create-task/create-task.interface.d.ts +2 -2
- package/lib/components/dashboard-info/dashboard-info.component.d.ts +2 -0
- 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/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/package.json +1 -1
|
@@ -12,13 +12,6 @@ export declare class ActionCentreComponent implements OnInit {
|
|
|
12
12
|
private destroy$;
|
|
13
13
|
searchInput: any;
|
|
14
14
|
form: FormGroup;
|
|
15
|
-
checklistselectControl: FormControl;
|
|
16
|
-
checklistDropdown: {
|
|
17
|
-
_id: string;
|
|
18
|
-
checkListName: string;
|
|
19
|
-
}[];
|
|
20
|
-
filterByRoles: any;
|
|
21
|
-
dataObject: any;
|
|
22
15
|
headerData: any;
|
|
23
16
|
overallCardsData: any;
|
|
24
17
|
cardDataLoading: boolean;
|
|
@@ -41,13 +34,25 @@ export declare class ActionCentreComponent implements OnInit {
|
|
|
41
34
|
approvalInprogressNoData: boolean;
|
|
42
35
|
approvedLoading: boolean;
|
|
43
36
|
approvedNoData: boolean;
|
|
37
|
+
priorityType: any;
|
|
38
|
+
selectedlistselectControl: FormControl;
|
|
39
|
+
selectedStatus: any;
|
|
40
|
+
statusselectControl: {
|
|
41
|
+
_id: string;
|
|
42
|
+
label: string;
|
|
43
|
+
}[];
|
|
44
|
+
dataObject: any;
|
|
45
|
+
searchValue: string;
|
|
46
|
+
limit: number;
|
|
47
|
+
offset: number;
|
|
48
|
+
isTaskSelected: boolean;
|
|
44
49
|
constructor(fb: FormBuilder, gs: GlobalStateService, pageInfo: PageInfoService, TraxService: TraxService, changeDetector: ChangeDetectorRef);
|
|
45
50
|
ngOnDestroy(): void;
|
|
46
51
|
ngOnInit(): void;
|
|
47
52
|
setPageData(): void;
|
|
48
53
|
getOverallActionCenterData(): void;
|
|
49
54
|
getApprovalOpenData(): void;
|
|
50
|
-
|
|
55
|
+
onValueChangeStatusSelect(event: any): void;
|
|
51
56
|
searchField(): void;
|
|
52
57
|
setPaginationSizes(): void;
|
|
53
58
|
applyFilters(event: any): void;
|
|
@@ -13,10 +13,10 @@ export declare class ActivityLogComponent {
|
|
|
13
13
|
activityLogNoData: boolean;
|
|
14
14
|
itemsPerPage: number;
|
|
15
15
|
currentPage: number;
|
|
16
|
+
totalItems: number;
|
|
16
17
|
sortColumName: string;
|
|
17
18
|
sortBy: any;
|
|
18
19
|
sortDirection: any;
|
|
19
|
-
totalItems: number;
|
|
20
20
|
paginationSizes: any[];
|
|
21
21
|
pageSize: number;
|
|
22
22
|
activityLog: any[];
|
|
@@ -25,6 +25,9 @@ export declare class ActivityLogComponent {
|
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
setPageData(): void;
|
|
27
27
|
getActivityLog(): void;
|
|
28
|
+
onPageSizeChange(pageSize: any): void;
|
|
29
|
+
onPageChange(pageOffset: any): void;
|
|
30
|
+
setPaginationSizes(): void;
|
|
28
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityLogComponent, never>;
|
|
29
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityLogComponent, "lib-activity-log", never, {}, {}, never, never, false, never>;
|
|
30
33
|
}
|
|
@@ -10,13 +10,14 @@ export declare class ChipDropdownComponent implements OnInit, OnChanges {
|
|
|
10
10
|
showDropdown: boolean;
|
|
11
11
|
dummyData: any;
|
|
12
12
|
instanceId: string;
|
|
13
|
+
searchValue: any;
|
|
13
14
|
constructor(traxService: TraxService, cd: ChangeDetectorRef);
|
|
14
15
|
ngOnInit(): void;
|
|
15
16
|
ngOnChanges(changes: SimpleChanges): void;
|
|
16
17
|
addBadge(data: any, index: any): void;
|
|
17
18
|
removeBadge(data: any, index: number): void;
|
|
18
19
|
debounceTimer: any;
|
|
19
|
-
findValue(
|
|
20
|
+
findValue(): void;
|
|
20
21
|
toggleDropdown(): void;
|
|
21
22
|
clickOutside(event: MouseEvent): void;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipDropdownComponent, never>;
|
|
@@ -35,6 +35,7 @@ export declare class CreateTaskComponent implements OnInit, OnDestroy {
|
|
|
35
35
|
setPageData(): void;
|
|
36
36
|
createForm(): void;
|
|
37
37
|
updateForm(): void;
|
|
38
|
+
updateIndexNumbers(): void;
|
|
38
39
|
addSectionForm(section?: Section): void;
|
|
39
40
|
addQuestionForm(question: Question, sectionIndex: number, insertIndex?: number): void;
|
|
40
41
|
addAnswerForm(answer: Answer, sectionIndex: number, questionIndex: number, insertIndex?: number): void;
|
|
@@ -44,11 +45,13 @@ export declare class CreateTaskComponent implements OnInit, OnDestroy {
|
|
|
44
45
|
uploadFile(event: any, sectionIndex: number, questionIndex: number, answerIndex?: number): void;
|
|
45
46
|
onQuestionClone(sectionIndex: number, questionIndex: number, question: FormGroup<QuestionForm>): void;
|
|
46
47
|
onQuestionDelete(sectionIndex: number, questionIndex: number): void;
|
|
48
|
+
onDeleteQuestionReferenceImage(sectionIndex: number, questionIndex: number, imageIndex: number): void;
|
|
49
|
+
onDeleteAnswerReferenceImage(sectionIndex: number, questionIndex: number, answerIndex: number): void;
|
|
47
50
|
onDeleteReferenceImage(sectionIndex: number, questionIndex: number, answerIndex?: number): void;
|
|
48
51
|
onValidateResponseChange(event: any, sectionIndex: number, questionIndex: number, answerIndex: number): void;
|
|
49
52
|
onAnswerDelete(sectionIndex: number, questionIndex: number, answerIndex: number): void;
|
|
50
53
|
addNewAnswer(sectionIndex: number, questionIndex: number, type: AnswerType): void;
|
|
51
|
-
addNewQuestion(sectionIndex: number): void;
|
|
54
|
+
addNewQuestion(sectionIndex: number, questionIndex: number): void;
|
|
52
55
|
onQuestionChange(event: any, sectionIndex: number, questionIndex: number): void;
|
|
53
56
|
selectQuestion(sectionIndex: number, questionIndex: number, question: FormGroup<QuestionForm>): void;
|
|
54
57
|
onSubmit(action: 'save' | 'configure'): void;
|
|
@@ -5,7 +5,7 @@ export declare const descriptive_question_template: {
|
|
|
5
5
|
runAIDescription: string;
|
|
6
6
|
allowUploadfromGallery: boolean;
|
|
7
7
|
linkType: boolean;
|
|
8
|
-
questionReferenceImage:
|
|
8
|
+
questionReferenceImage: never[];
|
|
9
9
|
descriptivetype: string;
|
|
10
10
|
answers: {
|
|
11
11
|
answer: string;
|
|
@@ -26,7 +26,7 @@ export declare const yesorno_question_template: {
|
|
|
26
26
|
runAIDescription: string;
|
|
27
27
|
allowUploadfromGallery: boolean;
|
|
28
28
|
linkType: boolean;
|
|
29
|
-
questionReferenceImage:
|
|
29
|
+
questionReferenceImage: never[];
|
|
30
30
|
answers: {
|
|
31
31
|
answer: string;
|
|
32
32
|
sopFlag: boolean;
|
|
@@ -48,7 +48,7 @@ export declare const multiplechoicesingle_question_template: {
|
|
|
48
48
|
runAIDescription: string;
|
|
49
49
|
allowUploadfromGallery: boolean;
|
|
50
50
|
linkType: boolean;
|
|
51
|
-
questionReferenceImage:
|
|
51
|
+
questionReferenceImage: never[];
|
|
52
52
|
answers: {
|
|
53
53
|
answer: string;
|
|
54
54
|
sopFlag: boolean;
|
|
@@ -83,7 +83,7 @@ export declare const multiplechoicemultiple_question_template: {
|
|
|
83
83
|
runAIDescription: string;
|
|
84
84
|
allowUploadfromGallery: boolean;
|
|
85
85
|
linkType: boolean;
|
|
86
|
-
questionReferenceImage:
|
|
86
|
+
questionReferenceImage: never[];
|
|
87
87
|
answers: {
|
|
88
88
|
answer: string;
|
|
89
89
|
sopFlag: boolean;
|
|
@@ -105,7 +105,7 @@ export declare const descriptiveImage_question_template: {
|
|
|
105
105
|
runAIDescription: string;
|
|
106
106
|
allowUploadfromGallery: boolean;
|
|
107
107
|
linkType: boolean;
|
|
108
|
-
questionReferenceImage:
|
|
108
|
+
questionReferenceImage: never[];
|
|
109
109
|
answers: {
|
|
110
110
|
answer: string;
|
|
111
111
|
sopFlag: boolean;
|
|
@@ -125,7 +125,7 @@ export declare const image_question_template: {
|
|
|
125
125
|
runAIDescription: string;
|
|
126
126
|
allowUploadfromGallery: boolean;
|
|
127
127
|
linkType: boolean;
|
|
128
|
-
questionReferenceImage:
|
|
128
|
+
questionReferenceImage: never[];
|
|
129
129
|
answers: {
|
|
130
130
|
answer: string;
|
|
131
131
|
sopFlag: boolean;
|
|
@@ -145,7 +145,7 @@ export declare const video_question_template: {
|
|
|
145
145
|
runAIDescription: string;
|
|
146
146
|
allowUploadfromGallery: boolean;
|
|
147
147
|
linkType: boolean;
|
|
148
|
-
questionReferenceImage:
|
|
148
|
+
questionReferenceImage: never[];
|
|
149
149
|
answers: {
|
|
150
150
|
answer: string;
|
|
151
151
|
sopFlag: boolean;
|
|
@@ -165,7 +165,7 @@ export declare const multipleImage_question_template: {
|
|
|
165
165
|
runAIDescription: string;
|
|
166
166
|
allowUploadfromGallery: boolean;
|
|
167
167
|
linkType: boolean;
|
|
168
|
-
questionReferenceImage:
|
|
168
|
+
questionReferenceImage: never[];
|
|
169
169
|
descriptivetype: string;
|
|
170
170
|
answers: {
|
|
171
171
|
answer: string;
|
|
@@ -187,7 +187,7 @@ export declare const date_question_template: {
|
|
|
187
187
|
runAIDescription: string;
|
|
188
188
|
allowUploadfromGallery: boolean;
|
|
189
189
|
linkType: boolean;
|
|
190
|
-
questionReferenceImage:
|
|
190
|
+
questionReferenceImage: never[];
|
|
191
191
|
answers: {
|
|
192
192
|
answer: string;
|
|
193
193
|
sopFlag: boolean;
|
|
@@ -207,7 +207,7 @@ export declare const linearscale_question_template: {
|
|
|
207
207
|
runAIDescription: string;
|
|
208
208
|
allowUploadfromGallery: boolean;
|
|
209
209
|
linkType: boolean;
|
|
210
|
-
questionReferenceImage:
|
|
210
|
+
questionReferenceImage: never[];
|
|
211
211
|
answers: {
|
|
212
212
|
answer: string;
|
|
213
213
|
sopFlag: boolean;
|
|
@@ -229,7 +229,7 @@ export declare const time_question_template: {
|
|
|
229
229
|
runAIDescription: string;
|
|
230
230
|
allowUploadfromGallery: boolean;
|
|
231
231
|
linkType: boolean;
|
|
232
|
-
questionReferenceImage:
|
|
232
|
+
questionReferenceImage: never[];
|
|
233
233
|
answers: {
|
|
234
234
|
answer: string;
|
|
235
235
|
sopFlag: boolean;
|
|
@@ -62,7 +62,7 @@ export interface Question {
|
|
|
62
62
|
runAIDescription: string;
|
|
63
63
|
allowUploadfromGallery: boolean;
|
|
64
64
|
linkType: boolean;
|
|
65
|
-
questionReferenceImage: string;
|
|
65
|
+
questionReferenceImage: string[];
|
|
66
66
|
answers: Answer[];
|
|
67
67
|
descriptivetype?: DescriptiveType;
|
|
68
68
|
}
|
|
@@ -101,7 +101,7 @@ export interface QuestionForm {
|
|
|
101
101
|
runAIDescription: FormControl<string | null>;
|
|
102
102
|
allowUploadfromGallery: FormControl<boolean | null>;
|
|
103
103
|
linkType: FormControl<boolean | null>;
|
|
104
|
-
questionReferenceImage: FormControl<string | null>;
|
|
104
|
+
questionReferenceImage: FormControl<string[] | null>;
|
|
105
105
|
descriptivetype?: FormControl<DescriptiveType | null>;
|
|
106
106
|
answers: FormArray<FormGroup<AnswerForm>>;
|
|
107
107
|
}
|
|
@@ -74,6 +74,8 @@ export declare class DashboardInfoComponent implements OnDestroy, OnInit {
|
|
|
74
74
|
offset: number;
|
|
75
75
|
dateLength: number;
|
|
76
76
|
checklistInfoDate: string;
|
|
77
|
+
refreshDropdown: boolean;
|
|
78
|
+
refreshuserDropdown: boolean;
|
|
77
79
|
constructor(route: ActivatedRoute, router: Router, gs: GlobalStateService, changeDetector: ChangeDetectorRef, toast: ToastService, TraxService: TraxService, fb: FormBuilder, pageInfo: PageInfoService, toastService: ToastService);
|
|
78
80
|
ngOnDestroy(): void;
|
|
79
81
|
ngOnInit(): void;
|
|
@@ -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<"initial" | "loading" | "loaded">;
|
|
25
25
|
flagsTableData: FlagsTableData[];
|
|
26
|
-
cardMetricsApiState: BehaviorSubject<"
|
|
26
|
+
cardMetricsApiState: BehaviorSubject<"initial" | "loading" | "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<"initial" | "loading" | "loaded">;
|
|
33
33
|
currentChecklist: Checklist | null | undefined;
|
|
34
34
|
checklistFlagList: ChecklistFlagList | null | undefined;
|
|
35
|
-
flagsTableApiState: BehaviorSubject<"
|
|
35
|
+
flagsTableApiState: BehaviorSubject<"initial" | "loading" | "loaded">;
|
|
36
36
|
flagCardValues: FlagCardValues | null | undefined;
|
|
37
|
-
flagsCardValuesState: BehaviorSubject<"
|
|
37
|
+
flagsCardValuesState: BehaviorSubject<"initial" | "loading" | "loaded">;
|
|
38
38
|
flagCardTrends: FlagCardTrends | null | undefined;
|
|
39
39
|
unattendedSummaryChartNumber: number;
|
|
40
40
|
dateComparisonType: 'daily' | 'weekly';
|
|
@@ -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<"initial" | "loading" | "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<"initial" | "loading" | "loaded">;
|
|
34
34
|
currentChecklist: Checklist | null | undefined;
|
|
35
35
|
checklistReports: checkListReport[];
|
|
36
|
-
reportsTableApiState: BehaviorSubject<"
|
|
36
|
+
reportsTableApiState: BehaviorSubject<"initial" | "loading" | "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<"initial" | "loading" | "loaded">;
|
|
38
38
|
assignTableData: UserAssignDetails[] | null | undefined;
|
|
39
39
|
itemsPerPage: number;
|
|
40
40
|
currentPage: number;
|