@apexcura/ui-components 0.0.14-Beta92 → 0.0.14-Beta94
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 +2 -6
- package/dist/index.mjs +3 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -742,13 +742,9 @@ var TableElement = (props) => {
|
|
|
742
742
|
},
|
|
743
743
|
...thead.map((col, ind) => ({
|
|
744
744
|
title: col.label,
|
|
745
|
-
dataIndex:
|
|
746
|
-
/* @__PURE__ */ import_react20.default.createElement(import_antd14.Tooltip, null, col.name);
|
|
747
|
-
},
|
|
745
|
+
dataIndex: col.name,
|
|
748
746
|
key: col.key,
|
|
749
|
-
render:
|
|
750
|
-
/* @__PURE__ */ import_react20.default.createElement(import_antd14.Tooltip, null, col.render);
|
|
751
|
-
},
|
|
747
|
+
render: col.render,
|
|
752
748
|
sorter: {
|
|
753
749
|
compare: (a, b) => {
|
|
754
750
|
if (typeof a[col.key] === "number" && typeof a[col.key] === "number") {
|
package/dist/index.mjs
CHANGED
|
@@ -606,7 +606,7 @@ var Navbar = (props) => {
|
|
|
606
606
|
|
|
607
607
|
// src/Components/TableElement.tsx
|
|
608
608
|
import React20, { useState as useState6 } from "react";
|
|
609
|
-
import { Table as Table2
|
|
609
|
+
import { Table as Table2 } from "antd";
|
|
610
610
|
|
|
611
611
|
// src/Components/Model.tsx
|
|
612
612
|
import React19 from "react";
|
|
@@ -681,13 +681,9 @@ var TableElement = (props) => {
|
|
|
681
681
|
},
|
|
682
682
|
...thead.map((col, ind) => ({
|
|
683
683
|
title: col.label,
|
|
684
|
-
dataIndex:
|
|
685
|
-
/* @__PURE__ */ React20.createElement(Tooltip, null, col.name);
|
|
686
|
-
},
|
|
684
|
+
dataIndex: col.name,
|
|
687
685
|
key: col.key,
|
|
688
|
-
render:
|
|
689
|
-
/* @__PURE__ */ React20.createElement(Tooltip, null, col.render);
|
|
690
|
-
},
|
|
686
|
+
render: col.render,
|
|
691
687
|
sorter: {
|
|
692
688
|
compare: (a, b) => {
|
|
693
689
|
if (typeof a[col.key] === "number" && typeof a[col.key] === "number") {
|