keevo-components 1.5.194 → 1.5.196

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.
@@ -804,6 +804,15 @@ class BaseComponentCrudForm extends BaseComponentCrud {
804
804
  this.setTitlePopup();
805
805
  });
806
806
  }
807
+ async loadDataAsync(obs) {
808
+ await obs.pipe(loading()).toPromise();
809
+ const data = await obs.toPromise();
810
+ this.isNewRegistry = false;
811
+ this.registry = data;
812
+ this.setFormValues(this.registry); // Mova a lógica de preenchimento do formulário aqui
813
+ this.loadGrids();
814
+ this.setTitlePopup();
815
+ }
807
816
  loadGrids() { }
808
817
  /**
809
818
  * Método disparado para retornar a lista