@apexcura/ui-components 0.0.14-Beta90 → 0.0.14-Beta92
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 +7 -3
- package/dist/index.mjs +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -742,9 +742,13 @@ var TableElement = (props) => {
|
|
|
742
742
|
},
|
|
743
743
|
...thead.map((col, ind) => ({
|
|
744
744
|
title: col.label,
|
|
745
|
-
dataIndex:
|
|
745
|
+
dataIndex: () => {
|
|
746
|
+
/* @__PURE__ */ import_react20.default.createElement(import_antd14.Tooltip, null, col.name);
|
|
747
|
+
},
|
|
746
748
|
key: col.key,
|
|
747
|
-
render:
|
|
749
|
+
render: () => {
|
|
750
|
+
/* @__PURE__ */ import_react20.default.createElement(import_antd14.Tooltip, null, col.render);
|
|
751
|
+
},
|
|
748
752
|
sorter: {
|
|
749
753
|
compare: (a, b) => {
|
|
750
754
|
if (typeof a[col.key] === "number" && typeof a[col.key] === "number") {
|
|
@@ -1132,7 +1136,7 @@ var Donut = (props) => {
|
|
|
1132
1136
|
]
|
|
1133
1137
|
};
|
|
1134
1138
|
console.log(chartOptions);
|
|
1135
|
-
return /* @__PURE__ */ import_react31.default.createElement(
|
|
1139
|
+
return /* @__PURE__ */ import_react31.default.createElement(import_react31.default.Fragment, null, /* @__PURE__ */ import_react31.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: chartOptions }));
|
|
1136
1140
|
};
|
|
1137
1141
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1138
1142
|
0 && (module.exports = {
|
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 } from "antd";
|
|
609
|
+
import { Table as Table2, Tooltip } from "antd";
|
|
610
610
|
|
|
611
611
|
// src/Components/Model.tsx
|
|
612
612
|
import React19 from "react";
|
|
@@ -681,9 +681,13 @@ var TableElement = (props) => {
|
|
|
681
681
|
},
|
|
682
682
|
...thead.map((col, ind) => ({
|
|
683
683
|
title: col.label,
|
|
684
|
-
dataIndex:
|
|
684
|
+
dataIndex: () => {
|
|
685
|
+
/* @__PURE__ */ React20.createElement(Tooltip, null, col.name);
|
|
686
|
+
},
|
|
685
687
|
key: col.key,
|
|
686
|
-
render:
|
|
688
|
+
render: () => {
|
|
689
|
+
/* @__PURE__ */ React20.createElement(Tooltip, null, col.render);
|
|
690
|
+
},
|
|
687
691
|
sorter: {
|
|
688
692
|
compare: (a, b) => {
|
|
689
693
|
if (typeof a[col.key] === "number" && typeof a[col.key] === "number") {
|
|
@@ -1071,7 +1075,7 @@ var Donut = (props) => {
|
|
|
1071
1075
|
]
|
|
1072
1076
|
};
|
|
1073
1077
|
console.log(chartOptions);
|
|
1074
|
-
return /* @__PURE__ */ React31.createElement(
|
|
1078
|
+
return /* @__PURE__ */ React31.createElement(React31.Fragment, null, /* @__PURE__ */ React31.createElement(HighchartsReact, { highcharts: Highcharts, options: chartOptions }));
|
|
1075
1079
|
};
|
|
1076
1080
|
export {
|
|
1077
1081
|
AddMoreTable,
|