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.
- package/esm2020/lib/api/base-components/base-component-crud-form.mjs +10 -1
- package/fesm2015/keevo-components.mjs +12 -0
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +9 -0
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-crud-form.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|