@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,9 +1,9 @@
1
- import { isEqual as l } from "lodash-es";
1
+ import { isEqual as r } from "lodash-es";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.143 */
5
- const s = (e) => (e?.remove(), null), c = (e, t = !1) => {
6
- if (e != null) {
4
+ v4.34.0-next.145 */
5
+ const l = (e) => (e?.remove(), null), c = (e, t = !1) => {
6
+ if (e) {
7
7
  t ? (e.style.setProperty("opacity", "1"), e.style.setProperty("pointer-events", "initial")) : (e.style.removeProperty("opacity"), e.style.removeProperty("pointer-events"));
8
8
  const n = e.referenceElement, i = n !== void 0 ? {
9
9
  getBoundingClientRect: () => n.getBoundingClientRect()
@@ -12,9 +12,9 @@ const s = (e) => (e?.remove(), null), c = (e, t = !1) => {
12
12
  };
13
13
  e.referenceElement = i, e.triggerDisabled = t, e.open = t;
14
14
  }
15
- }, a = (e, t) => e !== void 0 && t !== void 0 && !l(e, t);
15
+ }, o = (e, t) => e !== void 0 && t !== void 0 && !r(e, t);
16
16
  export {
17
17
  c as e,
18
- a as p,
19
- s as r
18
+ o as p,
19
+ l as r
20
20
  };
@@ -1,8 +1,8 @@
1
- import { W as n } from "./series-types.js";
2
- import { fetchT9nStringsBundle as m, getElementLocale as h } from "@arcgis/toolkit/intl";
1
+ import { W as l } from "./series-types.js";
2
+ import "@arcgis/toolkit/intl";
3
3
  import "lodash-es";
4
4
  import "d3-array";
5
- import { aK as f, ay as o, a5 as d, X as S } from "./interfaces.js";
5
+ import { aK as n, ay as r, a5 as m, X as h } 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,45 +10,43 @@ 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 c } from "./runtime.js";
13
+ import "./runtime.js";
14
14
  import "@arcgis/toolkit/dom";
15
- import { S as g, s as y, a as u } from "./serial-chart-model.js";
16
- import "./model-with-multi-axes.js";
15
+ import { S as f, s as S, a as d } from "./serial-chart-model.js";
17
16
  import "@arcgis/core/intl.js";
18
- import { M as p, a as b } from "./model-with-baseline-stacking.js";
19
- import { d as a, e as I } from "./data.js";
20
- import { s as k, a as C, b as M, c as L, d as v } from "./baseline-stacking.js";
17
+ import "./model-with-multi-axes.js";
18
+ import { M as c, a as g } from "./model-with-baseline-stacking.js";
19
+ import { s as y, a as u, b as p, c as b, d as I } from "./baseline-stacking.js";
20
+ import { d as o, e as k } from "./data.js";
21
21
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
22
22
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
23
- v4.34.0-next.143 */
24
- class _ extends g {
23
+ v4.34.0-next.145 */
24
+ class M extends f {
25
25
  constructor() {
26
- super(...arguments), this._chartType = n.RadarSeries;
26
+ super(...arguments), this._chartType = l.RadarSeries;
27
27
  }
28
- async setup(t) {
29
- await this.loadConfigFromLayer(t), this.commonStrings = await m(
30
- h(document.documentElement).t9nLocale,
31
- c("./assets/common/t9n"),
32
- "messages."
33
- ), t.config !== void 0 && this.updateSeriesFromLayerFilter(), await this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
28
+ async setup(e) {
29
+ await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.updateSeriesFromLayerFilter(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
34
30
  }
35
31
  // ---------------------------------------------------------------------------------------------
36
32
  // Protected methods
37
33
  // ---------------------------------------------------------------------------------------------
38
- async generateDefaultConfig() {
39
- const t = await f();
40
- return t.series = [
41
- await o({
34
+ generateDefaultConfig() {
35
+ const e = n(this.commonStrings);
36
+ return e.series = [
37
+ r({
38
+ commonStrings: this.commonStrings,
42
39
  objectIDField: this.layerInfo?.objectIdField
43
40
  })
44
- ], t;
41
+ ], e;
45
42
  }
46
43
  /**
47
44
  * Initializes the default series for the radar chart. Used in resetting the series styling.
48
45
  * @category Private
49
46
  */
50
- async initDefaultSeries() {
51
- this.defaultSeries = await o({
47
+ initDefaultSeries() {
48
+ this.defaultSeries = r({
49
+ commonStrings: this.commonStrings,
52
50
  objectIDField: this.layerInfo?.objectIdField
53
51
  });
54
52
  }
@@ -56,54 +54,53 @@ class _ extends g {
56
54
  * Resets the series styling to the default styling.
57
55
  */
58
56
  resetSeriesStyling() {
59
- const t = this.getSeriesLength();
60
- for (let e = 0; e < t; e += 1) {
61
- const r = d({
62
- colorIndex: e,
63
- opacity: S
64
- });
65
- if (y(r, e, this._config), k(r, e, this._config), this.layerInfo !== void 0) {
66
- const i = this.getSeriesId(e), s = a({
67
- config: this._config,
68
- seriesIndex: e,
69
- layerInfo: this.layerInfo,
70
- commonStrings: this.commonStrings
57
+ this.guardSetterFromAsyncOverwrite(() => {
58
+ for (let e = 0; e < this.seriesLength; e += 1) {
59
+ const t = m({
60
+ colorIndex: e,
61
+ opacity: h
71
62
  });
72
- s !== this.layerInfo.objectIdField && u(s ?? i, e, this._config);
63
+ if (S(t, e, this._config), y(t, e, this._config), this.layerInfo !== void 0) {
64
+ const i = this.getSeriesId(e), s = o({
65
+ config: this._config,
66
+ seriesIndex: e,
67
+ layerInfo: this.layerInfo,
68
+ commonStrings: this.commonStrings
69
+ });
70
+ s !== this.layerInfo.objectIdField && d(s ?? i, e, this._config);
71
+ }
72
+ u(this.defaultSeries?.lineSymbol?.style, e, this._config), p(this.defaultSeries?.lineSymbol?.width, e, this._config), b(this.defaultSeries?.markerSymbol?.style, e, this._config), I(this.defaultSeries?.markerSymbol?.size, e, this._config);
73
73
  }
74
- C(this.defaultSeries?.lineSymbol?.style, e, this._config), M(this.defaultSeries?.lineSymbol?.width, e, this._config), L(this.defaultSeries?.markerSymbol?.style, e, this._config), v(this.defaultSeries?.markerSymbol?.size, e, this._config);
75
- }
76
- this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
74
+ this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
75
+ });
77
76
  }
78
77
  /**
79
78
  * Returns whether the series styling is able to be reset.
80
79
  * @returns {boolean}
81
80
  */
82
81
  resetAvailable() {
83
- const t = !this.getColorMatch();
84
- let e = !1;
85
- if (!t) {
86
- const r = this.getSeriesLength();
87
- for (let i = 0; i < r; i += 1) {
82
+ const e = !this.colorMatch;
83
+ let t = !1;
84
+ if (!e)
85
+ for (let i = 0; i < this.seriesLength; i += 1) {
88
86
  if (this.layerInfo !== void 0) {
89
- const s = a({
87
+ const s = o({
90
88
  config: this._config,
91
89
  seriesIndex: i,
92
90
  layerInfo: this.layerInfo,
93
91
  commonStrings: this.commonStrings
94
- }), l = this.getSeriesName(i);
95
- s !== void 0 && s !== this.layerInfo.objectIdField && s !== l && (e = !0);
92
+ }), a = this.getSeriesName(i);
93
+ s !== void 0 && s !== this.layerInfo.objectIdField && s !== a && (t = !0);
96
94
  }
97
95
  if (this.defaultSeries?.lineSymbol?.style !== void 0 && this.defaultSeries?.lineSymbol.style !== this.getSeriesLineStyle(i) || this.defaultSeries?.lineSymbol?.width !== void 0 && this.defaultSeries?.lineSymbol.width !== this.getSeriesLineWidth(i) || this.defaultSeries?.markerSymbol?.style !== void 0 && this.defaultSeries?.markerSymbol?.style !== this.getSeriesMarkerStyle(i) || this.defaultSeries?.markerSymbol?.size !== void 0 && this.defaultSeries?.markerSymbol?.size !== this.getSeriesMarkerSize(i)) {
98
- e = !0;
96
+ t = !0;
99
97
  break;
100
98
  }
101
99
  }
102
- }
103
- return t || e;
100
+ return e || t;
104
101
  }
105
102
  }
106
- I(_, [p, b]);
103
+ k(M, [c, g]);
107
104
  export {
108
- _ as RadarChartModel
105
+ M as RadarChartModel
109
106
  };
@@ -3,7 +3,7 @@ import { n } from "./type-guards.js";
3
3
  import "./series-types.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
6
- v4.34.0-next.143 */
6
+ v4.34.0-next.145 */
7
7
  const u = {
8
8
  addGuide: "add-guide",
9
9
  noMessages: "no-messages"
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.143 */
3
+ v4.34.0-next.145 */
4
4
  const e = {
5
5
  Blob: "esriFieldTypeBlob",
6
6
  Date: "esriFieldTypeDate",
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
6
- v4.34.0-next.143 */
6
+ v4.34.0-next.145 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/charts-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: h } = t;
8
8
  t.t = s;
9
9
  t.o = r;
@@ -1,8 +1,8 @@
1
1
  import { W as _ } from "./series-types.js";
2
- import { fetchT9nStringsBundle as w, getElementLocale as I } from "@arcgis/toolkit/intl";
3
- import { isEmpty as y, isEqual as X } from "lodash-es";
2
+ import "@arcgis/toolkit/intl";
3
+ import { isEmpty as c, isEqual as O } from "lodash-es";
4
4
  import "d3-array";
5
- import { ar as Y, as as l, cd as o, x as m, bc as P, aN as U } from "./interfaces.js";
5
+ import { ar as w, as as d, cd as l, x, bc as P, aN as U } 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,100 +10,98 @@ 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 E } from "./runtime.js";
13
+ import "./runtime.js";
14
14
  import "@arcgis/toolkit/dom";
15
- import { g as W, a as v, s as u, u as T, r as k, e as z } from "./data.js";
16
- import { substitute as O } from "@arcgis/core/intl.js";
17
- import { C as D, M as B, b as V, a as G } from "./model-with-multi-axes.js";
18
- import { M as q, a as j, b as H, c as J } from "./model-with-data-labels.js";
15
+ import { g as X, a as A, s as y, u as g, r as Y, e as W } from "./data.js";
16
+ import { substitute as k } from "@arcgis/core/intl.js";
17
+ import { C as z, M as D, b as E, a as N } from "./model-with-multi-axes.js";
18
+ import { M as V, a as B, b as G, c as q } from "./model-with-data-labels.js";
19
19
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
20
20
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
21
- v4.34.0-next.143 */
22
- const S = (t) => {
23
- u({ config: t, value: null, axisIndex: 0, isMax: !1 }), u({ config: t, value: null, axisIndex: 0, isMax: !0 }), u({ config: t, value: null, axisIndex: 1, isMax: !1 }), u({ config: t, value: null, axisIndex: 1, isMax: !0 });
24
- }, F = (t) => {
25
- const { name: e, axisIndex: s, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, n = a.find((c) => c.name === e), d = n !== void 0 && P(n);
26
- k(i, s, d);
21
+ v4.34.0-next.145 */
22
+ const v = (t) => {
23
+ y({ config: t, value: null, axisIndex: 0, isMax: !1 }), y({ config: t, value: null, axisIndex: 0, isMax: !0 }), y({ config: t, value: null, axisIndex: 1, isMax: !1 }), y({ config: t, value: null, axisIndex: 1, isMax: !0 });
24
+ }, S = (t) => {
25
+ const { name: e, axisIndex: i, config: s, layerInfo: r } = t, { layerFieldsInfo: o } = r, n = o.find((h) => h.name === e), a = n !== void 0 && P(n);
26
+ Y(s, i, a);
27
27
  };
28
- async function g(t, e) {
29
- const s = await h(t, e), i = W(t), r = m(t);
30
- return s === i || r;
28
+ function F(t, e, i) {
29
+ const s = p(t, e, i), r = X(t), o = x(t);
30
+ return s === r || o;
31
31
  }
32
- function f(t, e) {
33
- const { layerFieldsInfo: s } = e, i = o(s, x(t)), r = v(1, t), a = m(t);
34
- return i === r || a;
32
+ function C(t, e) {
33
+ const { layerFieldsInfo: i } = e, s = l(i, u(t)), r = A(1, t), o = x(t);
34
+ return s === r || o;
35
35
  }
36
36
  function L(t, e) {
37
- const { layerFieldsInfo: s } = e, i = p(t), r = o(s, i), a = v(0, t), n = m(t);
38
- return r === a || n;
37
+ const { layerFieldsInfo: i } = e, s = m(t), r = l(i, s), o = A(0, t), n = x(t);
38
+ return r === o || n;
39
39
  }
40
- async function h(t, e) {
41
- const s = p(t), i = x(t), { layerFieldsInfo: r } = e, a = o(r, s), n = o(r, i), d = await w(
42
- I(document.documentElement).t9nLocale,
43
- E("./assets/common/t9n"),
44
- "messages."
45
- );
46
- return O(d.titleLabels.xAndY, { x: a, y: n });
40
+ function p(t, e, i) {
41
+ const s = m(t), r = u(t), { layerFieldsInfo: o } = e, n = l(o, s), a = l(o, r);
42
+ return k(i.titleLabels.xAndY, { x: n, y: a });
47
43
  }
48
- const C = async (t) => {
49
- const { x: e, y: s, config: i, layerInfo: r, updateChartTitle: a, updateXAxisTitle: n, updateYAxisTitle: d } = t, { layerFieldsInfo: c } = r, b = o(c, e), M = o(c, s);
50
- !y(e) && n && T(i, 0, b), !y(s) && d && T(i, 1, M), !y(e) && !y(s) && i.title && a && (i.title.content.text = await h(i, r));
51
- }, p = (t) => t.series[0]?.x ?? "", x = (t) => t.series[0]?.y ?? "", K = async (t, e, s) => {
52
- const i = await g(e, s), r = L(e, s), a = f(e, s);
53
- S(e), e.series[0] && (e.series[0].x = t), await C({
54
- x: t,
55
- y: x(e),
56
- config: e,
44
+ const I = (t) => {
45
+ const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings: h } = t, { layerFieldsInfo: f } = r, b = l(f, e), M = l(f, i);
46
+ !c(e) && n && g(s, 0, b), !c(i) && a && g(s, 1, M), !c(e) && !c(i) && s.title && o && (s.title.content.text = p(s, r, h));
47
+ }, m = (t) => t.series[0]?.x ?? "", u = (t) => t.series[0]?.y ?? "", j = (t) => {
48
+ const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = F(i, s, r), n = L(i, s), a = C(i, s);
49
+ v(i), i.series[0] && (i.series[0].x = e), I({
50
+ x: e,
51
+ y: u(i),
52
+ config: i,
57
53
  layerInfo: s,
58
- updateChartTitle: i,
59
- updateXAxisTitle: r,
54
+ updateChartTitle: o,
55
+ commonStrings: r,
56
+ updateXAxisTitle: n,
60
57
  updateYAxisTitle: a
61
- }), F({
62
- name: t,
58
+ }), S({
59
+ name: e,
63
60
  axisIndex: 0,
64
- config: e,
61
+ config: i,
65
62
  layerInfo: s
66
63
  });
67
- }, Q = async (t, e, s) => {
68
- const i = await g(e, s), r = L(e, s), a = f(e, s);
69
- S(e), e.series[0] && (e.series[0].y = t), await C({
70
- x: p(e),
71
- y: t,
72
- config: e,
64
+ }, H = (t) => {
65
+ const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = F(i, s, r), n = L(i, s), a = C(i, s);
66
+ v(i), i.series[0] && (i.series[0].y = e), I({
67
+ x: m(i),
68
+ y: e,
69
+ config: i,
73
70
  layerInfo: s,
74
- updateChartTitle: i,
75
- updateXAxisTitle: r,
71
+ commonStrings: r,
72
+ updateChartTitle: o,
73
+ updateXAxisTitle: n,
76
74
  updateYAxisTitle: a
77
- }), F({
78
- name: t,
75
+ }), S({
76
+ name: e,
79
77
  axisIndex: 1,
80
- config: e,
78
+ config: i,
81
79
  layerInfo: s
82
80
  });
83
- }, R = (t) => {
81
+ }, J = (t) => {
84
82
  const e = {};
85
83
  return t.series[0]?.markerSymbol ?? e;
86
- }, Z = (t, e) => {
84
+ }, K = (t, e) => {
87
85
  e.series[0] && (e.series[0].markerSymbol = t);
88
- }, $ = (t) => (t.series[0]?.overlays?.trendLine?.visible ?? !0) && (t.series[0]?.overlays?.trendLine?.created ?? !1), N = (t) => {
86
+ }, Q = (t) => (t.series[0]?.overlays?.trendLine?.visible ?? !0) && (t.series[0]?.overlays?.trendLine?.created ?? !1), R = (t) => {
89
87
  const e = {};
90
88
  return t.series[0]?.overlays?.trendLine?.symbol ?? e;
89
+ }, Z = (t, e) => {
90
+ e.series[0].overlays ??= d(), e.series[0].overlays.trendLine ??= d().trendLine, e.series[0].overlays.trendLine.symbol = t;
91
+ }, $ = (t, e) => {
92
+ e.series[0].overlays ??= d(), e.series[0].overlays.trendLine ??= d().trendLine, e.series[0].overlays.trendLine.visible = t;
91
93
  }, ee = (t, e) => {
92
- e.series[0].overlays ??= l(), e.series[0].overlays.trendLine ??= l().trendLine, e.series[0].overlays.trendLine.symbol = t;
93
- }, te = (t, e) => {
94
- e.series[0].overlays ??= l(), e.series[0].overlays.trendLine ??= l().trendLine, e.series[0].overlays.trendLine.visible = t;
95
- }, se = (t, e) => {
96
- !(e.series[0]?.overlays?.trendLine?.created ?? !1) && t && (e.series[0].overlays ??= l(), e.series[0].overlays.trendLine ??= l().trendLine, e.series[0].overlays.trendLine.created = t), te(t, e);
97
- }, A = (t) => t.series[0]?.sizePolicy ?? Y(), ie = (t, e) => {
94
+ !(e.series[0]?.overlays?.trendLine?.created ?? !1) && t && (e.series[0].overlays ??= d(), e.series[0].overlays.trendLine ??= d().trendLine, e.series[0].overlays.trendLine.created = t), $(t, e);
95
+ }, T = (t) => t.series[0]?.sizePolicy ?? w(), te = (t, e) => {
98
96
  e.series[0] && (t !== void 0 && t.field?.trim() !== "" ? e.series[0].sizePolicy = { ...e.series[0].sizePolicy, ...t } : e.series[0].sizePolicy = void 0);
99
- }, re = (t) => t?.series?.[0]?.overlays, ae = (t, e) => {
97
+ }, ie = (t) => t?.series?.[0]?.overlays, se = (t, e) => {
100
98
  e?.series[0] !== void 0 && (e.series[0].overlays = t);
101
- }, ne = (t) => t.series.find((e) => e.additionalTooltipFields !== void 0)?.additionalTooltipFields ?? [], oe = (t, e) => {
102
- e.series.forEach((s) => {
103
- Array.isArray(t) ? s.additionalTooltipFields = t : typeof t == "string" ? s.additionalTooltipFields = t.trim() === "" ? [] : [t] : s.additionalTooltipFields = [];
99
+ }, re = (t) => t.series.find((e) => e.additionalTooltipFields !== void 0)?.additionalTooltipFields ?? [], oe = (t, e) => {
100
+ e.series.forEach((i) => {
101
+ Array.isArray(t) ? i.additionalTooltipFields = t : typeof t == "string" ? i.additionalTooltipFields = t.trim() === "" ? [] : [t] : i.additionalTooltipFields = [];
104
102
  });
105
103
  };
106
- class le extends D {
104
+ class ne extends z {
107
105
  constructor() {
108
106
  super(...arguments), this._chartType = _.ScatterSeries;
109
107
  }
@@ -114,123 +112,95 @@ class le extends D {
114
112
  // #region Data Props
115
113
  // ---------------------------------------------------------------------------------------------
116
114
  /**
117
- * Gets the x-axis field.
118
- * @returns {string}
115
+ * X-axis field.
119
116
  */
120
- getXAxisField() {
121
- return p(this._config);
117
+ get xAxisField() {
118
+ return m(this._config);
122
119
  }
123
- /**
124
- * Sets the x-axis field.
125
- * @param {string} fieldName
126
- * @async **This method is `async` and must be awaited for the changes to take effect.**
127
- */
128
- async setXAxisField(e) {
129
- await K(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setXAxisField");
120
+ set xAxisField(e) {
121
+ this.guardSetterFromAsyncOverwrite(() => {
122
+ j({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("xAxisField");
123
+ });
130
124
  }
131
125
  /**
132
- * Gets the y-axis field.
133
- * @returns {string}
126
+ * Y-axis field.
134
127
  */
135
- getYAxisField() {
136
- return x(this._config);
128
+ get yAxisField() {
129
+ return u(this._config);
137
130
  }
138
- /**
139
- * Sets the y-axis field.
140
- * @param {string} fieldName
141
- * @async **This method is `async` and must be awaited for the changes to take effect.**
142
- */
143
- async setYAxisField(e) {
144
- await Q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setYAxisField");
131
+ set yAxisField(e) {
132
+ this.guardSetterFromAsyncOverwrite(() => {
133
+ H({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("yAxisField");
134
+ });
145
135
  }
146
136
  /**
147
- * Gets whether the linear trend line is shown.
148
- * @returns {boolean}
137
+ * Whether the linear trend line is shown.
149
138
  */
150
- getShowLinearTrend() {
151
- return $(this._config);
139
+ get showLinearTrend() {
140
+ return Q(this._config);
152
141
  }
153
- /**
154
- * Sets whether to show the linear trend line.
155
- * @param {boolean} show
156
- */
157
- setShowLinearTrend(e) {
158
- se(e, this._config), this.emitConfigUpdate("setShowLinearTrend");
142
+ set showLinearTrend(e) {
143
+ this.guardSetterFromAsyncOverwrite(() => {
144
+ ee(e, this._config), this.emitConfigUpdate("showLinearTrend");
145
+ });
159
146
  }
160
147
  /**
161
- * Gets the line symbol for the linear trend line.
162
- * @returns {ISimpleLineSymbol}
148
+ * Line symbol for the linear trend line.
163
149
  */
164
- getLinearTrendSymbol() {
165
- return N(this._config);
150
+ get linearTrendSymbol() {
151
+ return R(this._config);
166
152
  }
167
- /**
168
- * Sets the line symbol for the linear trend line.
169
- * @param {ISimpleLineSymbol} symbol
170
- */
171
- setLinearTrendSymbol(e) {
172
- ee(e, this._config), this.emitConfigUpdate("setLinearTrendSymbol");
153
+ set linearTrendSymbol(e) {
154
+ this.guardSetterFromAsyncOverwrite(() => {
155
+ Z(e, this._config), this.emitConfigUpdate("linearTrendSymbol");
156
+ });
173
157
  }
174
158
  /**
175
- * Gets the marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
176
- * @returns {ISimpleMarkerSymbol}
159
+ * Marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
177
160
  */
178
- getFixedMarkerSymbol() {
179
- return R(this._config);
161
+ get fixedMarkerSymbol() {
162
+ return J(this._config);
180
163
  }
181
- /**
182
- * Sets the marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
183
- * @param {ISimpleMarkerSymbol} symbol
184
- */
185
- setFixedMarkerSymbol(e) {
186
- Z(e, this._config), this.emitConfigUpdate("setFixedMarkerSymbol");
164
+ set fixedMarkerSymbol(e) {
165
+ this.guardSetterFromAsyncOverwrite(() => {
166
+ K(e, this._config), this.emitConfigUpdate("fixedMarkerSymbol");
167
+ });
187
168
  }
188
169
  /**
189
- * Gets the size policy for the scatterplot points. This is used to scale the size of the marker symbol based on a given field.
190
- * @returns {SizePolicy | undefined}
170
+ * Size policy for the scatterplot points. This is used to scale the size of the marker symbol based on a given field.
191
171
  */
192
- getSizePolicy() {
193
- return A(this._config);
172
+ get sizePolicy() {
173
+ return T(this._config);
194
174
  }
195
- /**
196
- * Sets the size policy for the scatterplot points. This is used to scale the size of the marker symbol based on a given field.
197
- * @param {SizePolicy | undefined} sizePolicy
198
- */
199
- setSizePolicy(e) {
200
- const s = A(this._config);
201
- X(s, e) || (ie(e, this._config), this.emitConfigUpdate("setSizePolicy"));
175
+ set sizePolicy(e) {
176
+ this.guardSetterFromAsyncOverwrite(() => {
177
+ const i = T(this._config);
178
+ O(i, e) || (te(e, this._config), this.emitConfigUpdate("sizePolicy"));
179
+ });
202
180
  }
203
181
  /**
204
- * Gets the chart overlays. The scatterplot implements only 1 overlay, **trendLine**.
182
+ * Chart overlays. The scatterplot implements only 1 overlay, **trendLine**.
205
183
  */
206
- getSeriesOverlays() {
207
- return re(this._config);
184
+ get seriesOverlays() {
185
+ return ie(this._config);
208
186
  }
209
- /**
210
- * Sets the chart overlays. The scatterplot implements only 1 overlay, **trendLine**.
211
- * @param {ScatterplotOverlays} overlays The overlays
212
- */
213
- setSeriesOverlays(e) {
214
- ae(e, this._config), this.emitConfigUpdate("setSeriesOverlays");
187
+ set seriesOverlays(e) {
188
+ this.guardSetterFromAsyncOverwrite(() => {
189
+ e !== void 0 && (se(e, this._config), this.emitConfigUpdate("seriesOverlays"));
190
+ });
215
191
  }
216
192
  /**
217
- * Gets the additional tooltip display fields.
193
+ * Additional tooltip display fields.
218
194
  *
219
195
  * **NOTE**: Only numeric fields are supported.
220
- * @returns {string[] | string}
221
196
  */
222
- getAdditionalTooltipField() {
223
- return ne(this._config);
197
+ get additionalTooltipField() {
198
+ return re(this._config);
224
199
  }
225
- /**
226
- * Sets the tooltip display fields in the config.
227
- *
228
- * * **NOTE**: Only numeric fields are supported.
229
- *
230
- * @param {string[] | string | undefined} fields The tooltip display fields
231
- */
232
- setAdditionalTooltipField(e) {
233
- oe(e, this._config), this.emitConfigUpdate("setAdditionalTooltipField");
200
+ set additionalTooltipField(e) {
201
+ this.guardSetterFromAsyncOverwrite(() => {
202
+ oe(e, this._config), this.emitConfigUpdate("additionalTooltipField");
203
+ });
234
204
  }
235
205
  // ---------------------------------------------------------------------------------------------
236
206
  // #region General Methods
@@ -240,8 +210,8 @@ class le extends D {
240
210
  *
241
211
  * @returns {string}
242
212
  */
243
- async generateChartTitle() {
244
- return await h(this._config, this.layerInfo);
213
+ generateChartTitle() {
214
+ return p(this._config, this.layerInfo, this.commonStrings);
245
215
  }
246
216
  /**
247
217
  * Generate the proper x-axis title given the current config.
@@ -249,8 +219,8 @@ class le extends D {
249
219
  * @returns {string}
250
220
  */
251
221
  generateXAxisTitle() {
252
- const e = this.getXAxisField();
253
- return o(this.layerInfo.layerFieldsInfo, e);
222
+ const e = this.xAxisField;
223
+ return l(this.layerInfo.layerFieldsInfo, e);
254
224
  }
255
225
  /**
256
226
  * Generate the proper y-axis title given the current config.
@@ -258,25 +228,25 @@ class le extends D {
258
228
  * @returns {string}
259
229
  */
260
230
  generateYAxisTitle() {
261
- const e = this.getYAxisField();
262
- return o(this.layerInfo.layerFieldsInfo, e);
231
+ const e = this.yAxisField;
232
+ return l(this.layerInfo.layerFieldsInfo, e);
263
233
  }
264
234
  // ---------------------------------------------------------------------------------------------
265
235
  // #region Protected methods
266
236
  // ---------------------------------------------------------------------------------------------
267
- async generateDefaultConfig() {
268
- return await U();
237
+ generateDefaultConfig() {
238
+ return U(this.commonStrings);
269
239
  }
270
240
  }
271
- z(le, [
241
+ W(ne, [
242
+ D,
243
+ V,
272
244
  B,
245
+ G,
273
246
  q,
274
- j,
275
- H,
276
- J,
277
- V,
278
- G
247
+ E,
248
+ N
279
249
  ]);
280
250
  export {
281
- le as ScatterplotModel
251
+ ne as ScatterplotModel
282
252
  };