cronapp-lib-js 2.9.0 → 2.9.1-SP.2
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 +74 -2
- package/dist/js/kendo-ui/js/messages/kendo.messages.pt-BR.min.js +1041 -4
- 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
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
//FIX_026 - CRONAPP-4565 Checkbox acionado ao clicar em botão customizado
|
|
28
28
|
//FIX_027 - CRONAPP-4621 Permitir validação reativa
|
|
29
29
|
//FIX_028 - CRONAPP-4939 Criar componente breadcumb (Adicionado componente breadcrumb)
|
|
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
|
|
30
33
|
|
|
31
34
|
/**
|
|
32
35
|
* Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
|
|
@@ -24251,10 +24254,25 @@
|
|
|
24251
24254
|
inputParent.find('.k-tooltip').hide();
|
|
24252
24255
|
});
|
|
24253
24256
|
//END FIX_014
|
|
24257
|
+
|
|
24258
|
+
//BEGIN FIX_029
|
|
24259
|
+
//OLD
|
|
24260
|
+
/*
|
|
24254
24261
|
return {
|
|
24255
24262
|
valid: false,
|
|
24256
24263
|
key: rule
|
|
24257
24264
|
};
|
|
24265
|
+
*/
|
|
24266
|
+
//NEW
|
|
24267
|
+
let validResult = false;
|
|
24268
|
+
if (($(input[0]).attr('type')==='checkbox' && $(input[0]).closest('form').length)) {
|
|
24269
|
+
validResult = true;
|
|
24270
|
+
}
|
|
24271
|
+
return {
|
|
24272
|
+
valid: validResult,
|
|
24273
|
+
key: rule
|
|
24274
|
+
};
|
|
24275
|
+
//END FIX_029
|
|
24258
24276
|
}
|
|
24259
24277
|
}
|
|
24260
24278
|
return { valid: true };
|
|
@@ -67693,8 +67711,16 @@
|
|
|
67693
67711
|
|
|
67694
67712
|
if (checked) {
|
|
67695
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
|
|
67696
67718
|
} else {
|
|
67697
67719
|
that.clearSelection();
|
|
67720
|
+
//BEGIN FIX_031
|
|
67721
|
+
//NEW FIX_031
|
|
67722
|
+
parentGrid.items().each(function() {$(this).data(SELECTED, false);});
|
|
67723
|
+
//END FIX_031
|
|
67698
67724
|
}
|
|
67699
67725
|
|
|
67700
67726
|
//BEGIN FIX_015
|
|
@@ -67705,10 +67731,31 @@
|
|
|
67705
67731
|
//END FIX_015
|
|
67706
67732
|
},
|
|
67707
67733
|
_checkboxClick: function (e) {
|
|
67734
|
+
//BEGIN FIX_031
|
|
67735
|
+
//OLD
|
|
67736
|
+
/*
|
|
67708
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
|
|
67709
67742
|
if (that !== row.closest('.k-grid.k-widget').getKendoGrid()) {
|
|
67710
67743
|
return;
|
|
67711
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
|
|
67712
67759
|
|
|
67713
67760
|
//BEGIN FIX_015
|
|
67714
67761
|
//NEW FIX_015
|
|
@@ -67717,8 +67764,16 @@
|
|
|
67717
67764
|
|
|
67718
67765
|
if (isSelecting) {
|
|
67719
67766
|
that.select(row);
|
|
67767
|
+
//BEGIN FIX_031
|
|
67768
|
+
//NEW FIX_031
|
|
67769
|
+
$row.data(SELECTED, true);
|
|
67770
|
+
//END FIX_031
|
|
67720
67771
|
} else {
|
|
67721
67772
|
that._deselectCheckRows(row);
|
|
67773
|
+
//BEGIN FIX_031
|
|
67774
|
+
//NEW FIX_031
|
|
67775
|
+
$row.data(SELECTED, false);
|
|
67776
|
+
//END FIX_031
|
|
67722
67777
|
}
|
|
67723
67778
|
|
|
67724
67779
|
//BEGIN FIX_015
|
|
@@ -68134,9 +68189,17 @@
|
|
|
68134
68189
|
var rows = this.tbody.children(), classesRegEx = /k-grouping-row|k-detail-row|k-group-footer/, idx = tr.sectionRowIndex, j, correctIdx;
|
|
68135
68190
|
correctIdx = idx;
|
|
68136
68191
|
for (j = 0; j < idx; j++) {
|
|
68137
|
-
|
|
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)) {
|
|
68138
68200
|
correctIdx--;
|
|
68139
68201
|
}
|
|
68202
|
+
//END FIX_030
|
|
68140
68203
|
}
|
|
68141
68204
|
return this._data[correctIdx];
|
|
68142
68205
|
},
|
|
@@ -68168,7 +68231,16 @@
|
|
|
68168
68231
|
if (index > -1) {
|
|
68169
68232
|
html += kendo.attr('index') + '=\'' + index + '\'';
|
|
68170
68233
|
}
|
|
68171
|
-
|
|
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
|
|
68172
68244
|
html += '>' + text + '</th>';
|
|
68173
68245
|
} else if (th.command) {
|
|
68174
68246
|
html += '<th scope=\'col\'' + stringifyAttributes(th.headerAttributes);
|