@arcgis/charts-components 4.34.0-next.143 → 4.34.0-next.145

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 (371) hide show
  1. package/dist/cdn/{Z6WUUF2T.js → 23P7FJNG.js} +2 -2
  2. package/dist/cdn/{GGJMORSZ.js → 2QJKR4T2.js} +1 -1
  3. package/dist/cdn/{UVEEOGJE.js → 2WGAY4SY.js} +2 -2
  4. package/dist/cdn/2XVHZGIX.js +4 -0
  5. package/dist/cdn/{WRQILX2B.js → 2YG4S5B4.js} +2 -2
  6. package/dist/cdn/{LLP5LLYH.js → 33LR6AGX.js} +2 -2
  7. package/dist/cdn/{HBSUFJH5.js → 3QXSYOL5.js} +2 -2
  8. package/dist/cdn/3U7H3BQH.js +4 -0
  9. package/dist/cdn/{VXSFM4K2.js → 4CBD6FBB.js} +2 -2
  10. package/dist/cdn/4EA36PWG.js +4 -0
  11. package/dist/cdn/{VOY4SECC.js → 4P5PBUD5.js} +2 -2
  12. package/dist/cdn/{DDN6BJZK.js → 4QLEVCHU.js} +2 -2
  13. package/dist/cdn/{423V5C4B.js → 4REBZHI5.js} +2 -2
  14. package/dist/cdn/{YATDLDWB.js → 4U7KYXFF.js} +2 -2
  15. package/dist/cdn/4VIUPVDR.js +4 -0
  16. package/dist/cdn/{TE3X665C.js → 4XP5VKHG.js} +2 -2
  17. package/dist/cdn/{B2PRCF3G.js → 53X53NXI.js} +2 -2
  18. package/dist/cdn/{M2NBNGYI.js → 55NWKHVS.js} +2 -2
  19. package/dist/cdn/5CC5IW25.js +4 -0
  20. package/dist/cdn/5LHUWJXV.js +4 -0
  21. package/dist/cdn/{VDH7KNTF.js → 5NFPOZV4.js} +2 -2
  22. package/dist/cdn/{M7SQOAZH.js → 5NGIQDTE.js} +2 -2
  23. package/dist/cdn/{OXIM4H35.js → 5WVT5RTO.js} +2 -2
  24. package/dist/cdn/5YKKGXCO.js +4 -0
  25. package/dist/cdn/{NMNYQLQR.js → 62IQVXUN.js} +2 -2
  26. package/dist/cdn/{47UT4ZJL.js → 63GZN535.js} +2 -2
  27. package/dist/cdn/{6A7Q3TQQ.js → 6J3HMQHI.js} +2 -2
  28. package/dist/cdn/{AC564Y7N.js → 6PEEQML6.js} +2 -2
  29. package/dist/cdn/6UHYVGUF.js +4 -0
  30. package/dist/cdn/{6RBT7U7F.js → 6Y2OOKIX.js} +2 -2
  31. package/dist/cdn/{UTYZK53H.js → 6YDC2P35.js} +2 -2
  32. package/dist/cdn/{OXK2XXFX.js → 73756U46.js} +2 -2
  33. package/dist/cdn/7HIO5KPB.js +4 -0
  34. package/dist/cdn/{PWHN33GS.js → 7PN3QUOU.js} +2 -2
  35. package/dist/cdn/{F4PNSY5G.js → 7UO5YSTA.js} +2 -2
  36. package/dist/cdn/A46CLGZN.js +4 -0
  37. package/dist/cdn/{664ABRXE.js → A4PAY3K3.js} +2 -2
  38. package/dist/cdn/{RL3UM6MF.js → A6VZEFSW.js} +2 -2
  39. package/dist/cdn/{FXJ6IIU7.js → AKXCBVFQ.js} +2 -2
  40. package/dist/cdn/{C722DGNP.js → AUHYYTFV.js} +2 -2
  41. package/dist/cdn/{VSWXAAOC.js → AX6UXUVU.js} +2 -2
  42. package/dist/cdn/{ZTOG5M7S.js → AXJD6UDA.js} +2 -2
  43. package/dist/cdn/{H65DVXBA.js → B6RYJ43K.js} +2 -2
  44. package/dist/cdn/{HHVXGICB.js → B7Q5NLP5.js} +2 -2
  45. package/dist/cdn/{UGS4NW57.js → BAL46UOA.js} +1 -1
  46. package/dist/cdn/{SA44ZUJK.js → BE3DFY7M.js} +2 -2
  47. package/dist/cdn/{HXX354OX.js → BFXSEIT6.js} +2 -2
  48. package/dist/cdn/{KTN3MTLN.js → BG7UG3U4.js} +2 -2
  49. package/dist/cdn/{SMDXISGW.js → BMVII32X.js} +2 -2
  50. package/dist/cdn/{QH3YQHCO.js → C2FRNUW6.js} +2 -2
  51. package/dist/cdn/CK7JI5Q3.js +4 -0
  52. package/dist/cdn/{T4ODWNN3.js → CPKR7QH2.js} +2 -2
  53. package/dist/cdn/{TX73U2FV.js → CPVTPW5Y.js} +2 -2
  54. package/dist/cdn/{YPP3POBW.js → CRL43VYJ.js} +2 -2
  55. package/dist/cdn/CXXZJZFD.js +4 -0
  56. package/dist/cdn/{2GXMFXNQ.js → D4OD66KX.js} +2 -2
  57. package/dist/cdn/{GTOLCUY3.js → D5ELH67W.js} +2 -2
  58. package/dist/cdn/{V2QONJ63.js → DCI2B2FD.js} +2 -2
  59. package/dist/cdn/{TEXZSQQM.js → DIU7E2ZK.js} +2 -2
  60. package/dist/cdn/{YJDUWPXE.js → DLUA5WT4.js} +2 -2
  61. package/dist/cdn/DWLAH5TR.js +4 -0
  62. package/dist/cdn/{27DPRRIO.js → ECKAPDVE.js} +2 -2
  63. package/dist/cdn/{BHCBPBD5.js → EDBWT6QD.js} +2 -2
  64. package/dist/cdn/{ENJOMNYR.js → EEKSQTWG.js} +2 -2
  65. package/dist/cdn/{BPU7FXWG.js → EG5MJKN4.js} +2 -2
  66. package/dist/cdn/{6BUORERH.js → EH7E3OSG.js} +2 -2
  67. package/dist/cdn/{YZL2UVIR.js → EJ5RAYJB.js} +2 -2
  68. package/dist/cdn/FB3YEJWZ.js +4 -0
  69. package/dist/cdn/{2MSHYKLY.js → G22BLGT4.js} +1 -1
  70. package/dist/cdn/{SDTEUWGA.js → G3FYI3Y4.js} +2 -2
  71. package/dist/cdn/{ZEVGYTNS.js → GCC7ZKIX.js} +1 -1
  72. package/dist/cdn/{7Y37RVXF.js → GCQQURBI.js} +2 -2
  73. package/dist/cdn/{SRARQZI7.js → GIF5B6DE.js} +2 -2
  74. package/dist/cdn/{GNVGY7HC.js → GSTGW2PC.js} +2 -2
  75. package/dist/cdn/{U4KW5WEC.js → GVZABZLI.js} +2 -2
  76. package/dist/cdn/{6NO3CTQ7.js → H73IYKQM.js} +2 -2
  77. package/dist/cdn/HQZKJCXX.js +4 -0
  78. package/dist/cdn/HYQRVUL3.js +4 -0
  79. package/dist/cdn/{LA3WXX6S.js → I2D6OCZS.js} +2 -2
  80. package/dist/cdn/I4FTJGSJ.js +4 -0
  81. package/dist/cdn/{E2NEJIIA.js → IHSY5ZJ4.js} +2 -2
  82. package/dist/cdn/IMRXRS4Q.js +4 -0
  83. package/dist/cdn/{NX27XK5S.js → IO7B7D5J.js} +2 -2
  84. package/dist/cdn/IVRMQB3J.js +4 -0
  85. package/dist/cdn/{3VOZA7FO.js → JFCOEDBZ.js} +2 -2
  86. package/dist/cdn/JODMMRMN.js +4 -0
  87. package/dist/cdn/{L4NKYMCI.js → K5RSVLLM.js} +2 -2
  88. package/dist/cdn/{OYNA3N5F.js → K6UHJ4G4.js} +2 -2
  89. package/dist/cdn/{S7PS3LSG.js → KG7QKKXQ.js} +2 -2
  90. package/dist/cdn/{WZWKVPCZ.js → KJAZIG7E.js} +2 -2
  91. package/dist/cdn/KLI4E7P6.js +4 -0
  92. package/dist/cdn/{ZS3AU56P.js → KQDF35SP.js} +2 -2
  93. package/dist/cdn/{2T3TZHDL.js → KVFLG6MZ.js} +2 -2
  94. package/dist/cdn/L2NEDME7.js +4 -0
  95. package/dist/cdn/LFVMRWWO.js +4 -0
  96. package/dist/cdn/LGZ4FYYO.js +4 -0
  97. package/dist/cdn/{U4NFJDZB.js → LIGQFHOO.js} +1 -1
  98. package/dist/cdn/LM7ZRKZD.js +4 -0
  99. package/dist/cdn/{ECPH3ETO.js → LN3CNBZI.js} +2 -2
  100. package/dist/cdn/{UR5SKTGT.js → LS5PEZ7I.js} +2 -2
  101. package/dist/cdn/LXZR2MAM.js +4 -0
  102. package/dist/cdn/{L6QNURLG.js → M5UXQELY.js} +2 -2
  103. package/dist/cdn/{V3MBA5JM.js → MB5R5GNN.js} +2 -2
  104. package/dist/cdn/{Y3F4QRXD.js → MN3GLIC7.js} +2 -2
  105. package/dist/cdn/{7PGKNQGM.js → MQ5VCBLF.js} +2 -2
  106. package/dist/cdn/MXRAVGDT.js +4 -0
  107. package/dist/cdn/N5JCBSYA.js +4 -0
  108. package/dist/cdn/NAUUD4HP.js +6 -0
  109. package/dist/cdn/NCFTABLQ.js +4 -0
  110. package/dist/cdn/{6HZURVW6.js → NNB36MNN.js} +2 -2
  111. package/dist/cdn/{NX4QKBZH.js → NORYMRRJ.js} +2 -2
  112. package/dist/cdn/{5I5TZFA5.js → NRFEFYNI.js} +2 -2
  113. package/dist/cdn/{5MDT56DS.js → NX33GLUF.js} +2 -2
  114. package/dist/cdn/{4TMOYJA4.js → O5ZIEG47.js} +2 -2
  115. package/dist/cdn/OIR4CUNN.js +4 -0
  116. package/dist/cdn/{UEDILFWW.js → ONSBYMAL.js} +2 -2
  117. package/dist/cdn/{HR444NEK.js → P2OMQBJX.js} +2 -2
  118. package/dist/cdn/{7EOCM732.js → P4RYISHS.js} +2 -2
  119. package/dist/cdn/{Q4MJCFNM.js → PE3C2VVT.js} +2 -2
  120. package/dist/cdn/{KK6BQ2CP.js → PJVEJ4VJ.js} +2 -2
  121. package/dist/cdn/PWWH3PJU.js +4 -0
  122. package/dist/cdn/{5N7T7RYN.js → QJP7W42F.js} +2 -2
  123. package/dist/cdn/{HYJWUK62.js → QLC6UQNO.js} +2 -2
  124. package/dist/cdn/{CS2LS2C4.js → QUX4W2R2.js} +2 -2
  125. package/dist/cdn/{FB7DN3DT.js → QYXR2DKG.js} +1 -1
  126. package/dist/cdn/{SYX4WHDL.js → REPR7JOJ.js} +2 -2
  127. package/dist/cdn/{PRV2MZWR.js → RGYUVBOX.js} +2 -2
  128. package/dist/cdn/RH34DBKZ.js +4 -0
  129. package/dist/cdn/{BHLQIXDL.js → RIKJVCXX.js} +2 -2
  130. package/dist/cdn/{LDV74QGM.js → RJVMVB3C.js} +2 -2
  131. package/dist/cdn/{3OUS7FTI.js → RNGWWQUB.js} +2 -2
  132. package/dist/cdn/{CTVURQ42.js → ROVK6J6N.js} +2 -2
  133. package/dist/cdn/SIBTLGYX.js +4 -0
  134. package/dist/cdn/{VBHUU653.js → SIE4BMOS.js} +2 -2
  135. package/dist/cdn/{O27CE2NW.js → SM6TRUZ4.js} +2 -2
  136. package/dist/cdn/SPTHDOS3.js +4 -0
  137. package/dist/cdn/{BYR7CBJJ.js → SRPZXNZA.js} +2 -2
  138. package/dist/cdn/{YMTBJTUG.js → STXFMN35.js} +2 -2
  139. package/dist/cdn/{4EDWTAFI.js → SUHGMJJ7.js} +2 -2
  140. package/dist/cdn/SW7REDKS.js +4 -0
  141. package/dist/cdn/{V2HKJ2XS.js → TA2Q3PNN.js} +2 -2
  142. package/dist/cdn/TCH32BGW.js +4 -0
  143. package/dist/cdn/{SIC5XWJJ.js → TDMAQDJF.js} +2 -2
  144. package/dist/cdn/{CCOKMCJT.js → TVHLL6WS.js} +1 -1
  145. package/dist/cdn/{ZEL3FQZS.js → TXKAX274.js} +2 -2
  146. package/dist/cdn/{GRIZMI32.js → UOVRTFR5.js} +2 -2
  147. package/dist/cdn/{2Y3VDB4A.js → V2VGH4SP.js} +2 -2
  148. package/dist/cdn/V4B4RG5R.js +4 -0
  149. package/dist/cdn/V4TG4F5T.js +4 -0
  150. package/dist/cdn/{GWOE3PWJ.js → V6JIQSND.js} +4 -4
  151. package/dist/cdn/V7JAB22X.js +4 -0
  152. package/dist/cdn/{CZJLDAUL.js → V7QVXIGY.js} +2 -2
  153. package/dist/cdn/VEDM662L.js +4 -0
  154. package/dist/cdn/{P4XTDT5I.js → VIM2QXPE.js} +2 -2
  155. package/dist/cdn/VY5WE4BN.js +4 -0
  156. package/dist/cdn/{U65RDXQB.js → W2DTIGXT.js} +2 -2
  157. package/dist/cdn/{OKMUSD5P.js → WCYK6P67.js} +2 -2
  158. package/dist/cdn/WL7GYTZN.js +4 -0
  159. package/dist/cdn/{HVU3PQF7.js → WM7GYBOC.js} +2 -2
  160. package/dist/cdn/{QWT35GC3.js → WN7FLYG7.js} +2 -2
  161. package/dist/cdn/{MDE477I7.js → WNFXV3QJ.js} +2 -2
  162. package/dist/cdn/{FTSITU6D.js → WWBXRNBF.js} +2 -2
  163. package/dist/cdn/{ARSMTOVV.js → XLYIJM3W.js} +2 -2
  164. package/dist/cdn/{LK353QED.js → Y2BMYWIB.js} +1 -1
  165. package/dist/cdn/{WCN5BTZK.js → Y5ZDWE52.js} +1 -1
  166. package/dist/cdn/{7LXUT7LH.js → YJOVR2R5.js} +2 -2
  167. package/dist/cdn/YK7BTVT6.js +4 -0
  168. package/dist/cdn/YL5KFG3J.js +4 -0
  169. package/dist/cdn/YMVUVTOJ.js +4 -0
  170. package/dist/cdn/{KGGAJF4P.js → YSDQ7QCE.js} +2 -2
  171. package/dist/cdn/{Z3J5IOTX.js → Z4QQHCZI.js} +2 -2
  172. package/dist/cdn/{4HULC2CI.js → Z7OF6WDB.js} +2 -2
  173. package/dist/cdn/{DZ2QWGES.js → ZDKAHVZJ.js} +2 -2
  174. package/dist/cdn/{L46ACBCL.js → ZK45PZ7Q.js} +2 -2
  175. package/dist/cdn/{FZ2FCD6T.js → ZKZX2IGF.js} +2 -2
  176. package/dist/cdn/{CLKJKT6J.js → ZMGFFXDZ.js} +2 -2
  177. package/dist/cdn/{DBFWRZDJ.js → ZNUEW42P.js} +2 -2
  178. package/dist/cdn/{FJRBRN6U.js → ZP73TTQD.js} +2 -2
  179. package/dist/cdn/{ZK4WKR7K.js → ZWQXKU3W.js} +16 -16
  180. package/dist/cdn/index.js +2 -2
  181. package/dist/chunks/action-bar-utils.js +1 -1
  182. package/dist/chunks/axis-model-wrapper.js +1 -1
  183. package/dist/chunks/bar-chart-model.js +53 -53
  184. package/dist/chunks/bar-chart-series.js +1 -1
  185. package/dist/chunks/baseline-stacking.js +1 -1
  186. package/dist/chunks/bg_BG.js +1 -1
  187. package/dist/chunks/bg_BG2.js +1 -1
  188. package/dist/chunks/box-plot-data.js +306 -348
  189. package/dist/chunks/box-plot-model.js +239 -203
  190. package/dist/chunks/chart-ui-utils.js +1 -1
  191. package/dist/chunks/chart-ui-utils2.js +1 -1
  192. package/dist/chunks/combo-bar-line-chart-model.js +128 -98
  193. package/dist/chunks/common.js +1 -1
  194. package/dist/chunks/data.js +705 -739
  195. package/dist/chunks/default.js +1 -1
  196. package/dist/chunks/gauge-model.js +195 -232
  197. package/dist/chunks/histogram-data.js +64 -68
  198. package/dist/chunks/histogram-model.js +106 -141
  199. package/dist/chunks/index.js +1 -1
  200. package/dist/chunks/index2.js +1 -1
  201. package/dist/chunks/index3.js +1 -1
  202. package/dist/chunks/index4.js +1 -1
  203. package/dist/chunks/index5.js +1 -1
  204. package/dist/chunks/interfaces.js +240 -279
  205. package/dist/chunks/interfaces2.js +1 -1
  206. package/dist/chunks/interfaces3.js +1 -1
  207. package/dist/chunks/interfaces4.js +1 -1
  208. package/dist/chunks/line-chart-model.js +51 -54
  209. package/dist/chunks/model-with-baseline-stacking.js +77 -57
  210. package/dist/chunks/model-with-data-labels.js +111 -167
  211. package/dist/chunks/model-with-multi-axes.js +672 -766
  212. package/dist/chunks/model-with-rotation.js +9 -12
  213. package/dist/chunks/pie-chart-data.js +162 -160
  214. package/dist/chunks/pie-chart-model.js +364 -449
  215. package/dist/chunks/popover-ui-utils.js +7 -7
  216. package/dist/chunks/radar-chart-model.js +51 -54
  217. package/dist/chunks/resource.js +1 -1
  218. package/dist/chunks/rest-js-object-literals.js +1 -1
  219. package/dist/chunks/runtime.js +1 -1
  220. package/dist/chunks/scatterplot-model.js +138 -168
  221. package/dist/chunks/serial-chart-model.js +281 -272
  222. package/dist/chunks/series-types.js +1 -1
  223. package/dist/chunks/series.js +1 -1
  224. package/dist/chunks/sk_SK.js +1 -1
  225. package/dist/chunks/store.js +1 -1
  226. package/dist/chunks/type-guards.js +49 -49
  227. package/dist/chunks/useT9n.js +1 -1
  228. package/dist/chunks/web-component-utils.js +20 -18
  229. package/dist/components/arcgis-chart/customElement.js +955 -955
  230. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  231. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
  233. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +27 -27
  234. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +10 -0
  235. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +61 -61
  236. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +20 -20
  237. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +34 -34
  238. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
  240. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +60 -60
  241. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +23 -23
  243. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-create-flow/customElement.js +94 -96
  249. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-format/customElement.js +50 -50
  252. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-general/customElement.js +28 -28
  254. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-histogram/customElement.js +5 -5
  259. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +48 -48
  260. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  261. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -5
  263. package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +20 -0
  264. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +68 -68
  265. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +30 -30
  266. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -4
  267. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +23 -23
  271. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +37 -37
  272. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +10 -0
  273. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +32 -32
  274. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -39
  275. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
  277. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +76 -75
  278. package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +1 -0
  279. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -8
  282. package/dist/docs/api.json +2 -2
  283. package/dist/docs/docs.json +2 -2
  284. package/dist/docs/web-types.json +1 -1
  285. package/dist/index.js +1 -1
  286. package/dist/json-schema/index.d.ts +3 -0
  287. package/dist/loader.js +1 -1
  288. package/dist/model/bar-chart-model/bar-chart-model.d.ts +1 -6
  289. package/dist/model/box-plot-model/box-plot-model.d.ts +70 -93
  290. package/dist/model/box-plot-model/utils/box-plot-data.d.ts +33 -27
  291. package/dist/model/chart-model/chart-model.d.ts +81 -189
  292. package/dist/model/chart-model/utils/types.d.ts +2 -2
  293. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -4
  294. package/dist/model/gauge-model/gauge-model.d.ts +61 -153
  295. package/dist/model/gauge-model/utils/gauge-data.d.ts +24 -10
  296. package/dist/model/gauge-model/utils/gauge-series.d.ts +12 -6
  297. package/dist/model/histogram-model/histogram-model.d.ts +41 -106
  298. package/dist/model/histogram-model/utils/histogram-data.d.ts +11 -4
  299. package/dist/model/line-chart-model/line-chart-model.d.ts +2 -7
  300. package/dist/model/mixins/model-with-basic-x-axis.d.ts +23 -68
  301. package/dist/model/mixins/model-with-color-match.d.ts +3 -14
  302. package/dist/model/mixins/model-with-data-labels.d.ts +7 -26
  303. package/dist/model/mixins/model-with-guides.d.ts +3 -7
  304. package/dist/model/mixins/model-with-legend.d.ts +24 -76
  305. package/dist/model/mixins/model-with-multi-axes.d.ts +14 -40
  306. package/dist/model/mixins/model-with-rotation.d.ts +3 -8
  307. package/dist/model/mixins/model-with-temporal-binning.d.ts +15 -48
  308. package/dist/model/pie-chart-model/pie-chart-model.d.ts +88 -248
  309. package/dist/model/pie-chart-model/utils/pie-chart-data.d.ts +10 -5
  310. package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +10 -10
  311. package/dist/model/radar-chart-model/radar-chart-model.d.ts +2 -7
  312. package/dist/model/scatterplot-model/scatterplot-model.d.ts +26 -70
  313. package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +17 -5
  314. package/dist/model/serial-chart-model/serial-chart-model.d.ts +75 -85
  315. package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +32 -36
  316. package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +14 -6
  317. package/dist/model/shared/axes.d.ts +9 -6
  318. package/dist/model/shared/data.d.ts +6 -0
  319. package/dist/model/shared/utils.d.ts +0 -1
  320. package/dist/model.js +5 -5
  321. package/dist/spec/data-source.d.ts +1 -0
  322. package/dist/spec/events.d.ts +1 -1
  323. package/dist/utils/defaults/index.d.ts +24 -23
  324. package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
  325. package/package.json +4 -4
  326. package/dist/cdn/2I45E4HX.js +0 -4
  327. package/dist/cdn/2KA57ESL.js +0 -4
  328. package/dist/cdn/2KJ6DUBU.js +0 -4
  329. package/dist/cdn/33MZG54V.js +0 -4
  330. package/dist/cdn/3YPORNCM.js +0 -4
  331. package/dist/cdn/4VI6KX2G.js +0 -4
  332. package/dist/cdn/5ELXT6PR.js +0 -4
  333. package/dist/cdn/5SG67GSY.js +0 -4
  334. package/dist/cdn/5SJLW2TE.js +0 -4
  335. package/dist/cdn/6F46JHJD.js +0 -4
  336. package/dist/cdn/7HZIBDBN.js +0 -4
  337. package/dist/cdn/7UNGWO45.js +0 -4
  338. package/dist/cdn/A7F4LHVM.js +0 -4
  339. package/dist/cdn/AIHQHM4V.js +0 -4
  340. package/dist/cdn/BRFPPI6O.js +0 -6
  341. package/dist/cdn/CDCPDQP7.js +0 -4
  342. package/dist/cdn/D5534GMU.js +0 -4
  343. package/dist/cdn/EJUGL4QY.js +0 -4
  344. package/dist/cdn/FDGLYVMO.js +0 -4
  345. package/dist/cdn/FFOLYKDF.js +0 -4
  346. package/dist/cdn/FOOSRTYP.js +0 -4
  347. package/dist/cdn/GVWQ2O6V.js +0 -4
  348. package/dist/cdn/JLWIFYPQ.js +0 -4
  349. package/dist/cdn/JTBNI6SM.js +0 -4
  350. package/dist/cdn/KOMDBSMS.js +0 -4
  351. package/dist/cdn/KQQ7FWII.js +0 -4
  352. package/dist/cdn/LDLGWCT5.js +0 -4
  353. package/dist/cdn/MLCW5RKR.js +0 -4
  354. package/dist/cdn/N4MLKZVD.js +0 -4
  355. package/dist/cdn/N6TQQBVF.js +0 -4
  356. package/dist/cdn/NHEJYFBE.js +0 -4
  357. package/dist/cdn/NOKTLBNB.js +0 -4
  358. package/dist/cdn/P6VORUPJ.js +0 -4
  359. package/dist/cdn/QUW3APXX.js +0 -4
  360. package/dist/cdn/QYBP46E3.js +0 -4
  361. package/dist/cdn/RDDHCGUT.js +0 -4
  362. package/dist/cdn/RFTRBMMB.js +0 -4
  363. package/dist/cdn/RKIFKKFA.js +0 -4
  364. package/dist/cdn/S3STODPH.js +0 -4
  365. package/dist/cdn/UDDG2EO4.js +0 -4
  366. package/dist/cdn/VUORQAFM.js +0 -4
  367. package/dist/cdn/WU4NBI26.js +0 -4
  368. package/dist/cdn/X25LJUWS.js +0 -4
  369. package/dist/cdn/YCIOSELY.js +0 -4
  370. package/dist/cdn/YG76ZVWF.js +0 -4
  371. package/dist/cdn/YHX5XN4Y.js +0 -4
@@ -1,8 +1,8 @@
1
- import { fetchT9nStringsBundle as B, getElementLocale as v } from "@arcgis/toolkit/intl";
1
+ import "@arcgis/toolkit/intl";
2
2
  import "lodash-es";
3
- import { W as x } from "./series-types.js";
3
+ import { W as O } from "./series-types.js";
4
4
  import "d3-array";
5
- import { aI as F, aB as I, cd as O, a2 as W, a5 as U, X as E, a$ as g, $ as c, a0 as d } from "./interfaces.js";
5
+ import { a2 as n, aI as I, aB as x, cd as A, a5 as b, X as U, a$ as l, $ as g, a0 as c } from "./interfaces.js";
6
6
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
7
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
8
  import "@arcgis/core/rest/support/Query.js";
@@ -10,118 +10,97 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
10
10
  import "@arcgis/core/time/TimeExtent.js";
11
11
  import "@arcgis/core/core/promiseUtils.js";
12
12
  import "@arcgis/core/request.js";
13
- import { g as b } from "./runtime.js";
14
- import { j as a } from "./index4.js";
13
+ import "./runtime.js";
14
+ import { j as o } from "./index4.js";
15
15
  import "@arcgis/toolkit/dom";
16
- import { C as D, M as N, a as T } from "./model-with-multi-axes.js";
17
- import { M as V, a as P, b as A, c as z } from "./model-with-data-labels.js";
16
+ import { C as P, M as W, a as D } from "./model-with-multi-axes.js";
17
+ import { B as N } from "./common.js";
18
+ import { M as V, a as E, b as T, c as R } from "./model-with-data-labels.js";
18
19
  import "@arcgis/core/intl.js";
19
- import { M as k } from "./model-with-rotation.js";
20
- import { i as Y, f as j, e as K } from "./data.js";
21
- import { g as R, s as f, a as X, b as m } from "./series.js";
22
- import { g as $, s as q, a as G, b as H, c as J, d as Q, e as Z, f as ee, h as te, i as ie, j as se, k as oe, l as re, m as S, n as u, o as ae, p as ne, q as le, r as he, t as y, u as ge, v as C, w as ce, x as p, y as de, z as fe, A as me, B as Se, C as ue, D as ye, E as L } from "./box-plot-data.js";
20
+ import { M as z } from "./model-with-rotation.js";
21
+ import { i as k, f as K, e as Y } from "./data.js";
22
+ import { g as j, s as d, a as X, b as f } from "./series.js";
23
+ import { g as $, s as q, a as G, b as H, c as m, d as u, e as S, f as y, h as p, i as J, j as Q, k as Z, l as C, m as ee, n as te, o as ie, p as L, q as se, r as _, t as re, u as F, v as oe, w as ne, x as ae, y as he, z as le, A as ge, B as w } from "./box-plot-data.js";
23
24
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
24
25
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
25
- v4.34.0-next.143 */
26
- class Ce extends D {
26
+ v4.34.0-next.145 */
27
+ class ce extends P {
27
28
  constructor() {
28
- super(...arguments), this._chartType = x.BoxPlotSeries;
29
- }
30
- static {
31
- this.supportsCustomSort = !0;
29
+ super(...arguments), this._chartType = O.BoxPlotSeries, this._category = n, this._splitByField = "", this._numericFields = [];
32
30
  }
33
31
  async setup(e) {
34
- await this.loadConfigFromLayer(e), this.commonStrings = await B(
35
- v(document.documentElement).t9nLocale,
36
- b("./assets/common/t9n"),
37
- "messages."
38
- ), e.config !== void 0 && await this.updateSeriesFromLayerFilter(), typeof this.resolveSetup == "function" && this.resolveSetup();
32
+ await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.updateSeriesFromLayerFilter(), typeof this.resolveSetup == "function" && this.resolveSetup();
39
33
  }
40
34
  // ---------------------------------------------------------------------------------------------
41
35
  // #region Data Props
42
36
  // ---------------------------------------------------------------------------------------------
43
37
  /**
44
- * Gets the category field for the box plot.
45
- * @returns {string}
38
+ * The category field for the box plot.
46
39
  */
47
- getCategory() {
48
- return $(this._config);
40
+ get category() {
41
+ return this._category;
49
42
  }
50
- /**
51
- * Sets the category field for the box plot.
52
- * @param {string} newCategory The new category field.
53
- * @async **This method is `async` and must be awaited for the changes to take effect.**
54
- */
55
- async setCategory(e) {
56
- await q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setCategory");
43
+ set category(e) {
44
+ const t = e.trim() === "";
45
+ this._category = t ? n : e, this.dirtyAsyncSetters.push("category"), this.processSeriesRebuild();
57
46
  }
58
47
  /**
59
- * Gets the numeric fields array for the box plot.
60
- * @returns {string[]}
48
+ * The numeric fields array for the box plot.
61
49
  */
62
- getNumericFields() {
63
- return G(this._config);
50
+ get numericFields() {
51
+ return this._numericFields;
64
52
  }
65
- /**
66
- * Sets the numeric field or numeric fields array for the box plot.
67
- * @param {string[] | string} newNumericFields The new numeric field or numeric fields array.
68
- * @async **This method is `async` and must be awaited for the changes to take effect.**
69
- */
70
- async setNumericFields(e) {
53
+ set numericFields(e) {
71
54
  const { layerFieldsInfo: t } = this.layerInfo;
72
- typeof e == "string" && (e = [e]), Y(t, e) ? (await H(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setNumericFields")) : console.log("Invalid numericFields");
55
+ typeof e == "string" && (e = [e]), k(t, e) ? (this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), this.processSeriesRebuild()) : console.log("Invalid numericFields");
73
56
  }
74
57
  /**
75
- * Gets the split-by field for the box plot.
76
- * @returns {string}
58
+ * The split-by field for the box plot.
77
59
  */
78
- getSplitByField() {
79
- return J(this._config);
60
+ get splitByField() {
61
+ return this._splitByField;
80
62
  }
81
- /**
82
- * Sets the split-by field for the box plot.
83
- * @param {string} newSplitByField The new split-by field.
84
- * @async **This method is `async` and must be awaited for the changes to take effect.**
85
- */
86
- async setSplitByField(e) {
87
- j(this.layerInfo.layerFieldsInfo, e) ? (await Q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setSplitByField")) : console.log("Invalid splitByField");
63
+ set splitByField(e) {
64
+ K(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild()) : console.log("Invalid splitByField");
88
65
  }
89
66
  /**
90
- * Gets whether outliers are shown.
91
- * @returns {boolean}
67
+ * Whether outliers are shown.
92
68
  */
93
- getShowOutliers() {
94
- return Z(this._config);
69
+ get showOutliers() {
70
+ return $(this._config);
95
71
  }
96
- /**
97
- * Sets whether outliers are shown.
98
- * @param {boolean} newShowOutliersState The new show outliers state.
99
- * @async **This method is `async` and must be awaited for the changes to take effect.**
100
- */
101
- async setShowOutliers(e) {
102
- await ee(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setShowOutliers");
72
+ set showOutliers(e) {
73
+ this.guardSetterFromAsyncOverwrite(() => {
74
+ q({
75
+ newShowOutliers: e,
76
+ config: this._config,
77
+ layerInfo: this.layerInfo,
78
+ commonStrings: this.commonStrings
79
+ }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("showOutliers");
80
+ });
103
81
  }
104
82
  /**
105
- * Gets whether values are standardized as z-scores.
106
- * @returns {boolean}
83
+ * Whether values are standardized as z-scores.
107
84
  */
108
- getStandardizeValues() {
109
- return te(this._config);
85
+ get standardizeValues() {
86
+ return G(this._config);
110
87
  }
111
- /**
112
- * Sets whether values are standardized as z-scores.
113
- * @param {boolean} newStandardizeValuesState The new standardize values state.
114
- * @async **This method is `async` and must be awaited for the changes to take effect.**
115
- */
116
- async setStandardizeValues(e) {
117
- await ie(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setStandardizeValues");
88
+ set standardizeValues(e) {
89
+ this.guardSetterFromAsyncOverwrite(() => {
90
+ H({
91
+ newStandardizeValues: e,
92
+ config: this._config,
93
+ layerInfo: this.layerInfo,
94
+ commonStrings: this.commonStrings
95
+ }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("standardizeValues");
96
+ });
118
97
  }
119
98
  /**
120
99
  * Gets the sort order of the box plot data.
121
100
  * @returns {"xAxisAsc" | "xAxisDesc"| "meanAsc" | "meanDesc" | "medianAsc" | "medianDesc" | "customSort"}
122
101
  */
123
102
  getSortOrder() {
124
- return se(this._config);
103
+ return m(this._config);
125
104
  }
126
105
  /**
127
106
  * Sets the sort order of the box plot data.
@@ -129,92 +108,147 @@ class Ce extends D {
129
108
  * @param {string[]} orderByList The new list of category's values for custom sort.
130
109
  */
131
110
  setSortOrder(e, t) {
132
- oe(e, this._config, t), this.emitConfigUpdate("setSortOrder");
111
+ this.guardSetterFromAsyncOverwrite(() => {
112
+ u(e, this._config, t), this.emitConfigUpdate("setSortOrder");
113
+ });
133
114
  }
134
115
  /**
135
116
  * Gets the list of the category values for the chart.
136
117
  * @returns {string[]}
137
118
  */
138
119
  async getCustomSortValues() {
139
- return await re(this._config, this.layerInfo);
120
+ return await S(this._config, this.layerInfo);
140
121
  }
141
122
  /**
142
- * Gets the list of category's values for custom sort
143
- * @returns {string[]}
123
+ * Sets the data filter for the bar chart.
124
+ * @param {WebChartDataFilters | undefined} newDataFilter The new data filter.
144
125
  */
145
- getOrderByList() {
146
- return S(this._config);
126
+ async setDataFilters(e) {
127
+ super.setDataFilters(e);
128
+ const t = m(this._config);
129
+ if (t === N.customSort) {
130
+ const i = await S(this._config, this.layerInfo);
131
+ u(t, this._config, i);
132
+ }
133
+ this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilter");
147
134
  }
148
135
  /**
149
- * Sets the list of category's values for custom sort
150
- * @param {string[]} newOrderByList The new list of category's values
136
+ * The list of category's values for custom sort
151
137
  */
152
- setOrderByList(e) {
153
- u(e, this._config), this.emitConfigUpdate("setOrderByList");
138
+ get orderByList() {
139
+ return y(this._config);
140
+ }
141
+ set orderByList(e) {
142
+ this.guardSetterFromAsyncOverwrite(() => {
143
+ p(e, this._config), this.emitConfigUpdate("orderByList");
144
+ });
154
145
  }
155
146
  /**
156
147
  * Updates the series based on the layer filter.
157
148
  * @async **This method is `async` and must be awaited for the changes to take effect.*
158
149
  */
159
150
  async updateSeriesFromLayerFilter() {
160
- await ae({
161
- splitByField: this.getSplitByField(),
162
- numericFields: this.getNumericFields(),
163
- category: this.getCategory(),
164
- config: this._config,
165
- layerInfo: this.layerInfo
166
- }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("updateSeriesFromLayerFilter");
151
+ this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"), await this.processSeriesRebuild();
167
152
  }
168
153
  // ---------------------------------------------------------------------------------------------
169
154
  // #region Series Props
170
155
  // ---------------------------------------------------------------------------------------------
171
156
  /**
172
- * Gets whether mean lines are shown.
173
- * @returns {boolean | undefined}
157
+ * Whether mean lines are shown.
174
158
  */
175
- getShowMeanLines() {
176
- return ne(this._config);
159
+ get showMeanLines() {
160
+ return J(this._config);
177
161
  }
178
- /**
179
- * Sets whether mean lines are shown.
180
- * @param {boolean | undefined} newShowMeanLines The new show mean lines state.
181
- */
182
- async setShowMeanLines(e) {
183
- const { previousMeanLinesBoxColor: t } = await le(
184
- e,
185
- this._config,
186
- this.previousMeanLinesBoxColor
187
- );
188
- this.previousMeanLinesBoxColor = t, this.emitConfigUpdate("setShowMeanLines");
162
+ set showMeanLines(e) {
163
+ this.guardSetterFromAsyncOverwrite(() => {
164
+ const { previousMeanLinesBoxColor: t } = Q({
165
+ newShowMeanLines: e,
166
+ config: this._config,
167
+ commonStrings: this.commonStrings,
168
+ previousMeanLinesBoxColor: this.previousMeanLinesBoxColor
169
+ });
170
+ this.previousMeanLinesBoxColor = t, this.emitConfigUpdate("showMeanLines");
171
+ });
189
172
  }
190
173
  /**
191
- * Gets the color of the boxes when showing mean lines. Only applicable when mean lines are shown.
192
- * @returns {Color | undefined}
174
+ * The color of the boxes when showing mean lines. Only applicable when mean lines are shown.
193
175
  */
194
- getMeanLinesBoxColor() {
195
- return he(this._config);
176
+ get meanLinesBoxColor() {
177
+ return Z(this._config);
196
178
  }
197
- /**
198
- * Sets the color of the boxes when showing mean lines. Only applicable when mean lines are shown.
199
- * @param {Color | undefined} newColor The new color.
200
- */
201
- setMeanLinesBoxColor(e) {
202
- y(e, this._config), this.emitConfigUpdate("setMeanLinesBoxColor");
179
+ set meanLinesBoxColor(e) {
180
+ this.guardSetterFromAsyncOverwrite(() => {
181
+ C(e, this._config), this.emitConfigUpdate("meanLinesBoxColor");
182
+ });
203
183
  }
204
184
  // ---------------------------------------------------------------------------------------------
205
185
  // #region Protected Methods
206
186
  // ---------------------------------------------------------------------------------------------
207
- async generateDefaultConfig() {
208
- const e = await F();
209
- return e.series = [await I()], e;
187
+ /**
188
+ * Sets up the local props based on the current config.
189
+ * @category Protected
190
+ */
191
+ setupLocalProps() {
192
+ this._category = ee(this._config), this._splitByField = te(this._config), this._numericFields = ie(this._config);
193
+ }
194
+ generateDefaultConfig() {
195
+ const e = I(this.commonStrings);
196
+ return e.series = [x(this.commonStrings)], e;
210
197
  }
211
198
  /**
212
199
  * Resets the config to the default config
213
200
  */
214
- async resetConfig() {
201
+ resetConfig() {
215
202
  const e = this._config.id;
216
- this._config = await this.generateDefaultConfig(), this._config.id = e, this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("resetConfig");
203
+ this._config = this.generateDefaultConfig(), this._config.id = e, this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("resetConfig");
204
+ }
205
+ /**
206
+ * Determines if we can rebuild the series synchronously.
207
+ * We can call the build new series function synchronously when either is true:
208
+ * - there is no split-by field
209
+ * - there are multiple numeric fields
210
+ * @category Protected
211
+ */
212
+ canUseSynchronousSeriesRebuild() {
213
+ return this.splitByField === "" || this.numericFields.length > 1;
214
+ }
215
+ /**
216
+ * Processes the series rebuild.
217
+ * If multiple async setters are called in succession, this function will only rebuild the series once after all setters have been called.
218
+ * @category Protected
219
+ * @async
220
+ */
221
+ async processSeriesRebuild() {
222
+ if (this.layerInfo !== void 0) {
223
+ const e = this.dirtyAsyncSetters[this.dirtyAsyncSetters.length - 1];
224
+ if (this.canUseSynchronousSeriesRebuild())
225
+ this.dirtyAsyncSetters = [], L(this.getBuildNewSeriesProps());
226
+ else if (!this.asyncConfigUpdateInProgress) {
227
+ for (this.asyncConfigUpdateInProgress = !0, this.setupFinished = new Promise((t) => {
228
+ this.resolveSetup = t;
229
+ }); this.dirtyAsyncSetters.length > 0; )
230
+ this.dirtyAsyncSetters = [], await L(this.getBuildNewSeriesProps());
231
+ this.asyncConfigUpdateInProgress = !1, this.resolveSetup?.();
232
+ }
233
+ this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
234
+ }
235
+ }
236
+ //#endregion
237
+ // #region Private Methods
238
+ /**
239
+ * Gets the properties needed to build a new series array.
240
+ */
241
+ getBuildNewSeriesProps() {
242
+ return {
243
+ category: this.category,
244
+ splitByField: this.splitByField,
245
+ numericFields: this.numericFields,
246
+ config: this._config,
247
+ layerInfo: this.layerInfo,
248
+ commonStrings: this.commonStrings
249
+ };
217
250
  }
251
+ // #endregion
218
252
  // ---------------------------------------------------------------------------------------------
219
253
  // #region Series Methods
220
254
  // ---------------------------------------------------------------------------------------------
@@ -224,7 +258,7 @@ class Ce extends D {
224
258
  * @returns {string | undefined}
225
259
  */
226
260
  getSeriesName(e) {
227
- return ge(e, this._config);
261
+ return se(e, this._config);
228
262
  }
229
263
  /**
230
264
  * Sets name of the series based on the series index.
@@ -232,7 +266,9 @@ class Ce extends D {
232
266
  * @param {number} seriesIndex The index of the series.
233
267
  */
234
268
  setSeriesName(e, t) {
235
- C(e, t, this._config), this.emitConfigUpdate("setSeriesName");
269
+ this.guardSetterFromAsyncOverwrite(() => {
270
+ _(e, t, this._config), this.emitConfigUpdate("setSeriesName");
271
+ });
236
272
  }
237
273
  /**
238
274
  * Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -240,7 +276,7 @@ class Ce extends D {
240
276
  * @returns {Color | undefined}
241
277
  */
242
278
  getSeriesColor(e) {
243
- return ce(e, this._config);
279
+ return re(e, this._config);
244
280
  }
245
281
  /**
246
282
  * Sets the color of the series based on the series index.
@@ -248,7 +284,9 @@ class Ce extends D {
248
284
  * @param {number} seriesIndex The index of the series.
249
285
  */
250
286
  setSeriesColor(e, t) {
251
- p(e, t, this._config), this.emitConfigUpdate("setSeriesColor");
287
+ this.guardSetterFromAsyncOverwrite(() => {
288
+ F(e, t, this._config), this.emitConfigUpdate("setSeriesColor");
289
+ });
252
290
  }
253
291
  /**
254
292
  * Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -260,8 +298,8 @@ class Ce extends D {
260
298
  */
261
299
  getSeriesLineStyle(e) {
262
300
  const t = this._config.series[e];
263
- if (this.getShowMeanLines() === !0 && a(t))
264
- return R(t);
301
+ if (this.showMeanLines === !0 && o(t))
302
+ return j(t);
265
303
  }
266
304
  /**
267
305
  * Sets the line style of the series based on the series index.
@@ -272,8 +310,10 @@ class Ce extends D {
272
310
  * @param {number} seriesIndex The index of the series.
273
311
  */
274
312
  setSeriesLineStyle(e, t) {
275
- const i = this._config.series[t];
276
- this.getShowMeanLines() === !0 && a(i) && f(e, i), this.emitConfigUpdate("setSeriesLineStyle");
313
+ this.guardSetterFromAsyncOverwrite(() => {
314
+ const i = this._config.series[t];
315
+ this.showMeanLines === !0 && o(i) && d(e, i), this.emitConfigUpdate("setSeriesLineStyle");
316
+ });
277
317
  }
278
318
  /**
279
319
  * Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -285,7 +325,7 @@ class Ce extends D {
285
325
  */
286
326
  getSeriesLineWidth(e) {
287
327
  const t = this._config.series[e];
288
- if (this.getShowMeanLines() === !0 && a(t))
328
+ if (this.showMeanLines === !0 && o(t))
289
329
  return X(t);
290
330
  }
291
331
  /**
@@ -297,22 +337,21 @@ class Ce extends D {
297
337
  * @param {number} seriesIndex The index of the series.
298
338
  */
299
339
  setSeriesLineWidth(e, t) {
300
- const i = this._config.series[t];
301
- this.getShowMeanLines() === !0 && a(i) && m(e, i), this.emitConfigUpdate("setSeriesLineWidth");
340
+ this.guardSetterFromAsyncOverwrite(() => {
341
+ const i = this._config.series[t];
342
+ this.showMeanLines === !0 && o(i) && f(e, i), this.emitConfigUpdate("setSeriesLineWidth");
343
+ });
302
344
  }
303
345
  /**
304
- * Gets the order of the series array by returning an array of series ids.
305
- * @returns {string[]}
346
+ * The order of the series array by returning an array of series ids.
306
347
  */
307
- getOrderOfSeries() {
308
- return de(this._config);
348
+ get orderOfSeries() {
349
+ return oe(this._config);
309
350
  }
310
- /**
311
- * Sets the order of the series array by providing an array of series ids.
312
- * @param {string[]} newOrder The new order of the series array.
313
- */
314
- setOrderOfSeries(e) {
315
- fe(e, this._config), this.emitConfigUpdate("setOrderOfSeries");
351
+ set orderOfSeries(e) {
352
+ this.guardSetterFromAsyncOverwrite(() => {
353
+ ne(e, this._config), this.emitConfigUpdate("orderOfSeries");
354
+ });
316
355
  }
317
356
  /**
318
357
  * Moves a series from one index in the series array to another.
@@ -320,16 +359,17 @@ class Ce extends D {
320
359
  * @param {number} toIndex Index to move the series to.
321
360
  */
322
361
  moveSeries(e, t) {
323
- me(e, t, this._config), this.emitConfigUpdate("moveSeries");
362
+ this.guardSetterFromAsyncOverwrite(() => {
363
+ ae(e, t, this._config), this.emitConfigUpdate("moveSeries");
364
+ });
324
365
  }
325
366
  /**
326
- * Get the index of the box plot series in the series array in config object when show mean is true.
367
+ * The index of the box plot series in the series array in config object when show mean is true.
327
368
  *
328
369
  * **NOTE**: There is only one box plot series when show mean is true. The function returns '-1' if show mean is false.
329
- * @param config - config object
330
370
  */
331
- getBoxPlotSeriesIndexWhenMeanLinesShown() {
332
- return Se(this._config);
371
+ get boxPlotSeriesIndexWhenMeanLinesShown() {
372
+ return he(this._config);
333
373
  }
334
374
  /**
335
375
  * Move the custom sort values in-place for the order by list in the config.
@@ -339,19 +379,19 @@ class Ce extends D {
339
379
  * @param {number} toIndex The index to move the category item to.
340
380
  */
341
381
  moveCustomSortValuesInOrderByList(e, t) {
342
- const i = S(this._config), [o] = i.splice(e, 1);
343
- i.splice(t, 0, o), u(i, this._config), this.emitConfigUpdate("moveCustomSortValuesInOrderByList");
382
+ this.guardSetterFromAsyncOverwrite(() => {
383
+ const i = y(this._config), [s] = i.splice(e, 1);
384
+ i.splice(t, 0, s), p(i, this._config), this.emitConfigUpdate("moveCustomSortValuesInOrderByList");
385
+ });
344
386
  }
345
387
  // ---------------------------------------------------------------------------------------------
346
388
  // #region General Methods
347
389
  // ---------------------------------------------------------------------------------------------
348
390
  /**
349
391
  * Generate the proper chart title given the current config.
350
- *
351
- * @returns {string}
352
392
  */
353
- async generateChartTitle() {
354
- return await ue(this._config, this.layerInfo);
393
+ generateChartTitle() {
394
+ return le(this._config, this.layerInfo, this.commonStrings);
355
395
  }
356
396
  /**
357
397
  * Generate the proper x-axis title given the current config.
@@ -359,16 +399,13 @@ class Ce extends D {
359
399
  * @returns {string}
360
400
  */
361
401
  generateXAxisTitle() {
362
- const e = this.getCategory();
363
- return e !== W ? O(this.layerInfo.layerFieldsInfo, e) : "";
402
+ return this._category !== n ? A(this.layerInfo.layerFieldsInfo, this._category) : "";
364
403
  }
365
404
  /**
366
405
  * Generate the proper y-axis title given the current config.
367
- *
368
- * @returns {string}
369
406
  */
370
- async generateYAxisTitle() {
371
- return await ye(this._config, this.layerInfo);
407
+ generateYAxisTitle() {
408
+ return ge(this._config, this.layerInfo, this.commonStrings);
372
409
  }
373
410
  // ---------------------------------------------------------------------------------------------
374
411
  // #region Reset Methods
@@ -377,64 +414,63 @@ class Ce extends D {
377
414
  * Resets the series styling to the default styling.
378
415
  */
379
416
  resetSeriesStyling() {
380
- const e = this.getSeriesLength(), t = this.getShowMeanLines();
381
- for (let i = t === !0 ? 1 : 0; i < e; i += 1) {
382
- const o = this.getSeriesId(i), n = U({
383
- colorIndex: i,
384
- opacity: E
385
- }), r = this._config.series[i];
386
- p(n, i, this._config);
387
- const s = L({
388
- series: r,
389
- splitByField: this.getSplitByField(),
390
- layerInfo: this.layerInfo,
391
- commonStrings: this.commonStrings
392
- });
393
- C(s ?? o, i, this._config), t === !0 && a(r) && (f(c, r), m(d, r));
394
- }
395
- t === !0 && y(g, this._config), this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
417
+ this.guardSetterFromAsyncOverwrite(() => {
418
+ for (let e = this.showMeanLines === !0 ? 1 : 0; e < this.seriesLength; e += 1) {
419
+ const t = this.getSeriesId(e), i = b({
420
+ colorIndex: e,
421
+ opacity: U
422
+ }), s = this._config.series[e];
423
+ F(i, e, this._config);
424
+ const r = w({
425
+ series: s,
426
+ splitByField: this._splitByField,
427
+ layerInfo: this.layerInfo,
428
+ commonStrings: this.commonStrings
429
+ });
430
+ _(r ?? t, e, this._config), this.showMeanLines === !0 && o(s) && (d(g, s), f(c, s));
431
+ }
432
+ this.showMeanLines === !0 && C(l, this._config), this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
433
+ });
396
434
  }
397
435
  /**
398
436
  * Returns whether the series styling is able to be reset.
399
437
  * @returns {boolean}
400
438
  */
401
439
  resetAvailable() {
402
- const e = !this.getColorMatch(), t = this.getShowMeanLines(), i = t === !0 && this.getMeanLinesBoxColor() !== g;
403
- let o = !1, n = !1;
404
- if (!e) {
405
- const r = this.getSeriesLength();
406
- for (let s = t === !0 ? 1 : 0; s < r; s += 1) {
407
- const l = this._config.series[s], h = L({
408
- series: l,
409
- splitByField: this.getSplitByField(),
440
+ const e = !this.colorMatch, t = this.showMeanLines === !0 && this.meanLinesBoxColor !== l;
441
+ let i = !1, s = !1;
442
+ if (!e)
443
+ for (let r = this.showMeanLines === !0 ? 1 : 0; r < this.seriesLength; r += 1) {
444
+ const a = this._config.series[r], h = w({
445
+ series: a,
446
+ splitByField: this._splitByField,
410
447
  layerInfo: this.layerInfo,
411
448
  commonStrings: this.commonStrings
412
- }), M = this.getSeriesName(s);
413
- if (h !== void 0 && h !== M) {
414
- o = !0;
449
+ }), v = this.getSeriesName(r);
450
+ if (h !== void 0 && h !== v) {
451
+ i = !0;
415
452
  break;
416
453
  }
417
- if (t === !0 && a(l)) {
418
- const _ = this.getSeriesLineStyle(s), w = this.getSeriesLineWidth(s);
419
- if (_ !== c || w !== d) {
420
- n = !0;
454
+ if (this.showMeanLines === !0 && o(a)) {
455
+ const M = this.getSeriesLineStyle(r), B = this.getSeriesLineWidth(r);
456
+ if (M !== g || B !== c) {
457
+ s = !0;
421
458
  break;
422
459
  }
423
460
  }
424
461
  }
425
- }
426
- return e || i || o || n;
462
+ return e || t || i || s;
427
463
  }
428
464
  }
429
- K(Ce, [
430
- N,
465
+ Y(ce, [
466
+ W,
431
467
  V,
432
- P,
433
- A,
434
- k,
468
+ E,
469
+ T,
435
470
  z,
436
- T
471
+ R,
472
+ D
437
473
  ]);
438
474
  export {
439
- Ce as BoxPlotModel
475
+ ce as BoxPlotModel
440
476
  };