@apexcura/ui-components 0.0.14-Beta152 → 0.0.14-Beta153
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 +15 -11
- package/dist/index.mjs +15 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -771,17 +771,21 @@ var TableElement = (props) => {
|
|
|
771
771
|
title: "View",
|
|
772
772
|
dataIndex: "View",
|
|
773
773
|
key: "View",
|
|
774
|
-
render: (_, record) =>
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
774
|
+
render: (_, record) => {
|
|
775
|
+
return /* @__PURE__ */ import_react20.default.createElement(
|
|
776
|
+
"a",
|
|
777
|
+
{
|
|
778
|
+
onClick: () => {
|
|
779
|
+
if (props.view) {
|
|
780
|
+
setSelectedRecord(record);
|
|
781
|
+
handleChange(record);
|
|
782
|
+
setModel(true);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"View"
|
|
787
|
+
);
|
|
788
|
+
}
|
|
785
789
|
});
|
|
786
790
|
}
|
|
787
791
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -705,17 +705,21 @@ var TableElement = (props) => {
|
|
|
705
705
|
title: "View",
|
|
706
706
|
dataIndex: "View",
|
|
707
707
|
key: "View",
|
|
708
|
-
render: (_, record) =>
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
708
|
+
render: (_, record) => {
|
|
709
|
+
return /* @__PURE__ */ React20.createElement(
|
|
710
|
+
"a",
|
|
711
|
+
{
|
|
712
|
+
onClick: () => {
|
|
713
|
+
if (props.view) {
|
|
714
|
+
setSelectedRecord(record);
|
|
715
|
+
handleChange(record);
|
|
716
|
+
setModel(true);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"View"
|
|
721
|
+
);
|
|
722
|
+
}
|
|
719
723
|
});
|
|
720
724
|
}
|
|
721
725
|
}
|