@apexcura/ui-components 0.0.14-Beta113 → 0.0.14-Beta115
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 +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +0 -60
- package/dist/index.mjs +0 -59
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -120,6 +120,4 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
|
120
120
|
|
|
121
121
|
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, DonutGraph, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
|
123
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
package/dist/index.d.ts
CHANGED
|
@@ -120,6 +120,4 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
|
120
120
|
|
|
121
121
|
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, DonutGraph, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
|
123
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,6 @@ __export(src_exports, {
|
|
|
36
36
|
CkEditor: () => CkEditor,
|
|
37
37
|
DatePickerElement: () => DatePickerElement,
|
|
38
38
|
DateRangePickerElement: () => DateRangePickerElement,
|
|
39
|
-
DonutGraph: () => DonutGraph_default,
|
|
40
39
|
DropDownGroup: () => DropDownGroup,
|
|
41
40
|
FileUpload: () => FileUpload,
|
|
42
41
|
Image: () => Image,
|
|
@@ -1088,64 +1087,6 @@ var OtpElement = (props) => {
|
|
|
1088
1087
|
}
|
|
1089
1088
|
)));
|
|
1090
1089
|
};
|
|
1091
|
-
|
|
1092
|
-
// src/Components/DonutGraph.tsx
|
|
1093
|
-
var import_react31 = __toESM(require("react"));
|
|
1094
|
-
var import_highcharts = __toESM(require("highcharts"));
|
|
1095
|
-
var import_highcharts_react_official = __toESM(require("highcharts-react-official"));
|
|
1096
|
-
var DonutGraph = () => {
|
|
1097
|
-
const data = [
|
|
1098
|
-
{ platform: "Facebook", engagementRate: 15, conversionRate: 5 },
|
|
1099
|
-
{ platform: "WhatsApp", engagementRate: 20, conversionRate: 4 },
|
|
1100
|
-
{ platform: "Instagram", engagementRate: 18, conversionRate: 6 },
|
|
1101
|
-
{ platform: "LinkedIn", engagementRate: 12, conversionRate: 3 }
|
|
1102
|
-
];
|
|
1103
|
-
const seriesData = [
|
|
1104
|
-
{
|
|
1105
|
-
name: "Engagement Rate (%)",
|
|
1106
|
-
data: data.map((item) => [item.platform, item.engagementRate]),
|
|
1107
|
-
color: "#7cb5ec",
|
|
1108
|
-
type: "column"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
name: "Conversion Rate (%)",
|
|
1112
|
-
data: data.map((item) => [item.platform, item.conversionRate]),
|
|
1113
|
-
color: "#434348",
|
|
1114
|
-
type: "column"
|
|
1115
|
-
}
|
|
1116
|
-
];
|
|
1117
|
-
const options = {
|
|
1118
|
-
chart: {
|
|
1119
|
-
type: "column"
|
|
1120
|
-
},
|
|
1121
|
-
title: {
|
|
1122
|
-
text: "Engagement Rate and Conversion Rate Across Platforms"
|
|
1123
|
-
},
|
|
1124
|
-
xAxis: {
|
|
1125
|
-
type: "category",
|
|
1126
|
-
title: {
|
|
1127
|
-
text: "Platform"
|
|
1128
|
-
}
|
|
1129
|
-
},
|
|
1130
|
-
yAxis: {
|
|
1131
|
-
title: {
|
|
1132
|
-
text: "Rate (%)"
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
series: seriesData
|
|
1136
|
-
};
|
|
1137
|
-
if (!import_highcharts_react_official.default || Object.keys(import_highcharts_react_official.default).length === 0) {
|
|
1138
|
-
return /* @__PURE__ */ import_react31.default.createElement("div", null, "Error: HighchartsReact is not loaded properly.");
|
|
1139
|
-
}
|
|
1140
|
-
return /* @__PURE__ */ import_react31.default.createElement("div", null, /* @__PURE__ */ import_react31.default.createElement(
|
|
1141
|
-
import_highcharts_react_official.default,
|
|
1142
|
-
{
|
|
1143
|
-
highcharts: import_highcharts.default,
|
|
1144
|
-
options
|
|
1145
|
-
}
|
|
1146
|
-
));
|
|
1147
|
-
};
|
|
1148
|
-
var DonutGraph_default = DonutGraph;
|
|
1149
1090
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1150
1091
|
0 && (module.exports = {
|
|
1151
1092
|
AddMoreTable,
|
|
@@ -1154,7 +1095,6 @@ var DonutGraph_default = DonutGraph;
|
|
|
1154
1095
|
CkEditor,
|
|
1155
1096
|
DatePickerElement,
|
|
1156
1097
|
DateRangePickerElement,
|
|
1157
|
-
DonutGraph,
|
|
1158
1098
|
DropDownGroup,
|
|
1159
1099
|
FileUpload,
|
|
1160
1100
|
Image,
|
package/dist/index.mjs
CHANGED
|
@@ -1027,64 +1027,6 @@ var OtpElement = (props) => {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
)));
|
|
1029
1029
|
};
|
|
1030
|
-
|
|
1031
|
-
// src/Components/DonutGraph.tsx
|
|
1032
|
-
import React31 from "react";
|
|
1033
|
-
import Highcharts from "highcharts";
|
|
1034
|
-
import HighchartsReact from "highcharts-react-official";
|
|
1035
|
-
var DonutGraph = () => {
|
|
1036
|
-
const data = [
|
|
1037
|
-
{ platform: "Facebook", engagementRate: 15, conversionRate: 5 },
|
|
1038
|
-
{ platform: "WhatsApp", engagementRate: 20, conversionRate: 4 },
|
|
1039
|
-
{ platform: "Instagram", engagementRate: 18, conversionRate: 6 },
|
|
1040
|
-
{ platform: "LinkedIn", engagementRate: 12, conversionRate: 3 }
|
|
1041
|
-
];
|
|
1042
|
-
const seriesData = [
|
|
1043
|
-
{
|
|
1044
|
-
name: "Engagement Rate (%)",
|
|
1045
|
-
data: data.map((item) => [item.platform, item.engagementRate]),
|
|
1046
|
-
color: "#7cb5ec",
|
|
1047
|
-
type: "column"
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
name: "Conversion Rate (%)",
|
|
1051
|
-
data: data.map((item) => [item.platform, item.conversionRate]),
|
|
1052
|
-
color: "#434348",
|
|
1053
|
-
type: "column"
|
|
1054
|
-
}
|
|
1055
|
-
];
|
|
1056
|
-
const options = {
|
|
1057
|
-
chart: {
|
|
1058
|
-
type: "column"
|
|
1059
|
-
},
|
|
1060
|
-
title: {
|
|
1061
|
-
text: "Engagement Rate and Conversion Rate Across Platforms"
|
|
1062
|
-
},
|
|
1063
|
-
xAxis: {
|
|
1064
|
-
type: "category",
|
|
1065
|
-
title: {
|
|
1066
|
-
text: "Platform"
|
|
1067
|
-
}
|
|
1068
|
-
},
|
|
1069
|
-
yAxis: {
|
|
1070
|
-
title: {
|
|
1071
|
-
text: "Rate (%)"
|
|
1072
|
-
}
|
|
1073
|
-
},
|
|
1074
|
-
series: seriesData
|
|
1075
|
-
};
|
|
1076
|
-
if (!HighchartsReact || Object.keys(HighchartsReact).length === 0) {
|
|
1077
|
-
return /* @__PURE__ */ React31.createElement("div", null, "Error: HighchartsReact is not loaded properly.");
|
|
1078
|
-
}
|
|
1079
|
-
return /* @__PURE__ */ React31.createElement("div", null, /* @__PURE__ */ React31.createElement(
|
|
1080
|
-
HighchartsReact,
|
|
1081
|
-
{
|
|
1082
|
-
highcharts: Highcharts,
|
|
1083
|
-
options
|
|
1084
|
-
}
|
|
1085
|
-
));
|
|
1086
|
-
};
|
|
1087
|
-
var DonutGraph_default = DonutGraph;
|
|
1088
1030
|
export {
|
|
1089
1031
|
AddMoreTable,
|
|
1090
1032
|
ButtonElement,
|
|
@@ -1092,7 +1034,6 @@ export {
|
|
|
1092
1034
|
CkEditor,
|
|
1093
1035
|
DatePickerElement,
|
|
1094
1036
|
DateRangePickerElement,
|
|
1095
|
-
DonutGraph_default as DonutGraph,
|
|
1096
1037
|
DropDownGroup,
|
|
1097
1038
|
FileUpload,
|
|
1098
1039
|
Image,
|