cronapp-lib-js 2.9.6 → 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.
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
//FIX_029 - CRONAPP-5473 Erro no componente Caixa de checagem
|
|
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
|
+
//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
|
|
33
37
|
|
|
34
38
|
/**
|
|
35
39
|
* Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
|
|
@@ -22936,6 +22940,16 @@
|
|
|
22936
22940
|
that.wrapper.css({ overflow: VISIBLE });
|
|
22937
22941
|
that._activated = true;
|
|
22938
22942
|
that._trigger(ACTIVATE);
|
|
22943
|
+
//BEGIN FIX_032
|
|
22944
|
+
//NEW FIX_032
|
|
22945
|
+
if (that.options && that.options.anchor && that.options.anchor.hasClass('cronDynamicSelect')) {
|
|
22946
|
+
let $mainView = $('[ui-view]');
|
|
22947
|
+
if ($mainView.length) {
|
|
22948
|
+
that._mainView = $mainView[$mainView.length - 1];
|
|
22949
|
+
that._mainView.addEventListener("scroll", that._makeResize);
|
|
22950
|
+
}
|
|
22951
|
+
}
|
|
22952
|
+
//END FIX
|
|
22939
22953
|
}
|
|
22940
22954
|
});
|
|
22941
22955
|
extend(options.animation.close, {
|
|
@@ -22960,6 +22974,13 @@
|
|
|
22960
22974
|
if (options.toggleTarget) {
|
|
22961
22975
|
$(options.toggleTarget).on(options.toggleEvent + NS, $.proxy(that.toggle, that));
|
|
22962
22976
|
}
|
|
22977
|
+
//BEGIN FIX_032
|
|
22978
|
+
//NEW FIX_032
|
|
22979
|
+
that._makeResize = function (e) {
|
|
22980
|
+
that._resize(e);
|
|
22981
|
+
that._mainView.removeEventListener("scroll", that._makeResize);
|
|
22982
|
+
};
|
|
22983
|
+
//END FIX
|
|
22963
22984
|
},
|
|
22964
22985
|
events: [
|
|
22965
22986
|
OPEN,
|
|
@@ -23069,6 +23090,12 @@
|
|
|
23069
23090
|
that._showDirClass(animation);
|
|
23070
23091
|
}
|
|
23071
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
|
|
23072
23099
|
}
|
|
23073
23100
|
},
|
|
23074
23101
|
_location: function (isFixed) {
|
|
@@ -29183,7 +29210,10 @@
|
|
|
29183
29210
|
}
|
|
29184
29211
|
},
|
|
29185
29212
|
_resize: function () {
|
|
29186
|
-
|
|
29213
|
+
//BEGIN FIX_035
|
|
29214
|
+
//NEW FIX_035
|
|
29215
|
+
//this._shrinkItems();
|
|
29216
|
+
//END FIX
|
|
29187
29217
|
this._stretchItems();
|
|
29188
29218
|
},
|
|
29189
29219
|
getSize: function () {
|
|
@@ -61965,9 +61995,19 @@
|
|
|
61965
61995
|
}
|
|
61966
61996
|
var options = this.options.pdf;
|
|
61967
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
|
|
61968
62004
|
this._drawPDF(progress).then(function (root) {
|
|
61969
62005
|
return kendo.drawing.exportPDF(root, options);
|
|
61970
62006
|
}).done(function (dataURI) {
|
|
62007
|
+
//BEGIN FIX_034
|
|
62008
|
+
//NEW FIX_034
|
|
62009
|
+
$element.css('height', '');
|
|
62010
|
+
//END FIX
|
|
61971
62011
|
kendo.saveAs({
|
|
61972
62012
|
dataURI: dataURI,
|
|
61973
62013
|
fileName: options.fileName,
|
|
@@ -61977,6 +62017,10 @@
|
|
|
61977
62017
|
});
|
|
61978
62018
|
progress.resolve();
|
|
61979
62019
|
}).fail(function (err) {
|
|
62020
|
+
//BEGIN FIX_034
|
|
62021
|
+
//NEW FIX_034
|
|
62022
|
+
$element.css('height', '');
|
|
62023
|
+
//END FIX
|
|
61980
62024
|
progress.reject(err);
|
|
61981
62025
|
});
|
|
61982
62026
|
return promise;
|