cronapp-lib-js 2.9.6-SP.2 → 2.9.6-SP.20
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,9 @@
|
|
|
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.
|
|
33
36
|
|
|
34
37
|
/**
|
|
35
38
|
* Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
|
|
@@ -22936,6 +22939,16 @@
|
|
|
22936
22939
|
that.wrapper.css({ overflow: VISIBLE });
|
|
22937
22940
|
that._activated = true;
|
|
22938
22941
|
that._trigger(ACTIVATE);
|
|
22942
|
+
//BEGIN FIX_032
|
|
22943
|
+
//NEW FIX_032
|
|
22944
|
+
if (that.options && that.options.anchor && that.options.anchor.hasClass('cronDynamicSelect')) {
|
|
22945
|
+
let $mainView = $('[ui-view]');
|
|
22946
|
+
if ($mainView.length) {
|
|
22947
|
+
that._mainView = $mainView[$mainView.length - 1];
|
|
22948
|
+
that._mainView.addEventListener("scroll", that._makeResize);
|
|
22949
|
+
}
|
|
22950
|
+
}
|
|
22951
|
+
//END FIX
|
|
22939
22952
|
}
|
|
22940
22953
|
});
|
|
22941
22954
|
extend(options.animation.close, {
|
|
@@ -22960,6 +22973,13 @@
|
|
|
22960
22973
|
if (options.toggleTarget) {
|
|
22961
22974
|
$(options.toggleTarget).on(options.toggleEvent + NS, $.proxy(that.toggle, that));
|
|
22962
22975
|
}
|
|
22976
|
+
//BEGIN FIX_032
|
|
22977
|
+
//NEW FIX_032
|
|
22978
|
+
that._makeResize = function (e) {
|
|
22979
|
+
that._resize(e);
|
|
22980
|
+
that._mainView.removeEventListener("scroll", that._makeResize);
|
|
22981
|
+
};
|
|
22982
|
+
//END FIX
|
|
22963
22983
|
},
|
|
22964
22984
|
events: [
|
|
22965
22985
|
OPEN,
|
|
@@ -23069,6 +23089,12 @@
|
|
|
23069
23089
|
that._showDirClass(animation);
|
|
23070
23090
|
}
|
|
23071
23091
|
element.data(EFFECTS, animation.effects).kendoStop(true).kendoAnimate(animation).attr('aria-hidden', false);
|
|
23092
|
+
//BEGIN FIX_033
|
|
23093
|
+
//NEW FIX_033
|
|
23094
|
+
window.addEventListener('popstate', () => {
|
|
23095
|
+
that.close(true);
|
|
23096
|
+
});
|
|
23097
|
+
//END FIX
|
|
23072
23098
|
}
|
|
23073
23099
|
},
|
|
23074
23100
|
_location: function (isFixed) {
|
|
@@ -61965,9 +61991,19 @@
|
|
|
61965
61991
|
}
|
|
61966
61992
|
var options = this.options.pdf;
|
|
61967
61993
|
options.multiPage = options.multiPage || options.allPages;
|
|
61994
|
+
//BEGIN FIX_034
|
|
61995
|
+
//NEW FIX_034
|
|
61996
|
+
let currentHeight = this.element.height();
|
|
61997
|
+
let $element = $(this.element);
|
|
61998
|
+
$element.css('height', currentHeight);
|
|
61999
|
+
//END FIX
|
|
61968
62000
|
this._drawPDF(progress).then(function (root) {
|
|
61969
62001
|
return kendo.drawing.exportPDF(root, options);
|
|
61970
62002
|
}).done(function (dataURI) {
|
|
62003
|
+
//BEGIN FIX_034
|
|
62004
|
+
//NEW FIX_034
|
|
62005
|
+
$element.css('height', '');
|
|
62006
|
+
//END FIX
|
|
61971
62007
|
kendo.saveAs({
|
|
61972
62008
|
dataURI: dataURI,
|
|
61973
62009
|
fileName: options.fileName,
|
|
@@ -61977,6 +62013,10 @@
|
|
|
61977
62013
|
});
|
|
61978
62014
|
progress.resolve();
|
|
61979
62015
|
}).fail(function (err) {
|
|
62016
|
+
//BEGIN FIX_034
|
|
62017
|
+
//NEW FIX_034
|
|
62018
|
+
$element.css('height', '');
|
|
62019
|
+
//END FIX
|
|
61980
62020
|
progress.reject(err);
|
|
61981
62021
|
});
|
|
61982
62022
|
return promise;
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cronapp-lib-js",
|
|
3
|
-
"version": "2.9.6-SP.
|
|
3
|
+
"version": "2.9.6-SP.20",
|
|
4
4
|
"description": "Javascript library for CronApp's projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"minify": "node minify.js"
|
|
8
|
+
"minify": "node minify.js",
|
|
9
|
+
"build": "node minify.js"
|
|
9
10
|
},
|
|
10
11
|
"repository": {
|
|
11
12
|
"type": "git",
|