intelica-library-components 1.1.173 → 1.1.174

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.
@@ -6318,21 +6318,17 @@ class DashboardQsInteractiveComponent {
6318
6318
  });
6319
6319
  effect(() => {
6320
6320
  const id = this.dashboardId();
6321
- console.log('[DashboardQS] effect:embed → id:', id, 'viewReady:', this.viewReady(), 'lastEmbeddedId:', this.lastEmbeddedId);
6322
6321
  if (!this.viewReady() || !id)
6323
6322
  return;
6324
6323
  if (id === this.lastEmbeddedId)
6325
6324
  return;
6326
6325
  this.lastEmbeddedId = id;
6327
- console.log('[DashboardQS] flow: RECARGAR dashboard (firstEmbed) → id:', id, 'parameters:', this.parameters());
6328
6326
  this.firstEmbed(id);
6329
6327
  });
6330
6328
  effect(() => {
6331
6329
  const params = this.parameters();
6332
- console.log('[DashboardQS] effect:params → parameters:', params, 'hasDashboardRef:', !!this.dashboardRef);
6333
6330
  if (!this.dashboardRef || !params)
6334
6331
  return;
6335
- console.log('[DashboardQS] flow: SOLO actualizar parámetros (setDashboardParameters) → parameters:', params);
6336
6332
  this.isLoading.set(true);
6337
6333
  this.sharedService.setDashboardParameters(this.dashboardRef, params)
6338
6334
  .finally(() => this.isLoading.set(false));
@@ -6345,9 +6341,6 @@ class DashboardQsInteractiveComponent {
6345
6341
  const container = this.containers.first?.nativeElement;
6346
6342
  if (!container)
6347
6343
  return;
6348
- container.replaceChildren();
6349
- this.dashboardRef = null;
6350
- this.lastEmbeddedId = undefined;
6351
6344
  this.isLoading.set(true);
6352
6345
  try {
6353
6346
  this.dashboardRef = await this.sharedService.embedDashboardInteractive({ dashboardId, parameters: this.parameters() }, container, { height: this.height() ?? `${window.innerHeight - 50}px` });