@arcgis/charts-components 5.2.0-next.124 → 5.2.0-next.126

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 (188) hide show
  1. package/dist/cdn/{4UYG2V6P.js → 2IW2QZFJ.js} +1 -1
  2. package/dist/cdn/{CB3BW4H5.js → 2PJPH3IO.js} +1 -1
  3. package/dist/cdn/{WTMEWLUJ.js → 3W4HHL2V.js} +1 -1
  4. package/dist/cdn/{32RVL6OQ.js → 4MAJ24GS.js} +1 -1
  5. package/dist/cdn/4U3OAZA7.js +2 -0
  6. package/dist/cdn/{BQMUOJL7.js → 4VFEZCIA.js} +1 -1
  7. package/dist/cdn/{MQI4ZLAS.js → 5434ASC3.js} +1 -1
  8. package/dist/cdn/{NCOXA4CE.js → 56LNZVTX.js} +1 -1
  9. package/dist/cdn/{HFFXDWQL.js → 57SE2XVZ.js} +1 -1
  10. package/dist/cdn/{DYCZXSJG.js → 5BMODU2D.js} +1 -1
  11. package/dist/cdn/{BQMDOKAK.js → 5BNYRPXI.js} +1 -1
  12. package/dist/cdn/{H4UKMJ3M.js → 5MDZB2JE.js} +1 -1
  13. package/dist/cdn/{VP5MGMQP.js → 5R7ZWTMY.js} +1 -1
  14. package/dist/cdn/6664UEHL.js +2 -0
  15. package/dist/cdn/{N4YN5XHL.js → 6AKXJHB7.js} +1 -1
  16. package/dist/cdn/{CQORXOQS.js → 6GTMALBB.js} +1 -1
  17. package/dist/cdn/{YW6WBDZV.js → 6MHADUGC.js} +1 -1
  18. package/dist/cdn/{XIVGFLZQ.js → 6QIL7VBD.js} +1 -1
  19. package/dist/cdn/{GZA5OPRD.js → 763Z5IGF.js} +1 -1
  20. package/dist/cdn/7KZO2XXD.js +2 -0
  21. package/dist/cdn/{KYQWN5DR.js → 7OESRD4R.js} +1 -1
  22. package/dist/cdn/{UDQP2AFN.js → A5P6WB3G.js} +1 -1
  23. package/dist/cdn/{FK7MIBNE.js → AMVJMEWD.js} +1 -1
  24. package/dist/cdn/{A5CQKJHA.js → ANSNUR3I.js} +1 -1
  25. package/dist/cdn/{RDCTBV2Q.js → AOKEN5ZO.js} +1 -1
  26. package/dist/cdn/{EXCMERSU.js → AOO37P5T.js} +1 -1
  27. package/dist/cdn/{4GHJREG3.js → ASBXNQOS.js} +2 -2
  28. package/dist/cdn/{GCPA466R.js → B5VRC7DP.js} +1 -1
  29. package/dist/cdn/{RPUEIRTH.js → BGIUDL2K.js} +1 -1
  30. package/dist/cdn/{OO4U6KKQ.js → CD3XMKTK.js} +1 -1
  31. package/dist/cdn/{5V33DFCG.js → CRDOGPB7.js} +1 -1
  32. package/dist/cdn/{KILQBDSV.js → CW4JPG3J.js} +1 -1
  33. package/dist/cdn/DAB3SJBG.js +2 -0
  34. package/dist/cdn/{IJR65YQB.js → DX7M2EXK.js} +1 -1
  35. package/dist/cdn/{BUXZ2NBS.js → DXWP65HI.js} +1 -1
  36. package/dist/cdn/{6H6ZTNGY.js → E5JWMNIW.js} +1 -1
  37. package/dist/cdn/{IKH7UGJM.js → EJXBVT5O.js} +1 -1
  38. package/dist/cdn/{ITFMAKY3.js → EX2R2B4U.js} +1 -1
  39. package/dist/cdn/{WSSQILRB.js → F3UFKEVT.js} +1 -1
  40. package/dist/cdn/{5SYHQWPP.js → FASMW7S2.js} +1 -1
  41. package/dist/cdn/{WXO3YJ3T.js → G4MIOOVR.js} +1 -1
  42. package/dist/cdn/{MVJKABXP.js → GMP2UWJG.js} +1 -1
  43. package/dist/cdn/{O7NFMOTE.js → GZWV22RE.js} +1 -1
  44. package/dist/cdn/{STFT35NP.js → HKFQANWN.js} +1 -1
  45. package/dist/cdn/{3HZFE5JC.js → HQMCT3VB.js} +1 -1
  46. package/dist/cdn/I3LNZVEA.js +3 -0
  47. package/dist/cdn/{ZRYPRUVT.js → IBLYUVF2.js} +1 -1
  48. package/dist/cdn/{CR2U5KNC.js → IJAURACW.js} +1 -1
  49. package/dist/cdn/{C6YIO7EV.js → IS2A63E6.js} +1 -1
  50. package/dist/cdn/{PX7QCMDX.js → IYI6DUGL.js} +1 -1
  51. package/dist/cdn/{Q4HYSXEK.js → JOEBZXL4.js} +1 -1
  52. package/dist/cdn/{IGOJGDYE.js → JSUH5PFI.js} +1 -1
  53. package/dist/cdn/{JO4YQAFF.js → JZ6V5FKE.js} +1 -1
  54. package/dist/cdn/{IJKFUMKC.js → K3R6EK3N.js} +1 -1
  55. package/dist/cdn/{3IXFIA6D.js → KS4EBLYJ.js} +22 -22
  56. package/dist/cdn/{BF2U4V7S.js → KW4KLLTK.js} +1 -1
  57. package/dist/cdn/{W7HVSUF2.js → LE2B3JXK.js} +1 -1
  58. package/dist/cdn/{V4N4EY2E.js → LHGIUJ6U.js} +1 -1
  59. package/dist/cdn/{JNRJSGDP.js → LV3GHN5L.js} +1 -1
  60. package/dist/cdn/{JFXCJ6HT.js → M2WD5JN6.js} +1 -1
  61. package/dist/cdn/{SZYIWW3C.js → MRN3GTKF.js} +1 -1
  62. package/dist/cdn/{CKD62DZ4.js → N75HEDSD.js} +1 -1
  63. package/dist/cdn/{OCABBLZ7.js → NNRSK2LV.js} +1 -1
  64. package/dist/cdn/ONKX4PWR.js +2 -0
  65. package/dist/cdn/{3LEJV2CC.js → OR765GRF.js} +1 -1
  66. package/dist/cdn/{V4VQT6A6.js → PEHD5Y4I.js} +1 -1
  67. package/dist/cdn/{JSFNIFWE.js → QELGEYXU.js} +1 -1
  68. package/dist/cdn/QZHRLUXI.js +2 -0
  69. package/dist/cdn/{DPEEMYYB.js → RBTEJMJT.js} +1 -1
  70. package/dist/cdn/RD2OZ5DF.js +2 -0
  71. package/dist/cdn/{EFFUZV52.js → RPMGP2UN.js} +1 -1
  72. package/dist/cdn/{H3JLQ2R3.js → RS2T6377.js} +1 -1
  73. package/dist/cdn/SKRBORPC.js +2 -0
  74. package/dist/cdn/SL3ZM7G5.js +2 -0
  75. package/dist/cdn/{353KIT3L.js → SYSQA3IG.js} +1 -1
  76. package/dist/cdn/{IS7KQGMM.js → T6RCABY5.js} +1 -1
  77. package/dist/cdn/{TV3FXQVK.js → TCYUL3JC.js} +1 -1
  78. package/dist/cdn/{MOL3RVAG.js → TIVS64YH.js} +1 -1
  79. package/dist/cdn/{O34ACKBX.js → TPTH224R.js} +1 -1
  80. package/dist/cdn/{DCIQMSQ2.js → TRR5AXW7.js} +1 -1
  81. package/dist/cdn/{LUFRX5TB.js → UEAU7YQZ.js} +1 -1
  82. package/dist/cdn/{ZP4T262N.js → UPEMQGFY.js} +1 -1
  83. package/dist/cdn/{6CPDF77P.js → UY4AKYFU.js} +1 -1
  84. package/dist/cdn/{MDMJT2VS.js → UYFTXYBR.js} +1 -1
  85. package/dist/cdn/{M6L3GCVZ.js → V3HNAMD7.js} +1 -1
  86. package/dist/cdn/{QOZYAJXQ.js → VFVOONAN.js} +1 -1
  87. package/dist/cdn/{WVOXFKFO.js → VJG6ZEH4.js} +1 -1
  88. package/dist/cdn/{IW27UN5J.js → VSMUBBEN.js} +1 -1
  89. package/dist/cdn/{U2O4NGY5.js → VT2XOG5Y.js} +1 -1
  90. package/dist/cdn/{IJ3OJVJQ.js → W2QXMYBG.js} +1 -1
  91. package/dist/cdn/{7TM4LYGN.js → WG2TWSUV.js} +1 -1
  92. package/dist/cdn/{IYVSAR3D.js → WOENRIAM.js} +1 -1
  93. package/dist/cdn/{PETPI6FO.js → WQQMTR5J.js} +1 -1
  94. package/dist/cdn/{OY5HRHVW.js → WW7WSQXS.js} +1 -1
  95. package/dist/cdn/{MFJINTU5.js → YHQ5JR63.js} +1 -1
  96. package/dist/cdn/YQDW3D4E.js +2 -0
  97. package/dist/cdn/{METDO2QG.js → YRWKRJU4.js} +1 -1
  98. package/dist/cdn/{U2VHNPRE.js → YSLCFR5X.js} +1 -1
  99. package/dist/cdn/{CQLILZFZ.js → YSZKMYYU.js} +1 -1
  100. package/dist/cdn/{QSJV77RB.js → YUN3KGXG.js} +1 -1
  101. package/dist/cdn/Z5VGMG7G.js +2 -0
  102. package/dist/cdn/{ZTVR6KBG.js → ZUN46CYQ.js} +1 -1
  103. package/dist/cdn/index.js +1 -1
  104. package/dist/cdn/model/shared/setup-utils.js +1 -1
  105. package/dist/chunks/action-bar-utils.js +1 -1
  106. package/dist/chunks/box-plot-data.js +1 -1
  107. package/dist/chunks/box-plot-model.js +173 -117
  108. package/dist/chunks/chart-ui-utils.js +11 -11
  109. package/dist/chunks/class-breaks.js +1 -1
  110. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  111. package/dist/chunks/data.js +9 -9
  112. package/dist/chunks/generate-x-axis-title.js +15 -15
  113. package/dist/chunks/heat-chart-model.js +9 -0
  114. package/dist/chunks/index.js +1590 -1574
  115. package/dist/chunks/index2.js +7 -1
  116. package/dist/chunks/index3.js +15 -15
  117. package/dist/chunks/index4.js +7 -7
  118. package/dist/chunks/model-setter.js +21 -21
  119. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  120. package/dist/chunks/pie-chart-data.js +4 -4
  121. package/dist/chunks/pie-chart-model.js +102 -84
  122. package/dist/chunks/resource.js +1 -1
  123. package/dist/chunks/rounded-corners.js +1 -1
  124. package/dist/chunks/scatterplot-model.js +1 -1
  125. package/dist/chunks/serial-chart-data.js +71 -71
  126. package/dist/chunks/serial-chart-model.js +134 -79
  127. package/dist/chunks/type-guards2.js +17 -17
  128. package/dist/chunks/utils.js +123 -107
  129. package/dist/chunks/web-component-utils.js +9 -9
  130. package/dist/chunks/x-bounds.js +21 -21
  131. package/dist/components/arcgis-chart/customElement.js +4775 -4653
  132. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-axis/customElement.js +52 -42
  134. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -11
  136. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +6 -6
  137. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
  140. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  141. package/dist/components/arcgis-charts-config-format/customElement.js +6 -6
  142. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
  144. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +54 -63
  147. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +2 -2
  148. package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
  149. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +9 -9
  150. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  153. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
  154. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  156. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
  157. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  159. package/dist/docs/api.json +1 -1
  160. package/dist/docs/docs.json +1 -1
  161. package/dist/docs/web-types.json +1 -1
  162. package/dist/index.js +368 -366
  163. package/dist/interfaces.d.ts +3 -2
  164. package/dist/model/box-plot-model/box-plot-model.d.ts +20 -1
  165. package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -1
  166. package/dist/model/interfaces/chart-interfaces.d.ts +3 -0
  167. package/dist/model/interfaces/common.d.ts +2 -0
  168. package/dist/model/pie-chart-model/pie-chart-model.d.ts +13 -1
  169. package/dist/model/serial-chart-model/serial-chart-model.d.ts +20 -1
  170. package/dist/model/shared/setup-utils.d.ts +2 -0
  171. package/dist/model/shared/setup-utils.js +37 -36
  172. package/dist/utils/chart-config/converter/index.js +48 -48
  173. package/dist/utils/chart-config/utils/index.d.ts +20 -0
  174. package/dist/utils/data/interfaces.d.ts +1 -0
  175. package/package.json +4 -4
  176. package/dist/cdn/2TV4NKY2.js +0 -2
  177. package/dist/cdn/4YOIC4P4.js +0 -2
  178. package/dist/cdn/ELXF6XQQ.js +0 -2
  179. package/dist/cdn/EXLX4SJG.js +0 -2
  180. package/dist/cdn/GTBT4ACW.js +0 -2
  181. package/dist/cdn/HH5B6KCV.js +0 -2
  182. package/dist/cdn/KRNF2XCU.js +0 -2
  183. package/dist/cdn/KZBUDNHW.js +0 -2
  184. package/dist/cdn/KZSCAJDG.js +0 -2
  185. package/dist/cdn/LBX6U6EK.js +0 -3
  186. package/dist/cdn/Q4GIMFJ2.js +0 -2
  187. package/dist/cdn/XOTHROVZ.js +0 -2
  188. /package/dist/cdn/{225VUGML.js → IJPD3GVL.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { log as w } from "@arcgis/toolkit/log";
3
3
  import { a as g } from "./chart-object-literals.js";
4
- import { p as b, r as B } from "./index.js";
5
- import { i as E } from "./index4.js";
6
- import { a6 as p, ax as W, k as L, p as k, aw as R, af as j } from "./index3.js";
4
+ import { p as b, r as R } from "./index.js";
5
+ import { i as B } from "./index4.js";
6
+ import { a6 as p, ax as W, k as L, p as k, aw as E, af as j } from "./index3.js";
7
7
  import { a as f, b as K } from "./index2.js";
8
8
  import { C as q } from "./chart-model.js";
9
9
  import { m as s } from "./model-setter.js";
@@ -26,70 +26,72 @@ const C = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
26
26
  e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.valueLabelMaxWidth = t);
27
27
  }, ge = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
28
28
  e.series?.[0] && (e.series[0].innerRadius = t);
29
- }, de = (t) => t.series?.[0]?.dataLabelsCharacterLimit, ue = (t, e) => {
29
+ }, de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
30
+ e.series?.[0] && (e.series[0].innerRadius = t);
31
+ }, he = (t) => t.series?.[0]?.dataLabelsCharacterLimit, fe = (t, e) => {
30
32
  e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
31
- }, M = (t) => t.series[0]?.startAngle, he = (t, e) => {
33
+ }, M = (t) => t.series[0]?.startAngle, ye = (t, e) => {
32
34
  e.series?.[0] && (e.series[0].startAngle = t);
33
- }, fe = (t, e) => {
35
+ }, me = (t, e) => {
34
36
  e.series?.[0] && (e.series[0].endAngle = t);
35
- }, ye = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, me = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Se = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, be = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Oe = (t, e) => {
37
+ }, _e = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, Se = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, be = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, Oe = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, De = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Ce = (t, e) => {
36
38
  e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
37
- }, De = (t) => t.series?.[0]?.valuePrefix, Ce = (t, e) => {
39
+ }, ve = (t) => t.series?.[0]?.valuePrefix, Pe = (t, e) => {
38
40
  e.series?.[0] && (e.series[0].valuePrefix = t);
39
- }, ve = (t) => t.series?.[0]?.valueSuffix, Pe = (t, e) => {
41
+ }, Ie = (t) => t.series?.[0]?.valueSuffix, Te = (t, e) => {
40
42
  e.series?.[0] && (e.series[0].valueSuffix = t);
41
- }, Ie = (t) => t.series?.[0]?.percentagePrefix, Te = (t, e) => {
43
+ }, Ve = (t) => t.series?.[0]?.percentagePrefix, xe = (t, e) => {
42
44
  e.series?.[0] && (e.series[0].percentagePrefix = t);
43
- }, Ve = (t) => t.series?.[0]?.percentageSuffix, xe = (t, e) => {
45
+ }, Ne = (t) => t.series?.[0]?.percentageSuffix, Me = (t, e) => {
44
46
  e.series?.[0] && (e.series[0].percentageSuffix = t);
45
- }, Ne = (t) => {
47
+ }, Fe = (t) => {
46
48
  let e;
47
49
  const a = t.series?.[0];
48
50
  return a?.displayNumericValueOnDataLabel === !0 && a?.displayPercentageOnDataLabel === !0 ? e = n.Both : a?.displayNumericValueOnDataLabel === !0 ? e = n.Value : e = n.Percentage, e;
49
- }, Me = (t, e) => {
51
+ }, We = (t, e) => {
50
52
  const a = t === n.Value || t === n.Both, o = t === n.Percentage || t === n.Both;
51
53
  e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = a, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
52
54
  ...e.legend,
53
55
  displayNumericValue: a,
54
56
  displayPercentage: o
55
57
  });
56
- }, Fe = (t) => t.series?.[0]?.alignDataLabels ?? !1, We = (t, e) => {
58
+ }, ke = (t) => t.series?.[0]?.alignDataLabels ?? !1, Ae = (t, e) => {
57
59
  e.series[0] && (e.series[0].alignDataLabels = t);
58
- }, ke = (t) => t.series?.[0]?.dataLabelsInside ?? !1, Ae = (t, e) => {
60
+ }, Ge = (t) => t.series?.[0]?.dataLabelsInside ?? !1, ze = (t, e) => {
59
61
  e.series[0] && (e.series[0].dataLabelsInside = t);
60
- }, Ge = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ze = (t, e) => {
62
+ }, we = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, Re = (t, e) => {
61
63
  e.series[0] && (e.series[0].dataLabelsOffset = t);
62
- }, we = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Be = (t, e) => {
64
+ }, Be = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Ee = (t, e) => {
63
65
  e.series?.[0] && (e.series[0].numericValueFormat ??= L(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= L(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
64
- }, Ee = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Re = (t, e) => {
66
+ }, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ke = (t, e) => {
65
67
  e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
66
- }, je = (t) => t.series[0]?.ticks?.visible ?? !1, Ke = (t, e) => {
68
+ }, qe = (t) => t.series[0]?.ticks?.visible ?? !1, He = (t, e) => {
67
69
  e.series?.[0] && (e.series[0].ticks ??= W(), e.series[0].ticks.visible = t);
68
- }, qe = (t) => t.series[0]?.ticks?.lineSymbol, He = (t, e) => {
70
+ }, Je = (t) => t.series[0]?.ticks?.lineSymbol, Qe = (t, e) => {
69
71
  t && e.series?.[0] && (e.series[0].ticks ??= W(), e.series[0].ticks.lineSymbol = le(t));
70
- }, Je = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ue = (t, e, a) => {
72
+ }, Ue = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ye = (t, e, a) => {
71
73
  a.series?.[0]?.slices?.[e] && (a.series[0].slices[e].label = t);
72
- }, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ye = (t, e, a) => {
74
+ }, Ze = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, $e = (t, e, a) => {
73
75
  const o = a.series?.[0]?.slices?.[e]?.fillSymbol;
74
76
  o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: _.SLS, color: t }) : a.series?.[0]?.slices?.[e] !== void 0 && (a.series[0].slices[e].fillSymbol = {
75
77
  type: _.SFS,
76
78
  color: t,
77
79
  outline: { type: _.SLS, color: t }
78
80
  });
79
- }, Ze = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), F = (t, e) => {
81
+ }, et = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), F = (t, e) => {
80
82
  e.series?.[0]?.slices?.sort(
81
83
  (a, o) => t.findIndex((l) => a.sliceId === l) - t.findIndex((l) => o.sliceId === l)
82
84
  );
83
- }, $e = (t) => t.series?.[0]?.sliceGrouping, A = (t, e) => {
85
+ }, tt = (t) => t.series?.[0]?.sliceGrouping, A = (t, e) => {
84
86
  e.series?.[0] && (e.series[0].sliceGrouping = t);
85
- }, G = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, et = (t, e) => {
87
+ }, G = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, it = (t, e) => {
86
88
  e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
87
89
  sliceId: k.defaultGroupOfSlicesId,
88
90
  percentageThreshold: t
89
91
  };
90
- }, tt = (t) => t.series?.[0]?.slices, z = (t, e) => {
92
+ }, st = (t) => t.series?.[0]?.slices, z = (t, e) => {
91
93
  e.series?.[0] && (e.series[0].slices = t);
92
- }, it = (t) => {
94
+ }, rt = (t) => {
93
95
  z(void 0, t), A(
94
96
  {
95
97
  sliceId: k.defaultGroupOfSlicesId,
@@ -97,11 +99,11 @@ const C = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
97
99
  },
98
100
  t
99
101
  );
100
- }, st = (t, e) => e.series[0]?.slices?.[t]?.sliceId, rt = (t, e) => e.series[0]?.slices?.findIndex((a) => a.sliceId === t), at = (t) => t.series[0]?.slices?.length ?? 0;
101
- var ot = Object.defineProperty, lt = Object.getOwnPropertyDescriptor, r = (t, e, a, o) => {
102
- for (var l = lt(e, a), c = t.length - 1, d; c >= 0; c--)
102
+ }, at = (t, e) => e.series[0]?.slices?.[t]?.sliceId, ot = (t, e) => e.series[0]?.slices?.findIndex((a) => a.sliceId === t), lt = (t) => t.series[0]?.slices?.length ?? 0;
103
+ var nt = Object.defineProperty, ct = Object.getOwnPropertyDescriptor, r = (t, e, a, o) => {
104
+ for (var l = ct(e, a), c = t.length - 1, d; c >= 0; c--)
103
105
  (d = t[c]) && (l = d(e, a, l) || l);
104
- return l && ot(e, a, l), l;
106
+ return l && nt(e, a, l), l;
105
107
  };
106
108
  class i extends q {
107
109
  constructor() {
@@ -130,7 +132,7 @@ class i extends q {
130
132
  return h(this._config);
131
133
  }
132
134
  set category(e) {
133
- (!E(this._config) || e.trim() !== "") && (this._mode = y({
135
+ (!B(this._config) || e.trim() !== "") && (this._mode = y({
134
136
  category: e,
135
137
  numericFields: m(this._config),
136
138
  fallbackMode: this._mode
@@ -250,10 +252,10 @@ class i extends q {
250
252
  * Ticks symbol connecting slices to labels.
251
253
  */
252
254
  get ticksSymbol() {
253
- return qe(this._config);
255
+ return Je(this._config);
254
256
  }
255
257
  set ticksSymbol(e) {
256
- He(e, this._config);
258
+ Qe(e, this._config);
257
259
  }
258
260
  // ---------------------------------------------------------------------------------------------
259
261
  // #region Slices Props
@@ -262,7 +264,7 @@ class i extends q {
262
264
  * Array of slices for the pie chart.
263
265
  */
264
266
  get slices() {
265
- return tt(this._config);
267
+ return st(this._config);
266
268
  }
267
269
  set slices(e) {
268
270
  z(e, this._config);
@@ -280,13 +282,16 @@ class i extends q {
280
282
  * Slice grouping configuration for the pie chart.
281
283
  */
282
284
  get sliceGrouping() {
283
- return $e(this._config);
285
+ return tt(this._config);
284
286
  }
285
287
  set sliceGrouping(e) {
286
288
  A(e, this._config);
287
289
  }
288
290
  /**
289
291
  * Inner radius size for the pie chart.
292
+ *
293
+ * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#innerRadius innerRadius} instead.
294
+ * This property will be removed from `PieChartModel` in 6.0.
290
295
  */
291
296
  get innerRadiusSize() {
292
297
  return ge(this._config) ?? 0;
@@ -294,6 +299,16 @@ class i extends q {
294
299
  set innerRadiusSize(e) {
295
300
  pe(e, this._config);
296
301
  }
302
+ /**
303
+ * Inner radius of the pie chart.
304
+ * @since 5.2
305
+ */
306
+ get innerRadius() {
307
+ return de(this._config) ?? 0;
308
+ }
309
+ set innerRadius(e) {
310
+ ue(e, this._config);
311
+ }
297
312
  /**
298
313
  * Threshold below which slices will be grouped.
299
314
  */
@@ -301,42 +316,42 @@ class i extends q {
301
316
  return G(this._config) ?? 0;
302
317
  }
303
318
  set groupingThreshold(e) {
304
- et(e, this._config);
319
+ it(e, this._config);
305
320
  }
306
321
  /**
307
322
  * Character limit for the slice labels.
308
323
  */
309
324
  get labelCharacterLimit() {
310
- return de(this._config) ?? null;
325
+ return he(this._config) ?? null;
311
326
  }
312
327
  set labelCharacterLimit(e) {
313
- ue(e, this._config);
328
+ fe(e, this._config);
314
329
  }
315
330
  /**
316
331
  * Number of decimal places to display in the slice values.
317
332
  */
318
333
  get decimalPlaces() {
319
- return we(this._config) ?? 1;
334
+ return Be(this._config) ?? 1;
320
335
  }
321
336
  set decimalPlaces(e) {
322
- Be(e, this._config);
337
+ Ee(e, this._config);
323
338
  }
324
339
  /**
325
340
  * Display type for the pie chart slices. Specifies whether to display the slices as a `percentage`, `value`, or `both`.
326
341
  */
327
342
  get displayType() {
328
- return Ne(this._config);
343
+ return Fe(this._config);
329
344
  }
330
345
  set displayType(e) {
331
- Me(e, this._config);
346
+ We(e, this._config);
332
347
  }
333
348
  // ---------------------------------------------------------------------------------------------
334
349
  // #region Protected methods
335
350
  // ---------------------------------------------------------------------------------------------
336
351
  /** @private */
337
352
  generateDefaultConfig() {
338
- const e = R(this.commonStrings);
339
- return e.series = [j(this.commonStrings, B(this.layerInfo.layer).idField)], e;
353
+ const e = E(this.commonStrings);
354
+ return e.series = [j(this.commonStrings, R(this.layerInfo.layer).idField)], e;
340
355
  }
341
356
  // ---------------------------------------------------------------------------------------------
342
357
  // #region Series Methods
@@ -347,7 +362,7 @@ class i extends q {
347
362
  * @param sliceIndex - The index of the slice.
348
363
  */
349
364
  getOriginalSliceName(e) {
350
- return Je(e, this._config);
365
+ return Ue(e, this._config);
351
366
  }
352
367
  /**
353
368
  * Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -355,11 +370,11 @@ class i extends q {
355
370
  * @param sliceIndex - The index of the slice.
356
371
  */
357
372
  getSliceName(e) {
358
- return Qe(e, this._config);
373
+ return Xe(e, this._config);
359
374
  }
360
375
  setSliceName(e, a) {
361
376
  const o = this.getSliceId(a);
362
- o !== void 0 && this._customizedSliceIds.push(o), Ue(e, a, this._config);
377
+ o !== void 0 && this._customizedSliceIds.push(o), Ye(e, a, this._config);
363
378
  }
364
379
  /**
365
380
  * Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -367,17 +382,17 @@ class i extends q {
367
382
  * @param sliceIndex - The index of the slice.
368
383
  */
369
384
  getSliceColor(e) {
370
- return Xe(e, this._config);
385
+ return Ze(e, this._config);
371
386
  }
372
387
  setSliceColor(e, a) {
373
388
  const o = this.getSliceId(a);
374
- e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o), Ye(e, a, this._config);
389
+ e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o), $e(e, a, this._config);
375
390
  }
376
391
  /**
377
392
  * Order of the slice array by returning an array of slice ids
378
393
  */
379
394
  get orderOfSlices() {
380
- return Ze(this._config);
395
+ return et(this._config);
381
396
  }
382
397
  set orderOfSlices(e) {
383
398
  e !== void 0 && F(e, this._config);
@@ -395,7 +410,7 @@ class i extends q {
395
410
  * @param sliceIndex - The index of the slice.
396
411
  */
397
412
  getSliceId(e) {
398
- return st(e, this._config);
413
+ return at(e, this._config);
399
414
  }
400
415
  /**
401
416
  * Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
@@ -403,16 +418,16 @@ class i extends q {
403
418
  * @param sliceId - The id of the slice.
404
419
  */
405
420
  getSliceIndex(e) {
406
- return rt(e, this._config);
421
+ return ot(e, this._config);
407
422
  }
408
423
  /**
409
424
  * Gets the length of the slices array.
410
425
  */
411
426
  getSlicesLength() {
412
- return at(this._config);
427
+ return lt(this._config);
413
428
  }
414
429
  resetSlices() {
415
- this._customizedSliceIds = [], it(this._config);
430
+ this._customizedSliceIds = [], rt(this._config);
416
431
  }
417
432
  /**
418
433
  * Returns whether the series styling is able to be reset.
@@ -434,10 +449,10 @@ class i extends q {
434
449
  * Visibility of the ticks.
435
450
  */
436
451
  get ticksVisibility() {
437
- return je(this._config);
452
+ return qe(this._config);
438
453
  }
439
454
  set ticksVisibility(e) {
440
- Ke(e, this._config);
455
+ He(e, this._config);
441
456
  }
442
457
  /**
443
458
  * Start angle of the pie chart.
@@ -446,7 +461,7 @@ class i extends q {
446
461
  return M(this._config);
447
462
  }
448
463
  set startAngle(e) {
449
- he(e, this._config);
464
+ ye(e, this._config);
450
465
  }
451
466
  /**
452
467
  * End angle of the pie chart.
@@ -455,14 +470,14 @@ class i extends q {
455
470
  return M(this._config);
456
471
  }
457
472
  set endAngle(e) {
458
- fe(e, this._config);
473
+ me(e, this._config);
459
474
  }
460
475
  /**
461
476
  * Whether to display the category on the data label.
462
477
  * **Note:** If the setting is not found in the config, it will default to `true`.
463
478
  */
464
479
  get displayCategoryOnDataLabel() {
465
- return me(this._config);
480
+ return Se(this._config);
466
481
  }
467
482
  set displayCategoryOnDataLabel(e) {
468
483
  this._config.series[0].displayCategoryOnDataLabel = e;
@@ -473,7 +488,7 @@ class i extends q {
473
488
  * **Note**: If the setting is not found in the config, it will default to `true`.
474
489
  */
475
490
  get displayCategoryValueOnTooltip() {
476
- return ye(this._config);
491
+ return _e(this._config);
477
492
  }
478
493
  set displayCategoryValueOnTooltip(e) {
479
494
  this._config.series[0].displayCategoryOnTooltip = e;
@@ -483,7 +498,7 @@ class i extends q {
483
498
  * **Note:** If the setting is not found in the config, it will default to `true`.
484
499
  */
485
500
  get displayNumericValueOnDataLabel() {
486
- return _e(this._config);
501
+ return be(this._config);
487
502
  }
488
503
  set displayNumericValueOnDataLabel(e) {
489
504
  this._config.series[0].displayNumericValueOnDataLabel = e;
@@ -494,7 +509,7 @@ class i extends q {
494
509
  * **Note:** If the setting is not found in the config, it will default to `true`.
495
510
  */
496
511
  get displayPercentageOnDataLabel() {
497
- return Se(this._config);
512
+ return Le(this._config);
498
513
  }
499
514
  set displayPercentageOnDataLabel(e) {
500
515
  this._config.series[0].displayPercentageOnDataLabel = e;
@@ -505,7 +520,7 @@ class i extends q {
505
520
  * **Note**: If the setting is not found in the config, it will default to `true`.
506
521
  */
507
522
  get displayNumericValueOnTooltip() {
508
- return be(this._config);
523
+ return Oe(this._config);
509
524
  }
510
525
  set displayNumericValueOnTooltip(e) {
511
526
  this._config.series[0].displayNumericValueOnTooltip = e;
@@ -516,82 +531,82 @@ class i extends q {
516
531
  * **Note**: If the setting is not found in the config, it will default to `true`.
517
532
  */
518
533
  get displayPercentageOnTooltip() {
519
- return Le(this._config);
534
+ return De(this._config);
520
535
  }
521
536
  set displayPercentageOnTooltip(e) {
522
- Oe(e, this._config);
537
+ Ce(e, this._config);
523
538
  }
524
539
  /**
525
540
  * Prefix of the values of the slices.
526
541
  */
527
542
  get valuePrefix() {
528
- return De(this._config);
543
+ return ve(this._config);
529
544
  }
530
545
  set valuePrefix(e) {
531
- Ce(e, this._config);
546
+ Pe(e, this._config);
532
547
  }
533
548
  /**
534
549
  * Suffix of the values of the slice.
535
550
  */
536
551
  get valueSuffix() {
537
- return ve(this._config);
552
+ return Ie(this._config);
538
553
  }
539
554
  set valueSuffix(e) {
540
- Pe(e, this._config);
555
+ Te(e, this._config);
541
556
  }
542
557
  /**
543
558
  * Prefix of the percentages of the slices.
544
559
  */
545
560
  get percentagePrefix() {
546
- return Ie(this._config);
561
+ return Ve(this._config);
547
562
  }
548
563
  set percentagePrefix(e) {
549
- Te(e, this._config);
564
+ xe(e, this._config);
550
565
  }
551
566
  /**
552
567
  * Suffix of the percentages of the slices.
553
568
  */
554
569
  get percentageSuffix() {
555
- return Ve(this._config);
570
+ return Ne(this._config);
556
571
  }
557
572
  set percentageSuffix(e) {
558
- xe(e, this._config);
573
+ Me(e, this._config);
559
574
  }
560
575
  /**
561
576
  * Offset for the data labels.
562
577
  */
563
578
  get dataLabelsOffset() {
564
- return Ge(this._config);
579
+ return we(this._config);
565
580
  }
566
581
  set dataLabelsOffset(e) {
567
- ze(e, this._config);
582
+ Re(e, this._config);
568
583
  }
569
584
  /**
570
585
  * Align the data labels on the left or right side of the chart instead of the default position around the chart.
571
586
  */
572
587
  get alignDataLabels() {
573
- return Fe(this._config);
588
+ return ke(this._config);
574
589
  }
575
590
  set alignDataLabels(e) {
576
- We(e, this._config);
591
+ Ae(e, this._config);
577
592
  }
578
593
  /**
579
594
  * Setting for placing the data labels inside of the slices.
580
595
  */
581
596
  get dataLabelsInside() {
582
- return ke(this._config);
597
+ return Ge(this._config);
583
598
  }
584
599
  set dataLabelsInside(e) {
585
- Ae(e, this._config);
600
+ ze(e, this._config);
586
601
  }
587
602
  /**
588
603
  * Optimize data labels overlapping setting for the pie chart.
589
604
  */
590
605
  get optimizeDataLabelsOverlapping() {
591
- return Ee(this._config);
606
+ return je(this._config);
592
607
  }
593
608
  set optimizeDataLabelsOverlapping(e) {
594
- Re(e, this._config);
609
+ Ke(e, this._config);
595
610
  }
596
611
  // ---------------------------------------------------------------------------------------------
597
612
  // #region Legend Props
@@ -736,6 +751,9 @@ r([
736
751
  r([
737
752
  s
738
753
  ], i.prototype, "innerRadiusSize");
754
+ r([
755
+ s
756
+ ], i.prototype, "innerRadius");
739
757
  r([
740
758
  s
741
759
  ], i.prototype, "groupingThreshold");
@@ -841,14 +859,14 @@ r([
841
859
  r([
842
860
  s
843
861
  ], i.prototype, "displayCategory");
844
- const nt = [
862
+ const gt = [
845
863
  H,
846
864
  J,
847
865
  Q,
848
866
  U,
849
867
  X
850
868
  ];
851
- $(i, nt);
869
+ $(i, gt);
852
870
  export {
853
871
  i as PieChartModel
854
872
  };
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { o } from "./type-guards2.js";
2
+ import { q as o } from "./type-guards2.js";
3
3
  import { G as n } from "./common.js";
4
4
  const u = {
5
5
  addGuide: "add-guide",
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c2 as n } from "./index.js";
2
+ import { c4 as n } from "./index.js";
3
3
  import { C, m as u } from "./model-setter.js";
4
4
  import { al as h } from "./index3.js";
5
5
  const c = (r) => {
@@ -6,7 +6,7 @@ import { g as z } from "./series-length.js";
6
6
  import { g as b } from "./utils2.js";
7
7
  import { aB as m, B as w, az as k } from "./index3.js";
8
8
  import { b as y } from "./index2.js";
9
- import { bF as E } from "./index.js";
9
+ import { bH as E } from "./index.js";
10
10
  import { i as T } from "./index4.js";
11
11
  import { C as V } from "./chart-model.js";
12
12
  import { M as B, a as G, W as U, b as j } from "./data-labels-visibility.js";