@arcgis/charts-components 5.0.0-next.63 → 5.0.0-next.64

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 (284) hide show
  1. package/dist/cdn/{IIYNX6Y2.js → 27R5WPBX.js} +2 -2
  2. package/dist/cdn/{X4V4DAL2.js → 2D3FB665.js} +2 -2
  3. package/dist/cdn/{AEWFZWA3.js → 2ST4LJAN.js} +2 -2
  4. package/dist/cdn/{62AGOQKO.js → 2ZMQR5SI.js} +2 -2
  5. package/dist/cdn/{XIJFBJMK.js → 32ZPFS4W.js} +2 -2
  6. package/dist/cdn/{YF7HAT3U.js → 3DYJOXMC.js} +2 -2
  7. package/dist/cdn/{L6ZJ6XJN.js → 3RWWBSUL.js} +2 -2
  8. package/dist/cdn/{OCSLAARX.js → 3WB52VIC.js} +2 -2
  9. package/dist/cdn/{2DLRA42S.js → 3YE3XA5X.js} +2 -2
  10. package/dist/cdn/{IF5HTLYA.js → 45JTWDJC.js} +2 -2
  11. package/dist/cdn/{IM6VQVWQ.js → 4D57IARB.js} +2 -2
  12. package/dist/cdn/{ZQQFNKUZ.js → 4EDB45OO.js} +2 -2
  13. package/dist/cdn/{NWJHKP6J.js → 4OF63IUB.js} +2 -2
  14. package/dist/cdn/{RDRA3RFQ.js → 4ORNSVKQ.js} +2 -2
  15. package/dist/cdn/{IMF75WDM.js → 4U27TNVI.js} +2 -2
  16. package/dist/cdn/{WLUER2PV.js → 54JPLZVK.js} +2 -2
  17. package/dist/cdn/{IL3ZCPOO.js → 5GILJAGW.js} +2 -2
  18. package/dist/cdn/{ZN7YCOFE.js → 5HS5ACIQ.js} +2 -2
  19. package/dist/cdn/{22LFRNM7.js → 5MO7JZBO.js} +2 -2
  20. package/dist/cdn/{LMESPKH2.js → 5S4MAIW2.js} +2 -2
  21. package/dist/cdn/{CQWVIIEL.js → 5XV7XSPO.js} +7 -7
  22. package/dist/cdn/{SBYO4VRS.js → 62Q227ZO.js} +2 -2
  23. package/dist/cdn/{5XQZ25MY.js → 6763OGR7.js} +2 -2
  24. package/dist/cdn/{ST2ONPTK.js → 6AENLA74.js} +2 -2
  25. package/dist/cdn/{DBKSJ3NH.js → 6NVO6GRV.js} +2 -2
  26. package/dist/cdn/{LPEBJFWL.js → 76A3VGHB.js} +2 -2
  27. package/dist/cdn/{OLU4FWDZ.js → 7D3SISVY.js} +2 -2
  28. package/dist/cdn/{CACET2QI.js → 7GG67KVI.js} +2 -2
  29. package/dist/cdn/{HL5UMRRQ.js → 7LZKBVWC.js} +2 -2
  30. package/dist/cdn/{XCJ6NT6W.js → 7RB2HDC4.js} +2 -2
  31. package/dist/cdn/{CSVVVFBV.js → A2JPGY6A.js} +2 -2
  32. package/dist/cdn/{ANZVQ6MB.js → AA2N5EHL.js} +2 -2
  33. package/dist/cdn/{52OT5UZ3.js → AM23JQ6R.js} +2 -2
  34. package/dist/cdn/{7FKPNEMO.js → AY6HRHRJ.js} +2 -2
  35. package/dist/cdn/{HGFTZ5FI.js → B443LTQV.js} +2 -2
  36. package/dist/cdn/{2D4LAL4K.js → B6B3DHH4.js} +2 -2
  37. package/dist/cdn/{USSB3HCP.js → B747RURM.js} +2 -2
  38. package/dist/cdn/{6JOM6EZX.js → BR5F5GPW.js} +2 -2
  39. package/dist/cdn/{4DSN6JGV.js → C4ZMKQNY.js} +2 -2
  40. package/dist/cdn/{XUEIO5BW.js → C75UEWRU.js} +2 -2
  41. package/dist/cdn/{JKDE2ITF.js → CKPCS3Q5.js} +2 -2
  42. package/dist/cdn/{DKD2DCW3.js → CVS35WCR.js} +2 -2
  43. package/dist/cdn/{X4VK7SGI.js → D5W6SXR6.js} +2 -2
  44. package/dist/cdn/{MXRCL5PG.js → D6F7ALZ6.js} +2 -2
  45. package/dist/cdn/{6A4K4PRD.js → DDXW4GCU.js} +2 -2
  46. package/dist/cdn/{DBFL7ZN2.js → DHTC2LFC.js} +2 -2
  47. package/dist/cdn/{4IFS4R6M.js → DOXWQ4VP.js} +2 -2
  48. package/dist/cdn/{VC6EPBFT.js → EMKKZ4SI.js} +2 -2
  49. package/dist/cdn/{XS5TXN47.js → ENEHOPLE.js} +2 -2
  50. package/dist/cdn/{3DFNGZYJ.js → ENW56RT6.js} +2 -2
  51. package/dist/cdn/{F3ANA7MB.js → EZ7MYDOT.js} +2 -2
  52. package/dist/cdn/{VG4MLNZB.js → FCOIHHNS.js} +2 -2
  53. package/dist/cdn/{MJASJTEX.js → FLDU5NML.js} +2 -2
  54. package/dist/cdn/{3S6Q7OYH.js → GE5RSRJ3.js} +2 -2
  55. package/dist/cdn/{6DBXNAVZ.js → GKJWVRAM.js} +2 -2
  56. package/dist/cdn/{OLW66PKP.js → GKOS4NPM.js} +1 -1
  57. package/dist/cdn/{PI6WPXEN.js → GMWQ6WG7.js} +2 -2
  58. package/dist/cdn/{6ZE7IE2T.js → GRA7QREI.js} +1 -1
  59. package/dist/cdn/{HYMB76F6.js → H75R5U34.js} +2 -2
  60. package/dist/cdn/{BFRQT6RC.js → HEW2H45Z.js} +2 -2
  61. package/dist/cdn/{KDAI243B.js → HJGYY2SG.js} +2 -2
  62. package/dist/cdn/{5XPBGQQO.js → HL5YYAUF.js} +2 -2
  63. package/dist/cdn/{2EVX6FDU.js → HOMIFLXF.js} +2 -2
  64. package/dist/cdn/{C3B7GPEP.js → I2YSHCHT.js} +2 -2
  65. package/dist/cdn/{677JGZK4.js → I6ID3JHL.js} +2 -2
  66. package/dist/cdn/{QWKWX6WD.js → IFWMKYS5.js} +2 -2
  67. package/dist/cdn/{KI4XHL43.js → IHK7WM4Y.js} +2 -2
  68. package/dist/cdn/{NQG3CLRW.js → IJ3WTIV6.js} +2 -2
  69. package/dist/cdn/{S73ECID3.js → IND7GOJG.js} +2 -2
  70. package/dist/cdn/{UO62XVYG.js → JBKO6KWD.js} +2 -2
  71. package/dist/cdn/{FII4NPCE.js → JCMQCEFP.js} +2 -2
  72. package/dist/cdn/{B4IW73IX.js → JCPQI4JE.js} +2 -2
  73. package/dist/cdn/{6R7MGVVB.js → JCVCIXUV.js} +2 -2
  74. package/dist/cdn/{OCBA7BOF.js → JGNO66DI.js} +2 -2
  75. package/dist/cdn/{AZRQ6WA4.js → JHK23RKG.js} +2 -2
  76. package/dist/cdn/{PB6GOW3X.js → JIZ4S6AF.js} +2 -2
  77. package/dist/cdn/{44WS2HM5.js → JJQT2MUN.js} +2 -2
  78. package/dist/cdn/{6AWW3FFK.js → JNZZOEUW.js} +2 -2
  79. package/dist/cdn/{IIJTES2Y.js → JR6KWT6B.js} +2 -2
  80. package/dist/cdn/{FZ53CF6E.js → JVUX7GZL.js} +2 -2
  81. package/dist/cdn/{GLAEFZU6.js → KKJGPSQU.js} +2 -2
  82. package/dist/cdn/{QEF4KZDF.js → KN2FNSNP.js} +2 -2
  83. package/dist/cdn/{L2EJOFU3.js → KY7UCLJD.js} +2 -2
  84. package/dist/cdn/{AHVE7JHZ.js → KZVOEY6U.js} +2 -2
  85. package/dist/cdn/{7N4PTXFP.js → L3VPKVE7.js} +2 -2
  86. package/dist/cdn/{WMPU7JZI.js → L4AWWXCA.js} +2 -2
  87. package/dist/cdn/{TVXIFIRN.js → LA3LCOCT.js} +2 -2
  88. package/dist/cdn/{Q6HNJSSU.js → LCKNSU2F.js} +1 -1
  89. package/dist/cdn/{GZLECYYL.js → LGLGPJ35.js} +2 -2
  90. package/dist/cdn/{DLHSKC6P.js → LOKK23UP.js} +2 -2
  91. package/dist/cdn/{P4LPMLB5.js → MKOJUEDR.js} +2 -2
  92. package/dist/cdn/{USNNLSU5.js → N5V3J4EC.js} +2 -2
  93. package/dist/cdn/{OYL2DX2S.js → NEBQ633F.js} +2 -2
  94. package/dist/cdn/{PMZUNMKB.js → NHHUWFOU.js} +2 -2
  95. package/dist/cdn/{Q7M6GXJA.js → NKQ4KYED.js} +2 -2
  96. package/dist/cdn/{FDJFHLZ6.js → NYCG6MJV.js} +2 -2
  97. package/dist/cdn/{ANLJEWNA.js → O7XWWEN2.js} +2 -2
  98. package/dist/cdn/{GM4DTPZ7.js → OIHTUMRB.js} +2 -2
  99. package/dist/cdn/{BBFHVJY2.js → OKYCFNSP.js} +2 -2
  100. package/dist/cdn/{OMIZ5B47.js → OSFUWHBA.js} +2 -2
  101. package/dist/cdn/{RCO5O3F2.js → OXSYF6Y6.js} +2 -2
  102. package/dist/cdn/{ODRI2FTN.js → OZXWHDYX.js} +2 -2
  103. package/dist/cdn/{4EPCPWIK.js → PAMAXVLG.js} +2 -2
  104. package/dist/cdn/{5HLP67HW.js → PAMFOQ3B.js} +2 -2
  105. package/dist/cdn/{FFAMQV63.js → PASBVXLD.js} +2 -2
  106. package/dist/cdn/{RIPXM2ZY.js → PATSZ4YD.js} +2 -2
  107. package/dist/cdn/{ZLPCKFHP.js → PPGSBZ32.js} +2 -2
  108. package/dist/cdn/{EN6P4NKX.js → PRW43LGB.js} +2 -2
  109. package/dist/cdn/{5P6B6ZJD.js → PSJFEYF4.js} +2 -2
  110. package/dist/cdn/{LDPYGNVL.js → PTW35KN3.js} +2 -2
  111. package/dist/cdn/{DGO2RW4A.js → Q2A33YU7.js} +2 -2
  112. package/dist/cdn/{QVK264UW.js → Q4ENGBTF.js} +1 -1
  113. package/dist/cdn/{MW3KZ2P7.js → QAT5XTKR.js} +2 -2
  114. package/dist/cdn/{QOWJNM2V.js → QP2GIBHL.js} +2 -2
  115. package/dist/cdn/{AJSUZCYZ.js → QQU6TXIL.js} +2 -2
  116. package/dist/cdn/{OJDZSFEQ.js → R6LHJY3L.js} +2 -2
  117. package/dist/cdn/{NCDGST5Z.js → RG7DNDQQ.js} +2 -2
  118. package/dist/cdn/{KZIXDTY7.js → RHJHGJFU.js} +2 -2
  119. package/dist/cdn/{R52FNGPG.js → RITQUE3H.js} +2 -2
  120. package/dist/cdn/{YUCE2XSH.js → RKOB3XIL.js} +2 -2
  121. package/dist/cdn/{OCRQP3S6.js → RLJJ7LVS.js} +2 -2
  122. package/dist/cdn/{YBGP4HIK.js → RML75YLS.js} +2 -2
  123. package/dist/cdn/{ZZR5VNLO.js → RQXKQ37H.js} +1 -1
  124. package/dist/cdn/{3YMOOXXS.js → S5OMG4ZS.js} +2 -2
  125. package/dist/cdn/{P6Q5QZTX.js → SBDEJQQM.js} +1 -1
  126. package/dist/cdn/{DN2JXUWE.js → SEOB6PR5.js} +2 -2
  127. package/dist/cdn/{SC5MGD2M.js → SIOG7J56.js} +2 -2
  128. package/dist/cdn/{2HDVXJF7.js → SJRNJ7RJ.js} +2 -2
  129. package/dist/cdn/{HHTWFBSG.js → SM5KCAKZ.js} +2 -2
  130. package/dist/cdn/{HRDGGKMG.js → SXVCKV2H.js} +2 -2
  131. package/dist/cdn/{2Z3TQWSA.js → T2LQ7QBX.js} +2 -2
  132. package/dist/cdn/{2MUEWC5D.js → TDXKCRKQ.js} +2 -2
  133. package/dist/cdn/{FZUJQGE6.js → TIKU5I6T.js} +2 -2
  134. package/dist/cdn/{FUVC5ZCB.js → TLNAF42K.js} +2 -2
  135. package/dist/cdn/{IAAIFQHV.js → TW747FSK.js} +2 -2
  136. package/dist/cdn/{FOSTTCVX.js → TZIYO65Z.js} +2 -2
  137. package/dist/cdn/{ISQD6UIC.js → U4FKD6XG.js} +2 -2
  138. package/dist/cdn/{FCWZ6DY3.js → UPW33AK4.js} +2 -2
  139. package/dist/cdn/{NIQHPSN2.js → UXKOIXVI.js} +2 -2
  140. package/dist/cdn/{RIPAW7O2.js → UYX6CUXF.js} +2 -2
  141. package/dist/cdn/{ODFUU3UX.js → VAQGFGUI.js} +2 -2
  142. package/dist/cdn/{ADO6WQIZ.js → VCIVXVRU.js} +2 -2
  143. package/dist/cdn/{6WTJPQUX.js → VHXVLPJF.js} +2 -2
  144. package/dist/cdn/{E3YYMYFJ.js → VQBFXO5V.js} +2 -2
  145. package/dist/cdn/{QJQNHHU2.js → VY3ZJWZQ.js} +2 -2
  146. package/dist/cdn/{ZGZZOIBA.js → VZDEULXB.js} +2 -2
  147. package/dist/cdn/{UEHC3Q2H.js → W5DJEPR5.js} +2 -2
  148. package/dist/cdn/{SQKAEELV.js → WAA2N6TA.js} +2 -2
  149. package/dist/cdn/{HRNSPNIK.js → WAEP7PSO.js} +2 -2
  150. package/dist/cdn/{BS6YCPAT.js → WFGJAECI.js} +2 -2
  151. package/dist/cdn/{XCMNCC2U.js → WJMBQCFV.js} +2 -2
  152. package/dist/cdn/{RQ6OPKKW.js → WOEC3CY6.js} +1 -1
  153. package/dist/cdn/{EOBITNO4.js → WQGXCIRI.js} +2 -2
  154. package/dist/cdn/{OZOFKENS.js → WRMTEQVL.js} +2 -2
  155. package/dist/cdn/{3RS2QLAW.js → WTW4JNBT.js} +2 -2
  156. package/dist/cdn/{S5EAPKLX.js → WUNDCSJT.js} +2 -2
  157. package/dist/cdn/{H4LNP4DY.js → WWHPJ74L.js} +2 -2
  158. package/dist/cdn/{KNLSAMHK.js → WZAHA6IR.js} +2 -2
  159. package/dist/cdn/{RQI7VBHI.js → X5Y42TVU.js} +2 -2
  160. package/dist/cdn/{W7FNQKTO.js → X63A5E3G.js} +2 -2
  161. package/dist/cdn/{GMVNT5VX.js → X75CPWQI.js} +2 -2
  162. package/dist/cdn/{UZUYNVNH.js → X7OZC6WQ.js} +2 -2
  163. package/dist/cdn/{IIUQWRC2.js → XDPC5XMF.js} +2 -2
  164. package/dist/cdn/{XD7YTA2G.js → XQC5MIXZ.js} +2 -2
  165. package/dist/cdn/{EP5XCMQT.js → XSO2F6YR.js} +2 -2
  166. package/dist/cdn/{FXGBNCAK.js → Y2OHHQQU.js} +2 -2
  167. package/dist/cdn/{7Z5BWAFR.js → YBTDEFJ7.js} +2 -2
  168. package/dist/cdn/{TGD5WXWL.js → YCYIQDXB.js} +2 -2
  169. package/dist/cdn/{RZO7RT5P.js → YDZRUYMZ.js} +2 -2
  170. package/dist/cdn/{DKAX2D6R.js → YFOZXWL7.js} +2 -2
  171. package/dist/cdn/{235GDQL2.js → YPX5FBJN.js} +2 -2
  172. package/dist/cdn/{VBQCMQQP.js → YTOSU4X6.js} +2 -2
  173. package/dist/cdn/{PNSLXX4Q.js → Z5TFLZWE.js} +1 -1
  174. package/dist/cdn/{4ED5ASV2.js → Z6G7N2BQ.js} +2 -2
  175. package/dist/cdn/{OY4B6HTG.js → ZBW6JN46.js} +2 -2
  176. package/dist/cdn/{MMKR3HZ7.js → ZCMMCSMZ.js} +2 -2
  177. package/dist/cdn/{HNQBLGZN.js → ZEQDC3WX.js} +2 -2
  178. package/dist/cdn/{AVKB2LH4.js → ZJOL7HNQ.js} +2 -2
  179. package/dist/cdn/{HVTUVKMO.js → ZLMFJB26.js} +1 -1
  180. package/dist/cdn/{UTTZGKA4.js → ZNW2AB62.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/chunks/action-bar-utils.js +1 -1
  183. package/dist/chunks/axis-model-wrapper.js +1 -1
  184. package/dist/chunks/bar-chart-model.js +1 -1
  185. package/dist/chunks/bar-chart-series.js +1 -1
  186. package/dist/chunks/baseline-stacking.js +1 -1
  187. package/dist/chunks/bg_BG.js +1 -1
  188. package/dist/chunks/bg_BG2.js +1 -1
  189. package/dist/chunks/box-plot-data.js +1 -1
  190. package/dist/chunks/box-plot-model.js +1 -1
  191. package/dist/chunks/chart-ui-utils.js +1 -1
  192. package/dist/chunks/chart-ui-utils2.js +1 -1
  193. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  194. package/dist/chunks/common.js +1 -1
  195. package/dist/chunks/config-update.js +1 -1
  196. package/dist/chunks/data.js +1 -1
  197. package/dist/chunks/default.js +1 -1
  198. package/dist/chunks/gauge-model.js +1 -1
  199. package/dist/chunks/heat-chart-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/index4.js +1 -1
  206. package/dist/chunks/interfaces.js +1 -1
  207. package/dist/chunks/line-chart-model.js +1 -1
  208. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  209. package/dist/chunks/model-with-data-labels.js +1 -1
  210. package/dist/chunks/model-with-multi-axes.js +1 -1
  211. package/dist/chunks/model-with-rotation.js +1 -1
  212. package/dist/chunks/pie-chart-data.js +1 -1
  213. package/dist/chunks/pie-chart-model.js +1 -1
  214. package/dist/chunks/popover-ui-utils.js +1 -1
  215. package/dist/chunks/radar-chart-model.js +1 -1
  216. package/dist/chunks/resource.js +1 -1
  217. package/dist/chunks/rest-js-object-literals.js +1 -1
  218. package/dist/chunks/runtime.js +1 -1
  219. package/dist/chunks/scatterplot-model.js +1 -1
  220. package/dist/chunks/serial-chart-data.js +1 -1
  221. package/dist/chunks/serial-chart-model.js +1 -1
  222. package/dist/chunks/series-types.js +1 -1
  223. package/dist/chunks/series.js +1 -1
  224. package/dist/chunks/sk_SK.js +1 -1
  225. package/dist/chunks/store.js +1 -1
  226. package/dist/chunks/type-guards.js +1 -1
  227. package/dist/chunks/useT9n.js +1 -1
  228. package/dist/chunks/web-component-utils.js +1 -1
  229. package/dist/components/arcgis-chart/customElement.js +1 -1
  230. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  231. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  278. package/dist/docs/api.json +2 -2
  279. package/dist/docs/docs.json +2 -2
  280. package/dist/docs/web-types.json +1 -1
  281. package/dist/index.js +1 -1
  282. package/dist/loader.js +1 -1
  283. package/dist/model.js +1 -1
  284. 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import{a as L}from"./UTTZGKA4.js";import{a as P}from"./VC6EPBFT.js";import{a as C}from"./HL5UMRRQ.js";import e from"./EP5XCMQT.js";import"./RIPXM2ZY.js";import{a as I}from"./KI4XHL43.js";import c from"./2EVX6FDU.js";import"./QVK264UW.js";import"./PNSLXX4Q.js";import"./OLW66PKP.js";import{b as p,f as a}from"./ZZR5VNLO.js";import{A as d,C as g,E as y,g as f,h as o,l as b,y as $,z as r}from"./HVTUVKMO.js";import"./Q6HNJSSU.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Ia:u,nb:k},{r:x}])=>{var _={stackedType:"stacked-type"},l={topSection:"top-section",sectionLabel:"section-label",list:"list",disabledInfo:"disabled-info",disabledStackingOption:"disabled-stacking-option"},E=f`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.disabled-info{margin:auto 1rem;pointer-events:auto}.disabled-info:active{margin:auto 1rem;pointer-events:none}.disabled-stacking-option{pointer-events:none;opacity:var(--calcite-opacity-disabled)}`,v=class extends ${constructor(){super(...arguments),this._messages=I(),this.open=!1,this.seriesNameChange=e=>{if(e.detail!==null&&e.detail!==void 0){let t=e.detail.name;if(this.isNullCategorySelected){let i=this.model.nullCategory;if(i){let s={...i,text:t};this.model.nullCategory=s}}else this.model.setSeriesName(t,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:t}=e.detail;if(t!==void 0){if(this.isNullCategorySelected){let i=this.model.nullCategory,s=i?.symbol&&{...i,symbol:{...i.symbol,color:t,outline:i.symbol.outline&&{...i.symbol.outline,color:t}}};this.model.nullCategory=s}else this.model.setSeriesColor(t,this.selectedSeriesIndex??-1);this.model.colorMatch=!1}}},this.seriesPopoverClose=e=>{let{selectedSeriesIndex:t}=e.detail;this.selectedSeriesIndex===t&&(this.seriesPopover=C(this.seriesPopover),this.selectedSeriesIndex=void 0)},this.onModelConfigChange=()=>{this.requestUpdate()},this.seriesOrderResetCounter=0,this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigDataChangeError=b()}static{this.properties={seriesOrderResetCounter:16,selectedSeriesIndex:16,messageOverrides:0,model:0,activeColorMatch:5,popoverPlacement:1}}static{this.styles=E}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}removeSeriesPopover(){this.seriesPopover!==null&&this.seriesPopover!==void 0&&(this.seriesPopover.open=!1,this.seriesPopover=C(this.seriesPopover))}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&(this.seriesPopover=g(o`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex!=null?this.model.getSeriesName(this.selectedSeriesIndex):void 0} .selectedColor=${this.selectedSeriesIndex!=null?this.model.getSeriesColor(this.selectedSeriesIndex):void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex!=null?this.selectedSeriesIndex:void 0} .nullCategory=${this.isNullCategorySelected?this.model.nullCategory:void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength??0,t=Array.from({length:e},(i,s)=>s);return L(t,i=>this.model.getSeriesId(i),i=>{let s=this.model.getSeriesId(i),c=this.model.getSeriesColor(i),h=this.model.getSeriesName(i),m=this.model.chartSubType===k.BarAndLineFromFields?this._messages.series:s,n="#CCCCCC",S="minus-square";if((e>1||!this.activeColorMatch)&&c!==void 0){S="square-f";let[T,M,N,O]=[...c];n=`rgba(${T},${M},${N},${O/255})`}return o`<calcite-list-item .label=${h??s??""} .description=${m} .value=${s} .selected=${this.selectedSeriesIndex===i} @click=${this.openSeriesPopOver}><calcite-icon .icon=${S} style=${d({color:n})} slot=content-end></calcite-icon></calcite-list-item>`})}buildSeriesList(){return P(this.seriesOrderResetCounter,o`<calcite-list label class=${r(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}buildNullCategoryUI(){let e=this.model.nullCategory,t=this._messages.nullCategory,i=e?.symbol?.color??u.nullCategory?.symbol?.color??u.grayColor,[s,c,h,m]=[...i],n=`rgba(${s},${c},${h},${m/255})`;return o`<calcite-list label class=${r(l.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex===null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${d({color:n})} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}buildMultipleBarTypeList(){let e=this.shouldDisableStacking();return e&&this.model.stackedType!==a.Side&&(this.model.stackedType=a.Side),o`<calcite-list label id=${_.stackedType} class=${r(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleBarSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${a.Side} .selected=${this.model.stackedType===void 0||this.model.stackedType===a.Side}><calcite-icon scale=l icon=graph-bar-side-by-side slot=content-start></calcite-icon></calcite-list-item><calcite-list-item class=${r(e?l.disabledStackingOption:"")} .label=${this._messages.stacked} .value=${a.Stacked} .selected=${this.model.stackedType===a.Stacked}><calcite-icon scale=l icon=graph-bar-stacked slot=content-start></calcite-icon>${e&&o`<calcite-icon class=${r(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>`||""}</calcite-list-item><calcite-list-item class=${r(e?l.disabledStackingOption:"")} .label=${this._messages.stacked100} .value=${a.Stacked100} .selected=${this.model.stackedType===a.Stacked100}><calcite-icon scale=l icon=graph-bar-100-stacked slot=content-start></calcite-icon>${e&&o`<calcite-icon class=${r(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>`||""}</calcite-list-item></calcite-list>`}resetSeriesOriginal(){this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1}onMultipleBarSelect(e){if(!this.shouldDisableStacking()){let t=e.target;this.model.stackedType=t.value??t.parentElement.value??""}}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:i}=e.detail;this.model.moveSeries(i,t),this.seriesOrderResetCounter+=1}}openSeriesPopOver(e){e.stopImmediatePropagation(),this.removeSeriesPopover();let t=e.target,i=t.localName==="calcite-list-item"?t:t.parentNode,s=this.model.getSeriesIndex(i.value);this.open=this.selectedSeriesIndex!==s,this.selectedSeriesIndex=this.selectedSeriesIndex!==s?s:void 0,this.isNullCategorySelected=i.value===this._messages.nullCategory}createTooltip(e){let t=e.target,i=(this.model.aggregationType===p.NoAggregation?this._messages.noAggStackingDisabled:this._messages.singleStackingDisabled)??"";this.tooltip=g(o`<calcite-tooltip style=${d({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){x(this.tooltip)}shouldDisableStacking(){return(this.model.seriesLength??0)<=1||this.model.aggregationType===p.NoAggregation}render(){return o`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultiSeries}</div>${this.buildMultipleBarTypeList()}<div class=${r(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}${this.model.nullCategory!==void 0&&this.model.fetchNULLValues?this.buildNullCategoryUI():null}`}};y("arcgis-charts-config-bar-chart-series",v);return v},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",c,e)
3
+ v5.0.0-next.64 */
4
+ import{a as L}from"./ZNW2AB62.js";import{a as P}from"./EMKKZ4SI.js";import{a as C}from"./7LZKBVWC.js";import e from"./XSO2F6YR.js";import"./PATSZ4YD.js";import{a as I}from"./IHK7WM4Y.js";import c from"./HOMIFLXF.js";import"./Q4ENGBTF.js";import"./Z5TFLZWE.js";import"./GKOS4NPM.js";import{b as p,f as a}from"./RQXKQ37H.js";import{A as d,C as g,E as y,g as f,h as o,l as b,y as $,z as r}from"./ZLMFJB26.js";import"./LCKNSU2F.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Ia:u,nb:k},{r:x}])=>{var _={stackedType:"stacked-type"},l={topSection:"top-section",sectionLabel:"section-label",list:"list",disabledInfo:"disabled-info",disabledStackingOption:"disabled-stacking-option"},E=f`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.disabled-info{margin:auto 1rem;pointer-events:auto}.disabled-info:active{margin:auto 1rem;pointer-events:none}.disabled-stacking-option{pointer-events:none;opacity:var(--calcite-opacity-disabled)}`,v=class extends ${constructor(){super(...arguments),this._messages=I(),this.open=!1,this.seriesNameChange=e=>{if(e.detail!==null&&e.detail!==void 0){let t=e.detail.name;if(this.isNullCategorySelected){let i=this.model.nullCategory;if(i){let s={...i,text:t};this.model.nullCategory=s}}else this.model.setSeriesName(t,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:t}=e.detail;if(t!==void 0){if(this.isNullCategorySelected){let i=this.model.nullCategory,s=i?.symbol&&{...i,symbol:{...i.symbol,color:t,outline:i.symbol.outline&&{...i.symbol.outline,color:t}}};this.model.nullCategory=s}else this.model.setSeriesColor(t,this.selectedSeriesIndex??-1);this.model.colorMatch=!1}}},this.seriesPopoverClose=e=>{let{selectedSeriesIndex:t}=e.detail;this.selectedSeriesIndex===t&&(this.seriesPopover=C(this.seriesPopover),this.selectedSeriesIndex=void 0)},this.onModelConfigChange=()=>{this.requestUpdate()},this.seriesOrderResetCounter=0,this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigDataChangeError=b()}static{this.properties={seriesOrderResetCounter:16,selectedSeriesIndex:16,messageOverrides:0,model:0,activeColorMatch:5,popoverPlacement:1}}static{this.styles=E}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}removeSeriesPopover(){this.seriesPopover!==null&&this.seriesPopover!==void 0&&(this.seriesPopover.open=!1,this.seriesPopover=C(this.seriesPopover))}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&(this.seriesPopover=g(o`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex!=null?this.model.getSeriesName(this.selectedSeriesIndex):void 0} .selectedColor=${this.selectedSeriesIndex!=null?this.model.getSeriesColor(this.selectedSeriesIndex):void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex!=null?this.selectedSeriesIndex:void 0} .nullCategory=${this.isNullCategorySelected?this.model.nullCategory:void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength??0,t=Array.from({length:e},(i,s)=>s);return L(t,i=>this.model.getSeriesId(i),i=>{let s=this.model.getSeriesId(i),c=this.model.getSeriesColor(i),h=this.model.getSeriesName(i),m=this.model.chartSubType===k.BarAndLineFromFields?this._messages.series:s,n="#CCCCCC",S="minus-square";if((e>1||!this.activeColorMatch)&&c!==void 0){S="square-f";let[T,M,N,O]=[...c];n=`rgba(${T},${M},${N},${O/255})`}return o`<calcite-list-item .label=${h??s??""} .description=${m} .value=${s} .selected=${this.selectedSeriesIndex===i} @click=${this.openSeriesPopOver}><calcite-icon .icon=${S} style=${d({color:n})} slot=content-end></calcite-icon></calcite-list-item>`})}buildSeriesList(){return P(this.seriesOrderResetCounter,o`<calcite-list label class=${r(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}buildNullCategoryUI(){let e=this.model.nullCategory,t=this._messages.nullCategory,i=e?.symbol?.color??u.nullCategory?.symbol?.color??u.grayColor,[s,c,h,m]=[...i],n=`rgba(${s},${c},${h},${m/255})`;return o`<calcite-list label class=${r(l.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex===null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${d({color:n})} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}buildMultipleBarTypeList(){let e=this.shouldDisableStacking();return e&&this.model.stackedType!==a.Side&&(this.model.stackedType=a.Side),o`<calcite-list label id=${_.stackedType} class=${r(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleBarSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${a.Side} .selected=${this.model.stackedType===void 0||this.model.stackedType===a.Side}><calcite-icon scale=l icon=graph-bar-side-by-side slot=content-start></calcite-icon></calcite-list-item><calcite-list-item class=${r(e?l.disabledStackingOption:"")} .label=${this._messages.stacked} .value=${a.Stacked} .selected=${this.model.stackedType===a.Stacked}><calcite-icon scale=l icon=graph-bar-stacked slot=content-start></calcite-icon>${e&&o`<calcite-icon class=${r(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>`||""}</calcite-list-item><calcite-list-item class=${r(e?l.disabledStackingOption:"")} .label=${this._messages.stacked100} .value=${a.Stacked100} .selected=${this.model.stackedType===a.Stacked100}><calcite-icon scale=l icon=graph-bar-100-stacked slot=content-start></calcite-icon>${e&&o`<calcite-icon class=${r(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>`||""}</calcite-list-item></calcite-list>`}resetSeriesOriginal(){this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1}onMultipleBarSelect(e){if(!this.shouldDisableStacking()){let t=e.target;this.model.stackedType=t.value??t.parentElement.value??""}}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:i}=e.detail;this.model.moveSeries(i,t),this.seriesOrderResetCounter+=1}}openSeriesPopOver(e){e.stopImmediatePropagation(),this.removeSeriesPopover();let t=e.target,i=t.localName==="calcite-list-item"?t:t.parentNode,s=this.model.getSeriesIndex(i.value);this.open=this.selectedSeriesIndex!==s,this.selectedSeriesIndex=this.selectedSeriesIndex!==s?s:void 0,this.isNullCategorySelected=i.value===this._messages.nullCategory}createTooltip(e){let t=e.target,i=(this.model.aggregationType===p.NoAggregation?this._messages.noAggStackingDisabled:this._messages.singleStackingDisabled)??"";this.tooltip=g(o`<calcite-tooltip style=${d({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){x(this.tooltip)}shouldDisableStacking(){return(this.model.seriesLength??0)<=1||this.model.aggregationType===p.NoAggregation}render(){return o`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultiSeries}</div>${this.buildMultipleBarTypeList()}<div class=${r(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}${this.model.nullCategory!==void 0&&this.model.fetchNULLValues?this.buildNullCategoryUI():null}`}};y("arcgis-charts-config-bar-chart-series",v);return v},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",c,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import c from"./6AWW3FFK.js";import{h as O,n as ae}from"./GM4DTPZ7.js";import b from"./L2EJOFU3.js";import a from"./2EVX6FDU.js";import{d as E,f as $,i as Z,j as ee,q as oe}from"./QVK264UW.js";import{b as d}from"./OLW66PKP.js";import{a as f,h,v as u}from"./ZZR5VNLO.js";export default $arcgis.t(([,,,,,,,{substitute:N},,,,,,,,{C:j,Cc:ne,E:I,Ec:K,Ed:L,Fc:Q,Ga:H,O:J,Oc:A,P:ie,Q:se,Sc:te,X:T,Y:_,da:re,ha:G,vb:B,wd:le},{f:D},{Q:P,a:ce,e:me,f:C,i:R,k:W,l:ye,u:de}])=>{var yo=(o,e)=>e?.series?.[o]?.name,fo=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},go=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},ve=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},Be=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...T(),color:o})},uo=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Ae=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},So=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Ae(s,i)},po=o=>X(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Le(o,e,i){let s=xe(o,e,i),r=de(o),n=L(o);return s===r||n}function fe(o,e,i){let s=k(o,e,i),r=P(1,o),n=L(o);return s===r||n}function Oe(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=M(e),l=s!==I?B(r,n):"",t=P(0,e),a=L(e);return l===t||a||t.trim()===""}var M=o=>A(o)?.x??I,Ce=E(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return te(e?.query?.where)?"":i},o=>A(o)?.query?.where),ge=E(o=>le(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...G(r,i),x:e===void 0||e===""?I:e,y:s,query:{}};return $(n)},ke=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...re({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?I:e,y:s,query:{}};return $(n)};function ue(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:l}=s??{},t=G(r),a=n??`series_${Date.now()}`;return t.id=a,t.name=a,t.x=e,t.y=i,l?t.fillSymbol=l:t.fillSymbol&&(t.fillSymbol.color=H,t.fillSymbol?.outline&&(t.fillSymbol.outline.color=H)),t}function Se(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:l}=s,t=[],a=r??M(i),m=!1,c=D({fieldName:a,numericFields:e,fieldList:l});if(e.length===0){let S=V({y:"",seriesIndex:0,category:a,commonStrings:n});t.push(S)}else if(c){let S=e.length>1?e:e[0],F=V({y:S,seriesIndex:0,category:a,commonStrings:n}),b=e.length>1?n.axisLabels.values:B(s.layerFieldsInfo,e[0]),p={...F,id:e[0],name:b,x:c?I:a},g=i.series.find(y=>ee(S,y.y)&&y.query?.where===void 0);g!==void 0&&(!i.colorMatch&&"fillSymbol"in g&&(p.fillSymbol=g.fillSymbol,m=!0),p.id=g.id,p.name=g.name),t.push(p)}else for(let S=0;S<e.length;S+=1){let F=e[S],b=V({y:F,seriesIndex:S,category:a,commonStrings:n}),p=B(l,F),g={...b,id:F,name:p,x:a},y=i.series.find(v=>F===v.y);y!==void 0&&(!i.colorMatch&&"fillSymbol"in y&&(g.fillSymbol=y.fillSymbol,m=!0),g.id=y.id,g.name=y.name),t.push(g)}return i.series.length===1&&t.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(t[0].fillSymbol=i.series[0].fillSymbol,m=!0),i.colorMatch=!m,t}var pe=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",qe=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function Te(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:l,...t}=r;s.push({...t,type:f.LineSeries,lineSymbol:{...J({width:j}),...l!==void 0?{color:l.color}:{}},markerSymbol:{..._(),...l!==void 0?{color:l.color}:{}}})}}),s.unshift(ue({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:l,...t}=s,a=T();i.push({...t,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function be(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),l=e.filter(n).map(a=>a.id),t=i.filter(n).map(a=>a.id);return l.length===t.length&&JSON.stringify(l)!==JSON.stringify(t)&&(r=r.sort((a,m)=>l.findIndex(c=>c===a.id)-l.findIndex(c=>c===m.id))),r}async function Pe(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:l}=o,{layer:t,layerFieldsInfo:a}=i,{fetchNullValues:m}=A(e)?.query??{},c=l??M(e),{categoriesArray:S,splitByFieldType:F}=await ce({config:e,layer:t,layerFieldsInfo:a,xAxisField:U(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:m}),b=[],p=!1,g=qe(e);if(S.length===0){b=Se({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let y of b)y.query&&(y.query.where=`${r}=''`)}else for(let y=0;y<S.length;y+=1){let v=S[y],q={y:n,seriesIndex:y,category:c,commonStrings:s},Y=g?ke(q):V(q),Fe={fieldName:r,fieldValueToMatch:v??"",subtypeInfo:K(i.layer),fieldList:i.layerFieldsInfo},we=Q(Fe),z=`${v}`,w={...Y,id:z,name:we??z,x:c===void 0||c===""?I:c,query:{...Y.query,where:`${r}=${F===oe.String&&v!==null?`'${v}'`:v}`}},x=e.series.find(Ie=>pe(Ie)===z);x!==void 0&&(e.colorMatch||(w.type===f.BoxPlotSeries?O(x)?w.fillSymbol=x.fillSymbol:w.fillSymbol={...T(),color:x.lineSymbol?.color}:O(x)?(w.lineSymbol={...J({width:j}),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}},w.markerSymbol={..._(),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}}):(w.lineSymbol=x.lineSymbol,w.markerSymbol=x.markerSymbol),p=!0),w.id=x.id,w.name=x.name),b.push(w)}if(b=be({formerSeries:e.series,newSeries:b,showMean:X(e)}),e.colorMatch=!p,X(e)){let y=e.series.find(q=>q.type===f.BoxPlotSeries),v=ue({x:c,y:n,seriesTemplate:y,commonStrings:s});b.unshift(v)}return b}var bo=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:l}=o,{layerFieldsInfo:t}=n,a=Ee(s,i,e),m=ne(t),c=M(r),S=Le(r,n,l),F=fe(r,n,l),b=Oe({config:r,layerInfo:n,newCategory:s}),p=W(r);if(!m.includes(c)&&m.includes(s)?p=se():m.includes(c)&&!m.includes(s)&&(p=ie()),p!==void 0&&ye(r,l,p),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:l}:{newShowMeanLines:!1,config:r,commonStrings:l}),r.series=a?await Pe({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:l}):Se({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:l}),b){let g=D({fieldName:s,numericFields:i,fieldList:t})?"":B(t,s);C(r,0,g)}if(F){let g=k(r,n,l);C(r,1,g)}r?.title!==void 0&&S&&(r.title.content.text=xe(r,n,l)),R({config:r,value:null,axisIndex:1,isMax:!1}),R({config:r,value:null,axisIndex:1,isMax:!0})},Ne=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Ne(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(l=>l.y).flat();return n=[...new Set(n)],n.length===1&&(r=B(s,n[0])),r}function xe(o,e,i){let{layerFieldsInfo:s}=e,r=M(o),n=ge(o),l=Ce(o),t=n.map(c=>B(s??[],c)).join(", "),a=B(s??[],r),m="";return n.length>0&&(r!==I&&l!==""?m=N(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:t,category:a,splitByField:l}):r!==I?m=N(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:a}):l!==""?m=N(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:l}):m=N(i.titleLabels.distributionOfField,{valueField:t})),m}var xo=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?B(s.layerFieldsInfo,e.y):r.axisLabels.values;Z(i)||(n=pe(e));let l={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:K(s.layer),fieldList:s.layerFieldsInfo};return n=Q(l)??n,n??e.id},ho=o=>o?.showOutliers??!1,Fo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,fe(i,s,r)){let n=k(i,s,r);C(i,1,n)}},wo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=P(1,i),l=k(i,s,r),t=L(i);if(i.standardizeValues=e,n===l||t){let a=k(i,s,r);C(i,1,a)}},he=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??h.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===h.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===h.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===h.Ascending?d.medianAsc:d.medianDesc;break}return e},Io=(o,e,i)=>{let s=u.Category,r=h.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=h.Ascending;break}case d.xAxisDesc:{s=u.Category,r=h.Descending;break}case d.meanAsc:{s=u.Mean,r=h.Ascending;break}case d.meanDesc:{s=u.Mean,r=h.Descending;break}case d.medianAsc:{s=u.Median,r=h.Ascending;break}case d.medianDesc:{s=u.Median,r=h.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},X=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:ve(i),l=(e??!1)!==(i.showMean??!1);if(i.showMean=e,l){let t;e?t=ae(i.series)?Te(i.series,s):i.series:t=De(i.series),t&&(t=be({formerSeries:i.series,newSeries:t,showMean:e}),i.series=t)}return e&&r!==void 0&&Be(r,i),{previousMeanLinesBoxColor:n}},vo=o=>{let e=[],i=o.orderOptions?.data?.orderType;return he(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},Bo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;he(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},Mo=async(o,e)=>{let i=M(o),s=W(o)?.type,r=ge(o),n=[];return s===f.CategoryAxisFormat&&(D({fieldName:i,numericFields:r,fieldList:e.layerFieldsInfo})?n=r:U(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},U=o=>o.trim()===""||o===I,ze=(o,e)=>e.length>1&&!U(o),Ee=(o,e,i)=>!ze(o,e)&&i!=="";return{a:yo,b:fo,c:go,d:ve,e:Be,f:uo,g:Me,h:Ae,i:So,j:po,k:M,l:Ce,m:ge,n:bo,o:Ne,p:k,q:xe,r:xo,s:ho,t:Fo,u:wo,v:he,w:Io,x:X,y:Ve,z:vo,A:Bo,B:Mo,C:ze,D:Ee}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,b,c)
3
+ v5.0.0-next.64 */
4
+ import c from"./JNZZOEUW.js";import{h as O,n as ae}from"./OIHTUMRB.js";import b from"./KY7UCLJD.js";import a from"./HOMIFLXF.js";import{d as E,f as $,i as Z,j as ee,q as oe}from"./Q4ENGBTF.js";import{b as d}from"./GKOS4NPM.js";import{a as f,h,v as u}from"./RQXKQ37H.js";export default $arcgis.t(([,,,,,,,{substitute:N},,,,,,,,{C:j,Cc:ne,E:I,Ec:K,Ed:L,Fc:Q,Ga:H,O:J,Oc:A,P:ie,Q:se,Sc:te,X:T,Y:_,da:re,ha:G,vb:B,wd:le},{f:D},{Q:P,a:ce,e:me,f:C,i:R,k:W,l:ye,u:de}])=>{var yo=(o,e)=>e?.series?.[o]?.name,fo=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},go=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},ve=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},Be=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...T(),color:o})},uo=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Ae=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},So=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Ae(s,i)},po=o=>X(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Le(o,e,i){let s=xe(o,e,i),r=de(o),n=L(o);return s===r||n}function fe(o,e,i){let s=k(o,e,i),r=P(1,o),n=L(o);return s===r||n}function Oe(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=M(e),l=s!==I?B(r,n):"",t=P(0,e),a=L(e);return l===t||a||t.trim()===""}var M=o=>A(o)?.x??I,Ce=E(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return te(e?.query?.where)?"":i},o=>A(o)?.query?.where),ge=E(o=>le(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...G(r,i),x:e===void 0||e===""?I:e,y:s,query:{}};return $(n)},ke=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...re({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?I:e,y:s,query:{}};return $(n)};function ue(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:l}=s??{},t=G(r),a=n??`series_${Date.now()}`;return t.id=a,t.name=a,t.x=e,t.y=i,l?t.fillSymbol=l:t.fillSymbol&&(t.fillSymbol.color=H,t.fillSymbol?.outline&&(t.fillSymbol.outline.color=H)),t}function Se(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:l}=s,t=[],a=r??M(i),m=!1,c=D({fieldName:a,numericFields:e,fieldList:l});if(e.length===0){let S=V({y:"",seriesIndex:0,category:a,commonStrings:n});t.push(S)}else if(c){let S=e.length>1?e:e[0],F=V({y:S,seriesIndex:0,category:a,commonStrings:n}),b=e.length>1?n.axisLabels.values:B(s.layerFieldsInfo,e[0]),p={...F,id:e[0],name:b,x:c?I:a},g=i.series.find(y=>ee(S,y.y)&&y.query?.where===void 0);g!==void 0&&(!i.colorMatch&&"fillSymbol"in g&&(p.fillSymbol=g.fillSymbol,m=!0),p.id=g.id,p.name=g.name),t.push(p)}else for(let S=0;S<e.length;S+=1){let F=e[S],b=V({y:F,seriesIndex:S,category:a,commonStrings:n}),p=B(l,F),g={...b,id:F,name:p,x:a},y=i.series.find(v=>F===v.y);y!==void 0&&(!i.colorMatch&&"fillSymbol"in y&&(g.fillSymbol=y.fillSymbol,m=!0),g.id=y.id,g.name=y.name),t.push(g)}return i.series.length===1&&t.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(t[0].fillSymbol=i.series[0].fillSymbol,m=!0),i.colorMatch=!m,t}var pe=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",qe=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function Te(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:l,...t}=r;s.push({...t,type:f.LineSeries,lineSymbol:{...J({width:j}),...l!==void 0?{color:l.color}:{}},markerSymbol:{..._(),...l!==void 0?{color:l.color}:{}}})}}),s.unshift(ue({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:l,...t}=s,a=T();i.push({...t,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function be(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),l=e.filter(n).map(a=>a.id),t=i.filter(n).map(a=>a.id);return l.length===t.length&&JSON.stringify(l)!==JSON.stringify(t)&&(r=r.sort((a,m)=>l.findIndex(c=>c===a.id)-l.findIndex(c=>c===m.id))),r}async function Pe(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:l}=o,{layer:t,layerFieldsInfo:a}=i,{fetchNullValues:m}=A(e)?.query??{},c=l??M(e),{categoriesArray:S,splitByFieldType:F}=await ce({config:e,layer:t,layerFieldsInfo:a,xAxisField:U(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:m}),b=[],p=!1,g=qe(e);if(S.length===0){b=Se({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let y of b)y.query&&(y.query.where=`${r}=''`)}else for(let y=0;y<S.length;y+=1){let v=S[y],q={y:n,seriesIndex:y,category:c,commonStrings:s},Y=g?ke(q):V(q),Fe={fieldName:r,fieldValueToMatch:v??"",subtypeInfo:K(i.layer),fieldList:i.layerFieldsInfo},we=Q(Fe),z=`${v}`,w={...Y,id:z,name:we??z,x:c===void 0||c===""?I:c,query:{...Y.query,where:`${r}=${F===oe.String&&v!==null?`'${v}'`:v}`}},x=e.series.find(Ie=>pe(Ie)===z);x!==void 0&&(e.colorMatch||(w.type===f.BoxPlotSeries?O(x)?w.fillSymbol=x.fillSymbol:w.fillSymbol={...T(),color:x.lineSymbol?.color}:O(x)?(w.lineSymbol={...J({width:j}),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}},w.markerSymbol={..._(),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}}):(w.lineSymbol=x.lineSymbol,w.markerSymbol=x.markerSymbol),p=!0),w.id=x.id,w.name=x.name),b.push(w)}if(b=be({formerSeries:e.series,newSeries:b,showMean:X(e)}),e.colorMatch=!p,X(e)){let y=e.series.find(q=>q.type===f.BoxPlotSeries),v=ue({x:c,y:n,seriesTemplate:y,commonStrings:s});b.unshift(v)}return b}var bo=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:l}=o,{layerFieldsInfo:t}=n,a=Ee(s,i,e),m=ne(t),c=M(r),S=Le(r,n,l),F=fe(r,n,l),b=Oe({config:r,layerInfo:n,newCategory:s}),p=W(r);if(!m.includes(c)&&m.includes(s)?p=se():m.includes(c)&&!m.includes(s)&&(p=ie()),p!==void 0&&ye(r,l,p),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:l}:{newShowMeanLines:!1,config:r,commonStrings:l}),r.series=a?await Pe({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:l}):Se({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:l}),b){let g=D({fieldName:s,numericFields:i,fieldList:t})?"":B(t,s);C(r,0,g)}if(F){let g=k(r,n,l);C(r,1,g)}r?.title!==void 0&&S&&(r.title.content.text=xe(r,n,l)),R({config:r,value:null,axisIndex:1,isMax:!1}),R({config:r,value:null,axisIndex:1,isMax:!0})},Ne=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Ne(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(l=>l.y).flat();return n=[...new Set(n)],n.length===1&&(r=B(s,n[0])),r}function xe(o,e,i){let{layerFieldsInfo:s}=e,r=M(o),n=ge(o),l=Ce(o),t=n.map(c=>B(s??[],c)).join(", "),a=B(s??[],r),m="";return n.length>0&&(r!==I&&l!==""?m=N(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:t,category:a,splitByField:l}):r!==I?m=N(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:a}):l!==""?m=N(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:l}):m=N(i.titleLabels.distributionOfField,{valueField:t})),m}var xo=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?B(s.layerFieldsInfo,e.y):r.axisLabels.values;Z(i)||(n=pe(e));let l={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:K(s.layer),fieldList:s.layerFieldsInfo};return n=Q(l)??n,n??e.id},ho=o=>o?.showOutliers??!1,Fo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,fe(i,s,r)){let n=k(i,s,r);C(i,1,n)}},wo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=P(1,i),l=k(i,s,r),t=L(i);if(i.standardizeValues=e,n===l||t){let a=k(i,s,r);C(i,1,a)}},he=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??h.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===h.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===h.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===h.Ascending?d.medianAsc:d.medianDesc;break}return e},Io=(o,e,i)=>{let s=u.Category,r=h.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=h.Ascending;break}case d.xAxisDesc:{s=u.Category,r=h.Descending;break}case d.meanAsc:{s=u.Mean,r=h.Ascending;break}case d.meanDesc:{s=u.Mean,r=h.Descending;break}case d.medianAsc:{s=u.Median,r=h.Ascending;break}case d.medianDesc:{s=u.Median,r=h.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},X=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:ve(i),l=(e??!1)!==(i.showMean??!1);if(i.showMean=e,l){let t;e?t=ae(i.series)?Te(i.series,s):i.series:t=De(i.series),t&&(t=be({formerSeries:i.series,newSeries:t,showMean:e}),i.series=t)}return e&&r!==void 0&&Be(r,i),{previousMeanLinesBoxColor:n}},vo=o=>{let e=[],i=o.orderOptions?.data?.orderType;return he(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},Bo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;he(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},Mo=async(o,e)=>{let i=M(o),s=W(o)?.type,r=ge(o),n=[];return s===f.CategoryAxisFormat&&(D({fieldName:i,numericFields:r,fieldList:e.layerFieldsInfo})?n=r:U(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},U=o=>o.trim()===""||o===I,ze=(o,e)=>e.length>1&&!U(o),Ee=(o,e,i)=>!ze(o,e)&&i!=="";return{a:yo,b:fo,c:go,d:ve,e:Be,f:uo,g:Me,h:Ae,i:So,j:po,k:M,l:Ce,m:ge,n:bo,o:Ne,p:k,q:xe,r:xo,s:ho,t:Fo,u:wo,v:he,w:Io,x:X,y:Ve,z:vo,A:Bo,B:Mo,C:ze,D:Ee}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import{a as C}from"./HL5UMRRQ.js";import d from"./EP5XCMQT.js";import"./RIPXM2ZY.js";import{a as X}from"./KI4XHL43.js";import{d as x,f as l}from"./GM4DTPZ7.js";import c from"./2EVX6FDU.js";import{a as E,b as L,f as a,h as M,i as f,r as D,w as u,x as G,y as j,z as O}from"./QVK264UW.js";import"./PNSLXX4Q.js";import{g as y,h as z,j as m,k as h,m as S,n as T,q as p}from"./AJSUZCYZ.js";import{f as i,g as r,h as I}from"./OLW66PKP.js";import{a as n}from"./ZZR5VNLO.js";import{C as N,E as w,g as A,h as b,x as B,y as V,z as g}from"./HVTUVKMO.js";import"./Q6HNJSSU.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,{e:R}])=>{var P={type:u.TS,color:[1,1,1,255],font:{family:"Tahoma",size:12,decoration:O.None,style:G.Normal,weight:j.Normal}},k={type:u.SLS,color:[1,1,1,255],style:D.Solid,width:2},v={element:"chart-element",elementList:"element-list",sectionLabel:"section-label"},W=A`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`,F=class extends V{constructor(){super(...arguments),this._messages=X(),this.formatPopover=null,this.selectableElements=[],this.textProperties=[],this.symbolProperties=[],this.symbolPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedTexts=[],this.selectedBackground=[],this.selectedSymbols.includes(s))this.selectedSymbols=[],this.updateSelectedElement(this.selectedSymbols);else{let o=this.getFormatValue(s);this.selectedSymbols=[s],this.initSelectedSymbols(x(o)?o:k)}this.setupFormatPopover()},this.textPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedBackground=[],e.shiftKey){this.selectedTexts=[];let o=this.textProperties.indexOf(this.lastSelectedText??s),c=this.textProperties.indexOf(s);this.textProperties.forEach((d,$)=>{$>=Math.min(o,c)&&$<=Math.max(o,c)&&this.selectedTexts.push(d)}),this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover()}else if(e.ctrlKey)this.selectedTexts.includes(s)?(this.selectedTexts=this.selectedTexts.filter(o=>o!==s),this.updateSelectedElement(this.selectedTexts)):(this.selectedTexts=[...this.selectedTexts,s],this.updateSelectedElement(this.selectedTexts)),this.setupFormatPopover();else if(this.selectedTexts.includes(s))this.selectedTexts=[],this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover();else{let o=this.getFormatValue(s);this.selectedTexts=[s],this.initSelectedTexts(l(o)?o:P),this.setupFormatPopover()}this.lastSelectedText=s},this.backgroundChange=t=>{let e=t;e.stopImmediatePropagation();let s;e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground.includes(s)?(this.selectedBackground=[],this.selectedElement=void 0):(this.selectedBackground=[s],this.selectedElement=f(this.getFormatValue(s))?void 0:this.getFormatValue(s)),this.setupFormatPopover()},this.updateSymbolProps=t=>{let e=t.detail;this.selectedSymbols.forEach(s=>{this.setFormatValue(s,e)}),this.selectedElement=a(t.target.selectedElement)},this.updateBackground=t=>{this.setFormatValue(I.Background,t.detail),this.selectedElement=t.detail},this.updateTextProps=t=>{let{font:e,color:s}=t.detail;this.selectedTexts.forEach(o=>{let c=this.getFormatValue(o),d=l(c)?c:void 0;this.setFormatValue(o,{...d,type:u.TS,font:{...d?.font,...e},color:s??d?.color})}),this.selectedElement=a(t.target.selectedElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.formatPopoverClose=t=>{this.formatPopover===t?.target&&(this.selectedTexts=[],this.selectedSymbols=[],this.selectedBackground=[],this.selectedElement={},this.removeFormatPopover())},this.mergeFormatValues=(t,e)=>{let s=!1;E(t)&&E(e)||L(t)&&L(e)?s=!0:s=t===e;let o=typeof t=="number"||typeof e=="number"?Number.NaN:"";return s?void 0:o},this.updateSelectableElements=t=>{t&&!this.selectableElements.includes(t)&&this.selectableElements.push(t)},this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground=[]}static{this.properties={selectedSymbols:16,selectedTexts:16,selectedBackground:16,selectedElement:16,messageOverrides:0,model:0}}static{this.styles=W}load(){this.modelChange(this.model)}willUpdate(t){t.has("model")&&this.modelChange(this.model,t.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeFormatPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}correctTextElementSelection(){for(let t of this.selectableElements){let e=this.selectedTexts.includes(t.value)||this.selectedSymbols.includes(t.value)||this.selectedBackground.includes(t.value);t.selected=e}}updateSelectedElement(t,e){if(this.selectedElement=void 0,e===void 0){let s=a(this.getFormatValue(t[0]));this.selectedElement=t?.reduce((o,c)=>{let d=this.getFormatValue(c);return M(o,d,this.mergeFormatValues)},s)}else{let s=a(e);f(e)&&(this.selectedSymbols?.length>0&&(s=a(k)),this.selectedTexts?.length>0&&(s=a(P))),this.selectedElement=s}}initSelectedTexts(t){let e=a(t);f(t)&&(e=a(P)),this.selectedElement=e}initSelectedSymbols(t){let e=a(t);f(t)&&(e=a(k)),this.selectedElement=e}setupFormatPopover(){this.formatPopover=C(this.formatPopover);let t=this.selectedElement;t?.type===u.TS||t?.type===u.SLS||Array.isArray(this.selectedElement)?(this.formatPopover=N(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`),this.formatPopover!==null&&!document.body.contains(this.formatPopover)&&document.body.appendChild(this.formatPopover)):this.removeFormatPopover()}removeFormatPopover(){this.formatPopover!==null&&(this.formatPopover.open=!1,this.formatPopover=C(this.formatPopover))}getFormatValue(t){switch(t){case i.Title:return this.model.titleSymbol;case i.Description:return this.model.descriptionSymbol;case i.XAxisTitle:return m(this.model)?this.model.xAxisTitleSymbol:void 0;case i.YAxisTitle:return h(this.model)?this.model.getAxisTitleSymbol(1):void 0;case i.AxisLabels:return m(this.model)?this.model.axisLabelsSymbol:void 0;case i.GuideLabels:return T(this.model)?this.model.guideLabelsSymbol:void 0;case i.LegendText:return p(this.model)?this.model.legendTextSymbol:void 0;case i.LegendTitle:return p(this.model)?this.model.legendTitleSymbol:void 0;case i.DataLabels:return S(this.model)?this.model.dataLabelsSymbol:void 0;case r.AxisLines:return m(this.model)?this.model.axisLinesSymbol:void 0;case r.GridLines:return h(this.model)?this.model.getGridLinesSymbol():void 0;case r.LeaderLines:return y(this.model)?this.model.ticksSymbol:void 0;case i.Background:return this.model.backgroundColor;default:return}}setFormatValue(t,e){switch(t){case i.Title:l(e)&&(this.model.titleSymbol=e);break;case i.Description:l(e)&&(this.model.descriptionSymbol=e);break;case i.XAxisTitle:m(this.model)&&l(e)&&(this.model.xAxisTitleSymbol=e);break;case i.YAxisTitle:h(this.model)&&l(e)&&this.model.setAxisTitleSymbol(e,1);break;case i.AxisLabels:m(this.model)&&l(e)&&(this.model.axisLabelsSymbol=e);break;case i.GuideLabels:T(this.model)&&l(e)&&(this.model.guideLabelsSymbol=e);break;case i.LegendText:p(this.model)&&l(e)&&(this.model.legendTextSymbol=e);break;case i.LegendTitle:p(this.model)&&l(e)&&(this.model.legendTitleSymbol=e);break;case i.DataLabels:S(this.model)&&l(e)&&(this.model.dataLabelsSymbol=e);break;case r.AxisLines:m(this.model)&&x(e)&&(this.model.axisLinesSymbol=e);break;case r.GridLines:if(h(this.model)&&x(e)){let s=this.model.chartType,o=[];switch(s){case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.HistogramSeries:case n.BoxPlotSeries:case n.RadarSeries:{o=[1];break}case n.ScatterSeries:{o=[0,1];break}}this.model.setGridLinesSymbol(e,o)}break;case r.LeaderLines:y(this.model)&&x(e)&&(this.model.ticksSymbol=e);break;case i.Background:Array.isArray(e)&&(this.model.backgroundColor=e);break}}renderFormatElements(){this.textProperties=[i.Title,...m(this.model)?[i.XAxisTitle]:[],...h(this.model)?[i.YAxisTitle]:[],...p(this.model)?[i.LegendTitle]:[],i.Description,...p(this.model)?[i.LegendText]:[],...m(this.model)?[i.AxisLabels]:[],...T(this.model)?[i.GuideLabels]:[],...S(this.model)?[i.DataLabels]:[]],z(this.model)&&(this.textProperties=this.textProperties.filter(s=>s!==i.DataLabels)),this.symbolProperties=[i.Background,...m(this.model)?[r.AxisLines]:[],...h(this.model)?[r.GridLines]:[],...y(this.model)?[r.LeaderLines]:[]];let t=this.textProperties.map(s=>this.renderTextElement(s,this.textPropertyChange)),e=this.symbolProperties.map(s=>s===i.Background?this.renderTextElement(s,this.backgroundChange):this.renderTextElement(s,this.symbolPropertyChange));return{textElements:t,symbolElements:e}}renderTextElement(t,e){let s=R(t),o=this.getFormatValue(t),c=typeof o=="string"?o:"",d=this.selectedTexts.includes(t)||this.selectedSymbols.includes(t)||this.selectedBackground.includes(t);return b`<calcite-list-item class=${g(v.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${d} @click=${e} ${B(this.updateSelectableElements)}>${s!==void 0?b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>`:null}</calcite-list-item>`}render(){let{textElements:t,symbolElements:e}=this.renderFormatElements();return b`<div class=${g(v.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(v.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`}};w("arcgis-charts-config-format",F);return F},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",c,d)
3
+ v5.0.0-next.64 */
4
+ import{a as C}from"./7LZKBVWC.js";import d from"./XSO2F6YR.js";import"./PATSZ4YD.js";import{a as X}from"./IHK7WM4Y.js";import{d as x,f as l}from"./OIHTUMRB.js";import c from"./HOMIFLXF.js";import{a as E,b as L,f as a,h as M,i as f,r as D,w as u,x as G,y as j,z as O}from"./Q4ENGBTF.js";import"./Z5TFLZWE.js";import{g as y,h as z,j as m,k as h,m as S,n as T,q as p}from"./QQU6TXIL.js";import{f as i,g as r,h as I}from"./GKOS4NPM.js";import{a as n}from"./RQXKQ37H.js";import{C as N,E as w,g as A,h as b,x as B,y as V,z as g}from"./ZLMFJB26.js";import"./LCKNSU2F.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,{e:R}])=>{var P={type:u.TS,color:[1,1,1,255],font:{family:"Tahoma",size:12,decoration:O.None,style:G.Normal,weight:j.Normal}},k={type:u.SLS,color:[1,1,1,255],style:D.Solid,width:2},v={element:"chart-element",elementList:"element-list",sectionLabel:"section-label"},W=A`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`,F=class extends V{constructor(){super(...arguments),this._messages=X(),this.formatPopover=null,this.selectableElements=[],this.textProperties=[],this.symbolProperties=[],this.symbolPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedTexts=[],this.selectedBackground=[],this.selectedSymbols.includes(s))this.selectedSymbols=[],this.updateSelectedElement(this.selectedSymbols);else{let o=this.getFormatValue(s);this.selectedSymbols=[s],this.initSelectedSymbols(x(o)?o:k)}this.setupFormatPopover()},this.textPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedBackground=[],e.shiftKey){this.selectedTexts=[];let o=this.textProperties.indexOf(this.lastSelectedText??s),c=this.textProperties.indexOf(s);this.textProperties.forEach((d,$)=>{$>=Math.min(o,c)&&$<=Math.max(o,c)&&this.selectedTexts.push(d)}),this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover()}else if(e.ctrlKey)this.selectedTexts.includes(s)?(this.selectedTexts=this.selectedTexts.filter(o=>o!==s),this.updateSelectedElement(this.selectedTexts)):(this.selectedTexts=[...this.selectedTexts,s],this.updateSelectedElement(this.selectedTexts)),this.setupFormatPopover();else if(this.selectedTexts.includes(s))this.selectedTexts=[],this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover();else{let o=this.getFormatValue(s);this.selectedTexts=[s],this.initSelectedTexts(l(o)?o:P),this.setupFormatPopover()}this.lastSelectedText=s},this.backgroundChange=t=>{let e=t;e.stopImmediatePropagation();let s;e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground.includes(s)?(this.selectedBackground=[],this.selectedElement=void 0):(this.selectedBackground=[s],this.selectedElement=f(this.getFormatValue(s))?void 0:this.getFormatValue(s)),this.setupFormatPopover()},this.updateSymbolProps=t=>{let e=t.detail;this.selectedSymbols.forEach(s=>{this.setFormatValue(s,e)}),this.selectedElement=a(t.target.selectedElement)},this.updateBackground=t=>{this.setFormatValue(I.Background,t.detail),this.selectedElement=t.detail},this.updateTextProps=t=>{let{font:e,color:s}=t.detail;this.selectedTexts.forEach(o=>{let c=this.getFormatValue(o),d=l(c)?c:void 0;this.setFormatValue(o,{...d,type:u.TS,font:{...d?.font,...e},color:s??d?.color})}),this.selectedElement=a(t.target.selectedElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.formatPopoverClose=t=>{this.formatPopover===t?.target&&(this.selectedTexts=[],this.selectedSymbols=[],this.selectedBackground=[],this.selectedElement={},this.removeFormatPopover())},this.mergeFormatValues=(t,e)=>{let s=!1;E(t)&&E(e)||L(t)&&L(e)?s=!0:s=t===e;let o=typeof t=="number"||typeof e=="number"?Number.NaN:"";return s?void 0:o},this.updateSelectableElements=t=>{t&&!this.selectableElements.includes(t)&&this.selectableElements.push(t)},this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground=[]}static{this.properties={selectedSymbols:16,selectedTexts:16,selectedBackground:16,selectedElement:16,messageOverrides:0,model:0}}static{this.styles=W}load(){this.modelChange(this.model)}willUpdate(t){t.has("model")&&this.modelChange(this.model,t.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeFormatPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}correctTextElementSelection(){for(let t of this.selectableElements){let e=this.selectedTexts.includes(t.value)||this.selectedSymbols.includes(t.value)||this.selectedBackground.includes(t.value);t.selected=e}}updateSelectedElement(t,e){if(this.selectedElement=void 0,e===void 0){let s=a(this.getFormatValue(t[0]));this.selectedElement=t?.reduce((o,c)=>{let d=this.getFormatValue(c);return M(o,d,this.mergeFormatValues)},s)}else{let s=a(e);f(e)&&(this.selectedSymbols?.length>0&&(s=a(k)),this.selectedTexts?.length>0&&(s=a(P))),this.selectedElement=s}}initSelectedTexts(t){let e=a(t);f(t)&&(e=a(P)),this.selectedElement=e}initSelectedSymbols(t){let e=a(t);f(t)&&(e=a(k)),this.selectedElement=e}setupFormatPopover(){this.formatPopover=C(this.formatPopover);let t=this.selectedElement;t?.type===u.TS||t?.type===u.SLS||Array.isArray(this.selectedElement)?(this.formatPopover=N(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`),this.formatPopover!==null&&!document.body.contains(this.formatPopover)&&document.body.appendChild(this.formatPopover)):this.removeFormatPopover()}removeFormatPopover(){this.formatPopover!==null&&(this.formatPopover.open=!1,this.formatPopover=C(this.formatPopover))}getFormatValue(t){switch(t){case i.Title:return this.model.titleSymbol;case i.Description:return this.model.descriptionSymbol;case i.XAxisTitle:return m(this.model)?this.model.xAxisTitleSymbol:void 0;case i.YAxisTitle:return h(this.model)?this.model.getAxisTitleSymbol(1):void 0;case i.AxisLabels:return m(this.model)?this.model.axisLabelsSymbol:void 0;case i.GuideLabels:return T(this.model)?this.model.guideLabelsSymbol:void 0;case i.LegendText:return p(this.model)?this.model.legendTextSymbol:void 0;case i.LegendTitle:return p(this.model)?this.model.legendTitleSymbol:void 0;case i.DataLabels:return S(this.model)?this.model.dataLabelsSymbol:void 0;case r.AxisLines:return m(this.model)?this.model.axisLinesSymbol:void 0;case r.GridLines:return h(this.model)?this.model.getGridLinesSymbol():void 0;case r.LeaderLines:return y(this.model)?this.model.ticksSymbol:void 0;case i.Background:return this.model.backgroundColor;default:return}}setFormatValue(t,e){switch(t){case i.Title:l(e)&&(this.model.titleSymbol=e);break;case i.Description:l(e)&&(this.model.descriptionSymbol=e);break;case i.XAxisTitle:m(this.model)&&l(e)&&(this.model.xAxisTitleSymbol=e);break;case i.YAxisTitle:h(this.model)&&l(e)&&this.model.setAxisTitleSymbol(e,1);break;case i.AxisLabels:m(this.model)&&l(e)&&(this.model.axisLabelsSymbol=e);break;case i.GuideLabels:T(this.model)&&l(e)&&(this.model.guideLabelsSymbol=e);break;case i.LegendText:p(this.model)&&l(e)&&(this.model.legendTextSymbol=e);break;case i.LegendTitle:p(this.model)&&l(e)&&(this.model.legendTitleSymbol=e);break;case i.DataLabels:S(this.model)&&l(e)&&(this.model.dataLabelsSymbol=e);break;case r.AxisLines:m(this.model)&&x(e)&&(this.model.axisLinesSymbol=e);break;case r.GridLines:if(h(this.model)&&x(e)){let s=this.model.chartType,o=[];switch(s){case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.HistogramSeries:case n.BoxPlotSeries:case n.RadarSeries:{o=[1];break}case n.ScatterSeries:{o=[0,1];break}}this.model.setGridLinesSymbol(e,o)}break;case r.LeaderLines:y(this.model)&&x(e)&&(this.model.ticksSymbol=e);break;case i.Background:Array.isArray(e)&&(this.model.backgroundColor=e);break}}renderFormatElements(){this.textProperties=[i.Title,...m(this.model)?[i.XAxisTitle]:[],...h(this.model)?[i.YAxisTitle]:[],...p(this.model)?[i.LegendTitle]:[],i.Description,...p(this.model)?[i.LegendText]:[],...m(this.model)?[i.AxisLabels]:[],...T(this.model)?[i.GuideLabels]:[],...S(this.model)?[i.DataLabels]:[]],z(this.model)&&(this.textProperties=this.textProperties.filter(s=>s!==i.DataLabels)),this.symbolProperties=[i.Background,...m(this.model)?[r.AxisLines]:[],...h(this.model)?[r.GridLines]:[],...y(this.model)?[r.LeaderLines]:[]];let t=this.textProperties.map(s=>this.renderTextElement(s,this.textPropertyChange)),e=this.symbolProperties.map(s=>s===i.Background?this.renderTextElement(s,this.backgroundChange):this.renderTextElement(s,this.symbolPropertyChange));return{textElements:t,symbolElements:e}}renderTextElement(t,e){let s=R(t),o=this.getFormatValue(t),c=typeof o=="string"?o:"",d=this.selectedTexts.includes(t)||this.selectedSymbols.includes(t)||this.selectedBackground.includes(t);return b`<calcite-list-item class=${g(v.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${d} @click=${e} ${B(this.updateSelectableElements)}>${s!==void 0?b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>`:null}</calcite-list-item>`}render(){let{textElements:t,symbolElements:e}=this.renderFormatElements();return b`<div class=${g(v.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(v.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`}};w("arcgis-charts-config-format",F);return F},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import"./Q6HNJSSU.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_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_short:"HH",_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:"n.e.",_era_bc:"p.n.e.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"stycznia",February:"lutego",March:"marca",April:"kwietnia",May:"maja",June:"czerwca",July:"lipca",August:"sierpnia",September:"wrze\u015Bnia",October:"pa\u017Adziernika",November:"listopada",December:"grudnia",Jan:"sty",Feb:"lut",Mar:"mar",Apr:"kwi","May(short)":"maj",Jun:"cze",Jul:"lip",Aug:"sie",Sep:"wrz",Oct:"pa\u017A",Nov:"lis",Dec:"gru",Sunday:"niedziela",Monday:"poniedzia\u0142ek",Tuesday:"wtorek",Wednesday:"\u015Broda",Thursday:"czwartek",Friday:"pi\u0105tek",Saturday:"sobota",Sun:"niedz.",Mon:"pon.",Tue:"wt.",Wed:"\u015Br.",Thu:"czw.",Fri:"pt.",Sat:"sob.",_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":"Zmiana skali",Play:"Odtwarzanie",Stop:"Zatrzymaj",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Wczytywanie",Home:"Strona g\u0142\xF3wna",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:"Drukuj",Image:"Obraz",Data:"Dane",Print:"Drukuj","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":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.64 */
4
+ import"./LCKNSU2F.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_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_short:"HH",_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:"n.e.",_era_bc:"p.n.e.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"stycznia",February:"lutego",March:"marca",April:"kwietnia",May:"maja",June:"czerwca",July:"lipca",August:"sierpnia",September:"wrze\u015Bnia",October:"pa\u017Adziernika",November:"listopada",December:"grudnia",Jan:"sty",Feb:"lut",Mar:"mar",Apr:"kwi","May(short)":"maj",Jun:"cze",Jul:"lip",Aug:"sie",Sep:"wrz",Oct:"pa\u017A",Nov:"lis",Dec:"gru",Sunday:"niedziela",Monday:"poniedzia\u0142ek",Tuesday:"wtorek",Wednesday:"\u015Broda",Thursday:"czwartek",Friday:"pi\u0105tek",Saturday:"sobota",Sun:"niedz.",Mon:"pon.",Tue:"wt.",Wed:"\u015Br.",Thu:"czw.",Fri:"pt.",Sat:"sob.",_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":"Zmiana skali",Play:"Odtwarzanie",Stop:"Zatrzymaj",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Wczytywanie",Home:"Strona g\u0142\xF3wna",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:"Drukuj",Image:"Obraz",Data:"Dane",Print:"Drukuj","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":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import"./Q6HNJSSU.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_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_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_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:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(r){var e="th";if(r<11||r>13)switch(r%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Click, tap or press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",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:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(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:"","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":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a as default};
3
+ v5.0.0-next.64 */
4
+ import"./LCKNSU2F.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_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_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_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:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(r){var e="th";if(r<11||r>13)switch(r%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Click, tap or press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",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:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(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:"","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":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import b from"./EP5XCMQT.js";import"./RIPXM2ZY.js";import{a as m}from"./KI4XHL43.js";import a from"./2EVX6FDU.js";import"./QVK264UW.js";import"./PNSLXX4Q.js";import"./OLW66PKP.js";import"./ZZR5VNLO.js";import{E as l,g as o,h as g,l as c,y as h}from"./HVTUVKMO.js";import"./Q6HNJSSU.js";export default $arcgis.t(([,{m:n}])=>{var u="arcgis-charts-config-storage-colors",_=o`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`,a=class extends h{constructor(){super(...arguments),this._messages=m(),this.arcgisColorSelect=c()}static{this.properties={messageOverrides:0,rgba:0,heading:1}}static{this.styles=_}onColorSelect(s){let{value:e}=s.target;if(e!==null){let{r,g:t,b:v}=e,i=[r,t,v,255];this.isNewColor(i)&&this.arcgisColorSelect.emit(i)}}isNewColor(s){let e=!1;return this.rgba===void 0?e=!0:s===void 0?e=!1:e=s[0]!==this.rgba[0]||s[1]!==this.rgba[1]||s[2]!==this.rgba[2],e}render(){let s;if(this.rgba!==void 0){let[e,r,t]=this.rgba;s={r:e,g:r,b:t}}return g`<calcite-label>${this.heading??this._messages.color}</calcite-label><calcite-color-picker .value=${n(s)} @calciteColorPickerInput=${this.onColorSelect} .messageOverrides=${{g:this._messages.g,green:this._messages.green,h:this._messages.h,hex:this._messages.hex,hsv:this._messages.hsv,hue:this._messages.hue,r:this._messages.r,red:this._messages.red,rgb:this._messages.rgb,s:this._messages.s,saturation:this._messages.saturation,saveColor:this._messages.saveColor,saved:this._messages.saved,v:this._messages.v,value:this._messages.value}} clearable .storageId=${u} format=rgb></calcite-color-picker>`}};l("arcgis-charts-config-colors",a);return a},a,b)
3
+ v5.0.0-next.64 */
4
+ import b from"./XSO2F6YR.js";import"./PATSZ4YD.js";import{a as m}from"./IHK7WM4Y.js";import a from"./HOMIFLXF.js";import"./Q4ENGBTF.js";import"./Z5TFLZWE.js";import"./GKOS4NPM.js";import"./RQXKQ37H.js";import{E as l,g as o,h as g,l as c,y as h}from"./ZLMFJB26.js";import"./LCKNSU2F.js";export default $arcgis.t(([,{m:n}])=>{var u="arcgis-charts-config-storage-colors",_=o`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`,a=class extends h{constructor(){super(...arguments),this._messages=m(),this.arcgisColorSelect=c()}static{this.properties={messageOverrides:0,rgba:0,heading:1}}static{this.styles=_}onColorSelect(s){let{value:e}=s.target;if(e!==null){let{r,g:t,b:v}=e,i=[r,t,v,255];this.isNewColor(i)&&this.arcgisColorSelect.emit(i)}}isNewColor(s){let e=!1;return this.rgba===void 0?e=!0:s===void 0?e=!1:e=s[0]!==this.rgba[0]||s[1]!==this.rgba[1]||s[2]!==this.rgba[2],e}render(){let s;if(this.rgba!==void 0){let[e,r,t]=this.rgba;s={r:e,g:r,b:t}}return g`<calcite-label>${this.heading??this._messages.color}</calcite-label><calcite-color-picker .value=${n(s)} @calciteColorPickerInput=${this.onColorSelect} .messageOverrides=${{g:this._messages.g,green:this._messages.green,h:this._messages.h,hex:this._messages.hex,hsv:this._messages.hsv,hue:this._messages.hue,r:this._messages.r,red:this._messages.red,rgb:this._messages.rgb,s:this._messages.s,saturation:this._messages.saturation,saveColor:this._messages.saveColor,saved:this._messages.saved,v:this._messages.v,value:this._messages.value}} clearable .storageId=${u} format=rgb></calcite-color-picker>`}};l("arcgis-charts-config-colors",a);return a},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import{b as te}from"./ST2ONPTK.js";import{b as T}from"./IMF75WDM.js";import{a as Q}from"./VC6EPBFT.js";import{a as ee}from"./HL5UMRRQ.js";import b from"./EP5XCMQT.js";import"./RIPXM2ZY.js";import{a as U}from"./KI4XHL43.js";import{c as Z,d as g}from"./GM4DTPZ7.js";import a from"./2EVX6FDU.js";import{f as k,r as V,w as u}from"./QVK264UW.js";import"./PNSLXX4Q.js";import{k as Y,o as W,p as H}from"./AJSUZCYZ.js";import{i as v}from"./OLW66PKP.js";import{a as j}from"./ZZR5VNLO.js";import{A as S,C as I,E as N,g as R,h as r,l as z,w as c,x as h,y as X,z as o}from"./HVTUVKMO.js";import"./Q6HNJSSU.js";export default $arcgis.t(([,,,,,,,{Id:O,Jd:D,Kd:P,O:q,Pc:p},{h:C,i:x,n:E,p:J,r:K}])=>{var a={row:"row",column:"column",colorPicker:"color-picker"},se=R`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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{display:flex;flex-direction:column}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`,A=class extends X{constructor(){super(...arguments),this._messages=U(),this.startCalciteInput=c(),this.endCalciteInput=c(),this.startDateCalciteInput=c(),this.endDateCalciteInput=c(),this.startTimeCalciteInput=c(),this.endTimeCalciteInput=c(),this.colorElement=c(),this.colorChange=e=>{let t=e.detail,i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation);if(p(i,n)===u.SLS){let l=k(T.style),s=this.model.getGuideStyle(this.index,this.orientation),d={...l,...g(s)?s:{},color:t};this.lineStyleChange({detail:d})}else this.setColor(t)},this.symbolChange=e=>{let t=e?.detail,i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation);if(p(i,n)===u.SLS){let l=k(T.style),s=this.model.getGuideStyle(this.index,this.orientation),d={...l,...g(s)?s:{},...g(t)?t:{}};this.lineStyleChange({detail:d})}else t?.color!==void 0&&this.setColor(t.color)},this.onModelConfigChange=()=>{this.requestUpdate()},this.guidePopover=null,this.latestGuidePosition=0,this.arcgisChartsConfigGuideChange=z()}static{this.properties={guidePopover:16,messageOverrides:0,model:0,timeZone:1,calculatedMinMaxBounds:0,index:9,orientation:1,latestGuidePosition:9}}static{this.styles=se}get isXAxisDateField(){return this.orientation===v.X&&Y(this.model)&&this.model.getAxisValueFormat(0)?.type===j.DateAxisFormat}load(){this.modelChange(this.model)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}loaded(){this.isXAxisDateField&&this.setGuideDateTimeRange()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}onColorElementSelect(e){this.guidePopover?.open===!0?this.removeGuidePopover():this.setupGuidePopover(e)}setGuideStart(e){let{value:t}=e.target;this.startCalciteInput.value!==void 0&&(t===""?C({inputElement:this.startCalciteInput.value,status:x.INVALID}):(this.model.setGuideStart(t,this.index,this.orientation),this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),C({inputElement:this.startCalciteInput.value,status:x.IDLE}))),this.guidePopover?.open===!0&&this.removeGuidePopover()}setGuideEnd(e){let{value:t}=e.target;this.endCalciteInput.value!==void 0&&(this.model.setGuideEnd(t===""?null:t,this.index,this.orientation),this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),C({inputElement:this.endCalciteInput.value,status:x.IDLE})),this.guidePopover?.open===!0&&this.removeGuidePopover()}setGuideDateTimeRange(){let e=this.calculatedMinMaxBounds?.find(m=>m.isXAxis)?.minimum,t=this.calculatedMinMaxBounds?.find(m=>m.isXAxis)?.maximum,i=typeof e=="number"?new Date(e):new Date,n=typeof t=="number"?new Date(t):new Date,l=new window.Intl.DateTimeFormat().resolvedOptions().timeZone,s=O(this.timeZone)??l,d=D(i,s),f=P(i,s),$=D(n,s),ie=P(n,s),_=this.startDateCalciteInput.value?.value??"",b=_===""?d:_,F=this.startTimeCalciteInput.value?.value??"",L=F===""?f:F,G=this.endDateCalciteInput.value?.value??"",y=G===""?$:G,M=this.endTimeCalciteInput.value?.value??"",B=M===""?ie:M,w=!1;if(!Array.isArray(b)&&b!==void 0&&L!==void 0){let m=`${b}T${L}`;this.model.setGuideStart(m,this.index,this.orientation),w=!0}if(!Array.isArray(y)&&y!==void 0&&B!==void 0){let m=G===""?void 0:`${y}T${B}`;this.model.setGuideEnd(m,this.index,this.orientation),w=!0}w&&(this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),this.guidePopover?.open===!0&&this.removeGuidePopover())}setGuideName(e){let t=e.target.value;this.model.setGuideName(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setGuideLabel(e){let t=e.target.value;this.model.setGuideLabelText(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setGuideRendered(e){let t=e.target?.selectedItem?.value;if(t!==void 0){let i=t===this._messages.inFront;this.model.setGuideAbove(i,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}}lineStyleChange(e){let t=e.detail;this.model.setGuideStyle(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setupGuidePopover(e){e.stopImmediatePropagation();let t=this.model.getGuideStyle(this.index,this.orientation),i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation),l;p(i,n)===u.SLS?l=g(t)?t:void 0:l=t?.color;let s=this.colorElement.value;Array.isArray(t?.color)?(this.guidePopover=I(r`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`),this.guidePopover!==void 0&&!document.body.contains(this.guidePopover)&&document.body.appendChild(this.guidePopover)):this.removeGuidePopover()}removeGuidePopover(){this.guidePopover!==null&&this.guidePopover!==void 0&&(this.guidePopover=ee(this.guidePopover))}setColor(e){let t=q({opacity:0}),i=this.model.getGuideStyle(this.index,this.orientation),n={...Z(i)?i:{},type:u.SFS,color:e,outline:t};this.model.setGuideStyle(n,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}getDateStringFromBound(e){return typeof e=="string"?e.split("T")[0]:""}getTimeStringFromBound(e){return typeof e=="string"?e.split("T")[1]:""}createTooltip(e){let t=e.target,i="";switch(t.icon){case"view-visible":i=this._messages.hideGuide??"";break;case"view-hide":i=this._messages.showGuide??"";break;case"trash":default:i=this._messages.deleteGuide??"";break}this.tooltip=I(r`<calcite-tooltip style=${S({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}toggleGuide(){let e=this.model.getGuideVisibility(this.index,this.orientation);this.model.setGuideVisibility(!e,this.index,this.orientation)}destroyTooltip(){K(this.tooltip)}deleteGuide(){this.destroyTooltip(),this.orientation===v.X&&W(this.model)?this.model.deleteXAxisGuide(this.index):this.orientation===v.Y&&H(this.model)&&this.model.deleteYAxisGuide(this.index),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!0})}renderColorElement(){let e=this.model.getGuideStyle(this.index,this.orientation),[t,i,n,l]=[...e?.color??[1,1,1,255]],s=this.model.getGuideStart(this.index,this.orientation),d=this.model.getGuideEnd(this.index,this.orientation),f=g(e)?J(e.style):V.Solid,$=p(s,d)===u.SLS?`line-${f}`:"square-f";return r`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(a.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${h(this.colorElement)}><calcite-icon slot=content-end .icon=${$} style=${S({color:`rgba(${t},${i},${n},${l/255})`})}></calcite-icon></calcite-list-item></calcite-list>`}render(){let e=this.model.getGuideStart(this.index,this.orientation),t=this.model.getGuideEnd(this.index,this.orientation),i=this.model.getGuideName(this.index,this.orientation),n=this.model.getGuideLabelText(this.index,this.orientation),l=this.model.getGuideAbove(this.index,this.orientation),s=this.model.getGuideVisibility(this.index,this.orientation),d=this.isXAxisDateField;return r`<calcite-block .heading=${i??""} .expanded=${this.latestGuidePosition===te(this.index,this.orientation,this.model)} collapsible .messageOverrides=${{expand:this._messages.expand,collapse:this._messages.collapse}}><calcite-action slot=control text .icon=${s?"view-visible":"view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.start}${d?r`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${h(this.startDateCalciteInput)}></calcite-input-date-picker>`:r`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${E} number-button-type=none .value=${e?.toString()} ${h(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(a.column)}>${this._messages.end}${d?r`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${h(this.endDateCalciteInput)}></calcite-input-date-picker>`:r`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${E} number-button-type=none .value=${t?.toString()} ${h(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${d?Q("time-picker-row",r`<div class=${o(a.row)}>${e!=null?r`<calcite-label class=${o(a.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${h(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>`:null}${t!=null?r`<calcite-label class=${o(a.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${h(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>`:null}</div>`):null}<div class=${o(a.row)}><div class=${o(a.column)}>${this.renderColorElement()}</div></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${n} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`}};N("arcgis-charts-config-guide",A);return A},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
3
+ v5.0.0-next.64 */
4
+ import{b as te}from"./6AENLA74.js";import{b as T}from"./4U27TNVI.js";import{a as Q}from"./EMKKZ4SI.js";import{a as ee}from"./7LZKBVWC.js";import b from"./XSO2F6YR.js";import"./PATSZ4YD.js";import{a as U}from"./IHK7WM4Y.js";import{c as Z,d as g}from"./OIHTUMRB.js";import a from"./HOMIFLXF.js";import{f as k,r as V,w as u}from"./Q4ENGBTF.js";import"./Z5TFLZWE.js";import{k as Y,o as W,p as H}from"./QQU6TXIL.js";import{i as v}from"./GKOS4NPM.js";import{a as j}from"./RQXKQ37H.js";import{A as S,C as I,E as N,g as R,h as r,l as z,w as c,x as h,y as X,z as o}from"./ZLMFJB26.js";import"./LCKNSU2F.js";export default $arcgis.t(([,,,,,,,{Id:O,Jd:D,Kd:P,O:q,Pc:p},{h:C,i:x,n:E,p:J,r:K}])=>{var a={row:"row",column:"column",colorPicker:"color-picker"},se=R`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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{display:flex;flex-direction:column}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`,A=class extends X{constructor(){super(...arguments),this._messages=U(),this.startCalciteInput=c(),this.endCalciteInput=c(),this.startDateCalciteInput=c(),this.endDateCalciteInput=c(),this.startTimeCalciteInput=c(),this.endTimeCalciteInput=c(),this.colorElement=c(),this.colorChange=e=>{let t=e.detail,i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation);if(p(i,n)===u.SLS){let l=k(T.style),s=this.model.getGuideStyle(this.index,this.orientation),d={...l,...g(s)?s:{},color:t};this.lineStyleChange({detail:d})}else this.setColor(t)},this.symbolChange=e=>{let t=e?.detail,i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation);if(p(i,n)===u.SLS){let l=k(T.style),s=this.model.getGuideStyle(this.index,this.orientation),d={...l,...g(s)?s:{},...g(t)?t:{}};this.lineStyleChange({detail:d})}else t?.color!==void 0&&this.setColor(t.color)},this.onModelConfigChange=()=>{this.requestUpdate()},this.guidePopover=null,this.latestGuidePosition=0,this.arcgisChartsConfigGuideChange=z()}static{this.properties={guidePopover:16,messageOverrides:0,model:0,timeZone:1,calculatedMinMaxBounds:0,index:9,orientation:1,latestGuidePosition:9}}static{this.styles=se}get isXAxisDateField(){return this.orientation===v.X&&Y(this.model)&&this.model.getAxisValueFormat(0)?.type===j.DateAxisFormat}load(){this.modelChange(this.model)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}loaded(){this.isXAxisDateField&&this.setGuideDateTimeRange()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}onColorElementSelect(e){this.guidePopover?.open===!0?this.removeGuidePopover():this.setupGuidePopover(e)}setGuideStart(e){let{value:t}=e.target;this.startCalciteInput.value!==void 0&&(t===""?C({inputElement:this.startCalciteInput.value,status:x.INVALID}):(this.model.setGuideStart(t,this.index,this.orientation),this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),C({inputElement:this.startCalciteInput.value,status:x.IDLE}))),this.guidePopover?.open===!0&&this.removeGuidePopover()}setGuideEnd(e){let{value:t}=e.target;this.endCalciteInput.value!==void 0&&(this.model.setGuideEnd(t===""?null:t,this.index,this.orientation),this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),C({inputElement:this.endCalciteInput.value,status:x.IDLE})),this.guidePopover?.open===!0&&this.removeGuidePopover()}setGuideDateTimeRange(){let e=this.calculatedMinMaxBounds?.find(m=>m.isXAxis)?.minimum,t=this.calculatedMinMaxBounds?.find(m=>m.isXAxis)?.maximum,i=typeof e=="number"?new Date(e):new Date,n=typeof t=="number"?new Date(t):new Date,l=new window.Intl.DateTimeFormat().resolvedOptions().timeZone,s=O(this.timeZone)??l,d=D(i,s),f=P(i,s),$=D(n,s),ie=P(n,s),_=this.startDateCalciteInput.value?.value??"",b=_===""?d:_,F=this.startTimeCalciteInput.value?.value??"",L=F===""?f:F,G=this.endDateCalciteInput.value?.value??"",y=G===""?$:G,M=this.endTimeCalciteInput.value?.value??"",B=M===""?ie:M,w=!1;if(!Array.isArray(b)&&b!==void 0&&L!==void 0){let m=`${b}T${L}`;this.model.setGuideStart(m,this.index,this.orientation),w=!0}if(!Array.isArray(y)&&y!==void 0&&B!==void 0){let m=G===""?void 0:`${y}T${B}`;this.model.setGuideEnd(m,this.index,this.orientation),w=!0}w&&(this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),this.guidePopover?.open===!0&&this.removeGuidePopover())}setGuideName(e){let t=e.target.value;this.model.setGuideName(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setGuideLabel(e){let t=e.target.value;this.model.setGuideLabelText(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setGuideRendered(e){let t=e.target?.selectedItem?.value;if(t!==void 0){let i=t===this._messages.inFront;this.model.setGuideAbove(i,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}}lineStyleChange(e){let t=e.detail;this.model.setGuideStyle(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setupGuidePopover(e){e.stopImmediatePropagation();let t=this.model.getGuideStyle(this.index,this.orientation),i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation),l;p(i,n)===u.SLS?l=g(t)?t:void 0:l=t?.color;let s=this.colorElement.value;Array.isArray(t?.color)?(this.guidePopover=I(r`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`),this.guidePopover!==void 0&&!document.body.contains(this.guidePopover)&&document.body.appendChild(this.guidePopover)):this.removeGuidePopover()}removeGuidePopover(){this.guidePopover!==null&&this.guidePopover!==void 0&&(this.guidePopover=ee(this.guidePopover))}setColor(e){let t=q({opacity:0}),i=this.model.getGuideStyle(this.index,this.orientation),n={...Z(i)?i:{},type:u.SFS,color:e,outline:t};this.model.setGuideStyle(n,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}getDateStringFromBound(e){return typeof e=="string"?e.split("T")[0]:""}getTimeStringFromBound(e){return typeof e=="string"?e.split("T")[1]:""}createTooltip(e){let t=e.target,i="";switch(t.icon){case"view-visible":i=this._messages.hideGuide??"";break;case"view-hide":i=this._messages.showGuide??"";break;case"trash":default:i=this._messages.deleteGuide??"";break}this.tooltip=I(r`<calcite-tooltip style=${S({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}toggleGuide(){let e=this.model.getGuideVisibility(this.index,this.orientation);this.model.setGuideVisibility(!e,this.index,this.orientation)}destroyTooltip(){K(this.tooltip)}deleteGuide(){this.destroyTooltip(),this.orientation===v.X&&W(this.model)?this.model.deleteXAxisGuide(this.index):this.orientation===v.Y&&H(this.model)&&this.model.deleteYAxisGuide(this.index),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!0})}renderColorElement(){let e=this.model.getGuideStyle(this.index,this.orientation),[t,i,n,l]=[...e?.color??[1,1,1,255]],s=this.model.getGuideStart(this.index,this.orientation),d=this.model.getGuideEnd(this.index,this.orientation),f=g(e)?J(e.style):V.Solid,$=p(s,d)===u.SLS?`line-${f}`:"square-f";return r`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(a.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${h(this.colorElement)}><calcite-icon slot=content-end .icon=${$} style=${S({color:`rgba(${t},${i},${n},${l/255})`})}></calcite-icon></calcite-list-item></calcite-list>`}render(){let e=this.model.getGuideStart(this.index,this.orientation),t=this.model.getGuideEnd(this.index,this.orientation),i=this.model.getGuideName(this.index,this.orientation),n=this.model.getGuideLabelText(this.index,this.orientation),l=this.model.getGuideAbove(this.index,this.orientation),s=this.model.getGuideVisibility(this.index,this.orientation),d=this.isXAxisDateField;return r`<calcite-block .heading=${i??""} .expanded=${this.latestGuidePosition===te(this.index,this.orientation,this.model)} collapsible .messageOverrides=${{expand:this._messages.expand,collapse:this._messages.collapse}}><calcite-action slot=control text .icon=${s?"view-visible":"view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.start}${d?r`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${h(this.startDateCalciteInput)}></calcite-input-date-picker>`:r`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${E} number-button-type=none .value=${e?.toString()} ${h(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(a.column)}>${this._messages.end}${d?r`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${h(this.endDateCalciteInput)}></calcite-input-date-picker>`:r`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${E} number-button-type=none .value=${t?.toString()} ${h(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${d?Q("time-picker-row",r`<div class=${o(a.row)}>${e!=null?r`<calcite-label class=${o(a.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${h(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>`:null}${t!=null?r`<calcite-label class=${o(a.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${h(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>`:null}</div>`):null}<div class=${o(a.row)}><div class=${o(a.column)}>${this.renderColorElement()}</div></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${n} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`}};N("arcgis-charts-config-guide",A);return A},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import"./Q6HNJSSU.js";var a={_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_short:"HH",_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:"n. e.",_era_bc:"p. n. e.",A:"prijepodne",P:"popodne",AM:"AM",PM:"PM","A.M.":"prijepodne","P.M.":"popodne",January:"januar",February:"februar",March:"mart",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"septembar",October:"oktobar",November:"novembar",December:"decembar",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"maj",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_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":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",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:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","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":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.64 */
4
+ import"./LCKNSU2F.js";var a={_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_short:"HH",_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:"n. e.",_era_bc:"p. n. e.",A:"prijepodne",P:"popodne",AM:"AM",PM:"PM","A.M.":"prijepodne","P.M.":"popodne",January:"januar",February:"februar",March:"mart",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"septembar",October:"oktobar",November:"novembar",December:"decembar",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"maj",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_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":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",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:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","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":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
3
+ v5.0.0-next.64 */
4
4
  var s={},n={},r={selectedChartId:"",chartAxesBoundDataMap:s,scatterplotData:n,timeBinningIntervalMap:{}},d=t=>{let{chartId:a,isXAxis:e,isLogarithmic:i}=t;return`${a}_${e?"x":"y"}${i?"_log":""}`},c=t=>{let a=t.selectedChartId;t.chartAxesBoundDataMap[a]=void 0},o=t=>t.timeBinningIntervalMap[t.selectedChartId],l=(t,a)=>{let e=t.selectedChartId;t.timeBinningIntervalMap[e]||(t.timeBinningIntervalMap[e]=a)},I=t=>{t.timeBinningIntervalMap[t.selectedChartId]=void 0};export{r as a,d as b,c,o as d,l as e,I as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import{a as t,b as r,c as n}from"./AJSUZCYZ.js";import{j as i}from"./OLW66PKP.js";async function Y(s){let o="config"in s?r(s.config):s.chartType,e;if(!("layer"in s)&&!("iLayer"in s)&&"config"in s&&s.config.iLayer===void 0)throw new Error("The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property.");switch(o){case i.LineChart:{let{LineChartModel:a}=await import("./HYMB76F6.js").then(m=>m.default.then(e=>({LineChartModel:e})));e=new a;break}case i.ComboBarLineChart:{let{ComboBarLineChartModel:a}=await import("./ANLJEWNA.js").then(m=>m.default.then(e=>({ComboBarLineChartModel:e})));e=new a;break}case i.PieChart:{let{PieChartModel:a}=await import("./7FKPNEMO.js").then(m=>m.default.then(e=>({PieChartModel:e})));e=new a;break}case i.Histogram:{let{HistogramModel:a}=await import("./XD7YTA2G.js").then(m=>m.default.then(e=>({HistogramModel:e})));e=new a;break}case i.Scatterplot:{let{ScatterplotModel:a}=await import("./YBGP4HIK.js").then(m=>m.default.then(e=>({ScatterplotModel:e})));e=new a;break}case i.BoxPlot:{let{BoxPlotModel:a}=await import("./FOSTTCVX.js").then(m=>m.default.then(e=>({BoxPlotModel:e})));e=new a;break}case i.Gauge:{let{GaugeModel:a}=await import("./LPEBJFWL.js").then(m=>m.default.then(e=>({GaugeModel:e})));e=new a;break}case i.RadarChart:{let{RadarChartModel:a}=await import("./USNNLSU5.js").then(m=>m.default.then(e=>({RadarChartModel:e})));e=new a;break}case i.HeatChart:{let{HeatChartModel:a}=await import("./XCJ6NT6W.js").then(m=>m.default.then(e=>({HeatChartModel:e})));e=new a;break}case i.BarChart:default:{let{BarChartModel:a}=await import("./XIJFBJMK.js").then(m=>m.default.then(e=>({BarChartModel:e})));e=new a;break}}if(await e?.setup({layer:"layer"in s?s.layer:void 0,iLayer:"iLayer"in s?s.iLayer:void 0,config:"config"in s?s.config:void 0}),o!==void 0&&n(e,o))return e;{let a=t(e.chartType);throw new Error(`Please check the arguments provided to \`createModel\`. The generated model's type (\`${a}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${o}\`).`)}}export{Y as a};
3
+ v5.0.0-next.64 */
4
+ import{a as t,b as r,c as n}from"./QQU6TXIL.js";import{j as i}from"./GKOS4NPM.js";async function Y(s){let o="config"in s?r(s.config):s.chartType,e;if(!("layer"in s)&&!("iLayer"in s)&&"config"in s&&s.config.iLayer===void 0)throw new Error("The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property.");switch(o){case i.LineChart:{let{LineChartModel:a}=await import("./H75R5U34.js").then(m=>m.default.then(e=>({LineChartModel:e})));e=new a;break}case i.ComboBarLineChart:{let{ComboBarLineChartModel:a}=await import("./O7XWWEN2.js").then(m=>m.default.then(e=>({ComboBarLineChartModel:e})));e=new a;break}case i.PieChart:{let{PieChartModel:a}=await import("./AY6HRHRJ.js").then(m=>m.default.then(e=>({PieChartModel:e})));e=new a;break}case i.Histogram:{let{HistogramModel:a}=await import("./XQC5MIXZ.js").then(m=>m.default.then(e=>({HistogramModel:e})));e=new a;break}case i.Scatterplot:{let{ScatterplotModel:a}=await import("./RML75YLS.js").then(m=>m.default.then(e=>({ScatterplotModel:e})));e=new a;break}case i.BoxPlot:{let{BoxPlotModel:a}=await import("./TZIYO65Z.js").then(m=>m.default.then(e=>({BoxPlotModel:e})));e=new a;break}case i.Gauge:{let{GaugeModel:a}=await import("./76A3VGHB.js").then(m=>m.default.then(e=>({GaugeModel:e})));e=new a;break}case i.RadarChart:{let{RadarChartModel:a}=await import("./N5V3J4EC.js").then(m=>m.default.then(e=>({RadarChartModel:e})));e=new a;break}case i.HeatChart:{let{HeatChartModel:a}=await import("./7RB2HDC4.js").then(m=>m.default.then(e=>({HeatChartModel:e})));e=new a;break}case i.BarChart:default:{let{BarChartModel:a}=await import("./32ZPFS4W.js").then(m=>m.default.then(e=>({BarChartModel:e})));e=new a;break}}if(await e?.setup({layer:"layer"in s?s.layer:void 0,iLayer:"iLayer"in s?s.iLayer:void 0,config:"config"in s?s.config:void 0}),o!==void 0&&n(e,o))return e;{let a=t(e.chartType);throw new Error(`Please check the arguments provided to \`createModel\`. The generated model's type (\`${a}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${o}\`).`)}}export{Y as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import"./Q6HNJSSU.js";var r={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_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 - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"yyyy-MM-dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"fm",P:"em",AM:"fm",PM:"em","A.M.":"f.m.","P.M.":"e.m.",January:"januari",February:"februari",March:"mars",April:"april",May:"maj",June:"juni",July:"juli",August:"augusti",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan.",Feb:"feb.",Mar:"mars",Apr:"apr.","May(short)":"maj",Jun:"juni",Jul:"juli",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"s\xF6ndag",Monday:"m\xE5ndag",Tuesday:"tisdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF6rdag",Sun:"s\xF6n",Mon:"m\xE5n",Tue:"tis",Wed:"ons",Thu:"tor",Fri:"fre",Sat:"l\xF6r",_dateOrd:function(e){return""},"Zoom Out":"Zooma ut",Play:"Spela",Stop:"Stoppa",Legend:"Teckenf\xF6rklaring","Press ENTER to toggle":"Klicka eller tryck ENTER f\xF6r att \xE4ndra",Loading:"L\xE4ser in",Home:"Hem",Chart:"Diagram","Serial chart":"Seriediagram","X/Y chart":"XY-diagram","Pie chart":"T\xE5rtdiagram","Gauge chart":"Instrumentdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankeydiagram","Chord diagram":"Str\xE4ngdiagram","Flow diagram":"Fl\xF6desschema","TreeMap chart":"Tr\xE4ddiagram ",Series:"Serier","Candlestick Series":"Candlestick-serier","Column Series":"Kolumnserier","Line Series":"Linjeserier","Pie Slice Series":"T\xE5rtserier","X/Y Series":"X/Y-serier",Map:"Karta","Press ENTER to zoom in":"Tryck RETUR f\xF6r att zooma in","Press ENTER to zoom out":"Tryck RETUR f\xF6r att zooma ut","Use arrow keys to zoom in and out":"Anv\xE4nd pil-knapparna f\xF6r att zooma in och ut","Use plus and minus keys on your keyboard to zoom in and out":"Anv\xE4nd plus- och minus-knapparna f\xF6r att zooma in och ut",Export:"Exportera",Image:"Bild",Data:"Data",Print:"Skriv ut","Press ENTER to open":"Klicka eller tryck ENTER f\xF6r att \xF6ppna","Press ENTER to print.":"Klicka eller tryck ENTER f\xF6r att skriva ut.","Press ENTER to export as %1.":"Klicka eller tryck ENTER f\xF6r att exportera till %1.","(Press ESC to close this message)":"(Tryck ESC f\xF6r att st\xE4nga)","Image Export Complete":"Bildexport klar","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"Sparad fr\xE5n",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":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta urvalet","Use left and right arrows to move left selection":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta v\xE4nsterurval","Use left and right arrows to move right selection":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta h\xF6gerurval","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta urvalet","Use up and down arrows to move lower selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta nedre urvalet","Use up and down arrows to move upper selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta \xF6vre urvalet","From %1 to %2":"Fr\xE5n %1 till %2","From %1":"Fr\xE5n %1","To %1":"Till %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"Ogiltigt datum",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.64 */
4
+ import"./LCKNSU2F.js";var r={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_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 - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"yyyy-MM-dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"fm",P:"em",AM:"fm",PM:"em","A.M.":"f.m.","P.M.":"e.m.",January:"januari",February:"februari",March:"mars",April:"april",May:"maj",June:"juni",July:"juli",August:"augusti",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan.",Feb:"feb.",Mar:"mars",Apr:"apr.","May(short)":"maj",Jun:"juni",Jul:"juli",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"s\xF6ndag",Monday:"m\xE5ndag",Tuesday:"tisdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF6rdag",Sun:"s\xF6n",Mon:"m\xE5n",Tue:"tis",Wed:"ons",Thu:"tor",Fri:"fre",Sat:"l\xF6r",_dateOrd:function(e){return""},"Zoom Out":"Zooma ut",Play:"Spela",Stop:"Stoppa",Legend:"Teckenf\xF6rklaring","Press ENTER to toggle":"Klicka eller tryck ENTER f\xF6r att \xE4ndra",Loading:"L\xE4ser in",Home:"Hem",Chart:"Diagram","Serial chart":"Seriediagram","X/Y chart":"XY-diagram","Pie chart":"T\xE5rtdiagram","Gauge chart":"Instrumentdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankeydiagram","Chord diagram":"Str\xE4ngdiagram","Flow diagram":"Fl\xF6desschema","TreeMap chart":"Tr\xE4ddiagram ",Series:"Serier","Candlestick Series":"Candlestick-serier","Column Series":"Kolumnserier","Line Series":"Linjeserier","Pie Slice Series":"T\xE5rtserier","X/Y Series":"X/Y-serier",Map:"Karta","Press ENTER to zoom in":"Tryck RETUR f\xF6r att zooma in","Press ENTER to zoom out":"Tryck RETUR f\xF6r att zooma ut","Use arrow keys to zoom in and out":"Anv\xE4nd pil-knapparna f\xF6r att zooma in och ut","Use plus and minus keys on your keyboard to zoom in and out":"Anv\xE4nd plus- och minus-knapparna f\xF6r att zooma in och ut",Export:"Exportera",Image:"Bild",Data:"Data",Print:"Skriv ut","Press ENTER to open":"Klicka eller tryck ENTER f\xF6r att \xF6ppna","Press ENTER to print.":"Klicka eller tryck ENTER f\xF6r att skriva ut.","Press ENTER to export as %1.":"Klicka eller tryck ENTER f\xF6r att exportera till %1.","(Press ESC to close this message)":"(Tryck ESC f\xF6r att st\xE4nga)","Image Export Complete":"Bildexport klar","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"Sparad fr\xE5n",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":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta urvalet","Use left and right arrows to move left selection":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta v\xE4nsterurval","Use left and right arrows to move right selection":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta h\xF6gerurval","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta urvalet","Use up and down arrows to move lower selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta nedre urvalet","Use up and down arrows to move upper selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta \xF6vre urvalet","From %1 to %2":"Fr\xE5n %1 till %2","From %1":"Fr\xE5n %1","To %1":"Till %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"Ogiltigt datum",Close:"",Minimize:"",Confirm:""};export{r 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import{a as y}from"./UTTZGKA4.js";import{a as C}from"./VC6EPBFT.js";import{b as H,c as M}from"./HL5UMRRQ.js";import c from"./EP5XCMQT.js";import{g as l}from"./RIPXM2ZY.js";import{a as x}from"./KI4XHL43.js";import a from"./2EVX6FDU.js";import{j as k,q as h}from"./QVK264UW.js";import"./PNSLXX4Q.js";import{a as m}from"./OLW66PKP.js";import{b as A,k as p,o as b}from"./ZZR5VNLO.js";import{A as D,C as F,E as w,g as S,h as s,l as $,w as u,x as d,y as P,z as o}from"./HVTUVKMO.js";import"./Q6HNJSSU.js";export default $arcgis.t(([{substitute:U},,,,,,,,,,,,,,,{Aa:T,Ab:N,Bc:L,Md:O,vb:z,za:E,zc:B},{a:f,c:v,g:_,k:g,o:K,r:j}])=>{var G=S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`,n={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",numericFieldPickList:"bar-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",rotateClass:"sort-y-axis",sortOrderPickList:"sort-order-pick-list",sizeSection:"size-section",applyButton:"apply-button",panel:"panel"},I=class extends P{constructor(){super(...arguments),this._messages=x(),this.commonStrings=x({name:"common",blocking:!0}),this.picklist=u(),this.intervalSizeElement=u(),this.intervalTypeElement=u(),this.popoverElement=u(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.isNoAggregationDisabled=!1,this.arcgisChartsConfigBarChartDataPopoverChange=$(),this.arcgisChartsConfigPopoverClose=$()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1,isCustomSortDisabled:5,isNoAggregationDisabled:5}}static{this.styles=G}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=v.map(a=>E(a,this.commonStrings));k(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[b.Start,b.End].map(a=>T(a,this.commonStrings));k(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},f.PopoverTimer),H(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},f.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=M(e,t)}buildAggregationListItems(){let e=this.isNoAggregationDisabled?v.filter(t=>t!==A.NoAggregation):v;return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=O(t),a=new Intl.NumberFormat(i).format(f.customSortLimit),r=U(this._messages.customSortLimit??"",{totalLimit:a});this.tooltip=F(s`<calcite-tooltip style=${D({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){j(this.tooltip)}buildSortOrder(){let e=Object.keys(m),t;return y(e,i=>i,i=>{let a="";switch(i){case m.xAxisAsc:{t="a-z-down";break}case m.xAxisDesc:{t="a-z-up";break}case m.yAxisAsc:{t="sort-descending",a=n.rotateClass;break}case m.yAxisDesc:{t="sort-ascending",a=n.rotateClass;break}case m.customSort:{t="arrow-up-down";break}}return s`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===m.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${m[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${a}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return C(e.name,s`<calcite-list-item .label=${z(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${g(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case l.numericFields:{for(let a=0;a<t;a+=1){let r=this.layerFieldsInfo?.[a];r&&B(r)&&i.push(this.buildPickListItem(r))}break}case l.category:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String||c.type===h.Date||c.type===h.DateOnly||c.type===h.TimestampOffset)&&i.push(this.buildPickListItem(c))}break}case l.splitByField:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String)&&i.push(this.buildPickListItem(c))}break}}return i}closePopover(){if(this.contentKind===l.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBarChartDataPopoverChange,contentKind:this.contentKind};K(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){let t=e.target.selectedItems;this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}buildIntervalAlignmentPickListItems(){let e=[b.Start,b.End];return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}renderAggregationType(){let e=this.buildAggregationListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(l.category);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(l.numericFields);return s`<calcite-list label class=${o(n.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label class=${o(n.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(l.splitByField);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[p.Second,p.Minute,p.Hour,p.Day,p.Week,p.Month,p.Year];return s`<div><div class=${o(n.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${_(e?.size,1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${d(this.intervalTypeElement)}>${t.map(i=>s`<calcite-option .value=${i} .label=${N(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(n.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case l.aggregation:e=this.renderAggregationType();break;case l.category:e=this.renderCategory();break;case l.numericFields:e=this.renderNumericFields();break;case l.splitByField:e=this.renderSplitByField();break;case l.sortOrder:e=this.renderSortOrder();break;case l.intervalAlignment:e=this.renderIntervalAlignment();break;case l.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===l.numericFields&&(e=s`<div slot=footer><calcite-fab class=${o(n.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(n.jsAppFlyout)}><calcite-popover class=${o(n.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${o(n.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(n.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};w("arcgis-charts-config-bar-chart-popover",I);return I},"intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,c)
3
+ v5.0.0-next.64 */
4
+ import{a as y}from"./ZNW2AB62.js";import{a as C}from"./EMKKZ4SI.js";import{b as H,c as M}from"./7LZKBVWC.js";import c from"./XSO2F6YR.js";import{g as l}from"./PATSZ4YD.js";import{a as x}from"./IHK7WM4Y.js";import a from"./HOMIFLXF.js";import{j as k,q as h}from"./Q4ENGBTF.js";import"./Z5TFLZWE.js";import{a as m}from"./GKOS4NPM.js";import{b as A,k as p,o as b}from"./RQXKQ37H.js";import{A as D,C as F,E as w,g as S,h as s,l as $,w as u,x as d,y as P,z as o}from"./ZLMFJB26.js";import"./LCKNSU2F.js";export default $arcgis.t(([{substitute:U},,,,,,,,,,,,,,,{Aa:T,Ab:N,Bc:L,Md:O,vb:z,za:E,zc:B},{a:f,c:v,g:_,k:g,o:K,r:j}])=>{var G=S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`,n={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",numericFieldPickList:"bar-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",rotateClass:"sort-y-axis",sortOrderPickList:"sort-order-pick-list",sizeSection:"size-section",applyButton:"apply-button",panel:"panel"},I=class extends P{constructor(){super(...arguments),this._messages=x(),this.commonStrings=x({name:"common",blocking:!0}),this.picklist=u(),this.intervalSizeElement=u(),this.intervalTypeElement=u(),this.popoverElement=u(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.isNoAggregationDisabled=!1,this.arcgisChartsConfigBarChartDataPopoverChange=$(),this.arcgisChartsConfigPopoverClose=$()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1,isCustomSortDisabled:5,isNoAggregationDisabled:5}}static{this.styles=G}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=v.map(a=>E(a,this.commonStrings));k(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[b.Start,b.End].map(a=>T(a,this.commonStrings));k(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},f.PopoverTimer),H(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},f.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=M(e,t)}buildAggregationListItems(){let e=this.isNoAggregationDisabled?v.filter(t=>t!==A.NoAggregation):v;return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=O(t),a=new Intl.NumberFormat(i).format(f.customSortLimit),r=U(this._messages.customSortLimit??"",{totalLimit:a});this.tooltip=F(s`<calcite-tooltip style=${D({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){j(this.tooltip)}buildSortOrder(){let e=Object.keys(m),t;return y(e,i=>i,i=>{let a="";switch(i){case m.xAxisAsc:{t="a-z-down";break}case m.xAxisDesc:{t="a-z-up";break}case m.yAxisAsc:{t="sort-descending",a=n.rotateClass;break}case m.yAxisDesc:{t="sort-ascending",a=n.rotateClass;break}case m.customSort:{t="arrow-up-down";break}}return s`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===m.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${m[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${a}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return C(e.name,s`<calcite-list-item .label=${z(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${g(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case l.numericFields:{for(let a=0;a<t;a+=1){let r=this.layerFieldsInfo?.[a];r&&B(r)&&i.push(this.buildPickListItem(r))}break}case l.category:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String||c.type===h.Date||c.type===h.DateOnly||c.type===h.TimestampOffset)&&i.push(this.buildPickListItem(c))}break}case l.splitByField:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String)&&i.push(this.buildPickListItem(c))}break}}return i}closePopover(){if(this.contentKind===l.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBarChartDataPopoverChange,contentKind:this.contentKind};K(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){let t=e.target.selectedItems;this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}buildIntervalAlignmentPickListItems(){let e=[b.Start,b.End];return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}renderAggregationType(){let e=this.buildAggregationListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(l.category);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(l.numericFields);return s`<calcite-list label class=${o(n.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label class=${o(n.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(l.splitByField);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[p.Second,p.Minute,p.Hour,p.Day,p.Week,p.Month,p.Year];return s`<div><div class=${o(n.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${_(e?.size,1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${d(this.intervalTypeElement)}>${t.map(i=>s`<calcite-option .value=${i} .label=${N(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(n.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case l.aggregation:e=this.renderAggregationType();break;case l.category:e=this.renderCategory();break;case l.numericFields:e=this.renderNumericFields();break;case l.splitByField:e=this.renderSplitByField();break;case l.sortOrder:e=this.renderSortOrder();break;case l.intervalAlignment:e=this.renderIntervalAlignment();break;case l.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===l.numericFields&&(e=s`<div slot=footer><calcite-fab class=${o(n.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(n.jsAppFlyout)}><calcite-popover class=${o(n.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${o(n.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(n.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};w("arcgis-charts-config-bar-chart-popover",I);return I},"intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.63 */
4
- import"./Q6HNJSSU.js";var r={_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_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_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:"\u897F\u5143",_era_bc:"\u897F\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u9031\u65E5",Mon:"\u9031\u4E00",Tue:"\u9031\u4E8C",Wed:"\u9031\u4E09",Thu:"\u9031\u56DB",Fri:"\u9031\u4E94",Sat:"\u9031\u516D",_dateOrd:function(_){var e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7E2E\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u6B62",Legend:"\u5716\u4F8B","Click, tap or press ENTER to toggle":"",Loading:"\u6B63\u5728\u8F09\u5165",Home:"\u9996\u9801",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:"\u5217\u5370",Image:"\u5F71\u50CF",Data:"\u8CC7\u6599",Print:"\u5217\u5370","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(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:"","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":"\u5F9E %1 \u81F3 %2","From %1":"\u5F9E %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
3
+ v5.0.0-next.64 */
4
+ import"./LCKNSU2F.js";var r={_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_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_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:"\u897F\u5143",_era_bc:"\u897F\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u9031\u65E5",Mon:"\u9031\u4E00",Tue:"\u9031\u4E8C",Wed:"\u9031\u4E09",Thu:"\u9031\u56DB",Fri:"\u9031\u4E94",Sat:"\u9031\u516D",_dateOrd:function(_){var e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7E2E\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u6B62",Legend:"\u5716\u4F8B","Click, tap or press ENTER to toggle":"",Loading:"\u6B63\u5728\u8F09\u5165",Home:"\u9996\u9801",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:"\u5217\u5370",Image:"\u5F71\u50CF",Data:"\u8CC7\u6599",Print:"\u5217\u5370","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(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:"","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":"\u5F9E %1 \u81F3 %2","From %1":"\u5F9E %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};