@apexcura/core 0.0.17-Beta36 → 0.0.17-Beta38

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/index.js CHANGED
@@ -105,7 +105,6 @@ var ElementExecutor = (props) => {
105
105
  return schema2.map((field) => {
106
106
  if (field.name === name) {
107
107
  field["value"] = value;
108
- console.log("name", name, "value", value);
109
108
  props.selectedRecord && props.selectedRecord(field);
110
109
  }
111
110
  if (field.fields && field.fields.length) {
@@ -393,9 +392,9 @@ var ElementExecutor = (props) => {
393
392
  }
394
393
  };
395
394
  const renderFields = (schema2) => {
396
- return schema2 && schema2.map((eachSection) => {
395
+ return schema2 && schema2.map((eachSection, index) => {
397
396
  if (eachSection.visible !== false) {
398
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, { key: eachSection.name }, eachSection.fields && eachSection.fields.length > 0 ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, renderElement(eachSection), /* @__PURE__ */ import_react.default.createElement("div", { className: eachSection.className, key: eachSection.name }, renderFields(eachSection.fields)), eachSection.dateTime ? /* @__PURE__ */ import_react.default.createElement(
397
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, { key: index }, eachSection.fields && eachSection.fields.length > 0 ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, renderElement(eachSection), /* @__PURE__ */ import_react.default.createElement("div", { className: eachSection.className, key: index }, renderFields(eachSection.fields)), eachSection.dateTime ? /* @__PURE__ */ import_react.default.createElement(
399
398
  "p",
400
399
  {
401
400
  style: {
package/dist/index.mjs CHANGED
@@ -103,7 +103,6 @@ var ElementExecutor = (props) => {
103
103
  return schema2.map((field) => {
104
104
  if (field.name === name) {
105
105
  field["value"] = value;
106
- console.log("name", name, "value", value);
107
106
  props.selectedRecord && props.selectedRecord(field);
108
107
  }
109
108
  if (field.fields && field.fields.length) {
@@ -391,9 +390,9 @@ var ElementExecutor = (props) => {
391
390
  }
392
391
  };
393
392
  const renderFields = (schema2) => {
394
- return schema2 && schema2.map((eachSection) => {
393
+ return schema2 && schema2.map((eachSection, index) => {
395
394
  if (eachSection.visible !== false) {
396
- return /* @__PURE__ */ React.createElement(React.Fragment, { key: eachSection.name }, eachSection.fields && eachSection.fields.length > 0 ? /* @__PURE__ */ React.createElement(React.Fragment, null, renderElement(eachSection), /* @__PURE__ */ React.createElement("div", { className: eachSection.className, key: eachSection.name }, renderFields(eachSection.fields)), eachSection.dateTime ? /* @__PURE__ */ React.createElement(
395
+ return /* @__PURE__ */ React.createElement(React.Fragment, { key: index }, eachSection.fields && eachSection.fields.length > 0 ? /* @__PURE__ */ React.createElement(React.Fragment, null, renderElement(eachSection), /* @__PURE__ */ React.createElement("div", { className: eachSection.className, key: index }, renderFields(eachSection.fields)), eachSection.dateTime ? /* @__PURE__ */ React.createElement(
397
396
  "p",
398
397
  {
399
398
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/core",
3
- "version": "0.0.17-Beta36",
3
+ "version": "0.0.17-Beta38",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",
@@ -28,7 +28,7 @@
28
28
  "build": "tsup"
29
29
  },
30
30
  "dependencies": {
31
- "@apexcura/ui-components": "^0.0.15-Beta28",
31
+ "@apexcura/ui-components": "^0.0.15-Beta29",
32
32
  "@testing-library/jest-dom": "^6.4.2",
33
33
  "@testing-library/react": "^15.0.6",
34
34
  "@types/react-global-configuration": "^1.3.3",