ui-kit-ck-consultant 0.5.170 → 0.5.173
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -1456,9 +1456,7 @@ var TabsEditHeader = /*#__PURE__*/function (_React$Component) {
|
|
1456
1456
|
|
1457
1457
|
return /*#__PURE__*/React.createElement("div", {
|
1458
1458
|
className: classNames$1(style$h.tabs_edit_header, this.props.className)
|
1459
|
-
}, /*#__PURE__*/React.createElement("div", null, this.props.children), /*#__PURE__*/React.createElement("div", {
|
1460
|
-
cl: true
|
1461
|
-
}, /*#__PURE__*/React.createElement("div", {
|
1459
|
+
}, /*#__PURE__*/React.createElement("div", null, this.props.children), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
1462
1460
|
className: "cursor-pointer",
|
1463
1461
|
style: {
|
1464
1462
|
backgroundColor: 'var(--secondary-color)',
|
@@ -2247,6 +2245,7 @@ var PieChart = /*#__PURE__*/function (_React$Component) {
|
|
2247
2245
|
var dataValue = {
|
2248
2246
|
labels: [],
|
2249
2247
|
datasets: [{
|
2248
|
+
percentage: [],
|
2250
2249
|
data: [],
|
2251
2250
|
backgroundColor: [],
|
2252
2251
|
hoverBackgroundColor: []
|
@@ -2255,6 +2254,7 @@ var PieChart = /*#__PURE__*/function (_React$Component) {
|
|
2255
2254
|
|
2256
2255
|
for (var i = 0; i < nbValue; i++) {
|
2257
2256
|
dataValue.datasets[0].datalabels = this.props.datalabels2 ? this.props.datalabels2[i] : null;
|
2257
|
+
dataValue.datasets[0].percentage.push(this.props.data[i].percentage);
|
2258
2258
|
dataValue.datasets[0].data.push(this.props.data[i].data);
|
2259
2259
|
dataValue.datasets[0].backgroundColor.push(this.props.data[i].color);
|
2260
2260
|
dataValue.datasets[0].hoverBackgroundColor.push(this.props.data[i].color + '80');
|