@everymatrix/stage-mm-verification-report 1.1.44 → 1.1.45
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/component-lib.js +17 -6
- package/main.js +17 -6
- package/main.js.map +1 -1
- package/package-stage.json +1 -1
- package/package.json +1 -1
package/component-lib.js
CHANGED
|
@@ -60399,6 +60399,7 @@ var AppComponent = class _AppComponent {
|
|
|
60399
60399
|
verificationService = inject(VerificationService);
|
|
60400
60400
|
sessionService = inject(SessionService);
|
|
60401
60401
|
tracingInfoService = inject(TracingInfoService);
|
|
60402
|
+
globalMessageService = inject(GlobalMessageService);
|
|
60402
60403
|
el = inject(ElementRef);
|
|
60403
60404
|
cdr = inject(ChangeDetectorRef);
|
|
60404
60405
|
shadowDomStyleInjectorService = inject(ShadowDomStyleInjectorService);
|
|
@@ -60824,7 +60825,10 @@ var AppComponent = class _AppComponent {
|
|
|
60824
60825
|
template: this.templateSignal(),
|
|
60825
60826
|
exportReportName: REPORTS.MM_VERIFICATION.exportReportName
|
|
60826
60827
|
};
|
|
60827
|
-
this.verificationService.runReport(params).pipe(take(1), catchError(() => {
|
|
60828
|
+
this.verificationService.runReport(params).pipe(take(1), catchError((err) => {
|
|
60829
|
+
this.tableLoading = false;
|
|
60830
|
+
this.gridOptions.dataLoading = false;
|
|
60831
|
+
this.globalMessageService.showErrorMessage({ detail: err?.message || "Failed to run report." });
|
|
60828
60832
|
return of([]);
|
|
60829
60833
|
})).subscribe((data) => {
|
|
60830
60834
|
this.tableLoading = false;
|
|
@@ -60857,11 +60861,15 @@ var AppComponent = class _AppComponent {
|
|
|
60857
60861
|
};
|
|
60858
60862
|
this.verificationService.runReport(__spreadProps(__spreadValues({}, params), {
|
|
60859
60863
|
isGrandTotal: true
|
|
60860
|
-
})).pipe(take(1), catchError(() =>
|
|
60864
|
+
})).pipe(take(1), catchError((err) => {
|
|
60865
|
+
this.globalMessageService.showErrorMessage({ detail: err?.message || "Failed to load grand total." });
|
|
60866
|
+
return of([]);
|
|
60867
|
+
})).subscribe((data) => {
|
|
60868
|
+
const rowsCount = data[0]?.rows_count ?? 0;
|
|
60861
60869
|
this.generalTotal = data[0]?.rows_count;
|
|
60862
60870
|
if (this.gridApi) {
|
|
60863
|
-
this.gridApi.grid.total =
|
|
60864
|
-
this.gridOptions.totalItems =
|
|
60871
|
+
this.gridApi.grid.total = rowsCount;
|
|
60872
|
+
this.gridOptions.totalItems = rowsCount;
|
|
60865
60873
|
this.gridApi.grid.loadingAggregationData = false;
|
|
60866
60874
|
}
|
|
60867
60875
|
this.cdr.detectChanges();
|
|
@@ -60886,7 +60894,10 @@ var AppComponent = class _AppComponent {
|
|
|
60886
60894
|
sorting: sortingValue,
|
|
60887
60895
|
template: this.templateSignal(),
|
|
60888
60896
|
exportReportName: REPORTS.MM_VERIFICATION.exportReportName
|
|
60889
|
-
}).pipe(take(1), catchError(() =>
|
|
60897
|
+
}).pipe(take(1), catchError((err) => {
|
|
60898
|
+
this.globalMessageService.showErrorMessage({ detail: err?.message || "Failed to run report." });
|
|
60899
|
+
return of([]);
|
|
60900
|
+
})).subscribe((data) => {
|
|
60890
60901
|
this.tableData = [...data];
|
|
60891
60902
|
this.gridOptions.data = [...data];
|
|
60892
60903
|
this.tableLoading = false;
|
|
@@ -61834,7 +61845,7 @@ var AppComponent = class _AppComponent {
|
|
|
61834
61845
|
});
|
|
61835
61846
|
})();
|
|
61836
61847
|
(() => {
|
|
61837
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(AppComponent, { className: "AppComponent", filePath: "apps/reports/moneymatrix/verification/src/app/app.component.ts", lineNumber:
|
|
61848
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(AppComponent, { className: "AppComponent", filePath: "apps/reports/moneymatrix/verification/src/app/app.component.ts", lineNumber: 100 });
|
|
61838
61849
|
})();
|
|
61839
61850
|
|
|
61840
61851
|
// node_modules/@angular/elements/fesm2022/elements.mjs
|
package/main.js
CHANGED
|
@@ -58015,6 +58015,7 @@ var AppComponent = class _AppComponent {
|
|
|
58015
58015
|
verificationService = inject(VerificationService);
|
|
58016
58016
|
sessionService = inject(SessionService);
|
|
58017
58017
|
tracingInfoService = inject(TracingInfoService);
|
|
58018
|
+
globalMessageService = inject(GlobalMessageService);
|
|
58018
58019
|
el = inject(ElementRef);
|
|
58019
58020
|
cdr = inject(ChangeDetectorRef);
|
|
58020
58021
|
shadowDomStyleInjectorService = inject(ShadowDomStyleInjectorService);
|
|
@@ -58440,7 +58441,10 @@ var AppComponent = class _AppComponent {
|
|
|
58440
58441
|
template: this.templateSignal(),
|
|
58441
58442
|
exportReportName: REPORTS.MM_VERIFICATION.exportReportName
|
|
58442
58443
|
};
|
|
58443
|
-
this.verificationService.runReport(params).pipe(take(1), catchError(() => {
|
|
58444
|
+
this.verificationService.runReport(params).pipe(take(1), catchError((err) => {
|
|
58445
|
+
this.tableLoading = false;
|
|
58446
|
+
this.gridOptions.dataLoading = false;
|
|
58447
|
+
this.globalMessageService.showErrorMessage({ detail: err?.message || "Failed to run report." });
|
|
58444
58448
|
return of([]);
|
|
58445
58449
|
})).subscribe((data) => {
|
|
58446
58450
|
this.tableLoading = false;
|
|
@@ -58473,11 +58477,15 @@ var AppComponent = class _AppComponent {
|
|
|
58473
58477
|
};
|
|
58474
58478
|
this.verificationService.runReport(__spreadProps(__spreadValues({}, params), {
|
|
58475
58479
|
isGrandTotal: true
|
|
58476
|
-
})).pipe(take(1), catchError(() =>
|
|
58480
|
+
})).pipe(take(1), catchError((err) => {
|
|
58481
|
+
this.globalMessageService.showErrorMessage({ detail: err?.message || "Failed to load grand total." });
|
|
58482
|
+
return of([]);
|
|
58483
|
+
})).subscribe((data) => {
|
|
58484
|
+
const rowsCount = data[0]?.rows_count ?? 0;
|
|
58477
58485
|
this.generalTotal = data[0]?.rows_count;
|
|
58478
58486
|
if (this.gridApi) {
|
|
58479
|
-
this.gridApi.grid.total =
|
|
58480
|
-
this.gridOptions.totalItems =
|
|
58487
|
+
this.gridApi.grid.total = rowsCount;
|
|
58488
|
+
this.gridOptions.totalItems = rowsCount;
|
|
58481
58489
|
this.gridApi.grid.loadingAggregationData = false;
|
|
58482
58490
|
}
|
|
58483
58491
|
this.cdr.detectChanges();
|
|
@@ -58502,7 +58510,10 @@ var AppComponent = class _AppComponent {
|
|
|
58502
58510
|
sorting: sortingValue,
|
|
58503
58511
|
template: this.templateSignal(),
|
|
58504
58512
|
exportReportName: REPORTS.MM_VERIFICATION.exportReportName
|
|
58505
|
-
}).pipe(take(1), catchError(() =>
|
|
58513
|
+
}).pipe(take(1), catchError((err) => {
|
|
58514
|
+
this.globalMessageService.showErrorMessage({ detail: err?.message || "Failed to run report." });
|
|
58515
|
+
return of([]);
|
|
58516
|
+
})).subscribe((data) => {
|
|
58506
58517
|
this.tableData = [...data];
|
|
58507
58518
|
this.gridOptions.data = [...data];
|
|
58508
58519
|
this.tableLoading = false;
|
|
@@ -59450,7 +59461,7 @@ var AppComponent = class _AppComponent {
|
|
|
59450
59461
|
});
|
|
59451
59462
|
})();
|
|
59452
59463
|
(() => {
|
|
59453
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(AppComponent, { className: "AppComponent", filePath: "apps/reports/moneymatrix/verification/src/app/app.component.ts", lineNumber:
|
|
59464
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(AppComponent, { className: "AppComponent", filePath: "apps/reports/moneymatrix/verification/src/app/app.component.ts", lineNumber: 100 });
|
|
59454
59465
|
})();
|
|
59455
59466
|
|
|
59456
59467
|
// node_modules/@angular/elements/fesm2022/elements.mjs
|