@ck-ui/component-library 1.0.2 → 1.0.3

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.
@@ -0,0 +1 @@
1
+ ._ckds-finops-charts_191hp_1._sankey_191hp_1 .fc__tooltip.fusioncharts-div div{border-radius:var(--ckds-border-radius-sm, 6px);box-shadow:var(--ckcl-elevation-2, 0px 4px 12px 0px rgba(0, 79, 206, .1215686275));border:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1);background-color:var(--ckcl-white, #FFFFFF);padding:var(--ckcl-spacing-sm, 8px) var(--ckcl-spacing-ms, 12px);color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-medium, 500)}._ckds-finops-charts_191hp_1._sankey_191hp_1 .fc__tooltip.fusioncharts-div div span{margin-top:var(--ckcl-spacing-none, 0px);margin-right:var(--ckcl-spacing-xs, 4px);margin-left:var(--ckcl-spacing-xs, 4px);position:relative}._ckds-finops-charts_191hp_1._sankey_191hp_1 .fc__tooltip.fusioncharts-div div span:nth-child(2){margin-left:var(--ckcl-spacing-xs, 4px)}._ckds-finops-charts_191hp_1._sankey_191hp_1 .fc__tooltip.fusioncharts-div div span:nth-child(2):before{content:"";background-repeat:no-repeat;position:absolute;left:-var(--ckcl-spacing-2md,18px);color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-xl, 24px);height:var(--ckcl-spacing-sm, 8px);width:var(--ckcl-spacing-sm, 14px);top:50%;transform:translateY(-50%)}._ckds-finops-charts_191hp_1._scrollArea_191hp_32 .fc__tooltip.fusioncharts-div div[class*=color-],._ckds-finops-charts_191hp_1._stackedArea_191hp_32 .fc__tooltip.fusioncharts-div div[class*=color-],._ckds-finops-charts_191hp_1._msCombiDy2d_191hp_32 .fc__tooltip.fusioncharts-div div[class*=color-]{display:none!important}._ckds-finops-charts_191hp_1._scrollArea_191hp_32 .fc__tooltip.fusioncharts-div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_191hp_1._stackedArea_191hp_32 .fc__tooltip.fusioncharts-div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_191hp_1._msCombiDy2d_191hp_32 .fc__tooltip.fusioncharts-div>div>div:first-child:not(:last-child)[style*=inline-block]{display:none!important}._ckds-finops-charts_191hp_1._scrollArea_191hp_32 .fc__tooltip.fusioncharts-div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_191hp_1._stackedArea_191hp_32 .fc__tooltip.fusioncharts-div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_191hp_1._msCombiDy2d_191hp_32 .fc__tooltip.fusioncharts-div>div>div>div:first-child:not(:last-child)[style*=inline-block]{display:none!important}._ckds-finops-charts_191hp_1._scrollArea_191hp_32 .fc__tooltip.fusioncharts-div>div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_191hp_1._stackedArea_191hp_32 .fc__tooltip.fusioncharts-div>div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_191hp_1._msCombiDy2d_191hp_32 .fc__tooltip.fusioncharts-div>div>div>div>div:first-child:not(:last-child)[style*=inline-block]{display:none!important}._ckds-finops-charts_191hp_1._scrollArea_191hp_32 .fc__tooltip.fusioncharts-div>div:last-child{align-items:end}._ckds-finops-charts_191hp_1._scrollArea_191hp_32 .fc__tooltip.fusioncharts-div>div>div:first-child:not(:last-child)[style*=inline-block]{display:unset!important}._ckds-finops-charts_191hp_1._stackedcolumn2d_191hp_50 .fc__tooltip.fusioncharts-div,._ckds-finops-charts_191hp_1._scrollStackedColumn2d_191hp_50 .fc__tooltip.fusioncharts-div{white-space:normal!important;padding:10px 12px!important}._ckds-finops-charts_191hp_1._stackedcolumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:last-child>div:first-of-type,._ckds-finops-charts_191hp_1._scrollStackedColumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:last-child>div:first-of-type{vertical-align:top;padding-top:4px}._ckds-finops-charts_191hp_1._stackedcolumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:only-child>div:first-of-type,._ckds-finops-charts_191hp_1._scrollStackedColumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:only-child>div:first-of-type{vertical-align:unset;transform:translateY(-28px)}._ckds-finops-charts_191hp_1._stackedcolumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:not(:last-child) .stacked-tooltip-total,._ckds-finops-charts_191hp_1._scrollStackedColumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:not(:last-child) .stacked-tooltip-total{display:none!important}._ckds-finops-charts_191hp_1._stackedcolumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:first-child div:nth-child(2)>div:first-child,._ckds-finops-charts_191hp_1._scrollStackedColumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div:first-child div:nth-child(2)>div:first-child{overflow-wrap:break-word}._ckds-finops-charts_191hp_1._stackedcolumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div>div[style*=margin] span[style*=background-color],._ckds-finops-charts_191hp_1._scrollStackedColumn2d_191hp_50 .fc__tooltip.fusioncharts-div>div>div[style*=margin] span[style*=background-color]{width:var(--ckcl-spacing-sm, 8px)!important;height:var(--ckcl-spacing-sm, 8px)!important;border-radius:var(--ckds-border-radius-2xs, 2px)!important;display:inline-block!important;flex-shrink:0}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div{border-radius:var(--ckds-border-radius-md, 8px)!important;box-shadow:var(--ckcl-elevation-2, 0px 4px 12px 0px rgba(0, 79, 206, .1215686275))!important;border:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1)!important;background-color:var(--ckcl-white, #FFFFFF)!important;padding:var(--ckcl-spacing-ms, 12px) var(--ckcl-spacing-sm, 8px)!important;color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-regular, 400);min-width:200px!important;max-width:320px!important;overflow:hidden}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:first-child{display:flex;align-items:end}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:first-child>div:nth-child(2){width:100%}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:last-child{display:flex;align-items:start}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:last-child>div:nth-child(2){width:100%}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:not(:first-child):not(:last-child){display:flex;align-items:center}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:first-child>div:first-child{vertical-align:bottom;padding-bottom:4px}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:not(:first-child):not(:last-child)>div:nth-child(2){width:100%}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div>div:first-child{width:9px;height:8px;border-radius:2px;background-color:currentColor;overflow:hidden;margin-right:5px}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:first-child>div:first-child{margin-bottom:5px}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:not(:first-child):not(:last-child)>div:first-child{margin-top:1px}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div:last-child>div:first-child{margin-top:7px}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div div,._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div span,._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div b{border:initial;border-width:initial;border-style:initial;vertical-align:baseline;margin:initial;padding:initial;box-sizing:border-box}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div>div{width:100%}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div .headingCont{width:100%;padding:var(--ckcl-spacing-xs, 4px) var(--ckcl-spacing-none, 0px);padding-bottom:var(--ckcl-spacing-sm, 8px);background-color:var(--ckcl-white, #FFFFFF);display:block;text-align:left;color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-sm, 14px);font-weight:var(--ckcl-font-weight-semibold, 600);border-bottom:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1);margin-bottom:var(--ckcl-spacing-xs, 4px)}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div .tooltipItem{display:flex;align-items:center;justify-content:space-between;font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-regular, 400);color:var(--ckcl-black-400, #737373);padding:var(--ckcl-spacing-xs, 4px) var(--ckcl-spacing-none, 0px)}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div .tooltipItem>span{display:flex;align-items:center;gap:var(--ckcl-spacing-xs, 4px)}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div .tooltipItem>b{font-weight:var(--ckcl-font-weight-bold, 700);color:var(--ckcl-black-500, #2B2B2B);white-space:nowrap}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div .colorSquare{height:var(--ckcl-spacing-sm, 8px);width:var(--ckcl-spacing-sm, 8px);border-radius:var(--ckds-border-radius-2xs, 2px);display:inline-block;flex-shrink:0}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div .tooltipListCont{padding:var(--ckcl-spacing-xs, 4px) var(--ckcl-spacing-none, 0px)}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div table{border-collapse:collapse;width:100%;min-width:200px}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div tr:first-child td{font-size:var(--ckcl-fs-sm, 14px);font-weight:var(--ckcl-font-weight-semibold, 600);color:var(--ckcl-black-500, #2B2B2B);padding:var(--ckcl-spacing-sm, 8px) var(--ckcl-spacing-ms, 12px);padding-top:var(--ckcl-spacing-xs, 4px);border-bottom:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1)}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div tr:not(:first-child) td{padding:var(--ckcl-spacing-sm, 8px) var(--ckcl-spacing-ms, 12px);font-size:var(--ckcl-fs-xs, 12px);color:var(--ckcl-black-400, #737373);font-weight:var(--ckcl-font-weight-regular, 400);white-space:nowrap}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div tr:not(:first-child) td>span[style*=background-color]{display:none!important}._ckds-finops-charts_191hp_1 .fc__tooltip.fusioncharts-div tr:not(:first-child) td:last-child{text-align:right;font-weight:var(--ckcl-font-weight-bold, 700);color:var(--ckcl-black-500, #2B2B2B);padding-left:var(--ckcl-spacing-xl, 28px)}._fusion_chart_wrapper_191hp_216{width:100%}._doughnut-legend_191hp_220{display:flex;justify-content:center;align-items:center;gap:var(--ckcl-spacing-md, 16px);padding:var(--ckcl-spacing-sm, 8px) 0;flex-wrap:wrap}._doughnut-legend-item_191hp_229{display:flex;align-items:center;gap:var(--ckcl-spacing-xs, 4px);background:none;border:none;padding:0;margin:0;cursor:pointer;font-family:inherit;transition:opacity .2s ease}._doughnut-legend-item--hidden_191hp_241{opacity:.5}._doughnut-legend-icon_191hp_245{width:var(--ckcl-spacing-ms, 12px);height:var(--ckcl-spacing-ms, 12px);border-radius:var(--ckds-border-radius-xs, 4px);display:inline-block;flex-shrink:0}._doughnut-legend-text_191hp_253{font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-regular, 400);color:var(--ckcl-black-400, #737373);white-space:nowrap}
@@ -1 +1 @@
1
- {"version":3,"file":"builders.d.ts","sourceRoot":"","sources":["../../../../lib/components/FusionChart/_config/builders.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AA+3BpE,eAAO,MAAM,gBAAgB,GAAI,QAAO,OAAO,CAAC,gBAAgB,CAAM;;;;;;;QACD,CAAC"}
1
+ {"version":3,"file":"builders.d.ts","sourceRoot":"","sources":["../../../../lib/components/FusionChart/_config/builders.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAu4BpE,eAAO,MAAM,gBAAgB,GAAI,QAAO,OAAO,CAAC,gBAAgB,CAAM;;;;;;;QACD,CAAC"}
@@ -1,18 +1,18 @@
1
- import { EXTENDED_PALETTE as $, DEFAULT_WIDTH as g, STACKED_AREA_PALETTE as H } from "../_constant/constants.js";
1
+ import { EXTENDED_PALETTE as p, DEFAULT_WIDTH as g, STACKED_AREA_PALETTE as H } from "../_constant/constants.js";
2
2
  import { getBaseConfig as h, getStackedColumnChartShell as F, getStackedAreaChartShell as R, getStackedBarChartShell as O, getLineChartShell as j, getCommonChartShell as P, getScrollAreaChartShell as V, getMultipleLineChartShell as W, getMsCombiDy2dChartShell as Y, getGroupChartShell as _, getDoughnutChartShell as G } from "./helpers.js";
3
- import { getCurrencyPrefix as u, getLabelStep as f, getCartesianPalette as L, getCurrencySymbol as E, getGraphDataLength as U, getBarType as K } from "../_utils/chartHelpers.js";
3
+ import { getCurrencyPrefix as y, getLabelStep as w, getCartesianPalette as L, getCurrencySymbol as E, getGraphDataLength as U, getBarType as K } from "../_utils/chartHelpers.js";
4
4
  const M = (e = {}) => {
5
5
  const t = e.plotSpacePercent ?? (e.plotSpacePercent === 0 ? e.plotSpacePercent : 60), a = Array.isArray(e.graphData) ? e.graphData : [], s = a.some((o) => !!o.color), l = L(e?.palettecolors)?.split(",")?.map((o) => o?.trim()), n = a?.map((o, c) => {
6
6
  const x = o?.color || l[c % l.length];
7
7
  return {
8
8
  ...o,
9
9
  color: x,
10
- toolText: e.plotToolText || `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>${o.label || ""}</div><div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0;min-width:180px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>${o.label || ""}</label><b style='text-align:right;'>${u(e.numberPrefix)}${o.value || ""}</b></div>`
10
+ toolText: e.plotToolText || `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>${o.label || ""}</div><div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0;min-width:180px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>${o.label || ""}</label><b style='text-align:right;'>${y(e.numberPrefix)}${o.value || ""}</b></div>`
11
11
  };
12
12
  }), i = {
13
13
  ...P(e),
14
14
  bgColor: e.bgColor || "#ffffff",
15
- labelStep: f(U(e), e.labelStep),
15
+ labelStep: w(U(e), e.labelStep),
16
16
  xAxisName: e.xAxisName,
17
17
  yAxisName: e.yAxisName,
18
18
  chartBottomMargin: e.chartBottomMargin,
@@ -23,7 +23,7 @@ const M = (e = {}) => {
23
23
  showValues: e.showValues || "0",
24
24
  showLabels: e.showLabels || "1",
25
25
  skipOverlapLabels: "0",
26
- numberPrefix: u(e.numberPrefix),
26
+ numberPrefix: y(e.numberPrefix),
27
27
  // When per-item colors are set, don't use palettecolors (it overrides item colors)
28
28
  palettecolors: s ? void 0 : L(e.palettecolors),
29
29
  maxLabelHeight: e.maxLabelHeight,
@@ -54,7 +54,7 @@ const M = (e = {}) => {
54
54
  data: e.graphData || []
55
55
  }
56
56
  }), q = (e = {}) => {
57
- const t = Array.isArray(e?.graphData) ? e.graphData : [], a = u(e?.numberPrefix), s = t?.map((l) => ({
57
+ const t = Array.isArray(e?.graphData) ? e.graphData : [], a = y(e?.numberPrefix), s = t?.map((l) => ({
58
58
  ...l,
59
59
  toolText: e?.plotToolText || `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:4px;border-bottom:1px solid #eee;margin-bottom:4px'>${l?.label || ""}</div><div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 0;min-width:200px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>${l?.label || ""}</label><b style='text-align:right;'>${a}${l?.value || ""}</b></div>`
60
60
  }));
@@ -67,7 +67,7 @@ const M = (e = {}) => {
67
67
  ...j(e),
68
68
  xAxisName: e?.xAxisName,
69
69
  yAxisName: e?.yAxisName,
70
- labelStep: f(t.length, void 0),
70
+ labelStep: w(t.length, void 0),
71
71
  ...e?.chartConfig || {}
72
72
  },
73
73
  data: s.length > 0 ? s : e?.graphData || []
@@ -95,7 +95,7 @@ const M = (e = {}) => {
95
95
  showLegend: "0",
96
96
  legendIconSides: e.legendIconSides,
97
97
  numberPrefix: t,
98
- labelStep: f(a?.category?.length, e.labelStep),
98
+ labelStep: w(a?.category?.length, e.labelStep),
99
99
  ...s ? { palettecolors: void 0 } : {}
100
100
  },
101
101
  categories: [{ category: a?.category || [] }],
@@ -103,7 +103,7 @@ const M = (e = {}) => {
103
103
  }
104
104
  });
105
105
  }, Q = (e = {}) => {
106
- const t = e.graphLabel ? "" : u(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).some((i) => !!i.color), l = "<div class='stacked-tooltip-total' style='display:flex;justify-content:space-between;align-items:center;padding:8px 0 0;margin-top:4px;border-top:1px solid #eee;min-width:180px'><span style='color:#2B2B2B;font-weight:600'>Total</span><b style='color:#2B2B2B'>$sum</b></div>", n = (a?.dataset || []).map((i, r) => ({
106
+ const t = e.graphLabel ? "" : y(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).some((i) => !!i.color), l = "<div class='stacked-tooltip-total' style='display:flex;justify-content:space-between;align-items:center;padding:8px 0 0;margin-top:4px;border-top:1px solid #eee;min-width:180px'><span style='color:#2B2B2B;font-weight:600'>Total</span><b style='color:#2B2B2B'>$sum</b></div>", n = (a?.dataset || []).map((i, r) => ({
107
107
  ...i,
108
108
  plotToolText: e.plotToolText || (r === 0 ? "<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>$label</div><div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0;min-width:180px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>$seriesName</label><b style='text-align:right;'>$dataValue</b></div>" + l : "<div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0;min-width:180px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>$seriesName</label><b style='text-align:right;'>$dataValue</b></div>" + l)
109
109
  }));
@@ -123,9 +123,9 @@ const M = (e = {}) => {
123
123
  interactiveLegend: e.interactiveLegend || "1",
124
124
  drawCrossLine: e.drawCrossLine || "1",
125
125
  bgColor: e.bgColor || "#ffffff",
126
- palettecolors: s ? void 0 : e.palettecolors || $,
126
+ palettecolors: s ? void 0 : e.palettecolors || p,
127
127
  numberPrefix: t,
128
- labelStep: f(a?.category?.length, e.labelStep),
128
+ labelStep: w(a?.category?.length, e.labelStep),
129
129
  showSum: e.showSum ? "1" : void 0
130
130
  },
131
131
  categories: [
@@ -135,7 +135,7 @@ const M = (e = {}) => {
135
135
  }
136
136
  });
137
137
  }, Z = (e = {}) => {
138
- const t = e.graphLabel ? "" : u(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).map((l, n) => ({
138
+ const t = e.graphLabel ? "" : y(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).map((l, n) => ({
139
139
  ...l,
140
140
  drawCustomLegendIcon: "1",
141
141
  legendIconSides: "4",
@@ -158,7 +158,7 @@ const M = (e = {}) => {
158
158
  legendPosition: e.legendRight ? void 0 : e.legendPosition,
159
159
  numberPrefix: t,
160
160
  chartLeftMargin: e.chartLeftMargin || "20",
161
- labelStep: f(a?.category?.length, e.labelStep),
161
+ labelStep: w(a?.category?.length, e.labelStep),
162
162
  showValues: e.showValues === "1" ? "1" : "0"
163
163
  },
164
164
  categories: [{ category: a?.category || [] }],
@@ -166,8 +166,8 @@ const M = (e = {}) => {
166
166
  }
167
167
  });
168
168
  }, ee = (e = {}) => {
169
- const t = e.graphLabel ? "" : u(e.numberPrefix), a = e.graphData, l = (e.palettecolors || H).split(",").map((d) => d.trim()), n = a?.category || [], i = a?.dataset || [], r = i.map((d, o) => {
170
- const x = d.color || l[o % l.length], y = d.data || [];
169
+ const t = e.graphLabel ? "" : y(e.numberPrefix), a = e.graphData, l = (e.palettecolors || H).split(",").map((d) => d.trim()), n = a?.category || [], i = a?.dataset || [], r = i.map((d, o) => {
170
+ const x = d.color || l[o % l.length], u = d.data || [];
171
171
  return {
172
172
  ...d,
173
173
  color: x,
@@ -178,8 +178,8 @@ const M = (e = {}) => {
178
178
  anchorBorderColor: x,
179
179
  showPlotBorder: "1",
180
180
  ...e.plotToolText ? { plotToolText: e.plotToolText } : {},
181
- data: y.map((b, m) => {
182
- const T = n[m]?.label || "";
181
+ data: u.map((b, m) => {
182
+ const C = n[m]?.label || "";
183
183
  if (e.plotToolText)
184
184
  return { ...b, alpha: "60" };
185
185
  if (o > 0)
@@ -188,14 +188,14 @@ const M = (e = {}) => {
188
188
  alpha: "60",
189
189
  toolText: " "
190
190
  };
191
- const w = i.map((C, v) => {
192
- const S = C.color || l[v % l.length], A = (C.data || [])[m]?.value ?? "", B = C.seriesname || "", N = v === o ? "#2B2B2B" : "#666";
193
- return `<div style='display:flex;justify-content:space-between;align-items:center;padding:2px 0;min-width:200px'><span style='display:flex;align-items:center;gap:6px;color:${N}'><span style='width:10px;height:10px;border-radius:2px;background-color:${S};display:inline-block'></span>${B}</span><b style='color:${N}'>${t}${A}</b></div>`;
191
+ const f = i.map((T, v) => {
192
+ const A = T.color || l[v % l.length], B = (T.data || [])[m]?.value ?? "", S = T.seriesname || "", N = v === o ? "#2B2B2B" : "#666";
193
+ return `<div style='display:flex;justify-content:space-between;align-items:center;padding:2px 0;min-width:200px'><span style='display:flex;align-items:center;gap:6px;color:${N}'><span style='width:10px;height:10px;border-radius:2px;background-color:${A};display:inline-block'></span>${S}</span><b style='color:${N}'>${t}${B}</b></div>`;
194
194
  }).join("");
195
195
  return {
196
196
  ...b,
197
197
  alpha: "60",
198
- toolText: `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:4px;border-bottom:1px solid #eee;margin-bottom:4px'>${T}</div>${w}`
198
+ toolText: `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:4px;border-bottom:1px solid #eee;margin-bottom:4px'>${C}</div>${f}`
199
199
  };
200
200
  })
201
201
  };
@@ -217,38 +217,38 @@ const M = (e = {}) => {
217
217
  drawCrossLine: "1",
218
218
  crossLineColor: "#f2f5fa",
219
219
  numberPrefix: t,
220
- labelStep: f(a?.category?.length, e.labelStep)
220
+ labelStep: w(a?.category?.length, e.labelStep)
221
221
  },
222
222
  categories: [{ category: a?.category || [] }],
223
223
  dataset: r
224
224
  }
225
225
  });
226
226
  }, te = (e = {}) => {
227
- const t = u(e.numberPrefix), s = (e?.palettecolors || "#8ECFFF").split(",").map((c) => c.trim()), l = s[0];
227
+ const t = y(e.numberPrefix), s = (e?.palettecolors || "#8ECFFF").split(",").map((c) => c.trim()), l = s[0];
228
228
  if (!Array.isArray(e?.graphData) && e?.graphData?.dataset) {
229
- const c = e.graphData, x = c?.category || [], y = c?.dataset || [], b = y.map((m, T) => {
230
- const w = m.color || s[T % s.length], C = m.data || [];
229
+ const c = e.graphData, x = c?.category || [], u = c?.dataset || [], b = u.map((m, C) => {
230
+ const f = m.color || s[C % s.length], T = m.data || [];
231
231
  return {
232
232
  ...m,
233
- color: w,
233
+ color: f,
234
234
  anchorRadius: "3",
235
235
  anchorBgColor: "#FFFFFF",
236
- anchorBorderColor: w,
236
+ anchorBorderColor: f,
237
237
  anchorBorderThickness: "1",
238
238
  ...e.plotToolText ? { plotToolText: e.plotToolText } : {},
239
- data: C.map((v, S) => {
240
- const D = x[S]?.label || "";
239
+ data: T.map((v, A) => {
240
+ const $ = x[A]?.label || "";
241
241
  if (e.plotToolText)
242
242
  return { ...v };
243
- if (T > 0)
243
+ if (C > 0)
244
244
  return { ...v, toolText: " " };
245
- const A = y.map((B, p) => {
246
- const I = (B.data || [])[S]?.value ?? "", z = B.seriesname || "", k = p === T ? "#2B2B2B" : "#666";
245
+ const B = u.map((S, D) => {
246
+ const I = (S.data || [])[A]?.value ?? "", z = S.seriesname || "", k = D === C ? "#2B2B2B" : "#666";
247
247
  return `<div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 0;min-width:200px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:${k}'>${z}</label><b style='text-align:right;color:${k}'>${t}${I}</b></div>`;
248
248
  }).join("");
249
249
  return {
250
250
  ...v,
251
- toolText: `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:4px;border-bottom:1px solid #eee;margin-bottom:4px'>${D}</div>${A}`
251
+ toolText: `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:4px;border-bottom:1px solid #eee;margin-bottom:4px'>${$}</div>${B}`
252
252
  };
253
253
  })
254
254
  };
@@ -354,13 +354,13 @@ const M = (e = {}) => {
354
354
  const [o] = i.defaultCenterLabel.split("{br}");
355
355
  i.defaultCenterLabel = `${o}{br}${n}${l}`;
356
356
  }
357
- const r = (e.palettecolors || $).split(",").map((o) => o.trim()), d = a.map((o, c) => {
358
- const x = Number(o.value) || 0, y = l > 0 ? (x / l * 100).toFixed(2) : "0", b = o.color || r[c % r.length];
357
+ const r = (e.palettecolors || p).split(",").map((o) => o.trim()), d = a.map((o, c) => {
358
+ const x = Number(o.value) || 0, u = l > 0 ? (x / l * 100).toFixed(2) : "0", b = o.color || r[c % r.length];
359
359
  let m;
360
- return e.plotToolText ? m = e.plotToolText.replace(/\$plotFillColor/g, b).replace(/\$color/g, b).replace(/\$label/g, o.label || "").replace(/\$value/g, String(o.value ?? "")).replace(/\$dataValue/g, `${n}${x}`).replace(/\$percentValue/g, y).replace(/\$unformattedSum/g, String(l)).replace(/\$sum/g, `${n}${l}`) : m = `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>${o.label}</div><div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 0;min-width:200px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'><span style='width:8px;height:8px;border-radius:2px;background-color:${b};display:inline-block;margin-right:5px'></span>${o.label}</label><b style='text-align:right;'>${n}${x}</b></div>`, {
360
+ return e.plotToolText ? m = e.plotToolText.replace(/\$plotFillColor/g, b).replace(/\$color/g, b).replace(/\$label/g, o.label || "").replace(/\$value/g, String(o.value ?? "")).replace(/\$dataValue/g, `${n}${x}`).replace(/\$percentValue/g, u).replace(/\$unformattedSum/g, String(l)).replace(/\$sum/g, `${n}${l}`) : m = `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>${o.label}</div><div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 0;min-width:200px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'><span style='width:8px;height:8px;border-radius:2px;background-color:${b};display:inline-block;margin-right:5px'></span>${o.label}</label><b style='text-align:right;'>${n}${x}</b></div>`, {
361
361
  ...o,
362
362
  color: b,
363
- displayValue: `${n}${o.value} (${y}%){br}${o.label}`,
363
+ displayValue: `${n}${o.value} (${u}%){br}${o.label}`,
364
364
  toolText: m
365
365
  };
366
366
  });
@@ -415,7 +415,7 @@ const M = (e = {}) => {
415
415
  data: r.data || []
416
416
  }));
417
417
  }
418
- const s = u(e.numberPrefix), l = a.some((i) => !!i.color), n = {
418
+ const s = y(e.numberPrefix), l = a.some((i) => !!i.color), n = {
419
419
  ...P(e),
420
420
  bgColor: e.bgColor || "#ffffff",
421
421
  xAxisName: e.xAxisName,
@@ -434,7 +434,7 @@ const M = (e = {}) => {
434
434
  palettecolors: l ? void 0 : L(e.palettecolors),
435
435
  maxLabelHeight: e.maxLabelHeight,
436
436
  numbersuffix: e.numbersuffix || "",
437
- labelStep: f(t.length, e.labelStep),
437
+ labelStep: w(t.length, e.labelStep),
438
438
  numVisiblePlot: e.numVisiblePlot || "8",
439
439
  scrollShowButtons: "0",
440
440
  scrollColor: "#CCCCCC",
@@ -454,7 +454,7 @@ const M = (e = {}) => {
454
454
  }
455
455
  });
456
456
  }, re = (e = {}) => {
457
- const t = e.graphLabel ? "" : u(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).some((i) => !!i.color), l = "<div class='stacked-tooltip-total' style='display:flex;justify-content:space-between;align-items:center;padding:8px 0 0;margin-top:4px;border-top:1px solid #eee;min-width:180px'><span style='color:#2B2B2B;font-weight:600'>Total</span><b style='color:#2B2B2B'>$sum</b></div>", n = (a?.dataset || []).map((i, r) => ({
457
+ const t = e.graphLabel ? "" : y(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).some((i) => !!i.color), l = "<div class='stacked-tooltip-total' style='display:flex;justify-content:space-between;align-items:center;padding:8px 0 0;margin-top:4px;border-top:1px solid #eee;min-width:180px'><span style='color:#2B2B2B;font-weight:600'>Total</span><b style='color:#2B2B2B'>$sum</b></div>", n = (a?.dataset || []).map((i, r) => ({
458
458
  ...i,
459
459
  plotToolText: e.plotToolText || (r === 0 ? "<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>$label</div><div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0;min-width:180px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>$seriesName</label><b style='text-align:right;'>$dataValue</b></div>" + l : "<div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0;min-width:180px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>$seriesName</label><b style='text-align:right;'>$dataValue</b></div>" + l)
460
460
  }));
@@ -474,10 +474,10 @@ const M = (e = {}) => {
474
474
  interactiveLegend: e.interactiveLegend || "1",
475
475
  drawCrossLine: e.drawCrossLine || "1",
476
476
  bgColor: e.bgColor || "#ffffff",
477
- palettecolors: s ? void 0 : e.palettecolors || $,
477
+ palettecolors: s ? void 0 : e.palettecolors || p,
478
478
  numberPrefix: t,
479
479
  numVDivLines: e.numVDivLines || "5",
480
- labelStep: f(a?.category?.length, e.labelStep),
480
+ labelStep: w(a?.category?.length, e.labelStep),
481
481
  showSum: e.showSum ? "1" : void 0,
482
482
  numVisiblePlot: e.numVisiblePlot || "6",
483
483
  scrollShowButtons: "0",
@@ -491,23 +491,25 @@ const M = (e = {}) => {
491
491
  }
492
492
  });
493
493
  }, de = (e = {}) => {
494
- const t = e.graphLabel ? "" : u(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).some((d) => !!d.color), l = (e.palettecolors || $).split(",").map((d) => d.trim()), n = a?.category || [], i = a?.dataset || [], r = i.map((d, o) => {
494
+ const t = e.graphLabel ? "" : y(e.numberPrefix), a = e.graphData, s = (a?.dataset || []).some((d) => !!d.color), l = (e.palettecolors || p).split(",").map((d) => d.trim()), n = a?.category || [], i = a?.dataset || [], r = i.map((d, o) => {
495
495
  const c = d.color || l[o % l.length], x = d.data || [];
496
496
  return {
497
497
  ...d,
498
498
  color: c,
499
499
  ...e.plotToolText ? { plotToolText: e.plotToolText } : {},
500
- data: x.map((y, b) => {
500
+ data: x.map((u, b) => {
501
501
  const m = n[b]?.label || "";
502
502
  if (e.plotToolText)
503
- return { ...y };
504
- const T = i.map((w, C) => {
505
- const v = w.color || l[C % l.length], D = (w.data || [])[b]?.value ?? "", A = w.seriesname || "", p = C === o ? "#2B2B2B" : "#666";
506
- return `<div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 0;min-width:200px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:${p}'><span style='width:8px;height:8px;border-radius:2px;background-color:${v};display:inline-block;margin-right:5px;'></span>${A}</label><b style='text-align:right;color:${p}'>${t}${D}</b></div>`;
503
+ return { ...u };
504
+ if (o > 0)
505
+ return { ...u, toolText: " " };
506
+ const C = i.map((f, T) => {
507
+ const v = f.color || l[T % l.length], $ = (f.data || [])[b]?.value ?? "", B = f.seriesname || "", S = "#2B2B2B", D = f.tooltipPrefix !== void 0 ? f.tooltipPrefix : t;
508
+ return `<div style='display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 0;min-width:200px'><label style='display:inline-block;width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:${S}'><span style='width:8px;height:8px;border-radius:2px;background-color:${v};display:inline-block;margin-right:5px;'></span>${B}</label><b style='text-align:right;color:${S}'>${D}${$}</b></div>`;
507
509
  }).join("");
508
510
  return {
509
- ...y,
510
- toolText: `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>${m}</div>${T}`
511
+ ...u,
512
+ toolText: `<div style='font-size:14px;font-weight:600;color:#2B2B2B;padding-bottom:8px;border-bottom:1px solid #eee;margin-bottom:8px'>${m}</div>${C}`
511
513
  };
512
514
  })
513
515
  };
@@ -526,15 +528,15 @@ const M = (e = {}) => {
526
528
  pYAxisName: e.pYAxisName,
527
529
  sYAxisName: e.sYAxisName,
528
530
  numberPrefix: t,
529
- labelStep: f(n.length, e.labelStep),
530
- palettecolors: s ? void 0 : e.palettecolors || $
531
+ labelStep: w(n.length, e.labelStep),
532
+ palettecolors: s ? void 0 : e.palettecolors || p
531
533
  },
532
534
  categories: [{ category: n }],
533
535
  dataset: r
534
536
  }
535
537
  });
536
538
  }, ce = (e = {}) => {
537
- const t = e.graphLabel ? "" : u(e.numberPrefix), a = e.graphData, s = a?.category || [], l = a?.dataset || [];
539
+ const t = e.graphLabel ? "" : y(e.numberPrefix), a = e.graphData, s = a?.category || [], l = a?.dataset || [];
538
540
  return h({
539
541
  type: "scrollline2d",
540
542
  width: e?.width || g,
@@ -555,7 +557,7 @@ const M = (e = {}) => {
555
557
  flatScrollBars: "1",
556
558
  scrollPadding: "5",
557
559
  numDivLines: "5",
558
- labelStep: f(s.length, e?.labelStep),
560
+ labelStep: w(s.length, e?.labelStep),
559
561
  ...e?.plotToolText ? { plotToolText: e.plotToolText } : {},
560
562
  ...e?.chartConfig || {}
561
563
  },
@@ -1,4 +1,4 @@
1
- import { LEGEND_HOVER_FONT_COLOR as C, LEGEND_FONT_COLOR as m, DEFAULT_WIDTH as F, LABEL_FONT_COLOR as o, AXIS_NAME_FONT_COLOR as l, AXIS_LINE_COLOR as L, LABEL_STEP_DEFAULT as d, DEFAULT_PALETTE as g, PERCENT_TOOLTIP as f, VALUE_TOOLTIP as A, SERIES_TOOLTIP as b, EXTENDED_PALETTE as a, DIV_LINE_COLOR as c, CROSS_LINE_COLOR as S } from "../_constant/constants.js";
1
+ import { LEGEND_HOVER_FONT_COLOR as C, LEGEND_FONT_COLOR as m, DEFAULT_WIDTH as g, LABEL_FONT_COLOR as o, AXIS_NAME_FONT_COLOR as l, AXIS_LINE_COLOR as L, LABEL_STEP_DEFAULT as d, DEFAULT_PALETTE as F, PERCENT_TOOLTIP as f, VALUE_TOOLTIP as A, SERIES_TOOLTIP as b, EXTENDED_PALETTE as a, DIV_LINE_COLOR as c, CROSS_LINE_COLOR as S } from "../_constant/constants.js";
2
2
  import { getCurrencySymbol as i } from "../_utils/chartHelpers.js";
3
3
  const s = (e = {}) => ({
4
4
  legendItemFontSize: 10,
@@ -17,7 +17,7 @@ const s = (e = {}) => ({
17
17
  legendCaptionFontColor: "#000000"
18
18
  } : e, T = ({
19
19
  type: e,
20
- width: t = F,
20
+ width: t = g,
21
21
  height: h,
22
22
  dataSource: u,
23
23
  key: x
@@ -62,7 +62,7 @@ const s = (e = {}) => ({
62
62
  plotSpacePercent: h,
63
63
  decimals: u,
64
64
  crossLineColor: "#f2f5fa",
65
- palettecolors: g,
65
+ palettecolors: F,
66
66
  tooltipPosition: "top"
67
67
  }), I = (e = {}) => r(
68
68
  {
@@ -425,7 +425,7 @@ const s = (e = {}) => ({
425
425
  showLabels: e.showLabels || "1",
426
426
  showValues: "1",
427
427
  palettecolors: e.palettecolors || a,
428
- enableSlicing: "0",
428
+ enableSlicing: e?.enableSlicing ?? "1",
429
429
  showPlotBorder: "1",
430
430
  plotBorderThickness: "3",
431
431
  plotBorderColor: "#ffffff",
@@ -7,6 +7,7 @@ export interface GraphDataDataset {
7
7
  color?: string;
8
8
  renderAs?: string;
9
9
  parentYAxis?: string;
10
+ tooltipPrefix?: string;
10
11
  data?: Array<{
11
12
  value?: number | string;
12
13
  }>;
@@ -126,5 +127,6 @@ export interface FusionChartProps {
126
127
  numVisiblePlot?: string;
127
128
  pYAxisName?: string;
128
129
  sYAxisName?: string;
130
+ enableSlicing?: string;
129
131
  }
130
132
  //# sourceMappingURL=fusionChart.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fusionChart.types.d.ts","sourceRoot":"","sources":["../../../../lib/components/FusionChart/_types/fusionChart.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,OAAO,GACP,UAAU,GACV,eAAe,GACf,YAAY,GACZ,MAAM,GACN,aAAa,GACb,oBAAoB,GACpB,eAAe,GACf,mBAAmB,GACnB,QAAQ,GACR,YAAY,GACZ,gBAAgB,GAChB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,aAAa,GACb,iBAAiB,CAAC;AAEtB,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC;QAAE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B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"fusionChart.types.d.ts","sourceRoot":"","sources":["../../../../lib/components/FusionChart/_types/fusionChart.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,OAAO,GACP,UAAU,GACV,eAAe,GACf,YAAY,GACZ,MAAM,GACN,aAAa,GACb,oBAAoB,GACpB,eAAe,GACf,mBAAmB,GACnB,QAAQ,GACR,YAAY,GACZ,gBAAgB,GAChB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,aAAa,GACb,iBAAiB,CAAC;AAEtB,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,C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EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -5,17 +5,17 @@ import { buildChartConfig as Xe } from "./_config/builders.js";
5
5
  import { getOnRender as ze, getChartEvents as Ze } from "./_config/events.js";
6
6
  import { EXTENDED_PALETTE as ee, STACKED_AREA_PALETTE as Ne } from "./_constant/constants.js";
7
7
  import { mergeClasses as xe } from "../../utils/mergeClasses.js";
8
- import '../../assets/index-B3yBTtVQ.css';var ae = {}, ie = {}, F = {}, ye;
8
+ import '../../assets/index-CDtSVOTj.css';var ae = {}, ie = {}, F = {}, pe;
9
9
  function Ye() {
10
- return ye || (ye = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.default = "ffffffff-ffff-ffff-ffff-ffffffffffff"), F;
10
+ return pe || (pe = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.default = "ffffffff-ffff-ffff-ffff-ffffffffffff"), F;
11
11
  }
12
12
  var N = {}, me;
13
13
  function Be() {
14
14
  return me || (me = 1, Object.defineProperty(N, "__esModule", { value: !0 }), N.default = "00000000-0000-0000-0000-000000000000"), N;
15
15
  }
16
- var x = {}, H = {}, W = {}, pe;
16
+ var x = {}, H = {}, W = {}, ye;
17
17
  function et() {
18
- return pe || (pe = 1, Object.defineProperty(W, "__esModule", { value: !0 }), W.default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i), W;
18
+ return ye || (ye = 1, Object.defineProperty(W, "__esModule", { value: !0 }), W.default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i), W;
19
19
  }
20
20
  var _e;
21
21
  function re() {
@@ -80,39 +80,39 @@ function He() {
80
80
  if (Se) return q;
81
81
  Se = 1, Object.defineProperty(q, "__esModule", { value: !0 }), q.updateV1State = void 0;
82
82
  const r = ce(), l = P(), v = {};
83
- function g(a, p, u) {
83
+ function g(a, y, u) {
84
84
  let f;
85
- const y = a?._v6 ?? !1;
85
+ const p = a?._v6 ?? !1;
86
86
  if (a) {
87
87
  const O = Object.keys(a);
88
88
  O.length === 1 && O[0] === "_v6" && (a = void 0);
89
89
  }
90
90
  if (a)
91
- f = i(a.random ?? a.rng?.() ?? (0, r.default)(), a.msecs, a.nsecs, a.clockseq, a.node, p, u);
91
+ f = i(a.random ?? a.rng?.() ?? (0, r.default)(), a.msecs, a.nsecs, a.clockseq, a.node, y, u);
92
92
  else {
93
93
  const O = Date.now(), t = (0, r.default)();
94
- e(v, O, t), f = i(t, v.msecs, v.nsecs, y ? void 0 : v.clockseq, y ? void 0 : v.node, p, u);
94
+ e(v, O, t), f = i(t, v.msecs, v.nsecs, p ? void 0 : v.clockseq, p ? void 0 : v.node, y, u);
95
95
  }
96
- return p ?? (0, l.unsafeStringify)(f);
96
+ return y ?? (0, l.unsafeStringify)(f);
97
97
  }
98
- function e(a, p, u) {
99
- return a.msecs ??= -1 / 0, a.nsecs ??= 0, p === a.msecs ? (a.nsecs++, a.nsecs >= 1e4 && (a.node = void 0, a.nsecs = 0)) : p > a.msecs ? a.nsecs = 0 : p < a.msecs && (a.node = void 0), a.node || (a.node = u.slice(10, 16), a.node[0] |= 1, a.clockseq = (u[8] << 8 | u[9]) & 16383), a.msecs = p, a;
98
+ function e(a, y, u) {
99
+ return a.msecs ??= -1 / 0, a.nsecs ??= 0, y === a.msecs ? (a.nsecs++, a.nsecs >= 1e4 && (a.node = void 0, a.nsecs = 0)) : y > a.msecs ? a.nsecs = 0 : y < a.msecs && (a.node = void 0), a.node || (a.node = u.slice(10, 16), a.node[0] |= 1, a.clockseq = (u[8] << 8 | u[9]) & 16383), a.msecs = y, a;
100
100
  }
101
101
  q.updateV1State = e;
102
- function i(a, p, u, f, y, O, t = 0) {
102
+ function i(a, y, u, f, p, O, t = 0) {
103
103
  if (a.length < 16)
104
104
  throw new Error("Random bytes length must be >= 16");
105
105
  if (!O)
106
106
  O = new Uint8Array(16), t = 0;
107
107
  else if (t < 0 || t + 16 > O.length)
108
108
  throw new RangeError(`UUID byte range ${t}:${t + 15} is out of buffer bounds`);
109
- p ??= Date.now(), u ??= 0, f ??= (a[8] << 8 | a[9]) & 16383, y ??= a.slice(10, 16), p += 122192928e5;
110
- const S = ((p & 268435455) * 1e4 + u) % 4294967296;
109
+ y ??= Date.now(), u ??= 0, f ??= (a[8] << 8 | a[9]) & 16383, p ??= a.slice(10, 16), y += 122192928e5;
110
+ const S = ((y & 268435455) * 1e4 + u) % 4294967296;
111
111
  O[t++] = S >>> 24 & 255, O[t++] = S >>> 16 & 255, O[t++] = S >>> 8 & 255, O[t++] = S & 255;
112
- const A = p / 4294967296 * 1e4 & 268435455;
112
+ const A = y / 4294967296 * 1e4 & 268435455;
113
113
  O[t++] = A >>> 8 & 255, O[t++] = A & 255, O[t++] = A >>> 24 & 15 | 16, O[t++] = A >>> 16 & 255, O[t++] = f >>> 8 | 128, O[t++] = f & 255;
114
114
  for (let s = 0; s < 6; ++s)
115
- O[t++] = y[s];
115
+ O[t++] = p[s];
116
116
  return O;
117
117
  }
118
118
  return q.default = g, q;
@@ -155,7 +155,7 @@ function tt() {
155
155
  let s = 1732584193, o = -271733879, n = -1732584194, c = 271733878;
156
156
  for (let m = 0; m < t.length; m += 16) {
157
157
  const I = s, _ = o, b = n, w = c;
158
- s = u(s, o, n, c, t[m], 7, -680876936), c = u(c, s, o, n, t[m + 1], 12, -389564586), n = u(n, c, s, o, t[m + 2], 17, 606105819), o = u(o, n, c, s, t[m + 3], 22, -1044525330), s = u(s, o, n, c, t[m + 4], 7, -176418897), c = u(c, s, o, n, t[m + 5], 12, 1200080426), n = u(n, c, s, o, t[m + 6], 17, -1473231341), o = u(o, n, c, s, t[m + 7], 22, -45705983), s = u(s, o, n, c, t[m + 8], 7, 1770035416), c = u(c, s, o, n, t[m + 9], 12, -1958414417), n = u(n, c, s, o, t[m + 10], 17, -42063), o = u(o, n, c, s, t[m + 11], 22, -1990404162), s = u(s, o, n, c, t[m + 12], 7, 1804603682), c = u(c, s, o, n, t[m + 13], 12, -40341101), n = u(n, c, s, o, t[m + 14], 17, -1502002290), o = u(o, n, c, s, t[m + 15], 22, 1236535329), s = f(s, o, n, c, t[m + 1], 5, -165796510), c = f(c, s, o, n, t[m + 6], 9, -1069501632), n = f(n, c, s, o, t[m + 11], 14, 643717713), o = f(o, n, c, s, t[m], 20, -373897302), s = f(s, o, n, c, t[m + 5], 5, -701558691), c = f(c, s, o, n, t[m + 10], 9, 38016083), n = f(n, c, s, o, t[m + 15], 14, -660478335), o = f(o, n, c, s, t[m + 4], 20, -405537848), s = f(s, o, n, c, t[m + 9], 5, 568446438), c = f(c, s, o, n, t[m + 14], 9, -1019803690), n = f(n, c, s, o, t[m + 3], 14, -187363961), o = f(o, n, c, s, t[m + 8], 20, 1163531501), s = f(s, o, n, c, t[m + 13], 5, -1444681467), c = f(c, s, o, n, t[m + 2], 9, -51403784), n = f(n, c, s, o, t[m + 7], 14, 1735328473), o = f(o, n, c, s, t[m + 12], 20, -1926607734), s = y(s, o, n, c, t[m + 5], 4, -378558), c = y(c, s, o, n, t[m + 8], 11, -2022574463), n = y(n, c, s, o, t[m + 11], 16, 1839030562), o = y(o, n, c, s, t[m + 14], 23, -35309556), s = y(s, o, n, c, t[m + 1], 4, -1530992060), c = y(c, s, o, n, t[m + 4], 11, 1272893353), n = y(n, c, s, o, t[m + 7], 16, -155497632), o = y(o, n, c, s, t[m + 10], 23, -1094730640), s = y(s, o, n, c, t[m + 13], 4, 681279174), c = y(c, s, o, n, t[m], 11, -358537222), n = y(n, c, s, o, t[m + 3], 16, -722521979), o = y(o, n, c, s, t[m + 6], 23, 76029189), s = y(s, o, n, c, t[m + 9], 4, -640364487), c = y(c, s, o, n, t[m + 12], 11, -421815835), n = y(n, c, s, o, t[m + 15], 16, 530742520), o = y(o, n, c, s, t[m + 2], 23, -995338651), s = O(s, o, n, c, t[m], 6, -198630844), c = O(c, s, o, n, t[m + 7], 10, 1126891415), n = O(n, c, s, o, t[m + 14], 15, -1416354905), o = O(o, n, c, s, t[m + 5], 21, -57434055), s = O(s, o, n, c, t[m + 12], 6, 1700485571), c = O(c, s, o, n, t[m + 3], 10, -1894986606), n = O(n, c, s, o, t[m + 10], 15, -1051523), o = O(o, n, c, s, t[m + 1], 21, -2054922799), s = O(s, o, n, c, t[m + 8], 6, 1873313359), c = O(c, s, o, n, t[m + 15], 10, -30611744), n = O(n, c, s, o, t[m + 6], 15, -1560198380), o = O(o, n, c, s, t[m + 13], 21, 1309151649), s = O(s, o, n, c, t[m + 4], 6, -145523070), c = O(c, s, o, n, t[m + 11], 10, -1120210379), n = O(n, c, s, o, t[m + 2], 15, 718787259), o = O(o, n, c, s, t[m + 9], 21, -343485551), s = i(s, I), o = i(o, _), n = i(n, b), c = i(c, w);
158
+ s = u(s, o, n, c, t[m], 7, -680876936), c = u(c, s, o, n, t[m + 1], 12, -389564586), n = u(n, c, s, o, t[m + 2], 17, 606105819), o = u(o, n, c, s, t[m + 3], 22, -1044525330), s = u(s, o, n, c, t[m + 4], 7, -176418897), c = u(c, s, o, n, t[m + 5], 12, 1200080426), n = u(n, c, s, o, t[m + 6], 17, -1473231341), o = u(o, n, c, s, t[m + 7], 22, -45705983), s = u(s, o, n, c, t[m + 8], 7, 1770035416), c = u(c, s, o, n, t[m + 9], 12, -1958414417), n = u(n, c, s, o, t[m + 10], 17, -42063), o = u(o, n, c, s, t[m + 11], 22, -1990404162), s = u(s, o, n, c, t[m + 12], 7, 1804603682), c = u(c, s, o, n, t[m + 13], 12, -40341101), n = u(n, c, s, o, t[m + 14], 17, -1502002290), o = u(o, n, c, s, t[m + 15], 22, 1236535329), s = f(s, o, n, c, t[m + 1], 5, -165796510), c = f(c, s, o, n, t[m + 6], 9, -1069501632), n = f(n, c, s, o, t[m + 11], 14, 643717713), o = f(o, n, c, s, t[m], 20, -373897302), s = f(s, o, n, c, t[m + 5], 5, -701558691), c = f(c, s, o, n, t[m + 10], 9, 38016083), n = f(n, c, s, o, t[m + 15], 14, -660478335), o = f(o, n, c, s, t[m + 4], 20, -405537848), s = f(s, o, n, c, t[m + 9], 5, 568446438), c = f(c, s, o, n, t[m + 14], 9, -1019803690), n = f(n, c, s, o, t[m + 3], 14, -187363961), o = f(o, n, c, s, t[m + 8], 20, 1163531501), s = f(s, o, n, c, t[m + 13], 5, -1444681467), c = f(c, s, o, n, t[m + 2], 9, -51403784), n = f(n, c, s, o, t[m + 7], 14, 1735328473), o = f(o, n, c, s, t[m + 12], 20, -1926607734), s = p(s, o, n, c, t[m + 5], 4, -378558), c = p(c, s, o, n, t[m + 8], 11, -2022574463), n = p(n, c, s, o, t[m + 11], 16, 1839030562), o = p(o, n, c, s, t[m + 14], 23, -35309556), s = p(s, o, n, c, t[m + 1], 4, -1530992060), c = p(c, s, o, n, t[m + 4], 11, 1272893353), n = p(n, c, s, o, t[m + 7], 16, -155497632), o = p(o, n, c, s, t[m + 10], 23, -1094730640), s = p(s, o, n, c, t[m + 13], 4, 681279174), c = p(c, s, o, n, t[m], 11, -358537222), n = p(n, c, s, o, t[m + 3], 16, -722521979), o = p(o, n, c, s, t[m + 6], 23, 76029189), s = p(s, o, n, c, t[m + 9], 4, -640364487), c = p(c, s, o, n, t[m + 12], 11, -421815835), n = p(n, c, s, o, t[m + 15], 16, 530742520), o = p(o, n, c, s, t[m + 2], 23, -995338651), s = O(s, o, n, c, t[m], 6, -198630844), c = O(c, s, o, n, t[m + 7], 10, 1126891415), n = O(n, c, s, o, t[m + 14], 15, -1416354905), o = O(o, n, c, s, t[m + 5], 21, -57434055), s = O(s, o, n, c, t[m + 12], 6, 1700485571), c = O(c, s, o, n, t[m + 3], 10, -1894986606), n = O(n, c, s, o, t[m + 10], 15, -1051523), o = O(o, n, c, s, t[m + 1], 21, -2054922799), s = O(s, o, n, c, t[m + 8], 6, 1873313359), c = O(c, s, o, n, t[m + 15], 10, -30611744), n = O(n, c, s, o, t[m + 6], 15, -1560198380), o = O(o, n, c, s, t[m + 13], 21, 1309151649), s = O(s, o, n, c, t[m + 4], 6, -145523070), c = O(c, s, o, n, t[m + 11], 10, -1120210379), n = O(n, c, s, o, t[m + 2], 15, 718787259), o = O(o, n, c, s, t[m + 9], 21, -343485551), s = i(s, I), o = i(o, _), n = i(n, b), c = i(c, w);
159
159
  }
160
160
  return Uint32Array.of(s, o, n, c);
161
161
  }
@@ -174,20 +174,20 @@ function tt() {
174
174
  function a(t, S) {
175
175
  return t << S | t >>> 32 - S;
176
176
  }
177
- function p(t, S, A, s, o, n) {
177
+ function y(t, S, A, s, o, n) {
178
178
  return i(a(i(i(S, t), i(s, n)), o), A);
179
179
  }
180
180
  function u(t, S, A, s, o, n, c) {
181
- return p(S & A | ~S & s, t, S, o, n, c);
181
+ return y(S & A | ~S & s, t, S, o, n, c);
182
182
  }
183
183
  function f(t, S, A, s, o, n, c) {
184
- return p(S & s | A & ~s, t, S, o, n, c);
184
+ return y(S & s | A & ~s, t, S, o, n, c);
185
185
  }
186
- function y(t, S, A, s, o, n, c) {
187
- return p(S ^ A ^ s, t, S, o, n, c);
186
+ function p(t, S, A, s, o, n, c) {
187
+ return y(S ^ A ^ s, t, S, o, n, c);
188
188
  }
189
189
  function O(t, S, A, s, o, n, c) {
190
- return p(A ^ (S | ~s), t, S, o, n, c);
190
+ return y(A ^ (S | ~s), t, S, o, n, c);
191
191
  }
192
192
  return Q.default = r, Q;
193
193
  }
@@ -204,12 +204,12 @@ function te() {
204
204
  return i;
205
205
  }
206
206
  E.stringToBytes = v, E.DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", E.URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
207
- function g(e, i, a, p, u, f) {
208
- const y = typeof a == "string" ? v(a) : a, O = typeof p == "string" ? (0, r.default)(p) : p;
209
- if (typeof p == "string" && (p = (0, r.default)(p)), p?.length !== 16)
207
+ function g(e, i, a, y, u, f) {
208
+ const p = typeof a == "string" ? v(a) : a, O = typeof y == "string" ? (0, r.default)(y) : y;
209
+ if (typeof y == "string" && (y = (0, r.default)(y)), y?.length !== 16)
210
210
  throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
211
- let t = new Uint8Array(16 + y.length);
212
- if (t.set(O), t.set(y, O.length), t = i(t), t[6] = t[6] & 15 | e, t[8] = t[8] & 63 | 128, u) {
211
+ let t = new Uint8Array(16 + p.length);
212
+ if (t.set(O), t.set(p, O.length), t = i(t), t[6] = t[6] & 15 | e, t[8] = t[8] & 63 | 128, u) {
213
213
  if (f = f || 0, f < 0 || f + 16 > u.length)
214
214
  throw new RangeError(`UUID byte range ${f}:${f + 15} is out of buffer bounds`);
215
215
  for (let S = 0; S < 16; ++S)
@@ -231,8 +231,8 @@ function rt() {
231
231
  } }), Object.defineProperty(r, "URL", { enumerable: !0, get: function() {
232
232
  return g.URL;
233
233
  } });
234
- function e(i, a, p, u) {
235
- return (0, v.default)(48, l.default, i, a, p, u);
234
+ function e(i, a, y, u) {
235
+ return (0, v.default)(48, l.default, i, a, y, u);
236
236
  }
237
237
  e.DNS = v.DNS, e.URL = v.URL, r.default = e;
238
238
  }(oe)), oe;
@@ -253,17 +253,17 @@ function at() {
253
253
  if (r.default.randomUUID && !i && !e)
254
254
  return r.default.randomUUID();
255
255
  e = e || {};
256
- const p = e.random ?? e.rng?.() ?? (0, l.default)();
257
- if (p.length < 16)
256
+ const y = e.random ?? e.rng?.() ?? (0, l.default)();
257
+ if (y.length < 16)
258
258
  throw new Error("Random bytes length must be >= 16");
259
- if (p[6] = p[6] & 15 | 64, p[8] = p[8] & 63 | 128, i) {
259
+ if (y[6] = y[6] & 15 | 64, y[8] = y[8] & 63 | 128, i) {
260
260
  if (a = a || 0, a < 0 || a + 16 > i.length)
261
261
  throw new RangeError(`UUID byte range ${a}:${a + 15} is out of buffer bounds`);
262
262
  for (let u = 0; u < 16; ++u)
263
- i[a + u] = p[u];
263
+ i[a + u] = y[u];
264
264
  return i;
265
265
  }
266
- return (0, v.unsafeStringify)(p);
266
+ return (0, v.unsafeStringify)(y);
267
267
  }
268
268
  return G.default = g, G;
269
269
  }
@@ -289,18 +289,18 @@ function it() {
289
289
  function v(g) {
290
290
  const e = [1518500249, 1859775393, 2400959708, 3395469782], i = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], a = new Uint8Array(g.length + 1);
291
291
  a.set(g), a[g.length] = 128, g = a;
292
- const p = g.length / 4 + 2, u = Math.ceil(p / 16), f = new Array(u);
293
- for (let y = 0; y < u; ++y) {
292
+ const y = g.length / 4 + 2, u = Math.ceil(y / 16), f = new Array(u);
293
+ for (let p = 0; p < u; ++p) {
294
294
  const O = new Uint32Array(16);
295
295
  for (let t = 0; t < 16; ++t)
296
- O[t] = g[y * 64 + t * 4] << 24 | g[y * 64 + t * 4 + 1] << 16 | g[y * 64 + t * 4 + 2] << 8 | g[y * 64 + t * 4 + 3];
297
- f[y] = O;
296
+ O[t] = g[p * 64 + t * 4] << 24 | g[p * 64 + t * 4 + 1] << 16 | g[p * 64 + t * 4 + 2] << 8 | g[p * 64 + t * 4 + 3];
297
+ f[p] = O;
298
298
  }
299
299
  f[u - 1][14] = (g.length - 1) * 8 / Math.pow(2, 32), f[u - 1][14] = Math.floor(f[u - 1][14]), f[u - 1][15] = (g.length - 1) * 8 & 4294967295;
300
- for (let y = 0; y < u; ++y) {
300
+ for (let p = 0; p < u; ++p) {
301
301
  const O = new Uint32Array(80);
302
302
  for (let n = 0; n < 16; ++n)
303
- O[n] = f[y][n];
303
+ O[n] = f[p][n];
304
304
  for (let n = 16; n < 80; ++n)
305
305
  O[n] = l(O[n - 3] ^ O[n - 8] ^ O[n - 14] ^ O[n - 16], 1);
306
306
  let t = i[0], S = i[1], A = i[2], s = i[3], o = i[4];
@@ -325,8 +325,8 @@ function ot() {
325
325
  } }), Object.defineProperty(r, "URL", { enumerable: !0, get: function() {
326
326
  return g.URL;
327
327
  } });
328
- function e(i, a, p, u) {
329
- return (0, v.default)(80, l.default, i, a, p, u);
328
+ function e(i, a, y, u) {
329
+ return (0, v.default)(80, l.default, i, a, y, u);
330
330
  }
331
331
  e.DNS = v.DNS, e.URL = v.URL, r.default = e;
332
332
  }(ue)), ue;
@@ -338,15 +338,15 @@ function ut() {
338
338
  const r = P(), l = He(), v = We();
339
339
  function g(e, i, a) {
340
340
  e ??= {}, a ??= 0;
341
- let p = (0, l.default)({ ...e, _v6: !0 }, new Uint8Array(16));
342
- if (p = (0, v.default)(p), i) {
341
+ let y = (0, l.default)({ ...e, _v6: !0 }, new Uint8Array(16));
342
+ if (y = (0, v.default)(y), i) {
343
343
  if (a < 0 || a + 16 > i.length)
344
344
  throw new RangeError(`UUID byte range ${a}:${a + 15} is out of buffer bounds`);
345
345
  for (let u = 0; u < 16; u++)
346
- i[a + u] = p[u];
346
+ i[a + u] = y[u];
347
347
  return i;
348
348
  }
349
- return (0, r.unsafeStringify)(p);
349
+ return (0, r.unsafeStringify)(y);
350
350
  }
351
351
  return Z.default = g, Z;
352
352
  }
@@ -370,28 +370,28 @@ function ct() {
370
370
  if (Te) return V;
371
371
  Te = 1, Object.defineProperty(V, "__esModule", { value: !0 }), V.updateV7State = void 0;
372
372
  const r = ce(), l = P(), v = {};
373
- function g(a, p, u) {
373
+ function g(a, y, u) {
374
374
  let f;
375
375
  if (a)
376
- f = i(a.random ?? a.rng?.() ?? (0, r.default)(), a.msecs, a.seq, p, u);
376
+ f = i(a.random ?? a.rng?.() ?? (0, r.default)(), a.msecs, a.seq, y, u);
377
377
  else {
378
- const y = Date.now(), O = (0, r.default)();
379
- e(v, y, O), f = i(O, v.msecs, v.seq, p, u);
378
+ const p = Date.now(), O = (0, r.default)();
379
+ e(v, p, O), f = i(O, v.msecs, v.seq, y, u);
380
380
  }
381
- return p ?? (0, l.unsafeStringify)(f);
381
+ return y ?? (0, l.unsafeStringify)(f);
382
382
  }
383
- function e(a, p, u) {
384
- return a.msecs ??= -1 / 0, a.seq ??= 0, p > a.msecs ? (a.seq = u[6] << 23 | u[7] << 16 | u[8] << 8 | u[9], a.msecs = p) : (a.seq = a.seq + 1 | 0, a.seq === 0 && a.msecs++), a;
383
+ function e(a, y, u) {
384
+ return a.msecs ??= -1 / 0, a.seq ??= 0, y > a.msecs ? (a.seq = u[6] << 23 | u[7] << 16 | u[8] << 8 | u[9], a.msecs = y) : (a.seq = a.seq + 1 | 0, a.seq === 0 && a.msecs++), a;
385
385
  }
386
386
  V.updateV7State = e;
387
- function i(a, p, u, f, y = 0) {
387
+ function i(a, y, u, f, p = 0) {
388
388
  if (a.length < 16)
389
389
  throw new Error("Random bytes length must be >= 16");
390
390
  if (!f)
391
- f = new Uint8Array(16), y = 0;
392
- else if (y < 0 || y + 16 > f.length)
393
- throw new RangeError(`UUID byte range ${y}:${y + 15} is out of buffer bounds`);
394
- return p ??= Date.now(), u ??= a[6] * 127 << 24 | a[7] << 16 | a[8] << 8 | a[9], f[y++] = p / 1099511627776 & 255, f[y++] = p / 4294967296 & 255, f[y++] = p / 16777216 & 255, f[y++] = p / 65536 & 255, f[y++] = p / 256 & 255, f[y++] = p & 255, f[y++] = 112 | u >>> 28 & 15, f[y++] = u >>> 20 & 255, f[y++] = 128 | u >>> 14 & 63, f[y++] = u >>> 6 & 255, f[y++] = u << 2 & 255 | a[10] & 3, f[y++] = a[11], f[y++] = a[12], f[y++] = a[13], f[y++] = a[14], f[y++] = a[15], f;
391
+ f = new Uint8Array(16), p = 0;
392
+ else if (p < 0 || p + 16 > f.length)
393
+ throw new RangeError(`UUID byte range ${p}:${p + 15} is out of buffer bounds`);
394
+ return y ??= Date.now(), u ??= a[6] * 127 << 24 | a[7] << 16 | a[8] << 8 | a[9], f[p++] = y / 1099511627776 & 255, f[p++] = y / 4294967296 & 255, f[p++] = y / 16777216 & 255, f[p++] = y / 65536 & 255, f[p++] = y / 256 & 255, f[p++] = y & 255, f[p++] = 112 | u >>> 28 & 15, f[p++] = u >>> 20 & 255, f[p++] = 128 | u >>> 14 & 63, f[p++] = u >>> 6 & 255, f[p++] = u << 2 & 255 | a[10] & 3, f[p++] = a[11], f[p++] = a[12], f[p++] = a[13], f[p++] = a[14], f[p++] = a[15], f;
395
395
  }
396
396
  return V.default = g, V;
397
397
  }
@@ -435,9 +435,9 @@ function lt() {
435
435
  Object.defineProperty(r, "v1ToV6", { enumerable: !0, get: function() {
436
436
  return a.default;
437
437
  } });
438
- var p = rt();
438
+ var y = rt();
439
439
  Object.defineProperty(r, "v3", { enumerable: !0, get: function() {
440
- return p.default;
440
+ return y.default;
441
441
  } });
442
442
  var u = at();
443
443
  Object.defineProperty(r, "v4", { enumerable: !0, get: function() {
@@ -447,9 +447,9 @@ function lt() {
447
447
  Object.defineProperty(r, "v5", { enumerable: !0, get: function() {
448
448
  return f.default;
449
449
  } });
450
- var y = ut();
450
+ var p = ut();
451
451
  Object.defineProperty(r, "v6", { enumerable: !0, get: function() {
452
- return y.default;
452
+ return p.default;
453
453
  } });
454
454
  var O = st();
455
455
  Object.defineProperty(r, "v6ToV1", { enumerable: !0, get: function() {
@@ -474,7 +474,7 @@ function dt() {
474
474
  if (qe) return T;
475
475
  qe = 1, Object.defineProperty(T, "__esModule", {
476
476
  value: !0
477
- }), T.checkIfDataTableExists = a, T.cloneDataSource = p, T.deepCopyOf = i, T.isCallable = v, T.isObject = l, T.isSameObjectContent = g, T.isUndefined = e;
477
+ }), T.checkIfDataTableExists = a, T.cloneDataSource = y, T.deepCopyOf = i, T.isCallable = v, T.isObject = l, T.isSameObjectContent = g, T.isUndefined = e;
478
478
  function r(u) {
479
479
  "@babel/helpers - typeof";
480
480
  return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(f) {
@@ -492,8 +492,8 @@ function dt() {
492
492
  function g(u, f) {
493
493
  if (Object.keys(u).length !== Object.keys(f).length)
494
494
  return !1;
495
- for (var y = Object.keys(u), O = 0; O < y.length; O += 1) {
496
- var t = y[O];
495
+ for (var p = Object.keys(u), O = 0; O < p.length; O += 1) {
496
+ var t = p[O];
497
497
  if (l(u[t]) && l(f[t])) {
498
498
  if (!g(u[t], f[t]))
499
499
  return !1;
@@ -512,9 +512,9 @@ function dt() {
512
512
  function a(u) {
513
513
  return !!(u && u.data && u.data._dataStore);
514
514
  }
515
- function p(u) {
516
- var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "clone", y = r(u);
517
- if (y === "string" || y === "number" || y === "function" || y === "boolean" || u == null)
515
+ function y(u) {
516
+ var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "clone", p = r(u);
517
+ if (p === "string" || p === "number" || p === "function" || p === "boolean" || u == null)
518
518
  return u;
519
519
  if (Array.isArray(u)) {
520
520
  for (var O = [], t = 0; t < u.length; t++)
@@ -557,7 +557,7 @@ function gt() {
557
557
  Object.defineProperty(r, "__esModule", {
558
558
  value: !0
559
559
  }), r.default = void 0;
560
- var v = p(Je), g = /* @__PURE__ */ lt(), e = a(dt()), i = p(ht());
560
+ var v = y(Je), g = /* @__PURE__ */ lt(), e = a(dt()), i = y(ht());
561
561
  function a(_, b) {
562
562
  if (typeof WeakMap == "function") var w = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap();
563
563
  return (a = function(h, j) {
@@ -572,7 +572,7 @@ function gt() {
572
572
  return M;
573
573
  })(_, b);
574
574
  }
575
- function p(_) {
575
+ function y(_) {
576
576
  return _ && _.__esModule ? _ : { default: _ };
577
577
  }
578
578
  function u(_, b) {
@@ -584,7 +584,7 @@ function gt() {
584
584
  d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(_, O(d.key), d);
585
585
  }
586
586
  }
587
- function y(_, b, w) {
587
+ function p(_, b, w) {
588
588
  return b && f(_.prototype, b), w && f(_, w), Object.defineProperty(_, "prototype", { writable: !1 }), _;
589
589
  }
590
590
  function O(_) {
@@ -642,7 +642,7 @@ function gt() {
642
642
  var d;
643
643
  return u(this, b), d = S(this, b, [w]), d.initialUnmount = !1, d.containerRef = /* @__PURE__ */ v.default.createRef(), d.containerId = (0, g.v4)(), d.oldOptions = null, d.FusionCharts = w.fcLibrary || b.fusionChartsCore || window.FusionCharts, d;
644
644
  }
645
- return c(b, _), y(b, [{
645
+ return c(b, _), p(b, [{
646
646
  key: "componentDidMount",
647
647
  value: function() {
648
648
  this.renderChart();
@@ -796,21 +796,21 @@ function gt() {
796
796
  }(ae)), ae;
797
797
  }
798
798
  var vt = gt();
799
- const yt = /* @__PURE__ */ Ge(vt), mt = "_sankey_5hycf_1", pt = "_scrollArea_5hycf_32", _t = "_stackedArea_5hycf_32", bt = "_msCombiDy2d_5hycf_32", Ct = "_stackedcolumn2d_5hycf_44", Ot = "_scrollStackedColumn2d_5hycf_44", St = "_fusion_chart_wrapper_5hycf_210", D = {
800
- "ckds-finops-charts": "_ckds-finops-charts_5hycf_1",
799
+ const pt = /* @__PURE__ */ Ge(vt), mt = "_sankey_191hp_1", yt = "_scrollArea_191hp_32", _t = "_stackedArea_191hp_32", bt = "_msCombiDy2d_191hp_32", Ct = "_stackedcolumn2d_191hp_50", Ot = "_scrollStackedColumn2d_191hp_50", St = "_fusion_chart_wrapper_191hp_216", D = {
800
+ "ckds-finops-charts": "_ckds-finops-charts_191hp_1",
801
801
  sankey: mt,
802
- scrollArea: pt,
802
+ scrollArea: yt,
803
803
  stackedArea: _t,
804
804
  msCombiDy2d: bt,
805
805
  stackedcolumn2d: Ct,
806
806
  scrollStackedColumn2d: Ot,
807
807
  fusion_chart_wrapper: St,
808
- "doughnut-legend": "_doughnut-legend_5hycf_214",
809
- "doughnut-legend-item": "_doughnut-legend-item_5hycf_223",
810
- "doughnut-legend-item--hidden": "_doughnut-legend-item--hidden_5hycf_235",
811
- "doughnut-legend-text": "_doughnut-legend-text_5hycf_238",
812
- "doughnut-legend-icon": "_doughnut-legend-icon_5hycf_242"
813
- }, jt = yt;
808
+ "doughnut-legend": "_doughnut-legend_191hp_220",
809
+ "doughnut-legend-item": "_doughnut-legend-item_191hp_229",
810
+ "doughnut-legend-item--hidden": "_doughnut-legend-item--hidden_191hp_241",
811
+ "doughnut-legend-icon": "_doughnut-legend-icon_191hp_245",
812
+ "doughnut-legend-text": "_doughnut-legend-text_191hp_253"
813
+ }, jt = pt;
814
814
  function At(r) {
815
815
  return r.chartType === "stackedArea" ? (r.palettecolors || Ne).split(",").map((g) => g.trim()) : r.chartType === "scrollArea" || r.chartType === "line" ? (r.palettecolors || "#8ECFFF").split(",").map((g) => g.trim()) : (r.palettecolors || ee).split(",").map((v) => v.trim());
816
816
  }
@@ -897,9 +897,9 @@ function Ut(r, l, v, g) {
897
897
  if (v === "doughnutChart") {
898
898
  const f = r;
899
899
  if (!f?.data) return r;
900
- const y = (g || ee).split(",").map((S) => S.trim()), t = f.data.map((S, A) => ({
900
+ const p = (g || ee).split(",").map((S) => S.trim()), t = f.data.map((S, A) => ({
901
901
  ...S,
902
- color: S.color || y[A % y.length]
902
+ color: S.color || p[A % p.length]
903
903
  })).filter(
904
904
  (S) => !l[S.legendItemName || S.label || ""]
905
905
  );
@@ -920,16 +920,16 @@ function Ut(r, l, v, g) {
920
920
  if (!Rt(v)) return r;
921
921
  const i = r;
922
922
  if (!i?.dataset) return r;
923
- const a = (v === "stackedArea" ? g || Ne : g || ee).split(",").map((f) => f.trim()), u = i.dataset.map((f, y) => ({
923
+ const a = (v === "stackedArea" ? g || Ne : g || ee).split(",").map((f) => f.trim()), u = i.dataset.map((f, p) => ({
924
924
  ...f,
925
- color: f.color || a[y % a.length]
925
+ color: f.color || a[p % a.length]
926
926
  })).filter(
927
927
  (f) => !l[f.seriesname || ""]
928
928
  );
929
929
  return { ...i, dataset: u };
930
930
  }
931
931
  function Mt(r) {
932
- const { chartType: l, applyRoundedBarsOnRender: v } = r, [g, e] = de({}), [i, a] = de(!1), p = Qe(null), u = he((o) => {
932
+ const { chartType: l, applyRoundedBarsOnRender: v } = r, [g, e] = de({}), [i, a] = de(!1), y = Qe(null), u = he((o) => {
933
933
  e((n) => ({
934
934
  ...n,
935
935
  [o]: !n[o]
@@ -942,15 +942,15 @@ function Mt(r) {
942
942
  r.palettecolors
943
943
  ),
944
944
  [r.graphData, g, l, r.palettecolors]
945
- ), y = Xe({
945
+ ), p = Xe({
946
946
  ...r,
947
947
  graphData: f
948
948
  }), O = ge(
949
949
  () => Object.entries(g).filter(([, o]) => o).map(([o]) => o).join("|") || "all",
950
950
  [g]
951
951
  ), t = he(() => {
952
- if (!v || !p.current) return;
953
- const o = p.current;
952
+ if (!v || !y.current) return;
953
+ const o = y.current;
954
954
  if (o.getAttribute("data-rounded-applied") === "true") return;
955
955
  const n = o.querySelector("svg");
956
956
  if (!n) return;
@@ -1013,8 +1013,8 @@ function Mt(r) {
1013
1013
  }, [v, l]);
1014
1014
  ve(() => {
1015
1015
  if (!v) return;
1016
- p.current && p.current.removeAttribute("data-rounded-applied");
1017
- const o = p.current;
1016
+ y.current && y.current.removeAttribute("data-rounded-applied");
1017
+ const o = y.current;
1018
1018
  if (!o) return;
1019
1019
  const n = () => {
1020
1020
  const _ = o.querySelector("svg")?.querySelectorAll("rect");
@@ -1035,7 +1035,7 @@ function Mt(r) {
1035
1035
  };
1036
1036
  }, [v, f, t]), ve(() => {
1037
1037
  a(!1);
1038
- const o = p.current;
1038
+ const o = y.current;
1039
1039
  if (!o) return;
1040
1040
  const n = () => {
1041
1041
  const I = o.querySelector("svg");
@@ -1062,14 +1062,14 @@ function Mt(r) {
1062
1062
  l === "stackedcolumn2d" && D.stackedcolumn2d,
1063
1063
  l === "scrollStackedColumn2d" && D.scrollStackedColumn2d
1064
1064
  );
1065
- if (!y)
1065
+ if (!p)
1066
1066
  return null;
1067
1067
  const A = kt(r), s = At(r);
1068
1068
  return /* @__PURE__ */ Fe("div", { className: S, children: [
1069
- /* @__PURE__ */ $("div", { className: D.fusion_chart_wrapper, ref: p, children: /* @__PURE__ */ $(
1069
+ /* @__PURE__ */ $("div", { className: D.fusion_chart_wrapper, ref: y, children: /* @__PURE__ */ $(
1070
1070
  jt,
1071
1071
  {
1072
- ...y,
1072
+ ...p,
1073
1073
  events: Ze(r),
1074
1074
  onRender: ze(r)
1075
1075
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ck-ui/component-library",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -1 +0,0 @@
1
- ._ckds-finops-charts_5hycf_1._sankey_5hycf_1 .fc__tooltip.fusioncharts-div div{border-radius:var(--ckds-border-radius-sm, 6px);box-shadow:var(--ckcl-elevation-2, 0px 4px 12px 0px rgba(0, 79, 206, .1215686275));border:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1);background-color:var(--ckcl-white, #FFFFFF);padding:var(--ckcl-spacing-sm, 8px) var(--ckcl-spacing-ms, 12px);color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-medium, 500)}._ckds-finops-charts_5hycf_1._sankey_5hycf_1 .fc__tooltip.fusioncharts-div div span{margin-top:var(--ckcl-spacing-none, 0px);margin-right:var(--ckcl-spacing-xs, 4px);margin-left:var(--ckcl-spacing-xs, 4px);position:relative}._ckds-finops-charts_5hycf_1._sankey_5hycf_1 .fc__tooltip.fusioncharts-div div span:nth-child(2){margin-left:var(--ckcl-spacing-xs, 4px)}._ckds-finops-charts_5hycf_1._sankey_5hycf_1 .fc__tooltip.fusioncharts-div div span:nth-child(2):before{content:"";background-repeat:no-repeat;position:absolute;left:-var(--ckcl-spacing-2md,18px);color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-xl, 24px);height:var(--ckcl-spacing-sm, 8px);width:var(--ckcl-spacing-sm, 14px);top:50%;transform:translateY(-50%)}._ckds-finops-charts_5hycf_1._scrollArea_5hycf_32 .fc__tooltip.fusioncharts-div div[class*=color-],._ckds-finops-charts_5hycf_1._stackedArea_5hycf_32 .fc__tooltip.fusioncharts-div div[class*=color-],._ckds-finops-charts_5hycf_1._msCombiDy2d_5hycf_32 .fc__tooltip.fusioncharts-div div[class*=color-]{display:none!important}._ckds-finops-charts_5hycf_1._scrollArea_5hycf_32 .fc__tooltip.fusioncharts-div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_5hycf_1._stackedArea_5hycf_32 .fc__tooltip.fusioncharts-div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_5hycf_1._msCombiDy2d_5hycf_32 .fc__tooltip.fusioncharts-div>div>div:first-child:not(:last-child)[style*=inline-block]{display:none!important}._ckds-finops-charts_5hycf_1._scrollArea_5hycf_32 .fc__tooltip.fusioncharts-div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_5hycf_1._stackedArea_5hycf_32 .fc__tooltip.fusioncharts-div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_5hycf_1._msCombiDy2d_5hycf_32 .fc__tooltip.fusioncharts-div>div>div>div:first-child:not(:last-child)[style*=inline-block]{display:none!important}._ckds-finops-charts_5hycf_1._scrollArea_5hycf_32 .fc__tooltip.fusioncharts-div>div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_5hycf_1._stackedArea_5hycf_32 .fc__tooltip.fusioncharts-div>div>div>div>div:first-child:not(:last-child)[style*=inline-block],._ckds-finops-charts_5hycf_1._msCombiDy2d_5hycf_32 .fc__tooltip.fusioncharts-div>div>div>div>div:first-child:not(:last-child)[style*=inline-block]{display:none!important}._ckds-finops-charts_5hycf_1._stackedcolumn2d_5hycf_44 .fc__tooltip.fusioncharts-div,._ckds-finops-charts_5hycf_1._scrollStackedColumn2d_5hycf_44 .fc__tooltip.fusioncharts-div{white-space:normal!important;padding:10px 12px!important}._ckds-finops-charts_5hycf_1._stackedcolumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:last-child>div:first-of-type,._ckds-finops-charts_5hycf_1._scrollStackedColumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:last-child>div:first-of-type{vertical-align:top;padding-top:4px}._ckds-finops-charts_5hycf_1._stackedcolumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:only-child>div:first-of-type,._ckds-finops-charts_5hycf_1._scrollStackedColumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:only-child>div:first-of-type{vertical-align:unset;transform:translateY(-28px)}._ckds-finops-charts_5hycf_1._stackedcolumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:not(:last-child) .stacked-tooltip-total,._ckds-finops-charts_5hycf_1._scrollStackedColumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:not(:last-child) .stacked-tooltip-total{display:none!important}._ckds-finops-charts_5hycf_1._stackedcolumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:first-child div:nth-child(2)>div:first-child,._ckds-finops-charts_5hycf_1._scrollStackedColumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div:first-child div:nth-child(2)>div:first-child{overflow-wrap:break-word}._ckds-finops-charts_5hycf_1._stackedcolumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div>div[style*=margin] span[style*=background-color],._ckds-finops-charts_5hycf_1._scrollStackedColumn2d_5hycf_44 .fc__tooltip.fusioncharts-div>div>div[style*=margin] span[style*=background-color]{width:var(--ckcl-spacing-sm, 8px)!important;height:var(--ckcl-spacing-sm, 8px)!important;border-radius:var(--ckds-border-radius-2xs, 2px)!important;display:inline-block!important;flex-shrink:0}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div{border-radius:var(--ckds-border-radius-md, 8px)!important;box-shadow:var(--ckcl-elevation-2, 0px 4px 12px 0px rgba(0, 79, 206, .1215686275))!important;border:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1)!important;background-color:var(--ckcl-white, #FFFFFF)!important;padding:var(--ckcl-spacing-ms, 12px) var(--ckcl-spacing-sm, 8px)!important;color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-regular, 400);min-width:200px!important;max-width:320px!important;overflow:hidden}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:first-child{display:flex;align-items:end}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:first-child>div:nth-child(2){width:100%}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:last-child{display:flex;align-items:start}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:last-child>div:nth-child(2){width:100%}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:not(:first-child):not(:last-child){display:flex;align-items:center}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:first-child>div:first-child{vertical-align:bottom;padding-bottom:4px}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:not(:first-child):not(:last-child)>div:nth-child(2){width:100%}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div>div:first-child{width:9px;height:8px;border-radius:2px;background-color:currentColor;overflow:hidden;margin-right:5px}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:first-child>div:first-child{margin-bottom:5px}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:not(:first-child):not(:last-child)>div:first-child{margin-top:1px}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div:last-child>div:first-child{margin-top:7px}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div div,._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div span,._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div b{border:initial;border-width:initial;border-style:initial;vertical-align:baseline;margin:initial;padding:initial;box-sizing:border-box}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div>div{width:100%}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div .headingCont{width:100%;padding:var(--ckcl-spacing-xs, 4px) var(--ckcl-spacing-none, 0px);padding-bottom:var(--ckcl-spacing-sm, 8px);background-color:var(--ckcl-white, #FFFFFF);display:block;text-align:left;color:var(--ckcl-black-500, #2B2B2B);font-size:var(--ckcl-fs-sm, 14px);font-weight:var(--ckcl-font-weight-semibold, 600);border-bottom:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1);margin-bottom:var(--ckcl-spacing-xs, 4px)}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div .tooltipItem{display:flex;align-items:center;justify-content:space-between;font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-regular, 400);color:var(--ckcl-black-400, #737373);padding:var(--ckcl-spacing-xs, 4px) var(--ckcl-spacing-none, 0px)}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div .tooltipItem>span{display:flex;align-items:center;gap:var(--ckcl-spacing-xs, 4px)}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div .tooltipItem>b{font-weight:var(--ckcl-font-weight-bold, 700);color:var(--ckcl-black-500, #2B2B2B);white-space:nowrap}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div .colorSquare{height:var(--ckcl-spacing-sm, 8px);width:var(--ckcl-spacing-sm, 8px);border-radius:var(--ckds-border-radius-2xs, 2px);display:inline-block;flex-shrink:0}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div .tooltipListCont{padding:var(--ckcl-spacing-xs, 4px) var(--ckcl-spacing-none, 0px)}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div table{border-collapse:collapse;width:100%;min-width:200px}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div tr:first-child td{font-size:var(--ckcl-fs-sm, 14px);font-weight:var(--ckcl-font-weight-semibold, 600);color:var(--ckcl-black-500, #2B2B2B);padding:var(--ckcl-spacing-sm, 8px) var(--ckcl-spacing-ms, 12px);padding-top:var(--ckcl-spacing-xs, 4px);border-bottom:solid var(--ckds-border-width-sm, 1px) var(--ckcl-border-color, #E6ECF1)}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div tr:not(:first-child) td{padding:var(--ckcl-spacing-sm, 8px) var(--ckcl-spacing-ms, 12px);font-size:var(--ckcl-fs-xs, 12px);color:var(--ckcl-black-400, #737373);font-weight:var(--ckcl-font-weight-regular, 400);white-space:nowrap}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div tr:not(:first-child) td>span[style*=background-color]{display:none!important}._ckds-finops-charts_5hycf_1 .fc__tooltip.fusioncharts-div tr:not(:first-child) td:last-child{text-align:right;font-weight:var(--ckcl-font-weight-bold, 700);color:var(--ckcl-black-500, #2B2B2B);padding-left:var(--ckcl-spacing-xl, 28px)}._fusion_chart_wrapper_5hycf_210{width:100%}._doughnut-legend_5hycf_214{display:flex;justify-content:center;align-items:center;gap:var(--ckcl-spacing-md, 16px);padding:var(--ckcl-spacing-sm, 8px) 0;flex-wrap:wrap}._doughnut-legend-item_5hycf_223{display:flex;align-items:center;gap:var(--ckcl-spacing-xs, 4px);background:none;border:none;padding:0;margin:0;cursor:pointer;font-family:inherit;transition:opacity .2s ease}._doughnut-legend-item--hidden_5hycf_235{opacity:.5}._doughnut-legend-item--hidden_5hycf_235 ._doughnut-legend-text_5hycf_238{text-decoration:line-through}._doughnut-legend-icon_5hycf_242{width:var(--ckcl-spacing-ms, 12px);height:var(--ckcl-spacing-ms, 12px);border-radius:var(--ckds-border-radius-xs, 4px);display:inline-block;flex-shrink:0}._doughnut-legend-text_5hycf_238{font-size:var(--ckcl-fs-xs, 12px);font-weight:var(--ckcl-font-weight-regular, 400);color:var(--ckcl-black-400, #737373);white-space:nowrap}