@apexcura/ui-components 0.0.11-Beta219 → 0.0.11-Beta220
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 +3 -5
- package/dist/index.mjs +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -633,22 +633,20 @@ var ModelBody = (props) => {
|
|
|
633
633
|
// src/Components/Model.tsx
|
|
634
634
|
var ModelElement = (props) => {
|
|
635
635
|
const { onCancel, model, selectedRecord } = props;
|
|
636
|
-
console.log("selectedRecord in model", selectedRecord);
|
|
637
|
-
console.log("model", model);
|
|
638
636
|
return /* @__PURE__ */ import_react20.default.createElement(
|
|
639
637
|
import_antd13.Modal,
|
|
640
638
|
{
|
|
641
639
|
open: model,
|
|
642
640
|
onCancel,
|
|
643
641
|
footer: null,
|
|
644
|
-
width:
|
|
642
|
+
width: 700,
|
|
645
643
|
title: /* @__PURE__ */ import_react20.default.createElement(
|
|
646
644
|
"div",
|
|
647
645
|
{
|
|
648
646
|
style: {
|
|
649
647
|
display: "flex",
|
|
650
648
|
flexWrap: "wrap",
|
|
651
|
-
padding: "
|
|
649
|
+
padding: "20px",
|
|
652
650
|
width: "full",
|
|
653
651
|
margin: "-10px"
|
|
654
652
|
}
|
|
@@ -656,6 +654,7 @@ var ModelElement = (props) => {
|
|
|
656
654
|
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)))
|
|
657
655
|
)
|
|
658
656
|
},
|
|
657
|
+
/* @__PURE__ */ import_react20.default.createElement("p", null, "hkfgbjnkmln "),
|
|
659
658
|
/* @__PURE__ */ import_react20.default.createElement(ModelBody, { ...props })
|
|
660
659
|
);
|
|
661
660
|
};
|
|
@@ -665,7 +664,6 @@ var TableElement = (props) => {
|
|
|
665
664
|
const { thead, tbody } = props;
|
|
666
665
|
const [selectedRecord, setSelectedRecord] = (0, import_react21.useState)({});
|
|
667
666
|
const [model, setModel] = (0, import_react21.useState)(false);
|
|
668
|
-
console.log("selectedRecord", selectedRecord);
|
|
669
667
|
let columns = [];
|
|
670
668
|
if (thead) {
|
|
671
669
|
columns = [
|
package/dist/index.mjs
CHANGED
|
@@ -582,22 +582,20 @@ var ModelBody = (props) => {
|
|
|
582
582
|
// src/Components/Model.tsx
|
|
583
583
|
var ModelElement = (props) => {
|
|
584
584
|
const { onCancel, model, selectedRecord } = props;
|
|
585
|
-
console.log("selectedRecord in model", selectedRecord);
|
|
586
|
-
console.log("model", model);
|
|
587
585
|
return /* @__PURE__ */ React19.createElement(
|
|
588
586
|
Modal,
|
|
589
587
|
{
|
|
590
588
|
open: model,
|
|
591
589
|
onCancel,
|
|
592
590
|
footer: null,
|
|
593
|
-
width:
|
|
591
|
+
width: 700,
|
|
594
592
|
title: /* @__PURE__ */ React19.createElement(
|
|
595
593
|
"div",
|
|
596
594
|
{
|
|
597
595
|
style: {
|
|
598
596
|
display: "flex",
|
|
599
597
|
flexWrap: "wrap",
|
|
600
|
-
padding: "
|
|
598
|
+
padding: "20px",
|
|
601
599
|
width: "full",
|
|
602
600
|
margin: "-10px"
|
|
603
601
|
}
|
|
@@ -605,6 +603,7 @@ var ModelElement = (props) => {
|
|
|
605
603
|
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)))
|
|
606
604
|
)
|
|
607
605
|
},
|
|
606
|
+
/* @__PURE__ */ React19.createElement("p", null, "hkfgbjnkmln "),
|
|
608
607
|
/* @__PURE__ */ React19.createElement(ModelBody, { ...props })
|
|
609
608
|
);
|
|
610
609
|
};
|
|
@@ -614,7 +613,6 @@ var TableElement = (props) => {
|
|
|
614
613
|
const { thead, tbody } = props;
|
|
615
614
|
const [selectedRecord, setSelectedRecord] = useState5({});
|
|
616
615
|
const [model, setModel] = useState5(false);
|
|
617
|
-
console.log("selectedRecord", selectedRecord);
|
|
618
616
|
let columns = [];
|
|
619
617
|
if (thead) {
|
|
620
618
|
columns = [
|