@arcgis/charts-components 5.0.0-next.89 → 5.0.0-next.90

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 (323) hide show
  1. package/dist/cdn/{S5TMEBYP.js → 23765TIC.js} +2 -2
  2. package/dist/cdn/{JSOC3TXS.js → 257TCDZ6.js} +2 -2
  3. package/dist/cdn/{JHX7QEAJ.js → 2EPTKTTD.js} +2 -2
  4. package/dist/cdn/{RCLJDD6Q.js → 2JRE7VAX.js} +2 -2
  5. package/dist/cdn/2RFUINHU.js +4 -0
  6. package/dist/cdn/{ESNRZNVW.js → 362QSPV7.js} +2 -2
  7. package/dist/cdn/{OHZCCJJL.js → 3JPMYV6Q.js} +2 -2
  8. package/dist/cdn/{YU76SN7B.js → 3JV7CYG2.js} +2 -2
  9. package/dist/cdn/{HTGNBOLE.js → 3KOVYSRC.js} +2 -2
  10. package/dist/cdn/{HSSQ7BT6.js → 3WRAYY6S.js} +2 -2
  11. package/dist/cdn/{7NLZY2NB.js → 47QVWE7R.js} +2 -2
  12. package/dist/cdn/{JOXHQXSY.js → 4E756YIM.js} +2 -2
  13. package/dist/cdn/{3RVAM4I2.js → 4FSAXGDC.js} +2 -2
  14. package/dist/cdn/4JPDVGJW.js +4 -0
  15. package/dist/cdn/4LGHBCNI.js +4 -0
  16. package/dist/cdn/{D3CMD5FZ.js → 4TPYRUAT.js} +2 -2
  17. package/dist/cdn/{Y5NAVZXD.js → 4UXTR44P.js} +2 -2
  18. package/dist/cdn/{EHJ2UZ63.js → 4V5THG4A.js} +2 -2
  19. package/dist/cdn/{M3PT5WZ2.js → 562WZXUL.js} +2 -2
  20. package/dist/cdn/{UBJH35NR.js → 57OH7NFX.js} +2 -2
  21. package/dist/cdn/{3KREHQJZ.js → 5BZFS5ZE.js} +2 -2
  22. package/dist/cdn/5MIYEBXL.js +4 -0
  23. package/dist/cdn/{DYMUHXPX.js → 5QSEX72G.js} +2 -2
  24. package/dist/cdn/{5B73ODNL.js → 6ETMGS4C.js} +2 -2
  25. package/dist/cdn/{2LO3SPLJ.js → 6HR5THOC.js} +2 -2
  26. package/dist/cdn/{PZDMLIZH.js → 6IQP4YZ4.js} +7 -7
  27. package/dist/cdn/{3EIFLW5E.js → 6JOWPFI5.js} +2 -2
  28. package/dist/cdn/{VLXNSBH4.js → 6TRFXHB5.js} +2 -2
  29. package/dist/cdn/{S3CDMQEV.js → 7D4WUNGP.js} +2 -2
  30. package/dist/cdn/{QRCHWXWO.js → 7DNTKS35.js} +2 -2
  31. package/dist/cdn/{M2GXYB47.js → 7G62OKWM.js} +2 -2
  32. package/dist/cdn/{3RCQCCYR.js → A6NMN4CZ.js} +2 -2
  33. package/dist/cdn/{52YRLS2X.js → AM2KDKQS.js} +2 -2
  34. package/dist/cdn/{ITHHZQXT.js → ANE6SY3Y.js} +2 -2
  35. package/dist/cdn/{QCSGTHQR.js → AP2DUFEL.js} +2 -2
  36. package/dist/cdn/{JAMHYW6G.js → B2JYCH4X.js} +2 -2
  37. package/dist/cdn/BJTSHKJM.js +4 -0
  38. package/dist/cdn/{VTDOCN42.js → BLRYFQUU.js} +2 -2
  39. package/dist/cdn/{754FNOEV.js → BROG4MXL.js} +2 -2
  40. package/dist/cdn/BZMJVCNP.js +4 -0
  41. package/dist/cdn/{QZPWNOWZ.js → CD7ARQPS.js} +2 -2
  42. package/dist/cdn/{WTH4SVJ4.js → CO4J6YGP.js} +2 -2
  43. package/dist/cdn/{TBX2JXYI.js → CY7YWUJH.js} +2 -2
  44. package/dist/cdn/{LFWCDACG.js → DP2KBATF.js} +2 -2
  45. package/dist/cdn/DU3PAYQH.js +4 -0
  46. package/dist/cdn/{24CB5HJI.js → DXYEVOKV.js} +2 -2
  47. package/dist/cdn/{7ULBDN3D.js → E2GH3HH5.js} +2 -2
  48. package/dist/cdn/{BNSID2QB.js → EA4PHKM5.js} +2 -2
  49. package/dist/cdn/{3CG3PDD7.js → EE44YUBS.js} +2 -2
  50. package/dist/cdn/{3XP7DSY2.js → EIZ5OOQT.js} +2 -2
  51. package/dist/cdn/{L5AECO66.js → ELUYRJ2S.js} +2 -2
  52. package/dist/cdn/{3LTH4EH5.js → ERDUVXZS.js} +2 -2
  53. package/dist/cdn/{D6RZOSZZ.js → EW7EZU76.js} +2 -2
  54. package/dist/cdn/EYVK7DSP.js +6 -0
  55. package/dist/cdn/{QHMQJ4WY.js → EZAM645I.js} +2 -2
  56. package/dist/cdn/F5AUI7D6.js +4 -0
  57. package/dist/cdn/{PFZKK5AT.js → F6T7YJQ5.js} +2 -2
  58. package/dist/cdn/{G45BZ7CP.js → FCMOK7MS.js} +2 -2
  59. package/dist/cdn/{SXN2M735.js → FOM4PUXQ.js} +2 -2
  60. package/dist/cdn/{RZQSJ7UE.js → FQJZHLNT.js} +2 -2
  61. package/dist/cdn/{TPCM6JAV.js → GCWUWT7W.js} +2 -2
  62. package/dist/cdn/{W2R66CJX.js → GLC6RIAQ.js} +2 -2
  63. package/dist/cdn/{ZP5VIMD6.js → GN765KCZ.js} +2 -2
  64. package/dist/cdn/{WW5CGU7R.js → GZZQMAFJ.js} +2 -2
  65. package/dist/cdn/{7PAARU72.js → H5UXWSZD.js} +2 -2
  66. package/dist/cdn/{EUMXBJUK.js → HEH7FFYU.js} +2 -2
  67. package/dist/cdn/HMSXLO4U.js +4 -0
  68. package/dist/cdn/{AFYMGRYB.js → HYF4YDXV.js} +1 -1
  69. package/dist/cdn/{LWY4RY4Q.js → HZPMVUW3.js} +2 -2
  70. package/dist/cdn/{52OIVTUJ.js → IDJAOLEL.js} +2 -2
  71. package/dist/cdn/{3LN7WPHP.js → IFEBXN3L.js} +2 -2
  72. package/dist/cdn/{SCWKLBSP.js → IHMPF4N7.js} +2 -2
  73. package/dist/cdn/{VLCJRD56.js → IIOYOLV6.js} +2 -2
  74. package/dist/cdn/{QPOBNEUO.js → ILASY3QH.js} +2 -2
  75. package/dist/cdn/{AJ2VHTBF.js → IR75JEJ7.js} +2 -2
  76. package/dist/cdn/{JEFWXZAI.js → IVACYQIS.js} +2 -2
  77. package/dist/cdn/{SSZQEZOB.js → IXAEJNQA.js} +2 -2
  78. package/dist/cdn/{Q4DA6K4Z.js → JC36KDRB.js} +2 -2
  79. package/dist/cdn/{C2RP4HWG.js → JF5M6H6J.js} +2 -2
  80. package/dist/cdn/{OBRWPKW7.js → JGFWGNA3.js} +2 -2
  81. package/dist/cdn/{D72W3P23.js → JNAJTBVB.js} +2 -2
  82. package/dist/cdn/{DKRETPXT.js → JO55YZ2V.js} +2 -2
  83. package/dist/cdn/{26Y67K7N.js → JOHDMLMB.js} +2 -2
  84. package/dist/cdn/{CI4Q5WTV.js → K4SI5J3H.js} +1 -1
  85. package/dist/cdn/{6RKK7QJL.js → K6XGHJWF.js} +2 -2
  86. package/dist/cdn/{RFBV2Q6G.js → KPU4UIVH.js} +2 -2
  87. package/dist/cdn/{RHE4NYXD.js → KS2DEPBU.js} +2 -2
  88. package/dist/cdn/{5E7RK4WZ.js → KVKDNI6M.js} +2 -2
  89. package/dist/cdn/{FCOH5NVB.js → KWL7GU4O.js} +2 -2
  90. package/dist/cdn/KY7HZ5DK.js +4 -0
  91. package/dist/cdn/LFQB45AW.js +4 -0
  92. package/dist/cdn/{RNAVPXQV.js → LHLTXQQF.js} +1 -1
  93. package/dist/cdn/{6YDR4YHJ.js → LQL73OL7.js} +2 -2
  94. package/dist/cdn/{EXP64ASF.js → LUX45LEO.js} +2 -2
  95. package/dist/cdn/{JVNMVXGR.js → M3SECFDO.js} +2 -2
  96. package/dist/cdn/M4YTA2V3.js +4 -0
  97. package/dist/cdn/{ZMPZDC4W.js → MADPC4X6.js} +2 -2
  98. package/dist/cdn/{D62QZXU2.js → MGAYP4HG.js} +2 -2
  99. package/dist/cdn/{ATSLOOEO.js → MSMVXKXG.js} +2 -2
  100. package/dist/cdn/{EJG5VR6A.js → MTD3LRXG.js} +2 -2
  101. package/dist/cdn/{E5GRHDPV.js → MWGMB2AG.js} +2 -2
  102. package/dist/cdn/NQ644EGP.js +4 -0
  103. package/dist/cdn/{CXZUVPJ3.js → NQEBQY6B.js} +2 -2
  104. package/dist/cdn/{WT6UCBDJ.js → NZEGEBOS.js} +2 -2
  105. package/dist/cdn/{FZDVH2XF.js → ODAF3EL7.js} +1 -1
  106. package/dist/cdn/{TBGBWSA7.js → OLF65AJF.js} +2 -2
  107. package/dist/cdn/{G6DH6HDY.js → OTLEUN7R.js} +2 -2
  108. package/dist/cdn/{Z3C5I7MU.js → OVKVQG7B.js} +2 -2
  109. package/dist/cdn/{QLRIZYE6.js → P6OGWM6N.js} +2 -2
  110. package/dist/cdn/{NXTOYXIG.js → PB4TH7I7.js} +2 -2
  111. package/dist/cdn/{XKIPWSRD.js → PEGY3MOM.js} +2 -2
  112. package/dist/cdn/PJIOOAXF.js +4 -0
  113. package/dist/cdn/{MO4DCWPC.js → PL7UI2U2.js} +2 -2
  114. package/dist/cdn/{DIRVMRX5.js → PMLZTGGH.js} +2 -2
  115. package/dist/cdn/{TOCR2SLY.js → PNKL3ZRJ.js} +2 -2
  116. package/dist/cdn/{JLMDRYWA.js → Q23HJHXG.js} +2 -2
  117. package/dist/cdn/{4LURDMPG.js → QCOYQAJ4.js} +2 -2
  118. package/dist/cdn/{XGNUEXQ2.js → QHVXMPBV.js} +1 -1
  119. package/dist/cdn/{YKGPPPKC.js → QIRM2EFP.js} +2 -2
  120. package/dist/cdn/{TPWC66I3.js → QLUODWJ5.js} +2 -2
  121. package/dist/cdn/{RKOYT7SP.js → QTMNAG4U.js} +2 -2
  122. package/dist/cdn/{57TMPKZT.js → R3R27RSX.js} +2 -2
  123. package/dist/cdn/{KOAQMDIP.js → R7TBD6FD.js} +2 -2
  124. package/dist/cdn/{AOS6LXIH.js → RVLS4QSH.js} +2 -2
  125. package/dist/cdn/{CNSBS2XB.js → S3BLJFUS.js} +2 -2
  126. package/dist/cdn/{PEKLPIB4.js → SANS4RQ6.js} +2 -2
  127. package/dist/cdn/{OXIOXPML.js → SAZBAEXR.js} +2 -2
  128. package/dist/cdn/{NCBG6X62.js → SCGS54OI.js} +2 -2
  129. package/dist/cdn/{XCG2R5CJ.js → SS5FBHBV.js} +2 -2
  130. package/dist/cdn/{S5NW53R3.js → SWSYNAU4.js} +2 -2
  131. package/dist/cdn/{ETY4UW5B.js → SXYICABJ.js} +2 -2
  132. package/dist/cdn/{RQ7XHG3I.js → T577WQAR.js} +2 -2
  133. package/dist/cdn/{FCPZ66E3.js → TAFBXDTK.js} +2 -2
  134. package/dist/cdn/{J6MPR7B6.js → TAWAXKLI.js} +2 -2
  135. package/dist/cdn/{FRPTXIJJ.js → TEVFSQP3.js} +2 -2
  136. package/dist/cdn/{BMTM52MS.js → TFOL3L6W.js} +2 -2
  137. package/dist/cdn/{65DRX55E.js → TPQH2R2Y.js} +2 -2
  138. package/dist/cdn/{FVQJZVH7.js → TUR4BDNH.js} +2 -2
  139. package/dist/cdn/{Y45KZYDH.js → UGLX3RXV.js} +2 -2
  140. package/dist/cdn/{OMKHC26V.js → UGTB232K.js} +2 -2
  141. package/dist/cdn/{G62YCASO.js → UMO5SOVW.js} +2 -2
  142. package/dist/cdn/{UUO62QSX.js → UQGOJGFW.js} +2 -2
  143. package/dist/cdn/{N7V573Y4.js → UVFSLVZG.js} +2 -2
  144. package/dist/cdn/{6T7JJWGH.js → V3IOBOZR.js} +1 -1
  145. package/dist/cdn/{CUY3Y7MX.js → V4XWL5CS.js} +2 -2
  146. package/dist/cdn/{ALURV5DZ.js → V6F6EU3M.js} +2 -2
  147. package/dist/cdn/{DGIVZTKF.js → VHRHF6AW.js} +1 -1
  148. package/dist/cdn/{PECFPKUN.js → VUPINF37.js} +2 -2
  149. package/dist/cdn/{HTZEAE3M.js → VWV7MYWE.js} +2 -2
  150. package/dist/cdn/{ZNQCN6YP.js → W7CEAICR.js} +2 -2
  151. package/dist/cdn/{XFPIW4WB.js → W7WRCLWM.js} +2 -2
  152. package/dist/cdn/{V4SIQTSL.js → WL56JHWO.js} +2 -2
  153. package/dist/cdn/{42QB7JTL.js → WQGFCXD7.js} +2 -2
  154. package/dist/cdn/WUESNX5B.js +4 -0
  155. package/dist/cdn/{WQNN5VP6.js → WXMEAD7U.js} +2 -2
  156. package/dist/cdn/{ZOJGY4UO.js → XIIE5V2W.js} +2 -2
  157. package/dist/cdn/{HERC5JRL.js → XMMRPUMM.js} +2 -2
  158. package/dist/cdn/{6W7QLRM7.js → XNLYODQR.js} +2 -2
  159. package/dist/cdn/XPK2ZWCS.js +4 -0
  160. package/dist/cdn/{5KGHSUOR.js → XRSJR3RL.js} +2 -2
  161. package/dist/cdn/{SWZ626ED.js → XWEN7SKX.js} +2 -2
  162. package/dist/cdn/{INL6UXIX.js → Y6KSJ5H3.js} +2 -2
  163. package/dist/cdn/{XWLXWZ4C.js → YBCH7QZE.js} +2 -2
  164. package/dist/cdn/{HJPNWD6F.js → YGZHI6R2.js} +2 -2
  165. package/dist/cdn/{7RRXY3UK.js → YNA4L65F.js} +2 -2
  166. package/dist/cdn/{OZAKQJSB.js → YP24O2N7.js} +2 -2
  167. package/dist/cdn/{27DGP7FJ.js → YWF4GXHZ.js} +2 -2
  168. package/dist/cdn/{S76DSPGM.js → YZQMTYWN.js} +2 -2
  169. package/dist/cdn/Z23EZJR2.js +26 -0
  170. package/dist/cdn/{PZOZSM2Q.js → Z2BF3TPF.js} +2 -2
  171. package/dist/cdn/{L4ZU5IB7.js → ZJUXJANP.js} +2 -2
  172. package/dist/cdn/ZSNP5EUD.js +4 -0
  173. package/dist/cdn/{JVQ3YXWZ.js → ZSVPA2KK.js} +2 -2
  174. package/dist/cdn/index.js +2 -2
  175. package/dist/chart-rendering/common/config-utils/index.d.ts +12 -21
  176. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +35 -2
  177. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +9 -1
  178. package/dist/chunks/action-bar-utils.js +1 -1
  179. package/dist/chunks/axis-model-wrapper.js +1 -1
  180. package/dist/chunks/bar-chart-model.js +56 -52
  181. package/dist/chunks/bar-chart-series.js +1 -1
  182. package/dist/chunks/bg_BG.js +1 -1
  183. package/dist/chunks/bg_BG2.js +1 -1
  184. package/dist/chunks/box-plot-data.js +49 -49
  185. package/dist/chunks/box-plot-model.js +166 -200
  186. package/dist/chunks/chart-ui-utils.js +1 -1
  187. package/dist/chunks/chart-ui-utils2.js +1 -1
  188. package/dist/chunks/combo-bar-line-chart-model.js +142 -207
  189. package/dist/chunks/common.js +23 -18
  190. package/dist/chunks/data.js +86 -59
  191. package/dist/chunks/default.js +1 -1
  192. package/dist/chunks/gauge-model.js +180 -159
  193. package/dist/chunks/heat-chart-model.js +169 -180
  194. package/dist/chunks/histogram-data.js +1 -1
  195. package/dist/chunks/histogram-model.js +94 -77
  196. package/dist/chunks/index.js +2713 -2608
  197. package/dist/chunks/index2.js +60 -60
  198. package/dist/chunks/index3.js +1 -1
  199. package/dist/chunks/index4.js +1 -1
  200. package/dist/chunks/interfaces.js +1 -1
  201. package/dist/chunks/line-chart-model.js +45 -45
  202. package/dist/chunks/model-with-multi-axes.js +1473 -811
  203. package/dist/chunks/pie-chart-data.js +79 -79
  204. package/dist/chunks/pie-chart-model.js +306 -294
  205. package/dist/chunks/popover-ui-utils.js +1 -1
  206. package/dist/chunks/radar-chart-model.js +42 -41
  207. package/dist/chunks/resource.js +1 -1
  208. package/dist/chunks/rest-js-object-literals.js +1 -1
  209. package/dist/chunks/runtime.js +1 -1
  210. package/dist/chunks/scatterplot-model.js +105 -93
  211. package/dist/chunks/serial-chart-data.js +812 -527
  212. package/dist/chunks/serial-chart-model.js +144 -293
  213. package/dist/chunks/series-types.js +7 -6
  214. package/dist/chunks/sk_SK.js +1 -1
  215. package/dist/chunks/store.js +1 -1
  216. package/dist/chunks/type-guards.js +1 -1
  217. package/dist/chunks/useT9n.js +1 -1
  218. package/dist/chunks/web-component-utils.js +13 -13
  219. package/dist/components/arcgis-chart/customElement.js +9 -9
  220. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  221. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  222. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  223. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  224. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
  225. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
  226. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +3 -3
  227. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  228. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  229. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  230. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
  231. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  238. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
  243. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  254. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  261. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  268. package/dist/docs/api.json +3 -3
  269. package/dist/docs/docs.json +5 -5
  270. package/dist/docs/web-types.json +2 -2
  271. package/dist/index.js +43 -42
  272. package/dist/json-schema/index.d.ts +63 -15
  273. package/dist/loader.js +1 -1
  274. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -1
  275. package/dist/model/box-plot-model/box-plot-model.d.ts +1 -1
  276. package/dist/model/chart-model/chart-model.d.ts +30 -22
  277. package/dist/model/decorators/model-setter.d.ts +7 -0
  278. package/dist/model/heat-chart-model/heat-chart-model.d.ts +39 -12
  279. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +6 -0
  280. package/dist/model/interfaces/common.d.ts +6 -0
  281. package/dist/model/serial-chart-model/serial-chart-model.d.ts +5 -5
  282. package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +2 -2
  283. package/dist/model/shared/data.d.ts +19 -4
  284. package/dist/model.js +26 -25
  285. package/dist/spec/chart-object-literals.d.ts +29 -4
  286. package/dist/spec/web-chart.d.ts +15 -4
  287. package/dist/utils/chart-config/converter/index.d.ts +3 -3
  288. package/dist/utils/components/chart-ui-utils.d.ts +1 -1
  289. package/dist/utils/type-guards/chart-types.d.ts +7 -0
  290. package/dist/utils/ui/chart-ui-utils.d.ts +1 -1
  291. package/package.json +5 -5
  292. package/dist/cdn/2FPDE35U.js +0 -4
  293. package/dist/cdn/2MGDOOSL.js +0 -4
  294. package/dist/cdn/3GT7SI5M.js +0 -4
  295. package/dist/cdn/4IRJ3ZH5.js +0 -4
  296. package/dist/cdn/5A37OQGF.js +0 -4
  297. package/dist/cdn/5HOJCOJU.js +0 -4
  298. package/dist/cdn/C4U6ZLSK.js +0 -4
  299. package/dist/cdn/E3FQMXCV.js +0 -4
  300. package/dist/cdn/ETR3G32Z.js +0 -4
  301. package/dist/cdn/FK6WWS2O.js +0 -4
  302. package/dist/cdn/HO77HDLB.js +0 -6
  303. package/dist/cdn/HY4C6DEP.js +0 -4
  304. package/dist/cdn/IJUQRJFI.js +0 -4
  305. package/dist/cdn/JSD5IIH6.js +0 -4
  306. package/dist/cdn/JXGWYEJK.js +0 -4
  307. package/dist/cdn/KKNV3MPT.js +0 -4
  308. package/dist/cdn/LCSB3NQ5.js +0 -4
  309. package/dist/cdn/MISULAHN.js +0 -4
  310. package/dist/cdn/P2D5WICY.js +0 -4
  311. package/dist/cdn/PJQ27X42.js +0 -4
  312. package/dist/cdn/TDOUEZYL.js +0 -4
  313. package/dist/cdn/U2LF63KV.js +0 -22
  314. package/dist/cdn/WBEAP646.js +0 -4
  315. package/dist/cdn/XGB4TSSP.js +0 -4
  316. package/dist/cdn/XVUFERLV.js +0 -4
  317. package/dist/cdn/ZU4DL37U.js +0 -4
  318. package/dist/chunks/baseline-stacking.js +0 -92
  319. package/dist/chunks/config-update.js +0 -207
  320. package/dist/chunks/model-with-baseline-stacking.js +0 -246
  321. package/dist/chunks/model-with-data-labels.js +0 -325
  322. package/dist/chunks/model-with-rotation.js +0 -43
  323. package/dist/chunks/series.js +0 -37
@@ -1,8 +1,8 @@
1
- import { fetchT9nStringsBundle as I, getElementLocale as M } from "@arcgis/toolkit/intl";
2
- import { cloneDeep as X } from "lodash-es";
3
- import { W as p, o as _ } from "./series-types.js";
1
+ import { d as de, W as w, e as I, o as X } from "./series-types.js";
2
+ import { fetchT9nStringsBundle as fe, getElementLocale as ue } from "@arcgis/toolkit/intl";
3
+ import { cloneDeep as H } from "lodash-es";
4
4
  import "d3-array";
5
- import { aG as x, bz as g, aE as f, d1 as E, p as N, g as R, bE as z, aO as k, aF as H, aH as W, j as Y, aC as y } from "./index.js";
5
+ import { aG as S, bz as u, aE as _, d1 as he, p as pe, g as ye, bE as be, aO as v, cO as _e, aF as me, aH as xe, j as Se, b3 as ve, aU as $, a_ as Te, aM as Le, aK as Ce, aT as j, aC as N } from "./index.js";
6
6
  import "@arcgis/core/Graphic.js";
7
7
  import "@arcgis/core/renderers/support/jsonUtils.js";
8
8
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -19,62 +19,94 @@ import "@arcgis/core/rest/support/Query.js";
19
19
  import "@arcgis/core/rest/support/StatisticDefinition.js";
20
20
  import "@arcgis/core/time/TimeExtent.js";
21
21
  import "@arcgis/core/core/promiseUtils.js";
22
- import { g as P } from "./runtime.js";
22
+ import { g as Ve } from "./runtime.js";
23
23
  import "@arcgis/toolkit/dom";
24
- import { R as u } from "./rest-js-object-literals.js";
25
- import { c as Z, b as j } from "./index3.js";
26
- import { G as c } from "./common.js";
27
- import { g as b, K as C, L as q, M as K, N as Q, O as $, P as J, Q as tt, R as it, S as et, T as st, U as rt, V as ot, W as nt, X as at, Y as gt, Z as ct, _ as lt, $ as ut, a0 as ht, a1 as ft, a2 as dt, a3 as mt, j as xt, a4 as yt, a5 as bt, a as v, a6 as A, a7 as T, a8 as L, a9 as h, s as m, aa as St, ab as F, ac as V, ad as pt, ae as _t, af as Ct, ag as vt, d as S, ah as r, ai as At, aj as Tt, ak as Lt, al as Ft, am as Vt, an as wt, ao as Gt, ap as Ot, aq as Ut, ar as Bt, as as Dt, at as It, au as Mt, av as Xt, aw as Et, ax as Nt, ay as Rt } from "./serial-chart-data.js";
28
- import { c as zt } from "./index2.js";
24
+ import { R as B } from "./rest-js-object-literals.js";
25
+ import { c as Ae, b as De, l as O, j as l, k as d } from "./index3.js";
26
+ import { G as C } from "./common.js";
27
+ import { g as R, a1 as Y, a2 as Pe, a3 as Me, a4 as Oe, a5 as Ge, a6 as Be, a7 as ke, a8 as we, a9 as Fe, aa as $e, ab as je, ac as Ne, ad as Re, ae as Ue, af as We, ag as ze, ah as Ee, ai as Ie, aj as Xe, ak as He, X as Ye, al as Ze, am as Ke, a as Z, an as K, ao as q, ap as J, aq as k, s as G, ar as qe, as as Q, at as ee, au as Je, av as Qe, aw as et, ax as tt, d as U, ay as it, az as st, aA as ot, aB as rt, aC as nt, aD as at, aE as lt, aF as ct, aG as gt, aH as dt, aI as ft, b as ut, m as ht, o as pt, u as yt, aJ as g, aK as bt, aL as _t, aM as mt, aN as xt, aO as St, aP as vt, aQ as Tt, aR as Lt, aS as Ct, aT as Vt, aU as At, aV as Dt, aW as Pt, aX as Mt, aY as Ot, aZ as Gt, a_ as Bt } from "./serial-chart-data.js";
28
+ import { c as kt } from "./index2.js";
29
29
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
30
30
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
31
- v5.0.0-next.89 */
32
- const kt = (e) => e.title?.content, Ht = (e, t) => {
33
- if (e) {
34
- const i = b(t);
35
- t.title === void 0 && (t.title = x({
31
+ v5.0.0-next.90 */
32
+ const wt = (i) => i.title?.content, Ft = (i, e) => {
33
+ if (i) {
34
+ const t = R(e);
35
+ e.title === void 0 && (e.title = S({
36
36
  text: "",
37
37
  visible: !0,
38
- font: f(g.ChartTitle),
39
- type: g.ChartTitle
40
- })), t.title.content = e, t.title.content.text = i;
41
- }
42
- }, Wt = (e) => e.subtitle?.content, Yt = (e, t) => {
43
- if (e) {
44
- const i = b(t);
45
- t.subtitle === void 0 && (t.subtitle = x({
38
+ font: _(u.ChartTitle),
39
+ type: u.ChartTitle
40
+ })), e.title.content = i, e.title.content.text = t;
41
+ }
42
+ }, $t = (i) => i.subtitle?.content, jt = (i, e) => {
43
+ if (i) {
44
+ const t = R(e);
45
+ e.subtitle === void 0 && (e.subtitle = S({
46
46
  text: "",
47
47
  visible: !0,
48
- font: f(g.ChartSubtitle),
49
- type: g.ChartSubtitle
50
- })), t.subtitle.content = e, t.subtitle.content.text = i;
51
- }
52
- }, Pt = (e) => e.footer?.content, Zt = (e, t) => {
53
- if (e) {
54
- const i = C(t);
55
- t.footer === void 0 && (t.footer = x({
48
+ font: _(u.ChartSubtitle),
49
+ type: u.ChartSubtitle
50
+ })), e.subtitle.content = i, e.subtitle.content.text = t;
51
+ }
52
+ }, Nt = (i) => i.footer?.content, Rt = (i, e) => {
53
+ if (i) {
54
+ const t = Y(e);
55
+ e.footer === void 0 && (e.footer = S({
56
56
  text: "",
57
57
  visible: !0,
58
- font: f(g.DescriptionText),
59
- type: g.DescriptionText
60
- })), t.footer.content = e, t.footer.content.text = i;
58
+ font: _(u.DescriptionText),
59
+ type: u.DescriptionText
60
+ })), e.footer.content = i, e.footer.content.text = t;
61
61
  }
62
- }, jt = (e) => e.background, qt = (e, t) => {
63
- t.background = e;
62
+ }, Ut = (i) => i.background, Wt = (i, e) => {
63
+ e.background = i;
64
64
  };
65
- class w extends EventTarget {
66
- constructor() {
67
- super(...arguments), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.dataStore = {}, this.setupFinished = new Promise((t) => {
68
- this.resolveSetup = t;
65
+ function r(i, e, t) {
66
+ const s = t.set, o = t.value;
67
+ return s && (t.set = function(n) {
68
+ this.guardSetterFromAsyncOverwrite(() => {
69
+ s.call(this, n), this.emitConfigUpdate(e);
70
+ });
71
+ }), o && (t.value = function(...n) {
72
+ this.guardSetterFromAsyncOverwrite(() => {
73
+ o.apply(this, n), this.emitConfigUpdate(e);
69
74
  });
75
+ }), t;
76
+ }
77
+ var zt = Object.defineProperty, Et = Object.getOwnPropertyDescriptor, p = (i, e, t, s) => {
78
+ for (var o = Et(e, t), n = i.length - 1, a; n >= 0; n--)
79
+ (a = i[n]) && (o = a(e, t, o) || o);
80
+ return o && zt(e, t, o), o;
81
+ };
82
+ class c extends EventTarget {
83
+ constructor() {
84
+ super(...arguments), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this.dataStore = {}, this.asyncUpdatesPromise = new Promise((e) => {
85
+ this.resolveSetup = e;
86
+ }), this.emitConfigUpdate = (e) => {
87
+ this.dispatchEvent(
88
+ new CustomEvent("arcgisChartsModelConfigChange", {
89
+ detail: { config: this._config, setterName: e }
90
+ })
91
+ );
92
+ }, this.guardSetterFromAsyncOverwrite = async (e) => {
93
+ e(), this.asyncConfigUpdateInProgress && (await this.asyncUpdatesPromise, e());
94
+ };
70
95
  }
71
96
  /**
72
97
  * Checks if the current chart model is for the same chart as another chart model.
73
- * @param {ChartModel | undefined} otherModel The other chart model to compare to.
98
+ * @param otherModel The other chart model to compare to.
74
99
  */
75
- isSameChartAs(t) {
76
- const i = t?.layer;
77
- return i !== void 0 && this._config.id === t?.chartId && this.layerInfo?.layer.id === i.id;
100
+ isSameChartAs(e) {
101
+ const t = e?.layer;
102
+ return t !== void 0 && this._config.id === e?.chartId && this.layerInfo?.layer.id === t.id;
103
+ }
104
+ /**
105
+ * Can be awaited to allow any pending async updates to complete.
106
+ * @public
107
+ */
108
+ async update() {
109
+ await this.asyncUpdatesPromise;
78
110
  }
79
111
  /**
80
112
  * The current chart configuration object.
@@ -82,10 +114,8 @@ class w extends EventTarget {
82
114
  get config() {
83
115
  return this._config;
84
116
  }
85
- set config(t) {
86
- this.guardSetterFromAsyncOverwrite(() => {
87
- this._config = t, this.emitConfigUpdate("config");
88
- });
117
+ set config(e) {
118
+ this._config = e;
89
119
  }
90
120
  /**
91
121
  * The chart type.
@@ -105,8 +135,8 @@ class w extends EventTarget {
105
135
  get chartId() {
106
136
  return this._config.id;
107
137
  }
108
- set chartId(t) {
109
- this._config.id = t;
138
+ set chartId(e) {
139
+ this._config.id = e;
110
140
  }
111
141
  //#end region
112
142
  // ---------------------------------------------------------------------------------------------
@@ -116,42 +146,36 @@ class w extends EventTarget {
116
146
  * The version of the chart configuration.
117
147
  */
118
148
  get version() {
119
- return q(this._config);
149
+ return Pe(this._config);
120
150
  }
121
151
  /**
122
152
  * The chart title text.
123
153
  * @type {string}
124
154
  */
125
155
  get titleText() {
126
- return b(this._config);
156
+ return R(this._config);
127
157
  }
128
- set titleText(t) {
129
- this.guardSetterFromAsyncOverwrite(() => {
130
- K(t, this._config), this.emitConfigUpdate("titleText");
131
- });
158
+ set titleText(e) {
159
+ Me(e, this._config);
132
160
  }
133
161
  /**
134
162
  * The chart subtitle text.
135
163
  * @returns {string}
136
164
  */
137
165
  get subtitleText() {
138
- return Q(this._config);
166
+ return Oe(this._config);
139
167
  }
140
- set subtitleText(t) {
141
- this.guardSetterFromAsyncOverwrite(() => {
142
- $(t, this._config), this.emitConfigUpdate("subtitleText");
143
- });
168
+ set subtitleText(e) {
169
+ Ge(e, this._config);
144
170
  }
145
171
  /**
146
172
  * The chart description text.
147
173
  */
148
174
  get descriptionText() {
149
- return C(this._config);
175
+ return Y(this._config);
150
176
  }
151
- set descriptionText(t) {
152
- this.guardSetterFromAsyncOverwrite(() => {
153
- J(t, this._config), this.emitConfigUpdate("descriptionText");
154
- });
177
+ set descriptionText(e) {
178
+ Be(e, this._config);
155
179
  }
156
180
  /**
157
181
  * Whether or not the chart title is visible.
@@ -160,12 +184,10 @@ class w extends EventTarget {
160
184
  * **Note:** Even if the title is visible, it may not be displayed if the title text is empty.
161
185
  */
162
186
  get chartTitleVisibility() {
163
- return tt(this._config);
187
+ return ke(this._config);
164
188
  }
165
- set chartTitleVisibility(t) {
166
- this.guardSetterFromAsyncOverwrite(() => {
167
- it(t, this._config), this.emitConfigUpdate("chartTitleVisibility");
168
- });
189
+ set chartTitleVisibility(e) {
190
+ we(e, this._config);
169
191
  }
170
192
  /**
171
193
  * Whether or not the chart subtitle is visible.
@@ -174,12 +196,10 @@ class w extends EventTarget {
174
196
  * **Note:** Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.
175
197
  */
176
198
  get chartSubtitleVisibility() {
177
- return et(this._config);
199
+ return Fe(this._config);
178
200
  }
179
- set chartSubtitleVisibility(t) {
180
- this.guardSetterFromAsyncOverwrite(() => {
181
- st(t, this._config), this.emitConfigUpdate("chartSubtitleVisibility");
182
- });
201
+ set chartSubtitleVisibility(e) {
202
+ $e(e, this._config);
183
203
  }
184
204
  /**
185
205
  * Whether or not the chart description is visible.
@@ -188,23 +208,19 @@ class w extends EventTarget {
188
208
  * **Note:** Even if the description is visible, it may not be displayed if the description text is empty.
189
209
  */
190
210
  get descriptionVisibility() {
191
- return rt(this._config);
211
+ return je(this._config);
192
212
  }
193
- set descriptionVisibility(t) {
194
- this.guardSetterFromAsyncOverwrite(() => {
195
- ot(t, this._config), this.emitConfigUpdate("descriptionVisibility");
196
- });
213
+ set descriptionVisibility(e) {
214
+ Ne(e, this._config);
197
215
  }
198
216
  /**
199
217
  * The chart renderer.
200
218
  */
201
219
  get chartRenderer() {
202
- return nt(this._config);
220
+ return Re(this._config);
203
221
  }
204
- set chartRenderer(t) {
205
- this.guardSetterFromAsyncOverwrite(() => {
206
- at(t, this._config), this.emitConfigUpdate("chartRenderer");
207
- });
222
+ set chartRenderer(e) {
223
+ Ue(e, this._config);
208
224
  }
209
225
  // #endregion
210
226
  // ---------------------------------------------------------------------------------------------
@@ -214,45 +230,37 @@ class w extends EventTarget {
214
230
  * The title text symbol. Contains styling information such as font, color, and symbol style.
215
231
  */
216
232
  get titleSymbol() {
217
- return kt(this._config);
233
+ return wt(this._config);
218
234
  }
219
- set titleSymbol(t) {
220
- this.guardSetterFromAsyncOverwrite(() => {
221
- Ht(t, this._config), this.emitConfigUpdate("titleSymbol");
222
- });
235
+ set titleSymbol(e) {
236
+ Ft(e, this._config);
223
237
  }
224
238
  /**
225
239
  * The subtitle text symbol. Contains styling information such as font, color, and symbol style.
226
240
  */
227
241
  get subtitleSymbol() {
228
- return Wt(this._config);
242
+ return $t(this._config);
229
243
  }
230
- set subtitleSymbol(t) {
231
- this.guardSetterFromAsyncOverwrite(() => {
232
- Yt(t, this._config), this.emitConfigUpdate("subtitleSymbol");
233
- });
244
+ set subtitleSymbol(e) {
245
+ jt(e, this._config);
234
246
  }
235
247
  /**
236
248
  * The description text symbol. Contains styling information such as font, color, and symbol style.
237
249
  */
238
250
  get descriptionSymbol() {
239
- return Pt(this._config);
251
+ return Nt(this._config);
240
252
  }
241
- set descriptionSymbol(t) {
242
- this.guardSetterFromAsyncOverwrite(() => {
243
- Zt(t, this._config), this.emitConfigUpdate("descriptionSymbol");
244
- });
253
+ set descriptionSymbol(e) {
254
+ Rt(e, this._config);
245
255
  }
246
256
  /**
247
257
  * The background color of the chart.
248
258
  */
249
259
  get backgroundColor() {
250
- return jt(this._config);
260
+ return Ut(this._config);
251
261
  }
252
- set backgroundColor(t) {
253
- this.guardSetterFromAsyncOverwrite(() => {
254
- qt(t, this._config), this.emitConfigUpdate("backgroundColor");
255
- });
262
+ set backgroundColor(e) {
263
+ Wt(e, this._config);
256
264
  }
257
265
  // #endregion
258
266
  // ---------------------------------------------------------------------------------------------
@@ -263,49 +271,41 @@ class w extends EventTarget {
263
271
  * @param seriesIndex The series index
264
272
  * @returns {boolean}
265
273
  */
266
- getSeriesVisibility(t) {
267
- return gt(t, this._config);
274
+ getSeriesVisibility(e) {
275
+ return We(e, this._config);
268
276
  }
269
- /**
270
- * Sets the visibility of a series.
271
- * @param {LegendItemVisibility} props - Visibility options for the series.
272
- */
273
- setSeriesVisibility(t) {
274
- this.guardSetterFromAsyncOverwrite(() => {
275
- E({ detail: t }, this._config), this.emitConfigUpdate("setSeriesVisibility");
276
- });
277
+ setSeriesVisibility(e) {
278
+ he({ detail: e }, this._config);
277
279
  }
278
280
  /**
279
281
  * Gets the series ID for a given series index.
280
282
  * If the series index is out of bounds, this function will return `undefined`.
281
283
  *
282
- * @param {number} seriesIndex The index of the series.
283
- * @returns {string | undefined}
284
+ * @param seriesIndex The index of the series.
284
285
  */
285
- getSeriesId(t) {
286
- return ct(t, this._config);
286
+ getSeriesId(e) {
287
+ return this._config.series[e]?.id;
287
288
  }
288
289
  /**
289
290
  * Gets the series index for a given series ID.
290
291
  * If the series ID is not found, this function will return `undefined`.
291
292
  *
292
- * @param {string} seriesId The ID of the series.
293
- * @returns {number | undefined}
293
+ * @param seriesId The ID of the series.
294
294
  */
295
- getSeriesIndex(t) {
296
- return lt(t, this._config);
295
+ getSeriesIndex(e) {
296
+ return this._config.series.findIndex((t) => t.id === e);
297
297
  }
298
298
  /**
299
299
  * The length of the series array.
300
300
  */
301
301
  get seriesLength() {
302
- return ut(this._config);
302
+ return ze(this._config);
303
303
  }
304
304
  /**
305
305
  * The chart sub type of the series.
306
306
  */
307
307
  get chartSubType() {
308
- return N(this._config.series);
308
+ return pe(this._config.series);
309
309
  }
310
310
  /**
311
311
  * Gets the data tooltip value format for a series.
@@ -315,22 +315,14 @@ class w extends EventTarget {
315
315
  * @param {number} seriesIndex The index of the series to retrieve the value format for.
316
316
  * @returns {NumberFormatOptions | undefined}
317
317
  */
318
- getDataTooltipValueFormat(t) {
319
- return ht(this._config.series, t);
318
+ getDataTooltipValueFormat(e) {
319
+ return Ee(this._config.series, e);
320
320
  }
321
- /**
322
- * Sets the data tooltip value format for a series.
323
- *
324
- * @param {number} seriesIndex The index of the series to set the value format for.
325
- * @param {NumberFormatOptions | undefined} valueFormat The value format to set.
326
- */
327
- setDataTooltipValueFormat(t, i) {
328
- this.guardSetterFromAsyncOverwrite(() => {
329
- ft({
330
- series: this._config.series,
331
- seriesIndex: t,
332
- valueFormat: i
333
- });
321
+ setDataTooltipValueFormat(e, t) {
322
+ Ie({
323
+ series: this._config.series,
324
+ seriesIndex: e,
325
+ valueFormat: t
334
326
  });
335
327
  }
336
328
  //#endregion
@@ -341,93 +333,332 @@ class w extends EventTarget {
341
333
  * Whether to fetch `null` values for them to be counted or displayed as categories on the chart.
342
334
  */
343
335
  get fetchNULLValues() {
344
- return dt(this._config);
336
+ return Xe(this._config);
345
337
  }
346
- set fetchNULLValues(t) {
347
- this.guardSetterFromAsyncOverwrite(() => {
348
- mt(t, this._config), this.emitConfigUpdate("fetchNULLValues");
349
- });
338
+ set fetchNULLValues(e) {
339
+ He(e, this._config);
350
340
  }
351
341
  /**
352
342
  * The split-by values for the chart.
353
343
  */
354
344
  get splitByValues() {
355
- return xt(this._config);
345
+ return Ye(this._config);
356
346
  }
357
347
  /**
358
348
  * Gets the data filter for the bar chart.
359
349
  * @returns {WebChartDataFilters | undefined}
360
350
  */
361
351
  getDataFilters() {
362
- return yt(this._config);
352
+ return Ze(this._config);
363
353
  }
364
- /**
365
- * Sets the data filter for the chart.
366
- * @param {WebChartDataFilters | undefined} newDataFilters The new data filter.
367
- */
368
- async setDataFilters(t) {
369
- return bt(t, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilters"), await Promise.resolve();
370
- }
371
- // #endregion
372
- // ---------------------------------------------------------------------------------------------
373
- //#region Protected Methods
374
- // ---------------------------------------------------------------------------------------------
375
- /**
376
- * Emits a config update event.
377
- * @category Protected
378
- */
379
- emitConfigUpdate(t) {
380
- this.dispatchEvent(
381
- new CustomEvent("arcgisChartsModelConfigChange", {
382
- detail: { config: this._config, setterName: t }
383
- })
384
- );
354
+ async setDataFilters(e) {
355
+ Ke(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
385
356
  }
386
357
  /**
387
358
  * A function that loads the config based on the provided props.
388
- * @category Protected
389
359
  * @param params.layer The layer to be used as the data source for the chart.
390
360
  * @param params.iLayer The layer description to use if the layer is not provided
391
361
  * @param params.config The config object to be loaded.
392
362
  */
393
- async loadConfigFromLayer(t) {
394
- const { layer: i, iLayer: s, config: a } = t;
395
- this.commonStrings = await I(
396
- M(document.documentElement).t9nLocale,
397
- P("./assets/common/t9n"),
363
+ async loadConfigFromLayer(e) {
364
+ const { layer: t, iLayer: s, config: o } = e;
365
+ this.commonStrings = await fe(
366
+ ue(document.documentElement).t9nLocale,
367
+ Ve("./assets/common/t9n"),
398
368
  "messages."
399
369
  );
400
- let n = i;
401
- if (!n && s && (n = await R(s)), n) {
402
- const l = await z(n, !0), { objectIdField: D } = n;
370
+ let n = t;
371
+ if (!n && s && (n = await ye(s)), n) {
372
+ const a = await be(n, !0), { objectIdField: ge } = n;
403
373
  this.layerInfo = {
404
374
  layer: n,
405
- layerFieldsInfo: l,
406
- objectIdField: D
375
+ layerFieldsInfo: a,
376
+ objectIdField: ge
407
377
  };
408
378
  }
409
- this._config = a !== void 0 ? await zt(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = k().title), s && (this._config.iLayer = s);
379
+ this._config = o !== void 0 ? await kt(o) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = v().title), s && (this._config.iLayer = s);
410
380
  }
411
381
  /**
412
- * Guards a setter from being called while an async config update is in progress so that the value being set is not overwritten by the async config update.
413
- * @param setter The setter callback to call after setup or async config update is finished.
382
+ * Manually block the async guard to queue up config updates until unblocked.
414
383
  */
415
- async guardSetterFromAsyncOverwrite(t) {
416
- t(), this.asyncConfigUpdateInProgress && (await this.setupFinished, t());
384
+ startAsyncUpdate() {
385
+ this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((e) => {
386
+ this.resolveSetup = e;
387
+ })), this.pendingUpdates += 1;
388
+ }
389
+ /**
390
+ * Manually unblock the async guard to allow queued config updates to proceed.
391
+ */
392
+ finishAsyncUpdate() {
393
+ this.pendingUpdates -= 1, this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !1, this.resolveSetup?.());
417
394
  }
418
395
  // #endregion
419
396
  }
420
- class G extends w {
397
+ p([
398
+ r
399
+ ], c.prototype, "config");
400
+ p([
401
+ r
402
+ ], c.prototype, "titleText");
403
+ p([
404
+ r
405
+ ], c.prototype, "subtitleText");
406
+ p([
407
+ r
408
+ ], c.prototype, "descriptionText");
409
+ p([
410
+ r
411
+ ], c.prototype, "chartTitleVisibility");
412
+ p([
413
+ r
414
+ ], c.prototype, "chartSubtitleVisibility");
415
+ p([
416
+ r
417
+ ], c.prototype, "descriptionVisibility");
418
+ p([
419
+ r
420
+ ], c.prototype, "chartRenderer");
421
+ p([
422
+ r
423
+ ], c.prototype, "titleSymbol");
424
+ p([
425
+ r
426
+ ], c.prototype, "subtitleSymbol");
427
+ p([
428
+ r
429
+ ], c.prototype, "descriptionSymbol");
430
+ p([
431
+ r
432
+ ], c.prototype, "backgroundColor");
433
+ p([
434
+ r
435
+ ], c.prototype, "setSeriesVisibility");
436
+ p([
437
+ r
438
+ ], c.prototype, "setDataTooltipValueFormat");
439
+ p([
440
+ r
441
+ ], c.prototype, "fetchNULLValues");
442
+ p([
443
+ r
444
+ ], c.prototype, "setDataFilters");
445
+ const It = (i) => i.colorMatch ?? !0, Xt = (i, e) => {
446
+ e.colorMatch = i;
447
+ };
448
+ var Ht = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, Zt = (i, e, t, s) => {
449
+ for (var o = Yt(e, t), n = i.length - 1, a; n >= 0; n--)
450
+ (a = i[n]) && (o = a(e, t, o) || o);
451
+ return o && Ht(e, t, o), o;
452
+ };
453
+ class Kt extends c {
454
+ /**
455
+ * Whether the chart should attempt to match the data source's colors.
456
+ *
457
+ * `true`: Attempt to match the data source's colors.
458
+ *
459
+ * `false`: Use the colors defined in the config.
460
+ */
461
+ get colorMatch() {
462
+ return It(this._config);
463
+ }
464
+ set colorMatch(e) {
465
+ Xt(e, this._config);
466
+ }
467
+ }
468
+ Zt([
469
+ r
470
+ ], Kt.prototype, "colorMatch");
471
+ const qt = (i) => {
472
+ let e = !1;
473
+ return i.legend !== void 0 && (e = i.legend.visible ?? !0), e;
474
+ }, Jt = (i, e) => {
475
+ e.legend === void 0 && (e.legend = v()), e.legend.visible = i;
476
+ }, Qt = (i) => i.legend?.title?.content, ei = (i, e) => {
477
+ e.legend === void 0 && (e.legend = v()), (e.legend.title === void 0 || i === void 0) && (e.legend.title = S({
478
+ text: "",
479
+ visible: !0,
480
+ font: _(u.LegendTitle),
481
+ type: u.LegendTitle
482
+ })), i !== void 0 && (e.legend.title.content = i);
483
+ }, ti = (i) => i.legend?.body, ii = (i, e) => {
484
+ e.legend === void 0 && (e.legend = v()), e.legend.body = i ?? S({
485
+ text: "",
486
+ visible: !0,
487
+ font: _(u.LegendText),
488
+ type: u.LegendText
489
+ }).content;
490
+ }, F = (i) => i.legend?.title?.content.text ?? "", si = (i, e) => {
491
+ if (e.legend?.title !== void 0)
492
+ e.legend.title.content.text = i;
493
+ else if (e.legend === void 0 && i !== void 0) {
494
+ const t = v();
495
+ t.title !== void 0 && (t.title.content.text = i, t.title.visible = !0, e.legend = t);
496
+ }
497
+ }, oi = (i) => i.legend?.title?.visible ?? !1, ri = (i, e) => {
498
+ if (e.legend?.title !== void 0)
499
+ e.legend.title.visible = i;
500
+ else if (e.legend !== void 0 && e.legend?.title === void 0 && i)
501
+ e.legend.title = S({
502
+ text: F(e),
503
+ visible: i,
504
+ font: _(u.LegendTitle),
505
+ type: u.LegendTitle
506
+ });
507
+ else if (e.legend === void 0) {
508
+ const t = v();
509
+ t.title = S({
510
+ text: F(e),
511
+ visible: i,
512
+ font: _(u.LegendTitle),
513
+ type: u.LegendTitle
514
+ }), e.legend = t;
515
+ }
516
+ }, ni = (i) => i.legend?.position ?? de.Right, ai = (i, e) => {
517
+ if (e.legend !== void 0)
518
+ e.legend.position = i;
519
+ else if (e.legend === void 0) {
520
+ const t = v();
521
+ t.position = i, e.legend = t;
522
+ }
523
+ }, li = (i) => i.legend?.roundMarkers ?? !1, ci = (i, e) => {
524
+ e.legend === void 0 && (e.legend = v()), e.legend.roundMarkers = i;
525
+ }, gi = (i) => i.legend?.maxHeight ?? void 0, di = (i, e) => {
526
+ e.legend === void 0 && (e.legend = v()), e.legend.maxHeight = i;
527
+ };
528
+ var fi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, V = (i, e, t, s) => {
529
+ for (var o = ui(e, t), n = i.length - 1, a; n >= 0; n--)
530
+ (a = i[n]) && (o = a(e, t, o) || o);
531
+ return o && fi(e, t, o), o;
532
+ };
533
+ class A extends c {
534
+ // ---------------------------------------------------------------------------------------------
535
+ // Data Props
536
+ // ---------------------------------------------------------------------------------------------
537
+ /**
538
+ * Whether the legend title is visible.
539
+ *
540
+ * `true`: Legend title is visible.
541
+ *
542
+ * `false`: Legend title is hidden.
543
+ */
544
+ get legendVisibility() {
545
+ return qt(this._config);
546
+ }
547
+ set legendVisibility(e) {
548
+ Jt(e, this._config);
549
+ }
550
+ // ---------------------------------------------------------------------------------------------
551
+ // General Props
552
+ // ---------------------------------------------------------------------------------------------
553
+ /**
554
+ * The legend title text.
555
+ */
556
+ get legendTitleText() {
557
+ return F(this._config);
558
+ }
559
+ set legendTitleText(e) {
560
+ si(e, this._config);
561
+ }
562
+ /**
563
+ * Whether the legend title is visible.
564
+ *
565
+ * `true`: Legend title is visible.
566
+ *
567
+ * `false`: Legend title is hidden.
568
+ */
569
+ get legendTitleVisibility() {
570
+ return oi(this._config);
571
+ }
572
+ set legendTitleVisibility(e) {
573
+ ri(e, this._config);
574
+ }
575
+ /**
576
+ * Legend position: top, bottom, left, or right.
577
+ */
578
+ get legendPosition() {
579
+ return ni(this._config);
580
+ }
581
+ set legendPosition(e) {
582
+ ai(e, this._config);
583
+ }
584
+ // ---------------------------------------------------------------------------------------------
585
+ // Format Props
586
+ // ---------------------------------------------------------------------------------------------
587
+ /**
588
+ * Legend title text symbol (font, color, style).
589
+ */
590
+ get legendTitleSymbol() {
591
+ return Qt(this._config);
592
+ }
593
+ set legendTitleSymbol(e) {
594
+ ei(e, this._config);
595
+ }
596
+ /**
597
+ * Legend item text symbol (font, color, style).
598
+ */
599
+ get legendTextSymbol() {
600
+ return ti(this._config);
601
+ }
602
+ set legendTextSymbol(e) {
603
+ ii(e, this._config);
604
+ }
605
+ /**
606
+ * Maximum legend height.
607
+ */
608
+ get legendMaxHeight() {
609
+ return gi(this._config);
610
+ }
611
+ set legendMaxHeight(e) {
612
+ e !== void 0 && di(e, this._config);
613
+ }
614
+ /**
615
+ * Whether legend markers are rounded.
616
+ */
617
+ get legendRoundMarker() {
618
+ return li(this._config);
619
+ }
620
+ set legendRoundMarker(e) {
621
+ ci(e, this._config);
622
+ }
623
+ }
624
+ V([
625
+ r
626
+ ], A.prototype, "legendVisibility");
627
+ V([
628
+ r
629
+ ], A.prototype, "legendTitleText");
630
+ V([
631
+ r
632
+ ], A.prototype, "legendTitleVisibility");
633
+ V([
634
+ r
635
+ ], A.prototype, "legendPosition");
636
+ V([
637
+ r
638
+ ], A.prototype, "legendTitleSymbol");
639
+ V([
640
+ r
641
+ ], A.prototype, "legendTextSymbol");
642
+ V([
643
+ r
644
+ ], A.prototype, "legendMaxHeight");
645
+ V([
646
+ r
647
+ ], A.prototype, "legendRoundMarker");
648
+ var hi = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, D = (i, e, t, s) => {
649
+ for (var o = pi(e, t), n = i.length - 1, a; n >= 0; n--)
650
+ (a = i[n]) && (o = a(e, t, o) || o);
651
+ return o && hi(e, t, o), o;
652
+ };
653
+ class T extends c {
421
654
  /**
422
655
  * The x-axis title text.
423
656
  */
424
657
  get xAxisTitleText() {
425
- return v(0, this._config);
658
+ return Z(0, this._config);
426
659
  }
427
- set xAxisTitleText(t) {
428
- this.guardSetterFromAsyncOverwrite(() => {
429
- A(t, 0, this._config), this.emitConfigUpdate("xAxisTitleText");
430
- });
660
+ set xAxisTitleText(e) {
661
+ K(e, 0, this._config);
431
662
  }
432
663
  /**
433
664
  * Whether the x-axis title is visible.
@@ -435,168 +666,309 @@ class G extends w {
435
666
  * false: X-axis title is hidden.
436
667
  */
437
668
  get xAxisTitleVisibility() {
438
- return T(0, this._config);
669
+ return q(0, this._config);
439
670
  }
440
- set xAxisTitleVisibility(t) {
441
- this.guardSetterFromAsyncOverwrite(() => {
442
- L(t, 0, this._config), this.emitConfigUpdate("xAxisTitleVisibility");
443
- });
671
+ set xAxisTitleVisibility(e) {
672
+ J(e, 0, this._config);
444
673
  }
445
674
  /**
446
675
  * Maximum bound set for the x-axis. Null indicates no explicit maximum.
447
676
  */
448
677
  get maxXBound() {
449
- return h({ config: this._config, axisIndex: 0, isMax: !0 });
678
+ return k({ config: this._config, axisIndex: 0, isMax: !0 });
450
679
  }
451
- set maxXBound(t) {
452
- this.guardSetterFromAsyncOverwrite(() => {
453
- m({ config: this._config, value: t, axisIndex: 0, isMax: !0 }), this.emitConfigUpdate("maxXBound");
454
- });
680
+ set maxXBound(e) {
681
+ G({ config: this._config, value: e, axisIndex: 0, isMax: !0 });
455
682
  }
456
683
  /**
457
684
  * Minimum bound set for the x-axis. Null indicates no explicit minimum.
458
685
  */
459
686
  get minXBound() {
460
- return h({ config: this._config, axisIndex: 0, isMax: !1 });
687
+ return k({ config: this._config, axisIndex: 0, isMax: !1 });
461
688
  }
462
- set minXBound(t) {
463
- this.guardSetterFromAsyncOverwrite(() => {
464
- St(this._config, t), this.emitConfigUpdate("minXBound");
465
- });
689
+ set minXBound(e) {
690
+ qe(this._config, e);
466
691
  }
467
692
  /**
468
693
  * X-axis title text symbol (font, color, style).
469
694
  */
470
695
  get xAxisTitleSymbol() {
471
- return F(this._config, 0);
696
+ return Q(this._config, 0);
472
697
  }
473
- set xAxisTitleSymbol(t) {
474
- this.guardSetterFromAsyncOverwrite(() => {
475
- V({ symbol: t, axisIndex: 0, config: this._config }), this.emitConfigUpdate("xAxisTitleSymbol");
476
- });
698
+ set xAxisTitleSymbol(e) {
699
+ ee({ symbol: e, axisIndex: 0, config: this._config });
477
700
  }
478
701
  /**
479
702
  * Axis labels text symbol (font, color, style).
480
703
  */
481
704
  get axisLabelsSymbol() {
482
- return pt(this._config);
705
+ return Je(this._config);
483
706
  }
484
- set axisLabelsSymbol(t) {
485
- this.guardSetterFromAsyncOverwrite(() => {
486
- _t(t, this._config), this.emitConfigUpdate("axisLabelsSymbol");
487
- });
707
+ set axisLabelsSymbol(e) {
708
+ Qe(e, this._config);
488
709
  }
489
710
  /**
490
711
  * Axis lines symbol (line width, style, color).
491
712
  */
492
713
  get axisLinesSymbol() {
493
- return Ct(this._config);
714
+ return et(this._config);
494
715
  }
495
- set axisLinesSymbol(t) {
496
- this.guardSetterFromAsyncOverwrite(() => {
497
- vt(t, this._config), this.emitConfigUpdate("axisLinesSymbol");
716
+ set axisLinesSymbol(e) {
717
+ tt(e, this._config);
718
+ }
719
+ }
720
+ D([
721
+ r
722
+ ], T.prototype, "xAxisTitleText");
723
+ D([
724
+ r
725
+ ], T.prototype, "xAxisTitleVisibility");
726
+ D([
727
+ r
728
+ ], T.prototype, "maxXBound");
729
+ D([
730
+ r
731
+ ], T.prototype, "minXBound");
732
+ D([
733
+ r
734
+ ], T.prototype, "xAxisTitleSymbol");
735
+ D([
736
+ r
737
+ ], T.prototype, "axisLabelsSymbol");
738
+ D([
739
+ r
740
+ ], T.prototype, "axisLinesSymbol");
741
+ const yi = (i, e) => i.series?.[e ?? 0]?.dataTooltipVisible ?? !0, bi = (i, e, t) => {
742
+ t && i.series?.[t] ? i.series[t].dataTooltipVisible = e : i.series && i.series.forEach((s) => {
743
+ s.dataTooltipVisible = e;
744
+ });
745
+ }, _i = (i, e) => i.series?.[e ?? 0]?.dataTooltipReverseColor ?? !1, mi = (i, e, t) => {
746
+ t && i.series?.[t] ? i.series[t].dataTooltipReverseColor = e : i.series && i.series.forEach((s) => {
747
+ s.dataTooltipReverseColor = e;
748
+ });
749
+ };
750
+ var xi = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, te = (i, e, t, s) => {
751
+ for (var o = Si(e, t), n = i.length - 1, a; n >= 0; n--)
752
+ (a = i[n]) && (o = a(e, t, o) || o);
753
+ return o && xi(e, t, o), o;
754
+ };
755
+ class ie extends c {
756
+ /**
757
+ * Gets the visibility of the data tooltips.
758
+ * @param seriesIndex The index of the series.
759
+ * @returns {boolean}
760
+ * @remarks
761
+ * a. If the seriesIndex is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
762
+ * b. If the visibility is not set on the series, the default value of `true` will be returned.
763
+ */
764
+ getDataTooltipVisibility(e) {
765
+ return yi(this._config, e);
766
+ }
767
+ setDataTooltipVisibility(e, t) {
768
+ bi(this._config, e, t);
769
+ }
770
+ /**
771
+ * Gets the setting of the `dataTooltipReverseColor` property.
772
+ * @param seriesIndex The index of the series.
773
+ * @returns {boolean}
774
+ * @remarks
775
+ * a. If the seriesIndex is provided, the dataTooltipReverseColor for that series will be returned. Otherwise, the same property of the first series will be returned.
776
+ * b. If the dataTooltipReverseColor is not set on the series, the default value of `false` will be returned.
777
+ */
778
+ getDataTooltipReverseColor(e) {
779
+ return _i(this._config, e);
780
+ }
781
+ setDataTooltipReverseColor(e, t) {
782
+ mi(this._config, e, t);
783
+ }
784
+ }
785
+ te([
786
+ r
787
+ ], ie.prototype, "setDataTooltipVisibility");
788
+ te([
789
+ r
790
+ ], ie.prototype, "setDataTooltipReverseColor");
791
+ var vi = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor, Li = (i, e, t, s) => {
792
+ for (var o = Ti(e, t), n = i.length - 1, a; n >= 0; n--)
793
+ (a = i[n]) && (o = a(e, t, o) || o);
794
+ return o && vi(e, t, o), o;
795
+ };
796
+ class Ci extends c {
797
+ /**
798
+ * Whether the chart is rotated.
799
+ */
800
+ get rotatedState() {
801
+ return _e(this._config);
802
+ }
803
+ set rotatedState(e) {
804
+ this._config.rotated = e;
805
+ }
806
+ }
807
+ Li([
808
+ r
809
+ ], Ci.prototype, "rotatedState");
810
+ const Vi = (i) => i.series[0]?.dataLabels?.visible ?? !1, Ai = (i, e) => {
811
+ e.series.forEach((t) => {
812
+ t.dataLabels !== void 0 ? t.dataLabels.visible = i : t.dataLabels = S({
813
+ text: "",
814
+ visible: i,
815
+ font: _(u.DataLabels),
816
+ type: u.DataLabels
498
817
  });
818
+ });
819
+ }, Di = (i) => {
820
+ for (const e of i.series)
821
+ if (e.dataLabels !== void 0)
822
+ return e.dataLabels.content;
823
+ }, Pi = (i, e) => {
824
+ for (const t of e.series)
825
+ (t.dataLabels === void 0 || i === void 0) && (t.dataLabels = S({
826
+ text: "",
827
+ visible: !0,
828
+ font: _(u.DataLabels),
829
+ type: u.DataLabels
830
+ })), i !== void 0 && (t.dataLabels.content = H(i));
831
+ };
832
+ var Mi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, se = (i, e, t, s) => {
833
+ for (var o = Oi(e, t), n = i.length - 1, a; n >= 0; n--)
834
+ (a = i[n]) && (o = a(e, t, o) || o);
835
+ return o && Mi(e, t, o), o;
836
+ };
837
+ class oe extends c {
838
+ // ---------------------------------------------------------------------------------------------
839
+ // Data Props
840
+ // ---------------------------------------------------------------------------------------------
841
+ /**
842
+ * Whether data labels are visible.
843
+ * true: visible, false: hidden.
844
+ */
845
+ get dataLabelsVisibility() {
846
+ return Vi(this._config);
847
+ }
848
+ set dataLabelsVisibility(e) {
849
+ Ai(e, this._config);
850
+ }
851
+ // ---------------------------------------------------------------------------------------------
852
+ // Format Props
853
+ // ---------------------------------------------------------------------------------------------
854
+ /**
855
+ * Data labels text symbol (font, color, style).
856
+ */
857
+ get dataLabelsSymbol() {
858
+ return Di(this._config);
859
+ }
860
+ set dataLabelsSymbol(e) {
861
+ Pi(e, this._config);
499
862
  }
500
863
  }
501
- const Kt = (e) => {
864
+ se([
865
+ r
866
+ ], oe.prototype, "dataLabelsVisibility");
867
+ se([
868
+ r
869
+ ], oe.prototype, "dataLabelsSymbol");
870
+ const Gi = (i) => {
871
+ for (const e of i.axes ?? [])
872
+ for (const t of e?.guides ?? [])
873
+ if (t.label !== void 0)
874
+ return t.label;
875
+ }, Bi = (i, e) => {
502
876
  for (const t of e.axes ?? [])
503
- for (const i of t?.guides ?? [])
504
- if (i.label !== void 0)
505
- return i.label;
506
- }, Qt = (e, t) => {
507
- for (const i of t.axes ?? [])
508
- for (const s of i?.guides ?? []) {
509
- const a = s.label?.text ?? "";
510
- s.label = X(e), s.label !== void 0 && (s.label.text = a);
877
+ for (const s of t?.guides ?? []) {
878
+ const o = s.label?.text ?? "";
879
+ s.label = H(i), s.label !== void 0 && (s.label.text = o);
511
880
  }
512
881
  };
513
- function o(e) {
882
+ function y(i) {
514
883
  return {
515
- ...e,
516
- axis: e.orientation === c.X ? e.config.axes?.[0] : e.config.axes?.[1],
517
- index: e.index ?? 0,
518
- orientation: e.orientation ?? c.Y
884
+ ...i,
885
+ axis: i.orientation === C.X ? i.config.axes?.[0] : i.config.axes?.[1],
886
+ index: i.index ?? 0,
887
+ orientation: i.orientation ?? C.Y
519
888
  };
520
889
  }
521
- const $t = (e) => {
522
- const { axis: t, index: i } = o(e);
523
- return t?.guides?.[i]?.visible ?? !0;
524
- }, Jt = (e) => {
525
- const { visible: t, axis: i, index: s } = o(e);
526
- i?.guides?.[s] !== void 0 && (i.guides[s].visible = t);
527
- }, O = (e) => {
528
- const t = Y(e.start, e.end);
529
- Z(e.style) && t === u.SFS ? e.style = { type: u.SFS, color: e.style.color } : j(e.style) && t === u.SLS && (e.style = { type: u.SLS, color: e.style.color });
530
- }, ti = (e) => {
531
- const { axis: t, index: i } = o(e);
532
- return t?.guides?.[i]?.start ?? null;
533
- }, ii = (e) => {
534
- const { start: t, axis: i, index: s } = o(e);
535
- i?.guides?.[s] !== void 0 && (i.guides[s].start = t, O(i.guides[s]));
536
- }, ei = (e) => {
537
- const { axis: t, index: i } = o(e);
538
- return t?.guides?.[i]?.end;
539
- }, si = (e) => {
540
- const { end: t, axis: i, index: s } = o(e);
541
- i?.guides?.[s] !== void 0 && (i.guides[s].end = t, O(i.guides[s]));
542
- }, ri = (e) => {
543
- const { axis: t, index: i } = o(e);
544
- return t?.guides?.[i]?.name;
545
- }, oi = (e) => {
546
- const { name: t, axis: i, index: s } = o(e);
547
- i?.guides?.[s] !== void 0 && (i.guides[s].name = t);
548
- }, ni = (e) => {
549
- const { axis: t, index: i } = o(e);
550
- return t?.guides?.[i]?.label?.text;
551
- }, ai = (e) => {
552
- const { labelText: t, axis: i, index: s } = o(e), a = i?.guides?.[s]?.label ?? H(t, f(g.GuideLabel), g.GuideLabel);
553
- i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...a, text: t });
554
- }, gi = (e) => {
555
- const { axis: t, index: i } = o(e);
556
- return t?.guides?.[i]?.above ?? !1;
557
- }, ci = (e) => {
558
- const { above: t, axis: i, index: s } = o(e);
559
- i?.guides?.[s] !== void 0 && (i.guides[s].above = t);
560
- }, li = (e) => {
561
- const { axis: t, index: i } = o(e);
562
- return t?.guides?.[i]?.style;
563
- }, ui = (e) => {
564
- const { style: t, axis: i, index: s } = o(e);
565
- i?.guides?.[s] !== void 0 && (i.guides[s].style = t);
566
- }, U = (e) => {
567
- const { config: t, name: i, index: s, orientation: a } = e, n = a === c.X ? t.axes?.[0] : t.axes?.[1];
890
+ const ki = (i) => {
891
+ const { axis: e, index: t } = y(i);
892
+ return e?.guides?.[t]?.visible ?? !0;
893
+ }, wi = (i) => {
894
+ const { visible: e, axis: t, index: s } = y(i);
895
+ t?.guides?.[s] !== void 0 && (t.guides[s].visible = e);
896
+ }, re = (i) => {
897
+ const e = Se(i.start, i.end);
898
+ Ae(i.style) && e === B.SFS ? i.style = { type: B.SFS, color: i.style.color } : De(i.style) && e === B.SLS && (i.style = { type: B.SLS, color: i.style.color });
899
+ }, Fi = (i) => {
900
+ const { axis: e, index: t } = y(i);
901
+ return e?.guides?.[t]?.start ?? null;
902
+ }, $i = (i) => {
903
+ const { start: e, axis: t, index: s } = y(i);
904
+ t?.guides?.[s] !== void 0 && (t.guides[s].start = e, re(t.guides[s]));
905
+ }, ji = (i) => {
906
+ const { axis: e, index: t } = y(i);
907
+ return e?.guides?.[t]?.end;
908
+ }, Ni = (i) => {
909
+ const { end: e, axis: t, index: s } = y(i);
910
+ t?.guides?.[s] !== void 0 && (t.guides[s].end = e, re(t.guides[s]));
911
+ }, Ri = (i) => {
912
+ const { axis: e, index: t } = y(i);
913
+ return e?.guides?.[t]?.name;
914
+ }, Ui = (i) => {
915
+ const { name: e, axis: t, index: s } = y(i);
916
+ t?.guides?.[s] !== void 0 && (t.guides[s].name = e);
917
+ }, Wi = (i) => {
918
+ const { axis: e, index: t } = y(i);
919
+ return e?.guides?.[t]?.label?.text;
920
+ }, zi = (i) => {
921
+ const { labelText: e, axis: t, index: s } = y(i), o = t?.guides?.[s]?.label ?? me(e, _(u.GuideLabel), u.GuideLabel);
922
+ t?.guides?.[s] !== void 0 && (t.guides[s].label = { ...o, text: e });
923
+ }, Ei = (i) => {
924
+ const { axis: e, index: t } = y(i);
925
+ return e?.guides?.[t]?.above ?? !1;
926
+ }, Ii = (i) => {
927
+ const { above: e, axis: t, index: s } = y(i);
928
+ t?.guides?.[s] !== void 0 && (t.guides[s].above = e);
929
+ }, Xi = (i) => {
930
+ const { axis: e, index: t } = y(i);
931
+ return e?.guides?.[t]?.style;
932
+ }, Hi = (i) => {
933
+ const { style: e, axis: t, index: s } = y(i);
934
+ t?.guides?.[s] !== void 0 && (t.guides[s].style = e);
935
+ }, ne = (i) => {
936
+ const { config: e, name: t, index: s, orientation: o } = i, n = o === C.X ? e.axes?.[0] : e.axes?.[1];
568
937
  if (n !== void 0) {
569
938
  n.guides = n.guides ?? [];
570
- const l = {
571
- type: p.Guide,
572
- name: i,
573
- start: n.valueFormat.type === p.DateAxisFormat ? "" : 0,
574
- style: W()
939
+ const a = {
940
+ type: w.Guide,
941
+ name: t,
942
+ start: n.valueFormat.type === w.DateAxisFormat ? "" : 0,
943
+ style: xe()
575
944
  };
576
- s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, l) : n.guides.push(l);
577
- }
578
- }, B = (e) => {
579
- const { config: t, index: i, orientation: s } = e, a = s === c.X ? t.axes?.[0] : t.axes?.[1];
580
- a?.guides !== void 0 && (i !== void 0 && i < a.guides.length ? a.guides.splice(i, 1) : a.guides.pop());
581
- }, hi = (e) => {
582
- const { axis: t, index: i } = o(e);
583
- return t?.guides?.[i]?.tooltipReverseColor ?? !1;
584
- }, fi = (e) => {
585
- const { reverseColor: t, axis: i, index: s } = o(e);
586
- i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = t);
945
+ s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, a) : n.guides.push(a);
946
+ }
947
+ }, ae = (i) => {
948
+ const { config: e, index: t, orientation: s } = i, o = s === C.X ? e.axes?.[0] : e.axes?.[1];
949
+ o?.guides !== void 0 && (t !== void 0 && t < o.guides.length ? o.guides.splice(t, 1) : o.guides.pop());
950
+ }, Yi = (i) => {
951
+ const { axis: e, index: t } = y(i);
952
+ return e?.guides?.[t]?.tooltipReverseColor ?? !1;
953
+ }, Zi = (i) => {
954
+ const { reverseColor: e, axis: t, index: s } = y(i);
955
+ t?.guides?.[s] !== void 0 && (t.guides[s].tooltipReverseColor = e);
587
956
  };
588
- class d extends w {
957
+ var Ki = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, L = (i, e, t, s) => {
958
+ for (var o = qi(e, t), n = i.length - 1, a; n >= 0; n--)
959
+ (a = i[n]) && (o = a(e, t, o) || o);
960
+ return o && Ki(e, t, o), o;
961
+ };
962
+ class b extends c {
589
963
  /**
590
964
  * The guide labels text symbol (font, color, style).
591
965
  * @returns {WebChartTextSymbol | undefined}
592
966
  */
593
967
  get guideLabelsSymbol() {
594
- return Kt(this._config);
968
+ return Gi(this._config);
595
969
  }
596
- set guideLabelsSymbol(t) {
597
- this.guardSetterFromAsyncOverwrite(() => {
598
- Qt(t, this._config), this.emitConfigUpdate("guideLabelsSymbol");
599
- });
970
+ set guideLabelsSymbol(e) {
971
+ Bi(e, this._config);
600
972
  }
601
973
  /**
602
974
  * Gets whether a guide is visible.
@@ -604,19 +976,11 @@ class d extends w {
604
976
  * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
605
977
  * @returns {boolean}
606
978
  */
607
- getGuideVisibility(t, i) {
608
- return $t({ config: this._config, index: t, orientation: i });
979
+ getGuideVisibility(e, t) {
980
+ return ki({ config: this._config, index: e, orientation: t });
609
981
  }
610
- /**
611
- * Sets whether a guide is visible
612
- * @param {boolean} visible New visibility to set.
613
- * @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
614
- * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
615
- */
616
- setGuideVisibility(t, i, s) {
617
- this.guardSetterFromAsyncOverwrite(() => {
618
- Jt({ visible: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideVisibility");
619
- });
982
+ setGuideVisibility(e, t, s) {
983
+ wi({ visible: e, config: this._config, index: t, orientation: s });
620
984
  }
621
985
  /**
622
986
  * Gets the start value of a guide.
@@ -624,19 +988,11 @@ class d extends w {
624
988
  * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
625
989
  * @returns {Date | number | string | null}
626
990
  */
627
- getGuideStart(t, i) {
628
- return ti({ config: this._config, index: t, orientation: i });
991
+ getGuideStart(e, t) {
992
+ return Fi({ config: this._config, index: e, orientation: t });
629
993
  }
630
- /**
631
- * Sets the start value of a guide.
632
- * @param {Date | number | string | null} start New start value to set.
633
- * @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
634
- * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
635
- */
636
- setGuideStart(t, i, s) {
637
- this.guardSetterFromAsyncOverwrite(() => {
638
- ii({ start: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideStart");
639
- });
994
+ setGuideStart(e, t, s) {
995
+ $i({ start: e, config: this._config, index: t, orientation: s });
640
996
  }
641
997
  /**
642
998
  * Gets the end value of a guide.
@@ -644,19 +1000,11 @@ class d extends w {
644
1000
  * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
645
1001
  * @returns {Date | number | string | null}
646
1002
  */
647
- getGuideEnd(t, i) {
648
- return ei({ config: this._config, index: t, orientation: i });
1003
+ getGuideEnd(e, t) {
1004
+ return ji({ config: this._config, index: e, orientation: t });
649
1005
  }
650
- /**
651
- * Sets the end value of a guide.
652
- * @param {Date | number | string | null | undefined} end New end value to set.
653
- * @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
654
- * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
655
- */
656
- setGuideEnd(t, i, s) {
657
- this.guardSetterFromAsyncOverwrite(() => {
658
- si({ end: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideEnd");
659
- });
1006
+ setGuideEnd(e, t, s) {
1007
+ Ni({ end: e, config: this._config, index: t, orientation: s });
660
1008
  }
661
1009
  /**
662
1010
  * Gets the name of a guide.
@@ -664,19 +1012,11 @@ class d extends w {
664
1012
  * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
665
1013
  * @returns {string | undefined}
666
1014
  */
667
- getGuideName(t, i) {
668
- return ri({ config: this._config, index: t, orientation: i });
1015
+ getGuideName(e, t) {
1016
+ return Ri({ config: this._config, index: e, orientation: t });
669
1017
  }
670
- /**
671
- * Sets the name of a guide.
672
- * @param {string} name New name to set.
673
- * @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
674
- * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
675
- */
676
- setGuideName(t, i, s) {
677
- this.guardSetterFromAsyncOverwrite(() => {
678
- oi({ name: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideName");
679
- });
1018
+ setGuideName(e, t, s) {
1019
+ Ui({ name: e, config: this._config, index: t, orientation: s });
680
1020
  }
681
1021
  /**
682
1022
  * Gets the guide label text.
@@ -684,19 +1024,11 @@ class d extends w {
684
1024
  * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
685
1025
  * @returns {string | undefined}
686
1026
  */
687
- getGuideLabelText(t, i) {
688
- return ni({ config: this._config, index: t, orientation: i });
1027
+ getGuideLabelText(e, t) {
1028
+ return Wi({ config: this._config, index: e, orientation: t });
689
1029
  }
690
- /**
691
- * Sets the guide label text.
692
- * @param {string} labelText New label text to set.
693
- * @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
694
- * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
695
- */
696
- setGuideLabelText(t, i, s) {
697
- this.guardSetterFromAsyncOverwrite(() => {
698
- ai({ labelText: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideLabelText");
699
- });
1030
+ setGuideLabelText(e, t, s) {
1031
+ zi({ labelText: e, config: this._config, index: t, orientation: s });
700
1032
  }
701
1033
  /**
702
1034
  * Gets whether the guide should be rendered above the other chart elements.
@@ -704,19 +1036,11 @@ class d extends w {
704
1036
  * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
705
1037
  * @returns {boolean}
706
1038
  */
707
- getGuideAbove(t, i) {
708
- return gi({ config: this._config, index: t, orientation: i });
1039
+ getGuideAbove(e, t) {
1040
+ return Ei({ config: this._config, index: e, orientation: t });
709
1041
  }
710
- /**
711
- * Sets whether the guide should be rendered above the other chart elements.
712
- * @param {boolean} above New above boolean to set.
713
- * @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
714
- * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
715
- */
716
- setGuideAbove(t, i, s) {
717
- this.guardSetterFromAsyncOverwrite(() => {
718
- ci({ above: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideAbove");
719
- });
1042
+ setGuideAbove(e, t, s) {
1043
+ Ii({ above: e, config: this._config, index: t, orientation: s });
720
1044
  }
721
1045
  /**
722
1046
  * Gets the guide style.
@@ -724,19 +1048,11 @@ class d extends w {
724
1048
  * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
725
1049
  * @returns {ISimpleFillSymbol | ISimpleLineSymbol | undefined}
726
1050
  */
727
- getGuideStyle(t, i) {
728
- return li({ config: this._config, index: t, orientation: i });
1051
+ getGuideStyle(e, t) {
1052
+ return Xi({ config: this._config, index: e, orientation: t });
729
1053
  }
730
- /**
731
- * Sets the guide style.
732
- * @param {ISimpleFillSymbol | ISimpleLineSymbol} style New style to set.
733
- * @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
734
- * @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
735
- */
736
- setGuideStyle(t, i, s) {
737
- this.guardSetterFromAsyncOverwrite(() => {
738
- ui({ style: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideStyle");
739
- });
1054
+ setGuideStyle(e, t, s) {
1055
+ Hi({ style: e, config: this._config, index: t, orientation: s });
740
1056
  }
741
1057
  /**
742
1058
  * Gets whether the tooltip text color should be reversed for a guide.
@@ -744,22 +1060,46 @@ class d extends w {
744
1060
  * @param orientation - The axis orientation of the guide.
745
1061
  * @returns {boolean}
746
1062
  */
747
- getTooltipReverseColor(t, i) {
748
- return hi({ config: this._config, index: t, orientation: i });
1063
+ getTooltipReverseColor(e, t) {
1064
+ return Yi({ config: this._config, index: e, orientation: t });
749
1065
  }
750
- /**
751
- * Sets whether the tooltip text color should be reversed for a guide.
752
- * @param reverseColor - New reverseColor boolean to set.
753
- * @param index - The index of the guide in the list of guides for the given axis orientation.
754
- * @param orientation - The axis orientation of the guide.
755
- */
756
- setTooltipReverseColor(t, i, s) {
757
- this.guardSetterFromAsyncOverwrite(() => {
758
- fi({ reverseColor: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setTooltipReverseColor");
759
- });
1066
+ setTooltipReverseColor(e, t, s) {
1067
+ Zi({ reverseColor: e, config: this._config, index: t, orientation: s });
760
1068
  }
761
1069
  }
762
- class di extends d {
1070
+ L([
1071
+ r
1072
+ ], b.prototype, "guideLabelsSymbol");
1073
+ L([
1074
+ r
1075
+ ], b.prototype, "setGuideVisibility");
1076
+ L([
1077
+ r
1078
+ ], b.prototype, "setGuideStart");
1079
+ L([
1080
+ r
1081
+ ], b.prototype, "setGuideEnd");
1082
+ L([
1083
+ r
1084
+ ], b.prototype, "setGuideName");
1085
+ L([
1086
+ r
1087
+ ], b.prototype, "setGuideLabelText");
1088
+ L([
1089
+ r
1090
+ ], b.prototype, "setGuideAbove");
1091
+ L([
1092
+ r
1093
+ ], b.prototype, "setGuideStyle");
1094
+ L([
1095
+ r
1096
+ ], b.prototype, "setTooltipReverseColor");
1097
+ var Ji = Object.defineProperty, Qi = Object.getOwnPropertyDescriptor, le = (i, e, t, s) => {
1098
+ for (var o = Qi(e, t), n = i.length - 1, a; n >= 0; n--)
1099
+ (a = i[n]) && (o = a(e, t, o) || o);
1100
+ return o && Ji(e, t, o), o;
1101
+ };
1102
+ class W extends b {
763
1103
  // ---------------------------------------------------------------------------------------------
764
1104
  // Guides Methods
765
1105
  // ---------------------------------------------------------------------------------------------
@@ -770,37 +1110,35 @@ class di extends d {
770
1110
  getXGuidesLength() {
771
1111
  return this._config.axes?.[0]?.guides?.length;
772
1112
  }
773
- /**
774
- * Adds an X-axis guide.
775
- * @param {string} name The name of the guide.
776
- * @param {number} [index] The index to insert the new guide in the list of X-axis guides. If left `undefined`, the guide is appended to the end of the list.
777
- */
778
- addXAxisGuide(t, i) {
779
- this.guardSetterFromAsyncOverwrite(() => {
780
- U({
781
- config: this._config,
782
- name: t,
783
- index: i,
784
- orientation: c.X
785
- }), this.emitConfigUpdate("addXAxisGuide");
1113
+ addXAxisGuide(e, t) {
1114
+ ne({
1115
+ config: this._config,
1116
+ name: e,
1117
+ index: t,
1118
+ orientation: C.X
786
1119
  });
787
1120
  }
788
- /**
789
- * Deletes an X-axis guide.
790
- * @param {number} [index] The index of the guide to delete in the list of X-axis guides. If left `undefined`, the last guide in the list is deleted.
791
- */
792
- deleteXAxisGuide(t) {
793
- this.guardSetterFromAsyncOverwrite(() => {
794
- B({
795
- config: this._config,
796
- index: t,
797
- orientation: c.X
798
- }), this.emitConfigUpdate("deleteXAxisGuide");
1121
+ deleteXAxisGuide(e) {
1122
+ ae({
1123
+ config: this._config,
1124
+ index: e,
1125
+ orientation: C.X
799
1126
  });
800
1127
  }
801
1128
  }
802
- S(di, [d]);
803
- class mi extends d {
1129
+ le([
1130
+ r
1131
+ ], W.prototype, "addXAxisGuide");
1132
+ le([
1133
+ r
1134
+ ], W.prototype, "deleteXAxisGuide");
1135
+ U(W, [b]);
1136
+ var es = Object.defineProperty, ts = Object.getOwnPropertyDescriptor, ce = (i, e, t, s) => {
1137
+ for (var o = ts(e, t), n = i.length - 1, a; n >= 0; n--)
1138
+ (a = i[n]) && (o = a(e, t, o) || o);
1139
+ return o && es(e, t, o), o;
1140
+ };
1141
+ class z extends b {
804
1142
  /**
805
1143
  * Gets the number guides in the Y-axis guides list.
806
1144
  * @returns {number | undefined} The number of Y-axis guides.
@@ -808,77 +1146,443 @@ class mi extends d {
808
1146
  getYGuidesLength() {
809
1147
  return this._config.axes?.[1]?.guides?.length;
810
1148
  }
1149
+ addYAxisGuide(e, t) {
1150
+ ne({
1151
+ config: this._config,
1152
+ name: e,
1153
+ index: t,
1154
+ orientation: C.Y
1155
+ });
1156
+ }
1157
+ deleteYAxisGuide(e) {
1158
+ ae({
1159
+ config: this._config,
1160
+ index: e,
1161
+ orientation: C.Y
1162
+ });
1163
+ }
1164
+ }
1165
+ ce([
1166
+ r
1167
+ ], z.prototype, "addYAxisGuide");
1168
+ ce([
1169
+ r
1170
+ ], z.prototype, "deleteYAxisGuide");
1171
+ U(z, [b]);
1172
+ var is = Object.defineProperty, ss = Object.getOwnPropertyDescriptor, P = (i, e, t, s) => {
1173
+ for (var o = ss(e, t), n = i.length - 1, a; n >= 0; n--)
1174
+ (a = i[n]) && (o = a(e, t, o) || o);
1175
+ return o && is(e, t, o), o;
1176
+ };
1177
+ class M extends c {
811
1178
  /**
812
- * Adds a Y-axis guide.
813
- * @param {string} name The name of the guide.
814
- * @param {number} [index] The index to insert the new guide in the list of Y-axis guides. If left `undefined`, the guide is appended to the end of the list.
1179
+ * Time interval size for a temporal bar/line chart.
815
1180
  */
816
- addYAxisGuide(t, i) {
817
- this.guardSetterFromAsyncOverwrite(() => {
818
- U({
819
- config: this._config,
820
- name: t,
821
- index: i,
822
- orientation: c.Y
823
- }), this.emitConfigUpdate("addYAxisGuide");
1181
+ get temporalBinningSize() {
1182
+ return it(this._config);
1183
+ }
1184
+ set temporalBinningSize(e) {
1185
+ st(e, this._config);
1186
+ }
1187
+ /**
1188
+ * Time interval units for a temporal bar/line chart.
1189
+ */
1190
+ get temporalBinningUnit() {
1191
+ return ot(this._config);
1192
+ }
1193
+ set temporalBinningUnit(e) {
1194
+ rt(e, this._config);
1195
+ }
1196
+ /**
1197
+ * Time aggregation type for a temporal bar/line chart.
1198
+ */
1199
+ get timeAggregationType() {
1200
+ return nt(this._config);
1201
+ }
1202
+ set timeAggregationType(e) {
1203
+ at(e, this._config);
1204
+ }
1205
+ /**
1206
+ * Whether to trim incomplete time intervals for a temporal bar/line chart.
1207
+ */
1208
+ get trimIncompleteTimeInterval() {
1209
+ return lt(this._config);
1210
+ }
1211
+ set trimIncompleteTimeInterval(e) {
1212
+ ct(e, this._config);
1213
+ }
1214
+ /**
1215
+ * Policy which tells the chart how to handle null values.
1216
+ *
1217
+ * `null`: Break the bar where null values are present.
1218
+ *
1219
+ * `zero`: Treats null values as zero.
1220
+ *
1221
+ * `interpolate`: Bar series: same effect as `null` - Line series: connects the lines across null values.
1222
+ */
1223
+ get nullPolicy() {
1224
+ return gt(this._config);
1225
+ }
1226
+ set nullPolicy(e) {
1227
+ dt(e, this._config);
1228
+ }
1229
+ resetTimeInterval() {
1230
+ ft(this._config);
1231
+ }
1232
+ }
1233
+ P([
1234
+ r
1235
+ ], M.prototype, "temporalBinningSize");
1236
+ P([
1237
+ r
1238
+ ], M.prototype, "temporalBinningUnit");
1239
+ P([
1240
+ r
1241
+ ], M.prototype, "timeAggregationType");
1242
+ P([
1243
+ r
1244
+ ], M.prototype, "trimIncompleteTimeInterval");
1245
+ P([
1246
+ r
1247
+ ], M.prototype, "nullPolicy");
1248
+ P([
1249
+ r
1250
+ ], M.prototype, "resetTimeInterval");
1251
+ const Lo = (i, e) => e.series?.[i].assignToSecondValueAxis ?? !1, Co = (i) => {
1252
+ const { assign: e, seriesIndex: t, config: s, commonStrings: o } = i;
1253
+ e && s.axes !== void 0 && !s.axes?.[2] && (s.axes[2] = Te(o, w.BarSeries)[1]), s.series && s.series.forEach((n, a) => {
1254
+ a === t ? n.assignToSecondValueAxis = e : a !== t && n?.assignToSecondValueAxis !== !0 && (n.assignToSecondValueAxis = !1);
1255
+ }), s.axes?.[2] && !s.series.some((n) => n.assignToSecondValueAxis) && s.axes.splice(2, 1);
1256
+ }, Vo = (i, e) => e.series?.[i]?.name, Ao = (i, e, t) => {
1257
+ t.series?.[e] && (t.series[e].name = i);
1258
+ }, Do = (i, e) => {
1259
+ const t = e.series?.[i];
1260
+ let s;
1261
+ return O(t) ? s = t.fillSymbol?.color : l(t) && (s = t.lineSymbol?.color), s;
1262
+ }, os = (i, e, t) => {
1263
+ const s = t.series?.[e];
1264
+ s && (O(s) ? s.fillSymbol = {
1265
+ ...ve(e),
1266
+ ...s.fillSymbol,
1267
+ color: i
1268
+ } : l(s) && (s.lineSymbol = {
1269
+ ...$(e),
1270
+ ...s.lineSymbol,
1271
+ color: i
1272
+ }));
1273
+ }, Po = (i) => i.series.map((e) => e.id), Mo = (i, e) => {
1274
+ e.series?.sort(
1275
+ (t, s) => i.findIndex((o) => t.id === o) - i.findIndex((o) => s.id === o)
1276
+ );
1277
+ }, Oo = (i) => i.stackedType ?? I.Side, Go = (i) => {
1278
+ const { newStackedType: e, config: t, layerInfo: s, commonStrings: o } = i;
1279
+ if (t.stackedType = e, s !== void 0) {
1280
+ const n = ut({
1281
+ config: t,
1282
+ layerInfo: s,
1283
+ commonStrings: o,
1284
+ numericFields: pt(t),
1285
+ aggregationType: ht(t)
824
1286
  });
1287
+ yt(t, 1, n);
1288
+ }
1289
+ t.axes?.[1] && (e === I.Stacked100 ? t.axes[1].valueFormat = Le() : t.axes[1].valueFormat = Ce()), G({ config: t, value: null, axisIndex: 1, isMax: !1 }), G({ config: t, value: null, axisIndex: 1, isMax: !0 });
1290
+ }, Bo = (i) => {
1291
+ let e;
1292
+ const t = i.series.find(
1293
+ (s) => (O(s) || l(s) || d(s)) && s.nullCategory !== void 0
1294
+ );
1295
+ return (O(t) || l(t) || d(t)) && (e = t?.nullCategory), e;
1296
+ }, ko = (i, e) => {
1297
+ i.series.forEach((t) => {
1298
+ (O(t) || l(t) || d(t)) && (t.nullCategory = e);
1299
+ });
1300
+ }, rs = (i) => i.lineSymbol?.style, ns = (i, e) => {
1301
+ e.lineSymbol ??= $(), e.lineSymbol.style = i;
1302
+ }, as = (i) => i.lineSymbol?.width, ls = (i, e) => {
1303
+ e.lineSymbol ??= $(), e.lineSymbol.width = i;
1304
+ }, cs = (i, e) => {
1305
+ if (l(e.series[i]) || d(e.series[i]))
1306
+ return rs(e.series[i]);
1307
+ }, gs = (i, e, t) => {
1308
+ (l(t.series[e]) || d(t.series[e])) && ns(i, t.series[e]);
1309
+ }, ds = (i, e) => {
1310
+ if (l(e.series[i]) || d(e.series[i]))
1311
+ return as(e.series[i]);
1312
+ }, fs = (i, e, t) => {
1313
+ (l(t.series[e]) || d(t.series[e])) && ls(i, t.series[e]);
1314
+ }, us = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series[i].markerSymbol?.color : void 0, hs = (i, e, t) => {
1315
+ if (l(t.series[e]) || d(t.series[e])) {
1316
+ const s = t.series[e];
1317
+ s.markerSymbol === void 0 && (s.markerSymbol = j()), s.markerSymbol.color = i;
1318
+ }
1319
+ }, ps = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series?.[i]?.markerSymbol?.style : void 0, ys = (i, e, t) => {
1320
+ if (l(t.series[e]) || d(t.series[e])) {
1321
+ const s = t.series[e];
1322
+ s.markerSymbol === void 0 && (s.markerSymbol = j()), s.markerSymbol.style = i;
1323
+ }
1324
+ }, bs = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series?.[i]?.markerSymbol?.size : void 0, _s = (i, e, t) => {
1325
+ if (l(t.series[e]) || d(t.series[e])) {
1326
+ const s = t.series[e];
1327
+ s.markerSymbol === void 0 && (s.markerSymbol = j()), s.markerSymbol.size = i;
1328
+ }
1329
+ }, ms = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series?.[i]?.lineSmoothed ?? !1 : !1, xs = (i) => {
1330
+ const { smoothed: e, seriesIndex: t, config: s } = i;
1331
+ (l(s.series[t]) || d(s.series[t])) && (s.series[t].lineSmoothed = e);
1332
+ }, Ss = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series[i].showArea ?? !1 : !1, E = (i) => {
1333
+ const { visible: e, seriesIndex: t, config: s } = i;
1334
+ (l(s.series[t]) || d(s.series[t])) && (s.series[t].showArea = e);
1335
+ }, vs = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series[i].markerVisible ?? !0 : !1, Ts = (i) => {
1336
+ const { visible: e, seriesIndex: t, config: s } = i;
1337
+ (l(s.series[t]) || d(s.series[t])) && (s.series[t].markerVisible = e);
1338
+ }, Ls = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series[i].areaColor : void 0, Cs = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series?.[i]?.connectLines : void 0, Vs = (i) => {
1339
+ const { connect: e, seriesIndex: t, config: s } = i;
1340
+ (l(s.series[t]) || d(s.series[t])) && (s.series[t].connectLines = e);
1341
+ };
1342
+ var As = Object.defineProperty, Ds = Object.getOwnPropertyDescriptor, m = (i, e, t, s) => {
1343
+ for (var o = Ds(e, t), n = i.length - 1, a; n >= 0; n--)
1344
+ (a = i[n]) && (o = a(e, t, o) || o);
1345
+ return o && As(e, t, o), o;
1346
+ };
1347
+ class x extends c {
1348
+ /**
1349
+ * Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
1350
+ * @param {number} seriesIndex The index of the series.
1351
+ * @returns {RESTSimpleLineSymbolStyle | undefined}
1352
+ */
1353
+ getSeriesLineStyle(e) {
1354
+ return cs(e, this._config);
1355
+ }
1356
+ setSeriesLineStyle(e, t) {
1357
+ gs(e, t, this._config);
825
1358
  }
826
1359
  /**
827
- * Deletes a Y-axis guide.
828
- * @param {number} [index] The index of the guide to delete in the list of Y-axis guides. If left `undefined`, the last guide in the list is deleted.
1360
+ * Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
1361
+ * @param {number} seriesIndex The index of the series.
1362
+ * @returns {number | undefined}
829
1363
  */
830
- deleteYAxisGuide(t) {
831
- this.guardSetterFromAsyncOverwrite(() => {
832
- B({
833
- config: this._config,
834
- index: t,
835
- orientation: c.Y
836
- }), this.emitConfigUpdate("deleteYAxisGuide");
1364
+ getSeriesLineWidth(e) {
1365
+ return ds(e, this._config);
1366
+ }
1367
+ setSeriesLineWidth(e, t) {
1368
+ fs(e, t, this._config);
1369
+ }
1370
+ /**
1371
+ * Gets the marker color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
1372
+ * @param {number} seriesIndex The index of the series.
1373
+ * @returns {Color | undefined}
1374
+ */
1375
+ getSeriesMarkerColor(e) {
1376
+ return us(e, this._config);
1377
+ }
1378
+ setSeriesMarkerColor(e, t) {
1379
+ hs(e, t, this._config);
1380
+ }
1381
+ /**
1382
+ * Gets the marker style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
1383
+ * @param {number} seriesIndex The index of the series.
1384
+ * @returns {RESTSimpleMarkerSymbolStyle | undefined}
1385
+ */
1386
+ getSeriesMarkerStyle(e) {
1387
+ return ps(e, this._config);
1388
+ }
1389
+ setSeriesMarkerStyle(e, t) {
1390
+ ys(e, t, this._config);
1391
+ }
1392
+ /**
1393
+ * Gets the marker size of the series based on the series index. If the index is out of bounds, it will return `undefined`.
1394
+ * @param {number} seriesIndex The index of the series.
1395
+ * @returns {number | undefined}
1396
+ */
1397
+ getSeriesMarkerSize(e) {
1398
+ return bs(e, this._config);
1399
+ }
1400
+ setSeriesMarkerSize(e, t) {
1401
+ _s(e, t, this._config);
1402
+ }
1403
+ /**
1404
+ * Specify whether line segments of the series should be smoothed.
1405
+ * @param {number} seriesIndex - The index of the series.
1406
+ *
1407
+ * @default false
1408
+ * @returns {boolean}
1409
+ */
1410
+ isLineSmoothed(e) {
1411
+ return ms(e, this._config);
1412
+ }
1413
+ setLineSmoothed(e, t) {
1414
+ xs({
1415
+ smoothed: e,
1416
+ seriesIndex: t,
1417
+ config: this._config
1418
+ });
1419
+ }
1420
+ /**
1421
+ * Specify the color of the filled area for line chart.
1422
+ * @param {number} seriesIndex - The index of the series.
1423
+ *
1424
+ * @returns {boolean | undefined}
1425
+ */
1426
+ getConnectLines(e) {
1427
+ return Cs(e, this._config);
1428
+ }
1429
+ setConnectLines(e, t) {
1430
+ Vs({
1431
+ connect: e,
1432
+ seriesIndex: t,
1433
+ config: this._config
1434
+ });
1435
+ }
1436
+ /**
1437
+ * Specify whether the line series should show area.
1438
+ * @param {number} seriesIndex - The index of the series.
1439
+ *
1440
+ * @default false
1441
+ * @returns {boolean}
1442
+ */
1443
+ isAreaVisible(e) {
1444
+ return Ss(e, this._config);
1445
+ }
1446
+ setAreaVisible(e, t) {
1447
+ E({
1448
+ visible: e,
1449
+ seriesIndex: t,
1450
+ config: this._config
1451
+ });
1452
+ }
1453
+ /**
1454
+ * Indicate whether to show or hide the markers/bullets of the line series.
1455
+ * @param {number} seriesIndex - The index of the series.
1456
+ *
1457
+ * @default true
1458
+ * @returns {boolean}
1459
+ */
1460
+ isMarkerVisible(e) {
1461
+ return vs(e, this._config);
1462
+ }
1463
+ setMarkerVisible(e, t) {
1464
+ Ts({
1465
+ visible: e,
1466
+ seriesIndex: t,
1467
+ config: this._config
1468
+ });
1469
+ }
1470
+ /**
1471
+ * Specify the color of the filled area for line chart.
1472
+ * **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
1473
+ * @param {number} seriesIndex - The index of the series.
1474
+ * @returns {Color | undefined}
1475
+ */
1476
+ getAreaColor(e) {
1477
+ return Ls(e, this._config);
1478
+ }
1479
+ setAreaColor(e, t) {
1480
+ E({
1481
+ visible: !0,
1482
+ seriesIndex: t,
1483
+ config: this._config
1484
+ }), os(e, t, this._config);
1485
+ }
1486
+ }
1487
+ m([
1488
+ r
1489
+ ], x.prototype, "setSeriesLineStyle");
1490
+ m([
1491
+ r
1492
+ ], x.prototype, "setSeriesLineWidth");
1493
+ m([
1494
+ r
1495
+ ], x.prototype, "setSeriesMarkerColor");
1496
+ m([
1497
+ r
1498
+ ], x.prototype, "setSeriesMarkerStyle");
1499
+ m([
1500
+ r
1501
+ ], x.prototype, "setSeriesMarkerSize");
1502
+ m([
1503
+ r
1504
+ ], x.prototype, "setLineSmoothed");
1505
+ m([
1506
+ r
1507
+ ], x.prototype, "setConnectLines");
1508
+ m([
1509
+ r
1510
+ ], x.prototype, "setAreaVisible");
1511
+ m([
1512
+ r
1513
+ ], x.prototype, "setMarkerVisible");
1514
+ m([
1515
+ r
1516
+ ], x.prototype, "setAreaColor");
1517
+ const Ps = (i, e) => l(e.series[i]) || d(e.series[i]) ? e.series[i].stackNegativeValuesToBaseline ?? !0 : !1, Ms = (i) => {
1518
+ const { stackNegativeValuesToBaseline: e, seriesIndex: t, config: s } = i;
1519
+ (l(s.series[t]) || d(s.series[t])) && (s.series[t].stackNegativeValuesToBaseline = e);
1520
+ };
1521
+ var Os = Object.defineProperty, Gs = Object.getOwnPropertyDescriptor, Bs = (i, e, t, s) => {
1522
+ for (var o = Gs(e, t), n = i.length - 1, a; n >= 0; n--)
1523
+ (a = i[n]) && (o = a(e, t, o) || o);
1524
+ return o && Os(e, t, o), o;
1525
+ };
1526
+ class ks extends c {
1527
+ /**
1528
+ * Specify how negative values are treated in stacked series.
1529
+ * **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
1530
+ * @param {number} seriesIndex - The index of the series.
1531
+ * @default true
1532
+ * @returns {boolean}
1533
+ */
1534
+ isNegativeValuesStackedToBaseline(e) {
1535
+ return Ps(e, this._config);
1536
+ }
1537
+ setNegativeValuesStackedToBaseline(e, t) {
1538
+ Ms({
1539
+ stackNegativeValuesToBaseline: e,
1540
+ seriesIndex: t,
1541
+ config: this._config
837
1542
  });
838
1543
  }
839
1544
  }
840
- S(mi, [d]);
841
- const xi = (e) => e.horizontalAxisLabelsBehavior ?? _.Rotate, yi = (e, t) => {
842
- t.horizontalAxisLabelsBehavior = e;
843
- }, bi = (e) => e.verticalAxisLabelsBehavior ?? _.Wrap, Si = (e, t) => {
844
- t.verticalAxisLabelsBehavior = e;
845
- }, pi = (e) => e.cursorCrosshair?.horizontalLineVisible ?? !1, _i = (e, t) => {
846
- t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.horizontalLineVisible = e;
847
- }, Ci = (e) => e.cursorCrosshair?.verticalLineVisible ?? !1, vi = (e, t) => {
848
- t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.verticalLineVisible = e;
849
- }, Ai = (e) => e.cursorCrosshair?.style, Ti = (e, t) => {
850
- t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.style = e;
851
- }, Li = (e) => e.cursorCrosshair, Fi = (e, t) => {
852
- t.cursorCrosshair = e;
1545
+ Bs([
1546
+ r
1547
+ ], ks.prototype, "setNegativeValuesStackedToBaseline");
1548
+ const ws = (i) => i.horizontalAxisLabelsBehavior ?? X.Rotate, Fs = (i, e) => {
1549
+ e.horizontalAxisLabelsBehavior = i;
1550
+ }, $s = (i) => i.verticalAxisLabelsBehavior ?? X.Wrap, js = (i, e) => {
1551
+ e.verticalAxisLabelsBehavior = i;
1552
+ }, Ns = (i) => i.cursorCrosshair?.horizontalLineVisible ?? !1, Rs = (i, e) => {
1553
+ e.cursorCrosshair === void 0 && (e.cursorCrosshair = N()), e.cursorCrosshair.horizontalLineVisible = i;
1554
+ }, Us = (i) => i.cursorCrosshair?.verticalLineVisible ?? !1, Ws = (i, e) => {
1555
+ e.cursorCrosshair === void 0 && (e.cursorCrosshair = N()), e.cursorCrosshair.verticalLineVisible = i;
1556
+ }, zs = (i) => i.cursorCrosshair?.style, Es = (i, e) => {
1557
+ e.cursorCrosshair === void 0 && (e.cursorCrosshair = N()), e.cursorCrosshair.style = i;
1558
+ }, Is = (i) => i.cursorCrosshair, Xs = (i, e) => {
1559
+ e.cursorCrosshair = i;
853
1560
  };
854
- class Vi extends G {
1561
+ var Hs = Object.defineProperty, Ys = Object.getOwnPropertyDescriptor, h = (i, e, t, s) => {
1562
+ for (var o = Ys(e, t), n = i.length - 1, a; n >= 0; n--)
1563
+ (a = i[n]) && (o = a(e, t, o) || o);
1564
+ return o && Hs(e, t, o), o;
1565
+ };
1566
+ class f extends T {
855
1567
  /**
856
1568
  * Gets the title text of the specified axis.
857
1569
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
858
1570
  * @returns {string}
859
1571
  */
860
- getAxisTitleText(t) {
861
- return r({
1572
+ getAxisTitleText(e) {
1573
+ return g({
862
1574
  config: this._config,
863
- axisIndex: t,
864
- func: (i) => v(i, this._config)
1575
+ axisIndex: e,
1576
+ func: (t) => Z(t, this._config)
865
1577
  }) ?? "";
866
1578
  }
867
- /**
868
- * Sets the title text for the specified axis.
869
- * **Note:** The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
870
- * @param {string} titleText The title text for the axis.
871
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
872
- */
873
- setAxisTitleText(t, i) {
874
- this.guardSetterFromAsyncOverwrite(() => {
875
- r({
876
- config: this._config,
877
- axisIndex: i,
878
- func: (s) => {
879
- A(t, s, this._config), this.emitConfigUpdate("setAxisTitleText");
880
- }
881
- });
1579
+ setAxisTitleText(e, t) {
1580
+ g({
1581
+ config: this._config,
1582
+ axisIndex: t,
1583
+ func: (s) => {
1584
+ K(e, s, this._config);
1585
+ }
882
1586
  });
883
1587
  }
884
1588
  /**
@@ -886,28 +1590,20 @@ class Vi extends G {
886
1590
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
887
1591
  * @returns {boolean}
888
1592
  */
889
- getAxisTitleVisibility(t) {
890
- return r({
1593
+ getAxisTitleVisibility(e) {
1594
+ return g({
891
1595
  config: this._config,
892
- axisIndex: t,
893
- func: (i) => T(i, this._config)
1596
+ axisIndex: e,
1597
+ func: (t) => q(t, this._config)
894
1598
  }) ?? !1;
895
1599
  }
896
- /**
897
- * Sets the visibility of the specified axis title.
898
- * **Note:** The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
899
- * @param {boolean} isVisible The visibility state for the axis title.
900
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
901
- */
902
- setAxisTitleVisibility(t, i) {
903
- this.guardSetterFromAsyncOverwrite(() => {
904
- r({
905
- config: this._config,
906
- axisIndex: i,
907
- func: (s) => {
908
- L(t, s, this._config), this.emitConfigUpdate("setAxisTitleVisibility");
909
- }
910
- });
1600
+ setAxisTitleVisibility(e, t) {
1601
+ g({
1602
+ config: this._config,
1603
+ axisIndex: t,
1604
+ func: (s) => {
1605
+ J(e, s, this._config);
1606
+ }
911
1607
  });
912
1608
  }
913
1609
  /**
@@ -915,28 +1611,20 @@ class Vi extends G {
915
1611
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
916
1612
  *@returns {number}
917
1613
  */
918
- getMaxBound(t) {
919
- return r({
1614
+ getMaxBound(e) {
1615
+ return g({
920
1616
  config: this._config,
921
- axisIndex: t,
922
- func: (i) => h({ config: this._config, axisIndex: i, isMax: !0 })
1617
+ axisIndex: e,
1618
+ func: (t) => k({ config: this._config, axisIndex: t, isMax: !0 })
923
1619
  }) ?? Number.NaN;
924
1620
  }
925
- /**
926
- * Sets the maximum bound for the specified axis.
927
- * **Note:** The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
928
- * @param {number | null} newMaxBound The value to set as the maximum bound.
929
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
930
- */
931
- setMaxBound(t, i) {
932
- this.guardSetterFromAsyncOverwrite(() => {
933
- r({
934
- config: this._config,
935
- axisIndex: i,
936
- func: (s) => {
937
- m({ config: this._config, value: t, axisIndex: s, isMax: !0 }), this.emitConfigUpdate("setMaxBound");
938
- }
939
- });
1621
+ setMaxBound(e, t) {
1622
+ g({
1623
+ config: this._config,
1624
+ axisIndex: t,
1625
+ func: (s) => {
1626
+ G({ config: this._config, value: e, axisIndex: s, isMax: !0 });
1627
+ }
940
1628
  });
941
1629
  }
942
1630
  /**
@@ -944,28 +1632,20 @@ class Vi extends G {
944
1632
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
945
1633
  * @returns {number}
946
1634
  */
947
- getMinBound(t) {
948
- return r({
1635
+ getMinBound(e) {
1636
+ return g({
949
1637
  config: this._config,
950
- axisIndex: t,
951
- func: (i) => h({ config: this._config, axisIndex: i, isMax: !1 })
1638
+ axisIndex: e,
1639
+ func: (t) => k({ config: this._config, axisIndex: t, isMax: !1 })
952
1640
  }) ?? Number.NaN;
953
1641
  }
954
- /**
955
- * Sets the minimum bound for the specified axis.
956
- * **Note:** The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
957
- * @param {number | null} newMinBound The value to set as the minimum bound.
958
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
959
- */
960
- setMinBound(t, i) {
961
- this.guardSetterFromAsyncOverwrite(() => {
962
- r({
963
- config: this._config,
964
- axisIndex: i,
965
- func: (s) => {
966
- m({ config: this._config, value: t, axisIndex: s, isMax: !1 }), this.emitConfigUpdate("setMinBound");
967
- }
968
- });
1642
+ setMinBound(e, t) {
1643
+ g({
1644
+ config: this._config,
1645
+ axisIndex: t,
1646
+ func: (s) => {
1647
+ G({ config: this._config, value: e, axisIndex: s, isMax: !1 });
1648
+ }
969
1649
  });
970
1650
  }
971
1651
  /**
@@ -973,33 +1653,25 @@ class Vi extends G {
973
1653
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
974
1654
  * @returns {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined}
975
1655
  */
976
- getAxisValueFormat(t) {
977
- return r({
1656
+ getAxisValueFormat(e) {
1657
+ return g({
978
1658
  config: this._config,
979
- axisIndex: t,
980
- func: (i) => Ft(i, this._config)
1659
+ axisIndex: e,
1660
+ func: (t) => xt(t, this._config)
981
1661
  });
982
1662
  }
983
- /**
984
- * Sets the value format for the specified axis.
985
- * **Note:** The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
986
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
987
- * @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} valueFormat The value format to set.
988
- */
989
- setAxisValueFormat(t, i) {
990
- this.guardSetterFromAsyncOverwrite(() => {
991
- r({
992
- config: this._config,
993
- axisIndex: t,
994
- func: (s) => {
995
- Vt({
996
- config: this._config,
997
- valueFormat: i,
998
- axisIndex: s,
999
- commonStrings: this.commonStrings
1000
- }), this.emitConfigUpdate("setAxisValueFormat");
1001
- }
1002
- });
1663
+ setAxisValueFormat(e, t) {
1664
+ g({
1665
+ config: this._config,
1666
+ axisIndex: e,
1667
+ func: (s) => {
1668
+ St({
1669
+ config: this._config,
1670
+ valueFormat: t,
1671
+ axisIndex: s,
1672
+ commonStrings: this.commonStrings
1673
+ });
1674
+ }
1003
1675
  });
1004
1676
  }
1005
1677
  /**
@@ -1012,34 +1684,24 @@ class Vi extends G {
1012
1684
  *
1013
1685
  * @returns {boolean}
1014
1686
  */
1015
- getLogarithmic(t) {
1016
- return r({
1687
+ getLogarithmic(e) {
1688
+ return g({
1017
1689
  config: this._config,
1018
- axisIndex: t,
1019
- func: (i) => wt(this._config, i)
1690
+ axisIndex: e,
1691
+ func: (t) => vt(this._config, t)
1020
1692
  }) ?? !1;
1021
1693
  }
1022
- /**
1023
- * Sets whether logarithmic scale is enabled for the specified axis.
1024
- * `true`: Enable logarithmic scale for the specified axis.
1025
- * `false`: Disable logarithmic scale for the specified axis.
1026
- * **Note:** The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1027
- * @param {boolean} isLogarithmic Whether to enable logarithmic scale for the specified axis.
1028
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
1029
- */
1030
- setLogarithmic(t, i) {
1031
- this.guardSetterFromAsyncOverwrite(() => {
1032
- r({
1033
- config: this._config,
1034
- axisIndex: i,
1035
- func: (s) => {
1036
- Gt({
1037
- config: this._config,
1038
- isLogarithmic: t,
1039
- axisIndex: s
1040
- }), this.emitConfigUpdate("setLogarithmic");
1041
- }
1042
- });
1694
+ setLogarithmic(e, t) {
1695
+ g({
1696
+ config: this._config,
1697
+ axisIndex: t,
1698
+ func: (s) => {
1699
+ Tt({
1700
+ config: this._config,
1701
+ isLogarithmic: e,
1702
+ axisIndex: s
1703
+ });
1704
+ }
1043
1705
  });
1044
1706
  }
1045
1707
  /**
@@ -1047,32 +1709,24 @@ class Vi extends G {
1047
1709
  * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
1048
1710
  * @returns {WebChartAxisScrollBar | undefined}
1049
1711
  */
1050
- getAxisScrollbar(t) {
1051
- return r({
1712
+ getAxisScrollbar(e) {
1713
+ return g({
1052
1714
  config: this._config,
1053
- axisIndex: t,
1054
- func: (i) => this._config.axes?.[i]?.scrollbar
1715
+ axisIndex: e,
1716
+ func: (t) => this._config.axes?.[t]?.scrollbar
1055
1717
  });
1056
1718
  }
1057
- /**
1058
- * Sets the scrollbar configuration for the specified axis.
1059
- * **Note:** The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1060
- * @param {WebChartAxisScrollBar} scrollbar The scrollbar configuration to set.
1061
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
1062
- */
1063
- setAxisScrollbar(t, i) {
1064
- this.guardSetterFromAsyncOverwrite(() => {
1065
- r({
1066
- config: this._config,
1067
- axisIndex: i,
1068
- func: (s) => {
1069
- Ot({
1070
- config: this._config,
1071
- scrollbar: t,
1072
- axisIndex: s
1073
- }), this.emitConfigUpdate("setAxisScrollbar");
1074
- }
1075
- });
1719
+ setAxisScrollbar(e, t) {
1720
+ g({
1721
+ config: this._config,
1722
+ axisIndex: t,
1723
+ func: (s) => {
1724
+ Lt({
1725
+ config: this._config,
1726
+ scrollbar: e,
1727
+ axisIndex: s
1728
+ });
1729
+ }
1076
1730
  });
1077
1731
  }
1078
1732
  /**
@@ -1080,28 +1734,20 @@ class Vi extends G {
1080
1734
  * @param {number} axisIndex The index of the axis to get the title symbol for
1081
1735
  * @returns {WebChartTextSymbol | undefined}
1082
1736
  */
1083
- getAxisTitleSymbol(t) {
1084
- return r({
1737
+ getAxisTitleSymbol(e) {
1738
+ return g({
1085
1739
  config: this._config,
1086
- axisIndex: t,
1087
- func: (i) => F(this._config, i)
1740
+ axisIndex: e,
1741
+ func: (t) => Q(this._config, t)
1088
1742
  });
1089
1743
  }
1090
- /**
1091
- * Sets the title text symbol for the specified axis. Contains styling information such as font, color, and symbol style.
1092
- * **Note:** The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1093
- * @param {WebChartTextSymbol | undefined} titleSymbol The title text symbol to set.
1094
- * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
1095
- */
1096
- setAxisTitleSymbol(t, i) {
1097
- this.guardSetterFromAsyncOverwrite(() => {
1098
- r({
1099
- config: this._config,
1100
- axisIndex: i,
1101
- func: (s) => {
1102
- V({ symbol: t, config: this._config, axisIndex: s }), this.emitConfigUpdate("setAxisTitleSymbol");
1103
- }
1104
- });
1744
+ setAxisTitleSymbol(e, t) {
1745
+ g({
1746
+ config: this._config,
1747
+ axisIndex: t,
1748
+ func: (s) => {
1749
+ ee({ symbol: e, config: this._config, axisIndex: s });
1750
+ }
1105
1751
  });
1106
1752
  }
1107
1753
  /**
@@ -1109,52 +1755,30 @@ class Vi extends G {
1109
1755
  * @returns {WebChartLabelBehavior}
1110
1756
  */
1111
1757
  getHorizontalAxisLabelsBehavior() {
1112
- return xi(this._config);
1758
+ return ws(this._config);
1113
1759
  }
1114
- /**
1115
- * Sets the horizontal axis labels behavior for the chart.
1116
- * **Note:** The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1117
- * @param horizontalBehavior The behavior for the horizontal axis labels.
1118
- */
1119
- setHorizontalAxisLabelsBehavior(t) {
1120
- this.guardSetterFromAsyncOverwrite(() => {
1121
- yi(t, this._config), this.emitConfigUpdate("setHorizontalAxisLabelsBehavior");
1122
- });
1760
+ setHorizontalAxisLabelsBehavior(e) {
1761
+ Fs(e, this._config);
1123
1762
  }
1124
1763
  /**
1125
1764
  * Gets the vertical axis labels behavior for the chart.
1126
1765
  * @returns {WebChartLabelBehavior}
1127
1766
  */
1128
1767
  getVerticalAxisLabelsBehavior() {
1129
- return bi(this._config);
1768
+ return $s(this._config);
1130
1769
  }
1131
- /**
1132
- * Sets the vertical axis labels behavior for the chart.
1133
- * **Note:** The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1134
- * @param verticalBehavior The behavior for the vertical axis labels.
1135
- */
1136
- setVerticalAxisLabelsBehavior(t) {
1137
- this.guardSetterFromAsyncOverwrite(() => {
1138
- Si(t, this._config), this.emitConfigUpdate("setVerticalAxisLabelsBehavior");
1139
- });
1770
+ setVerticalAxisLabelsBehavior(e) {
1771
+ js(e, this._config);
1140
1772
  }
1141
1773
  /**
1142
1774
  * Gets the grid lines symbol. Contains styling information such as line width, line style, and line color.
1143
1775
  * @returns {ISimpleLineSymbol | undefined}
1144
1776
  */
1145
1777
  getGridLinesSymbol() {
1146
- return At(this._config);
1778
+ return bt(this._config);
1147
1779
  }
1148
- /**
1149
- * Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
1150
- * **Note:** To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1151
- * @param {ISimpleLineSymbol | undefined} linesSymbol The grid lines symbol.
1152
- * @param {number[]} axisIndices The indices of the axes to set the grid lines symbol for.
1153
- */
1154
- setGridLinesSymbol(t, i) {
1155
- this.guardSetterFromAsyncOverwrite(() => {
1156
- Array.isArray(i) && Tt(t, this._config, i), this.emitConfigUpdate("setGridLinesSymbol");
1157
- });
1780
+ setGridLinesSymbol(e, t) {
1781
+ Array.isArray(t) && _t(e, this._config, t);
1158
1782
  }
1159
1783
  /**
1160
1784
  * Get the default x-axis title text.
@@ -1172,32 +1796,20 @@ class Vi extends G {
1172
1796
  * b. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1173
1797
  * c. If the displayZeroLine is not set on the axis, the default value of `false` will be returned.
1174
1798
  */
1175
- getDisplayZeroLine(t) {
1176
- return r({
1799
+ getDisplayZeroLine(e) {
1800
+ return g({
1177
1801
  config: this._config,
1178
- axisIndex: t,
1179
- func: (i) => Ut(this._config, i)
1802
+ axisIndex: e,
1803
+ func: (t) => Ct(this._config, t)
1180
1804
  }) ?? !1;
1181
1805
  }
1182
- /**
1183
- * Sets the display zero line setting for the specified axis.
1184
- * @param displayZeroLine The display zero line setting for the axis.
1185
- * @param axisIndex The index of the axis to set the display zero line for.
1186
- * @remarks
1187
- * a. This setting is only applicable to the axis of type ValueAxis.
1188
- * b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1189
- *
1190
- * **Note:** To set the display zero line for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1191
- */
1192
- setDisplayZeroLine(t, i) {
1193
- this.guardSetterFromAsyncOverwrite(() => {
1194
- r({
1195
- config: this._config,
1196
- axisIndex: i,
1197
- func: (s) => {
1198
- Bt(this._config, t, s), this.emitConfigUpdate("setDisplayZeroLine");
1199
- }
1200
- });
1806
+ setDisplayZeroLine(e, t) {
1807
+ g({
1808
+ config: this._config,
1809
+ axisIndex: t,
1810
+ func: (s) => {
1811
+ Vt(this._config, e, s);
1812
+ }
1201
1813
  });
1202
1814
  }
1203
1815
  /**
@@ -1208,35 +1820,24 @@ class Vi extends G {
1208
1820
  * a. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1209
1821
  * b. If the displayCursorTooltip is not set on the axis, the default value of `false` will be returned.
1210
1822
  */
1211
- getDisplayCursorTooltip(t) {
1212
- return r({
1823
+ getDisplayCursorTooltip(e) {
1824
+ return g({
1213
1825
  config: this._config,
1214
- axisIndex: t,
1215
- func: (i) => Dt(this._config, i)
1826
+ axisIndex: e,
1827
+ func: (t) => At(this._config, t)
1216
1828
  }) ?? !1;
1217
1829
  }
1218
- /**
1219
- * Sets the display cursor tooltip setting for the specified axis.
1220
- * @param displayCursorTooltip The display cursor tooltip setting for the axis.
1221
- * @param axisIndex The index of the axis to set the display cursor tooltip for.
1222
- * @remarks
1223
- * a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1224
- *
1225
- * **Note:** To set the display cursor tooltip for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1226
- */
1227
- setDisplayCursorTooltip(t, i) {
1228
- this.guardSetterFromAsyncOverwrite(() => {
1229
- r({
1230
- config: this._config,
1231
- axisIndex: i,
1232
- func: (s) => {
1233
- It({
1234
- config: this._config,
1235
- displayCursorTooltip: t,
1236
- axisIndex: s
1237
- }), this.emitConfigUpdate("setDisplayCursorTooltip");
1238
- }
1239
- });
1830
+ setDisplayCursorTooltip(e, t) {
1831
+ g({
1832
+ config: this._config,
1833
+ axisIndex: t,
1834
+ func: (s) => {
1835
+ Dt({
1836
+ config: this._config,
1837
+ displayCursorTooltip: e,
1838
+ axisIndex: s
1839
+ });
1840
+ }
1240
1841
  });
1241
1842
  }
1242
1843
  /**
@@ -1248,36 +1849,24 @@ class Vi extends G {
1248
1849
  * b. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1249
1850
  * c. If the `buffer` is not set on the axis, the default value of `false` will be returned.
1250
1851
  */
1251
- getBuffer(t) {
1252
- return r({
1852
+ getBuffer(e) {
1853
+ return g({
1253
1854
  config: this._config,
1254
- axisIndex: t,
1255
- func: (i) => Mt(this._config, i)
1855
+ axisIndex: e,
1856
+ func: (t) => Pt(this._config, t)
1256
1857
  }) ?? !1;
1257
1858
  }
1258
- /**
1259
- * Sets the buffer for the specified axis.
1260
- * @param buffer The setting for the buffer
1261
- * @param axisIndex The index of the axis
1262
- * @remarks
1263
- * a. This setting is only applicable to the axis of type ValueAxis.
1264
- * b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1265
- *
1266
- * **Note:** To set the buffer for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1267
- */
1268
- setBuffer(t, i) {
1269
- this.guardSetterFromAsyncOverwrite(() => {
1270
- r({
1271
- config: this._config,
1272
- axisIndex: i,
1273
- func: (s) => {
1274
- Xt({
1275
- config: this._config,
1276
- buffer: t,
1277
- axisIndex: s
1278
- }), this.emitConfigUpdate("setBuffer");
1279
- }
1280
- });
1859
+ setBuffer(e, t) {
1860
+ g({
1861
+ config: this._config,
1862
+ axisIndex: t,
1863
+ func: (s) => {
1864
+ Mt({
1865
+ config: this._config,
1866
+ buffer: e,
1867
+ axisIndex: s
1868
+ });
1869
+ }
1281
1870
  });
1282
1871
  }
1283
1872
  /**
@@ -1287,31 +1876,20 @@ class Vi extends G {
1287
1876
  * @remarks
1288
1877
  * a. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1289
1878
  */
1290
- getTickSpacing(t) {
1291
- return Lt(this._config, t);
1879
+ getTickSpacing(e) {
1880
+ return mt(this._config, e);
1292
1881
  }
1293
- /**
1294
- * Sets the tick spacing for the specified axis.
1295
- * @param tickSpacing The value to set for the tick spacing
1296
- * @param axisIndex The index of the axis
1297
- * @remarks
1298
- * a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1299
- *
1300
- * **Note:** To set the tick spacing for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1301
- */
1302
- setTickSpacing(t, i) {
1303
- this.guardSetterFromAsyncOverwrite(() => {
1304
- r({
1305
- config: this._config,
1306
- axisIndex: i,
1307
- func: (s) => {
1308
- Et({
1309
- config: this._config,
1310
- tickSpacing: t,
1311
- axisIndex: s
1312
- }), this.emitConfigUpdate("setTickSpacing");
1313
- }
1314
- });
1882
+ setTickSpacing(e, t) {
1883
+ g({
1884
+ config: this._config,
1885
+ axisIndex: t,
1886
+ func: (s) => {
1887
+ Ot({
1888
+ config: this._config,
1889
+ tickSpacing: e,
1890
+ axisIndex: s
1891
+ });
1892
+ }
1315
1893
  });
1316
1894
  }
1317
1895
  /**
@@ -1323,36 +1901,24 @@ class Vi extends G {
1323
1901
  * b. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1324
1902
  * c. If the `integerOnlyValues` is not set on the axis, the default value of `false` will be returned.
1325
1903
  */
1326
- getIntegerOnlyValues(t) {
1327
- return r({
1904
+ getIntegerOnlyValues(e) {
1905
+ return g({
1328
1906
  config: this._config,
1329
- axisIndex: t,
1330
- func: (i) => Nt(this._config, i)
1907
+ axisIndex: e,
1908
+ func: (t) => Gt(this._config, t)
1331
1909
  }) ?? !1;
1332
1910
  }
1333
- /**
1334
- * Sets the integer only values setting for the specified axis.
1335
- * @param integerOnlyValues The boolean value to set for the integer only values setting
1336
- * @param axisIndex The index of the axis
1337
- * @remarks
1338
- * a. This setting is only applicable to the axis of type ValueAxis.
1339
- * b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
1340
- *
1341
- * **Note:** To set the integer only values for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1342
- */
1343
- setIntegerOnlyValues(t, i) {
1344
- this.guardSetterFromAsyncOverwrite(() => {
1345
- r({
1346
- config: this._config,
1347
- axisIndex: i,
1348
- func: (s) => {
1349
- Rt({
1350
- config: this._config,
1351
- integerOnlyValues: t,
1352
- axisIndex: s
1353
- }), this.emitConfigUpdate("setIntegerOnlyValues");
1354
- }
1355
- });
1911
+ setIntegerOnlyValues(e, t) {
1912
+ g({
1913
+ config: this._config,
1914
+ axisIndex: t,
1915
+ func: (s) => {
1916
+ Bt({
1917
+ config: this._config,
1918
+ integerOnlyValues: e,
1919
+ axisIndex: s
1920
+ });
1921
+ }
1356
1922
  });
1357
1923
  }
1358
1924
  /**
@@ -1362,12 +1928,10 @@ class Vi extends G {
1362
1928
  * **Note:** To set the cursor crosshair horizontal line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1363
1929
  */
1364
1930
  get cursorCrosshairHorizontalLineVisibility() {
1365
- return pi(this._config);
1931
+ return Ns(this._config);
1366
1932
  }
1367
- set cursorCrosshairHorizontalLineVisibility(t) {
1368
- this.guardSetterFromAsyncOverwrite(() => {
1369
- _i(t, this._config), this.emitConfigUpdate("cursorCrosshairHorizontalLineVisibility");
1370
- });
1933
+ set cursorCrosshairHorizontalLineVisibility(e) {
1934
+ Rs(e, this._config);
1371
1935
  }
1372
1936
  /**
1373
1937
  * Visibility of the vertical line of the cursor's crosshair.
@@ -1376,43 +1940,141 @@ class Vi extends G {
1376
1940
  * **Note:** To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1377
1941
  */
1378
1942
  get cursorCrosshairVerticalLineVisibility() {
1379
- return Ci(this._config);
1943
+ return Us(this._config);
1380
1944
  }
1381
- set cursorCrosshairVerticalLineVisibility(t) {
1382
- this.guardSetterFromAsyncOverwrite(() => {
1383
- vi(t, this._config), this.emitConfigUpdate("cursorCrosshairVerticalLineVisibility");
1384
- });
1945
+ set cursorCrosshairVerticalLineVisibility(e) {
1946
+ Ws(e, this._config);
1385
1947
  }
1386
1948
  /**
1387
1949
  * Style of the cursor's crosshair from the chart config.
1388
1950
  * **Note:** To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1389
1951
  */
1390
1952
  get cursorCrosshairStyle() {
1391
- return Ai(this._config);
1953
+ return zs(this._config);
1392
1954
  }
1393
- set cursorCrosshairStyle(t) {
1394
- t && this.guardSetterFromAsyncOverwrite(() => {
1395
- Ti(t, this._config), this.emitConfigUpdate("cursorCrosshairStyle");
1396
- });
1955
+ set cursorCrosshairStyle(e) {
1956
+ e && Es(e, this._config);
1397
1957
  }
1398
1958
  /**
1399
1959
  * Cursor crosshair from the chart config.
1400
1960
  * **Note:** To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
1401
1961
  */
1402
1962
  get cursorCrosshair() {
1403
- return Li(this._config);
1963
+ return Is(this._config);
1404
1964
  }
1405
- set cursorCrosshair(t) {
1406
- t && this.guardSetterFromAsyncOverwrite(() => {
1407
- Fi(t, this._config), this.emitConfigUpdate("cursorCrosshair");
1408
- });
1965
+ set cursorCrosshair(e) {
1966
+ e && Xs(e, this._config);
1409
1967
  }
1410
1968
  }
1411
- S(Vi, [G]);
1969
+ h([
1970
+ r
1971
+ ], f.prototype, "setAxisTitleText");
1972
+ h([
1973
+ r
1974
+ ], f.prototype, "setAxisTitleVisibility");
1975
+ h([
1976
+ r
1977
+ ], f.prototype, "setMaxBound");
1978
+ h([
1979
+ r
1980
+ ], f.prototype, "setMinBound");
1981
+ h([
1982
+ r
1983
+ ], f.prototype, "setAxisValueFormat");
1984
+ h([
1985
+ r
1986
+ ], f.prototype, "setLogarithmic");
1987
+ h([
1988
+ r
1989
+ ], f.prototype, "setAxisScrollbar");
1990
+ h([
1991
+ r
1992
+ ], f.prototype, "setAxisTitleSymbol");
1993
+ h([
1994
+ r
1995
+ ], f.prototype, "setHorizontalAxisLabelsBehavior");
1996
+ h([
1997
+ r
1998
+ ], f.prototype, "setVerticalAxisLabelsBehavior");
1999
+ h([
2000
+ r
2001
+ ], f.prototype, "setGridLinesSymbol");
2002
+ h([
2003
+ r
2004
+ ], f.prototype, "setDisplayZeroLine");
2005
+ h([
2006
+ r
2007
+ ], f.prototype, "setDisplayCursorTooltip");
2008
+ h([
2009
+ r
2010
+ ], f.prototype, "setBuffer");
2011
+ h([
2012
+ r
2013
+ ], f.prototype, "setTickSpacing");
2014
+ h([
2015
+ r
2016
+ ], f.prototype, "setIntegerOnlyValues");
2017
+ h([
2018
+ r
2019
+ ], f.prototype, "cursorCrosshairHorizontalLineVisibility");
2020
+ h([
2021
+ r
2022
+ ], f.prototype, "cursorCrosshairVerticalLineVisibility");
2023
+ h([
2024
+ r
2025
+ ], f.prototype, "cursorCrosshairStyle");
2026
+ h([
2027
+ r
2028
+ ], f.prototype, "cursorCrosshair");
2029
+ U(f, [T]);
1412
2030
  export {
1413
- w as C,
1414
- Vi as M,
1415
- mi as a,
1416
- di as b,
1417
- G as c
2031
+ z as A,
2032
+ M as B,
2033
+ c as C,
2034
+ cs as D,
2035
+ ds as E,
2036
+ us as F,
2037
+ ps as G,
2038
+ bs as H,
2039
+ ms as I,
2040
+ xs as J,
2041
+ Ss as K,
2042
+ E as L,
2043
+ ks as M,
2044
+ vs as N,
2045
+ Ts as O,
2046
+ Ls as P,
2047
+ Ps as Q,
2048
+ Ms as R,
2049
+ rs as S,
2050
+ ns as T,
2051
+ as as U,
2052
+ ls as V,
2053
+ T as W,
2054
+ hs as a,
2055
+ Ao as b,
2056
+ gs as c,
2057
+ fs as d,
2058
+ ys as e,
2059
+ _s as f,
2060
+ x as g,
2061
+ Lo as h,
2062
+ Co as i,
2063
+ Vo as j,
2064
+ Do as k,
2065
+ Po as l,
2066
+ r as m,
2067
+ Mo as n,
2068
+ Oo as o,
2069
+ Go as p,
2070
+ Bo as q,
2071
+ ko as r,
2072
+ os as s,
2073
+ f as t,
2074
+ A as u,
2075
+ ie as v,
2076
+ Kt as w,
2077
+ Ci as x,
2078
+ oe as y,
2079
+ W as z
1418
2080
  };