tango-app-ui-analyse-trax 4.0.48 → 4.0.49

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.
@@ -1,4 +1,4 @@
1
- export { g as TangoAnalyseTraxComponent, f as TangoAnalyseTraxModule } from './tango-app-ui-analyse-trax-tango-app-ui-analyse-trax-C4oOKSEZ.mjs';
1
+ export { g as TangoAnalyseTraxComponent, f as TangoAnalyseTraxModule } from './tango-app-ui-analyse-trax-tango-app-ui-analyse-trax-Cuk5lK5L.mjs';
2
2
  import '@angular/core';
3
3
  import '@angular/common';
4
4
  import '@angular/router';
@@ -76,6 +76,10 @@ export declare class AuditV2ConfigureComponent implements OnInit, OnDestroy {
76
76
  dailySendApprover: boolean;
77
77
  dailySendCustom: boolean;
78
78
  dailyUsers: ChipUser[];
79
+ /** Daily Report > Custom bulk upload popup (as the Checklist Configure page's). */
80
+ dailyBulkOpen: boolean;
81
+ /** Row errors of the last upload; any error rejects the whole file, so nothing partial is applied. */
82
+ dailyBulkErrors: string[];
79
83
  sharePostApproval: boolean;
80
84
  exportSubmissionOn: boolean;
81
85
  redoValidFor: number;
@@ -140,7 +144,7 @@ export declare class AuditV2ConfigureComponent implements OnInit, OnDestroy {
140
144
  get backLabel(): string;
141
145
  back(event?: Event): void;
142
146
  ngOnDestroy(): void;
143
- /** Escape closes the open dropdown / suggestion list. */
147
+ /** Escape closes the open dropdown / suggestion list / bulk upload popup. */
144
148
  onEscape(): void;
145
149
  /**
146
150
  * A press or focus outside the open dropdown / suggestion list closes it. Listened to in the
@@ -212,6 +216,18 @@ export declare class AuditV2ConfigureComponent implements OnInit, OnDestroy {
212
216
  /** Enter takes the first suggestion; an exact email works even for a user not in the list. */
213
217
  addChip(list: ChipList): void;
214
218
  removeChip(list: ChipList, index: number): void;
219
+ openDailyBulk(): void;
220
+ closeDailyBulk(): void;
221
+ /** Username + Email template, pre-filled with the current Daily Report custom users (as the Checklist one). */
222
+ downloadDailyTemplate(): void;
223
+ /**
224
+ * Replaces the Daily Report custom users with the uploaded sheet, as the Checklist Configure page does:
225
+ * only the Email column counts (the name comes from the client's user list), and every row must be an
226
+ * existing user. Any invalid row rejects the whole file.
227
+ */
228
+ onDailyBulkFile(event: Event): void;
229
+ /** Applies the sheet to dailyUsers and returns [] on success, else the reasons it was rejected. */
230
+ private applyDailyBulk;
215
231
  /** What the checklist keeps as assignedUsers, exactly as the Checklist Configure page sends it. */
216
232
  private assignedUsers;
217
233
  get preSubmissionEmpty(): boolean;
@@ -226,6 +226,7 @@ export declare class AuditV2ReportsComponent implements OnInit, OnDestroy {
226
226
  }>;
227
227
  get storePickAllChecked(): boolean;
228
228
  get storePickReading(): string;
229
+ /** null = every store; an empty set = none ticked (Select All unticked), which Apply does not accept. */
229
230
  private applyPick;
230
231
  private get pickedIds();
231
232
  toggleStorePick(s: StoreRow): void;
@@ -247,15 +248,18 @@ export declare class AuditV2ReportsComponent implements OnInit, OnDestroy {
247
248
  setPreset(p: string): void;
248
249
  /** A range picked by hand refetches too and is no longer one of the presets. */
249
250
  onRangePicked(e: PickedDates | null): void;
250
- private readonly storeHeader;
251
- private storeLine;
252
- /** Top Export: the whole report as filtered (every page): stores in the Store view, the current level in the User view. */
251
+ /** True while an export is being fetched; a second click waits for it. */
252
+ exporting: boolean;
253
+ /** Top Export: the report as filtered (every page): its stores in the Store view, the stores under the current level in the User view. */
253
254
  exportAll(): void;
254
- /** Row Export in a store table: that store's line; a store with no audit in the period has nothing to export. */
255
+ /** Row Export in a store table: that store's visits. */
255
256
  exportStore(s: StoreRow): void;
256
- /** Row Export in the roll-up table: every store under that row. */
257
+ /** Row Export in the roll-up table: the visits of every store under that row. */
257
258
  exportRow(row: ReportRow): void;
258
- private downloadCsv;
259
+ private storesUnder;
260
+ private exportVisits;
261
+ /** The Dashboard detail export's columns (audit-v2-detail exportRows), one visit per row. */
262
+ private visitLine;
259
263
  trackByRow(_: number, row: ReportRow): string;
260
264
  trackByKey(_: number, s: StoreRow): string;
261
265
  trackByPick(_: number, item: {
@@ -43,7 +43,8 @@ export declare class AuditV2ScheduleDetailComponent implements OnInit, OnDestroy
43
43
  edit: EventEmitter<string>;
44
44
  loading: boolean;
45
45
  name: string;
46
- audits: string;
46
+ /** The schedule's audits by name; the summary line shows a count when there are several (names in its tooltip). */
47
+ auditNames: string[];
47
48
  published: boolean;
48
49
  metrics: {
49
50
  visits: number;
@@ -78,6 +79,8 @@ export declare class AuditV2ScheduleDetailComponent implements OnInit, OnDestroy
78
79
  head: string;
79
80
  }>;
80
81
  get rangeLabel(): string;
82
+ /** Every audit name, as the summary line's tooltip when it shows only the count. */
83
+ get auditsTip(): string | null;
81
84
  /** Column sort ('' = the schedule's order); a header click toggles ascending / descending (QA 10 Oct). */
82
85
  sortKey: string;
83
86
  sortDir: 'asc' | 'desc';
@@ -313,9 +313,11 @@ export declare class AuditV2ScheduleEditorComponent implements OnInit, OnChanges
313
313
  /** Selected shown rows (a row's checkbox selects every audit of its group). */
314
314
  get selectedGroups(): number;
315
315
  get selectionLabel(): string;
316
+ /** Rows the header checkbox acts on: past (locked) rows cannot be selected. */
317
+ private get selectableRows();
316
318
  get allRowsSelected(): boolean;
317
319
  toggleAllRows(): void;
318
- /** A shown row's checkbox selects every audit of its group. */
320
+ /** A shown row's checkbox selects every audit of its group; a past (locked) row cannot be selected. */
319
321
  toggleRow(row: EditorRow): void;
320
322
  addRow(): void;
321
323
  /** A row (visit) that can no longer be edited or deleted (QA 11 Oct: no editing older dates). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-analyse-trax",
3
- "version": "4.0.48",
3
+ "version": "4.0.49",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"