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.js
CHANGED
@@ -1459,9 +1459,7 @@ var TabsEditHeader = /*#__PURE__*/function (_React$Component) {
|
|
1459
1459
|
|
1460
1460
|
return /*#__PURE__*/React__default.createElement("div", {
|
1461
1461
|
className: classNames$1(style$h.tabs_edit_header, this.props.className)
|
1462
|
-
}, /*#__PURE__*/React__default.createElement("div", null, this.props.children), /*#__PURE__*/React__default.createElement("div", {
|
1463
|
-
cl: true
|
1464
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
1462
|
+
}, /*#__PURE__*/React__default.createElement("div", null, this.props.children), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", {
|
1465
1463
|
className: "cursor-pointer",
|
1466
1464
|
style: {
|
1467
1465
|
backgroundColor: 'var(--secondary-color)',
|
@@ -2250,6 +2248,7 @@ var PieChart = /*#__PURE__*/function (_React$Component) {
|
|
2250
2248
|
var dataValue = {
|
2251
2249
|
labels: [],
|
2252
2250
|
datasets: [{
|
2251
|
+
percentage: [],
|
2253
2252
|
data: [],
|
2254
2253
|
backgroundColor: [],
|
2255
2254
|
hoverBackgroundColor: []
|
@@ -2258,6 +2257,7 @@ var PieChart = /*#__PURE__*/function (_React$Component) {
|
|
2258
2257
|
|
2259
2258
|
for (var i = 0; i < nbValue; i++) {
|
2260
2259
|
dataValue.datasets[0].datalabels = this.props.datalabels2 ? this.props.datalabels2[i] : null;
|
2260
|
+
dataValue.datasets[0].percentage.push(this.props.data[i].percentage);
|
2261
2261
|
dataValue.datasets[0].data.push(this.props.data[i].data);
|
2262
2262
|
dataValue.datasets[0].backgroundColor.push(this.props.data[i].color);
|
2263
2263
|
dataValue.datasets[0].hoverBackgroundColor.push(this.props.data[i].color + '80');
|