@esfaenza/core 19.2.197 → 19.2.199
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.
|
@@ -225,7 +225,7 @@ class ErrorPageComponent {
|
|
|
225
225
|
this.BugReportText = "";
|
|
226
226
|
this.canReport = true;
|
|
227
227
|
let identity = this.bts.getJaceIdentity();
|
|
228
|
-
this.debugging = identity
|
|
228
|
+
this.debugging = identity?.Roles?.some(t => t == "Jace Admin");
|
|
229
229
|
this.statusCode = this.route.snapshot.params["statusCode"];
|
|
230
230
|
this.statusCode = this.statusCode == '9999' ? "Javascript Error" : this.statusCode;
|
|
231
231
|
this.statusText = this.b64DecodeUnicode(this.route.snapshot.params["statusText"]);
|
|
@@ -884,7 +884,12 @@ class ExternalPagesComponent {
|
|
|
884
884
|
constructor(emb, _state, route, bts, aac) {
|
|
885
885
|
this.emb = emb;
|
|
886
886
|
this.route = route;
|
|
887
|
-
|
|
887
|
+
let user = this.route.snapshot.params["user"];
|
|
888
|
+
let password = this.route.snapshot.params["pswd"];
|
|
889
|
+
let tenant = this.route.snapshot.params["tnt"];
|
|
890
|
+
let source = this.route.snapshot.params["source"];
|
|
891
|
+
if (source)
|
|
892
|
+
emb.loadExternalPage(user, password, tenant, source, _state, bts.getJaceIdentity(), aac);
|
|
888
893
|
}
|
|
889
894
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ExternalPagesComponent, deps: [{ token: i2$1.AppEmbeddingExtensions }, { token: i1.AppState }, { token: i2.ActivatedRoute }, { token: i1.TokenService }, { token: i5$1.AccessControlService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
890
895
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ExternalPagesComponent, isStandalone: true, selector: "external-pages", ngImport: i0, template: "<!-- Creo il router outlet solo se sono una pagina embeddata, altrimenti vuol dire che avr\u00F2 un redirect al parent embeddato a dovere -->\r\n<router-outlet *ngIf=\"this.emb.Embedded\"></router-outlet>", dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|