@eclipse-scout/core 22.0.10 → 22.0.15

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.
@@ -55622,7 +55622,7 @@ __webpack_require__.r(__webpack_exports__);
55622
55622
  /* harmony import */ var _jquery_jquery_scout__WEBPACK_IMPORTED_MODULE_686__ = __webpack_require__(/*! ./jquery/jquery-scout */ "./src/jquery/jquery-scout.js");
55623
55623
  /* harmony import */ var _jquery_jquery_scout_selectors__WEBPACK_IMPORTED_MODULE_687__ = __webpack_require__(/*! ./jquery/jquery-scout-selectors */ "./src/jquery/jquery-scout-selectors.js");
55624
55624
  /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_688__ = __webpack_require__(/*! ./index.js */ "./src/index.js");
55625
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
55625
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
55626
55626
 
55627
55627
  /*
55628
55628
  * Copyright (c) 2010-2022 BSI Business Systems Integration AG.
@@ -103125,7 +103125,7 @@ class ColumnOptimalWidthMeasurer {
103125
103125
  let columns = this.table.visibleColumns();
103126
103126
  let colIndex = columns.indexOf(this.column);
103127
103127
 
103128
- let $row = this.table._buildAggregateRowDiv(row);
103128
+ let $row = this.table._build$AggregateRow(row);
103129
103129
 
103130
103130
  $row.appendTo(this.table.$data);
103131
103131
  columns.map(c => c.buildCellForAggregateRow(row)).forEach(c => jquery__WEBPACK_IMPORTED_MODULE_1___default()(c).appendTo($row));
@@ -121737,6 +121737,10 @@ class Tree extends _index__WEBPACK_IMPORTED_MODULE_0__.Widget {
121737
121737
  } else if (newWidth > this.maxNodeWidth) {
121738
121738
  this.maxNodeWidth = newWidth;
121739
121739
  this.nodeWidthDirty = true;
121740
+ } else if (newWidth === oldWidth && newWidth === 0) {
121741
+ // newWidth and oldWidth are 0: this might be because the tree is invisible while a node is added:
121742
+ // Mark as dirty to update the width later during layouting (when the tree gets visible and the width is available)
121743
+ this.nodeWidthDirty = true;
121740
121744
  }
121741
121745
 
121742
121746
  node.width = newWidth;