@ssplib/react-components 0.0.169 → 0.0.170
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.
|
@@ -72,13 +72,6 @@ function RequiredCheckBoxGroup(_a) {
|
|
|
72
72
|
if (nameValue) {
|
|
73
73
|
canContinue = true;
|
|
74
74
|
}
|
|
75
|
-
console.log('todos os value', context.formGetValues());
|
|
76
|
-
console.log('Erro validação');
|
|
77
|
-
console.log('names', names);
|
|
78
|
-
console.log('x', x);
|
|
79
|
-
console.log('i', i);
|
|
80
|
-
console.log('nameValue', nameValue);
|
|
81
|
-
console.log('Erro validação');
|
|
82
75
|
});
|
|
83
76
|
if (!canContinue)
|
|
84
77
|
return customText;
|
|
@@ -222,7 +222,6 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
222
222
|
});
|
|
223
223
|
Object.keys(obj).forEach((objKey) => {
|
|
224
224
|
const values = [];
|
|
225
|
-
console.log("===== downloadCSV ==== 1");
|
|
226
225
|
obj[objKey].forEach((x) => {
|
|
227
226
|
let include = true;
|
|
228
227
|
originalKeys.forEach((k) => {
|
|
@@ -234,8 +233,6 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
234
233
|
if (include) {
|
|
235
234
|
const value = keys
|
|
236
235
|
.map((k) => {
|
|
237
|
-
console.log(" DADOS 1 ");
|
|
238
|
-
console.log(x);
|
|
239
236
|
if (k === 'tbRa')
|
|
240
237
|
return x[k]['NO_CIDADE'];
|
|
241
238
|
if (k === 'rlEventoData')
|
|
@@ -275,7 +272,6 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
275
272
|
const keys = originalKeys.filter((k) => !csvExcludeKeysCSV.includes(k));
|
|
276
273
|
const header = keys.map((k) => (csvCustomKeyNames[k] ? csvCustomKeyNames[k] : k)).join(',') + '\n';
|
|
277
274
|
const values = [];
|
|
278
|
-
console.log("===== downloadCSV ==== 2");
|
|
279
275
|
list.forEach((x) => {
|
|
280
276
|
let include = true;
|
|
281
277
|
originalKeys.forEach((k) => {
|
|
@@ -287,8 +283,6 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
287
283
|
if (include) {
|
|
288
284
|
const value = keys
|
|
289
285
|
.map((k) => {
|
|
290
|
-
console.log(" DADOS 2 ");
|
|
291
|
-
console.log(x);
|
|
292
286
|
if (k === 'tbRa')
|
|
293
287
|
return x[k]['NO_CIDADE'];
|
|
294
288
|
if (k === 'rlEventoData')
|
|
@@ -347,13 +341,10 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
347
341
|
return;
|
|
348
342
|
const keys = Object.keys(list[0]).filter((k) => !csvExcludeKeysAll.includes(k));
|
|
349
343
|
const header = keys.join(',') + '\n';
|
|
350
|
-
console.log("===== downloadCSVAll ==== 3");
|
|
351
344
|
const values = list
|
|
352
345
|
.map((x) => {
|
|
353
346
|
return keys
|
|
354
347
|
.map((k) => {
|
|
355
|
-
console.log(" DADOS 3 ");
|
|
356
|
-
console.log(x);
|
|
357
348
|
if (k === 'tbRa')
|
|
358
349
|
return x[k]['NO_CIDADE'];
|
|
359
350
|
if (k === 'rlEventoData')
|