@apexcura/ui-components 0.0.14-Beta140 → 0.0.14-Beta142
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.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -13
- package/dist/index.mjs +2 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1101,17 +1101,11 @@ var import_chart = require("chart.js");
|
|
|
1101
1101
|
import_chart.Chart.register(import_chart.DoughnutController, import_chart.ArcElement, import_chart.Tooltip, import_chart.Legend);
|
|
1102
1102
|
var CircleDonut = (props) => {
|
|
1103
1103
|
const data = {
|
|
1104
|
-
labels:
|
|
1105
|
-
"Registration",
|
|
1106
|
-
"Book Appointment",
|
|
1107
|
-
"Diagnostic Tests",
|
|
1108
|
-
"Hospital Facility",
|
|
1109
|
-
"Others, Prescriptions"
|
|
1110
|
-
],
|
|
1104
|
+
labels: props.labels,
|
|
1111
1105
|
datasets: [
|
|
1112
1106
|
{
|
|
1113
1107
|
label: "Bot Conversation",
|
|
1114
|
-
data:
|
|
1108
|
+
data: props.data,
|
|
1115
1109
|
backgroundColor: [
|
|
1116
1110
|
"#FFCB8A",
|
|
1117
1111
|
"#CADBBF",
|
|
@@ -1495,11 +1489,6 @@ var BarChart = (props) => {
|
|
|
1495
1489
|
scales: {
|
|
1496
1490
|
x: {
|
|
1497
1491
|
beginAtZero: true,
|
|
1498
|
-
ticks: {
|
|
1499
|
-
callback: function(value) {
|
|
1500
|
-
return `${value}`;
|
|
1501
|
-
}
|
|
1502
|
-
},
|
|
1503
1492
|
grid: {
|
|
1504
1493
|
display: false
|
|
1505
1494
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1041,17 +1041,11 @@ import {
|
|
|
1041
1041
|
ChartJS.register(DoughnutController, ArcElement, Tooltip, Legend);
|
|
1042
1042
|
var CircleDonut = (props) => {
|
|
1043
1043
|
const data = {
|
|
1044
|
-
labels:
|
|
1045
|
-
"Registration",
|
|
1046
|
-
"Book Appointment",
|
|
1047
|
-
"Diagnostic Tests",
|
|
1048
|
-
"Hospital Facility",
|
|
1049
|
-
"Others, Prescriptions"
|
|
1050
|
-
],
|
|
1044
|
+
labels: props.labels,
|
|
1051
1045
|
datasets: [
|
|
1052
1046
|
{
|
|
1053
1047
|
label: "Bot Conversation",
|
|
1054
|
-
data:
|
|
1048
|
+
data: props.data,
|
|
1055
1049
|
backgroundColor: [
|
|
1056
1050
|
"#FFCB8A",
|
|
1057
1051
|
"#CADBBF",
|
|
@@ -1453,11 +1447,6 @@ var BarChart = (props) => {
|
|
|
1453
1447
|
scales: {
|
|
1454
1448
|
x: {
|
|
1455
1449
|
beginAtZero: true,
|
|
1456
|
-
ticks: {
|
|
1457
|
-
callback: function(value) {
|
|
1458
|
-
return `${value}`;
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
1450
|
grid: {
|
|
1462
1451
|
display: false
|
|
1463
1452
|
}
|