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
- lista.forEach(function (v) {
299
- for (var _i = 0, _a = v.values(); _i < _a.length; _i++) {
300
- var item = _a[_i];
301
- completo.push(item);
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
- lista.forEach(v => {
239
- for (let item of v.values()) {
240
- completo.push(item);
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "argous",
3
- "version": "1.2.142",
3
+ "version": "1.2.143",
4
4
  "description": "Argous.",
5
5
  "main": "lib/index.js",
6
6
  "author": "Carlos Schneider",