@apexcura/ui-components 0.0.14-Beta112 → 0.0.14-Beta114
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 +4 -7
- package/dist/index.mjs +4 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1134,13 +1134,10 @@ var DonutGraph = () => {
|
|
|
1134
1134
|
},
|
|
1135
1135
|
series: seriesData
|
|
1136
1136
|
};
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
options
|
|
1142
|
-
}
|
|
1143
|
-
));
|
|
1137
|
+
if (!import_highcharts_react_official.default || Object.keys(import_highcharts_react_official.default).length === 0) {
|
|
1138
|
+
return;
|
|
1139
|
+
}
|
|
1140
|
+
return /* @__PURE__ */ import_react31.default.createElement("div", null, !import_highcharts_react_official.default || Object.keys(import_highcharts_react_official.default).length === 0 ? /* @__PURE__ */ import_react31.default.createElement("div", null, "Error: HighchartsReact is not loaded properly.") : /* @__PURE__ */ import_react31.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options }));
|
|
1144
1141
|
};
|
|
1145
1142
|
var DonutGraph_default = DonutGraph;
|
|
1146
1143
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
|
@@ -1073,13 +1073,10 @@ var DonutGraph = () => {
|
|
|
1073
1073
|
},
|
|
1074
1074
|
series: seriesData
|
|
1075
1075
|
};
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
options
|
|
1081
|
-
}
|
|
1082
|
-
));
|
|
1076
|
+
if (!HighchartsReact || Object.keys(HighchartsReact).length === 0) {
|
|
1077
|
+
return;
|
|
1078
|
+
}
|
|
1079
|
+
return /* @__PURE__ */ React31.createElement("div", null, !HighchartsReact || Object.keys(HighchartsReact).length === 0 ? /* @__PURE__ */ React31.createElement("div", null, "Error: HighchartsReact is not loaded properly.") : /* @__PURE__ */ React31.createElement(HighchartsReact, { highcharts: Highcharts, options }));
|
|
1083
1080
|
};
|
|
1084
1081
|
var DonutGraph_default = DonutGraph;
|
|
1085
1082
|
export {
|