cronapp-lib-js 2.9.6-SP.9 → 3.0.0

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.
@@ -31,6 +31,9 @@
31
31
  //FIX_030 - CRONAPP-6933 Caixa de Seleção dinâmica trava e recarrega em loop quando são acessado pelas tecla Tab+seta para baixo. Componente não fica em foco quando acessado com a tecla Tab
32
32
  //FIX_031 - CRONAPP-7237 Problemas ao usar a coluna "checkbox" na Grade
33
33
  //FIX_032 - CRONAPP-10755 Caixa de seleção permanece aberta sobrepondo outros componentes ao mover o scroll para baixo
34
+ //FIX_033 - CRONAPP-10922 Caixa de seleção permanece aberta sobrepondo outros componentes ao voltar a pagina anterior
35
+ //FIX_034 - CRONAPP-10947 Ao clicar no botão nativo - Exportar para PDF o componente Grade quebra na tela.
36
+ //FIX_035 - CRONAPP-10992 Bug Visual no Componente Breadcrumbs
34
37
 
35
38
  /**
36
39
  * Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
@@ -23087,6 +23090,12 @@
23087
23090
  that._showDirClass(animation);
23088
23091
  }
23089
23092
  element.data(EFFECTS, animation.effects).kendoStop(true).kendoAnimate(animation).attr('aria-hidden', false);
23093
+ //BEGIN FIX_033
23094
+ //NEW FIX_033
23095
+ window.addEventListener('popstate', () => {
23096
+ that.close(true);
23097
+ });
23098
+ //END FIX
23090
23099
  }
23091
23100
  },
23092
23101
  _location: function (isFixed) {
@@ -29201,7 +29210,10 @@
29201
29210
  }
29202
29211
  },
29203
29212
  _resize: function () {
29204
- this._shrinkItems();
29213
+ //BEGIN FIX_035
29214
+ //NEW FIX_035
29215
+ //this._shrinkItems();
29216
+ //END FIX
29205
29217
  this._stretchItems();
29206
29218
  },
29207
29219
  getSize: function () {
@@ -61983,9 +61995,19 @@
61983
61995
  }
61984
61996
  var options = this.options.pdf;
61985
61997
  options.multiPage = options.multiPage || options.allPages;
61998
+ //BEGIN FIX_034
61999
+ //NEW FIX_034
62000
+ let currentHeight = this.element.height();
62001
+ let $element = $(this.element);
62002
+ $element.css('height', currentHeight);
62003
+ //END FIX
61986
62004
  this._drawPDF(progress).then(function (root) {
61987
62005
  return kendo.drawing.exportPDF(root, options);
61988
62006
  }).done(function (dataURI) {
62007
+ //BEGIN FIX_034
62008
+ //NEW FIX_034
62009
+ $element.css('height', '');
62010
+ //END FIX
61989
62011
  kendo.saveAs({
61990
62012
  dataURI: dataURI,
61991
62013
  fileName: options.fileName,
@@ -61995,6 +62017,10 @@
61995
62017
  });
61996
62018
  progress.resolve();
61997
62019
  }).fail(function (err) {
62020
+ //BEGIN FIX_034
62021
+ //NEW FIX_034
62022
+ $element.css('height', '');
62023
+ //END FIX
61998
62024
  progress.reject(err);
61999
62025
  });
62000
62026
  return promise;