@apexcura/core 0.0.16-Beta121 → 0.0.16-Beta124
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 +17 -1
- package/dist/index.mjs +20 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -316,7 +316,7 @@ var ElementExecutor = (props) => {
|
|
|
316
316
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
317
317
|
}
|
|
318
318
|
);
|
|
319
|
-
case "donut":
|
|
319
|
+
case "circle-donut":
|
|
320
320
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
321
321
|
import_ui_components.CircleDonut,
|
|
322
322
|
{
|
|
@@ -324,6 +324,22 @@ var ElementExecutor = (props) => {
|
|
|
324
324
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
325
325
|
}
|
|
326
326
|
);
|
|
327
|
+
case "semicircle-donut":
|
|
328
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
329
|
+
import_ui_components.SemiCircleDonut,
|
|
330
|
+
{
|
|
331
|
+
...elementProps,
|
|
332
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
333
|
+
}
|
|
334
|
+
);
|
|
335
|
+
case "horizontal-barchart":
|
|
336
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
337
|
+
import_ui_components.HorizontalBarChart,
|
|
338
|
+
{
|
|
339
|
+
...elementProps,
|
|
340
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
341
|
+
}
|
|
342
|
+
);
|
|
327
343
|
default:
|
|
328
344
|
return null;
|
|
329
345
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -25,7 +25,9 @@ import {
|
|
|
25
25
|
TabsElement,
|
|
26
26
|
Upload,
|
|
27
27
|
OtpElement,
|
|
28
|
-
CircleDonut
|
|
28
|
+
CircleDonut,
|
|
29
|
+
SemiCircleDonut,
|
|
30
|
+
HorizontalBarChart
|
|
29
31
|
} from "@apexcura/ui-components";
|
|
30
32
|
|
|
31
33
|
// src/services/http-service.tsx
|
|
@@ -306,7 +308,7 @@ var ElementExecutor = (props) => {
|
|
|
306
308
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
307
309
|
}
|
|
308
310
|
);
|
|
309
|
-
case "donut":
|
|
311
|
+
case "circle-donut":
|
|
310
312
|
return /* @__PURE__ */ React.createElement(
|
|
311
313
|
CircleDonut,
|
|
312
314
|
{
|
|
@@ -314,6 +316,22 @@ var ElementExecutor = (props) => {
|
|
|
314
316
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
315
317
|
}
|
|
316
318
|
);
|
|
319
|
+
case "semicircle-donut":
|
|
320
|
+
return /* @__PURE__ */ React.createElement(
|
|
321
|
+
SemiCircleDonut,
|
|
322
|
+
{
|
|
323
|
+
...elementProps,
|
|
324
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
325
|
+
}
|
|
326
|
+
);
|
|
327
|
+
case "horizontal-barchart":
|
|
328
|
+
return /* @__PURE__ */ React.createElement(
|
|
329
|
+
HorizontalBarChart,
|
|
330
|
+
{
|
|
331
|
+
...elementProps,
|
|
332
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
333
|
+
}
|
|
334
|
+
);
|
|
317
335
|
default:
|
|
318
336
|
return null;
|
|
319
337
|
}
|
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-Beta124",
|
|
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-Beta122",
|
|
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",
|