@educarehq/solaris-components 0.3.7 → 0.3.8

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.
@@ -562,7 +562,6 @@ class SolarisPopover {
562
562
  return typeof v === 'boolean' ? v : this._internalOpen();
563
563
  }, ...(ngDevMode ? [{ debugName: "isOpen" }] : []));
564
564
  set open(v) {
565
- console.log(`[Popover#${this._id} ${this.panelClass}] input open=`, v);
566
565
  this._openInput.set(v);
567
566
  }
568
567
  get open() {
@@ -571,11 +570,9 @@ class SolarisPopover {
571
570
  panelDir;
572
571
  triggerDir;
573
572
  raf = 0;
574
- static seq = 0;
575
573
  _setting = false;
576
574
  panelHost;
577
575
  panelView;
578
- _id = ++SolarisPopover.seq;
579
576
  get dataOpen() {
580
577
  return this.isOpen() ? 'true' : null;
581
578
  }
@@ -601,7 +598,6 @@ class SolarisPopover {
601
598
  const clickedInsidePanel = this.panelHost.contains(t);
602
599
  const clickedOnTrigger = triggerEl.contains(t);
603
600
  if (!clickedInsidePanel && !clickedOnTrigger) {
604
- console.log(`[Popover#${this._id} ${this.panelClass}] outside -> close`);
605
601
  this.setOpen(false);
606
602
  }
607
603
  };
@@ -4776,12 +4772,9 @@ class SolarisSelect {
4776
4772
  this.destroyRef.onDestroy(() => this.resizeObs?.disconnect());
4777
4773
  }
4778
4774
  writeValue(obj) {
4779
- console.count('[Select] writeValue');
4780
- console.log('[Select] writeValue obj:', obj);
4781
4775
  this._value.set(this.sanitizeValue(obj));
4782
4776
  }
4783
4777
  registerOnChange(fn) {
4784
- console.count('[Select] registerOnChange');
4785
4778
  this.propagateChange = fn;
4786
4779
  }
4787
4780
  registerOnTouched(fn) { this.propagateTouched = fn; }
@@ -4986,9 +4979,7 @@ class SolarisSelect {
4986
4979
  return v != null && this.eq(v, value);
4987
4980
  }
4988
4981
  setValue(next) {
4989
- console.count('[Select] setValue (user)');
4990
4982
  const cur = this._value();
4991
- console.log('[Select] setValue cur:', cur, 'next:', next);
4992
4983
  if (this.sameCvaValue(cur, next))
4993
4984
  return;
4994
4985
  this._value.set(next);