@esfaenza/core 19.2.198 → 19.2.200
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.
|
@@ -6,7 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class ExternalPagesComponent {
|
|
7
7
|
emb: AppEmbeddingExtensions;
|
|
8
8
|
private route;
|
|
9
|
-
|
|
9
|
+
private anonymousMode;
|
|
10
|
+
constructor(emb: AppEmbeddingExtensions, _state: AppState, route: ActivatedRoute, bts: TokenService, aac: AccessControlService, anonymousMode: boolean);
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalPagesComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalPagesComponent, "external-pages", never, {}, {}, never, never, true, never>;
|
|
12
13
|
}
|
|
@@ -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"]);
|
|
@@ -881,18 +881,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
881
881
|
|
|
882
882
|
// Angular
|
|
883
883
|
class ExternalPagesComponent {
|
|
884
|
-
constructor(emb, _state, route, bts, aac) {
|
|
884
|
+
constructor(emb, _state, route, bts, aac, anonymousMode) {
|
|
885
885
|
this.emb = emb;
|
|
886
886
|
this.route = route;
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
887
|
+
this.anonymousMode = anonymousMode;
|
|
888
|
+
let user = this.route.snapshot.params["user"];
|
|
889
|
+
let password = this.route.snapshot.params["pswd"];
|
|
890
|
+
let tenant = this.route.snapshot.params["tnt"];
|
|
891
|
+
let source = this.route.snapshot.params["source"];
|
|
892
|
+
if (!anonymousMode)
|
|
893
|
+
emb.loadExternalPage(user, password, tenant, source, _state, bts.getJaceIdentity(), aac);
|
|
894
|
+
}
|
|
895
|
+
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 }, { token: ANONYMOUS_MODE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
890
896
|
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"] }] }); }
|
|
891
897
|
}
|
|
892
898
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ExternalPagesComponent, decorators: [{
|
|
893
899
|
type: Component,
|
|
894
900
|
args: [{ selector: "external-pages", imports: [RouterOutlet, NgIf], 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>" }]
|
|
895
|
-
}], ctorParameters: () => [{ type: i2$1.AppEmbeddingExtensions }, { type: i1.AppState }, { type: i2.ActivatedRoute }, { type: i1.TokenService }, { type: i5$1.AccessControlService }
|
|
901
|
+
}], ctorParameters: () => [{ type: i2$1.AppEmbeddingExtensions }, { type: i1.AppState }, { type: i2.ActivatedRoute }, { type: i1.TokenService }, { type: i5$1.AccessControlService }, { type: undefined, decorators: [{
|
|
902
|
+
type: Inject,
|
|
903
|
+
args: [ANONYMOUS_MODE]
|
|
904
|
+
}] }] });
|
|
896
905
|
|
|
897
906
|
// Angular
|
|
898
907
|
class JaceLoginComponent {
|