cronapp-lib-js 2.8.7 → 2.9.1
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.
- package/dist/js/kendo-ui/js/kendo.all.fixed.js +1 -1
- package/dist/js/kendo-ui/js/kendo.all.fixed.src.js +58 -2
- package/dist/js/stimulsoft/stimulsoft-helper.js +12 -10
- package/dist/js/stimulsoft/stimulsoft.vendor.css +14 -0
- package/dist/js/stimulsoft/{stimulsoft-all.js → stimulsoft.vendor.js} +50 -1
- package/package.json +1 -1
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
//FIX_027 - CRONAPP-4621 Permitir validação reativa
|
|
29
29
|
//FIX_028 - CRONAPP-4939 Criar componente breadcumb (Adicionado componente breadcrumb)
|
|
30
30
|
//FIX_029 - CRONAPP-5473 Erro no componente Caixa de checagem
|
|
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
|
+
//FIX_031 - CRONAPP-7237 Problemas ao usar a coluna "checkbox" na Grade
|
|
31
33
|
|
|
32
34
|
/**
|
|
33
35
|
* Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
|
|
@@ -67709,8 +67711,16 @@
|
|
|
67709
67711
|
|
|
67710
67712
|
if (checked) {
|
|
67711
67713
|
that.select(parentGrid.items());
|
|
67714
|
+
//BEGIN FIX_031
|
|
67715
|
+
//NEW FIX_031
|
|
67716
|
+
parentGrid.items().each(function() {$(this).data(SELECTED, true);});
|
|
67717
|
+
//END FIX_031
|
|
67712
67718
|
} else {
|
|
67713
67719
|
that.clearSelection();
|
|
67720
|
+
//BEGIN FIX_031
|
|
67721
|
+
//NEW FIX_031
|
|
67722
|
+
parentGrid.items().each(function() {$(this).data(SELECTED, false);});
|
|
67723
|
+
//END FIX_031
|
|
67714
67724
|
}
|
|
67715
67725
|
|
|
67716
67726
|
//BEGIN FIX_015
|
|
@@ -67721,10 +67731,31 @@
|
|
|
67721
67731
|
//END FIX_015
|
|
67722
67732
|
},
|
|
67723
67733
|
_checkboxClick: function (e) {
|
|
67734
|
+
//BEGIN FIX_031
|
|
67735
|
+
//OLD
|
|
67736
|
+
/*
|
|
67724
67737
|
var that = this, row = $(e.target).closest('tr'), isSelecting = !row.hasClass(SELECTED);
|
|
67738
|
+
*/
|
|
67739
|
+
//NEW FIX_031
|
|
67740
|
+
var that = this, row = $(e.target).closest('tr');
|
|
67741
|
+
//END FIX_031
|
|
67725
67742
|
if (that !== row.closest('.k-grid.k-widget').getKendoGrid()) {
|
|
67726
67743
|
return;
|
|
67727
67744
|
}
|
|
67745
|
+
|
|
67746
|
+
//BEGIN FIX_031
|
|
67747
|
+
//NEW FIX_031
|
|
67748
|
+
let $row = $(row);
|
|
67749
|
+
isSelecting = !$row.data(SELECTED);
|
|
67750
|
+
if (that.options.selectable === false) {
|
|
67751
|
+
$row.find('input[type=checkbox]').prop('checked',false);
|
|
67752
|
+
return;
|
|
67753
|
+
}
|
|
67754
|
+
else if (that.options.selectable === true) {
|
|
67755
|
+
that._deselectCheckRows(that.items());
|
|
67756
|
+
that.items().each(function() {$(this).data(SELECTED, false)});
|
|
67757
|
+
}
|
|
67758
|
+
//END FIX_031
|
|
67728
67759
|
|
|
67729
67760
|
//BEGIN FIX_015
|
|
67730
67761
|
//NEW FIX_015
|
|
@@ -67733,8 +67764,16 @@
|
|
|
67733
67764
|
|
|
67734
67765
|
if (isSelecting) {
|
|
67735
67766
|
that.select(row);
|
|
67767
|
+
//BEGIN FIX_031
|
|
67768
|
+
//NEW FIX_031
|
|
67769
|
+
$row.data(SELECTED, true);
|
|
67770
|
+
//END FIX_031
|
|
67736
67771
|
} else {
|
|
67737
67772
|
that._deselectCheckRows(row);
|
|
67773
|
+
//BEGIN FIX_031
|
|
67774
|
+
//NEW FIX_031
|
|
67775
|
+
$row.data(SELECTED, false);
|
|
67776
|
+
//END FIX_031
|
|
67738
67777
|
}
|
|
67739
67778
|
|
|
67740
67779
|
//BEGIN FIX_015
|
|
@@ -68150,9 +68189,17 @@
|
|
|
68150
68189
|
var rows = this.tbody.children(), classesRegEx = /k-grouping-row|k-detail-row|k-group-footer/, idx = tr.sectionRowIndex, j, correctIdx;
|
|
68151
68190
|
correctIdx = idx;
|
|
68152
68191
|
for (j = 0; j < idx; j++) {
|
|
68153
|
-
|
|
68192
|
+
//BEGIN FIX FIX_030
|
|
68193
|
+
/*OLD
|
|
68194
|
+
if (classesRegEx.test(rows[j].className)) {
|
|
68195
|
+
correctIdx--;
|
|
68196
|
+
}
|
|
68197
|
+
*/
|
|
68198
|
+
//NEW
|
|
68199
|
+
if (rows[j] && rows[j].className && classesRegEx.test(rows[j].className)) {
|
|
68154
68200
|
correctIdx--;
|
|
68155
68201
|
}
|
|
68202
|
+
//END FIX_030
|
|
68156
68203
|
}
|
|
68157
68204
|
return this._data[correctIdx];
|
|
68158
68205
|
},
|
|
@@ -68184,7 +68231,16 @@
|
|
|
68184
68231
|
if (index > -1) {
|
|
68185
68232
|
html += kendo.attr('index') + '=\'' + index + '\'';
|
|
68186
68233
|
}
|
|
68187
|
-
|
|
68234
|
+
//BEGIN FIX_031
|
|
68235
|
+
//OLD
|
|
68236
|
+
/**
|
|
68237
|
+
text = th.headerTemplate ? text : kendo.template(SELECTCOLUMNHEADERTMPL)({});
|
|
68238
|
+
*/
|
|
68239
|
+
//NEW FIX_031
|
|
68240
|
+
if (that.options.selectable === "multiple") {
|
|
68241
|
+
text = th.headerTemplate ? text : kendo.template(SELECTCOLUMNHEADERTMPL)({});
|
|
68242
|
+
}
|
|
68243
|
+
//END FIX_031
|
|
68188
68244
|
html += '>' + text + '</th>';
|
|
68189
68245
|
} else if (th.command) {
|
|
68190
68246
|
html += '<th scope=\'col\'' + stringifyAttributes(th.headerAttributes);
|