@wavemaker/app-ng-runtime 11.3.2-rc.5253 → 11.4.0-next.1417012

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.
Files changed (34) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +1 -1
  2. app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/build-task/esm2015/data/form/form-field/form-field.build.js +2 -2
  4. app-ng-runtime/build-task/fesm2015/index.js +1 -1
  5. app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -2
  7. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js.map +1 -1
  8. app-ng-runtime/components/basic/rich-text-editor/esm2015/rich-text-editor.component.js +3 -3
  9. app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.js +2 -2
  10. app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.js.map +1 -1
  11. app-ng-runtime/components/data/list/bundles/index.umd.js +5 -11
  12. app-ng-runtime/components/data/list/bundles/index.umd.js.map +1 -1
  13. app-ng-runtime/components/data/list/esm2015/list.component.js +4 -10
  14. app-ng-runtime/components/data/list/fesm2015/index.js +3 -9
  15. app-ng-runtime/components/data/list/fesm2015/index.js.map +1 -1
  16. app-ng-runtime/mobile/core/bundles/index.umd.js +1 -2
  17. app-ng-runtime/mobile/core/bundles/index.umd.js.map +1 -1
  18. app-ng-runtime/mobile/core/esm2015/services/device.service.js +2 -3
  19. app-ng-runtime/mobile/core/fesm2015/index.js +1 -2
  20. app-ng-runtime/mobile/core/fesm2015/index.js.map +1 -1
  21. app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +2 -3
  22. app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js.map +1 -1
  23. app-ng-runtime/mobile/runtime-dynamic/esm2015/services/live-sync.service.js +3 -4
  24. app-ng-runtime/mobile/runtime-dynamic/fesm2015/index.js +2 -3
  25. app-ng-runtime/mobile/runtime-dynamic/fesm2015/index.js.map +1 -1
  26. app-ng-runtime/package.json +1 -1
  27. app-ng-runtime/scripts/datatable/datatable.js +7 -4
  28. app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +3 -3
  29. app-ng-runtime/variables/bundles/index.umd.js +12 -5
  30. app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
  31. app-ng-runtime/variables/esm2015/constants/variables.constants.js +9 -3
  32. app-ng-runtime/variables/fesm2015/index.js +9 -2
  33. app-ng-runtime/variables/fesm2015/index.js.map +1 -1
  34. app-ng-runtime/variables/index.metadata.json +1 -1
@@ -1234,7 +1234,6 @@ $.widget('wm.datatable', {
1234
1234
  colDef = self.preparedHeaderData[id],
1235
1235
  $headerCell = self.gridContainer.find('th[data-col-id="' + id + '"]'),
1236
1236
  $tdCell = self.gridElement.find('td.app-datagrid-cell[data-col-id="' + id + '"]'),
1237
- $footCell=self.tableContainer.find('tfoot tr.app-datagrid-row td.app-datagrid-cell[data-col-id="' + id + '"]'),
1238
1237
  $headerCol = $(headerCols[id]),
1239
1238
  $bodyCol = $(bodyCols[id]),
1240
1239
  definedWidth,
@@ -1249,13 +1248,11 @@ $.widget('wm.datatable', {
1249
1248
  $tdCell.hide();
1250
1249
  $headerCol.hide();
1251
1250
  $bodyCol.hide();
1252
- $footCell.hide();
1253
1251
  } else {
1254
1252
  $headerCell.show();
1255
1253
  $tdCell.show();
1256
1254
  $headerCol.show();
1257
1255
  $bodyCol.show();
1258
- $footCell.show();
1259
1256
  }
1260
1257
  //If default width is set, reset the width so that correct width is set on reload
1261
1258
  if ($headerCol.length && $headerCol[0].style.width === '90px') {
@@ -3129,7 +3126,7 @@ $.widget('wm.datatable', {
3129
3126
  '<div class="app-grid-header">' +
3130
3127
  '<div class="app-grid-header-inner">' +
3131
3128
  '<table tabindex="0" class="' + this.options.cssClassNames.gridDefault + ' ' + this.options.cssClassNames.grid + '">' +
3132
- '<thead tabindex="0" class="table-header thead-sticky" id="table_header_' + this.tableId + '">' +
3129
+ '<thead tabindex="0" class="table-header" id="table_header_' + this.tableId + '">' +
3133
3130
  '</thead><tbody class="app-grid-content app-datagrid-body" id="table_' + this.tableId + '">' +
3134
3131
  '</tbody></table>' +
3135
3132
  '</div></div></div>',
@@ -3286,6 +3283,12 @@ $.widget('wm.datatable', {
3286
3283
  }
3287
3284
  this.options[key] = value;
3288
3285
  if (key === 'height') {
3286
+ if(this.options.showHeader) {
3287
+ // this._setStyles(this.gridHeaderElement, 'z-index: 1; position: sticky; top:0px;');
3288
+ $thead = this.gridHeaderElement;
3289
+ $thead.addClass("thead-sticky");
3290
+ }
3291
+
3289
3292
  // if(this.dataStatus.state != 'loading') {
3290
3293
  var elements = this.gridHeaderElement.find('th');
3291
3294
  // this._setStyles(this.tableContainer, 'border-collapse: separate;');