@esfaenza/extensions 15.2.51 → 15.2.53

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.
@@ -1057,6 +1057,7 @@ class AppEmbeddingExtensions {
1057
1057
  this.router = router;
1058
1058
  this.location = location;
1059
1059
  this.sidebarWidth = 230;
1060
+ this.EmbeddingSource = "";
1060
1061
  this.Embedded = false;
1061
1062
  this.EmbeddingLevel = 0;
1062
1063
  this.MessageObserver = new Subject();
@@ -1069,6 +1070,7 @@ class AppEmbeddingExtensions {
1069
1070
  this.MainWindow = this.MainWindow.parent;
1070
1071
  this.EmbeddingLevel++;
1071
1072
  this.Embedded = true;
1073
+ this.EmbeddingSource = this.MainWindow.__esfaenza_module;
1072
1074
  // Fallback per farlo funzionare forzatamente mentre lo testo
1073
1075
  this.EmbeddedModule = this.location.path().match(/module=([a-zA-Z_]+)/)?.[1];
1074
1076
  if (!this.EmbeddedModule)
@@ -1285,9 +1287,10 @@ class AppEmbeddingExtensions {
1285
1287
  }
1286
1288
  }
1287
1289
  AppEmbeddingExtensions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppEmbeddingExtensions, deps: [{ token: MessageService }, { token: i2.Router }, { token: i3.Location }], target: i0.ɵɵFactoryTarget.Injectable });
1288
- AppEmbeddingExtensions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppEmbeddingExtensions });
1290
+ AppEmbeddingExtensions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppEmbeddingExtensions, providedIn: "root" });
1289
1291
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppEmbeddingExtensions, decorators: [{
1290
- type: Injectable
1292
+ type: Injectable,
1293
+ args: [{ providedIn: "root" }]
1291
1294
  }], ctorParameters: function () { return [{ type: MessageService }, { type: i2.Router }, { type: i3.Location }]; } });
1292
1295
 
1293
1296
  // Angular