@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.
@@ -267,7 +267,7 @@ const KupInputPanel = class {
267
267
  h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
268
268
  ]
269
269
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
270
- 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)));
270
+ 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)));
271
271
  }
272
272
  disconnectedCallback() {
273
273
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
@@ -591,20 +591,24 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
591
591
  if (!field.absoluteHeight) {
592
592
  field.absoluteHeight = 1;
593
593
  }
594
- const width = `${getAbsoluteWidth(length)}px`;
595
- const height = `${getAbsoluteHeight(field.absoluteHeight)}px`;
596
- const top = `${getAbsoluteTop(field.absoluteRow)}px`;
597
- const left = `${getAbsoluteLeft(field.absoluteColumn)}px`;
594
+ const absoluteWidth = getAbsoluteWidth(length);
595
+ const absoluteHeight = getAbsoluteHeight(field.absoluteHeight);
596
+ const absoluteTop = getAbsoluteTop(field.absoluteRow);
597
+ const absoluteLeft = getAbsoluteLeft(field.absoluteColumn);
598
598
  const styleObj = {
599
599
  position: 'absolute',
600
- width,
601
- 'min-width': width,
602
- 'max-width': width,
603
- height,
604
- 'min-height': height,
605
- 'max-height': height,
606
- top,
607
- left,
600
+ width: absoluteWidth !== null ? `${absoluteWidth}px` : null,
601
+ 'min-width': absoluteWidth !== null ? `${absoluteWidth}px` : null,
602
+ 'max-width': absoluteWidth !== null ? `${absoluteWidth}px` : null,
603
+ height: absoluteHeight !== null ? `${absoluteHeight}px` : null,
604
+ 'min-height': absoluteHeight !== null ? `${absoluteHeight}px` : null,
605
+ 'max-height': absoluteHeight !== null ? `${absoluteHeight}px` : null,
606
+ top: absoluteTop !== null
607
+ ? `${getAbsoluteTop(field.absoluteRow)}px`
608
+ : null,
609
+ left: absoluteLeft !== null
610
+ ? `${getAbsoluteLeft(field.absoluteColumn)}px`
611
+ : null,
608
612
  overflow: 'auto',
609
613
  };
610
614
  fieldCell.cell.data = Object.assign(Object.assign({}, fieldCell.cell.data), { sizing: 'extra-small', customStyle: (fieldCell.cell.data.customStyle || '') +