intelica-library-components 1.1.61 → 1.1.63

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.
@@ -8259,7 +8259,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8259
8259
 
8260
8260
  class GlobalMenuService {
8261
8261
  _isMenuVisible = signal(true, ...(ngDevMode ? [{ debugName: "_isMenuVisible" }] : []));
8262
- _selectedProduct = signal({ product: "", icon: "", authClient: "" }, ...(ngDevMode ? [{ debugName: "_selectedProduct" }] : []));
8262
+ _selectedProduct = signal({ product: "", icon: "", productId: "" }, ...(ngDevMode ? [{ debugName: "_selectedProduct" }] : []));
8263
8263
  isMenuVisible = this._isMenuVisible.asReadonly();
8264
8264
  selectedProduct = this._selectedProduct.asReadonly();
8265
8265
  eventMenu = "MenuBarEvent";
@@ -8286,9 +8286,9 @@ class GlobalMenuService {
8286
8286
  const detail = event.detail;
8287
8287
  if (!detail)
8288
8288
  return;
8289
- const { product, icon, authClient } = detail;
8289
+ const { product, icon, productId: authClient } = detail;
8290
8290
  if (typeof product === "string" && typeof icon === "string" && typeof authClient === "string") {
8291
- this._selectedProduct.set({ product, icon, authClient });
8291
+ this._selectedProduct.set({ product, icon, productId: authClient });
8292
8292
  }
8293
8293
  };
8294
8294
  emitMenuEvent(isVisible) {
@@ -8299,7 +8299,7 @@ class GlobalMenuService {
8299
8299
  }
8300
8300
  emitSelectedProductEvent(selectedProduct) {
8301
8301
  const event = new CustomEvent(this.eventProducts, {
8302
- detail: { product: selectedProduct.product, icon: selectedProduct.icon, authClient: selectedProduct.authClient },
8302
+ detail: { product: selectedProduct.product, icon: selectedProduct.icon, productId: selectedProduct.productId },
8303
8303
  });
8304
8304
  window.dispatchEvent(event);
8305
8305
  }