cronapp-lib-js 2.8.5 → 2.8.8

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.
@@ -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
+
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 };
@@ -68134,9 +68152,17 @@
68134
68152
  var rows = this.tbody.children(), classesRegEx = /k-grouping-row|k-detail-row|k-group-footer/, idx = tr.sectionRowIndex, j, correctIdx;
68135
68153
  correctIdx = idx;
68136
68154
  for (j = 0; j < idx; j++) {
68137
- if (classesRegEx.test(rows[j].className)) {
68155
+ //BEGIN FIX FIX_030
68156
+ /*OLD
68157
+ if (classesRegEx.test(rows[j].className)) {
68158
+ correctIdx--;
68159
+ }
68160
+ */
68161
+ //NEW
68162
+ if (rows[j] && rows[j].className && classesRegEx.test(rows[j].className)) {
68138
68163
  correctIdx--;
68139
68164
  }
68165
+ //END FIX_030
68140
68166
  }
68141
68167
  return this._data[correctIdx];
68142
68168
  },