@apexcura/core 0.0.16-Beta127 → 0.0.16-Beta129
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 +24 -0
- package/dist/index.mjs +28 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -340,6 +340,30 @@ var ElementExecutor = (props) => {
|
|
|
340
340
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
341
341
|
}
|
|
342
342
|
);
|
|
343
|
+
case "linechart":
|
|
344
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
345
|
+
import_ui_components.LineChart,
|
|
346
|
+
{
|
|
347
|
+
...elementProps,
|
|
348
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
349
|
+
}
|
|
350
|
+
);
|
|
351
|
+
case "double-barchart":
|
|
352
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
353
|
+
import_ui_components.DoubleBarChart,
|
|
354
|
+
{
|
|
355
|
+
...elementProps,
|
|
356
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
357
|
+
}
|
|
358
|
+
);
|
|
359
|
+
case "barchart":
|
|
360
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
361
|
+
import_ui_components.BarChart,
|
|
362
|
+
{
|
|
363
|
+
...elementProps,
|
|
364
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
365
|
+
}
|
|
366
|
+
);
|
|
343
367
|
default:
|
|
344
368
|
return null;
|
|
345
369
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -27,7 +27,10 @@ import {
|
|
|
27
27
|
OtpElement,
|
|
28
28
|
CircleDonut,
|
|
29
29
|
SemiCircleDonut,
|
|
30
|
-
HorizontalBarChart
|
|
30
|
+
HorizontalBarChart,
|
|
31
|
+
DoubleBarChart,
|
|
32
|
+
LineChart,
|
|
33
|
+
BarChart
|
|
31
34
|
} from "@apexcura/ui-components";
|
|
32
35
|
|
|
33
36
|
// src/services/http-service.tsx
|
|
@@ -332,6 +335,30 @@ var ElementExecutor = (props) => {
|
|
|
332
335
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
333
336
|
}
|
|
334
337
|
);
|
|
338
|
+
case "linechart":
|
|
339
|
+
return /* @__PURE__ */ React.createElement(
|
|
340
|
+
LineChart,
|
|
341
|
+
{
|
|
342
|
+
...elementProps,
|
|
343
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
344
|
+
}
|
|
345
|
+
);
|
|
346
|
+
case "double-barchart":
|
|
347
|
+
return /* @__PURE__ */ React.createElement(
|
|
348
|
+
DoubleBarChart,
|
|
349
|
+
{
|
|
350
|
+
...elementProps,
|
|
351
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
352
|
+
}
|
|
353
|
+
);
|
|
354
|
+
case "barchart":
|
|
355
|
+
return /* @__PURE__ */ React.createElement(
|
|
356
|
+
BarChart,
|
|
357
|
+
{
|
|
358
|
+
...elementProps,
|
|
359
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
360
|
+
}
|
|
361
|
+
);
|
|
335
362
|
default:
|
|
336
363
|
return null;
|
|
337
364
|
}
|
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-Beta129",
|
|
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-Beta125",
|
|
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",
|