@arcgis/charts-components 5.2.0-next.25 → 5.2.0-next.26

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.
Files changed (87) hide show
  1. package/dist/cdn/{KCJKQ44K.js → 2A24ACPF.js} +1 -1
  2. package/dist/cdn/{5M57QONK.js → 2ASYBTGM.js} +1 -1
  3. package/dist/cdn/{L6NNUSXU.js → 2B3QBXNI.js} +1 -1
  4. package/dist/cdn/{RBAE74TA.js → 2KCA3K57.js} +1 -1
  5. package/dist/cdn/{5VQQA6MA.js → 3BS7VF2U.js} +1 -1
  6. package/dist/cdn/{MSN54T3T.js → 4AF64XYR.js} +1 -1
  7. package/dist/cdn/{FRSKVY2N.js → 4N3NVAA2.js} +1 -1
  8. package/dist/cdn/{YNHUPD3J.js → 4RJT43K4.js} +1 -1
  9. package/dist/cdn/{J72BLOD2.js → 4XIBUPM6.js} +1 -1
  10. package/dist/cdn/{DNSJAZKI.js → 4YRCWE6Z.js} +1 -1
  11. package/dist/cdn/{QUR7IUKK.js → 5JREGZML.js} +1 -1
  12. package/dist/cdn/{JGSF55NE.js → 5NVUOG5B.js} +1 -1
  13. package/dist/cdn/{U6MMH2LR.js → 5UX2FYTM.js} +1 -1
  14. package/dist/cdn/{6VDLIICW.js → 5W76WCRM.js} +1 -1
  15. package/dist/cdn/{MDMUNG7R.js → 662GFATG.js} +1 -1
  16. package/dist/cdn/{OQWDZSTM.js → 6ODWWOUP.js} +1 -1
  17. package/dist/cdn/{NUIBH3VT.js → 6Y6EK76O.js} +1 -1
  18. package/dist/cdn/{F2N6CMAL.js → 75XWLYW5.js} +1 -1
  19. package/dist/cdn/{GZU5HJCQ.js → 7LI5APDL.js} +1 -1
  20. package/dist/cdn/{EUGGSDEV.js → ADJHTT4M.js} +1 -1
  21. package/dist/cdn/{TLP2PMYA.js → ASEWMED3.js} +1 -1
  22. package/dist/cdn/{KXKOTDCQ.js → AYNWMLFD.js} +1 -1
  23. package/dist/cdn/{FP72YYAO.js → AZZIMLGE.js} +1 -1
  24. package/dist/cdn/{KOKJLIPK.js → BMC75GCV.js} +1 -1
  25. package/dist/cdn/{YMFG2IVU.js → BUUTWPEP.js} +1 -1
  26. package/dist/cdn/{LZMLIBIH.js → D46R6YHX.js} +1 -1
  27. package/dist/cdn/{QQSX47ZE.js → D6GG2ADV.js} +1 -1
  28. package/dist/cdn/{S6SBVFMN.js → DE2LP6LN.js} +1 -1
  29. package/dist/cdn/{XNJIGVQJ.js → DKMTGCWH.js} +1 -1
  30. package/dist/cdn/{NNP5LCX5.js → ECG7HC37.js} +1 -1
  31. package/dist/cdn/{CTXTTI3G.js → FFE3EGXQ.js} +1 -1
  32. package/dist/cdn/{NDBH7YLO.js → GSYV5MTU.js} +1 -1
  33. package/dist/cdn/{NUK4NPOT.js → GW6GNNLA.js} +1 -1
  34. package/dist/cdn/{IOAD36KI.js → GZLTMREM.js} +1 -1
  35. package/dist/cdn/{3RA3JNKB.js → HFSVUO2D.js} +2 -2
  36. package/dist/cdn/{O6CSF6KG.js → HK3P3FUS.js} +1 -1
  37. package/dist/cdn/{G7SXRDMI.js → HPEG72LB.js} +1 -1
  38. package/dist/cdn/{ZERRCOSM.js → ICJALFR4.js} +1 -1
  39. package/dist/cdn/{A3TAYUWE.js → IHJWEEOX.js} +1 -1
  40. package/dist/cdn/{7WMOXCPU.js → IK5VZ54O.js} +1 -1
  41. package/dist/cdn/{JF7YQCM6.js → IP3FZZNM.js} +1 -1
  42. package/dist/cdn/{G5TRNV2I.js → IPECBZP3.js} +1 -1
  43. package/dist/cdn/{RAUYMTSM.js → IUMYBJDG.js} +1 -1
  44. package/dist/cdn/{6UVZ3NXS.js → K7VEKFCK.js} +1 -1
  45. package/dist/cdn/{UYKZWTFH.js → KBUBJ24X.js} +1 -1
  46. package/dist/cdn/{W6CKM3J3.js → L6SM2ORZ.js} +1 -1
  47. package/dist/cdn/{APNALJWN.js → LSF6ITTC.js} +1 -1
  48. package/dist/cdn/{U7ZGT3IG.js → LSKFMUX4.js} +1 -1
  49. package/dist/cdn/{AQIUPTKW.js → MLD566HE.js} +4 -4
  50. package/dist/cdn/{KXGVMPQJ.js → MUG3AZLX.js} +1 -1
  51. package/dist/cdn/{WHBJYAT4.js → N3FUI2RC.js} +1 -1
  52. package/dist/cdn/{6RD22S75.js → N4EH5HUB.js} +1 -1
  53. package/dist/cdn/{WHLDUYAG.js → N4IFMTPA.js} +1 -1
  54. package/dist/cdn/{2V4LOGZL.js → N5AW3HBF.js} +1 -1
  55. package/dist/cdn/{T5NY73Y2.js → N6IOWWIK.js} +1 -1
  56. package/dist/cdn/{XST7FY7F.js → NJAGOS7G.js} +1 -1
  57. package/dist/cdn/{GOZIQ6A2.js → OO5SFCWJ.js} +1 -1
  58. package/dist/cdn/{3XMGXTZB.js → RSYMKZMX.js} +1 -1
  59. package/dist/cdn/{LHGLUPW5.js → SUTVT5OC.js} +1 -1
  60. package/dist/cdn/{NNP7U57T.js → TG4EXCPF.js} +1 -1
  61. package/dist/cdn/{OFP7FIPS.js → TNKGWBUO.js} +1 -1
  62. package/dist/cdn/{QSH4RLKM.js → TS6MWMCQ.js} +1 -1
  63. package/dist/cdn/{NOAJPX72.js → TSQOEJB4.js} +1 -1
  64. package/dist/cdn/{BFIXNPQC.js → UB4O3XGF.js} +1 -1
  65. package/dist/cdn/{XX6OXKZK.js → UFI4PRSB.js} +1 -1
  66. package/dist/cdn/{ZX4AZXEF.js → VD3DRJBH.js} +1 -1
  67. package/dist/cdn/{7LGIXLPP.js → VHY7DPE3.js} +1 -1
  68. package/dist/cdn/{MVNNQWQB.js → VWW6TY7N.js} +1 -1
  69. package/dist/cdn/{OLPU6MNA.js → WJLUWK7Z.js} +1 -1
  70. package/dist/cdn/{GQK23IL4.js → WXWLMWG5.js} +1 -1
  71. package/dist/cdn/{S4SG2V5X.js → WY3UGKLF.js} +1 -1
  72. package/dist/cdn/{UV5LIHCE.js → X4LAYI76.js} +1 -1
  73. package/dist/cdn/{GP5MHPDX.js → XKHA7K4P.js} +1 -1
  74. package/dist/cdn/{YPRIULPN.js → XKJN3WVL.js} +1 -1
  75. package/dist/cdn/{LVSNOD77.js → XWDLT2E4.js} +1 -1
  76. package/dist/cdn/{CU56A45C.js → Y5GMGU4M.js} +1 -1
  77. package/dist/cdn/{YPFJW7NS.js → Y7HYSSRW.js} +1 -1
  78. package/dist/cdn/{YL45GUSC.js → ZB5KGMQ6.js} +1 -1
  79. package/dist/cdn/{C3MXUPEW.js → ZPFHE4XY.js} +1 -1
  80. package/dist/cdn/index.js +1 -1
  81. package/dist/cdn/model/shared/setup-utils.js +1 -1
  82. package/dist/chunks/index2.js +373 -372
  83. package/dist/components/arcgis-chart/customElement.js +89 -89
  84. package/dist/docs/api.json +1 -1
  85. package/dist/docs/docs.json +1 -1
  86. package/dist/docs/web-types.json +1 -1
  87. package/package.json +3 -3
@@ -29,7 +29,7 @@ import { c as qe, a as ni } from "../../chunks/type-guards.js";
29
29
  import { g as H, a as Tg } from "../../chunks/series-types.js";
30
30
  import { isLight as kg } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
31
31
  import { Scrollbar as ol } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
32
- import { color as ro, Series as Oa, SerialChart as ta, percent as Ke, LinePattern as td, RectanglePattern as Ig, p50 as Ae, p0 as Ee, p100 as Te, Label as rt, Rectangle as Xo, DateFormatter as wg, NumberFormatter as id, Bullet as xi, Tooltip as Gi, Template as la, Graphics as Et, Color as Dg, Container as fi, HeatLegend as Yo, LinearGradient as Og, Legend as tr, Scrollbar as ns, time as $g, RoundedRectangle as lo, Slice as co, Timezone as Rg, DataItem as Bg, addLicense as Mg, registry as Ng, Root as Vg } from "@amcharts/amcharts5";
32
+ import { SerialChart as ta, color as ro, percent as Ke, LinePattern as td, RectanglePattern as Ig, p50 as Ae, p0 as Ee, p100 as Te, Label as rt, Rectangle as Xo, Series as Oa, DateFormatter as wg, NumberFormatter as id, Bullet as xi, Tooltip as Gi, Template as la, Graphics as Et, Color as Dg, Container as fi, HeatLegend as Yo, LinearGradient as Og, Legend as tr, Scrollbar as ns, time as $g, RoundedRectangle as lo, Slice as co, Timezone as Rg, DataItem as Bg, addLicense as Mg, registry as Ng, Root as Vg } from "@amcharts/amcharts5";
33
33
  import { PieSeries as ht, PieChart as Zt } from "@amcharts/amcharts5/percent.js";
34
34
  import { AxisRendererCircular as Qt, RadarCursor as ir, ClockHand as ss, RadarChart as Mi, AxisRendererRadial as Pg, RadarLineSeries as ar } from "@amcharts/amcharts5/radar.js";
35
35
  import { AxisRendererY as bi, XYSeries as or, StepLineSeries as yn, LineSeries as pe, ColumnSeries as Oe, XYChart as Le, AxisRendererX as vt, XYCursor as ad, CategoryAxis as Qe, CandlestickSeries as Xi, DateAxis as Ne, ValueAxis as me, AxisBullet as Wg } from "@amcharts/amcharts5/xy.js";
@@ -8718,41 +8718,10 @@ function Ao(t) {
8718
8718
  const { chart: i } = t;
8719
8719
  return i !== void 0 && (e = w(i.uid, "isRotated") === !0 ? XC(t) : YC(t)), e;
8720
8720
  }
8721
- function wr(t) {
8722
- return t != null && !t.isDisposed();
8723
- }
8724
- function UC(t) {
8725
- let e;
8726
- if (t != null) {
8727
- const i = t;
8728
- if (i instanceof Oa)
8729
- e = i.chart;
8730
- else {
8731
- const a = i.dataItem?.component;
8732
- a instanceof Oa && (e = a.chart);
8733
- }
8734
- }
8735
- return e;
8736
- }
8737
- function vu(t) {
8738
- let e;
8739
- if (t) {
8740
- const a = t.get("background")?.get("fill");
8741
- if (a) {
8742
- const { r: o, g: n, b: s } = a;
8743
- e = [Math.round(o), Math.round(n), Math.round(s), 255];
8744
- }
8745
- }
8746
- return e;
8747
- }
8748
- function Lu(t) {
8749
- const e = ro(t), { r: i, g: a, b: o } = e;
8750
- return { r: i, g: a, b: o };
8751
- }
8752
- function jC(t, e) {
8721
+ function UC(t, e) {
8753
8722
  e && t.setThemes([zg.new(t)]);
8754
8723
  }
8755
- function qC(t, e) {
8724
+ function jC(t, e) {
8756
8725
  e === !0 && t.setThemes([Eg.new(t)]);
8757
8726
  }
8758
8727
  function K(t) {
@@ -8776,7 +8745,7 @@ function et(t, e) {
8776
8745
  function Wi(t, e = 100) {
8777
8746
  return setTimeout(() => t(), e);
8778
8747
  }
8779
- function Fu(t) {
8748
+ function vu(t) {
8780
8749
  const { series: e, chartConfig: i, whenReadyCallback: a } = t, o = H(i.series);
8781
8750
  if (e) {
8782
8751
  const n = e.root.events.on(fe.FrameEnded, () => {
@@ -8809,7 +8778,7 @@ function Fu(t) {
8809
8778
  });
8810
8779
  }
8811
8780
  }
8812
- function Au(t) {
8781
+ function Lu(t) {
8813
8782
  const { chart: e, chartConfig: i, delayCallback: a } = t, { root: o } = e;
8814
8783
  if (H(i.series) === y.GaugeSeries || !a)
8815
8784
  Ia(o.dom);
@@ -8819,7 +8788,7 @@ function Au(t) {
8819
8788
  Ia(o.dom);
8820
8789
  });
8821
8790
  };
8822
- Fu({
8791
+ vu({
8823
8792
  series: e.series.getIndex(0),
8824
8793
  chartConfig: i,
8825
8794
  whenReadyCallback: n
@@ -8836,10 +8805,10 @@ function Nl(t) {
8836
8805
  }
8837
8806
  return e;
8838
8807
  }
8839
- function ZC(t, e) {
8808
+ function qC(t, e) {
8840
8809
  return e !== !0 || t?.includes("Dot") === !0 ? "round" : "square";
8841
8810
  }
8842
- function KC(t, e) {
8811
+ function ZC(t, e) {
8843
8812
  const i = t ?? Ge.Solid, a = e ?? v.lineWidth, o = {
8844
8813
  [Ge.Solid]: [],
8845
8814
  [Ge.Dot]: [1, a],
@@ -8850,7 +8819,7 @@ function KC(t, e) {
8850
8819
  };
8851
8820
  return o[i] ?? o[Ge.Null];
8852
8821
  }
8853
- function QC(t) {
8822
+ function KC(t) {
8854
8823
  const { root: e, fill: i, rotation: a, isLinePattern: o, chartBackgroundFill: n } = t;
8855
8824
  let s;
8856
8825
  if (o !== !1) {
@@ -8884,7 +8853,7 @@ function QC(t) {
8884
8853
  }
8885
8854
  return s;
8886
8855
  }
8887
- function JC(t) {
8856
+ function QC(t) {
8888
8857
  const { fill: e, root: i, style: a, chartBackgroundFill: o } = t;
8889
8858
  let n, s, r = !0;
8890
8859
  switch (a) {
@@ -8914,12 +8883,12 @@ function JC(t) {
8914
8883
  }
8915
8884
  case Ze.Solid:
8916
8885
  }
8917
- return s !== void 0 && i !== void 0 && (n = QC({ root: i, fill: e, rotation: s, isLinePattern: r, chartBackgroundFill: o })), n;
8886
+ return s !== void 0 && i !== void 0 && (n = KC({ root: i, fill: e, rotation: s, isLinePattern: r, chartBackgroundFill: o })), n;
8918
8887
  }
8919
- function Tu(t, e = 0) {
8888
+ function Fu(t, e = 0) {
8920
8889
  return (t ?? e) % 360;
8921
8890
  }
8922
- function ku(t, e) {
8891
+ function Au(t, e) {
8923
8892
  const i = {
8924
8893
  stroke: K().color,
8925
8894
  strokeWidth: v.lineWidth,
@@ -8929,27 +8898,27 @@ function ku(t, e) {
8929
8898
  };
8930
8899
  if (t != null) {
8931
8900
  const a = K(t.color);
8932
- i.stroke = a.color, i.strokeOpacity = a.opacity, t.width !== void 0 && (i.strokeWidth = t.width, i.strokeOpacity = t.width === 0 ? 0 : a.opacity), t.style !== void 0 && t.style !== Ge.Null && (i.strokeDasharray = KC(t.style, i.strokeWidth), i.linecap = ZC(t.style, e));
8901
+ i.stroke = a.color, i.strokeOpacity = a.opacity, t.width !== void 0 && (i.strokeWidth = t.width, i.strokeOpacity = t.width === 0 ? 0 : a.opacity), t.style !== void 0 && t.style !== Ge.Null && (i.strokeDasharray = ZC(t.style, i.strokeWidth), i.linecap = qC(t.style, e));
8933
8902
  }
8934
8903
  return i;
8935
8904
  }
8936
- function Iu(t, e) {
8905
+ function Tu(t, e) {
8937
8906
  let i = t;
8938
8907
  const [a, o, n, s] = t?.color ?? e ?? v.color, r = [a, o, n, s];
8939
- return i == null ? i = { type: Q.SLS, color: r } : i.color === void 0 && (i.color = r), ku(i, !1);
8908
+ return i == null ? i = { type: Q.SLS, color: r } : i.color === void 0 && (i.color = r), Au(i, !1);
8940
8909
  }
8941
- function ex(t, e, i) {
8910
+ function JC(t, e, i) {
8942
8911
  const { color: a, outline: o, style: n } = t, s = K(a), r = zc(n);
8943
8912
  let l;
8944
8913
  return i !== void 0 ? l = K(i).color : r && (l = K(v.backgroundColor).color), {
8945
- pattern: JC({ root: e, fill: s.color, style: n, chartBackgroundFill: l }),
8914
+ pattern: QC({ root: e, fill: s.color, style: n, chartBackgroundFill: l }),
8946
8915
  fill: s.color,
8947
- outline: Iu(o, a),
8916
+ outline: Tu(o, a),
8948
8917
  fillOpacity: s.opacity
8949
8918
  };
8950
8919
  }
8951
- function tx(t) {
8952
- const { color: e, style: i, size: a, outline: o, xoffset: n, yoffset: s, angle: r } = t, l = Tu(r), c = K(e);
8920
+ function ex(t) {
8921
+ const { color: e, style: i, size: a, outline: o, xoffset: n, yoffset: s, angle: r } = t, l = Fu(r), c = K(e);
8953
8922
  let u = o;
8954
8923
  const d = i !== _o.Cross && i !== _o.X && a !== void 0 && a < v.lineSeries.marker.markerSizeThresholdForTooltipDisplay && (o?.width === void 0 || o.width === 0);
8955
8924
  let f = a;
@@ -8963,14 +8932,14 @@ function tx(t) {
8963
8932
  }, f = a + 1), {
8964
8933
  path: i !== void 0 ? xc(i, f) : "",
8965
8934
  fill: c.color,
8966
- outline: Iu(u, e),
8935
+ outline: Tu(u, e),
8967
8936
  xOffset: n ?? 0,
8968
8937
  yOffset: s ?? 0,
8969
8938
  angle: l,
8970
8939
  fillOpacity: c.opacity
8971
8940
  };
8972
8941
  }
8973
- function ix(t) {
8942
+ function tx(t) {
8974
8943
  let e;
8975
8944
  switch (t) {
8976
8945
  case "line-through":
@@ -8980,10 +8949,10 @@ function ix(t) {
8980
8949
  }
8981
8950
  return e;
8982
8951
  }
8983
- function ax(t) {
8952
+ function ix(t) {
8984
8953
  return t === !0 ? "wrap" : "none";
8985
8954
  }
8986
- function wu(t, e) {
8955
+ function ku(t, e) {
8987
8956
  let i = Ae;
8988
8957
  switch (t ?? e) {
8989
8958
  case "right":
@@ -8995,7 +8964,7 @@ function wu(t, e) {
8995
8964
  }
8996
8965
  return i;
8997
8966
  }
8998
- function Du(t, e) {
8967
+ function Iu(t, e) {
8999
8968
  let i = Ae;
9000
8969
  switch (t ?? e) {
9001
8970
  case "top":
@@ -9007,13 +8976,13 @@ function Du(t, e) {
9007
8976
  }
9008
8977
  return i;
9009
8978
  }
9010
- function ox(t) {
8979
+ function ax(t) {
9011
8980
  const { angle: e, mappedHAlignment: i, mappedVAlignment: a, isGuideLabel: o } = t;
9012
8981
  let n = i, s = a, r = i;
9013
8982
  const l = a;
9014
8983
  return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === Ee ? n = Te : l === Te ? n = Ee : l === Ae && (n = Ae)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
9015
8984
  }
9016
- function Dr(t) {
8985
+ function wr(t) {
9017
8986
  const {
9018
8987
  root: e,
9019
8988
  symbol: i,
@@ -9030,10 +8999,10 @@ function Dr(t) {
9030
8999
  c !== void 0 && (c.color = c?.color ?? ea({ colorIndex: o }), i.outline = { ...c });
9031
9000
  }
9032
9001
  }
9033
- return Jc(i) ? r = ku(i, !0) : Go(i) ? (i.style ??= v.lineSeries.marker.markerStyle, i.size ??= v.lineSeries.marker.markerBigSize, r = tx(i)) : so(i) && (r = ex(i, e, s)), r;
9002
+ return Jc(i) ? r = Au(i, !0) : Go(i) ? (i.style ??= v.lineSeries.marker.markerStyle, i.size ??= v.lineSeries.marker.markerBigSize, r = ex(i)) : so(i) && (r = JC(i, e, s)), r;
9034
9003
  }
9035
- function nx(t) {
9036
- const { root: e, input: i, isGuideLabel: a, defaults: o } = t, n = Tu(i.angle, o?.rotation), s = wu(i.horizontalAlignment, o?.horizontalCenter), r = Du(i.verticalAlignment, o?.verticalCenter), { align: l, valign: c, horizontalCenter: u, verticalCenter: d } = ox({
9004
+ function ox(t) {
9005
+ const { root: e, input: i, isGuideLabel: a, defaults: o } = t, n = Fu(i.angle, o?.rotation), s = ku(i.horizontalAlignment, o?.horizontalCenter), r = Iu(i.verticalAlignment, o?.verticalCenter), { align: l, valign: c, horizontalCenter: u, verticalCenter: d } = ax({
9037
9006
  angle: n,
9038
9007
  mappedHAlignment: s,
9039
9008
  mappedVAlignment: r,
@@ -9044,7 +9013,7 @@ function nx(t) {
9044
9013
  fontFamily: i.font?.family ?? "Arial, Helvetica, sans-serif",
9045
9014
  fontSize: i.font?.size ?? v.generalFontSize,
9046
9015
  fontWeight: i.font?.weight ?? "400",
9047
- textDecoration: ix(i.font?.decoration),
9016
+ textDecoration: tx(i.font?.decoration),
9048
9017
  align: l,
9049
9018
  valign: c,
9050
9019
  verticalCenter: d,
@@ -9059,12 +9028,12 @@ function nx(t) {
9059
9028
  // haloSize: input.haloSize ?? -1,
9060
9029
  haloColor: K(i.haloColor).color,
9061
9030
  rtl: f ? "rtl" : "ltr",
9062
- wrap: ax(o?.wrap),
9031
+ wrap: ix(o?.wrap),
9063
9032
  maxWidth: o?.maxWidth ?? Number.NaN
9064
9033
  };
9065
9034
  }
9066
- function Ou(t, e) {
9067
- e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", Du(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", wu(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
9035
+ function wu(t, e) {
9036
+ e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", Iu(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", ku(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
9068
9037
  }
9069
9038
  function Ba(t) {
9070
9039
  const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = rt.new(e, {
@@ -9076,7 +9045,7 @@ function Ba(t) {
9076
9045
  paddingLeft: 0,
9077
9046
  paddingRight: 0
9078
9047
  });
9079
- return n !== void 0 && s.set("id", n), Ou(s, a), i !== void 0 && i.children.insertIndex(o ?? i.children.length, s), s;
9048
+ return n !== void 0 && s.set("id", n), wu(s, a), i !== void 0 && i.children.insertIndex(o ?? i.children.length, s), s;
9080
9049
  }
9081
9050
  function Vl(t) {
9082
9051
  const { label: e, offset: i, offsetProperty: a } = t;
@@ -9093,7 +9062,7 @@ function Vl(t) {
9093
9062
  function Dt(t) {
9094
9063
  const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n } = t, s = e instanceof rt ? e.root : e.entities[0]?.root, r = i?.visible ?? !0;
9095
9064
  if (e !== void 0 && !e.isDisposed() && i !== void 0) {
9096
- const l = e instanceof rt && pt(e.uid, "isGuide"), c = nx({ root: s, input: i.content, isGuideLabel: l, defaults: a });
9065
+ const l = e instanceof rt && pt(e.uid, "isGuide"), c = ox({ root: s, input: i.content, isGuideLabel: l, defaults: a });
9097
9066
  e.setAll({
9098
9067
  fill: c.fill,
9099
9068
  fontFamily: c.fontFamily,
@@ -9238,7 +9207,7 @@ function en(t, e) {
9238
9207
  a.setAll({ dx: f, dy: g });
9239
9208
  }
9240
9209
  }
9241
- function sx(t) {
9210
+ function nx(t) {
9242
9211
  const { axis: e, guide: i, label: a } = t, { chart: o } = e;
9243
9212
  if (o) {
9244
9213
  const n = e.get("renderer") instanceof vt ? o.yAxes.getIndex(0) : o.xAxes.getIndex(0);
@@ -9259,19 +9228,19 @@ function sx(t) {
9259
9228
  paddingLeft: 0
9260
9229
  });
9261
9230
  }
9262
- function rx(t) {
9231
+ function sx(t) {
9263
9232
  const { guide: e, axis: i, guideLabelConfig: a } = t, o = e.get("label");
9264
9233
  if (o !== void 0) {
9265
- Ou(o), Ir(o.uid, { isGuide: !0, guideLabelConfig: a });
9234
+ wu(o), Ir(o.uid, { isGuide: !0, guideLabelConfig: a });
9266
9235
  const { chart: n } = i;
9267
9236
  n !== void 0 && aa({
9268
9237
  chart: n,
9269
9238
  label: o,
9270
9239
  labelType: Z.GuideLabel
9271
- }), sx({ axis: i, guide: e, label: o });
9240
+ }), nx({ axis: i, guide: e, label: o });
9272
9241
  }
9273
9242
  }
9274
- function lx(t) {
9243
+ function rx(t) {
9275
9244
  const { axis: e, guide: i, guideConfig: a, guideType: o } = t, n = i?.get("label");
9276
9245
  if (n !== void 0)
9277
9246
  if (a.label !== void 0) {
@@ -9298,6 +9267,37 @@ function lx(t) {
9298
9267
  } else
9299
9268
  oe(n, !1);
9300
9269
  }
9270
+ function Dr(t) {
9271
+ return t != null && !t.isDisposed();
9272
+ }
9273
+ function lx(t) {
9274
+ let e;
9275
+ if (t != null) {
9276
+ const i = t;
9277
+ if (i instanceof Oa)
9278
+ e = i.chart;
9279
+ else {
9280
+ const a = i.dataItem?.component;
9281
+ a instanceof Oa && (e = a.chart);
9282
+ }
9283
+ }
9284
+ return e;
9285
+ }
9286
+ function Du(t) {
9287
+ let e;
9288
+ if (t) {
9289
+ const a = t.get("background")?.get("fill");
9290
+ if (a) {
9291
+ const { r: o, g: n, b: s } = a;
9292
+ e = [Math.round(o), Math.round(n), Math.round(s), 255];
9293
+ }
9294
+ }
9295
+ return e;
9296
+ }
9297
+ function Ou(t) {
9298
+ const e = ro(t), { r: i, g: a, b: o } = e;
9299
+ return { r: i, g: a, b: o };
9300
+ }
9301
9301
  function cx(t) {
9302
9302
  const e = t.dataItem?.component;
9303
9303
  e instanceof pe ? (e.uid !== void 0 ? ie(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof Oe ? e.columns?.template?.adapters?.remove?.("fill") : e instanceof ht && e.slices?.template?.adapters?.remove?.("fill");
@@ -9326,7 +9326,7 @@ function tn(t, e) {
9326
9326
  function Ru(t) {
9327
9327
  const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
9328
9328
  let s;
9329
- return e !== void 0 && i !== void 0 && (s = Dr({
9329
+ return e !== void 0 && i !== void 0 && (s = wr({
9330
9330
  symbol: i,
9331
9331
  defaultToColorFromRamp: o,
9332
9332
  colorRampIndex: n
@@ -9352,10 +9352,10 @@ function Ei(t) {
9352
9352
  isChartFillSymbol: r,
9353
9353
  keepCurrentVisibility: l,
9354
9354
  chartBackgroundColor: c
9355
- } = t, u = zc(a?.style), d = UC(i), f = c ?? (u ? vu(d) ?? [...v.backgroundColor] : void 0);
9355
+ } = t, u = zc(a?.style), d = lx(i), f = c ?? (u ? Du(d) ?? [...v.backgroundColor] : void 0);
9356
9356
  let g;
9357
9357
  if (i !== void 0 && !i.isDisposed()) {
9358
- if (a !== void 0 && (g = Dr({
9358
+ if (a !== void 0 && (g = wr({
9359
9359
  root: e,
9360
9360
  symbol: a,
9361
9361
  defaultToColorFromRamp: n,
@@ -9379,7 +9379,7 @@ function Ei(t) {
9379
9379
  function qt(t) {
9380
9380
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
9381
9381
  let s;
9382
- return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = Dr({
9382
+ return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = wr({
9383
9383
  symbol: i,
9384
9384
  defaultToColorFromRamp: o,
9385
9385
  colorRampIndex: n
@@ -10194,7 +10194,7 @@ function Bx(t) {
10194
10194
  }
10195
10195
  function Wl(t, e) {
10196
10196
  if (e !== void 0) {
10197
- const i = Lu(e);
10197
+ const i = Ou(e);
10198
10198
  i !== void 0 && t.label.setAll({
10199
10199
  fill: Mo({ r: i.r, g: i.g, b: i.b, a: 1 }) ? ro("#000000") : ro("#ffffff")
10200
10200
  });
@@ -12268,7 +12268,7 @@ function ha(t) {
12268
12268
  computedSelectionDataItems: void 0,
12269
12269
  computedSelectionIndexes: void 0,
12270
12270
  pendingSelectionQueries: !1
12271
- }), wr(e) && Hv(e), a && Ea({
12271
+ }), Dr(e) && Hv(e), a && Ea({
12272
12272
  data: {
12273
12273
  selectionSource: i ?? $e.ClearSelection
12274
12274
  },
@@ -13234,7 +13234,7 @@ function xf(t) {
13234
13234
  const { type: r } = s;
13235
13235
  r === "selection" ? mL(s.callbackProps) : (oe(e, a.visible), s.styleCallback());
13236
13236
  }, n = w(e.chart?.uid ?? Number.NaN, "config");
13237
- n && Fu({
13237
+ n && vu({
13238
13238
  series: e,
13239
13239
  chartConfig: n,
13240
13240
  whenReadyCallback: () => o(i)
@@ -14153,7 +14153,7 @@ function zr(t, e) {
14153
14153
  }
14154
14154
  function YL(t) {
14155
14155
  const { axis: e, guideConfig: i, above: a } = t, o = i !== void 0, n = e.axisRanges.length, s = e.axisRanges.insertIndex(n, e.makeDataItem({ above: a }));
14156
- o && (a === !0 && s.get("axisFill")?.setAll({ layer: v.zIndexes.guide }), rx({ guide: s, axis: e, guideLabelConfig: i?.label }));
14156
+ o && (a === !0 && s.get("axisFill")?.setAll({ layer: v.zIndexes.guide }), sx({ guide: s, axis: e, guideLabelConfig: i?.label }));
14157
14157
  const r = s.get("axisFill");
14158
14158
  r !== void 0 && r.setAll({ disabled: !0, fillOpacity: 1 });
14159
14159
  const l = s.get("grid");
@@ -14243,7 +14243,7 @@ function KL(t) {
14243
14243
  element: o,
14244
14244
  fillSymbol: a.style,
14245
14245
  visible: a.visible
14246
- }), lx({ axis: e, guide: i, guideConfig: a, guideType: a.style.type }), i.get("axisFill")?.setAll({ layer: a.above ? v.zIndexes.guide : 0 });
14246
+ }), rx({ axis: e, guide: i, guideConfig: a, guideType: a.style.type }), i.get("axisFill")?.setAll({ layer: a.above ? v.zIndexes.guide : 0 });
14247
14247
  const { chart: s } = e;
14248
14248
  } else
14249
14249
  o !== void 0 && o.set("disabled", !0), n !== void 0 && n.set("disabled", !0);
@@ -15376,7 +15376,7 @@ function E0(t) {
15376
15376
  defaultToColorFromRamp: !0,
15377
15377
  colorRampIndex: a,
15378
15378
  isChartFillSymbol: !0,
15379
- chartBackgroundColor: vu(e.chart) ?? [...v.backgroundColor]
15379
+ chartBackgroundColor: Du(e.chart) ?? [...v.backgroundColor]
15380
15380
  }), e.columns.length === 0 ? p = yt({
15381
15381
  root: l,
15382
15382
  seriesIndex: a,
@@ -17057,7 +17057,7 @@ function YF(t) {
17057
17057
  }
17058
17058
  async function UF(t) {
17059
17059
  const { chart: e, queryObject: i, errorStrings: a } = t;
17060
- if (wr(e)) {
17060
+ if (Dr(e)) {
17061
17061
  const o = w(e.uid, "actionMode");
17062
17062
  o !== q.MonoSelection && o !== q.None && (e.series.each((n) => {
17063
17063
  switch (!0) {
@@ -17145,7 +17145,7 @@ function KF(t) {
17145
17145
  }
17146
17146
  function As(t) {
17147
17147
  const { chart: e, actionMode: i, cursorRange: a } = t;
17148
- if (wr(e)) {
17148
+ if (Dr(e)) {
17149
17149
  const o = i ?? w(e.uid, "actionMode") ?? v.actionMode;
17150
17150
  Re(e.uid, { actionMode: o }), o === q.None && ha({ chart: e, selectionSource: $e.ClearSelection }), D0({ chart: e, actionMode: o, cursorRange: a });
17151
17151
  }
@@ -17441,7 +17441,7 @@ function iA(t) {
17441
17441
  heatRulesTypeChanged: U,
17442
17442
  heatLegendPositionChanged: ge,
17443
17443
  queryObject: p
17444
- }), As({ chart: e, actionMode: s?.actionMode, cursorRange: s?.cursorRange }), Au({ chart: e, chartConfig: n, delayCallback: r });
17444
+ }), As({ chart: e, actionMode: s?.actionMode, cursorRange: s?.cursorRange }), Lu({ chart: e, chartConfig: n, delayCallback: r });
17445
17445
  }
17446
17446
  function aA(t) {
17447
17447
  const { chart: e, data: i, chartConfig: a, pieSlicesSymbols: o, options: n, queryObject: s, utilsStrings: r, errorStrings: l } = t;
@@ -17522,7 +17522,7 @@ function nA(t) {
17522
17522
  } = t, { errorStrings: d, utilsStrings: f, amChartsStrings: g } = l, { data: h, queryConfig: p, count: b, gaugeMinMaxFromData: S = {} } = u ?? {};
17523
17523
  qF();
17524
17524
  const C = QF(e);
17525
- qC(C, r?.animationEnabled), jC(C, r?.enableResponsiveFeatures);
17525
+ jC(C, r?.animationEnabled), UC(C, r?.enableResponsiveFeatures);
17526
17526
  const x = JF(C, i);
17527
17527
  KF({ chart: x, chartContainer: e, chartLocale: g });
17528
17528
  let L;
@@ -17585,7 +17585,7 @@ function nA(t) {
17585
17585
  showEmptySeries: a?.showEmptySeries ?? a?.hideEmptySeries === !1,
17586
17586
  seriesConfig: i.series,
17587
17587
  queryObject: c
17588
- })), As({ chart: x, actionMode: a?.actionMode, cursorRange: a?.cursorRange }), _v(x), Au({ chart: x, chartConfig: i, delayCallback: !0 });
17588
+ })), As({ chart: x, actionMode: a?.actionMode, cursorRange: a?.cursorRange }), _v(x), Lu({ chart: x, chartConfig: i, delayCallback: !0 });
17589
17589
  }
17590
17590
  function A() {
17591
17591
  HL(x);
@@ -17658,7 +17658,7 @@ function rA(t, e) {
17658
17658
  function Ka(t) {
17659
17659
  let e;
17660
17660
  if (t) {
17661
- const i = Lu(t);
17661
+ const i = Ou(t);
17662
17662
  i && (e = [i.r, i.g, i.b, 255]);
17663
17663
  }
17664
17664
  return e;