@arcgis/charts-components 4.34.0-next.140 → 4.34.0-next.141

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 (285) hide show
  1. package/dist/cdn/{DO3MFDWS.js → 2JBHG7NX.js} +2 -2
  2. package/dist/cdn/{4TW2WMSZ.js → 2KMJPZV6.js} +2 -2
  3. package/dist/cdn/{HX5RYNN4.js → 2U2VWMCU.js} +2 -2
  4. package/dist/cdn/{2QWQ4OO6.js → 2XVZHLDM.js} +1 -1
  5. package/dist/cdn/{IP2EYZIV.js → 3GP3N2MR.js} +2 -2
  6. package/dist/cdn/{XV773RD5.js → 3HSWF2G7.js} +2 -2
  7. package/dist/cdn/{PVRZYC2K.js → 3KQXUEYY.js} +2 -2
  8. package/dist/cdn/{3COZD3V7.js → 4I7PCOQI.js} +2 -2
  9. package/dist/cdn/{I36R2TUQ.js → 4PDWQCLP.js} +1 -1
  10. package/dist/cdn/{FH42CMBH.js → 4T2WNVCU.js} +2 -2
  11. package/dist/cdn/{XJGOULBT.js → 4YUZSWJK.js} +2 -2
  12. package/dist/cdn/{SHQDGSG3.js → 55WRJ6EE.js} +2 -2
  13. package/dist/cdn/{47ICDTNQ.js → 57URWWRM.js} +2 -2
  14. package/dist/cdn/{OLCYYOAS.js → 5PK3A2ND.js} +2 -2
  15. package/dist/cdn/{5373G5JN.js → 5TBBRJLY.js} +2 -2
  16. package/dist/cdn/{GHDHFHSJ.js → 5U7LCCBY.js} +2 -2
  17. package/dist/cdn/{IWWV5HMH.js → 5VEOGNME.js} +2 -2
  18. package/dist/cdn/{ETJ3455C.js → 5VHA47FY.js} +2 -2
  19. package/dist/cdn/{GCZBN2MC.js → 5VQWZFX7.js} +2 -2
  20. package/dist/cdn/{QG4OIJVH.js → 5Y7U7ORN.js} +2 -2
  21. package/dist/cdn/{55KFDV25.js → 64Q4XQ4Y.js} +2 -2
  22. package/dist/cdn/{DEKTJ4LM.js → 6ETDLR4S.js} +2 -2
  23. package/dist/cdn/{GY44KIRV.js → 6IQ4Q6LN.js} +2 -2
  24. package/dist/cdn/{SN3XD3JC.js → 6WY3CXWZ.js} +2 -2
  25. package/dist/cdn/{JJLHHYOR.js → 6ZBZMJJQ.js} +2 -2
  26. package/dist/cdn/{6B5KKZTP.js → 73CKFPMN.js} +2 -2
  27. package/dist/cdn/{2WKN7CDB.js → 7AKT65BD.js} +2 -2
  28. package/dist/cdn/{DAZ6RTMU.js → 7J2XN3W2.js} +2 -2
  29. package/dist/cdn/{QEQEHI3T.js → 7RIXU4LP.js} +2 -2
  30. package/dist/cdn/{NQBYVGJS.js → 7UMVZSQN.js} +2 -2
  31. package/dist/cdn/{SSCOVBQL.js → 7YCG3UHC.js} +2 -2
  32. package/dist/cdn/{3WGWZRJO.js → 7YZ4KTT5.js} +2 -2
  33. package/dist/cdn/{HH2XUXFG.js → A5JGAUPG.js} +1 -1
  34. package/dist/cdn/{VOIOH2BW.js → A5OKWYHR.js} +2 -2
  35. package/dist/cdn/{KZMHB2FD.js → A6LRTAS2.js} +2 -2
  36. package/dist/cdn/{SETU4FYM.js → A6XAIJAW.js} +2 -2
  37. package/dist/cdn/{KBUOMOPL.js → AKDPHSWL.js} +2 -2
  38. package/dist/cdn/{D42SAEVR.js → AVVMRH4U.js} +2 -2
  39. package/dist/cdn/{QBTW2J3G.js → AYA5T4OZ.js} +2 -2
  40. package/dist/cdn/{2PZ7273W.js → AYV4KIGR.js} +2 -2
  41. package/dist/cdn/{X5DWOALZ.js → B6X2HKCO.js} +2 -2
  42. package/dist/cdn/{MMEOGQS7.js → BAGLWGJ5.js} +2 -2
  43. package/dist/cdn/{O5YH4IOX.js → BNST67AF.js} +2 -2
  44. package/dist/cdn/{V4JWBQVX.js → BNXSVUOL.js} +2 -2
  45. package/dist/cdn/{KZJNYOJ5.js → BXBI7EDO.js} +2 -2
  46. package/dist/cdn/{7DFYTGIA.js → C2OSGYIF.js} +2 -2
  47. package/dist/cdn/{B5E6DM2L.js → CL5QIGTO.js} +2 -2
  48. package/dist/cdn/{YXEQBNBM.js → COU5DBLW.js} +2 -2
  49. package/dist/cdn/{D3Z7GV4D.js → CPNSOURQ.js} +2 -2
  50. package/dist/cdn/{5IGFYW5C.js → CZ4S7NME.js} +2 -2
  51. package/dist/cdn/{EYTGV6EP.js → CZL37MS2.js} +2 -2
  52. package/dist/cdn/{KHJJFCOK.js → D7TRGTNZ.js} +2 -2
  53. package/dist/cdn/{Y64337V3.js → DBRBEYIZ.js} +2 -2
  54. package/dist/cdn/{4DHYJNQV.js → DCAWNYTT.js} +2 -2
  55. package/dist/cdn/{NXB4R6QF.js → DGHVMRCI.js} +2 -2
  56. package/dist/cdn/{ZBT5TUSQ.js → DI6LLRD3.js} +2 -2
  57. package/dist/cdn/{ICH63AXF.js → DWDLJRME.js} +2 -2
  58. package/dist/cdn/{5LDCOGT2.js → E2A6YA5M.js} +2 -2
  59. package/dist/cdn/{UK2JWTFS.js → E5HL4UNI.js} +2 -2
  60. package/dist/cdn/{H5OBE3OC.js → EUHHNLNK.js} +2 -2
  61. package/dist/cdn/{HWHN2FU5.js → EVCCQSK4.js} +2 -2
  62. package/dist/cdn/{SYWHCPN4.js → FHA6A262.js} +2 -2
  63. package/dist/cdn/{IS5ENQEA.js → FHXZQJDW.js} +1 -1
  64. package/dist/cdn/{JCYU4EMX.js → FIWWMQAC.js} +2 -2
  65. package/dist/cdn/{M52GHHNZ.js → FU4LLDDB.js} +2 -2
  66. package/dist/cdn/{TD6G5RXK.js → FXQ3JSAT.js} +2 -2
  67. package/dist/cdn/{XVO2A2OB.js → G7TKXTSP.js} +2 -2
  68. package/dist/cdn/{TGR6RXAI.js → GBTUDYBJ.js} +2 -2
  69. package/dist/cdn/{PTEUABHI.js → GTLFBRX2.js} +2 -2
  70. package/dist/cdn/{FBVABGHC.js → GWRU6QPL.js} +2 -2
  71. package/dist/cdn/{6EHITSKL.js → GZG2VR4N.js} +2 -2
  72. package/dist/cdn/{KVAJMF6P.js → H23KILP3.js} +2 -2
  73. package/dist/cdn/{MCDZXER5.js → HAHXSB3N.js} +10 -10
  74. package/dist/cdn/{OHWI57MS.js → HFKP4ZDO.js} +2 -2
  75. package/dist/cdn/{4D3YHU35.js → HNERAIX7.js} +2 -2
  76. package/dist/cdn/{7STXONF7.js → IALYM6HJ.js} +2 -2
  77. package/dist/cdn/{S4VAVIYB.js → IRI6QWFE.js} +2 -2
  78. package/dist/cdn/{QBVRWEY3.js → JENOCRPI.js} +2 -2
  79. package/dist/cdn/{EFMGORPW.js → JMOMMWWB.js} +2 -2
  80. package/dist/cdn/{RP23W6ZJ.js → JNYO5ITU.js} +2 -2
  81. package/dist/cdn/{2HGFT4IH.js → JSL75L2U.js} +2 -2
  82. package/dist/cdn/{ELTK2AGS.js → K54ED73L.js} +2 -2
  83. package/dist/cdn/{OWU4Y4YU.js → KGJ5WGE7.js} +1 -1
  84. package/dist/cdn/{ESYBFKKQ.js → KK77YQFZ.js} +2 -2
  85. package/dist/cdn/{C7ND6WKW.js → KM4XFBH2.js} +2 -2
  86. package/dist/cdn/{SGSKNQLM.js → KOBIA65H.js} +2 -2
  87. package/dist/cdn/{F2ICAKSS.js → KOTTBBNA.js} +2 -2
  88. package/dist/cdn/{VS4PTAX7.js → KP5JSZQS.js} +2 -2
  89. package/dist/cdn/{5Z6KVUD5.js → KU6KKG5D.js} +2 -2
  90. package/dist/cdn/{XWJSMDDP.js → KYMIUCGF.js} +2 -2
  91. package/dist/cdn/{PP6JLRQY.js → L4GZ32GH.js} +2 -2
  92. package/dist/cdn/{LT4SYNDC.js → LEXYLYDC.js} +2 -2
  93. package/dist/cdn/{7GAGEDBX.js → LJUK5W3E.js} +2 -2
  94. package/dist/cdn/{YBKQJTUT.js → LKC5UIQB.js} +2 -2
  95. package/dist/cdn/{TEGUF5RG.js → LLGYIOOH.js} +1 -1
  96. package/dist/cdn/{55UTU2YV.js → MFSERCQD.js} +2 -2
  97. package/dist/cdn/{UFMXWZRQ.js → MGK2CNDN.js} +2 -2
  98. package/dist/cdn/{T37D2AWR.js → MKLQRB32.js} +2 -2
  99. package/dist/cdn/{ZXSR7UKS.js → MMI6D55Z.js} +2 -2
  100. package/dist/cdn/{ZFUQSPOV.js → MPITMDWQ.js} +2 -2
  101. package/dist/cdn/{LHG4AOSD.js → MULLZVU7.js} +2 -2
  102. package/dist/cdn/{HDOHJONB.js → MYGR6XLT.js} +1 -1
  103. package/dist/cdn/{K7AU2VBF.js → MZCLZT6D.js} +2 -2
  104. package/dist/cdn/{SRBQGZRH.js → N2CIIBLR.js} +2 -2
  105. package/dist/cdn/{IM5O3XD5.js → N56Z6GEY.js} +2 -2
  106. package/dist/cdn/{ZJ2W6YUR.js → NHNCQ2OD.js} +2 -2
  107. package/dist/cdn/{G7RFFXEL.js → NM6TSK4X.js} +2 -2
  108. package/dist/cdn/{UJ3B4KWT.js → NQWSB3JW.js} +2 -2
  109. package/dist/cdn/{K6DLRW7V.js → NRB35WPE.js} +2 -2
  110. package/dist/cdn/{HSOVMIJY.js → OC5QK5AY.js} +2 -2
  111. package/dist/cdn/{ODSNMPA6.js → OSQYHA32.js} +2 -2
  112. package/dist/cdn/{5TTY37US.js → OVB6R544.js} +2 -2
  113. package/dist/cdn/{JCPYC7MU.js → OYTZOWC6.js} +2 -2
  114. package/dist/cdn/{3LQXHCN4.js → OZX2OZYA.js} +2 -2
  115. package/dist/cdn/{ANQPRITQ.js → P5FIC5HD.js} +2 -2
  116. package/dist/cdn/{4ZK26YV4.js → PDHKEE7F.js} +2 -2
  117. package/dist/cdn/{J6T6AA5B.js → PHGTUSKB.js} +2 -2
  118. package/dist/cdn/{QT2UDODS.js → PNFVDHMJ.js} +1 -1
  119. package/dist/cdn/{B2J23Q7P.js → PYHPMK24.js} +2 -2
  120. package/dist/cdn/{W4WDI472.js → QKPLBHPY.js} +2 -2
  121. package/dist/cdn/{BVD5CYWY.js → R452L7BQ.js} +2 -2
  122. package/dist/cdn/{AOV44CHA.js → R4OCOVU4.js} +2 -2
  123. package/dist/cdn/{HB7ARBKO.js → RGZZQ5S5.js} +2 -2
  124. package/dist/cdn/{2IJ37NEN.js → RHG2ABP5.js} +2 -2
  125. package/dist/cdn/{LBDTMEQQ.js → RI72YAOQ.js} +2 -2
  126. package/dist/cdn/{M4UPNZ3Z.js → RIECETUQ.js} +2 -2
  127. package/dist/cdn/{UX3KIHU5.js → RQC6R2IC.js} +2 -2
  128. package/dist/cdn/{PU5ELCMY.js → RSQBXOJI.js} +2 -2
  129. package/dist/cdn/{IKGOIFGA.js → RTFDYK3V.js} +2 -2
  130. package/dist/cdn/{M7W5JD6Q.js → RVGHULW4.js} +2 -2
  131. package/dist/cdn/{XPTEQWEM.js → RXLJS7YL.js} +2 -2
  132. package/dist/cdn/{LFHYEWGA.js → RYM4UVMR.js} +2 -2
  133. package/dist/cdn/{3RMNX5OE.js → RZ3QH5P4.js} +2 -2
  134. package/dist/cdn/{SCMSZLCQ.js → SDOZOYK4.js} +2 -2
  135. package/dist/cdn/{NAI2FCRE.js → SNHACTDO.js} +2 -2
  136. package/dist/cdn/{FFPMQIA3.js → SSPSTQWL.js} +2 -2
  137. package/dist/cdn/{2V3INN4M.js → ST2ZJMCB.js} +2 -2
  138. package/dist/cdn/{BD5LIRUG.js → SZDTBBS2.js} +2 -2
  139. package/dist/cdn/{5FU2ZKOS.js → T5UEK6XC.js} +2 -2
  140. package/dist/cdn/{OK762CWL.js → TABZQWGY.js} +2 -2
  141. package/dist/cdn/{TODZDMMR.js → TFSCBGI6.js} +2 -2
  142. package/dist/cdn/{TPMZEISU.js → TJ7ONZVW.js} +1 -1
  143. package/dist/cdn/{S3JAVZAI.js → TOKINBAL.js} +2 -2
  144. package/dist/cdn/{TC55NI6T.js → TPTUM7KS.js} +2 -2
  145. package/dist/cdn/{7C4YSZP6.js → UC62IYC5.js} +2 -2
  146. package/dist/cdn/{QGFYANIZ.js → UEMOLPQ3.js} +2 -2
  147. package/dist/cdn/{PAYPXYKJ.js → UJY22QDV.js} +2 -2
  148. package/dist/cdn/{EBOAZ4U2.js → UKAHNMQ5.js} +2 -2
  149. package/dist/cdn/{NMN5LHOM.js → UMHPI55T.js} +2 -2
  150. package/dist/cdn/{AE3RMXOG.js → UQUFZOEV.js} +2 -2
  151. package/dist/cdn/{SXWAFLBE.js → UU6F6W3S.js} +2 -2
  152. package/dist/cdn/{2YBUXHP7.js → UWOY25QM.js} +2 -2
  153. package/dist/cdn/{3PGV6WZ7.js → V7ZXOXKW.js} +2 -2
  154. package/dist/cdn/{6ECIFRN2.js → VEDBKO6Y.js} +2 -2
  155. package/dist/cdn/{R6WVH3C2.js → VEG7HJR6.js} +2 -2
  156. package/dist/cdn/{JACJVZRP.js → VO5XYIXA.js} +2 -2
  157. package/dist/cdn/{AGVGOZUT.js → VOE7FQAP.js} +2 -2
  158. package/dist/cdn/{ELUNJ2T7.js → VQ5VIQLE.js} +2 -2
  159. package/dist/cdn/{TA6WAS3V.js → VT7NQPZK.js} +2 -2
  160. package/dist/cdn/{YA6EKA3B.js → W5ZLJK2P.js} +1 -1
  161. package/dist/cdn/{FZKTPLSP.js → WX7XI577.js} +2 -2
  162. package/dist/cdn/{SWDSCLS3.js → WXSVEQPG.js} +2 -2
  163. package/dist/cdn/{IVJW6PZS.js → X4DQRZSJ.js} +2 -2
  164. package/dist/cdn/{UTEH5GET.js → X6NJQGZ4.js} +2 -2
  165. package/dist/cdn/{GAE7WNXB.js → XHF7DCLL.js} +2 -2
  166. package/dist/cdn/{ZGLQDSCQ.js → XKD5EU62.js} +2 -2
  167. package/dist/cdn/{7K226QQ2.js → XKJQC5A4.js} +2 -2
  168. package/dist/cdn/{NCWTKMDS.js → XSNKHCZM.js} +2 -2
  169. package/dist/cdn/{AW74TLRN.js → XU47NJES.js} +2 -2
  170. package/dist/cdn/{KJFTJQUK.js → XYBTCIFC.js} +2 -2
  171. package/dist/cdn/{D24V43PO.js → Y6FRQHPT.js} +2 -2
  172. package/dist/cdn/{BO4PC6EB.js → Y7MSPMNZ.js} +2 -2
  173. package/dist/cdn/{2D35OBP5.js → YMGG4EYY.js} +2 -2
  174. package/dist/cdn/{KQSN4WWO.js → YTSGMPBD.js} +2 -2
  175. package/dist/cdn/{ONT7RJZ3.js → YVDJV4OR.js} +2 -2
  176. package/dist/cdn/{KIQTEBWV.js → Z2NV5CGM.js} +2 -2
  177. package/dist/cdn/{MMSM77HZ.js → Z5QCQB3U.js} +2 -2
  178. package/dist/cdn/{CYVJO7QT.js → ZFS4POVW.js} +2 -2
  179. package/dist/cdn/{XFXARLR4.js → ZYXPDTGT.js} +2 -2
  180. package/dist/cdn/index.js +2 -2
  181. package/dist/chart-rendering/next/chart-library-elements/cursor/index.d.ts +1 -1
  182. package/dist/chart-rendering/next/selection/index.d.ts +11 -3
  183. package/dist/chunks/action-bar-utils.js +1 -1
  184. package/dist/chunks/axis-model-wrapper.js +1 -1
  185. package/dist/chunks/bar-chart-model.js +1 -1
  186. package/dist/chunks/bar-chart-series.js +1 -1
  187. package/dist/chunks/baseline-stacking.js +1 -1
  188. package/dist/chunks/bg_BG.js +1 -1
  189. package/dist/chunks/bg_BG2.js +1 -1
  190. package/dist/chunks/box-plot-data.js +1 -1
  191. package/dist/chunks/box-plot-model.js +1 -1
  192. package/dist/chunks/chart-ui-utils.js +1 -1
  193. package/dist/chunks/chart-ui-utils2.js +1 -1
  194. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  195. package/dist/chunks/common.js +1 -1
  196. package/dist/chunks/data.js +1 -1
  197. package/dist/chunks/default.js +1 -1
  198. package/dist/chunks/events.js +1 -1
  199. package/dist/chunks/gauge-model.js +1 -1
  200. package/dist/chunks/histogram-data.js +1 -1
  201. package/dist/chunks/histogram-model.js +1 -1
  202. package/dist/chunks/index.js +1 -1
  203. package/dist/chunks/index2.js +1 -1
  204. package/dist/chunks/index3.js +1 -1
  205. package/dist/chunks/interfaces.js +1 -1
  206. package/dist/chunks/interfaces2.js +1 -1
  207. package/dist/chunks/interfaces3.js +1 -1
  208. package/dist/chunks/interfaces4.js +1 -1
  209. package/dist/chunks/line-chart-model.js +1 -1
  210. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  211. package/dist/chunks/model-with-data-labels.js +1 -1
  212. package/dist/chunks/model-with-multi-axes.js +1 -1
  213. package/dist/chunks/model-with-rotation.js +1 -1
  214. package/dist/chunks/pie-chart-data.js +1 -1
  215. package/dist/chunks/pie-chart-model.js +1 -1
  216. package/dist/chunks/popover-ui-utils.js +1 -1
  217. package/dist/chunks/radar-chart-model.js +1 -1
  218. package/dist/chunks/resource.js +1 -1
  219. package/dist/chunks/rest-js-object-literals.js +1 -1
  220. package/dist/chunks/runtime.js +1 -1
  221. package/dist/chunks/scatterplot-model.js +1 -1
  222. package/dist/chunks/serial-chart-model.js +1 -1
  223. package/dist/chunks/series-types.js +1 -1
  224. package/dist/chunks/series.js +1 -1
  225. package/dist/chunks/sk_SK.js +1 -1
  226. package/dist/chunks/store.js +1 -1
  227. package/dist/chunks/type-guards.js +1 -1
  228. package/dist/chunks/useT9n.js +1 -1
  229. package/dist/chunks/web-component-utils.js +1 -1
  230. package/dist/components/arcgis-chart/customElement.js +1058 -1061
  231. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  279. package/dist/docs/api.json +2 -2
  280. package/dist/docs/docs.json +2 -2
  281. package/dist/docs/web-types.json +1 -1
  282. package/dist/index.js +1 -1
  283. package/dist/loader.js +1 -1
  284. package/dist/model.js +1 -1
  285. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import{b as D}from"./PTEUABHI.js";import{a as Q}from"./SCMSZLCQ.js";import{a as w}from"./2V3INN4M.js";import{a as O}from"./KZMHB2FD.js";import k from"./TC55NI6T.js";import j from"./KBUOMOPL.js";import{a as p}from"./IS5ENQEA.js";import"./I36R2TUQ.js";import{a as Y}from"./TEGUF5RG.js";import{a as M,b as K}from"./HH2XUXFG.js";import i from"./ANQPRITQ.js";import{d as l}from"./UK2JWTFS.js";import{a as G}from"./ELUNJ2T7.js";import g from"./O5YH4IOX.js";import e from"./4TW2WMSZ.js";import d from"./SHQDGSG3.js";import b from"./KHJJFCOK.js";import"./UFMXWZRQ.js";import a from"./R6WVH3C2.js";import{j as x}from"./OWU4Y4YU.js";import"./HDOHJONB.js";import{a as Z}from"./BVD5CYWY.js";import{e as L,f as P,k as I,l as H,q as B}from"./QBTW2J3G.js";import"./TPMZEISU.js";import{a as o,k as _}from"./YA6EKA3B.js";import{A as h,B as V,D as v,F as U,g as E,h as c,l as f,w as N,x as F,y as A}from"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,{substitute:ee},{Bb:R,Ra:b,cb:S,wc:T},,,,,{x:z},X,{a:j,d:y,e:q}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function W(m,e){let a=new Set,t=e;return m?.forEach((s,i)=>{let r=s.getChartId();(a.has(r)||r===void 0||r==="")&&(s.setChartId(`Chart_${Date.now()}_${i}`),e===r&&(t=s.getChartId())),a.add(r)}),t}function te(m,e,a){return m?.filter(t=>b(a,t.getConfig())&&t.getLayer()?.id===e)??[]}function ae(m){let{modelList:e,layerList:a,activeLayerId:t,disableEditing:s}=m,i=new Map;return e?.forEach(r=>{let n=r.getLayer();n&&i.set(n.id,n)}),s||a.forEach(r=>i.set(r.id,r)),Array.from(i.values()).filter(r=>!t||r.id===t)}function se(m,e){m.forEach(a=>{e.forEach(t=>{a?.id===t.getLayer()?.id&&J(a,t)})})}function J(m,e){let a=m;if(a){let t=[...a?.charts??[]],s=t?.findIndex(r=>r.id===e.getChartId()),i=!1;s!==void 0&&s>-1?(i=!x(t[s],e.getConfig()),t[s]=e.getConfig()):a&&!T(e.getConfig())&&(i=!0,t.push(e.getConfig())),i&&(a.charts=t)}}function ie(m,e){let a=m;if(a){let t=[...a.charts??[]],s=t.findIndex(i=>i.id===e);s>-1&&(t.splice(s,1),a.charts=t)}}function re(m,e){let a=m;if(a){let t=[...a.charts??[]];t=S({arrayA:t,arrayB:e.map(s=>s.getConfig()),getKey:s=>s.id??s.title?.content.text??""}),a.charts=t}}var oe=E`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,k=class extends A{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=N(),this.supportedChartTypes=[o.BarSeries,o.BoxPlotSeries,o.LineSeries,o.PieSeries,o.HistogramSeries,o.ScatterSeries],this._messages=G(),this.chartDataProcessComplete=e=>{let a=e,{chartData:t,model:s}=a.detail,i=this.getModel(this.selectedChartId);if(s?.isSameChartAs(i))switch(i?.getChartType()){case o.HistogramSeries:this.chartData=t,s&&(s.dataStore.chartData=t);break;case o.PieSeries:{this.chartData=t,s&&(s.dataStore.chartData=t);break}case o.ScatterSeries:{let r=t,{dataItems:n,r2:C}=r,g=C;Number.isFinite(C)||(g=void 0),this.r2=g,s&&(s.dataStore.r2=g),this.calculatedDataMinMaxBounds=this.getDataExtent(n),s&&(s.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:case o.BarSeries:{let{dataItems:r,timeIntervalInfo:n}=t;if((P(i)||L(i)&&i.getBinTemporalData())&&(n?.size!==void 0&&i.getTemporalBinningSize()!==n?.size&&i.setTemporalBinningSize(n?.size),n?.unit!==void 0&&i.getTemporalBinningUnit()!==n?.unit&&n?.unit!==_.Quarter&&i.setTemporalBinningUnit(n?.unit)),this.calculatedDataMinMaxBounds=this.getDataExtent(r),s&&(s.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds),L(i)){let C=i.getXAxisField(),g=r.some($=>$[C]===null),u=i.getNullCategory();g&&u===void 0&&i.setNullCategory(X.nullCategory)}break}}},this.chartAxesMinMaxChange=e=>{let a=e,{bounds:t,model:s}=a.detail,i=this.getModel(this.selectedChartId),r=s?.isSameChartAs(i),n=i?.getChartType();if(r)switch(n){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=t,s&&(s.dataStore.calculatedMinMaxBounds=t),this.updateAxesBoundsInAppState(t);break}},this.chartSeriesColorChange=e=>{let a=e,{data:t,model:s}=a.detail,i=this.getModel(this.selectedChartId);if(s?.isSameChartAs(i))switch(i?.getChartType()){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=t,s&&(s.dataStore.seriesColor=t);break;case o.PieSeries:{let r=new Map([[0,t]]);this.seriesColor=r,s&&(s.dataStore.seriesColor=r);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let a=e,{propName:t,value:s,model:i}=a.detail,r=this.modelList.find(n=>i?.isSameChartAs(n));if(r)switch(t){case"rotation":typeof s=="boolean"&&H(r)&&r.setRotatedState(s);break;case"legendPosition":typeof s=="string"&&B(r)&&r.setLegendPosition(s);break;case"legendVisibility":typeof s=="boolean"&&B(r)&&r.setLegendVisibility(s);break}},this.chartLegendItemVisibilityChange=async e=>{let a=e,{legendItemVisibility:t,model:s}=a.detail,i=this.modelList.find(r=>s?.isSameChartAs(r));i?.setSeriesVisibility(t),I(i)&&((i.getMinBound(1)===null||Number.isNaN(i.getMinBound(1)))&&i.setMinBound(null,1),(i.getMaxBound(1)===null||Number.isNaN(i.getMaxBound(1)))&&i.setMaxBound(null,1),P(i)&&((i.getMinBound(0)===null||Number.isNaN(i.getMinBound(0)))&&i.setMinBound(null,0),(i.getMaxBound(0)===null||Number.isNaN(i.getMaxBound(0)))&&i.setMaxBound(null,0)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:a,layerId:t}=e.target;a!==void 0&&(this.allowChartSyncing=!0,this.arcgisChartsConfigNewChart.emit({key:"key",chartType:a,layerId:t}))},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers&&this.allowChartSyncing){let a=e.target;J(a?.getLayer(),a)}this.requestUpdate()},this.allowChartSyncing=!1,this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.panelNumber=0,this.arcgisChartsConfigChartViewChartClose=f(),this.arcgisChartsConfigModelListChange=f(),this.arcgisChartsConfigNewChart=f(),this.arcgisChartsConfigPanelNumberChange=f(),this.arcgisChartsConfigSelectedChartChange=f(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:3,activeLayerId:3,disableEditing:7,syncChartsToLayers:7,timeZone:3,headerTitle:3,open:7,chartData:[0,{hasChanged:y}],r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[2,{hasChanged:y}],seriesColor:[2,{hasChanged:q}],popoverPlacement:3,usePopupTemplateFieldsInfo:5,panelNumber:11,filterBySelection:5}}static{this.styles=oe}async setFocus(){this.chartsListFlowItem.value?.setFocus()}connectedCallback(){super.connectedCallback(),this.addChartEventListeners()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}async willUpdate(e){e.has("layerList")&&(this.hasUpdated||this.layerList?.length>0)&&await this.layerListChange(),e.has("modelList")&&(this.hasUpdated||this.modelList?.length>0)&&await this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&await this.selectedChartIdChange(this.selectedChartId),e.has("panelNumber")&&(this.hasUpdated||this.panelNumber!==0)&&this.panelNumberChange(this.panelNumber)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover(),this.removeChartEventListeners()}modelListReorderChangeListener(e){let{modelList:a}=e.detail;if(this.modelList=S({arrayA:this.modelList,arrayB:a,getKey:t=>t.getChartId()??t.getTitleText()??""}),this.syncChartsToLayers){let t=a.find(s=>s.getLayer()?.id!==void 0)?.getLayer()?.id;if(t){let s=this.layerList.find(i=>i.id.toString()===t);s&&re(s,a)}}}async layerListChange(){let e=[],a=this.layerList.map(s=>s.id.toString()),t=[...this.modelList.filter(s=>a.includes(s.getLayer()?.id??""))];for(let s of this.layerList??[]){if(s.type==="sublayer"){let r=await s.createFeatureLayer();if(!r)continue;s=r}let i=s;for(let r of i.charts??[]){let n=await Z({layer:s,config:r});n!==void 0&&e.push(n)}}W(e),e.forEach(s=>{t.find(i=>i.isSameChartAs(s))===void 0&&t.push(s)}),this.modelList=t}async modelListChange(e,a){this.selectedChartId=W(e,this.selectedChartId),a?.forEach(s=>{s.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(s=>{s.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let t=this.getModel(this.selectedChartId);this.currentChartTypeText=t?.getChartType()!==void 0?await D(t.getChartType()):"",this.syncChartsToLayers&&this.allowChartSyncing&&se(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}async selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=l.Data;let a=this.getModel(e);this.setEventBasedPropsFromModelData(a),this.currentChartTypeText=a?.getChartType()!==void 0?await D(a.getChartType()):"",e!==void 0&&e!==M.selectedChartId&&(M.selectedChartId=e),this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:a})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){document.addEventListener(p.DataProcessComplete,this.chartDataProcessComplete),document.addEventListener(p.AxesMinMaxChange,this.chartAxesMinMaxChange),document.addEventListener(p.SeriesColorChange,this.chartSeriesColorChange),document.addEventListener(p.NoRenderPropChange,this.chartNoRenderPropChange),document.addEventListener(p.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}removeChartEventListeners(){document.removeEventListener(p.DataProcessComplete,this.chartDataProcessComplete),document.removeEventListener(p.AxesMinMaxChange,this.chartAxesMinMaxChange),document.removeEventListener(p.SeriesColorChange,this.chartSeriesColorChange),document.removeEventListener(p.NoRenderPropChange,this.chartNoRenderPropChange),document.removeEventListener(p.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let a=this.getModel(this.selectedChartId)?.getConfig(),t=[];if(a!==void 0&&e!==void 0){let s=R({chartConfig:a,chartData:e}),{minY:i,maxY:r,minX:n,maxX:C}=s;t=[{isXAxis:!0,minimum:n,maximum:C},{isXAxis:!1,minimum:i,maximum:r}]}return t}updateAxesBoundsInAppState(e){e?.forEach(a=>{let{isXAxis:t,maximum:s,minimum:i}=a,r=this.getModel(this.selectedChartId);if(r!==void 0&&I(r)&&this.selectedChartId!==void 0){let n=new Y(r,t),C=K({chartId:this.selectedChartId,isXAxis:t,isLogarithmic:n.getLogarithmic()}),g=M.chartAxesBoundDataMap;g[this.selectedChartId]===void 0&&(g[this.selectedChartId]={});let u=g[this.selectedChartId]?.[C],$={defaultMinBound:u?.defaultMinBound===u?.currMinBound?i:u?.defaultMinBound,currMinBound:i,defaultMaxBound:u?.defaultMaxBound===u?.currMaxBound?s:u?.defaultMaxBound,currMaxBound:s};!x(u,$)&&this.selectedChartId!==void 0&&g?.[this.selectedChartId]!==void 0&&(g[this.selectedChartId][C]=$)}})}getPlacement(){let e;if(this.popoverPlacement!==void 0)e=this.popoverPlacement;else{let a=this.modelList?.filter(t=>b(j,t.getConfig())).length;e=Number(a)<=2?"bottom":"top"}return e}onBackFlow(){this.panelNumber-=1}onAddChartClick(e){let{referenceElement:a,layerId:t}=e.detail;this.setupSelectChartTypePopover(a,t)}setupSelectChartTypePopover(e,a){let t=this.getPlacement();this.removeSelectChartTypePopover(),this.selectChartTypePopover=v(c`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(a=>a.getChartId()===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=O(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!T(e.getConfig()))}onViewChartDelete(e){let{chartId:a}=e.detail;if(a!==void 0){let t=this.modelList.find(i=>i.getChartId()===a),s=this.layerList.find(i=>i.id===t?.getLayer()?.id);this.modelList=[...this.modelList.filter(i=>i.getChartId()!==a)],s&&this.syncChartsToLayers&&this.allowChartSyncing&&ie(s,a)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&(this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)})),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.open=!1,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let a=e.target,t="";switch(a.icon){case"configure":t=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":t=this._messages.series??"";break;case"graph-pie-slice":t=this._messages.slices??"";break;case"graph-axis":t=this._messages.axes??"";break;case"graph-guides":t=this._messages.guides??"";break;case"palette":t=this._messages.format??"";break;case"text":t=this._messages.general??"";break;default:t="";break}this.tooltip=v(c`<calcite-tooltip style=${V({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){z(this.tooltip)}renderViewCharts(){let e=ae({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return Q(e,a=>a.id,a=>c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${te(this.modelList,a.id.toString(),this.supportedChartTypes)} .selectedChartId=${this.selectedChartId??""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.open!==!1?c`<calcite-flow>${w("charts-list",c`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${F(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>`:null}renderTabs(){let e=this.getModel(this.selectedChartId);return w("chart-edit",c`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??l.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?ee(this._messages.pageFlowTitle,{chartName:e?.getTitleText()??this.currentChartTypeText,layerName:e?.getLayer()?.title??""}):""}>${e?.getChartType()!==void 0?c`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===l.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=l.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.getChartType()===o.BarSeries?c`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.LineSeries?c`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.BoxPlotSeries?c`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===l.Slices} @click=${()=>{this.selectedPanel=l.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===l.Axes} @click=${()=>{this.selectedPanel=l.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===l.Guides} @click=${()=>{this.selectedPanel=l.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===l.Format} @click=${()=>{this.selectedPanel=l.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===l.General} @click=${()=>{this.selectedPanel=l.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),a=e?.getLayer(),t=null;if(e!==void 0&&!this.disableEditing)switch(e?.getChartType()){case"barSeries":t=c`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case"lineSeries":t=c`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case"pieSeries":t=c`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case"histogramSeries":t=c`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case"scatterSeries":t=c`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case"boxPlotSeries":t=c`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break}return t}};U("arcgis-charts-config-create-flow",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,d,e,g,i,j,k)
3
+ v4.34.0-next.141 */
4
+ import{b as D}from"./GTLFBRX2.js";import{a as Q}from"./SDOZOYK4.js";import{a as w}from"./ST2ZJMCB.js";import{a as O}from"./A6LRTAS2.js";import k from"./TPTUM7KS.js";import j from"./AKDPHSWL.js";import{a as p}from"./FHXZQJDW.js";import"./4PDWQCLP.js";import{a as Y}from"./LLGYIOOH.js";import{a as M,b as K}from"./A5JGAUPG.js";import i from"./P5FIC5HD.js";import{d as l}from"./E5HL4UNI.js";import{a as G}from"./VQ5VIQLE.js";import g from"./BNST67AF.js";import e from"./2KMJPZV6.js";import d from"./55WRJ6EE.js";import b from"./D7TRGTNZ.js";import"./MGK2CNDN.js";import a from"./VEG7HJR6.js";import{j as x}from"./KGJ5WGE7.js";import"./MYGR6XLT.js";import{a as Z}from"./R452L7BQ.js";import{e as L,f as P,k as I,l as H,q as B}from"./AYA5T4OZ.js";import"./TJ7ONZVW.js";import{a as o,k as _}from"./W5ZLJK2P.js";import{A as h,B as V,D as v,F as U,g as E,h as c,l as f,w as N,x as F,y as A}from"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,{substitute:ee},{Bb:R,Ra:b,cb:S,wc:T},,,,,{x:z},X,{a:j,d:y,e:q}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function W(m,e){let a=new Set,t=e;return m?.forEach((s,i)=>{let r=s.getChartId();(a.has(r)||r===void 0||r==="")&&(s.setChartId(`Chart_${Date.now()}_${i}`),e===r&&(t=s.getChartId())),a.add(r)}),t}function te(m,e,a){return m?.filter(t=>b(a,t.getConfig())&&t.getLayer()?.id===e)??[]}function ae(m){let{modelList:e,layerList:a,activeLayerId:t,disableEditing:s}=m,i=new Map;return e?.forEach(r=>{let n=r.getLayer();n&&i.set(n.id,n)}),s||a.forEach(r=>i.set(r.id,r)),Array.from(i.values()).filter(r=>!t||r.id===t)}function se(m,e){m.forEach(a=>{e.forEach(t=>{a?.id===t.getLayer()?.id&&J(a,t)})})}function J(m,e){let a=m;if(a){let t=[...a?.charts??[]],s=t?.findIndex(r=>r.id===e.getChartId()),i=!1;s!==void 0&&s>-1?(i=!x(t[s],e.getConfig()),t[s]=e.getConfig()):a&&!T(e.getConfig())&&(i=!0,t.push(e.getConfig())),i&&(a.charts=t)}}function ie(m,e){let a=m;if(a){let t=[...a.charts??[]],s=t.findIndex(i=>i.id===e);s>-1&&(t.splice(s,1),a.charts=t)}}function re(m,e){let a=m;if(a){let t=[...a.charts??[]];t=S({arrayA:t,arrayB:e.map(s=>s.getConfig()),getKey:s=>s.id??s.title?.content.text??""}),a.charts=t}}var oe=E`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,k=class extends A{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=N(),this.supportedChartTypes=[o.BarSeries,o.BoxPlotSeries,o.LineSeries,o.PieSeries,o.HistogramSeries,o.ScatterSeries],this._messages=G(),this.chartDataProcessComplete=e=>{let a=e,{chartData:t,model:s}=a.detail,i=this.getModel(this.selectedChartId);if(s?.isSameChartAs(i))switch(i?.getChartType()){case o.HistogramSeries:this.chartData=t,s&&(s.dataStore.chartData=t);break;case o.PieSeries:{this.chartData=t,s&&(s.dataStore.chartData=t);break}case o.ScatterSeries:{let r=t,{dataItems:n,r2:C}=r,g=C;Number.isFinite(C)||(g=void 0),this.r2=g,s&&(s.dataStore.r2=g),this.calculatedDataMinMaxBounds=this.getDataExtent(n),s&&(s.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:case o.BarSeries:{let{dataItems:r,timeIntervalInfo:n}=t;if((P(i)||L(i)&&i.getBinTemporalData())&&(n?.size!==void 0&&i.getTemporalBinningSize()!==n?.size&&i.setTemporalBinningSize(n?.size),n?.unit!==void 0&&i.getTemporalBinningUnit()!==n?.unit&&n?.unit!==_.Quarter&&i.setTemporalBinningUnit(n?.unit)),this.calculatedDataMinMaxBounds=this.getDataExtent(r),s&&(s.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds),L(i)){let C=i.getXAxisField(),g=r.some($=>$[C]===null),u=i.getNullCategory();g&&u===void 0&&i.setNullCategory(X.nullCategory)}break}}},this.chartAxesMinMaxChange=e=>{let a=e,{bounds:t,model:s}=a.detail,i=this.getModel(this.selectedChartId),r=s?.isSameChartAs(i),n=i?.getChartType();if(r)switch(n){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=t,s&&(s.dataStore.calculatedMinMaxBounds=t),this.updateAxesBoundsInAppState(t);break}},this.chartSeriesColorChange=e=>{let a=e,{data:t,model:s}=a.detail,i=this.getModel(this.selectedChartId);if(s?.isSameChartAs(i))switch(i?.getChartType()){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=t,s&&(s.dataStore.seriesColor=t);break;case o.PieSeries:{let r=new Map([[0,t]]);this.seriesColor=r,s&&(s.dataStore.seriesColor=r);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let a=e,{propName:t,value:s,model:i}=a.detail,r=this.modelList.find(n=>i?.isSameChartAs(n));if(r)switch(t){case"rotation":typeof s=="boolean"&&H(r)&&r.setRotatedState(s);break;case"legendPosition":typeof s=="string"&&B(r)&&r.setLegendPosition(s);break;case"legendVisibility":typeof s=="boolean"&&B(r)&&r.setLegendVisibility(s);break}},this.chartLegendItemVisibilityChange=async e=>{let a=e,{legendItemVisibility:t,model:s}=a.detail,i=this.modelList.find(r=>s?.isSameChartAs(r));i?.setSeriesVisibility(t),I(i)&&((i.getMinBound(1)===null||Number.isNaN(i.getMinBound(1)))&&i.setMinBound(null,1),(i.getMaxBound(1)===null||Number.isNaN(i.getMaxBound(1)))&&i.setMaxBound(null,1),P(i)&&((i.getMinBound(0)===null||Number.isNaN(i.getMinBound(0)))&&i.setMinBound(null,0),(i.getMaxBound(0)===null||Number.isNaN(i.getMaxBound(0)))&&i.setMaxBound(null,0)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:a,layerId:t}=e.target;a!==void 0&&(this.allowChartSyncing=!0,this.arcgisChartsConfigNewChart.emit({key:"key",chartType:a,layerId:t}))},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers&&this.allowChartSyncing){let a=e.target;J(a?.getLayer(),a)}this.requestUpdate()},this.allowChartSyncing=!1,this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.panelNumber=0,this.arcgisChartsConfigChartViewChartClose=f(),this.arcgisChartsConfigModelListChange=f(),this.arcgisChartsConfigNewChart=f(),this.arcgisChartsConfigPanelNumberChange=f(),this.arcgisChartsConfigSelectedChartChange=f(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:3,activeLayerId:3,disableEditing:7,syncChartsToLayers:7,timeZone:3,headerTitle:3,open:7,chartData:[0,{hasChanged:y}],r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[2,{hasChanged:y}],seriesColor:[2,{hasChanged:q}],popoverPlacement:3,usePopupTemplateFieldsInfo:5,panelNumber:11,filterBySelection:5}}static{this.styles=oe}async setFocus(){this.chartsListFlowItem.value?.setFocus()}connectedCallback(){super.connectedCallback(),this.addChartEventListeners()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}async willUpdate(e){e.has("layerList")&&(this.hasUpdated||this.layerList?.length>0)&&await this.layerListChange(),e.has("modelList")&&(this.hasUpdated||this.modelList?.length>0)&&await this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&await this.selectedChartIdChange(this.selectedChartId),e.has("panelNumber")&&(this.hasUpdated||this.panelNumber!==0)&&this.panelNumberChange(this.panelNumber)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover(),this.removeChartEventListeners()}modelListReorderChangeListener(e){let{modelList:a}=e.detail;if(this.modelList=S({arrayA:this.modelList,arrayB:a,getKey:t=>t.getChartId()??t.getTitleText()??""}),this.syncChartsToLayers){let t=a.find(s=>s.getLayer()?.id!==void 0)?.getLayer()?.id;if(t){let s=this.layerList.find(i=>i.id.toString()===t);s&&re(s,a)}}}async layerListChange(){let e=[],a=this.layerList.map(s=>s.id.toString()),t=[...this.modelList.filter(s=>a.includes(s.getLayer()?.id??""))];for(let s of this.layerList??[]){if(s.type==="sublayer"){let r=await s.createFeatureLayer();if(!r)continue;s=r}let i=s;for(let r of i.charts??[]){let n=await Z({layer:s,config:r});n!==void 0&&e.push(n)}}W(e),e.forEach(s=>{t.find(i=>i.isSameChartAs(s))===void 0&&t.push(s)}),this.modelList=t}async modelListChange(e,a){this.selectedChartId=W(e,this.selectedChartId),a?.forEach(s=>{s.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(s=>{s.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let t=this.getModel(this.selectedChartId);this.currentChartTypeText=t?.getChartType()!==void 0?await D(t.getChartType()):"",this.syncChartsToLayers&&this.allowChartSyncing&&se(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}async selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=l.Data;let a=this.getModel(e);this.setEventBasedPropsFromModelData(a),this.currentChartTypeText=a?.getChartType()!==void 0?await D(a.getChartType()):"",e!==void 0&&e!==M.selectedChartId&&(M.selectedChartId=e),this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:a})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){document.addEventListener(p.DataProcessComplete,this.chartDataProcessComplete),document.addEventListener(p.AxesMinMaxChange,this.chartAxesMinMaxChange),document.addEventListener(p.SeriesColorChange,this.chartSeriesColorChange),document.addEventListener(p.NoRenderPropChange,this.chartNoRenderPropChange),document.addEventListener(p.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}removeChartEventListeners(){document.removeEventListener(p.DataProcessComplete,this.chartDataProcessComplete),document.removeEventListener(p.AxesMinMaxChange,this.chartAxesMinMaxChange),document.removeEventListener(p.SeriesColorChange,this.chartSeriesColorChange),document.removeEventListener(p.NoRenderPropChange,this.chartNoRenderPropChange),document.removeEventListener(p.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let a=this.getModel(this.selectedChartId)?.getConfig(),t=[];if(a!==void 0&&e!==void 0){let s=R({chartConfig:a,chartData:e}),{minY:i,maxY:r,minX:n,maxX:C}=s;t=[{isXAxis:!0,minimum:n,maximum:C},{isXAxis:!1,minimum:i,maximum:r}]}return t}updateAxesBoundsInAppState(e){e?.forEach(a=>{let{isXAxis:t,maximum:s,minimum:i}=a,r=this.getModel(this.selectedChartId);if(r!==void 0&&I(r)&&this.selectedChartId!==void 0){let n=new Y(r,t),C=K({chartId:this.selectedChartId,isXAxis:t,isLogarithmic:n.getLogarithmic()}),g=M.chartAxesBoundDataMap;g[this.selectedChartId]===void 0&&(g[this.selectedChartId]={});let u=g[this.selectedChartId]?.[C],$={defaultMinBound:u?.defaultMinBound===u?.currMinBound?i:u?.defaultMinBound,currMinBound:i,defaultMaxBound:u?.defaultMaxBound===u?.currMaxBound?s:u?.defaultMaxBound,currMaxBound:s};!x(u,$)&&this.selectedChartId!==void 0&&g?.[this.selectedChartId]!==void 0&&(g[this.selectedChartId][C]=$)}})}getPlacement(){let e;if(this.popoverPlacement!==void 0)e=this.popoverPlacement;else{let a=this.modelList?.filter(t=>b(j,t.getConfig())).length;e=Number(a)<=2?"bottom":"top"}return e}onBackFlow(){this.panelNumber-=1}onAddChartClick(e){let{referenceElement:a,layerId:t}=e.detail;this.setupSelectChartTypePopover(a,t)}setupSelectChartTypePopover(e,a){let t=this.getPlacement();this.removeSelectChartTypePopover(),this.selectChartTypePopover=v(c`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(a=>a.getChartId()===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=O(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!T(e.getConfig()))}onViewChartDelete(e){let{chartId:a}=e.detail;if(a!==void 0){let t=this.modelList.find(i=>i.getChartId()===a),s=this.layerList.find(i=>i.id===t?.getLayer()?.id);this.modelList=[...this.modelList.filter(i=>i.getChartId()!==a)],s&&this.syncChartsToLayers&&this.allowChartSyncing&&ie(s,a)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&(this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)})),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.open=!1,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let a=e.target,t="";switch(a.icon){case"configure":t=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":t=this._messages.series??"";break;case"graph-pie-slice":t=this._messages.slices??"";break;case"graph-axis":t=this._messages.axes??"";break;case"graph-guides":t=this._messages.guides??"";break;case"palette":t=this._messages.format??"";break;case"text":t=this._messages.general??"";break;default:t="";break}this.tooltip=v(c`<calcite-tooltip style=${V({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){z(this.tooltip)}renderViewCharts(){let e=ae({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return Q(e,a=>a.id,a=>c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${te(this.modelList,a.id.toString(),this.supportedChartTypes)} .selectedChartId=${this.selectedChartId??""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.open!==!1?c`<calcite-flow>${w("charts-list",c`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${F(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>`:null}renderTabs(){let e=this.getModel(this.selectedChartId);return w("chart-edit",c`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??l.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?ee(this._messages.pageFlowTitle,{chartName:e?.getTitleText()??this.currentChartTypeText,layerName:e?.getLayer()?.title??""}):""}>${e?.getChartType()!==void 0?c`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===l.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=l.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.getChartType()===o.BarSeries?c`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.LineSeries?c`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.BoxPlotSeries?c`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===l.Series} @click=${()=>{this.selectedPanel=l.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===l.Slices} @click=${()=>{this.selectedPanel=l.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===l.Axes} @click=${()=>{this.selectedPanel=l.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===l.Guides} @click=${()=>{this.selectedPanel=l.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===l.Format} @click=${()=>{this.selectedPanel=l.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===l.General} @click=${()=>{this.selectedPanel=l.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),a=e?.getLayer(),t=null;if(e!==void 0&&!this.disableEditing)switch(e?.getChartType()){case"barSeries":t=c`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case"lineSeries":t=c`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case"pieSeries":t=c`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case"histogramSeries":t=c`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case"scatterSeries":t=c`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case"boxPlotSeries":t=c`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break}return t}};U("arcgis-charts-config-create-flow",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,d,e,g,i,j,k)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import{b as P}from"./KZMHB2FD.js";import d from"./ANQPRITQ.js";import"./UK2JWTFS.js";import{a as $}from"./ELUNJ2T7.js";import c from"./R6WVH3C2.js";import{j as b,w as S}from"./OWU4Y4YU.js";import"./HDOHJONB.js";import"./TPMZEISU.js";import"./YA6EKA3B.js";import{A as l,F as u,g as C,h as n,l as a,w as f,x as v,y}from"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,{v:c},{g:x}])=>{var h={jsAppFlyout:"js-app-flyout",panelChildrenContainer:"panel-children-container"},w=C`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`,p=class extends y{constructor(){super(...arguments),this._messages=$(),this.popoverElement=f(),this.isLineSymbol=!1,this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSeriesPopoverColorChange=a(),this.arcgisChartsConfigSeriesPopoverLineStyleChange=a(),this.arcgisChartsConfigSeriesPopoverLineWidthChange=a(),this.arcgisChartsConfigSeriesPopoverNameChange=a()}static{this.properties={messageOverrides:0,referenceElement:2,selectedName:3,selectedColor:2,selectedLineStyle:3,selectedLineWidth:11,selectedSeriesIndex:11,isLineSymbol:7,placement:3,open:7,labelCanBeConfigured:7}}static{this.styles=w}async reposition(){await this.popoverElement.value?.reposition()}updated(){P(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},x.PopoverTimer)}seriesNameChange(e){let t=e.target.value;this.selectedName!==t&&(this.selectedName=t,this.arcgisChartsConfigSeriesPopoverNameChange.emit({name:t}))}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[s,i,o]=t,r=c*255;this.selectedColor=[s,i,o,r],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[s,i,o,r]})}lineSymbolChange(e){let{lineStyle:t}=e.target,{color:s,style:i,width:o}=t;if(s!==void 0&&!b(s,this.selectedColor)){let[r,d,m]=s,g=c*255;this.selectedColor=[r,d,m,g],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[r,d,m,g]})}i!==void 0&&i!==this.selectedLineStyle&&(this.selectedLineStyle=i,this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({style:i})),o!==void 0&&o!==this.selectedLineWidth&&(this.selectedLineWidth=o,this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({width:o}))}render(){let e=this.selectedColor;return n`<div class=${l({[h.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${v(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured?n`<div class=${l(h.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>`:null}<div class=${l(h.panelChildrenContainer)}>${this.isLineSymbol?n`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{type:S.SLS,style:this.selectedLineStyle,width:this.selectedLineWidth,color:e}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>`:n`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @colorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`}};u("arcgis-charts-config-box-plot-series-popover",p);return p},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d)
3
+ v4.34.0-next.141 */
4
+ import{b as P}from"./A6LRTAS2.js";import d from"./P5FIC5HD.js";import"./E5HL4UNI.js";import{a as $}from"./VQ5VIQLE.js";import c from"./VEG7HJR6.js";import{j as b,w as S}from"./KGJ5WGE7.js";import"./MYGR6XLT.js";import"./TJ7ONZVW.js";import"./W5ZLJK2P.js";import{A as l,F as u,g as C,h as n,l as a,w as f,x as v,y}from"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,{v:c},{g:x}])=>{var h={jsAppFlyout:"js-app-flyout",panelChildrenContainer:"panel-children-container"},w=C`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`,p=class extends y{constructor(){super(...arguments),this._messages=$(),this.popoverElement=f(),this.isLineSymbol=!1,this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSeriesPopoverColorChange=a(),this.arcgisChartsConfigSeriesPopoverLineStyleChange=a(),this.arcgisChartsConfigSeriesPopoverLineWidthChange=a(),this.arcgisChartsConfigSeriesPopoverNameChange=a()}static{this.properties={messageOverrides:0,referenceElement:2,selectedName:3,selectedColor:2,selectedLineStyle:3,selectedLineWidth:11,selectedSeriesIndex:11,isLineSymbol:7,placement:3,open:7,labelCanBeConfigured:7}}static{this.styles=w}async reposition(){await this.popoverElement.value?.reposition()}updated(){P(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},x.PopoverTimer)}seriesNameChange(e){let t=e.target.value;this.selectedName!==t&&(this.selectedName=t,this.arcgisChartsConfigSeriesPopoverNameChange.emit({name:t}))}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[s,i,o]=t,r=c*255;this.selectedColor=[s,i,o,r],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[s,i,o,r]})}lineSymbolChange(e){let{lineStyle:t}=e.target,{color:s,style:i,width:o}=t;if(s!==void 0&&!b(s,this.selectedColor)){let[r,d,m]=s,g=c*255;this.selectedColor=[r,d,m,g],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[r,d,m,g]})}i!==void 0&&i!==this.selectedLineStyle&&(this.selectedLineStyle=i,this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({style:i})),o!==void 0&&o!==this.selectedLineWidth&&(this.selectedLineWidth=o,this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({width:o}))}render(){let e=this.selectedColor;return n`<div class=${l({[h.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${v(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured?n`<div class=${l(h.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>`:null}<div class=${l(h.panelChildrenContainer)}>${this.isLineSymbol?n`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{type:S.SLS,style:this.selectedLineStyle,width:this.selectedLineWidth,color:e}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>`:n`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @colorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`}};u("arcgis-charts-config-box-plot-series-popover",p);return p},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import{a as b}from"./SCMSZLCQ.js";import{a as u}from"./2V3INN4M.js";import{b as T,c as S}from"./KZMHB2FD.js";import d from"./ANQPRITQ.js";import{h as a}from"./UK2JWTFS.js";import{a as E}from"./ELUNJ2T7.js";import c from"./R6WVH3C2.js";import{j as y,q as P}from"./OWU4Y4YU.js";import"./HDOHJONB.js";import{d as r}from"./TPMZEISU.js";import"./YA6EKA3B.js";import{A as o,F as $,g as k,h as s,l as m,w as g,x as p,y as v}from"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,{Oa:x,hc:w,jc:F,wa:L},{g:I,j:f,q:d,u:D}])=>{var l={jsAppFlyout:"js-app-flyout",name:"pie-chart-data-popover",numericFieldPickList:"pie-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",flipClass:"sort-counter-clockwise",panel:"panel"},K=k`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-counter-clockwise{transform:scaleX(-1)}.panel{max-height:60vh}`,C=class extends v{constructor(){super(...arguments),this._messages=E(),this.picklist=g(),this.popoverElement=g(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.arcgisChartsConfigPieChartDataPopoverChange=m(),this.arcgisChartsConfigPopoverClose=m()}static{this.properties={aggregationLabels:16,messageOverrides:0,headingTitle:3,referenceElement:2,open:7,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=K}async reposition(){await this.popoverElement.value?.reposition()}async willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=await Promise.all(f.map(async i=>await L(i)));y(this.aggregationLabels,t)||(this.aggregationLabels=t)}async updated(){T(this.popoverElement.value,this.open),setTimeout(async()=>{await this.picklist.value?.setFocus()},I.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=S(e,t)}buildAggregationPickListItems(){return b(f,e=>e,(e,t)=>s`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e,this.selectedContent)}></calcite-list-item>`)}buildSortOrder(){let e=Object.keys(r);return e.splice(e.indexOf(r.customSort),1),b(e,t=>t,t=>{let i="string",c="rotate",n="";switch(t){case r.labelAsc:i="string";break;case r.labelDesc:i="string",n=l.flipClass;break;case r.valueAsc:i="number";break;case r.valueDesc:i="number",n=l.flipClass;break;case r.customSort:}return s`<calcite-list-item .selected=${this.selectedContent===t} .label=${this._messages[t]} .value=${r[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${o(n)} slot=content-end .icon=${c}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return u(e.name,s`<calcite-list-item .label=${x(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${d(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let c=0;c<t;c+=1){let n=this.layerFieldsInfo[c];w(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let c=u(" ",s`<calcite-list-item label=" " value=" " .selected=${d("",this.selectedContent)}></calcite-list-item>`);i.push(c);for(let n=0;n<t;n+=1){let h=this.layerFieldsInfo[n];(F(h)||h.type===P.String)&&i.push(this.buildPickListItem(h))}break}}return i}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigPieChartDataPopoverChange,contentKind:this.contentKind};D(e)}this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigPieChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)})}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return s`<calcite-list label class=${o(l.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(a.category);return s`<calcite-list label class=${o(l.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return s`<calcite-list label class=${o(l.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.aggregation:e=this.renderAggregationType();break;case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=s`<div slot=footer><calcite-fab class=${o(l.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),s`<div class=${o(l.jsAppFlyout)}><calcite-popover class=${o(l.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel class=${o(l.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(l.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};$("arcgis-charts-config-pie-chart-popover",C);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d)
3
+ v4.34.0-next.141 */
4
+ import{a as b}from"./SDOZOYK4.js";import{a as u}from"./ST2ZJMCB.js";import{b as T,c as S}from"./A6LRTAS2.js";import d from"./P5FIC5HD.js";import{h as a}from"./E5HL4UNI.js";import{a as E}from"./VQ5VIQLE.js";import c from"./VEG7HJR6.js";import{j as y,q as P}from"./KGJ5WGE7.js";import"./MYGR6XLT.js";import{d as r}from"./TJ7ONZVW.js";import"./W5ZLJK2P.js";import{A as o,F as $,g as k,h as s,l as m,w as g,x as p,y as v}from"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,{Oa:x,hc:w,jc:F,wa:L},{g:I,j:f,q:d,u:D}])=>{var l={jsAppFlyout:"js-app-flyout",name:"pie-chart-data-popover",numericFieldPickList:"pie-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",flipClass:"sort-counter-clockwise",panel:"panel"},K=k`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-counter-clockwise{transform:scaleX(-1)}.panel{max-height:60vh}`,C=class extends v{constructor(){super(...arguments),this._messages=E(),this.picklist=g(),this.popoverElement=g(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.arcgisChartsConfigPieChartDataPopoverChange=m(),this.arcgisChartsConfigPopoverClose=m()}static{this.properties={aggregationLabels:16,messageOverrides:0,headingTitle:3,referenceElement:2,open:7,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=K}async reposition(){await this.popoverElement.value?.reposition()}async willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=await Promise.all(f.map(async i=>await L(i)));y(this.aggregationLabels,t)||(this.aggregationLabels=t)}async updated(){T(this.popoverElement.value,this.open),setTimeout(async()=>{await this.picklist.value?.setFocus()},I.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=S(e,t)}buildAggregationPickListItems(){return b(f,e=>e,(e,t)=>s`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e,this.selectedContent)}></calcite-list-item>`)}buildSortOrder(){let e=Object.keys(r);return e.splice(e.indexOf(r.customSort),1),b(e,t=>t,t=>{let i="string",c="rotate",n="";switch(t){case r.labelAsc:i="string";break;case r.labelDesc:i="string",n=l.flipClass;break;case r.valueAsc:i="number";break;case r.valueDesc:i="number",n=l.flipClass;break;case r.customSort:}return s`<calcite-list-item .selected=${this.selectedContent===t} .label=${this._messages[t]} .value=${r[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${o(n)} slot=content-end .icon=${c}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return u(e.name,s`<calcite-list-item .label=${x(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${d(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let c=0;c<t;c+=1){let n=this.layerFieldsInfo[c];w(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let c=u(" ",s`<calcite-list-item label=" " value=" " .selected=${d("",this.selectedContent)}></calcite-list-item>`);i.push(c);for(let n=0;n<t;n+=1){let h=this.layerFieldsInfo[n];(F(h)||h.type===P.String)&&i.push(this.buildPickListItem(h))}break}}return i}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigPieChartDataPopoverChange,contentKind:this.contentKind};D(e)}this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigPieChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)})}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return s`<calcite-list label class=${o(l.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(a.category);return s`<calcite-list label class=${o(l.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return s`<calcite-list label class=${o(l.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.aggregation:e=this.renderAggregationType();break;case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=s`<div slot=footer><calcite-fab class=${o(l.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),s`<div class=${o(l.jsAppFlyout)}><calcite-popover class=${o(l.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel class=${o(l.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(l.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};$("arcgis-charts-config-pie-chart-popover",C);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import"./2QWQ4OO6.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd MMM",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide"};export{o as default};
3
+ v4.34.0-next.141 */
4
+ import"./2XVZHLDM.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd MMM",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide"};export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
3
+ v4.34.0-next.141 */
4
4
  var m=(e,o)=>{let t=e;for(;t;){if(t===o)return!0;if(!t.parentNode)return!1;t.parentNode instanceof ShadowRoot?t=t.parentNode.host:t=t.parentNode}return!1},f=(e,o,t)=>{let s=p(o).subscribe;return s(n=>{n.some(r=>m(e,r.target))&&t()})},l={},p=e=>{let o=e.join(","),t=l[o];if(t!==void 0)return t;let s=new Set,n=new MutationObserver(r=>s.forEach(a=>a(r)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let c={subscribe:r=>(s.add(r),()=>{s.delete(r),s.size===0&&(n.disconnect(),l[o]=void 0)})};return l[o]=c,c},b=(e,o)=>{let t=e;for(;t;){let s=t.closest?.(o);if(s)return s;let n=t.getRootNode?.();if(n===globalThis.document)return;t=n.host}};var T=e=>u(e,"dir","ltr"),u=(e,o,t)=>b(e,`[${o}]`)?.getAttribute(o)??t;var E="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),v=new Set(E),i="en",C={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},N=async(e,o,t="")=>{let s=`${o}/${t}`,n=`${s}${e}.json`;return d[n]??(d[n]=h(e,s)),await d[n]},d={},h=async(e,o)=>{let t=`${o}${e}.json`;try{let s=await fetch(t);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return e===i?{}:await h(i,o)},y=e=>{let o=u(e,"lang",globalThis.navigator?.language||i);return{lang:o,t9nLocale:g(o)}},g=e=>{let[o,t]=e.split("-"),s=o.toLowerCase(),n=s;return t&&(n=`${s}-${t.toUpperCase()}`),n=C[n]??n,v.has(n)?n:t?g(s):i},S=(e,o,t,s)=>{let n,c=()=>L(e,o(),s).then(r=>{(n?.lang!==r.lang||n.t9nLocale!==r.t9nLocale||n.t9nStrings!==r.t9nStrings)&&t(r),n=r}).catch(console.error);return queueMicrotask(c),f(e,["lang"],c)},L=async(e,o,t=e.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:n}=y(e),c=`${o}/${t}/t9n`,a=t===null?{}:await N(n,c,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}};export{T as a,v as b,N as c,y as d,S as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import h from"./SHQDGSG3.js";import g from"./NCWTKMDS.js";import f from"./BO4PC6EB.js";import e from"./XFXARLR4.js";import d from"./5TTY37US.js";import c from"./IKGOIFGA.js";import b from"./KHJJFCOK.js";import{i as o}from"./UFMXWZRQ.js";import a from"./R6WVH3C2.js";import"./OWU4Y4YU.js";import{c as v,d as B}from"./HDOHJONB.js";import"./TPMZEISU.js";import{a as M}from"./YA6EKA3B.js";import{G as w}from"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,,{A:F,D:U,Da:c,Oa:O,da:E,ka:x,v:I,x:h,y:g},{na:D,oa:N,pa:b},,{a:V,d:W,e:z},{a:A,b:T,c:k,d:P},q,{a:j,b:f,c:X,d:l},{A:me,B:de,C:y,D:u,E:pe,a:Y,b:m,c:G,d:H,e:d,f:p,g:J,h:K,i:Q,j:R,k:Z,l:$,m:ee,n:te,o:ie,p:se,q:oe,r:ne,s:ae,t:S,u:re,v:he,w:ge,x:ce,y:fe,z:le}])=>{var C=class extends V{constructor(){super(...arguments),this._chartType=M.BoxPlotSeries}static{this.supportsCustomSort=!0}async setup(e){await this.loadConfigFromLayer(e),this.commonStrings=await v(B(document.documentElement).t9nLocale,w("./assets/common/t9n"),"messages."),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}getCategory(){return Z(this._config)}async setCategory(e){await ne(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setCategory")}getNumericFields(){return ee(this._config)}async setNumericFields(e){let{layerFieldsInfo:t}=this.layerInfo;typeof e=="string"&&(e=[e]),N(t,e)?(await ae(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericFields")):console.log("Invalid numericFields")}getSplitByField(){return $(this._config)}async setSplitByField(e){D(this.layerInfo.layerFieldsInfo,e)?(await re(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setSplitByField")):console.log("Invalid splitByField")}getShowOutliers(){return he(this._config)}async setShowOutliers(e){await ge(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setShowOutliers")}getStandardizeValues(){return ie(this._config)}async setStandardizeValues(e){await ce(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setStandardizeValues")}getSortOrder(){return fe(this._config)}setSortOrder(e,t){le(e,this._config,t),this.emitConfigUpdate("setSortOrder")}async getCustomSortValues(){return await pe(this._config,this.layerInfo)}getOrderByList(){return y(this._config)}setOrderByList(e){u(e,this._config),this.emitConfigUpdate("setOrderByList")}async updateSeriesFromLayerFilter(){await te({splitByField:this.getSplitByField(),numericFields:this.getNumericFields(),category:this.getCategory(),config:this._config,layerInfo:this.layerInfo}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("updateSeriesFromLayerFilter")}getShowMeanLines(){return me(this._config)}async setShowMeanLines(e){let{previousMeanLinesBoxColor:t}=await de(e,this._config,this.previousMeanLinesBoxColor);this.previousMeanLinesBoxColor=t,this.emitConfigUpdate("setShowMeanLines")}getMeanLinesBoxColor(){return H(this._config)}setMeanLinesBoxColor(e){d(e,this._config),this.emitConfigUpdate("setMeanLinesBoxColor")}async generateDefaultConfig(){let e=await x();return e.series=[await E()],e}async resetConfig(){let e=this._config.id;this._config=await this.generateDefaultConfig(),this._config.id=e,this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}getSeriesName(e){return Y(e,this._config)}setSeriesName(e,t){m(e,t,this._config),this.emitConfigUpdate("setSeriesName")}getSeriesColor(e){return G(e,this._config)}setSeriesColor(e,t){p(e,t,this._config),this.emitConfigUpdate("setSeriesColor")}getSeriesLineStyle(e){let t=this._config.series[e];if(this.getShowMeanLines()===!0&&o(t))return j(t)}setSeriesLineStyle(e,t){let i=this._config.series[t];this.getShowMeanLines()===!0&&o(i)&&f(e,i),this.emitConfigUpdate("setSeriesLineStyle")}getSeriesLineWidth(e){let t=this._config.series[e];if(this.getShowMeanLines()===!0&&o(t))return X(t)}setSeriesLineWidth(e,t){let i=this._config.series[t];this.getShowMeanLines()===!0&&o(i)&&l(e,i),this.emitConfigUpdate("setSeriesLineWidth")}getOrderOfSeries(){return J(this._config)}setOrderOfSeries(e){K(e,this._config),this.emitConfigUpdate("setOrderOfSeries")}moveSeries(e,t){Q(e,t,this._config),this.emitConfigUpdate("moveSeries")}getBoxPlotSeriesIndexWhenMeanLinesShown(){return R(this._config)}moveCustomSortValuesInOrderByList(e,t){let i=y(this._config),[n]=i.splice(e,1);i.splice(t,0,n),u(i,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")}async generateChartTitle(){return await oe(this._config,this.layerInfo)}generateXAxisTitle(){let e=this.getCategory();return e!==F?O(this.layerInfo.layerFieldsInfo,e):""}async generateYAxisTitle(){return await se(this._config,this.layerInfo)}resetSeriesStyling(){let e=this.getSeriesLength(),t=this.getShowMeanLines();for(let i=t===!0?1:0;i<e;i+=1){let n=this.getSeriesId(i),r=U({colorIndex:i,opacity:I}),a=this._config.series[i];p(r,i,this._config);let s=S({series:a,splitByField:this.getSplitByField(),layerInfo:this.layerInfo,commonStrings:this.commonStrings});m(s??n,i,this._config),t===!0&&o(a)&&(f(h,a),l(g,a))}t===!0&&d(c,this._config),this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let e=!this.getColorMatch(),t=this.getShowMeanLines(),i=t===!0&&this.getMeanLinesBoxColor()!==c,n=!1,r=!1;if(!e){let a=this.getSeriesLength();for(let s=t===!0?1:0;s<a;s+=1){let _=this._config.series[s],L=S({series:_,splitByField:this.getSplitByField(),layerInfo:this.layerInfo,commonStrings:this.commonStrings}),Se=this.getSeriesName(s);if(L!==void 0&&L!==Se){n=!0;break}if(t===!0&&o(_)){let ye=this.getSeriesLineStyle(s),ue=this.getSeriesLineWidth(s);if(ye!==h||ue!==g){r=!0;break}}}}return e||i||n||r}};b(C,[z,T,k,A,q,P,W]);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d,e,f,g,h)
3
+ v4.34.0-next.141 */
4
+ import h from"./55WRJ6EE.js";import g from"./XSNKHCZM.js";import f from"./Y7MSPMNZ.js";import e from"./ZYXPDTGT.js";import d from"./OVB6R544.js";import c from"./RTFDYK3V.js";import b from"./D7TRGTNZ.js";import{i as o}from"./MGK2CNDN.js";import a from"./VEG7HJR6.js";import"./KGJ5WGE7.js";import{c as v,d as B}from"./MYGR6XLT.js";import"./TJ7ONZVW.js";import{a as M}from"./W5ZLJK2P.js";import{G as w}from"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,,{A:F,D:U,Da:c,Oa:O,da:E,ka:x,v:I,x:h,y:g},{na:D,oa:N,pa:b},,{a:V,d:W,e:z},{a:A,b:T,c:k,d:P},q,{a:j,b:f,c:X,d:l},{A:me,B:de,C:y,D:u,E:pe,a:Y,b:m,c:G,d:H,e:d,f:p,g:J,h:K,i:Q,j:R,k:Z,l:$,m:ee,n:te,o:ie,p:se,q:oe,r:ne,s:ae,t:S,u:re,v:he,w:ge,x:ce,y:fe,z:le}])=>{var C=class extends V{constructor(){super(...arguments),this._chartType=M.BoxPlotSeries}static{this.supportsCustomSort=!0}async setup(e){await this.loadConfigFromLayer(e),this.commonStrings=await v(B(document.documentElement).t9nLocale,w("./assets/common/t9n"),"messages."),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}getCategory(){return Z(this._config)}async setCategory(e){await ne(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setCategory")}getNumericFields(){return ee(this._config)}async setNumericFields(e){let{layerFieldsInfo:t}=this.layerInfo;typeof e=="string"&&(e=[e]),N(t,e)?(await ae(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericFields")):console.log("Invalid numericFields")}getSplitByField(){return $(this._config)}async setSplitByField(e){D(this.layerInfo.layerFieldsInfo,e)?(await re(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setSplitByField")):console.log("Invalid splitByField")}getShowOutliers(){return he(this._config)}async setShowOutliers(e){await ge(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setShowOutliers")}getStandardizeValues(){return ie(this._config)}async setStandardizeValues(e){await ce(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setStandardizeValues")}getSortOrder(){return fe(this._config)}setSortOrder(e,t){le(e,this._config,t),this.emitConfigUpdate("setSortOrder")}async getCustomSortValues(){return await pe(this._config,this.layerInfo)}getOrderByList(){return y(this._config)}setOrderByList(e){u(e,this._config),this.emitConfigUpdate("setOrderByList")}async updateSeriesFromLayerFilter(){await te({splitByField:this.getSplitByField(),numericFields:this.getNumericFields(),category:this.getCategory(),config:this._config,layerInfo:this.layerInfo}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("updateSeriesFromLayerFilter")}getShowMeanLines(){return me(this._config)}async setShowMeanLines(e){let{previousMeanLinesBoxColor:t}=await de(e,this._config,this.previousMeanLinesBoxColor);this.previousMeanLinesBoxColor=t,this.emitConfigUpdate("setShowMeanLines")}getMeanLinesBoxColor(){return H(this._config)}setMeanLinesBoxColor(e){d(e,this._config),this.emitConfigUpdate("setMeanLinesBoxColor")}async generateDefaultConfig(){let e=await x();return e.series=[await E()],e}async resetConfig(){let e=this._config.id;this._config=await this.generateDefaultConfig(),this._config.id=e,this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}getSeriesName(e){return Y(e,this._config)}setSeriesName(e,t){m(e,t,this._config),this.emitConfigUpdate("setSeriesName")}getSeriesColor(e){return G(e,this._config)}setSeriesColor(e,t){p(e,t,this._config),this.emitConfigUpdate("setSeriesColor")}getSeriesLineStyle(e){let t=this._config.series[e];if(this.getShowMeanLines()===!0&&o(t))return j(t)}setSeriesLineStyle(e,t){let i=this._config.series[t];this.getShowMeanLines()===!0&&o(i)&&f(e,i),this.emitConfigUpdate("setSeriesLineStyle")}getSeriesLineWidth(e){let t=this._config.series[e];if(this.getShowMeanLines()===!0&&o(t))return X(t)}setSeriesLineWidth(e,t){let i=this._config.series[t];this.getShowMeanLines()===!0&&o(i)&&l(e,i),this.emitConfigUpdate("setSeriesLineWidth")}getOrderOfSeries(){return J(this._config)}setOrderOfSeries(e){K(e,this._config),this.emitConfigUpdate("setOrderOfSeries")}moveSeries(e,t){Q(e,t,this._config),this.emitConfigUpdate("moveSeries")}getBoxPlotSeriesIndexWhenMeanLinesShown(){return R(this._config)}moveCustomSortValuesInOrderByList(e,t){let i=y(this._config),[n]=i.splice(e,1);i.splice(t,0,n),u(i,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")}async generateChartTitle(){return await oe(this._config,this.layerInfo)}generateXAxisTitle(){let e=this.getCategory();return e!==F?O(this.layerInfo.layerFieldsInfo,e):""}async generateYAxisTitle(){return await se(this._config,this.layerInfo)}resetSeriesStyling(){let e=this.getSeriesLength(),t=this.getShowMeanLines();for(let i=t===!0?1:0;i<e;i+=1){let n=this.getSeriesId(i),r=U({colorIndex:i,opacity:I}),a=this._config.series[i];p(r,i,this._config);let s=S({series:a,splitByField:this.getSplitByField(),layerInfo:this.layerInfo,commonStrings:this.commonStrings});m(s??n,i,this._config),t===!0&&o(a)&&(f(h,a),l(g,a))}t===!0&&d(c,this._config),this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let e=!this.getColorMatch(),t=this.getShowMeanLines(),i=t===!0&&this.getMeanLinesBoxColor()!==c,n=!1,r=!1;if(!e){let a=this.getSeriesLength();for(let s=t===!0?1:0;s<a;s+=1){let _=this._config.series[s],L=S({series:_,splitByField:this.getSplitByField(),layerInfo:this.layerInfo,commonStrings:this.commonStrings}),Se=this.getSeriesName(s);if(L!==void 0&&L!==Se){n=!0;break}if(t===!0&&o(_)){let ye=this.getSeriesLineStyle(s),ue=this.getSeriesLineWidth(s);if(ye!==h||ue!==g){r=!0;break}}}}return e||i||n||r}};b(C,[z,T,k,A,q,P,W]);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d,e,f,g,h)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import d from"./5TTY37US.js";import c from"./IKGOIFGA.js";import b from"./KHJJFCOK.js";import"./UFMXWZRQ.js";import a from"./R6WVH3C2.js";import"./OWU4Y4YU.js";import"./HDOHJONB.js";import"./TPMZEISU.js";import{a as o,b as l,s as y}from"./YA6EKA3B.js";import"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,,{J:d,S:m,_:a,ha:g,oa:x},{c:b,pa:C},,{a:_,b:v,c:I}])=>{var A=t=>t.axes[0].needle?.visible??!0,w=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.visible=t},T=t=>t.axes[0].needle?.symbol,F=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.symbol=t},N=t=>t.axes[0].needle?.startWidth,U=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.startWidth=t},E=t=>t.axes[0].needle?.endWidth,V=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.endWidth=t},W=t=>t.axes[0].needle?.innerRadius,D=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.innerRadius=t},R=t=>t.axes[0].needle?.displayPin??!1,k=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.displayPin=t},G=t=>t.axes[0].innerLabel?.visible??!0,M=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),e.axes[0].innerLabel.visible=t},$=t=>t.axes[0].innerLabel?.content,P=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),t!==void 0&&(e.axes[0].innerLabel.content=t)},q=t=>t.axes[0].ticks?.visible??!0,O=(t,e)=>{e.axes[0].ticks===void 0&&(e.axes[0].ticks={type:o.GaugeAxisTick}),e.axes[0].ticks.visible=t},j=t=>t.axes[0].labelsIncrement,z=(t,e)=>{e.axes[0].labelsIncrement=t},B=t=>t.axes[0].onlyShowFirstAndLastLabels??!1,H=(t,e)=>{e.axes[0].onlyShowFirstAndLastLabels=t},J=t=>t.series[0]?.valueConversion,K=(t,e)=>{e.series[0]!==void 0&&(e.series[0].valueConversion=t)},S=t=>t.series[0]?.featureIndex,L=async(t,e,i)=>{let s=p(e),n=f(e);t===null?delete e.series[0].featureIndex:e.series[0]!==void 0&&(e.series[0].featureIndex=t),await h({config:e,layerInfo:i,field:s,aggregationType:n})},Q=t=>t.subType??y.StatisticGauge,X=t=>{let{config:e,field:i,aggregationType:s}=t;if(s!==l.NoAggregation){let n=S(e),r=u(n)?{}:{outStatistics:[{statisticType:s,onStatisticField:i,outStatisticFieldName:`${s}_${i}`}]};e.series[0].query=r}},Y=async t=>{let{config:e,layerInfo:i,field:s,aggregationType:n}=t;e.title&&(e.title.content.text=await b({config:e,layerInfo:i,numericFields:[s],aggregationType:n}))},h=async t=>{let{config:e,field:i,aggregationType:s}=t;e.series[0]===void 0&&(e.series=[g({})]);let n=u(e.series[0]?.featureIndex),r=n?i:`${s}_${i}`;n&&i.startsWith(`${s}_`)&&(r=i.replace(`${s}_`,"")),e.series[0].x=r,X({config:e,field:i,aggregationType:s}),await Y(t)},f=t=>t.series[0]?.query?.outStatistics?.[0]?.statisticType??l.Count,Z=async(t,e,i)=>{let s=p(e);await h({config:e,layerInfo:i,field:s,aggregationType:t})},u=t=>typeof t=="number"&&t>=0,p=t=>u(t.series[0]?.featureIndex)?t.series[0]?.x:t.series[0]?.query?.outStatistics?.[0]?.onStatisticField??"",ee=async(t,e,i)=>{let s=f(e);await h({config:e,layerInfo:i,field:t,aggregationType:s})},te=t=>t.innerRadius??50,ie=(t,e)=>{e.innerRadius=t},se=t=>t.startAngle??-90,ne=(t,e)=>{e.startAngle=t},ae=t=>t.endAngle??270,re=(t,e)=>{e.endAngle=t};async function oe(){return await m()}var c=class extends _{constructor(){super(...arguments),this._chartType=o.GaugeSeries}async generateChartTitle(){return await oe()}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}getField(){return p(this._config)}async setField(e){await ee(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setField")}getAggregationType(){return f(this._config)}async setAggregationType(e){await Z(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setAggregationType")}getInnerRadius(){return te(this._config)}setInnerRadius(e){ie(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setInnerRadius")}getStartAngle(){return se(this._config)}setStartAngle(e){ne(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setStartAngle")}getEndAngle(){return ae(this._config)}setEndAngle(e){re(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setEndAngle")}getValueConversion(){return J(this._config)}setValueConversion(e){K(e,this._config),this.emitConfigUpdate("setValueConversion")}getFeatureIndex(){return S(this._config)}async setFeatureIndex(e){await L(e,this._config,this.layerInfo),this.emitConfigUpdate("setFeatureIndex")}removeFeatureIndex(){L(null,this._config,this.layerInfo),this.emitConfigUpdate("removeFeatureIndex")}getGaugeSubType(){return Q(this._config)}getNeedleVisibility(){return A(this._config)}setNeedleVisibility(e){w(e,this._config),this.emitConfigUpdate("setNeedleVisibility")}getNeedleSymbol(){return T(this._config)}setNeedleSymbol(e){F(e,this._config),this.emitConfigUpdate("setNeedleSymbol")}getNeedleStartWidth(){return N(this._config)}setNeedleStartWidth(e){U(e,this._config),this.emitConfigUpdate("setNeedleStartWidth")}getNeedleEndWidth(){return E(this._config)}setNeedleEndWidth(e){V(e,this._config),this.emitConfigUpdate("setNeedleEndWidth")}getNeedleInnerRadius(){return W(this._config)}setNeedleInnerRadius(e){D(e,this._config),this.emitConfigUpdate("setNeedleInnerRadius")}getNeedleDisplayPin(){return R(this._config)}setNeedleDisplayPin(e){k(e,this._config),this.emitConfigUpdate("setNeedleDisplayPin")}getInnerLabelVisible(){return G(this._config)}setInnerLabelVisibility(e){M(e,this._config),this.emitConfigUpdate("setInnerLabelVisibility")}getInnerLabelContent(){return $(this._config)}setInnerLabelContent(e){P(e,this._config),this.emitConfigUpdate("setInnerLabelContent")}getAxisTickVisibility(){return q(this._config)}setAxisTickVisibility(e){O(e,this._config),this.emitConfigUpdate("setAxisTickVisibility")}getLabelsIncrement(){return j(this._config)}setLabelsIncrement(e){z(e,this._config),this.emitConfigUpdate("setLabelsIncrement")}getOnlyShowFirstAndLastLabels(){return B(this._config)}setOnlyShowFirstAndLastLabels(e){H(e,this._config),this.emitConfigUpdate("setOnlyShowFirstAndLastLabels")}async generateDefaultConfig(){let e=await x();return e.series=[g({objectIDField:this.layerInfo?.objectIdField})],e}};C(c,[v,I]);return c},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d)
3
+ v4.34.0-next.141 */
4
+ import d from"./OVB6R544.js";import c from"./RTFDYK3V.js";import b from"./D7TRGTNZ.js";import"./MGK2CNDN.js";import a from"./VEG7HJR6.js";import"./KGJ5WGE7.js";import"./MYGR6XLT.js";import"./TJ7ONZVW.js";import{a as o,b as l,s as y}from"./W5ZLJK2P.js";import"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,,{J:d,S:m,_:a,ha:g,oa:x},{c:b,pa:C},,{a:_,b:v,c:I}])=>{var A=t=>t.axes[0].needle?.visible??!0,w=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.visible=t},T=t=>t.axes[0].needle?.symbol,F=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.symbol=t},N=t=>t.axes[0].needle?.startWidth,U=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.startWidth=t},E=t=>t.axes[0].needle?.endWidth,V=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.endWidth=t},W=t=>t.axes[0].needle?.innerRadius,D=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.innerRadius=t},R=t=>t.axes[0].needle?.displayPin??!1,k=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.displayPin=t},G=t=>t.axes[0].innerLabel?.visible??!0,M=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),e.axes[0].innerLabel.visible=t},$=t=>t.axes[0].innerLabel?.content,P=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),t!==void 0&&(e.axes[0].innerLabel.content=t)},q=t=>t.axes[0].ticks?.visible??!0,O=(t,e)=>{e.axes[0].ticks===void 0&&(e.axes[0].ticks={type:o.GaugeAxisTick}),e.axes[0].ticks.visible=t},j=t=>t.axes[0].labelsIncrement,z=(t,e)=>{e.axes[0].labelsIncrement=t},B=t=>t.axes[0].onlyShowFirstAndLastLabels??!1,H=(t,e)=>{e.axes[0].onlyShowFirstAndLastLabels=t},J=t=>t.series[0]?.valueConversion,K=(t,e)=>{e.series[0]!==void 0&&(e.series[0].valueConversion=t)},S=t=>t.series[0]?.featureIndex,L=async(t,e,i)=>{let s=p(e),n=f(e);t===null?delete e.series[0].featureIndex:e.series[0]!==void 0&&(e.series[0].featureIndex=t),await h({config:e,layerInfo:i,field:s,aggregationType:n})},Q=t=>t.subType??y.StatisticGauge,X=t=>{let{config:e,field:i,aggregationType:s}=t;if(s!==l.NoAggregation){let n=S(e),r=u(n)?{}:{outStatistics:[{statisticType:s,onStatisticField:i,outStatisticFieldName:`${s}_${i}`}]};e.series[0].query=r}},Y=async t=>{let{config:e,layerInfo:i,field:s,aggregationType:n}=t;e.title&&(e.title.content.text=await b({config:e,layerInfo:i,numericFields:[s],aggregationType:n}))},h=async t=>{let{config:e,field:i,aggregationType:s}=t;e.series[0]===void 0&&(e.series=[g({})]);let n=u(e.series[0]?.featureIndex),r=n?i:`${s}_${i}`;n&&i.startsWith(`${s}_`)&&(r=i.replace(`${s}_`,"")),e.series[0].x=r,X({config:e,field:i,aggregationType:s}),await Y(t)},f=t=>t.series[0]?.query?.outStatistics?.[0]?.statisticType??l.Count,Z=async(t,e,i)=>{let s=p(e);await h({config:e,layerInfo:i,field:s,aggregationType:t})},u=t=>typeof t=="number"&&t>=0,p=t=>u(t.series[0]?.featureIndex)?t.series[0]?.x:t.series[0]?.query?.outStatistics?.[0]?.onStatisticField??"",ee=async(t,e,i)=>{let s=f(e);await h({config:e,layerInfo:i,field:t,aggregationType:s})},te=t=>t.innerRadius??50,ie=(t,e)=>{e.innerRadius=t},se=t=>t.startAngle??-90,ne=(t,e)=>{e.startAngle=t},ae=t=>t.endAngle??270,re=(t,e)=>{e.endAngle=t};async function oe(){return await m()}var c=class extends _{constructor(){super(...arguments),this._chartType=o.GaugeSeries}async generateChartTitle(){return await oe()}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}getField(){return p(this._config)}async setField(e){await ee(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setField")}getAggregationType(){return f(this._config)}async setAggregationType(e){await Z(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setAggregationType")}getInnerRadius(){return te(this._config)}setInnerRadius(e){ie(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setInnerRadius")}getStartAngle(){return se(this._config)}setStartAngle(e){ne(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setStartAngle")}getEndAngle(){return ae(this._config)}setEndAngle(e){re(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setEndAngle")}getValueConversion(){return J(this._config)}setValueConversion(e){K(e,this._config),this.emitConfigUpdate("setValueConversion")}getFeatureIndex(){return S(this._config)}async setFeatureIndex(e){await L(e,this._config,this.layerInfo),this.emitConfigUpdate("setFeatureIndex")}removeFeatureIndex(){L(null,this._config,this.layerInfo),this.emitConfigUpdate("removeFeatureIndex")}getGaugeSubType(){return Q(this._config)}getNeedleVisibility(){return A(this._config)}setNeedleVisibility(e){w(e,this._config),this.emitConfigUpdate("setNeedleVisibility")}getNeedleSymbol(){return T(this._config)}setNeedleSymbol(e){F(e,this._config),this.emitConfigUpdate("setNeedleSymbol")}getNeedleStartWidth(){return N(this._config)}setNeedleStartWidth(e){U(e,this._config),this.emitConfigUpdate("setNeedleStartWidth")}getNeedleEndWidth(){return E(this._config)}setNeedleEndWidth(e){V(e,this._config),this.emitConfigUpdate("setNeedleEndWidth")}getNeedleInnerRadius(){return W(this._config)}setNeedleInnerRadius(e){D(e,this._config),this.emitConfigUpdate("setNeedleInnerRadius")}getNeedleDisplayPin(){return R(this._config)}setNeedleDisplayPin(e){k(e,this._config),this.emitConfigUpdate("setNeedleDisplayPin")}getInnerLabelVisible(){return G(this._config)}setInnerLabelVisibility(e){M(e,this._config),this.emitConfigUpdate("setInnerLabelVisibility")}getInnerLabelContent(){return $(this._config)}setInnerLabelContent(e){P(e,this._config),this.emitConfigUpdate("setInnerLabelContent")}getAxisTickVisibility(){return q(this._config)}setAxisTickVisibility(e){O(e,this._config),this.emitConfigUpdate("setAxisTickVisibility")}getLabelsIncrement(){return j(this._config)}setLabelsIncrement(e){z(e,this._config),this.emitConfigUpdate("setLabelsIncrement")}getOnlyShowFirstAndLastLabels(){return B(this._config)}setOnlyShowFirstAndLastLabels(e){H(e,this._config),this.emitConfigUpdate("setOnlyShowFirstAndLastLabels")}async generateDefaultConfig(){let e=await x();return e.series=[g({objectIDField:this.layerInfo?.objectIdField})],e}};C(c,[v,I]);return c},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import{b as g}from"./KZMHB2FD.js";import c from"./ANQPRITQ.js";import"./UK2JWTFS.js";import{a as d}from"./ELUNJ2T7.js";import b from"./R6WVH3C2.js";import"./OWU4Y4YU.js";import"./HDOHJONB.js";import{k as e}from"./TPMZEISU.js";import"./YA6EKA3B.js";import{A as o,F as h,g as l,h as i,l as a,w as r,x as n,y as p}from"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,,{g:m}])=>{var s={selectChartComponent:"select-chart-component",jsAppFlyout:"js-app-flyout",panel:"panel"},f=l`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`,c=class extends p{constructor(){super(...arguments),this._messages=d(),this.selectChartTypePopover=r(),this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSelectChartTypeChange=a()}static{this.properties={messageOverrides:0,headerTitle:3,layerId:3,open:7,referenceElement:0,popoverPlacement:3,selectedModelType:3}}static{this.styles=f}async reposition(){await this.selectChartTypePopover.value?.reposition()}updated(){g(this.selectChartTypePopover.value,this.open),this.hasUpdated||setTimeout(()=>{this.selectChartTypePopover.value?.reposition()},m.PopoverTimer)}buildChartTypesList(){return i`<calcite-list label @click=${this.onChartTypeClick}><calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType===e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.lineChart} .value=${e.LineChart} .selected=${this.selectedModelType===e.LineChart}><calcite-icon slot=content-start icon=graph-time-series></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.pieChart} .value=${e.PieChart} .selected=${this.selectedModelType===e.PieChart}><calcite-icon slot=content-start icon=pie-chart></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType===e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType===e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.boxPlot} .value=${e.BoxPlot} .selected=${this.selectedModelType===e.BoxPlot}><calcite-icon slot=content-start icon=box-chart></calcite-icon></calcite-list-item></calcite-list>`}onChartTypeClick(t){t.target?.localName==="calcite-list-item"?this.selectedModelType=t.target?.value:this.selectedModelType=t.target?.parentNode?.value,this.arcgisChartsConfigSelectChartTypeChange.emit()}popoverOpen(){setTimeout(async()=>await this.selectChartTypePopover.value?.setFocus(),250)}popoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit(),setTimeout(async()=>await this.referenceElement?.setFocus(),250)}render(){return i`<div class=${o({[s.selectChartComponent]:!0,[s.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top","bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${n(this.selectChartTypePopover)}><calcite-panel class=${o(s.panel)} .heading=${this.headerTitle??this._messages.chooseChartType} closable @calcitePanelClose=${this.popoverClose} .closed=${!this.open}>${this.buildChartTypesList()}</calcite-panel></calcite-popover></div>`}};h("arcgis-charts-config-select-chart-type-popover",c);return c},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c)
3
+ v4.34.0-next.141 */
4
+ import{b as g}from"./A6LRTAS2.js";import c from"./P5FIC5HD.js";import"./E5HL4UNI.js";import{a as d}from"./VQ5VIQLE.js";import b from"./VEG7HJR6.js";import"./KGJ5WGE7.js";import"./MYGR6XLT.js";import{k as e}from"./TJ7ONZVW.js";import"./W5ZLJK2P.js";import{A as o,F as h,g as l,h as i,l as a,w as r,x as n,y as p}from"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,,{g:m}])=>{var s={selectChartComponent:"select-chart-component",jsAppFlyout:"js-app-flyout",panel:"panel"},f=l`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`,c=class extends p{constructor(){super(...arguments),this._messages=d(),this.selectChartTypePopover=r(),this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSelectChartTypeChange=a()}static{this.properties={messageOverrides:0,headerTitle:3,layerId:3,open:7,referenceElement:0,popoverPlacement:3,selectedModelType:3}}static{this.styles=f}async reposition(){await this.selectChartTypePopover.value?.reposition()}updated(){g(this.selectChartTypePopover.value,this.open),this.hasUpdated||setTimeout(()=>{this.selectChartTypePopover.value?.reposition()},m.PopoverTimer)}buildChartTypesList(){return i`<calcite-list label @click=${this.onChartTypeClick}><calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType===e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.lineChart} .value=${e.LineChart} .selected=${this.selectedModelType===e.LineChart}><calcite-icon slot=content-start icon=graph-time-series></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.pieChart} .value=${e.PieChart} .selected=${this.selectedModelType===e.PieChart}><calcite-icon slot=content-start icon=pie-chart></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType===e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType===e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.boxPlot} .value=${e.BoxPlot} .selected=${this.selectedModelType===e.BoxPlot}><calcite-icon slot=content-start icon=box-chart></calcite-icon></calcite-list-item></calcite-list>`}onChartTypeClick(t){t.target?.localName==="calcite-list-item"?this.selectedModelType=t.target?.value:this.selectedModelType=t.target?.parentNode?.value,this.arcgisChartsConfigSelectChartTypeChange.emit()}popoverOpen(){setTimeout(async()=>await this.selectChartTypePopover.value?.setFocus(),250)}popoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit(),setTimeout(async()=>await this.referenceElement?.setFocus(),250)}render(){return i`<div class=${o({[s.selectChartComponent]:!0,[s.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top","bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${n(this.selectChartTypePopover)}><calcite-panel class=${o(s.panel)} .heading=${this.headerTitle??this._messages.chooseChartType} closable @calcitePanelClose=${this.popoverClose} .closed=${!this.open}>${this.buildChartTypesList()}</calcite-panel></calcite-popover></div>`}};h("arcgis-charts-config-select-chart-type-popover",c);return c},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import"./2QWQ4OO6.js";var d={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};
3
+ v4.34.0-next.141 */
4
+ import"./2XVZHLDM.js";var d={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import l from"./IVJW6PZS.js";import k from"./6EHITSKL.js";import j from"./NAI2FCRE.js";import i from"./NCWTKMDS.js";import h from"./BO4PC6EB.js";import f from"./XFXARLR4.js";import e from"./5TTY37US.js";import d from"./IKGOIFGA.js";import c from"./KHJJFCOK.js";import{i as o,k as n,l as g}from"./UFMXWZRQ.js";import b from"./R6WVH3C2.js";import"./OWU4Y4YU.js";import"./HDOHJONB.js";import"./TPMZEISU.js";import{a}from"./YA6EKA3B.js";import"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,{$:l,ca:c,ja:d},,,,,,,{b:h,c:S},{a:m,b:p,c:_,d:b,e:y,f:u,g:C,h:k,i:L,j:v,k:I,l:B,m:M,n:f,o:U,p:V,q:z,t:F,u:j},{a:w,b:D,c:O,d:A}])=>{var T=class extends S{constructor(){super(...arguments),this._chartType=a.ComboLineAndBarSeries}getConfig(){return this._config}async setup(e){await this.loadConfigFromLayer(e),e.config!==void 0&&(g(e.config?.series)&&await this.initDefaultSeries(),await this.updateSeriesFromLayerFilter()),typeof this.resolveSetup=="function"&&this.resolveSetup()}async generateDefaultConfig(){let e=await d();return e.series=[await c({objectIDField:this.layerInfo?.objectIdField})],e}async initDefaultSeries(){this.defaultSeries=await l({objectIDField:this.layerInfo?.objectIdField})}async setSeriesType(e,i){if(e<this._config.series.length&&e>=0){let s=this._config.series[e],r;if(i===a.BarSeries&&o(s)){let t={...s};delete t.lineSymbol,delete t.markerSymbol,delete t.lineSmoothed,delete t.markerVisible,delete t.areaColor,delete t.stackNegativeValuesToBaseline,r={...await c({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.BarSeries,y:[s.y].flat()[0]},r.fillSymbol&&(r.fillSymbol={...r.fillSymbol,color:s.lineSymbol?.color})}else if(i===a.LineSeries&&n(s)){let t={...s};delete t.fillSymbol,delete t.hideOversizedStackedLabels,delete t.hideOversizedSideBySideLabels,r={...await l({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.LineSeries},r.lineSymbol&&(r.lineSymbol={...r.lineSymbol,color:s.fillSymbol?.color})}r!==void 0&&(this._config.series[e]=r,this.emitConfigUpdate("setDataType"))}}getSeriesLineStyle(e){return m(e,this._config)}setSeriesLineStyle(e,i){let s=this._config.series?.[i];o(s)&&(p(e,i,this._config),this.emitConfigUpdate("setSeriesLineStyle"))}getSeriesLineWidth(e){return _(e,this._config)}setSeriesLineWidth(e,i){let s=this._config.series?.[i];o(s)&&(b(e,i,this._config),this.emitConfigUpdate("setSeriesLineWidth"))}getSeriesMarkerColor(e){return y(e,this._config)}setSeriesMarkerColor(e,i){let s=this._config.series?.[i];o(s)&&(u(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerColor"))}getSeriesMarkerStyle(e){return C(e,this._config)}setSeriesMarkerStyle(e,i){let s=this._config.series?.[i];o(s)&&(k(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerStyle"))}getSeriesMarkerSize(e){return L(e,this._config)}setSeriesMarkerSize(e,i){let s=this._config.series?.[i];o(s)&&(v(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerSize"))}isLineSmoothed(e){return I(e,this._config)}setLineSmoothed(e,i){let s=this._config.series?.[i];o(s)&&(B({smoothed:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setLineSmoothed"))}isAreaVisible(e){return M(e,this._config)}setAreaVisible(e,i){let s=this._config.series?.[i];o(s)&&(f({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setAreaVisible"))}isMarkerVisible(e){return U(e,this._config)}setMarkerVisible(e,i){let s=this._config.series?.[i];o(s)&&(V({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setMarkerVisible"))}getAreaColor(e){return z(e,this._config)}setAreaColor(e,i){let s=this._config.series?.[i];o(s)&&(f({visible:!0,seriesIndex:i,config:this._config}),h(e,i,this._config),this.emitConfigUpdate("setAreaColor"))}isNegativeValuesStackedToBaseline(e){return F(e,this._config)}setNegativeValuesStackedToBaseline(e,i){let s=this._config.series?.[i];o(s)&&(j({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setNegativeValuesStackedToBaseline"))}getSeriesHideOversizedSideBySideLabels(e){return w(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){let s=this._config.series?.[i];n(s)&&(D(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels"))}getSeriesHideOversizedStackedLabels(e){return O(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){let s=this._config.series?.[i];n(s)&&(A(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels"))}};return T},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,d,e,f,h,i,j,k,l)
3
+ v4.34.0-next.141 */
4
+ import l from"./X4DQRZSJ.js";import k from"./GZG2VR4N.js";import j from"./SNHACTDO.js";import i from"./XSNKHCZM.js";import h from"./Y7MSPMNZ.js";import f from"./ZYXPDTGT.js";import e from"./OVB6R544.js";import d from"./RTFDYK3V.js";import c from"./D7TRGTNZ.js";import{i as o,k as n,l as g}from"./MGK2CNDN.js";import b from"./VEG7HJR6.js";import"./KGJ5WGE7.js";import"./MYGR6XLT.js";import"./TJ7ONZVW.js";import{a}from"./W5ZLJK2P.js";import"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,{$:l,ca:c,ja:d},,,,,,,{b:h,c:S},{a:m,b:p,c:_,d:b,e:y,f:u,g:C,h:k,i:L,j:v,k:I,l:B,m:M,n:f,o:U,p:V,q:z,t:F,u:j},{a:w,b:D,c:O,d:A}])=>{var T=class extends S{constructor(){super(...arguments),this._chartType=a.ComboLineAndBarSeries}getConfig(){return this._config}async setup(e){await this.loadConfigFromLayer(e),e.config!==void 0&&(g(e.config?.series)&&await this.initDefaultSeries(),await this.updateSeriesFromLayerFilter()),typeof this.resolveSetup=="function"&&this.resolveSetup()}async generateDefaultConfig(){let e=await d();return e.series=[await c({objectIDField:this.layerInfo?.objectIdField})],e}async initDefaultSeries(){this.defaultSeries=await l({objectIDField:this.layerInfo?.objectIdField})}async setSeriesType(e,i){if(e<this._config.series.length&&e>=0){let s=this._config.series[e],r;if(i===a.BarSeries&&o(s)){let t={...s};delete t.lineSymbol,delete t.markerSymbol,delete t.lineSmoothed,delete t.markerVisible,delete t.areaColor,delete t.stackNegativeValuesToBaseline,r={...await c({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.BarSeries,y:[s.y].flat()[0]},r.fillSymbol&&(r.fillSymbol={...r.fillSymbol,color:s.lineSymbol?.color})}else if(i===a.LineSeries&&n(s)){let t={...s};delete t.fillSymbol,delete t.hideOversizedStackedLabels,delete t.hideOversizedSideBySideLabels,r={...await l({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.LineSeries},r.lineSymbol&&(r.lineSymbol={...r.lineSymbol,color:s.fillSymbol?.color})}r!==void 0&&(this._config.series[e]=r,this.emitConfigUpdate("setDataType"))}}getSeriesLineStyle(e){return m(e,this._config)}setSeriesLineStyle(e,i){let s=this._config.series?.[i];o(s)&&(p(e,i,this._config),this.emitConfigUpdate("setSeriesLineStyle"))}getSeriesLineWidth(e){return _(e,this._config)}setSeriesLineWidth(e,i){let s=this._config.series?.[i];o(s)&&(b(e,i,this._config),this.emitConfigUpdate("setSeriesLineWidth"))}getSeriesMarkerColor(e){return y(e,this._config)}setSeriesMarkerColor(e,i){let s=this._config.series?.[i];o(s)&&(u(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerColor"))}getSeriesMarkerStyle(e){return C(e,this._config)}setSeriesMarkerStyle(e,i){let s=this._config.series?.[i];o(s)&&(k(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerStyle"))}getSeriesMarkerSize(e){return L(e,this._config)}setSeriesMarkerSize(e,i){let s=this._config.series?.[i];o(s)&&(v(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerSize"))}isLineSmoothed(e){return I(e,this._config)}setLineSmoothed(e,i){let s=this._config.series?.[i];o(s)&&(B({smoothed:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setLineSmoothed"))}isAreaVisible(e){return M(e,this._config)}setAreaVisible(e,i){let s=this._config.series?.[i];o(s)&&(f({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setAreaVisible"))}isMarkerVisible(e){return U(e,this._config)}setMarkerVisible(e,i){let s=this._config.series?.[i];o(s)&&(V({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setMarkerVisible"))}getAreaColor(e){return z(e,this._config)}setAreaColor(e,i){let s=this._config.series?.[i];o(s)&&(f({visible:!0,seriesIndex:i,config:this._config}),h(e,i,this._config),this.emitConfigUpdate("setAreaColor"))}isNegativeValuesStackedToBaseline(e){return F(e,this._config)}setNegativeValuesStackedToBaseline(e,i){let s=this._config.series?.[i];o(s)&&(j({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setNegativeValuesStackedToBaseline"))}getSeriesHideOversizedSideBySideLabels(e){return w(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){let s=this._config.series?.[i];n(s)&&(D(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels"))}getSeriesHideOversizedStackedLabels(e){return O(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){let s=this._config.series?.[i];n(s)&&(A(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels"))}};return T},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,d,e,f,h,i,j,k,l)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.140 */
4
- import{a as P}from"./2V3INN4M.js";import{a as w}from"./KZMHB2FD.js";import{h as r}from"./UK2JWTFS.js";import{a as F}from"./ELUNJ2T7.js";import a from"./R6WVH3C2.js";import"./OWU4Y4YU.js";import"./HDOHJONB.js";import{e as g}from"./TPMZEISU.js";import{b as y}from"./YA6EKA3B.js";import{A as o,D as v,F as b,g as C,h as s,l as d,w as n,x as h,y as u}from"./QT2UDODS.js";import"./2QWQ4OO6.js";export default $arcgis.t(([,,,,,,,{Oa:m,b:l,gc:$}])=>{var c={label:"label",fieldList:"field-list",fab:"fab"},k=C`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}`,p=class extends u{constructor(){super(...arguments),this._messages=F(),this.pieChartPopover=null,this.sortOrderElement=n(),this.categoryElement=n(),this.numericFieldsElement=n(),this.onPieChartDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:t}=e.detail,i=[...e.detail.value];switch(t){case r.aggregation:await this.model.setAggregationType(i[0]!==y.NoAggregation?i[0]:"");break;case r.category:{let a=i[0]?.trim()||"";this.updateMode(a);let f=this.model.getNumericFields();f.length>1&&a!==l&&await this.model.setNumericFields([f[0]]),await this.model.setCategory(a),this.model.setColorMatch(!0);break}case r.numericFields:i.length>1&&(this.updateMode(l),await this.model.setCategory(l)),await this.model.setNumericFields(i);break;case r.sortOrder:this.model.setSortOrder(i[0]);break;default:break}}}catch(t){throw this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}this.requestUpdate()},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.pieChartPopover===e?.target&&this.removePieChartDataPopover()},this.layerFieldsInfo=[],this.arcgisChartsConfigDataChangeError=d(),this.arcgisChartsConfigPieChartDataNumericFieldValidate=d()}static{this.properties={messageOverrides:0,model:0,layerFieldsInfo:0}}static{this.styles=k}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removePieChartDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}buildNumericFieldItem(e){return P(e,s`<calcite-list-item .label=${m(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}onSortOrderSelect(e){this.contentKind=r.sortOrder,this.setupPopover(e)}onCategorySelect(e){this.contentKind=r.category,this.setupPopover(e)}onAddNumericFields(e){this.contentKind=r.numericFields,this.setupPopover(e)}async onRemoveNumericField(e){let t=e.target.value;await this.model.setNumericFields(this.model.getNumericFields().filter(i=>i!==t))}onShowDataLabelsChange(e){this.model.setDataLabelsVisibility(e.target.checked)}updateMode(e){let t=e!==l&&e.trim()!=="";this.model.setMode(t?g.Category:g.Fields)}setupPopover(e){e.stopImmediatePropagation(),this.removePieChartDataPopover();let t,i,a;switch(this.contentKind){case r.category:t=this.categoryElement.value,i=this._messages.categoryHeader,a=this.model.getCategory();break;case r.numericFields:t=this.numericFieldsElement.value,i=this._messages.numericFieldsMultipleHeader,a=this.model.getNumericFields();break;case r.sortOrder:t=this.sortOrderElement.value,i=this._messages.sortOrderHeader,a=this.model.getSortOrder();break}this.pieChartPopover=v(s`<arcgis-charts-config-pie-chart-popover .headingTitle=${i} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${a} @arcgisChartsConfigPieChartDataPopoverChange=${this.onPieChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-pie-chart-popover>`),!document.body.contains(this.pieChartPopover)&&this.pieChartPopover!==null&&document.body.appendChild(this.pieChartPopover)}getCorrectedCategoryValue(){return this.model.getCategory()===l||this.model.getCategory().trim()===""?"":m(this.layerFieldsInfo,this.model.getCategory())}removePieChartDataPopover(){this.pieChartPopover!==null&&(this.pieChartPopover.open=!1,this.pieChartPopover=w(this.pieChartPopover))}renderSorting(){return s`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${h(this.sortOrderElement)}></arcgis-charts-config-field-select>`}renderCategory(){let e=this.getCorrectedCategoryValue();return s`<arcgis-charts-config-field-select .label=${e} @click=${this.onCategorySelect} ${h(this.categoryElement)}></arcgis-charts-config-field-select>`}renderNumericFields(e){let t=$(this.layerFieldsInfo),i=[];for(let a of e)a!==t&&i.push(this.buildNumericFieldItem(a));return s`<calcite-list label class=${o(c.fieldList)} ${h(this.numericFieldsElement)}>${i}</calcite-list>`}render(){let e=this.renderCategory(),t=this.renderSorting(),i=this.renderNumericFields([...this.model.getNumericFields()]);return s`<div><calcite-label class=${o(c.label)}>${this._messages.category}${e}</calcite-label>${[s`<calcite-label class=${o(c.label)}>${this._messages.numericFields}${i}</calcite-label>`,s`<div class=${o(c.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div>`]}<calcite-label class=${o(c.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.getDataLabelsVisibility()} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${o(c.label)}>${this._messages.sortOrder}${t}</calcite-label></div>`}};b("arcgis-charts-config-pie-chart-data",p);return p},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
3
+ v4.34.0-next.141 */
4
+ import{a as P}from"./ST2ZJMCB.js";import{a as w}from"./A6LRTAS2.js";import{h as r}from"./E5HL4UNI.js";import{a as F}from"./VQ5VIQLE.js";import a from"./VEG7HJR6.js";import"./KGJ5WGE7.js";import"./MYGR6XLT.js";import{e as g}from"./TJ7ONZVW.js";import{b as y}from"./W5ZLJK2P.js";import{A as o,D as v,F as b,g as C,h as s,l as d,w as n,x as h,y as u}from"./PNFVDHMJ.js";import"./2XVZHLDM.js";export default $arcgis.t(([,,,,,,,{Oa:m,b:l,gc:$}])=>{var c={label:"label",fieldList:"field-list",fab:"fab"},k=C`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}`,p=class extends u{constructor(){super(...arguments),this._messages=F(),this.pieChartPopover=null,this.sortOrderElement=n(),this.categoryElement=n(),this.numericFieldsElement=n(),this.onPieChartDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:t}=e.detail,i=[...e.detail.value];switch(t){case r.aggregation:await this.model.setAggregationType(i[0]!==y.NoAggregation?i[0]:"");break;case r.category:{let a=i[0]?.trim()||"";this.updateMode(a);let f=this.model.getNumericFields();f.length>1&&a!==l&&await this.model.setNumericFields([f[0]]),await this.model.setCategory(a),this.model.setColorMatch(!0);break}case r.numericFields:i.length>1&&(this.updateMode(l),await this.model.setCategory(l)),await this.model.setNumericFields(i);break;case r.sortOrder:this.model.setSortOrder(i[0]);break;default:break}}}catch(t){throw this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}this.requestUpdate()},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.pieChartPopover===e?.target&&this.removePieChartDataPopover()},this.layerFieldsInfo=[],this.arcgisChartsConfigDataChangeError=d(),this.arcgisChartsConfigPieChartDataNumericFieldValidate=d()}static{this.properties={messageOverrides:0,model:0,layerFieldsInfo:0}}static{this.styles=k}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removePieChartDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}buildNumericFieldItem(e){return P(e,s`<calcite-list-item .label=${m(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}onSortOrderSelect(e){this.contentKind=r.sortOrder,this.setupPopover(e)}onCategorySelect(e){this.contentKind=r.category,this.setupPopover(e)}onAddNumericFields(e){this.contentKind=r.numericFields,this.setupPopover(e)}async onRemoveNumericField(e){let t=e.target.value;await this.model.setNumericFields(this.model.getNumericFields().filter(i=>i!==t))}onShowDataLabelsChange(e){this.model.setDataLabelsVisibility(e.target.checked)}updateMode(e){let t=e!==l&&e.trim()!=="";this.model.setMode(t?g.Category:g.Fields)}setupPopover(e){e.stopImmediatePropagation(),this.removePieChartDataPopover();let t,i,a;switch(this.contentKind){case r.category:t=this.categoryElement.value,i=this._messages.categoryHeader,a=this.model.getCategory();break;case r.numericFields:t=this.numericFieldsElement.value,i=this._messages.numericFieldsMultipleHeader,a=this.model.getNumericFields();break;case r.sortOrder:t=this.sortOrderElement.value,i=this._messages.sortOrderHeader,a=this.model.getSortOrder();break}this.pieChartPopover=v(s`<arcgis-charts-config-pie-chart-popover .headingTitle=${i} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${a} @arcgisChartsConfigPieChartDataPopoverChange=${this.onPieChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-pie-chart-popover>`),!document.body.contains(this.pieChartPopover)&&this.pieChartPopover!==null&&document.body.appendChild(this.pieChartPopover)}getCorrectedCategoryValue(){return this.model.getCategory()===l||this.model.getCategory().trim()===""?"":m(this.layerFieldsInfo,this.model.getCategory())}removePieChartDataPopover(){this.pieChartPopover!==null&&(this.pieChartPopover.open=!1,this.pieChartPopover=w(this.pieChartPopover))}renderSorting(){return s`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${h(this.sortOrderElement)}></arcgis-charts-config-field-select>`}renderCategory(){let e=this.getCorrectedCategoryValue();return s`<arcgis-charts-config-field-select .label=${e} @click=${this.onCategorySelect} ${h(this.categoryElement)}></arcgis-charts-config-field-select>`}renderNumericFields(e){let t=$(this.layerFieldsInfo),i=[];for(let a of e)a!==t&&i.push(this.buildNumericFieldItem(a));return s`<calcite-list label class=${o(c.fieldList)} ${h(this.numericFieldsElement)}>${i}</calcite-list>`}render(){let e=this.renderCategory(),t=this.renderSorting(),i=this.renderNumericFields([...this.model.getNumericFields()]);return s`<div><calcite-label class=${o(c.label)}>${this._messages.category}${e}</calcite-label>${[s`<calcite-label class=${o(c.label)}>${this._messages.numericFields}${i}</calcite-label>`,s`<div class=${o(c.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div>`]}<calcite-label class=${o(c.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.getDataLabelsVisibility()} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${o(c.label)}>${this._messages.sortOrder}${t}</calcite-label></div>`}};b("arcgis-charts-config-pie-chart-data",p);return p},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)