@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 CHANGED
@@ -1134,13 +1134,10 @@ var DonutGraph = () => {
1134
1134
  },
1135
1135
  series: seriesData
1136
1136
  };
1137
- return /* @__PURE__ */ import_react31.default.createElement("div", null, /* @__PURE__ */ import_react31.default.createElement("p", null, "frijwenjds"), /* @__PURE__ */ import_react31.default.createElement(
1138
- import_highcharts_react_official.default,
1139
- {
1140
- highcharts: import_highcharts.default,
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
- return /* @__PURE__ */ React31.createElement("div", null, /* @__PURE__ */ React31.createElement("p", null, "frijwenjds"), /* @__PURE__ */ React31.createElement(
1077
- HighchartsReact,
1078
- {
1079
- highcharts: Highcharts,
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta112",
3
+ "version": "0.0.14-Beta114",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",