@yesilyazilim/web.spa 1.0.47 → 1.0.49

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.
package/index.js CHANGED
@@ -1643,6 +1643,7 @@ let $ff230024ca06577c$var$DialogContent = $ff230024ca06577c$var$DialogContent_1
1643
1643
  this.setPos((pw - w) / 2, (ph - h) / 2);
1644
1644
  this.setSize(w, h);
1645
1645
  this._lastParent = parent;
1646
+ if (this.content instanceof (0, $05c91032b5651e7d$export$79d5dfb74263bfe1)) this.content.onPanelShow();
1646
1647
  }
1647
1648
  get x() {
1648
1649
  return this._x;
@@ -1709,15 +1710,17 @@ let $ff230024ca06577c$var$DialogContent = $ff230024ca06577c$var$DialogContent_1
1709
1710
  const sW = this.w;
1710
1711
  const sH = this.h;
1711
1712
  tb.setPointerCapture(pointerDownEvt.pointerId);
1713
+ this._warnPanelResize(true);
1712
1714
  const handleMove = (pointerMoveEvt)=>{
1713
1715
  const nx = pointerMoveEvt.clientX - startX;
1714
1716
  const ny = pointerMoveEvt.clientY - startY;
1715
1717
  this.setSize(sW + nx, sH + ny);
1716
1718
  };
1717
1719
  tb.addEventListener('pointermove', handleMove);
1718
- tb.addEventListener('pointerup', function(pointerUpEvt) {
1720
+ tb.addEventListener('pointerup', (pointerUpEvt)=>{
1719
1721
  tb.removeEventListener('pointermove', handleMove);
1720
1722
  tb.releasePointerCapture(pointerUpEvt.pointerId);
1723
+ this._warnPanelResize(false);
1721
1724
  }, {
1722
1725
  once: true
1723
1726
  });
@@ -1737,6 +1740,9 @@ let $ff230024ca06577c$var$DialogContent = $ff230024ca06577c$var$DialogContent_1
1737
1740
  }
1738
1741
  if (otherLastInx > myIndex) this.parentElement.insertBefore(this, null);
1739
1742
  }
1743
+ _warnPanelResize(start) {
1744
+ if (this.content instanceof (0, $05c91032b5651e7d$export$79d5dfb74263bfe1)) this.content.onPanelResize(start);
1745
+ }
1740
1746
  };
1741
1747
  $ff230024ca06577c$var$DialogContent = $ff230024ca06577c$var$DialogContent_1 = $ff230024ca06577c$var$__decorate([
1742
1748
  (0, $450614f9d282ad7a$export$16fa2f45be04daa8)({
@@ -5935,7 +5941,7 @@ let $b47b50673646d529$var$FormLine = class FormLine extends (0, $05c91032b5651e7
5935
5941
  this._setter = (inp, val)=>{
5936
5942
  inp.value = this._convertTo(val || '');
5937
5943
  };
5938
- return (0, $94579973dd0f02f3$export$624631f482c54f59).input('textarea');
5944
+ return (0, $94579973dd0f02f3$export$624631f482c54f59).textarea();
5939
5945
  case 'double':
5940
5946
  this._getter = (inp)=>this._convertFrom(inp.valueAsNumber);
5941
5947
  this._setter = (inp, val)=>{