@apexcura/core 0.0.16-Beta208 → 0.0.16-Beta209
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 +9 -9
- package/dist/index.mjs +10 -9
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -342,6 +342,14 @@ var ElementExecutor = (props) => {
|
|
|
342
342
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
343
343
|
}
|
|
344
344
|
);
|
|
345
|
+
case "linechart":
|
|
346
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
347
|
+
import_ui_components.LineChart,
|
|
348
|
+
{
|
|
349
|
+
...elementProps,
|
|
350
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
351
|
+
}
|
|
352
|
+
);
|
|
345
353
|
case "highchart-linechart":
|
|
346
354
|
let data_options = {
|
|
347
355
|
chart: {
|
|
@@ -469,15 +477,7 @@ var ElementExecutor = (props) => {
|
|
|
469
477
|
}]
|
|
470
478
|
}
|
|
471
479
|
};
|
|
472
|
-
return (
|
|
473
|
-
// <LineChart
|
|
474
|
-
// {...elementProps}
|
|
475
|
-
// onChange={(value: any) =>
|
|
476
|
-
// onHandleChange(elementProps.name || "", value)
|
|
477
|
-
// }
|
|
478
|
-
// />
|
|
479
|
-
/* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: data_options })
|
|
480
|
-
);
|
|
480
|
+
return /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: data_options });
|
|
481
481
|
case "double-barchart":
|
|
482
482
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
483
483
|
import_ui_components.DoubleBarChart,
|
package/dist/index.mjs
CHANGED
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
SemiCircleDonut,
|
|
32
32
|
HorizontalBarChart,
|
|
33
33
|
DoubleBarChart,
|
|
34
|
+
LineChart,
|
|
34
35
|
BarChart
|
|
35
36
|
} from "@apexcura/ui-components";
|
|
36
37
|
|
|
@@ -336,6 +337,14 @@ var ElementExecutor = (props) => {
|
|
|
336
337
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
337
338
|
}
|
|
338
339
|
);
|
|
340
|
+
case "linechart":
|
|
341
|
+
return /* @__PURE__ */ React.createElement(
|
|
342
|
+
LineChart,
|
|
343
|
+
{
|
|
344
|
+
...elementProps,
|
|
345
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
346
|
+
}
|
|
347
|
+
);
|
|
339
348
|
case "highchart-linechart":
|
|
340
349
|
let data_options = {
|
|
341
350
|
chart: {
|
|
@@ -463,15 +472,7 @@ var ElementExecutor = (props) => {
|
|
|
463
472
|
}]
|
|
464
473
|
}
|
|
465
474
|
};
|
|
466
|
-
return (
|
|
467
|
-
// <LineChart
|
|
468
|
-
// {...elementProps}
|
|
469
|
-
// onChange={(value: any) =>
|
|
470
|
-
// onHandleChange(elementProps.name || "", value)
|
|
471
|
-
// }
|
|
472
|
-
// />
|
|
473
|
-
/* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: data_options })
|
|
474
|
-
);
|
|
475
|
+
return /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: data_options });
|
|
475
476
|
case "double-barchart":
|
|
476
477
|
return /* @__PURE__ */ React.createElement(
|
|
477
478
|
DoubleBarChart,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.16-
|
|
3
|
+
"version": "0.0.16-Beta209",
|
|
4
4
|
"description": "Apex cura React components library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex cura",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"build": "tsup"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@apexcura/ui-components": "^0.0.14-
|
|
31
|
+
"@apexcura/ui-components": "^0.0.14-Beta193",
|
|
32
32
|
"@testing-library/jest-dom": "^6.4.2",
|
|
33
33
|
"@testing-library/react": "^15.0.6",
|
|
34
34
|
"@types/react-global-configuration": "^1.3.3",
|