@arcgis/charts-components 5.2.0-next.9 → 5.2.0-next.91

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 (482) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/2B4DKL3R.js +2 -0
  5. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  6. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  7. package/dist/cdn/3HG6OEAW.js +2 -0
  8. package/dist/cdn/3K7H52Y5.js +2 -0
  9. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  10. package/dist/cdn/{IYA7HQMS.js → 3ZNZH5XV.js} +1 -1
  11. package/dist/cdn/44ICH2UX.js +2 -0
  12. package/dist/cdn/4A42J7HF.js +2 -0
  13. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  14. package/dist/cdn/{3TZEMBXR.js → 4EWMZYXM.js} +1 -1
  15. package/dist/cdn/{TFPQDMER.js → 4JBUJYUG.js} +1 -1
  16. package/dist/cdn/4JMHK7HK.js +2 -0
  17. package/dist/cdn/{WASEMNYV.js → 4JWNKQ22.js} +1 -1
  18. package/dist/cdn/4O4L6CM3.js +2 -0
  19. package/dist/cdn/4QQRIMTI.js +2 -0
  20. package/dist/cdn/4VW736DF.js +2 -0
  21. package/dist/cdn/54LUEUIT.js +2 -0
  22. package/dist/cdn/57PMXO2G.js +2 -0
  23. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  24. package/dist/cdn/{XY4TRZCG.js → 5JV6PU34.js} +1 -1
  25. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  26. package/dist/cdn/5YBMIR4F.js +2 -0
  27. package/dist/cdn/62EUOXR7.js +45 -0
  28. package/dist/cdn/62GSQDTE.js +2 -0
  29. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  30. package/dist/cdn/65HVRSR6.js +2 -0
  31. package/dist/cdn/6K6Z6CQE.js +2 -0
  32. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  33. package/dist/cdn/73DFT5MR.js +2 -0
  34. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  35. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  36. package/dist/cdn/7HANUCEA.js +2 -0
  37. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  38. package/dist/cdn/{5SIAOUPO.js → AI2WUG3K.js} +1 -1
  39. package/dist/cdn/{XYKXBWIT.js → AKEVK6VK.js} +1 -1
  40. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  41. package/dist/cdn/{AASL4RKT.js → B4HOQOHS.js} +1 -1
  42. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  43. package/dist/cdn/{MK5ZYSOD.js → BG4CYK7C.js} +1 -1
  44. package/dist/cdn/BHJHX65O.js +2 -0
  45. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  46. package/dist/cdn/BYSUABOV.js +2 -0
  47. package/dist/cdn/BZEYWH2F.js +2 -0
  48. package/dist/cdn/BZIGQJAH.js +2 -0
  49. package/dist/cdn/{S3ZSZXYG.js → C6UUBWI2.js} +1 -1
  50. package/dist/cdn/CDWFPVYG.js +2 -0
  51. package/dist/cdn/{FWAXKDYV.js → CHHARRJP.js} +1 -1
  52. package/dist/cdn/{2GJX5OO6.js → CKRZTUGB.js} +1 -1
  53. package/dist/cdn/COSE26XR.js +2 -0
  54. package/dist/cdn/CPDE3ZSY.js +2 -0
  55. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  56. package/dist/cdn/{FOYOG3G7.js → D3ZXHZRV.js} +1 -1
  57. package/dist/cdn/D5O2M65G.js +2 -0
  58. package/dist/cdn/D7LBGWWL.js +2 -0
  59. package/dist/cdn/{ULWJ57VT.js → DF2SKHUD.js} +1 -1
  60. package/dist/cdn/DLCJMSYG.js +2 -0
  61. package/dist/cdn/DOE5S7EP.js +2 -0
  62. package/dist/cdn/{WAINRCCJ.js → E45CPXW6.js} +1 -1
  63. package/dist/cdn/EFXNPF4V.js +2 -0
  64. package/dist/cdn/ELNZ7PTF.js +2 -0
  65. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  66. package/dist/cdn/{N5ZUO6F3.js → ESBQKSZF.js} +1 -1
  67. package/dist/cdn/F66W272X.js +2 -0
  68. package/dist/cdn/F6VXAPTT.js +2 -0
  69. package/dist/cdn/{3JYZJUOM.js → FPM6WDQ4.js} +1 -1
  70. package/dist/cdn/{SSQ3VCZ2.js → FXBSBXWY.js} +1 -1
  71. package/dist/cdn/{H3EXGCE7.js → G7W2RL4I.js} +1 -1
  72. package/dist/cdn/GK6IJBRW.js +2 -0
  73. package/dist/cdn/GUMN6KPP.js +2 -0
  74. package/dist/cdn/{73BVFUAA.js → GUWBPR2H.js} +1 -1
  75. package/dist/cdn/GVJF3VFV.js +2 -0
  76. package/dist/cdn/{CHQDKVVQ.js → H2NVXIPH.js} +2 -2
  77. package/dist/cdn/H4R2P2BO.js +2 -0
  78. package/dist/cdn/HIVJRWLF.js +2 -0
  79. package/dist/cdn/{UYXCGSXU.js → HPNWQANQ.js} +1 -1
  80. package/dist/cdn/{UT4TYXFO.js → HSIYQNVK.js} +1 -1
  81. package/dist/cdn/{ANN3O54W.js → HVWOLFLT.js} +1 -1
  82. package/dist/cdn/HZEGDF6W.js +2 -0
  83. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  84. package/dist/cdn/{7QXRWMUN.js → IBLGAXGT.js} +1 -1
  85. package/dist/cdn/{LROW4Y6O.js → IC7XUYKD.js} +1 -1
  86. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  87. package/dist/cdn/IGE2Z7GO.js +2 -0
  88. package/dist/cdn/IHDWXIBS.js +3 -0
  89. package/dist/cdn/IIV6X3KV.js +2 -0
  90. package/dist/cdn/{RSNZMJ6I.js → IUZFB3JE.js} +1 -1
  91. package/dist/cdn/JSPNXGH3.js +2 -0
  92. package/dist/cdn/JXAPOWHG.js +2 -0
  93. package/dist/cdn/{RCK5VONL.js → KAUOH4F3.js} +1 -1
  94. package/dist/cdn/KHC2DMSU.js +2 -0
  95. package/dist/cdn/{PRFJNHPS.js → KHWZ54IX.js} +1 -1
  96. package/dist/cdn/{N4L5KE23.js → KIIS7OLN.js} +1 -1
  97. package/dist/cdn/KJAMXKR3.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/KPEBWOLJ.js +2 -0
  100. package/dist/cdn/KQUI4CT6.js +2 -0
  101. package/dist/cdn/KVWM73YN.js +2 -0
  102. package/dist/cdn/KYCNUCTQ.js +2 -0
  103. package/dist/cdn/KZ4SCRQT.js +2 -0
  104. package/dist/cdn/KZSCAJDG.js +2 -0
  105. package/dist/cdn/L5JZ5COY.js +2 -0
  106. package/dist/cdn/L6IM34J7.js +2 -0
  107. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  108. package/dist/cdn/LCJVASMQ.js +2 -0
  109. package/dist/cdn/{QR2OOC4D.js → LCRLYOX6.js} +1 -1
  110. package/dist/cdn/LJJPOUVA.js +2 -0
  111. package/dist/cdn/LKC6J4IQ.js +2 -0
  112. package/dist/cdn/LU7UO6PR.js +2 -0
  113. package/dist/cdn/LZ3ZRY2F.js +2 -0
  114. package/dist/cdn/{YKDW7ZW3.js → MCWIIGOW.js} +1 -1
  115. package/dist/cdn/MF2ZBHWI.js +2 -0
  116. package/dist/cdn/MTFWTSTG.js +2 -0
  117. package/dist/cdn/{BDGHBTPU.js → MW6VSJEF.js} +1 -1
  118. package/dist/cdn/{JRN2TZSV.js → N4XXKTCN.js} +1 -1
  119. package/dist/cdn/NGGJIQHT.js +2 -0
  120. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  123. package/dist/cdn/NYR4K242.js +2 -0
  124. package/dist/cdn/OCT2KA4Q.js +2 -0
  125. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  126. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  127. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  128. package/dist/cdn/OPMACXLA.js +2 -0
  129. package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
  130. package/dist/cdn/OQQIDPDH.js +2 -0
  131. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  132. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  133. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  134. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  135. package/dist/cdn/{4OH4NSIW.js → PSQDO4QK.js} +1 -1
  136. package/dist/cdn/PWJBGZPW.js +2 -0
  137. package/dist/cdn/{2OHFSVV5.js → PWSEK3XV.js} +1 -1
  138. package/dist/cdn/QBBUOEKF.js +4 -0
  139. package/dist/cdn/QFXCVZYG.js +2 -0
  140. package/dist/cdn/QIBUTVUN.js +2 -0
  141. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  142. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  143. package/dist/cdn/{X2LW7GTR.js → QOQ5QNZV.js} +1 -1
  144. package/dist/cdn/QVLDIB2N.js +2 -0
  145. package/dist/cdn/QYRHZJH3.js +2 -0
  146. package/dist/cdn/RAJO727X.js +2 -0
  147. package/dist/cdn/RCAJJ24P.js +2 -0
  148. package/dist/cdn/RPUEIRTH.js +2 -0
  149. package/dist/cdn/SBJGOYJL.js +2 -0
  150. package/dist/cdn/SBZKGQBV.js +2 -0
  151. package/dist/cdn/SJBJ2N5C.js +104 -0
  152. package/dist/cdn/{OXYJKZEP.js → SLQPIX6X.js} +1 -1
  153. package/dist/cdn/SMTDJE55.js +2 -0
  154. package/dist/cdn/SOR4DYKA.js +2 -0
  155. package/dist/cdn/SQHEWY2J.js +2 -0
  156. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  157. package/dist/cdn/SZNZAD56.js +2 -0
  158. package/dist/cdn/{ZBIVDGNH.js → SZXVQMQV.js} +1 -1
  159. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  160. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  161. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  162. package/dist/cdn/{VDKFC44J.js → TVKP2GAI.js} +1 -1
  163. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  164. package/dist/cdn/ULF3LG3W.js +2 -0
  165. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  166. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  167. package/dist/cdn/UZHQF5CV.js +2 -0
  168. package/dist/cdn/VBDLVCPP.js +2 -0
  169. package/dist/cdn/VCBFPEET.js +2 -0
  170. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  171. package/dist/cdn/{I6UPUSLQ.js → VQLXOQMY.js} +1 -1
  172. package/dist/cdn/VQU2TVX7.js +3 -0
  173. package/dist/cdn/VVOQ4Q2X.js +2 -0
  174. package/dist/cdn/{Y6ZCTPJW.js → WJY4AWHX.js} +1 -1
  175. package/dist/cdn/{L47EGLUH.js → WNDLNCF7.js} +1 -1
  176. package/dist/cdn/WOGALV3T.js +2 -0
  177. package/dist/cdn/{ZAHVBXAQ.js → WPLJ5BXE.js} +1 -1
  178. package/dist/cdn/WTABMFFY.js +2 -0
  179. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  180. package/dist/cdn/XW5I2M45.js +2 -0
  181. package/dist/cdn/XYJJ2PIL.js +2 -0
  182. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  183. package/dist/cdn/{SERX6V5M.js → YNED6356.js} +1 -1
  184. package/dist/cdn/YOUTTWJN.js +2 -0
  185. package/dist/cdn/YQL5A2WS.js +2 -0
  186. package/dist/cdn/YX7WAUQZ.js +2 -0
  187. package/dist/cdn/{XDMGH7YU.js → YZCWFNPW.js} +1 -1
  188. package/dist/cdn/{2XXW3WF3.js → ZEQF2W7Y.js} +1 -1
  189. package/dist/cdn/ZFHU5I2O.js +2 -0
  190. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  191. package/dist/cdn/{GQ3TDTO5.js → ZO4GRLG6.js} +1 -1
  192. package/dist/cdn/{OFWEHJDH.js → ZYK4DWCN.js} +1 -1
  193. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  194. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  196. package/dist/cdn/index.js +1 -1
  197. package/dist/cdn/main.css +1 -1
  198. package/dist/cdn/model/shared/setup-utils.js +1 -1
  199. package/dist/chart-rendering/common/interfaces.d.ts +46 -20
  200. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  201. package/dist/chunks/axis-lines-symbol.js +7 -7
  202. package/dist/chunks/bar-chart-model.js +46 -38
  203. package/dist/chunks/box-plot-data.js +291 -274
  204. package/dist/chunks/box-plot-model.js +143 -130
  205. package/dist/chunks/chart-model.js +194 -153
  206. package/dist/chunks/chart-object-literals.js +26 -25
  207. package/dist/chunks/chart-ui-utils.js +148 -66
  208. package/dist/chunks/chart-ui-utils2.js +68 -149
  209. package/dist/chunks/class-breaks.js +30 -30
  210. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  211. package/dist/chunks/data-labels-symbol.js +39 -24
  212. package/dist/chunks/data-labels-visibility.js +8 -8
  213. package/dist/chunks/data.js +68 -68
  214. package/dist/chunks/default.js +6 -6
  215. package/dist/chunks/gauge-model.js +61 -61
  216. package/dist/chunks/generate-x-axis-title.js +15 -15
  217. package/dist/chunks/heat-chart-model.js +95 -66
  218. package/dist/chunks/histogram-data.js +23 -23
  219. package/dist/chunks/histogram-model.js +9 -9
  220. package/dist/chunks/index.js +9401 -1079
  221. package/dist/chunks/index2.js +851 -8751
  222. package/dist/chunks/index3.js +1169 -847
  223. package/dist/chunks/index4.js +467 -250
  224. package/dist/chunks/index5.js +63 -100
  225. package/dist/chunks/interfaces.js +9 -9
  226. package/dist/chunks/line-chart-model.js +40 -24
  227. package/dist/chunks/model-setter.js +59 -64
  228. package/dist/chunks/model-types.js +1 -1
  229. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  230. package/dist/chunks/model-with-y-guides.js +52 -67
  231. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  232. package/dist/chunks/pie-chart-data.js +175 -193
  233. package/dist/chunks/pie-chart-model.js +388 -320
  234. package/dist/chunks/radar-chart-model.js +413 -46
  235. package/dist/chunks/resource.js +1 -1
  236. package/dist/chunks/rest-js-object-literals.js +10 -10
  237. package/dist/chunks/rotated-state.js +1 -1
  238. package/dist/chunks/rounded-corners.js +90 -0
  239. package/dist/chunks/scatterplot-model.js +12 -12
  240. package/dist/chunks/serial-chart-data.js +869 -746
  241. package/dist/chunks/serial-chart-model.js +145 -123
  242. package/dist/chunks/series-length.js +17 -17
  243. package/dist/chunks/series-types.js +22 -18
  244. package/dist/chunks/series.js +1 -1
  245. package/dist/chunks/type-guards.js +49 -23
  246. package/dist/chunks/type-guards2.js +61 -52
  247. package/dist/chunks/utils.js +101 -91
  248. package/dist/chunks/utils2.js +9 -9
  249. package/dist/chunks/web-component-utils.js +591 -540
  250. package/dist/chunks/x-bounds.js +98 -97
  251. package/dist/components/arcgis-chart/customElement.d.ts +611 -234
  252. package/dist/components/arcgis-chart/customElement.js +10433 -10078
  253. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  254. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  255. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  256. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  257. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
  258. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  259. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  260. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  261. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  262. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  263. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
  264. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  265. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  266. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  267. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  268. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  270. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
  273. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  274. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  275. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  276. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  277. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  278. package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
  279. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  280. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  282. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
  283. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  284. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +57 -58
  285. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  286. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  287. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  288. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  289. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  290. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  291. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  292. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  293. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  294. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  295. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  296. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  297. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  298. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  299. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  300. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  301. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  302. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  303. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  304. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  305. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  307. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  308. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  309. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  310. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  311. package/dist/docs/api.json +1 -1
  312. package/dist/docs/docs.json +1 -1
  313. package/dist/docs/vscode.html-custom-data.json +1 -1
  314. package/dist/docs/web-types.json +1 -1
  315. package/dist/index.d.ts +1 -1
  316. package/dist/index.js +488 -466
  317. package/dist/interfaces.d.ts +57 -14
  318. package/dist/json-schema/index.d.ts +211 -6
  319. package/dist/loader.js +2 -2
  320. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  321. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  322. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  323. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  324. package/dist/model/chart-model/chart-model.d.ts +2 -1
  325. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  326. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  327. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  328. package/dist/model/interfaces/common.d.ts +0 -2
  329. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  330. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  331. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  332. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  334. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  335. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  336. package/dist/model/properties/rounded-corners.d.ts +18 -0
  337. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  338. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  339. package/dist/model/shared/setup-utils.d.ts +3 -3
  340. package/dist/model/shared/type-guards.d.ts +38 -22
  341. package/dist/spec/chart-object-literals.d.ts +1 -0
  342. package/dist/spec/data-source.d.ts +17 -3
  343. package/dist/spec/rest-js-types.d.ts +22 -8
  344. package/dist/spec/web-chart.d.ts +42 -6
  345. package/dist/types/lumina.d.ts +1 -1
  346. package/dist/types/preact.d.ts +1 -1
  347. package/dist/types/react.d.ts +1 -1
  348. package/dist/types/stencil.d.ts +3 -3
  349. package/dist/utils/chart-config/converter/index.js +210 -191
  350. package/dist/utils/chart-config/utils/index.d.ts +30 -9
  351. package/dist/utils/chart-config/validator/index.d.ts +2 -0
  352. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  353. package/dist/utils/components/interfaces.d.ts +2 -0
  354. package/dist/utils/cursor/interfaces.d.ts +21 -0
  355. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  356. package/dist/utils/data/index.d.ts +28 -22
  357. package/dist/utils/data/interfaces.d.ts +4 -3
  358. package/dist/utils/defaults/index.d.ts +31 -5
  359. package/dist/utils/defaults/interfaces.d.ts +73 -4
  360. package/dist/utils/errors/index.d.ts +1 -1
  361. package/dist/utils/layer/index.d.ts +26 -8
  362. package/dist/utils/layer/inline-conversion/index.d.ts +0 -3
  363. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  364. package/dist/utils/layer/interfaces.d.ts +0 -12
  365. package/dist/utils/layer/query-features/index.d.ts +8 -3
  366. package/dist/utils/layer/query-parser/index.d.ts +13 -9
  367. package/dist/utils/layer/utils/index.d.ts +22 -5
  368. package/dist/utils/localization/interfaces.d.ts +9 -1
  369. package/dist/utils/misc/index.d.ts +2 -3
  370. package/dist/utils/misc/interfaces.d.ts +1 -0
  371. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  372. package/dist/utils/type-guards/series-types.d.ts +9 -2
  373. package/dist/utils/types/index.d.ts +1 -5
  374. package/package.json +8 -9
  375. package/dist/cdn/2B4S6PH2.js +0 -2
  376. package/dist/cdn/3EIVHDDK.js +0 -2
  377. package/dist/cdn/3X5JIVJJ.js +0 -3
  378. package/dist/cdn/44GWFKSR.js +0 -2
  379. package/dist/cdn/4LLOMGO7.js +0 -2
  380. package/dist/cdn/4P7S3KIY.js +0 -2
  381. package/dist/cdn/547RDEMV.js +0 -2
  382. package/dist/cdn/55UVN4AF.js +0 -4
  383. package/dist/cdn/5F54SB3S.js +0 -2
  384. package/dist/cdn/667DYS3D.js +0 -2
  385. package/dist/cdn/7DD3FFI5.js +0 -2
  386. package/dist/cdn/7LXWQH6J.js +0 -2
  387. package/dist/cdn/7TRRNFTL.js +0 -2
  388. package/dist/cdn/7XLZ42N6.js +0 -2
  389. package/dist/cdn/A5GIBV5W.js +0 -2
  390. package/dist/cdn/ADGMA3ST.js +0 -3
  391. package/dist/cdn/BBURKBKE.js +0 -2
  392. package/dist/cdn/BSP7U5YN.js +0 -58
  393. package/dist/cdn/CAGJKKOW.js +0 -2
  394. package/dist/cdn/CG6PLENK.js +0 -2
  395. package/dist/cdn/CKRMYU2S.js +0 -2
  396. package/dist/cdn/CQTLTJ52.js +0 -2
  397. package/dist/cdn/CY7GY33F.js +0 -2
  398. package/dist/cdn/CZ5XRXCE.js +0 -2
  399. package/dist/cdn/D57ESYPO.js +0 -2
  400. package/dist/cdn/DJACBOFO.js +0 -2
  401. package/dist/cdn/DKXRIXFG.js +0 -2
  402. package/dist/cdn/EDSF5KGV.js +0 -233
  403. package/dist/cdn/EPUNY3VI.js +0 -2
  404. package/dist/cdn/EZD3FBJU.js +0 -2
  405. package/dist/cdn/EZV7JSQJ.js +0 -2
  406. package/dist/cdn/FATECLIQ.js +0 -2
  407. package/dist/cdn/FFS73X36.js +0 -142
  408. package/dist/cdn/FGNRWY57.js +0 -2
  409. package/dist/cdn/FJ4UGRMY.js +0 -2
  410. package/dist/cdn/G7YZE67F.js +0 -2
  411. package/dist/cdn/GGHRYV36.js +0 -2
  412. package/dist/cdn/GOP2GNGE.js +0 -2
  413. package/dist/cdn/H2DP7HXE.js +0 -2
  414. package/dist/cdn/H42V247N.js +0 -2
  415. package/dist/cdn/H7TZ42RW.js +0 -2
  416. package/dist/cdn/HZR4NSZV.js +0 -2
  417. package/dist/cdn/I5B6REVT.js +0 -2
  418. package/dist/cdn/IXKYQBM7.js +0 -2
  419. package/dist/cdn/J7XXIAQJ.js +0 -2
  420. package/dist/cdn/JNNB2DIA.js +0 -2
  421. package/dist/cdn/JRUIUNQA.js +0 -2
  422. package/dist/cdn/KI2YCXW6.js +0 -2
  423. package/dist/cdn/KPPNRDOP.js +0 -2
  424. package/dist/cdn/LB6EF2UN.js +0 -2
  425. package/dist/cdn/M7QVV7WC.js +0 -2
  426. package/dist/cdn/MICVGPGC.js +0 -2
  427. package/dist/cdn/MRTKZZTF.js +0 -2
  428. package/dist/cdn/MZHOWTY3.js +0 -2
  429. package/dist/cdn/NALKWY43.js +0 -2
  430. package/dist/cdn/NZR4L5AA.js +0 -2
  431. package/dist/cdn/OCE4FAJ4.js +0 -2
  432. package/dist/cdn/P4HSSZRL.js +0 -2
  433. package/dist/cdn/PAIRUVLU.js +0 -2
  434. package/dist/cdn/PQHVQQSI.js +0 -2
  435. package/dist/cdn/QJC3FDWG.js +0 -2
  436. package/dist/cdn/QNUCPXBU.js +0 -2
  437. package/dist/cdn/QW5KML7L.js +0 -2
  438. package/dist/cdn/QXUR76TF.js +0 -2
  439. package/dist/cdn/RJW2DOIR.js +0 -102
  440. package/dist/cdn/RR63Q3C2.js +0 -2
  441. package/dist/cdn/RRC5ESYH.js +0 -2
  442. package/dist/cdn/SS42OW45.js +0 -2
  443. package/dist/cdn/STM26XZG.js +0 -2
  444. package/dist/cdn/THTYR6IL.js +0 -2
  445. package/dist/cdn/TX43YOVC.js +0 -2
  446. package/dist/cdn/TYAN5HWQ.js +0 -2
  447. package/dist/cdn/U67P6YAZ.js +0 -2
  448. package/dist/cdn/UAGGYOZB.js +0 -2
  449. package/dist/cdn/UDKG7LGN.js +0 -2
  450. package/dist/cdn/UHQGJR3U.js +0 -2
  451. package/dist/cdn/UYOCWLLG.js +0 -2
  452. package/dist/cdn/UYTPOUP7.js +0 -2
  453. package/dist/cdn/VKYQGU2R.js +0 -2
  454. package/dist/cdn/VOSE67U2.js +0 -2
  455. package/dist/cdn/VOTZAPI3.js +0 -2
  456. package/dist/cdn/W3OA4MKU.js +0 -2
  457. package/dist/cdn/W6KE6F3T.js +0 -2
  458. package/dist/cdn/W7X6L2OB.js +0 -127
  459. package/dist/cdn/WCJ5W5TE.js +0 -2
  460. package/dist/cdn/WHYRYWPW.js +0 -2
  461. package/dist/cdn/WNKDEOFZ.js +0 -2
  462. package/dist/cdn/WOJQ6BTB.js +0 -2
  463. package/dist/cdn/WPPMMVD5.js +0 -2
  464. package/dist/cdn/XJFVSX2E.js +0 -2
  465. package/dist/cdn/XP6RGZ2N.js +0 -2
  466. package/dist/cdn/XRUOXTHH.js +0 -2
  467. package/dist/cdn/XTNDUDWE.js +0 -2
  468. package/dist/cdn/XUERYUEG.js +0 -2
  469. package/dist/cdn/Y3CXVO2M.js +0 -2
  470. package/dist/cdn/YAR2TF55.js +0 -2
  471. package/dist/cdn/YEZL5KRS.js +0 -2
  472. package/dist/cdn/YRFSWIDQ.js +0 -2
  473. package/dist/cdn/YYK7SPXC.js +0 -2
  474. package/dist/cdn/ZG7SUAGR.js +0 -2
  475. package/dist/cdn/ZTX2ULE6.js +0 -2
  476. package/dist/cdn/ZY44M3QZ.js +0 -2
  477. package/dist/chunks/bar-chart-series.js +0 -15
  478. package/dist/chunks/index6.js +0 -66
  479. package/dist/chunks/time-zone.js +0 -38
  480. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  481. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  482. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,189 +1,122 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { log as F } from "@arcgis/toolkit/log";
3
- import { u as p } from "./chart-object-literals.js";
4
- import { Y as S, an as M } from "./index2.js";
5
- import { i as W } from "./index4.js";
6
- import { S as d, a5 as v, $ as _, ax as P, a2 as A, a3 as w } from "./index.js";
7
- import { C as f } from "./index3.js";
8
- import { C as G } from "./chart-model.js";
2
+ import { log as w } from "@arcgis/toolkit/log";
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, j as L, p as k, aw as R, af as j } from "./index3.js";
7
+ import { a as h, b as K } from "./index2.js";
8
+ import { C as q } from "./chart-model.js";
9
9
  import { m as s } from "./model-setter.js";
10
- import { b as c, P as h } from "./common.js";
11
- import { M as T, a as k, W as z, b as B } from "./data-labels-visibility.js";
12
- import { W as E } from "./data-labels-symbol.js";
13
- import { f as V, j as R, b as j } from "./utils.js";
14
- import { g as b, s as U, a as $, c as K, b as Y, d as q, e as H, f as J, h as L, i as O, j as Q } from "./pie-chart-data.js";
15
- import { cloneDeep as X } from "lodash-es";
16
- import { i as y } from "./rest-js-object-literals.js";
17
- const Z = (t) => t.legend?.displayNumericValue ?? !1, ee = (t, e) => {
18
- e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
19
- }, te = (t) => t.legend?.displayCategory ?? !1, ie = (t, e) => {
20
- e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayCategory = t);
21
- }, se = (t) => t.legend?.displayPercentage ?? !1, re = (t, e) => {
22
- e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayPercentage = t);
23
- }, ae = (t) => t.legend?.labelMaxWidth ?? 200, oe = (t, e) => {
24
- e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.labelMaxWidth = t);
25
- }, le = (t) => t.legend?.valueLabelMaxWidth ?? 200, ne = (t, e) => {
26
- e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.valueLabelMaxWidth = t);
27
- };
28
- var ge = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, m = (t, e, i, o) => {
29
- for (var l = ce(e, i), n = t.length - 1, g; n >= 0; n--)
30
- (g = t[n]) && (l = g(e, i, l) || l);
31
- return l && ge(e, i, l), l;
32
- };
33
- class u extends T {
34
- /**
35
- * Gets the setting for the display of numerical value in the legend items.
36
- *
37
- * **Note**: Only applicable to pie charts.
38
- */
39
- getDisplayNumericValue() {
40
- return Z(this._config);
41
- }
42
- setDisplayNumericValue(e) {
43
- ee(e, this._config);
44
- }
45
- /**
46
- * Gets the setting for the display of percentage in the legend items.
47
- *
48
- * **Note**: Only applicable to pie charts.
49
- */
50
- getDisplayPercentage() {
51
- return se(this._config);
52
- }
53
- setDisplayPercentage(e) {
54
- re(e, this._config);
55
- }
56
- /**
57
- * Gets the maximum width in pixel for the legend item labels.
58
- *
59
- * **Note**: Only applicable to pie charts.
60
- */
61
- getLabelMaxWidth() {
62
- return ae(this._config);
63
- }
64
- setLabelMaxWidth(e) {
65
- oe(e, this._config);
66
- }
67
- /**
68
- * The maximum width in pixel for the legend value labels.
69
- * @returns {number}
70
- */
71
- get valueLabelMaxWidth() {
72
- return le(this._config);
73
- }
74
- set valueLabelMaxWidth(e) {
75
- ne(e, this._config), this.emitConfigUpdate("valueLabelMaxWidth");
76
- }
77
- /**
78
- * Whether to display the category in the legend.
79
- */
80
- get displayCategory() {
81
- return te(this._config);
82
- }
83
- set displayCategory(e) {
84
- ie(e, this._config), this.emitConfigUpdate("displayCategory");
85
- }
86
- }
87
- m([
88
- s
89
- ], u.prototype, "setDisplayNumericValue");
90
- m([
91
- s
92
- ], u.prototype, "setDisplayPercentage");
93
- m([
94
- s
95
- ], u.prototype, "setLabelMaxWidth");
96
- const pe = [T];
97
- V(u, pe);
98
- const de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
10
+ import { b as n, P as u } from "./common.js";
11
+ import { M as H, a as J, W as Q, b as U } from "./data-labels-visibility.js";
12
+ import { W as X } from "./data-labels-symbol.js";
13
+ import { j as Y, c as Z, f as $ } from "./utils.js";
14
+ import { i as y, a as m, g as f, s as ee, c as te, b as ie, d as se, e as re, f as ae, h as O, j as D, k as oe } from "./pie-chart-data.js";
15
+ import { cloneDeep as le } from "lodash-es";
16
+ import { b as _ } from "./rest-js-object-literals.js";
17
+ const C = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
18
+ e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayNumericValue = t);
19
+ }, P = (t) => t.legend?.displayCategory ?? !1, I = (t, e) => {
20
+ e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayCategory = t);
21
+ }, T = (t) => t.legend?.displayPercentage ?? !1, V = (t, e) => {
22
+ e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayPercentage = t);
23
+ }, x = (t) => t.legend?.labelMaxWidth ?? 200, N = (t, e) => {
24
+ e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.labelMaxWidth = t);
25
+ }, ne = (t) => t.legend?.valueLabelMaxWidth ?? 200, ce = (t, e) => {
26
+ e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.valueLabelMaxWidth = t);
27
+ }, ge = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
99
28
  e.series?.[0] && (e.series[0].innerRadius = t);
100
- }, fe = (t) => t.series?.[0]?.dataLabelsCharacterLimit, he = (t, e) => {
29
+ }, de = (t) => t.series?.[0]?.dataLabelsCharacterLimit, ue = (t, e) => {
101
30
  e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
102
- }, D = (t) => t.series[0]?.startAngle, ye = (t, e) => {
31
+ }, M = (t) => t.series[0]?.startAngle, fe = (t, e) => {
103
32
  e.series?.[0] && (e.series[0].startAngle = t);
104
- }, me = (t, e) => {
33
+ }, he = (t, e) => {
105
34
  e.series?.[0] && (e.series[0].endAngle = t);
106
- }, Se = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, _e = (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) => {
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) => {
107
36
  e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
108
- }, ve = (t) => t.series?.[0]?.valuePrefix, Pe = (t, e) => {
37
+ }, De = (t) => t.series?.[0]?.valuePrefix, Ce = (t, e) => {
109
38
  e.series?.[0] && (e.series[0].valuePrefix = t);
110
- }, Te = (t) => t.series?.[0]?.valueSuffix, Ve = (t, e) => {
39
+ }, ve = (t) => t.series?.[0]?.valueSuffix, Pe = (t, e) => {
111
40
  e.series?.[0] && (e.series[0].valueSuffix = t);
112
- }, xe = (t) => t.series?.[0]?.percentagePrefix, Ie = (t, e) => {
41
+ }, Ie = (t) => t.series?.[0]?.percentagePrefix, Te = (t, e) => {
113
42
  e.series?.[0] && (e.series[0].percentagePrefix = t);
114
- }, Ne = (t) => t.series?.[0]?.percentageSuffix, Fe = (t, e) => {
43
+ }, Ve = (t) => t.series?.[0]?.percentageSuffix, xe = (t, e) => {
115
44
  e.series?.[0] && (e.series[0].percentageSuffix = t);
116
- }, Me = (t) => {
45
+ }, Ne = (t) => {
117
46
  let e;
118
- const i = t.series?.[0];
119
- return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = c.Both : i?.displayNumericValueOnDataLabel === !0 ? e = c.Value : e = c.Percentage, e;
120
- }, We = (t, e) => {
121
- const i = t === c.Value || t === c.Both, o = t === c.Percentage || t === c.Both;
122
- e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
47
+ const a = t.series?.[0];
48
+ return a?.displayNumericValueOnDataLabel === !0 && a?.displayPercentageOnDataLabel === !0 ? e = n.Both : a?.displayNumericValueOnDataLabel === !0 ? e = n.Value : e = n.Percentage, e;
49
+ }, Me = (t, e) => {
50
+ const a = t === n.Value || t === n.Both, o = t === n.Percentage || t === n.Both;
51
+ e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = a, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
123
52
  ...e.legend,
124
- displayNumericValue: i,
53
+ displayNumericValue: a,
125
54
  displayPercentage: o
126
55
  });
127
- }, Ae = (t) => t.series?.[0]?.alignDataLabels ?? !1, we = (t, e) => {
56
+ }, Fe = (t) => t.series?.[0]?.alignDataLabels ?? !1, We = (t, e) => {
128
57
  e.series[0] && (e.series[0].alignDataLabels = t);
129
- }, Ge = (t) => t.series?.[0]?.dataLabelsInside ?? !1, ke = (t, e) => {
58
+ }, ke = (t) => t.series?.[0]?.dataLabelsInside ?? !1, Ae = (t, e) => {
130
59
  e.series[0] && (e.series[0].dataLabelsInside = t);
131
- }, ze = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, Be = (t, e) => {
60
+ }, Ge = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ze = (t, e) => {
132
61
  e.series[0] && (e.series[0].dataLabelsOffset = t);
133
- }, Ee = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Re = (t, e) => {
134
- e.series?.[0] && (e.series[0].numericValueFormat ??= _(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= _(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
135
- }, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ue = (t, e) => {
62
+ }, we = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Be = (t, e) => {
63
+ 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) => {
136
65
  e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
137
- }, $e = (t) => t.series[0]?.ticks?.visible ?? !1, Ke = (t, e) => {
138
- e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.visible = t);
139
- }, Ye = (t) => t.series[0]?.ticks?.lineSymbol, qe = (t, e) => {
140
- t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol = X(t));
141
- }, He = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Je = (t, e) => e.series?.[0]?.slices?.[t]?.label, Qe = (t, e, i) => {
142
- i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
143
- }, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ze = (t, e, i) => {
144
- const o = i.series?.[0]?.slices?.[e]?.fillSymbol;
145
- o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: y.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
146
- type: y.SFS,
66
+ }, je = (t) => t.series[0]?.ticks?.visible ?? !1, Ke = (t, e) => {
67
+ 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) => {
69
+ 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) => {
71
+ 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) => {
73
+ const o = a.series?.[0]?.slices?.[e]?.fillSymbol;
74
+ 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
+ type: _.SFS,
147
76
  color: t,
148
- outline: { type: y.SLS, color: t }
77
+ outline: { type: _.SLS, color: t }
149
78
  });
150
- }, et = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), C = (t, e) => {
79
+ }, Ze = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), F = (t, e) => {
151
80
  e.series?.[0]?.slices?.sort(
152
- (i, o) => t.findIndex((l) => i.sliceId === l) - t.findIndex((l) => o.sliceId === l)
81
+ (a, o) => t.findIndex((l) => a.sliceId === l) - t.findIndex((l) => o.sliceId === l)
153
82
  );
154
- }, tt = (t) => t.series?.[0]?.sliceGrouping, x = (t, e) => {
83
+ }, $e = (t) => t.series?.[0]?.sliceGrouping, A = (t, e) => {
155
84
  e.series?.[0] && (e.series[0].sliceGrouping = t);
156
- }, I = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, it = (t, e) => {
85
+ }, G = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, et = (t, e) => {
157
86
  e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
158
- sliceId: P.defaultGroupOfSlicesId,
87
+ sliceId: k.defaultGroupOfSlicesId,
159
88
  percentageThreshold: t
160
89
  };
161
- }, st = (t) => t.series?.[0]?.slices, N = (t, e) => {
90
+ }, tt = (t) => t.series?.[0]?.slices, z = (t, e) => {
162
91
  e.series?.[0] && (e.series[0].slices = t);
163
- }, rt = (t) => {
164
- N(void 0, t), x(
92
+ }, it = (t) => {
93
+ z(void 0, t), A(
165
94
  {
166
- sliceId: P.defaultGroupOfSlicesId,
167
- percentageThreshold: I(t) ?? 0
95
+ sliceId: k.defaultGroupOfSlicesId,
96
+ percentageThreshold: G(t) ?? 0
168
97
  },
169
98
  t
170
99
  );
171
- }, at = (t, e) => e.series[0]?.slices?.[t]?.sliceId, ot = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), lt = (t) => t.series[0]?.slices?.length ?? 0;
172
- var nt = Object.defineProperty, gt = Object.getOwnPropertyDescriptor, a = (t, e, i, o) => {
173
- for (var l = gt(e, i), n = t.length - 1, g; n >= 0; n--)
174
- (g = t[n]) && (l = g(e, i, l) || l);
175
- return l && nt(e, i, l), l;
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--)
103
+ (d = t[c]) && (l = d(e, a, l) || l);
104
+ return l && ot(e, a, l), l;
176
105
  };
177
- class r extends G {
106
+ class i extends q {
178
107
  constructor() {
179
- super(...arguments), this._chartType = p.PieSeries, this._mode = h.Category, this._groupedSliceIds = [];
108
+ super(...arguments), this._chartType = g.PieSeries, this._mode = u.Category, this._groupedSliceIds = [], this._customizedSliceIds = [];
180
109
  }
181
110
  async setup(e) {
182
111
  await this.loadConfigFromLayer(e);
183
- const { config: i } = e;
184
- if (i !== void 0) {
185
- const o = S(i.series);
186
- this._mode = o !== f.PieFromFields ? h.Category : h.Fields;
112
+ const { config: a } = e;
113
+ if (a !== void 0) {
114
+ const l = b(a.series) !== h.PieFromFields ? u.Category : u.Fields;
115
+ this._mode = y({
116
+ category: f(this._config),
117
+ numericFields: m(this._config),
118
+ fallbackMode: l
119
+ });
187
120
  }
188
121
  typeof this.resolveSetup == "function" && this.resolveSetup();
189
122
  }
@@ -194,10 +127,14 @@ class r extends G {
194
127
  * Category field for the pie chart.
195
128
  */
196
129
  get category() {
197
- return b(this._config);
130
+ return f(this._config);
198
131
  }
199
132
  set category(e) {
200
- (!W(this._config) || e.trim() !== "") && (U({
133
+ (!E(this._config) || e.trim() !== "") && (this._mode = y({
134
+ category: e,
135
+ numericFields: m(this._config),
136
+ fallbackMode: this._mode
137
+ }), ee({
201
138
  newCategory: e,
202
139
  config: this._config,
203
140
  layerInfo: this.layerInfo,
@@ -209,25 +146,31 @@ class r extends G {
209
146
  * Numeric fields for the pie chart.
210
147
  */
211
148
  get numericFields() {
212
- return $(this._config);
149
+ return m(this._config);
213
150
  }
214
151
  set numericFields(e) {
215
- typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? R(this.layerInfo.layerFieldsInfo, e) : !0) ? (K({
152
+ typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? Y(this.layerInfo.layerFieldsInfo, e) : !0) ? (this._mode = y({
153
+ category: f(this._config),
154
+ numericFields: e,
155
+ fallbackMode: this._mode
156
+ }), te({
216
157
  newNumericFields: e,
217
158
  config: this._config,
218
159
  layerInfo: this.layerInfo,
219
160
  commonStrings: this.commonStrings,
220
161
  mode: this._mode
221
- }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : F("error", "pie-chart-model", "Invalid `numericFields`");
162
+ }), this._config.series[0].slices = this._config.series[0].slices?.filter(
163
+ (o) => o.fillSymbol?.color !== void 0 && this._customizedSliceIds.includes(o.sliceId ?? "")
164
+ ), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : w("error", "pie-chart-model", "Invalid `numericFields`");
222
165
  }
223
166
  /**
224
167
  * Aggregation type for the pie chart.
225
168
  */
226
169
  get aggregationType() {
227
- return Y(this._config, this._mode);
170
+ return ie(this._config, this._mode);
228
171
  }
229
172
  set aggregationType(e) {
230
- q({
173
+ se({
231
174
  newAggregationType: e,
232
175
  config: this._config,
233
176
  layerInfo: this.layerInfo,
@@ -239,13 +182,13 @@ class r extends G {
239
182
  * Gets the sort order for the pie chart.
240
183
  */
241
184
  getSortOrder() {
242
- return H(this._config, this._mode);
185
+ return re(this._config, this._mode);
243
186
  }
244
- setSortOrder(e, i) {
245
- J({
187
+ setSortOrder(e, a) {
188
+ ae({
246
189
  newSortOrderKind: e,
247
190
  config: this._config,
248
- orderByList: i
191
+ orderByList: a
249
192
  });
250
193
  }
251
194
  /**
@@ -257,10 +200,10 @@ class r extends G {
257
200
  * ```
258
201
  */
259
202
  get orderByList() {
260
- return L(this._config, this._mode);
203
+ return O(this._config, this._mode);
261
204
  }
262
205
  set orderByList(e) {
263
- O({
206
+ D({
264
207
  values: e,
265
208
  config: this._config,
266
209
  mode: this._mode
@@ -271,6 +214,7 @@ class r extends G {
271
214
  *
272
215
  * `category` - The chart is using values from the category field to determine each slice.
273
216
  * `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
217
+ * @deprecated since 5.2. Mode is inferred automatically from `category` and `numericFields`.
274
218
  */
275
219
  get mode() {
276
220
  return this._mode;
@@ -282,18 +226,18 @@ class r extends G {
282
226
  * Gets the list of the category values for the chart.
283
227
  */
284
228
  async getCustomSortValues() {
285
- const e = b(this._config), i = S(this._config.series);
229
+ const e = f(this._config), a = b(this._config.series);
286
230
  let o = [];
287
- return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await j({
231
+ return a === h.PieFromFields ? o = this.numericFields : e.trim() !== "" && a === h.PieFromCategory && (o = await Z({
288
232
  category: e,
289
233
  config: this._config,
290
234
  layerInfo: this.layerInfo,
291
235
  errorStrings: this.commonStrings.errorStrings
292
236
  })), o;
293
237
  }
294
- moveCustomSortValuesInOrderByList(e, i) {
295
- const o = L(this._config, this._mode), [l] = o.splice(e, 1);
296
- o.splice(i, 0, l), O({
238
+ moveCustomSortValuesInOrderByList(e, a) {
239
+ const o = O(this._config, this._mode), [l] = o.splice(e, 1);
240
+ o.splice(a, 0, l), D({
297
241
  values: o,
298
242
  config: this._config,
299
243
  mode: this._mode
@@ -306,10 +250,10 @@ class r extends G {
306
250
  * Ticks symbol connecting slices to labels.
307
251
  */
308
252
  get ticksSymbol() {
309
- return Ye(this._config);
253
+ return qe(this._config);
310
254
  }
311
255
  set ticksSymbol(e) {
312
- qe(e, this._config);
256
+ He(e, this._config);
313
257
  }
314
258
  // ---------------------------------------------------------------------------------------------
315
259
  // #region Slices Props
@@ -318,10 +262,10 @@ class r extends G {
318
262
  * Array of slices for the pie chart.
319
263
  */
320
264
  get slices() {
321
- return st(this._config);
265
+ return tt(this._config);
322
266
  }
323
267
  set slices(e) {
324
- N(e, this._config);
268
+ z(e, this._config);
325
269
  }
326
270
  /**
327
271
  * Array of grouped slice ids for the pie chart.
@@ -336,63 +280,63 @@ class r extends G {
336
280
  * Slice grouping configuration for the pie chart.
337
281
  */
338
282
  get sliceGrouping() {
339
- return tt(this._config);
283
+ return $e(this._config);
340
284
  }
341
285
  set sliceGrouping(e) {
342
- x(e, this._config);
286
+ A(e, this._config);
343
287
  }
344
288
  /**
345
289
  * Inner radius size for the pie chart.
346
290
  */
347
291
  get innerRadiusSize() {
348
- return de(this._config) ?? 0;
292
+ return ge(this._config) ?? 0;
349
293
  }
350
294
  set innerRadiusSize(e) {
351
- ue(e, this._config);
295
+ pe(e, this._config);
352
296
  }
353
297
  /**
354
298
  * Threshold below which slices will be grouped.
355
299
  */
356
300
  get groupingThreshold() {
357
- return I(this._config) ?? 0;
301
+ return G(this._config) ?? 0;
358
302
  }
359
303
  set groupingThreshold(e) {
360
- it(e, this._config);
304
+ et(e, this._config);
361
305
  }
362
306
  /**
363
307
  * Character limit for the slice labels.
364
308
  */
365
309
  get labelCharacterLimit() {
366
- return fe(this._config) ?? null;
310
+ return de(this._config) ?? null;
367
311
  }
368
312
  set labelCharacterLimit(e) {
369
- he(e, this._config);
313
+ ue(e, this._config);
370
314
  }
371
315
  /**
372
316
  * Number of decimal places to display in the slice values.
373
317
  */
374
318
  get decimalPlaces() {
375
- return Ee(this._config) ?? 1;
319
+ return we(this._config) ?? 1;
376
320
  }
377
321
  set decimalPlaces(e) {
378
- Re(e, this._config);
322
+ Be(e, this._config);
379
323
  }
380
324
  /**
381
325
  * Display type for the pie chart slices. Specifies whether to display the slices as a `percentage`, `value`, or `both`.
382
326
  */
383
327
  get displayType() {
384
- return Me(this._config);
328
+ return Ne(this._config);
385
329
  }
386
330
  set displayType(e) {
387
- We(e, this._config);
331
+ Me(e, this._config);
388
332
  }
389
333
  // ---------------------------------------------------------------------------------------------
390
334
  // #region Protected methods
391
335
  // ---------------------------------------------------------------------------------------------
392
336
  /** @private */
393
337
  generateDefaultConfig() {
394
- const e = A(this.commonStrings);
395
- return e.series = [w(this.commonStrings, M(this.layerInfo.layer).idField)], e;
338
+ const e = R(this.commonStrings);
339
+ return e.series = [j(this.commonStrings, B(this.layerInfo.layer).idField)], e;
396
340
  }
397
341
  // ---------------------------------------------------------------------------------------------
398
342
  // #region Series Methods
@@ -403,7 +347,7 @@ class r extends G {
403
347
  * @param sliceIndex - The index of the slice.
404
348
  */
405
349
  getOriginalSliceName(e) {
406
- return He(e, this._config);
350
+ return Je(e, this._config);
407
351
  }
408
352
  /**
409
353
  * Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -411,10 +355,11 @@ class r extends G {
411
355
  * @param sliceIndex - The index of the slice.
412
356
  */
413
357
  getSliceName(e) {
414
- return Je(e, this._config);
358
+ return Qe(e, this._config);
415
359
  }
416
- setSliceName(e, i) {
417
- Qe(e, i, this._config);
360
+ setSliceName(e, a) {
361
+ const o = this.getSliceId(a);
362
+ o !== void 0 && this._customizedSliceIds.push(o), Ue(e, a, this._config);
418
363
  }
419
364
  /**
420
365
  * Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -424,23 +369,24 @@ class r extends G {
424
369
  getSliceColor(e) {
425
370
  return Xe(e, this._config);
426
371
  }
427
- setSliceColor(e, i) {
428
- Ze(e, i, this._config);
372
+ setSliceColor(e, a) {
373
+ const o = this.getSliceId(a);
374
+ e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o), Ye(e, a, this._config);
429
375
  }
430
376
  /**
431
377
  * Order of the slice array by returning an array of slice ids
432
378
  */
433
379
  get orderOfSlices() {
434
- return et(this._config);
380
+ return Ze(this._config);
435
381
  }
436
382
  set orderOfSlices(e) {
437
- e !== void 0 && C(e, this._config);
383
+ e !== void 0 && F(e, this._config);
438
384
  }
439
- moveSeries(e, i) {
385
+ moveSeries(e, a) {
440
386
  const o = this.orderOfSlices;
441
387
  if (o !== void 0) {
442
388
  const [l] = o.splice(e, 1);
443
- o.splice(i, 0, l), C(o, this._config);
389
+ o.splice(a, 0, l), F(o, this._config);
444
390
  }
445
391
  }
446
392
  /**
@@ -449,7 +395,7 @@ class r extends G {
449
395
  * @param sliceIndex - The index of the slice.
450
396
  */
451
397
  getSliceId(e) {
452
- return at(e, this._config);
398
+ return st(e, this._config);
453
399
  }
454
400
  /**
455
401
  * Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
@@ -457,38 +403,38 @@ class r extends G {
457
403
  * @param sliceId - The id of the slice.
458
404
  */
459
405
  getSliceIndex(e) {
460
- return ot(e, this._config);
406
+ return rt(e, this._config);
461
407
  }
462
408
  /**
463
409
  * Gets the length of the slices array.
464
410
  */
465
411
  getSlicesLength() {
466
- return lt(this._config);
412
+ return at(this._config);
467
413
  }
468
414
  resetSlices() {
469
- rt(this._config);
415
+ this._customizedSliceIds = [], it(this._config);
470
416
  }
471
417
  /**
472
418
  * Returns whether the series styling is able to be reset.
473
419
  */
474
420
  resetAvailable() {
475
421
  const e = !this.colorMatch;
476
- let i = !1;
422
+ let a = !1;
477
423
  const o = this.slices?.length ?? 0;
478
424
  for (let l = 0; l < o; l += 1) {
479
- const n = this.getOriginalSliceName(l), g = this.getSliceName(l);
480
- if (n !== void 0 && n?.toString() !== g?.toString()) {
481
- i = !0;
425
+ const c = this.getOriginalSliceName(l), d = this.getSliceName(l), S = this._mode === u.Fields ? K(this.layerInfo?.layerFieldsInfo, c?.toString()) : c;
426
+ if (S !== void 0 && S?.toString() !== d?.toString()) {
427
+ a = !0;
482
428
  break;
483
429
  }
484
430
  }
485
- return this.sliceGrouping?.originalLabel !== void 0 && this.sliceGrouping?.label !== this.sliceGrouping.originalLabel && (i = !0), e || i;
431
+ return this.sliceGrouping?.originalLabel !== void 0 && this.sliceGrouping?.label !== this.sliceGrouping.originalLabel && (a = !0), e || a;
486
432
  }
487
433
  /**
488
434
  * Visibility of the ticks.
489
435
  */
490
436
  get ticksVisibility() {
491
- return $e(this._config);
437
+ return je(this._config);
492
438
  }
493
439
  set ticksVisibility(e) {
494
440
  Ke(e, this._config);
@@ -497,31 +443,29 @@ class r extends G {
497
443
  * Start angle of the pie chart.
498
444
  */
499
445
  get startAngle() {
500
- return D(this._config);
446
+ return M(this._config);
501
447
  }
502
448
  set startAngle(e) {
503
- ye(e, this._config);
449
+ fe(e, this._config);
504
450
  }
505
451
  /**
506
452
  * End angle of the pie chart.
507
453
  */
508
454
  get endAngle() {
509
- return D(this._config);
455
+ return M(this._config);
510
456
  }
511
457
  set endAngle(e) {
512
- me(e, this._config);
458
+ he(e, this._config);
513
459
  }
514
460
  /**
515
461
  * Whether to display the category on the data label.
516
462
  * **Note:** If the setting is not found in the config, it will default to `true`.
517
463
  */
518
464
  get displayCategoryOnDataLabel() {
519
- return _e(this._config);
465
+ return me(this._config);
520
466
  }
521
467
  set displayCategoryOnDataLabel(e) {
522
- this.guardSetterFromAsyncOverwrite(() => {
523
- this._config.series[0].displayCategoryOnDataLabel = e, this.emitConfigUpdate("displayCategoryOnDataLabel");
524
- });
468
+ this._config.series[0].displayCategoryOnDataLabel = e;
525
469
  }
526
470
  /**
527
471
  * Display category value on tooltip setting from the chart config.
@@ -529,7 +473,7 @@ class r extends G {
529
473
  * **Note**: If the setting is not found in the config, it will default to `true`.
530
474
  */
531
475
  get displayCategoryValueOnTooltip() {
532
- return Se(this._config);
476
+ return ye(this._config);
533
477
  }
534
478
  set displayCategoryValueOnTooltip(e) {
535
479
  this._config.series[0].displayCategoryOnTooltip = e;
@@ -539,12 +483,10 @@ class r extends G {
539
483
  * **Note:** If the setting is not found in the config, it will default to `true`.
540
484
  */
541
485
  get displayNumericValueOnDataLabel() {
542
- return be(this._config);
486
+ return _e(this._config);
543
487
  }
544
488
  set displayNumericValueOnDataLabel(e) {
545
- this.guardSetterFromAsyncOverwrite(() => {
546
- this._config.series[0].displayNumericValueOnDataLabel = e, this.emitConfigUpdate("displayNumericValueOnDataLabel");
547
- });
489
+ this._config.series[0].displayNumericValueOnDataLabel = e;
548
490
  }
549
491
  /**
550
492
  * Whether to display the percentage on the data label.
@@ -552,12 +494,10 @@ class r extends G {
552
494
  * **Note:** If the setting is not found in the config, it will default to `true`.
553
495
  */
554
496
  get displayPercentageOnDataLabel() {
555
- return Le(this._config);
497
+ return Se(this._config);
556
498
  }
557
499
  set displayPercentageOnDataLabel(e) {
558
- this.guardSetterFromAsyncOverwrite(() => {
559
- this._config.series[0].displayPercentageOnDataLabel = e, this.emitConfigUpdate("displayPercentageOnDataLabel");
560
- });
500
+ this._config.series[0].displayPercentageOnDataLabel = e;
561
501
  }
562
502
  /**
563
503
  * Display numeric value on tooltip setting from the chart config.
@@ -565,7 +505,7 @@ class r extends G {
565
505
  * **Note**: If the setting is not found in the config, it will default to `true`.
566
506
  */
567
507
  get displayNumericValueOnTooltip() {
568
- return Oe(this._config);
508
+ return be(this._config);
569
509
  }
570
510
  set displayNumericValueOnTooltip(e) {
571
511
  this._config.series[0].displayNumericValueOnTooltip = e;
@@ -576,82 +516,174 @@ class r extends G {
576
516
  * **Note**: If the setting is not found in the config, it will default to `true`.
577
517
  */
578
518
  get displayPercentageOnTooltip() {
579
- return De(this._config);
519
+ return Le(this._config);
580
520
  }
581
521
  set displayPercentageOnTooltip(e) {
582
- Ce(e, this._config);
522
+ Oe(e, this._config);
583
523
  }
584
524
  /**
585
525
  * Prefix of the values of the slices.
586
526
  */
587
527
  get valuePrefix() {
588
- return ve(this._config);
528
+ return De(this._config);
589
529
  }
590
530
  set valuePrefix(e) {
591
- Pe(e, this._config);
531
+ Ce(e, this._config);
592
532
  }
593
533
  /**
594
534
  * Suffix of the values of the slice.
595
535
  */
596
536
  get valueSuffix() {
597
- return Te(this._config);
537
+ return ve(this._config);
598
538
  }
599
539
  set valueSuffix(e) {
600
- Ve(e, this._config);
540
+ Pe(e, this._config);
601
541
  }
602
542
  /**
603
543
  * Prefix of the percentages of the slices.
604
544
  */
605
545
  get percentagePrefix() {
606
- return xe(this._config);
546
+ return Ie(this._config);
607
547
  }
608
548
  set percentagePrefix(e) {
609
- Ie(e, this._config);
549
+ Te(e, this._config);
610
550
  }
611
551
  /**
612
552
  * Suffix of the percentages of the slices.
613
553
  */
614
554
  get percentageSuffix() {
615
- return Ne(this._config);
555
+ return Ve(this._config);
616
556
  }
617
557
  set percentageSuffix(e) {
618
- Fe(e, this._config);
558
+ xe(e, this._config);
619
559
  }
620
560
  /**
621
561
  * Offset for the data labels.
622
562
  */
623
563
  get dataLabelsOffset() {
624
- return ze(this._config);
564
+ return Ge(this._config);
625
565
  }
626
566
  set dataLabelsOffset(e) {
627
- Be(e, this._config);
567
+ ze(e, this._config);
628
568
  }
629
569
  /**
630
570
  * Align the data labels on the left or right side of the chart instead of the default position around the chart.
631
571
  */
632
572
  get alignDataLabels() {
633
- return Ae(this._config);
573
+ return Fe(this._config);
634
574
  }
635
575
  set alignDataLabels(e) {
636
- we(e, this._config);
576
+ We(e, this._config);
637
577
  }
638
578
  /**
639
579
  * Setting for placing the data labels inside of the slices.
640
580
  */
641
581
  get dataLabelsInside() {
642
- return Ge(this._config);
582
+ return ke(this._config);
643
583
  }
644
584
  set dataLabelsInside(e) {
645
- ke(e, this._config);
585
+ Ae(e, this._config);
646
586
  }
647
587
  /**
648
588
  * Optimize data labels overlapping setting for the pie chart.
649
589
  */
650
590
  get optimizeDataLabelsOverlapping() {
651
- return je(this._config);
591
+ return Ee(this._config);
652
592
  }
653
593
  set optimizeDataLabelsOverlapping(e) {
654
- Ue(e, this._config);
594
+ Re(e, this._config);
595
+ }
596
+ // ---------------------------------------------------------------------------------------------
597
+ // #region Legend Props
598
+ // ---------------------------------------------------------------------------------------------
599
+ /**
600
+ * Whether to display the numeric value on legend items.
601
+ */
602
+ get displayNumericValueOnLegendItems() {
603
+ return C(this._config);
604
+ }
605
+ set displayNumericValueOnLegendItems(e) {
606
+ v(e, this._config);
607
+ }
608
+ /**
609
+ * Whether to display the percentage on legend items.
610
+ */
611
+ get displayPercentageOnLegendItems() {
612
+ return T(this._config);
613
+ }
614
+ set displayPercentageOnLegendItems(e) {
615
+ V(e, this._config);
616
+ }
617
+ /**
618
+ * Whether to display the category on legend items.
619
+ */
620
+ get displayCategoryOnLegendItems() {
621
+ return P(this._config);
622
+ }
623
+ set displayCategoryOnLegendItems(e) {
624
+ I(e, this._config);
625
+ }
626
+ /**
627
+ * Maximum width in pixels for legend item labels.
628
+ */
629
+ get labelMaxWidth() {
630
+ return x(this._config);
631
+ }
632
+ set labelMaxWidth(e) {
633
+ N(e, this._config);
634
+ }
635
+ /**
636
+ * Maximum width in pixels for legend value labels.
637
+ */
638
+ get valueLabelMaxWidth() {
639
+ return ne(this._config);
640
+ }
641
+ set valueLabelMaxWidth(e) {
642
+ ce(e, this._config);
643
+ }
644
+ /**
645
+ * Gets the setting for displaying numerical values on legend items.
646
+ *
647
+ * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayNumericValueOnLegendItems displayNumericValueOnLegendItems} instead. This method will be removed from `PieChartModel` in 6.0.
648
+ */
649
+ getDisplayNumericValue() {
650
+ return C(this._config);
651
+ }
652
+ setDisplayNumericValue(e) {
653
+ v(e, this._config);
654
+ }
655
+ /**
656
+ * Gets the setting for displaying percentages on legend items.
657
+ *
658
+ * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayPercentageOnLegendItems displayPercentageOnLegendItems} instead. This method will be removed from `PieChartModel` in 6.0.
659
+ */
660
+ getDisplayPercentage() {
661
+ return T(this._config);
662
+ }
663
+ setDisplayPercentage(e) {
664
+ V(e, this._config);
665
+ }
666
+ /**
667
+ * Gets the maximum width in pixels for legend item labels.
668
+ *
669
+ * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#labelMaxWidth labelMaxWidth} instead. This method will be removed from `PieChartModel` in 6.0.
670
+ */
671
+ getLabelMaxWidth() {
672
+ return x(this._config);
673
+ }
674
+ setLabelMaxWidth(e) {
675
+ N(e, this._config);
676
+ }
677
+ /**
678
+ * Whether to display the category in the legend.
679
+ *
680
+ * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayCategoryOnLegendItems displayCategoryOnLegendItems} instead. This property will be removed from `PieChartModel` in 6.0.
681
+ */
682
+ get displayCategory() {
683
+ return P(this._config);
684
+ }
685
+ set displayCategory(e) {
686
+ I(e, this._config);
655
687
  }
656
688
  // ---------------------------------------------------------------------------------------------
657
689
  // #region General Props
@@ -660,7 +692,7 @@ class r extends G {
660
692
  * Generate the proper chart title given the current config.
661
693
  */
662
694
  generateChartTitle() {
663
- return Q({
695
+ return oe({
664
696
  config: this._config,
665
697
  layerInfo: this.layerInfo,
666
698
  commonStrings: this.commonStrings,
@@ -668,119 +700,155 @@ class r extends G {
668
700
  });
669
701
  }
670
702
  }
671
- a([
703
+ r([
704
+ s
705
+ ], i.prototype, "category");
706
+ r([
707
+ s
708
+ ], i.prototype, "numericFields");
709
+ r([
710
+ s
711
+ ], i.prototype, "aggregationType");
712
+ r([
713
+ s
714
+ ], i.prototype, "setSortOrder");
715
+ r([
716
+ s
717
+ ], i.prototype, "orderByList");
718
+ r([
719
+ s
720
+ ], i.prototype, "mode");
721
+ r([
722
+ s
723
+ ], i.prototype, "moveCustomSortValuesInOrderByList");
724
+ r([
725
+ s
726
+ ], i.prototype, "ticksSymbol");
727
+ r([
728
+ s
729
+ ], i.prototype, "slices");
730
+ r([
731
+ s
732
+ ], i.prototype, "groupedSliceIds");
733
+ r([
734
+ s
735
+ ], i.prototype, "sliceGrouping");
736
+ r([
737
+ s
738
+ ], i.prototype, "innerRadiusSize");
739
+ r([
672
740
  s
673
- ], r.prototype, "category");
674
- a([
741
+ ], i.prototype, "groupingThreshold");
742
+ r([
675
743
  s
676
- ], r.prototype, "numericFields");
677
- a([
744
+ ], i.prototype, "labelCharacterLimit");
745
+ r([
678
746
  s
679
- ], r.prototype, "aggregationType");
680
- a([
747
+ ], i.prototype, "decimalPlaces");
748
+ r([
681
749
  s
682
- ], r.prototype, "setSortOrder");
683
- a([
750
+ ], i.prototype, "displayType");
751
+ r([
684
752
  s
685
- ], r.prototype, "orderByList");
686
- a([
753
+ ], i.prototype, "setSliceName");
754
+ r([
687
755
  s
688
- ], r.prototype, "mode");
689
- a([
756
+ ], i.prototype, "setSliceColor");
757
+ r([
690
758
  s
691
- ], r.prototype, "moveCustomSortValuesInOrderByList");
692
- a([
759
+ ], i.prototype, "orderOfSlices");
760
+ r([
693
761
  s
694
- ], r.prototype, "ticksSymbol");
695
- a([
762
+ ], i.prototype, "moveSeries");
763
+ r([
696
764
  s
697
- ], r.prototype, "slices");
698
- a([
765
+ ], i.prototype, "resetSlices");
766
+ r([
699
767
  s
700
- ], r.prototype, "groupedSliceIds");
701
- a([
768
+ ], i.prototype, "ticksVisibility");
769
+ r([
702
770
  s
703
- ], r.prototype, "sliceGrouping");
704
- a([
771
+ ], i.prototype, "startAngle");
772
+ r([
705
773
  s
706
- ], r.prototype, "innerRadiusSize");
707
- a([
774
+ ], i.prototype, "endAngle");
775
+ r([
708
776
  s
709
- ], r.prototype, "groupingThreshold");
710
- a([
777
+ ], i.prototype, "displayCategoryOnDataLabel");
778
+ r([
711
779
  s
712
- ], r.prototype, "labelCharacterLimit");
713
- a([
780
+ ], i.prototype, "displayCategoryValueOnTooltip");
781
+ r([
714
782
  s
715
- ], r.prototype, "decimalPlaces");
716
- a([
783
+ ], i.prototype, "displayNumericValueOnDataLabel");
784
+ r([
717
785
  s
718
- ], r.prototype, "displayType");
719
- a([
786
+ ], i.prototype, "displayPercentageOnDataLabel");
787
+ r([
720
788
  s
721
- ], r.prototype, "setSliceName");
722
- a([
789
+ ], i.prototype, "displayNumericValueOnTooltip");
790
+ r([
723
791
  s
724
- ], r.prototype, "setSliceColor");
725
- a([
792
+ ], i.prototype, "displayPercentageOnTooltip");
793
+ r([
726
794
  s
727
- ], r.prototype, "orderOfSlices");
728
- a([
795
+ ], i.prototype, "valuePrefix");
796
+ r([
729
797
  s
730
- ], r.prototype, "moveSeries");
731
- a([
798
+ ], i.prototype, "valueSuffix");
799
+ r([
732
800
  s
733
- ], r.prototype, "resetSlices");
734
- a([
801
+ ], i.prototype, "percentagePrefix");
802
+ r([
735
803
  s
736
- ], r.prototype, "ticksVisibility");
737
- a([
804
+ ], i.prototype, "percentageSuffix");
805
+ r([
738
806
  s
739
- ], r.prototype, "startAngle");
740
- a([
807
+ ], i.prototype, "dataLabelsOffset");
808
+ r([
741
809
  s
742
- ], r.prototype, "endAngle");
743
- a([
810
+ ], i.prototype, "alignDataLabels");
811
+ r([
744
812
  s
745
- ], r.prototype, "displayCategoryValueOnTooltip");
746
- a([
813
+ ], i.prototype, "dataLabelsInside");
814
+ r([
747
815
  s
748
- ], r.prototype, "displayNumericValueOnTooltip");
749
- a([
816
+ ], i.prototype, "optimizeDataLabelsOverlapping");
817
+ r([
750
818
  s
751
- ], r.prototype, "displayPercentageOnTooltip");
752
- a([
819
+ ], i.prototype, "displayNumericValueOnLegendItems");
820
+ r([
753
821
  s
754
- ], r.prototype, "valuePrefix");
755
- a([
822
+ ], i.prototype, "displayPercentageOnLegendItems");
823
+ r([
756
824
  s
757
- ], r.prototype, "valueSuffix");
758
- a([
825
+ ], i.prototype, "displayCategoryOnLegendItems");
826
+ r([
759
827
  s
760
- ], r.prototype, "percentagePrefix");
761
- a([
828
+ ], i.prototype, "labelMaxWidth");
829
+ r([
762
830
  s
763
- ], r.prototype, "percentageSuffix");
764
- a([
831
+ ], i.prototype, "valueLabelMaxWidth");
832
+ r([
765
833
  s
766
- ], r.prototype, "dataLabelsOffset");
767
- a([
834
+ ], i.prototype, "setDisplayNumericValue");
835
+ r([
768
836
  s
769
- ], r.prototype, "alignDataLabels");
770
- a([
837
+ ], i.prototype, "setDisplayPercentage");
838
+ r([
771
839
  s
772
- ], r.prototype, "dataLabelsInside");
773
- a([
840
+ ], i.prototype, "setLabelMaxWidth");
841
+ r([
774
842
  s
775
- ], r.prototype, "optimizeDataLabelsOverlapping");
776
- const ct = [
777
- u,
778
- k,
779
- z,
780
- B,
781
- E
843
+ ], i.prototype, "displayCategory");
844
+ const nt = [
845
+ H,
846
+ J,
847
+ Q,
848
+ U,
849
+ X
782
850
  ];
783
- V(r, ct);
851
+ $(i, nt);
784
852
  export {
785
- r as PieChartModel
853
+ i as PieChartModel
786
854
  };