@gustavo-valsechi/client 1.4.57 → 1.4.59
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/dist/components/index.js
CHANGED
|
@@ -40,7 +40,9 @@ var import_lodash = __toESM(require("lodash"));
|
|
|
40
40
|
var Types = __toESM(require("./types"));
|
|
41
41
|
__reExport(components_exports, require("./types"), module.exports);
|
|
42
42
|
function Component(props) {
|
|
43
|
+
console.log("COMPONENTE RENDERIZADO");
|
|
43
44
|
const renderComponent = (config) => {
|
|
45
|
+
console.log(config);
|
|
44
46
|
const ComponentElement = Types[config.type];
|
|
45
47
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComponentElement, { ...config.props });
|
|
46
48
|
};
|
|
@@ -6,7 +6,9 @@ import _ from "lodash";
|
|
|
6
6
|
import * as Types from "./types";
|
|
7
7
|
export * from "./types";
|
|
8
8
|
function Component(props) {
|
|
9
|
+
console.log("COMPONENTE RENDERIZADO");
|
|
9
10
|
const renderComponent = (config) => {
|
|
11
|
+
console.log(config);
|
|
10
12
|
const ComponentElement = Types[config.type];
|
|
11
13
|
return /* @__PURE__ */ jsx(ComponentElement, { ...config.props });
|
|
12
14
|
};
|
|
@@ -110,6 +110,7 @@ function Form(props) {
|
|
|
110
110
|
await props.onSubmit(data);
|
|
111
111
|
setSubmitting(false);
|
|
112
112
|
};
|
|
113
|
+
console.log("FORM RENDERIZADO");
|
|
113
114
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styles.Container, { ref: formRef, onSubmit: handleSubmit(onSubmit), children: [
|
|
114
115
|
import_lodash.default.map(
|
|
115
116
|
props.inputs,
|