@sme.up/ketchup 11.0.0-SNAPSHOT-20241129144428 → 11.0.0-SNAPSHOT-20241129171423

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.
@@ -260,7 +260,7 @@ const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel ext
260
260
  h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
261
261
  ]
262
262
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
263
- return (h(Host, { key: 'ebe2852f37b948e01ee368e9420dbc0b27fda03b' }, h("style", { key: '0459b34b686414b2051d495d4f41683ee20c6dc1' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '2a9ecec7cc543519ccb079018a05cf8ee33e989b', id: componentWrapperId }, inputPanelContent)));
263
+ return (h(Host, { key: '67d267e88ad82f3a15baf1d57ba972bbcaf193e4' }, h("style", { key: '51f06b604373a081e5c9c11ab154aea736afcf2c' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'dc34201b29b5f7ecd6784df58ffa554aa5104531', id: componentWrapperId }, inputPanelContent)));
264
264
  }
265
265
  disconnectedCallback() {
266
266
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
@@ -605,20 +605,24 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
605
605
  if (!field.absoluteHeight) {
606
606
  field.absoluteHeight = 1;
607
607
  }
608
- const width = `${getAbsoluteWidth(length)}px`;
609
- const height = `${getAbsoluteHeight(field.absoluteHeight)}px`;
610
- const top = `${getAbsoluteTop(field.absoluteRow)}px`;
611
- const left = `${getAbsoluteLeft(field.absoluteColumn)}px`;
608
+ const absoluteWidth = getAbsoluteWidth(length);
609
+ const absoluteHeight = getAbsoluteHeight(field.absoluteHeight);
610
+ const absoluteTop = getAbsoluteTop(field.absoluteRow);
611
+ const absoluteLeft = getAbsoluteLeft(field.absoluteColumn);
612
612
  const styleObj = {
613
613
  position: 'absolute',
614
- width,
615
- 'min-width': width,
616
- 'max-width': width,
617
- height,
618
- 'min-height': height,
619
- 'max-height': height,
620
- top,
621
- left,
614
+ width: absoluteWidth !== null ? `${absoluteWidth}px` : null,
615
+ 'min-width': absoluteWidth !== null ? `${absoluteWidth}px` : null,
616
+ 'max-width': absoluteWidth !== null ? `${absoluteWidth}px` : null,
617
+ height: absoluteHeight !== null ? `${absoluteHeight}px` : null,
618
+ 'min-height': absoluteHeight !== null ? `${absoluteHeight}px` : null,
619
+ 'max-height': absoluteHeight !== null ? `${absoluteHeight}px` : null,
620
+ top: absoluteTop !== null
621
+ ? `${getAbsoluteTop(field.absoluteRow)}px`
622
+ : null,
623
+ left: absoluteLeft !== null
624
+ ? `${getAbsoluteLeft(field.absoluteColumn)}px`
625
+ : null,
622
626
  overflow: 'auto',
623
627
  };
624
628
  fieldCell.cell.data = Object.assign(Object.assign({}, fieldCell.cell.data), { sizing: 'extra-small', customStyle: (fieldCell.cell.data.customStyle || '') +