@gustavo-valsechi/client 1.4.57 → 1.4.58

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.
@@ -40,11 +40,13 @@ 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) => {
44
45
  const ComponentElement = Types[config.type];
45
46
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComponentElement, { ...config.props });
46
47
  };
47
48
  const renderRow = (components) => {
49
+ console.log(components);
48
50
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styles.RowContainer, { children: import_lodash.default.map(
49
51
  components,
50
52
  (data, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Fragment, { children: renderComponent(data) }, index)
@@ -6,11 +6,13 @@ 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) => {
10
11
  const ComponentElement = Types[config.type];
11
12
  return /* @__PURE__ */ jsx(ComponentElement, { ...config.props });
12
13
  };
13
14
  const renderRow = (components) => {
15
+ console.log(components);
14
16
  return /* @__PURE__ */ jsx(RowContainer, { children: _.map(
15
17
  components,
16
18
  (data, index) => /* @__PURE__ */ jsx(Fragment, { children: renderComponent(data) }, index)
@@ -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,
@@ -76,6 +76,7 @@ function Form(props) {
76
76
  await props.onSubmit(data);
77
77
  setSubmitting(false);
78
78
  };
79
+ console.log("FORM RENDERIZADO");
79
80
  return /* @__PURE__ */ jsxs(Container, { ref: formRef, onSubmit: handleSubmit(onSubmit), children: [
80
81
  _.map(
81
82
  props.inputs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.57",
3
+ "version": "1.4.58",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",