argous 1.2.142 → 1.2.143
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.
|
@@ -295,12 +295,13 @@ var AutoCompleteFavorites = function (_a) {
|
|
|
295
295
|
index === 0 && favoritePage && setDados(function (v) { return (__assign(__assign({}, v), { favoritosLength: arr.length })); });
|
|
296
296
|
return arr.map(function (itemArr) { return itemArr.length < itemArr.length + 1 && itemArr.push(groupName[index]); });
|
|
297
297
|
});
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
});
|
|
298
|
+
console.log('listaCarimbada', lista);
|
|
299
|
+
// lista.forEach(v => {
|
|
300
|
+
// for (let item of v.values()) {
|
|
301
|
+
// completo.push(item);
|
|
302
|
+
// }
|
|
303
|
+
// });
|
|
304
|
+
lista.map(function (v) { return v.map(function (d) { return completo.push(d); }); });
|
|
304
305
|
console.log('carimbaLista completo', completo);
|
|
305
306
|
setDados(function (v) { return (__assign(__assign({}, v), { lista: completo })); });
|
|
306
307
|
return [2 /*return*/];
|
|
@@ -235,11 +235,13 @@ const AutoCompleteFavorites = ({ action, busca, resposta, label, value, pgCode,
|
|
|
235
235
|
index === 0 && favoritePage && setDados(v => ({ ...v, favoritosLength: arr.length }));
|
|
236
236
|
return arr.map(itemArr => itemArr.length < itemArr.length + 1 && itemArr.push(groupName[index]));
|
|
237
237
|
});
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
238
|
+
console.log('listaCarimbada', lista);
|
|
239
|
+
// lista.forEach(v => {
|
|
240
|
+
// for (let item of v.values()) {
|
|
241
|
+
// completo.push(item);
|
|
242
|
+
// }
|
|
243
|
+
// });
|
|
244
|
+
lista.map(v => v.map(d => completo.push(d)));
|
|
243
245
|
console.log('carimbaLista completo', completo);
|
|
244
246
|
setDados(v => ({ ...v, lista: completo }));
|
|
245
247
|
}
|