@apexcura/ui-components 0.0.14-Beta149 → 0.0.14-Beta150
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 +5 -5
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -730,11 +730,11 @@ var ModelElement = (props) => {
|
|
|
730
730
|
};
|
|
731
731
|
|
|
732
732
|
// src/Components/TableElement.tsx
|
|
733
|
-
var import_icons4 = require("@ant-design/icons");
|
|
734
733
|
var TableElement = (props) => {
|
|
735
734
|
const { thead, tbody } = props;
|
|
736
735
|
const [selectedRecord, setSelectedRecord] = (0, import_react20.useState)({});
|
|
737
736
|
const [model, setModel] = (0, import_react20.useState)(false);
|
|
737
|
+
console.log("whjksqjA");
|
|
738
738
|
const handleChange = (record) => {
|
|
739
739
|
console.log("record", record);
|
|
740
740
|
if (props.onChange) {
|
|
@@ -773,7 +773,7 @@ var TableElement = (props) => {
|
|
|
773
773
|
dataIndex: "View",
|
|
774
774
|
key: "View",
|
|
775
775
|
render: (_, record) => {
|
|
776
|
-
/* @__PURE__ */ import_react20.default.createElement(
|
|
776
|
+
props.view && /* @__PURE__ */ import_react20.default.createElement(
|
|
777
777
|
"a",
|
|
778
778
|
{
|
|
779
779
|
onClick: () => {
|
|
@@ -782,7 +782,7 @@ var TableElement = (props) => {
|
|
|
782
782
|
setModel(true);
|
|
783
783
|
}
|
|
784
784
|
},
|
|
785
|
-
|
|
785
|
+
"View"
|
|
786
786
|
);
|
|
787
787
|
}
|
|
788
788
|
});
|
|
@@ -970,7 +970,7 @@ var DropDownGroup = (props) => {
|
|
|
970
970
|
// src/Components/FilesUpload.tsx
|
|
971
971
|
var import_react26 = __toESM(require("react"));
|
|
972
972
|
var import_antd19 = require("antd");
|
|
973
|
-
var
|
|
973
|
+
var import_icons4 = require("@ant-design/icons");
|
|
974
974
|
var FileUpload = (props) => {
|
|
975
975
|
const { Dragger } = import_antd19.Upload;
|
|
976
976
|
const [files, setFiles] = (0, import_react26.useState)([]);
|
|
@@ -1001,7 +1001,7 @@ var FileUpload = (props) => {
|
|
|
1001
1001
|
showUploadList: true,
|
|
1002
1002
|
customRequest
|
|
1003
1003
|
},
|
|
1004
|
-
/* @__PURE__ */ import_react26.default.createElement("p", null, /* @__PURE__ */ import_react26.default.createElement(
|
|
1004
|
+
/* @__PURE__ */ import_react26.default.createElement("p", null, /* @__PURE__ */ import_react26.default.createElement(import_icons4.InboxOutlined, null)),
|
|
1005
1005
|
/* @__PURE__ */ import_react26.default.createElement("p", null, "Click or drag file to upload")
|
|
1006
1006
|
));
|
|
1007
1007
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -664,11 +664,11 @@ var ModelElement = (props) => {
|
|
|
664
664
|
};
|
|
665
665
|
|
|
666
666
|
// src/Components/TableElement.tsx
|
|
667
|
-
import { EyeOutlined } from "@ant-design/icons";
|
|
668
667
|
var TableElement = (props) => {
|
|
669
668
|
const { thead, tbody } = props;
|
|
670
669
|
const [selectedRecord, setSelectedRecord] = useState6({});
|
|
671
670
|
const [model, setModel] = useState6(false);
|
|
671
|
+
console.log("whjksqjA");
|
|
672
672
|
const handleChange = (record) => {
|
|
673
673
|
console.log("record", record);
|
|
674
674
|
if (props.onChange) {
|
|
@@ -707,7 +707,7 @@ var TableElement = (props) => {
|
|
|
707
707
|
dataIndex: "View",
|
|
708
708
|
key: "View",
|
|
709
709
|
render: (_, record) => {
|
|
710
|
-
/* @__PURE__ */ React20.createElement(
|
|
710
|
+
props.view && /* @__PURE__ */ React20.createElement(
|
|
711
711
|
"a",
|
|
712
712
|
{
|
|
713
713
|
onClick: () => {
|
|
@@ -716,7 +716,7 @@ var TableElement = (props) => {
|
|
|
716
716
|
setModel(true);
|
|
717
717
|
}
|
|
718
718
|
},
|
|
719
|
-
|
|
719
|
+
"View"
|
|
720
720
|
);
|
|
721
721
|
}
|
|
722
722
|
});
|