intelica-library-ui 0.1.225 → 0.1.226

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.
@@ -8199,9 +8199,14 @@ class Shared {
8199
8199
  });
8200
8200
  return this.http.get(`${this.path}/embed-visual-anonymous`, { params });
8201
8201
  }
8202
- async createEmbedContext(embedUrl, container) {
8202
+ async createEmbedContext(embedUrl, container, options) {
8203
8203
  const embeddingContext = await createEmbeddingContext();
8204
- await embeddingContext.embedDashboard({ url: embedUrl, container });
8204
+ await embeddingContext.embedDashboard({
8205
+ url: embedUrl,
8206
+ container,
8207
+ ...(options?.height && { height: options.height }),
8208
+ ...(options?.width && { width: options.width }),
8209
+ });
8205
8210
  }
8206
8211
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: Shared, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8207
8212
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: Shared, providedIn: 'root' });