tango-app-ui-analyse-trax 4.0.21 → 4.0.23

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.
@@ -104,7 +104,7 @@ export declare class AddChecklistComponent implements OnInit, OnDestroy {
104
104
  getFormArrayQuestionsAnswer(sectionIndex: number, questionIndex: number, formArrayName: string, ansIndex?: number, linkquestionIndex?: number): FormArray<any>;
105
105
  getFormArrayLinkedQuestions(sectionIndex: number, questionIndex: number, answerIndex: number): FormArray<any>;
106
106
  getQuestionsFormArrayValues(sectionIndex: number): any[];
107
- getAnswerFormGroup_FormControl(sectionIndex: number, questionIndex: number, formControlName: string, ansIdx?: number): FormArray<any> | FormControl<any> | null;
107
+ getAnswerFormGroup_FormControl(sectionIndex: number, questionIndex: number, formControlName: string, ansIdx?: number): FormControl<any> | FormArray<any> | null;
108
108
  removedNestedQuestion(sectionindex: number, qno: any): void;
109
109
  updateQuestionQnos(sectionindex: number): void;
110
110
  getQuestionsAnswerFormGroup(sectionIndex: number, questionIndex: number, ansIndex: number): FormGroup<any>;
@@ -122,6 +122,8 @@ export declare class ChecklistConfigureComponent implements OnInit, OnDestroy {
122
122
  scheduleTimeConfig: any;
123
123
  countExceedConfig: number[];
124
124
  objectTypeConfig: any;
125
+ private readonly HIDE_AUTO_TASK_CLIENTS;
126
+ get hideAutoTaskConfig(): boolean;
125
127
  alertTimeConfig: any;
126
128
  alertTimeBufferConfig: any;
127
129
  alerttimekeyconfig: any;
@@ -314,6 +316,7 @@ export declare class ChecklistConfigureComponent implements OnInit, OnDestroy {
314
316
  onEmployeeMonitoringToggleChange(toggle: 'noEmployee' | 'customerPresent', enabled: boolean): void;
315
317
  onStaffToggleChange(toggle: 'breach' | 'presenceCount', enabled: boolean): void;
316
318
  initDetectionConfigDefaults(): void;
319
+ syncCountObjectType(objectType: string): void;
317
320
  detectionConfigPayload(): any;
318
321
  private readonly countDetectionConfigKeys;
319
322
  scopeDetectionConfig(dc: any): any;
@@ -0,0 +1,25 @@
1
+ import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DragScrollDirective implements OnInit, OnDestroy {
4
+ private host;
5
+ private zone;
6
+ scrollStart: EventEmitter<void>;
7
+ private dragStartX;
8
+ private dragStartLeft;
9
+ private dragging;
10
+ private scrolling;
11
+ private scrollIdle;
12
+ constructor(host: ElementRef<HTMLElement>, zone: NgZone);
13
+ ngOnInit(): void;
14
+ ngOnDestroy(): void;
15
+ private get maxScroll();
16
+ private onPointerEnter;
17
+ private onWheel;
18
+ private onPointerDown;
19
+ private onPointerMove;
20
+ private onPointerUp;
21
+ private endDrag;
22
+ private onScroll;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragScrollDirective, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragScrollDirective, "[libDragScroll]", never, {}, { "scrollStart": "scrollStart"; }, never, never, true, never>;
25
+ }
@@ -70,6 +70,7 @@ export declare class FlagsInfoComponent implements OnDestroy, OnInit, OnDestroy
70
70
  */
71
71
  cdStatusKind(status: unknown): "breached" | "notBreached" | "offline" | "other" | "empty";
72
72
  exportTable(): void;
73
+ private cardValuesSub?;
73
74
  getCardValues(): void;
74
75
  getCardTrends(): void;
75
76
  sortData(column: string): void;
@@ -185,6 +186,9 @@ export declare class FlagsInfoComponent implements OnDestroy, OnInit, OnDestroy
185
186
  detectionsByZone?: import("./flags-info.interface").CountDetectionStoreList | undefined;
186
187
  avgDetectionsByDay?: import("./flags-info.interface").CountDetectionDaily | undefined;
187
188
  } | undefined;
189
+ get cdLoading(): boolean;
190
+ readonly cdSkeletonRows: number[];
191
+ readonly cdSkeletonBars: number[];
188
192
  private get cdRoot();
189
193
  get cdIsSingleStore(): boolean;
190
194
  private get cdSelectedStoreId();
@@ -211,12 +215,33 @@ export declare class FlagsInfoComponent implements OnDestroy, OnInit, OnDestroy
211
215
  private get cdDailyNode();
212
216
  get cdDailyBuckets(): any[];
213
217
  get cdDailyAvgDisplay(): string;
218
+ private readonly cdRunRamp;
219
+ private cdRunCache;
220
+ private cdRunKey;
221
+ private cdRunRampColor;
222
+ private cdRunTime;
223
+ private get cdRunPalette();
214
224
  get cdRunLegend(): any[];
225
+ cdRunColor(run: any, index: number): string;
215
226
  cdDayRuns(bucket: any): any[];
216
227
  cdDayLabel(bucket: any): string;
217
228
  cdRunValue(run: any): number;
218
- cdDaySummary(bucket: any): string;
229
+ private cdDaySentAvg;
230
+ get cdShowDayAvg(): boolean;
231
+ cdDayAvg(bucket: any): string;
232
+ cdRunTitle(bucket: any, run: any): string;
233
+ cdTip: {
234
+ text: string;
235
+ top: number;
236
+ left: number | null;
237
+ right: number | null;
238
+ } | null;
239
+ private readonly cdTipWidth;
240
+ cdShowTip(event: MouseEvent, bucket: any, run: any, chart: HTMLElement): void;
241
+ cdHideTip(): void;
219
242
  private get cdMaxDayValue();
243
+ private readonly cdChartHeight;
244
+ readonly cdBarsHeight: number;
220
245
  cdDayBarHeight(run: any): string;
221
246
  static ɵfac: i0.ɵɵFactoryDeclaration<FlagsInfoComponent, never>;
222
247
  static ɵcmp: i0.ɵɵComponentDeclaration<FlagsInfoComponent, "lib-flags-info", never, {}, {}, never, never, false, never>;
@@ -74,6 +74,8 @@ export declare class GalleryComponent implements OnInit, OnDestroy, AfterViewIni
74
74
  get isActivityMonitoring(): boolean;
75
75
  private readonly COUNT_DETECTION_CLIENTS;
76
76
  get isCountDetection(): boolean;
77
+ private readonly HIDE_DETECTED_AREA_CLIENTS;
78
+ get hideCountDetectionArea(): boolean;
77
79
  countDetectionImages(item: any): any[];
78
80
  countDetectionStoreName(item: any): string;
79
81
  countDetectionIsBreached(image: any): boolean;
@@ -63,8 +63,9 @@ import * as i61 from "@angular/forms";
63
63
  import * as i62 from "@angular/cdk/drag-drop";
64
64
  import * as i63 from "ngx-daterangepicker-material";
65
65
  import * as i64 from "@ng-bootstrap/ng-bootstrap";
66
+ import * as i65 from "./components/flags-info/drag-scroll.directive";
66
67
  export declare class TangoAnalyseTraxModule {
67
68
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoAnalyseTraxModule, never>;
68
- static ɵmod: i0.ɵɵNgModuleDeclaration<TangoAnalyseTraxModule, [typeof i1.TangoAnalyseTraxComponent, typeof i2.ChecklistComponent, typeof i3.AddChecklistComponent, typeof i4.TraxpopupComponent, typeof i5.ChecklistConfigureComponent, typeof i6.GalleryComponent, typeof i7.GalleryQaViewComponent, typeof i8.ReactiveSelectComponent, typeof i9.DashboardComponent, typeof i10.DashboardInfoComponent, typeof i8.ReactiveSelectComponent, typeof i11.FlagsComponent, typeof i12.FlagsInfoComponent, typeof i13.UnattendedPieChartComponent, typeof i14.MonthlyperformanceDatepickerComponent, typeof i15.TraxStoreComponent, typeof i16.MultiDateDatepickerComponent, typeof i17.PaginationComponent, typeof i18.ChipDropdownComponent, typeof i19.ReportsComponent, typeof i20.ManagechecklistComponent, typeof i21.ChecklistlayoutComponent, typeof i22.FlagLayoutComponent, typeof i23.DashboardLayoutComponent, typeof i24.CustomSelectComponent, typeof i25.OrdersComponent, typeof i26.ExportGalleryComponent, typeof i27.DatePickerComponent, typeof i28.CreateTaskComponent, typeof i29.TaskConfigureComponent, typeof i30.ActivityLogComponent, typeof i31.TaskComponent, typeof i32.TaskInfoComponent, typeof i33.TaskLayoutComponent, typeof i34.TaskinfoEditComponent, typeof i35.ActionCentreComponent, typeof i36.GroupSelectComponent, typeof i37.AddTaskComponent, typeof i38.TaskLogsComponent, typeof i39.ApprovalPopupComponent, typeof i40.ManageTaskComponent, typeof i41.CustomsingleSelectComponent, typeof i42.MultiChipDropdownComponent, typeof i43.FlagsNewComponent, typeof i44.AssignComponent, typeof i45.ActivityLogV2Component, typeof i46.ViewActionComponent, typeof i47.StoreUserDropdownComponent, typeof i48.DateRangePickerComponent, typeof i49.TraxRunAIPopupComponent, typeof i50.DisabledSelectComponent, typeof i51.AddMultitaskComponent, typeof i52.BulkcreationmodelComponent, typeof i53.CounterComponent, typeof i54.ChecklistPopupComponent, typeof i55.AutoTaskPopupComponent, typeof i56.ImagePopupComponent], [typeof i57.CommonModule, typeof i58.TangoAnalyseTraxRoutingModule, typeof i59.CommonSharedModule, typeof i60.EyeTestAuditModule, typeof i61.FormsModule, typeof i62.DragDropModule, typeof i61.ReactiveFormsModule, typeof i63.NgxDaterangepickerMd, typeof i64.NgbTooltipModule, typeof i64.NgbModule, typeof i64.NgbAccordionModule], never>;
69
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TangoAnalyseTraxModule, [typeof i1.TangoAnalyseTraxComponent, typeof i2.ChecklistComponent, typeof i3.AddChecklistComponent, typeof i4.TraxpopupComponent, typeof i5.ChecklistConfigureComponent, typeof i6.GalleryComponent, typeof i7.GalleryQaViewComponent, typeof i8.ReactiveSelectComponent, typeof i9.DashboardComponent, typeof i10.DashboardInfoComponent, typeof i8.ReactiveSelectComponent, typeof i11.FlagsComponent, typeof i12.FlagsInfoComponent, typeof i13.UnattendedPieChartComponent, typeof i14.MonthlyperformanceDatepickerComponent, typeof i15.TraxStoreComponent, typeof i16.MultiDateDatepickerComponent, typeof i17.PaginationComponent, typeof i18.ChipDropdownComponent, typeof i19.ReportsComponent, typeof i20.ManagechecklistComponent, typeof i21.ChecklistlayoutComponent, typeof i22.FlagLayoutComponent, typeof i23.DashboardLayoutComponent, typeof i24.CustomSelectComponent, typeof i25.OrdersComponent, typeof i26.ExportGalleryComponent, typeof i27.DatePickerComponent, typeof i28.CreateTaskComponent, typeof i29.TaskConfigureComponent, typeof i30.ActivityLogComponent, typeof i31.TaskComponent, typeof i32.TaskInfoComponent, typeof i33.TaskLayoutComponent, typeof i34.TaskinfoEditComponent, typeof i35.ActionCentreComponent, typeof i36.GroupSelectComponent, typeof i37.AddTaskComponent, typeof i38.TaskLogsComponent, typeof i39.ApprovalPopupComponent, typeof i40.ManageTaskComponent, typeof i41.CustomsingleSelectComponent, typeof i42.MultiChipDropdownComponent, typeof i43.FlagsNewComponent, typeof i44.AssignComponent, typeof i45.ActivityLogV2Component, typeof i46.ViewActionComponent, typeof i47.StoreUserDropdownComponent, typeof i48.DateRangePickerComponent, typeof i49.TraxRunAIPopupComponent, typeof i50.DisabledSelectComponent, typeof i51.AddMultitaskComponent, typeof i52.BulkcreationmodelComponent, typeof i53.CounterComponent, typeof i54.ChecklistPopupComponent, typeof i55.AutoTaskPopupComponent, typeof i56.ImagePopupComponent], [typeof i57.CommonModule, typeof i58.TangoAnalyseTraxRoutingModule, typeof i59.CommonSharedModule, typeof i60.EyeTestAuditModule, typeof i61.FormsModule, typeof i62.DragDropModule, typeof i61.ReactiveFormsModule, typeof i63.NgxDaterangepickerMd, typeof i64.NgbTooltipModule, typeof i64.NgbModule, typeof i64.NgbAccordionModule, typeof i65.DragScrollDirective], never>;
69
70
  static ɵinj: i0.ɵɵInjectorDeclaration<TangoAnalyseTraxModule>;
70
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-analyse-trax",
3
- "version": "4.0.21",
3
+ "version": "4.0.23",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"