@apexcura/ui-components 0.0.11-Beta220 → 0.0.11-Beta222

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
@@ -618,6 +618,7 @@ var import_antd13 = require("antd");
618
618
  // src/Components/ModelBody.tsx
619
619
  var import_react19 = __toESM(require("react"));
620
620
  var ModelBody = (props) => {
621
+ console.log("props", props);
621
622
  return /* @__PURE__ */ import_react19.default.createElement("div", null, props.modalContent && props.modalContent.fields.map((eachField) => {
622
623
  console.log("eachField==========", eachField);
623
624
  if (eachField.element === "div") {
@@ -639,7 +640,7 @@ var ModelElement = (props) => {
639
640
  open: model,
640
641
  onCancel,
641
642
  footer: null,
642
- width: 700,
643
+ width: 850,
643
644
  title: /* @__PURE__ */ import_react20.default.createElement(
644
645
  "div",
645
646
  {
@@ -654,7 +655,6 @@ var ModelElement = (props) => {
654
655
  Object.entries(selectedRecord).map(([key, value]) => /* @__PURE__ */ import_react20.default.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ import_react20.default.createElement("span", { style: { color: "gray", paddingRight: "10px" } }, key), String(value)))
655
656
  )
656
657
  },
657
- /* @__PURE__ */ import_react20.default.createElement("p", null, "hkfgbjnkmln "),
658
658
  /* @__PURE__ */ import_react20.default.createElement(ModelBody, { ...props })
659
659
  );
660
660
  };
@@ -708,7 +708,7 @@ var TableElement = (props) => {
708
708
  };
709
709
  }
710
710
  }
711
- ), model && /* @__PURE__ */ import_react21.default.createElement(ModelElement, { selectedStyle: false, style: false, className: void 0, selectedRecord, model, onCancel: () => setModel(false) }));
711
+ ), model && /* @__PURE__ */ import_react21.default.createElement(ModelElement, { selectedStyle: false, style: false, className: void 0, selectedRecord, props, model, onCancel: () => setModel(false) }));
712
712
  };
713
713
 
714
714
  // src/Components/DatePicker.tsx
package/dist/index.mjs CHANGED
@@ -567,6 +567,7 @@ import { Modal } from "antd";
567
567
  // src/Components/ModelBody.tsx
568
568
  import React18 from "react";
569
569
  var ModelBody = (props) => {
570
+ console.log("props", props);
570
571
  return /* @__PURE__ */ React18.createElement("div", null, props.modalContent && props.modalContent.fields.map((eachField) => {
571
572
  console.log("eachField==========", eachField);
572
573
  if (eachField.element === "div") {
@@ -588,7 +589,7 @@ var ModelElement = (props) => {
588
589
  open: model,
589
590
  onCancel,
590
591
  footer: null,
591
- width: 700,
592
+ width: 850,
592
593
  title: /* @__PURE__ */ React19.createElement(
593
594
  "div",
594
595
  {
@@ -603,7 +604,6 @@ var ModelElement = (props) => {
603
604
  Object.entries(selectedRecord).map(([key, value]) => /* @__PURE__ */ React19.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ React19.createElement("span", { style: { color: "gray", paddingRight: "10px" } }, key), String(value)))
604
605
  )
605
606
  },
606
- /* @__PURE__ */ React19.createElement("p", null, "hkfgbjnkmln "),
607
607
  /* @__PURE__ */ React19.createElement(ModelBody, { ...props })
608
608
  );
609
609
  };
@@ -657,7 +657,7 @@ var TableElement = (props) => {
657
657
  };
658
658
  }
659
659
  }
660
- ), model && /* @__PURE__ */ React20.createElement(ModelElement, { selectedStyle: false, style: false, className: void 0, selectedRecord, model, onCancel: () => setModel(false) }));
660
+ ), model && /* @__PURE__ */ React20.createElement(ModelElement, { selectedStyle: false, style: false, className: void 0, selectedRecord, props, model, onCancel: () => setModel(false) }));
661
661
  };
662
662
 
663
663
  // src/Components/DatePicker.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta220",
3
+ "version": "0.0.11-Beta222",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",