intelica-library-project 20.0.13 → 20.0.14
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.
|
@@ -2305,7 +2305,8 @@ function dispatchQuicksightEvent(event, outputs) {
|
|
|
2305
2305
|
class DashboardQsComponent {
|
|
2306
2306
|
sharedService = inject(Shared);
|
|
2307
2307
|
alertService = inject(AlertService);
|
|
2308
|
-
|
|
2308
|
+
termPipe = inject(TermPipe);
|
|
2309
|
+
GlobalTermService = inject(GlobalTermService);
|
|
2309
2310
|
route = inject(ActivatedRoute);
|
|
2310
2311
|
sessionExpiredShown = false;
|
|
2311
2312
|
containers;
|
|
@@ -2360,15 +2361,11 @@ class DashboardQsComponent {
|
|
|
2360
2361
|
this.isLoading.set(false);
|
|
2361
2362
|
}
|
|
2362
2363
|
}
|
|
2363
|
-
t(key, fallback) {
|
|
2364
|
-
const value = this.term.transform(key);
|
|
2365
|
-
return value && value !== '-' ? value : fallback;
|
|
2366
|
-
}
|
|
2367
2364
|
async handleSessionExpired() {
|
|
2368
2365
|
if (this.sessionExpiredShown)
|
|
2369
2366
|
return;
|
|
2370
2367
|
this.sessionExpiredShown = true;
|
|
2371
|
-
const { isConfirmed } = await this.alertService.confirm(this.
|
|
2368
|
+
const { isConfirmed } = await this.alertService.confirm(this.termPipe.transform('QUICKSIGHT_SESSION_EXPIRED_TITLE', this.GlobalTermService.languageCode), this.termPipe.transform('QUICKSIGHT_SESSION_EXPIRED_MESSAGE', this.GlobalTermService.languageCode), this.termPipe.transform('QUICKSIGHT_SESSION_EXPIRED_CONFIRM', this.GlobalTermService.languageCode), this.termPipe.transform('CANCEL', this.GlobalTermService.languageCode));
|
|
2372
2369
|
if (isConfirmed)
|
|
2373
2370
|
window.location.reload();
|
|
2374
2371
|
else
|
|
@@ -2388,7 +2385,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImpo
|
|
|
2388
2385
|
class DashboardQsInteractiveComponent {
|
|
2389
2386
|
sharedService = inject(Shared);
|
|
2390
2387
|
alertService = inject(AlertService);
|
|
2391
|
-
|
|
2388
|
+
termPipe = inject(TermPipe);
|
|
2389
|
+
GlobalTermService = inject(GlobalTermService);
|
|
2392
2390
|
route = inject(ActivatedRoute);
|
|
2393
2391
|
sessionExpiredShown = false;
|
|
2394
2392
|
containers;
|
|
@@ -2453,15 +2451,11 @@ class DashboardQsInteractiveComponent {
|
|
|
2453
2451
|
this.isLoading.set(false);
|
|
2454
2452
|
}
|
|
2455
2453
|
}
|
|
2456
|
-
t(key, fallback) {
|
|
2457
|
-
const value = this.term.transform(key);
|
|
2458
|
-
return value && value !== '-' ? value : fallback;
|
|
2459
|
-
}
|
|
2460
2454
|
async handleSessionExpired() {
|
|
2461
2455
|
if (this.sessionExpiredShown)
|
|
2462
2456
|
return;
|
|
2463
2457
|
this.sessionExpiredShown = true;
|
|
2464
|
-
const { isConfirmed } = await this.alertService.confirm(this.
|
|
2458
|
+
const { isConfirmed } = await this.alertService.confirm(this.termPipe.transform('QUICKSIGHT_SESSION_EXPIRED_TITLE', this.GlobalTermService.languageCode), this.termPipe.transform('QUICKSIGHT_SESSION_EXPIRED_MESSAGE', this.GlobalTermService.languageCode), this.termPipe.transform('QUICKSIGHT_SESSION_EXPIRED_CONFIRM', this.GlobalTermService.languageCode), this.termPipe.transform('CANCEL', this.GlobalTermService.languageCode));
|
|
2465
2459
|
if (isConfirmed)
|
|
2466
2460
|
window.location.reload();
|
|
2467
2461
|
else
|