@arcgis/charts-components 5.0.0-next.13 → 5.0.0-next.15

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 (308) hide show
  1. package/dist/cdn/{WUGCEQ3O.js → 2HFDQNUJ.js} +2 -2
  2. package/dist/cdn/{I7GRDKGE.js → 2IHRS6XO.js} +2 -2
  3. package/dist/cdn/{2KGRZS4B.js → 2QGYZBVC.js} +2 -2
  4. package/dist/cdn/{MZD74T66.js → 3ANPURTA.js} +2 -2
  5. package/dist/cdn/{FSBBCC67.js → 3OHMNCK2.js} +2 -2
  6. package/dist/cdn/{6LPANFJT.js → 3SWCIBBB.js} +2 -2
  7. package/dist/cdn/{QC6RA53Y.js → 3TM24EQG.js} +2 -2
  8. package/dist/cdn/{EH5J64LO.js → 3VSMJUCU.js} +2 -2
  9. package/dist/cdn/{5S67JF46.js → 434U5CCN.js} +2 -2
  10. package/dist/cdn/{WDFVR55Y.js → 4ABZGR4R.js} +2 -2
  11. package/dist/cdn/{EEEGEZOI.js → 4KDC6BC7.js} +2 -2
  12. package/dist/cdn/{MPEI7RJI.js → 4V56AR7R.js} +2 -2
  13. package/dist/cdn/{D47UATDE.js → 55RT2PVM.js} +2 -2
  14. package/dist/cdn/{DOPFX4SB.js → 5ONL44LQ.js} +2 -2
  15. package/dist/cdn/{JZQVT4V2.js → 5OYL6L6X.js} +2 -2
  16. package/dist/cdn/{4CS3FR2O.js → 5OZWJTGQ.js} +2 -2
  17. package/dist/cdn/{23ZMWSAR.js → 5TXDR4IW.js} +2 -2
  18. package/dist/cdn/{FBZQGW5A.js → 67ZO6F2S.js} +2 -2
  19. package/dist/cdn/{HMSQ5QXL.js → 6HSQ4R6A.js} +2 -2
  20. package/dist/cdn/{BSIWCTLU.js → 6UN56MTN.js} +2 -2
  21. package/dist/cdn/{TF5SSMI5.js → 6WUSSL77.js} +2 -2
  22. package/dist/cdn/{UB23KURL.js → 7FEKKJ6O.js} +2 -2
  23. package/dist/cdn/{6UOH6XYF.js → 7GGYLQVR.js} +40 -40
  24. package/dist/cdn/{VPVWXLLC.js → 7S5NKGVS.js} +2 -2
  25. package/dist/cdn/7XO4NEYB.js +6 -0
  26. package/dist/cdn/{UVHLCTSW.js → ABHW5CE2.js} +2 -2
  27. package/dist/cdn/{4ZMMW6TF.js → ACIN5UVG.js} +2 -2
  28. package/dist/cdn/{MO73QHYP.js → AEU2HWYS.js} +2 -2
  29. package/dist/cdn/{427SAJZF.js → AGN5CUWV.js} +2 -2
  30. package/dist/cdn/{RKBXEX2I.js → ASKPQLLK.js} +2 -2
  31. package/dist/cdn/B5YRLKHW.js +4 -0
  32. package/dist/cdn/{EDNENDTJ.js → BBDMNKC4.js} +2 -2
  33. package/dist/cdn/{BI23P3P2.js → BBRHHOLU.js} +2 -2
  34. package/dist/cdn/{BY5HY7B3.js → BJ26ADXK.js} +1 -1
  35. package/dist/cdn/{DEWKTZZP.js → BN6SWWLW.js} +2 -2
  36. package/dist/cdn/{LSJO3ECB.js → BO52KAZU.js} +2 -2
  37. package/dist/cdn/{X4ADIM5L.js → BOJMT6WM.js} +2 -2
  38. package/dist/cdn/{Y7QUHFB5.js → BQAEYXEP.js} +2 -2
  39. package/dist/cdn/{IVT62N2K.js → BXNZWDJR.js} +1 -1
  40. package/dist/cdn/BZ4U4UIO.js +4 -0
  41. package/dist/cdn/{IS2ZJXGX.js → C6XJTUW3.js} +2 -2
  42. package/dist/cdn/{FWDO34DM.js → CCNMNFU4.js} +2 -2
  43. package/dist/cdn/{RFBF27WR.js → CFEF5PED.js} +2 -2
  44. package/dist/cdn/{DYK7JCLK.js → CJNWHNUN.js} +2 -2
  45. package/dist/cdn/{BBIMUCPL.js → CPJMPYBA.js} +2 -2
  46. package/dist/cdn/{5YKE32ZS.js → CS2UZBIZ.js} +2 -2
  47. package/dist/cdn/{AN3Z3DED.js → D3B5BETN.js} +2 -2
  48. package/dist/cdn/{ULTLJ2O4.js → D3S6VZYM.js} +2 -2
  49. package/dist/cdn/{5EI4WAME.js → DCWMK4AG.js} +2 -2
  50. package/dist/cdn/{PR34OOND.js → DFX5P352.js} +1 -1
  51. package/dist/cdn/{5P7UJ6TT.js → DRSYMOLS.js} +2 -2
  52. package/dist/cdn/{H7V6VO3C.js → DYJIU22C.js} +2 -2
  53. package/dist/cdn/{O23FJD3R.js → E2BIA6XS.js} +2 -2
  54. package/dist/cdn/{THOFTDTR.js → EC2DBBVI.js} +2 -2
  55. package/dist/cdn/{Q4HFSM5X.js → EC66UVAA.js} +2 -2
  56. package/dist/cdn/{OQIATH7G.js → ECKCFNKB.js} +2 -2
  57. package/dist/cdn/{UVTVCANZ.js → ECTTF3BJ.js} +2 -2
  58. package/dist/cdn/{VXOBVGAM.js → EEZIP3OH.js} +2 -2
  59. package/dist/cdn/{YKGO4QBT.js → EQHZLZYP.js} +2 -2
  60. package/dist/cdn/{H3YN4BEX.js → FGGAHPDC.js} +2 -2
  61. package/dist/cdn/{44RLTQMQ.js → FJSOMVMF.js} +2 -2
  62. package/dist/cdn/{ZO2YQVMD.js → FJXJFOKB.js} +2 -2
  63. package/dist/cdn/{IUQM7NTE.js → FK4QG67C.js} +2 -2
  64. package/dist/cdn/{MDIIJDZN.js → FM53MHU6.js} +2 -2
  65. package/dist/cdn/{VK6HZU5V.js → FP2PG3PR.js} +2 -2
  66. package/dist/cdn/{KXHUKCOP.js → FTPOWQ2M.js} +2 -2
  67. package/dist/cdn/{LYFUTZMU.js → G35MJO3E.js} +2 -2
  68. package/dist/cdn/{57635DD6.js → GA62NEL6.js} +2 -2
  69. package/dist/cdn/{QLSUV3MA.js → GARNQKIY.js} +2 -2
  70. package/dist/cdn/{7USOFA4I.js → GL4TUFQJ.js} +2 -2
  71. package/dist/cdn/{BZLAVNQJ.js → GMRJBBRH.js} +2 -2
  72. package/dist/cdn/{PEH65QC7.js → GOSVLWOK.js} +2 -2
  73. package/dist/cdn/GPCXBOIX.js +4 -0
  74. package/dist/cdn/{EXGXS6IC.js → GQBA4C22.js} +2 -2
  75. package/dist/cdn/{XZGAMPZE.js → GVST4DZO.js} +2 -2
  76. package/dist/cdn/{OKQ7WM2R.js → HF3PGFD4.js} +2 -2
  77. package/dist/cdn/{A2RVATQV.js → HHD6BMFI.js} +2 -2
  78. package/dist/cdn/{GXW3BGAY.js → HJ4XZBJ3.js} +2 -2
  79. package/dist/cdn/{K3JAT7M5.js → HP7IJBB7.js} +2 -2
  80. package/dist/cdn/{7XMX5OUC.js → HULKC4IF.js} +2 -2
  81. package/dist/cdn/{2DZVA65I.js → HVQFWTR5.js} +2 -2
  82. package/dist/cdn/{VCFQ5BLB.js → HX5IWCPE.js} +2 -2
  83. package/dist/cdn/{C5F3ZQKM.js → HYSRH3IH.js} +2 -2
  84. package/dist/cdn/{MUQATTSO.js → I2ENEH6I.js} +2 -2
  85. package/dist/cdn/{VHOIHI3V.js → I52DONAE.js} +2 -2
  86. package/dist/cdn/I5CJ47QO.js +4 -0
  87. package/dist/cdn/{YVJ4R5D3.js → IMMVGOCW.js} +1 -1
  88. package/dist/cdn/{RMMOG7AZ.js → IP27FNZD.js} +2 -2
  89. package/dist/cdn/{7HF3N6H5.js → IQIMCRWU.js} +1 -1
  90. package/dist/cdn/{YCQM2VBR.js → ITEKBAP7.js} +2 -2
  91. package/dist/cdn/{NIXAGKKC.js → J4SXB67D.js} +2 -2
  92. package/dist/cdn/{I4T6G5TR.js → JGUVK274.js} +2 -2
  93. package/dist/cdn/{MCO2TTQL.js → JXEKDWPB.js} +2 -2
  94. package/dist/cdn/{MVSS7SGU.js → KGZREVW2.js} +2 -2
  95. package/dist/cdn/{6YKFHI43.js → L4WTVQBU.js} +2 -2
  96. package/dist/cdn/{7DWESA4W.js → LIRCYPIK.js} +2 -2
  97. package/dist/cdn/{LBK2USAQ.js → LJ3BG6G7.js} +4 -4
  98. package/dist/cdn/{2KZRELLP.js → LKSAJIL6.js} +2 -2
  99. package/dist/cdn/{BVAJGX2B.js → LKW4K6ZV.js} +2 -2
  100. package/dist/cdn/{7PTJ4CQ2.js → MA76GDKJ.js} +2 -2
  101. package/dist/cdn/{GZVDZDHR.js → MNIOSGYH.js} +2 -2
  102. package/dist/cdn/{YQDON6CP.js → MS4P4IKG.js} +1 -1
  103. package/dist/cdn/{MZARUXMD.js → MTAFS22C.js} +2 -2
  104. package/dist/cdn/{PJH6WBIF.js → MX2AFGMT.js} +2 -2
  105. package/dist/cdn/{2ROUX6TO.js → MZGUXZRK.js} +2 -2
  106. package/dist/cdn/{J65EAWEH.js → N32MD2IW.js} +2 -2
  107. package/dist/cdn/{ZRLBIR7S.js → NKL2GWDP.js} +2 -2
  108. package/dist/cdn/{VXK3XGG5.js → NLFGUCP5.js} +2 -2
  109. package/dist/cdn/NUTIVT7T.js +4 -0
  110. package/dist/cdn/{JBGSJHAT.js → NWE4IMRQ.js} +1 -1
  111. package/dist/cdn/{7RYUYLI3.js → NXCYGG55.js} +2 -2
  112. package/dist/cdn/{OMVTQEIR.js → NXKKC7KX.js} +1 -1
  113. package/dist/cdn/{SCJHQJWS.js → NXLUVAFE.js} +2 -2
  114. package/dist/cdn/{IOWSM6YZ.js → NXNB6OOK.js} +1 -1
  115. package/dist/cdn/{CXKIS5FH.js → NYH2YOLM.js} +2 -2
  116. package/dist/cdn/{E5TUJCXM.js → O4IEPQH6.js} +2 -2
  117. package/dist/cdn/{OYHO4BOA.js → OATQT3I4.js} +2 -2
  118. package/dist/cdn/{2IQVM3N4.js → OE44KX23.js} +2 -2
  119. package/dist/cdn/{VLCMD5G6.js → OFACCOMI.js} +2 -2
  120. package/dist/cdn/{CGBFYWHG.js → OGXRF57E.js} +2 -2
  121. package/dist/cdn/{O3LDD74B.js → OIVFQGIS.js} +2 -2
  122. package/dist/cdn/{W345BUVZ.js → OKU26SYR.js} +2 -2
  123. package/dist/cdn/{UGSXATIJ.js → OXUL6KKR.js} +2 -2
  124. package/dist/cdn/{6H2Z22XB.js → PCC7DRKD.js} +2 -2
  125. package/dist/cdn/{ATPRZA2E.js → PGGJPZLU.js} +2 -2
  126. package/dist/cdn/{YIVZNNY7.js → PLZX7KKU.js} +2 -2
  127. package/dist/cdn/{XLH3FKVE.js → Q2YGNKSP.js} +2 -2
  128. package/dist/cdn/{2YKNEYVJ.js → Q3G4E6BP.js} +2 -2
  129. package/dist/cdn/{ZMYBIPRW.js → QCOONURH.js} +2 -2
  130. package/dist/cdn/{V6BSO4HF.js → QNA7AWUF.js} +2 -2
  131. package/dist/cdn/{7NIFGXTS.js → QPBIH32T.js} +2 -2
  132. package/dist/cdn/{TMU3LLUA.js → R4YARP3S.js} +2 -2
  133. package/dist/cdn/{XQ3WKZR4.js → RBUKMYCI.js} +2 -2
  134. package/dist/cdn/{QBVWXU32.js → RFKZEZM4.js} +2 -2
  135. package/dist/cdn/{PUPFEXOY.js → RKHIFJZU.js} +2 -2
  136. package/dist/cdn/{KVCJQCE6.js → RTYRKL2Z.js} +2 -2
  137. package/dist/cdn/{Q4DN7TK6.js → S2C5BT6G.js} +2 -2
  138. package/dist/cdn/{G2EJYYKN.js → S7QW2GIV.js} +2 -2
  139. package/dist/cdn/{76KBTH62.js → SBTNRJH4.js} +2 -2
  140. package/dist/cdn/{R4556EWJ.js → SGQFASRN.js} +1 -1
  141. package/dist/cdn/{7MECPUCX.js → SQ4AJ7I2.js} +2 -2
  142. package/dist/cdn/{TQWAXPE6.js → T3R7X7UQ.js} +2 -2
  143. package/dist/cdn/{PHWXS4LW.js → TAZIP23C.js} +2 -2
  144. package/dist/cdn/{MMYQI55D.js → TI2SXKKD.js} +2 -2
  145. package/dist/cdn/{XCIEWMIP.js → TUGGISIT.js} +2 -2
  146. package/dist/cdn/{IJ75KTR2.js → TUPRRUWH.js} +2 -2
  147. package/dist/cdn/{KNW7ZMCD.js → ULG2BR6O.js} +2 -2
  148. package/dist/cdn/{KZKGOGEM.js → UNTE33BC.js} +2 -2
  149. package/dist/cdn/{LJE2DEA2.js → USMEGZQC.js} +2 -2
  150. package/dist/cdn/{QLYDF2JV.js → UYOAOW6W.js} +2 -2
  151. package/dist/cdn/{7LU6ZBNR.js → UZAJV6LD.js} +2 -2
  152. package/dist/cdn/{QSEN63RJ.js → V43ECDTA.js} +2 -2
  153. package/dist/cdn/{ERLIW3HZ.js → V55GOYAN.js} +2 -2
  154. package/dist/cdn/{7YLL4R7C.js → VA3OLXFX.js} +2 -2
  155. package/dist/cdn/{DY5GHRDF.js → VCJ7DX64.js} +2 -2
  156. package/dist/cdn/{KCVWQ2SH.js → VH7AHW3J.js} +2 -2
  157. package/dist/cdn/{PDKJGDKZ.js → VH7G4YIT.js} +2 -2
  158. package/dist/cdn/{7CWODO7C.js → VQP3IDET.js} +2 -2
  159. package/dist/cdn/{J5FNKHCP.js → VVIXKCCI.js} +2 -2
  160. package/dist/cdn/{WSALX4ON.js → VXAYZ72E.js} +2 -2
  161. package/dist/cdn/{54ZLBQBJ.js → VZ5P2GFE.js} +2 -2
  162. package/dist/cdn/{6D4POUHT.js → WD5X74MH.js} +2 -2
  163. package/dist/cdn/{CMJ6MWSF.js → WDNAMGNM.js} +2 -2
  164. package/dist/cdn/{AZ2CKUL5.js → WERW5R5B.js} +2 -2
  165. package/dist/cdn/{QEKWSEYR.js → WOGMJMBK.js} +2 -2
  166. package/dist/cdn/{2WY5I7MT.js → X4HBQOFJ.js} +2 -2
  167. package/dist/cdn/{Z4NIAXRJ.js → X74G76ZE.js} +2 -2
  168. package/dist/cdn/{N7AQDPB7.js → XA6ZLYSX.js} +2 -2
  169. package/dist/cdn/{4LWVC4DU.js → XIKGBRO3.js} +2 -2
  170. package/dist/cdn/{QOMAKSSC.js → XRSKTIQQ.js} +2 -2
  171. package/dist/cdn/{B7B2F3VL.js → XW3DX2TS.js} +2 -2
  172. package/dist/cdn/{4PIDVK66.js → XWBVISIK.js} +2 -2
  173. package/dist/cdn/{7VPD6BTC.js → Y3YARJKZ.js} +2 -2
  174. package/dist/cdn/{AAKHKOUQ.js → YBU5U7G6.js} +2 -2
  175. package/dist/cdn/{JMNJEVGH.js → YFDFWFSZ.js} +2 -2
  176. package/dist/cdn/{Z7JZNXHI.js → YRHF56BK.js} +2 -2
  177. package/dist/cdn/{HROS2OSX.js → Z2ZST7C2.js} +2 -2
  178. package/dist/cdn/{OZTDCWOR.js → Z3TLBJKK.js} +2 -2
  179. package/dist/cdn/{FX6JGERW.js → ZACH5REB.js} +2 -2
  180. package/dist/cdn/{3YGBJRGR.js → ZLYKKNCA.js} +2 -2
  181. package/dist/cdn/{KA2Z5KD6.js → ZSHQ5G7Y.js} +2 -2
  182. package/dist/cdn/{XQJTQYO3.js → ZTGCTWNR.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +0 -8
  185. package/dist/chart-rendering/common/interfaces.d.ts +9 -5
  186. package/dist/chart-rendering/next/index.d.ts +2 -2
  187. package/dist/chart-rendering/stable/index.d.ts +5 -3
  188. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
  189. package/dist/chunks/action-bar-utils.js +7 -7
  190. package/dist/chunks/axis-model-wrapper.js +1 -1
  191. package/dist/chunks/bar-chart-model.js +2 -2
  192. package/dist/chunks/bar-chart-series.js +1 -1
  193. package/dist/chunks/baseline-stacking.js +2 -2
  194. package/dist/chunks/bg_BG.js +1 -1
  195. package/dist/chunks/bg_BG2.js +1 -1
  196. package/dist/chunks/box-plot-data.js +6 -6
  197. package/dist/chunks/box-plot-model.js +15 -15
  198. package/dist/chunks/chart-ui-utils.js +1 -1
  199. package/dist/chunks/chart-ui-utils2.js +12 -12
  200. package/dist/chunks/combo-bar-line-chart-model.js +2 -2
  201. package/dist/chunks/common.js +1 -1
  202. package/dist/chunks/config-update.js +980 -991
  203. package/dist/chunks/data.js +328 -328
  204. package/dist/chunks/default.js +1 -1
  205. package/dist/chunks/gauge-model.js +11 -11
  206. package/dist/chunks/heat-chart-model.js +9 -9
  207. package/dist/chunks/histogram-data.js +9 -9
  208. package/dist/chunks/histogram-model.js +2 -2
  209. package/dist/chunks/index.js +35 -35
  210. package/dist/chunks/index2.js +2 -2
  211. package/dist/chunks/index3.js +2 -2
  212. package/dist/chunks/index4.js +1 -1
  213. package/dist/chunks/index5.js +1 -1
  214. package/dist/chunks/interfaces.js +241 -238
  215. package/dist/chunks/interfaces2.js +1 -1
  216. package/dist/chunks/interfaces3.js +1 -1
  217. package/dist/chunks/interfaces4.js +2 -2
  218. package/dist/chunks/line-chart-model.js +6 -6
  219. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  220. package/dist/chunks/model-with-data-labels.js +2 -2
  221. package/dist/chunks/model-with-multi-axes.js +2 -2
  222. package/dist/chunks/model-with-rotation.js +2 -2
  223. package/dist/chunks/pie-chart-data.js +33 -33
  224. package/dist/chunks/pie-chart-model.js +20 -20
  225. package/dist/chunks/popover-ui-utils.js +1 -1
  226. package/dist/chunks/radar-chart-model.js +6 -6
  227. package/dist/chunks/resource.js +1 -1
  228. package/dist/chunks/rest-js-object-literals.js +1 -1
  229. package/dist/chunks/runtime.js +1 -1
  230. package/dist/chunks/scatterplot-model.js +2 -2
  231. package/dist/chunks/serial-chart-model.js +21 -19
  232. package/dist/chunks/series-types.js +1 -1
  233. package/dist/chunks/series.js +2 -2
  234. package/dist/chunks/sk_SK.js +1 -1
  235. package/dist/chunks/store.js +1 -1
  236. package/dist/chunks/type-guards.js +1 -1
  237. package/dist/chunks/useT9n.js +1 -1
  238. package/dist/chunks/web-component-utils.js +98 -98
  239. package/dist/components/arcgis-chart/customElement.d.ts +7 -9
  240. package/dist/components/arcgis-chart/customElement.js +6584 -6516
  241. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
  245. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
  246. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
  247. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  248. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
  249. package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
  250. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  251. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
  252. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  253. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
  254. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  259. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
  261. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
  265. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
  269. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
  270. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  271. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
  273. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  274. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  275. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  276. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
  277. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
  280. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -5
  281. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  282. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  283. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
  284. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  285. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +6 -6
  286. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
  287. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  288. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  289. package/dist/docs/api.json +5 -9
  290. package/dist/docs/docs.json +6 -10
  291. package/dist/docs/vscode.html-custom-data.json +1 -1
  292. package/dist/docs/web-types.json +2 -2
  293. package/dist/index.js +206 -205
  294. package/dist/loader.js +1 -1
  295. package/dist/model/heat-chart-model/heat-chart-model.d.ts +3 -8
  296. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +3 -3
  297. package/dist/model.js +1 -1
  298. package/dist/utils/chart-config/utils/index.d.ts +7 -0
  299. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  300. package/dist/utils/components/config-update.d.ts +11 -3
  301. package/dist/utils/layer/interfaces.d.ts +1 -0
  302. package/package.json +4 -4
  303. package/dist/cdn/EFUADL5X.js +0 -6
  304. package/dist/cdn/EKNBAJH5.js +0 -4
  305. package/dist/cdn/F3CH7OY3.js +0 -4
  306. package/dist/cdn/ILWDMLET.js +0 -4
  307. package/dist/cdn/M4SEBR7O.js +0 -4
  308. package/dist/cdn/TMTC7FJZ.js +0 -4
@@ -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.13 */
4
- import{b as D}from"./BBIMUCPL.js";import{a as Q}from"./IOWSM6YZ.js";import{a as $,b as Y,e as O}from"./OMVTQEIR.js";import{a as J}from"./UVHLCTSW.js";import{a as w}from"./GZVDZDHR.js";import{a as W}from"./Q4DN7TK6.js";import l from"./EFUADL5X.js";import{a as u}from"./BY5HY7B3.js";import k from"./5YKE32ZS.js";import{d as n}from"./DOPFX4SB.js";import{a as X}from"./UB23KURL.js";import j from"./FSBBCC67.js";import"./R4556EWJ.js";import i from"./DEWKTZZP.js";import g from"./AN3Z3DED.js";import e from"./7MECPUCX.js";import d from"./OZTDCWOR.js";import b from"./EKNBAJH5.js";import"./LYFUTZMU.js";import a from"./LBK2USAQ.js";import{j as x}from"./PR34OOND.js";import"./YVJ4R5D3.js";import{a as Z}from"./PUPFEXOY.js";import{e as P,f as L,h as G,k as I,l as H,q as B}from"./WDFVR55Y.js";import"./JBGSJHAT.js";import{a as o,k as _}from"./YQDON6CP.js";import{A as h,B as V,D as M,F as U,g as E,h as c,l as f,w as N,x as A,y as F}from"./IVT62N2K.js";import"./7HF3N6H5.js";export default $arcgis.t(([,,,,,,,{substitute:ae},{Ac:T,Db:z,Ta:b,eb:S},,,,,,R,{r:j},{a:q,d:y,e:K}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function ee(m,e){let a=new Set,t=e;return m?.forEach((i,s)=>{let r=i.chartId;(a.has(r)||r===void 0||r==="")&&(i.chartId=`Chart_${Date.now()}_${s}`,e===r&&(t=i.chartId)),a.add(r)}),t}function ie(m,e,a){return m?.filter(t=>b(a,t.config)&&t.layer?.id===e)??[]}function se(m){let{modelList:e,layerList:a,activeLayerId:t,disableEditing:i}=m,s=new Map;return e?.forEach(r=>{let l=r.layer;l&&s.set(l.id,l)}),i||a.forEach(r=>s.set(r.id,r)),Array.from(s.values()).filter(r=>!t||r.id===t)}function re(m,e){m.forEach(a=>{e.forEach(t=>{a?.id===t.layer?.id&&te(a,t)})})}function te(m,e){let a=m;if(a){let t=[...a?.charts??[]],i=t?.findIndex(r=>r.id===e.chartId),s=!1;i!==void 0&&i>-1?(s=!x(t[i],e.config),t[i]=e.config):a&&!T(e.config)&&(s=!0,t.push(e.config)),s&&(a.charts=t)}}function oe(m,e){let a=m;if(a){let t=[...a.charts??[]],i=t.findIndex(s=>s.id===e);i>-1&&(t.splice(i,1),a.charts=t)}}function le(m,e){let a=m;if(a){let t=[...a.charts??[]];t=S({arrayA:t,arrayB:e.map(i=>i.config),getKey:i=>i.id??i.title?.content.text??""}),a.charts=t}}var ne=E`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,k=class extends F{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=N(),this.supportedChartTypes=[o.BarSeries,o.BoxPlotSeries,o.LineSeries,o.PieSeries,o.HistogramSeries,o.ScatterSeries],this._messages=X(),this.chartDataProcessComplete=e=>{let a=e,{chartData:t,model:i}=a.detail,s=this.getModel(this.selectedChartId);if(i?.isSameChartAs(s))switch(s?.chartType){case o.HistogramSeries:this.chartData=t,i&&(i.dataStore.chartData=t);break;case o.PieSeries:{this.chartData=t,i&&(i.dataStore.chartData=t);break}case o.ScatterSeries:{let r=t,{dataItems:l,r2:C,aggregated:g}=r,p=C;Number.isFinite(C)||(p=void 0),this.r2=p,G(i)&&(i.dataStore.r2=p,i.dataStore.aggregated=g,g&&(i.additionalTooltipField=void 0)),this.calculatedDataMinMaxBounds=this.getDataExtent(l),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:case o.BarSeries:{let{dataItems:r,timeIntervalInfo:l}=t;if((L(s)||P(s)&&s.binTemporalData)&&(l?.size!==void 0&&s.temporalBinningSize!==l?.size&&(s.temporalBinningSize=l?.size),l?.unit!==void 0&&s.temporalBinningUnit!==l?.unit&&l?.unit!==_.Quarter&&(s.temporalBinningUnit=l?.unit),l?.size!==void 0&&l?.unit!==void 0&&O($,{size:l.size,unit:l.unit})),this.calculatedDataMinMaxBounds=this.getDataExtent(r),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds),P(s)){let C=s.xAxisField,g=r.some(v=>v[C]===null),p=s.nullCategory;g&&p===void 0&&(s.nullCategory=R.nullCategory)}break}}},this.chartAxesMinMaxChange=e=>{let a=e,{bounds:t,model:i}=a.detail,s=this.getModel(this.selectedChartId),r=i?.isSameChartAs(s),l=s?.chartType;if(r)switch(l){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=t,i&&(i.dataStore.calculatedMinMaxBounds=t),this.updateAxesBoundsInAppState(t);break}},this.chartSeriesColorChange=e=>{let a=e,{data:t,model:i}=a.detail,s=this.getModel(this.selectedChartId);if(i?.isSameChartAs(s))switch(s?.chartType){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=t,i&&(i.dataStore.seriesColor=t);break;case o.PieSeries:{let r=new Map([[0,t]]);this.seriesColor=r,i&&(i.dataStore.seriesColor=r);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let a=e,{propName:t,value:i,model:s}=a.detail,r=this.modelList.find(l=>s?.isSameChartAs(l));if(r)switch(t){case"rotation":typeof i=="boolean"&&H(r)&&(r.rotatedState=i);break;case"legendPosition":typeof i=="string"&&B(r)&&(r.legendPosition=i);break;case"legendVisibility":typeof i=="boolean"&&B(r)&&(r.legendVisibility=i);break}},this.chartLegendItemVisibilityChange=async e=>{let a=e,{legendItemVisibility:t,model:i}=a.detail,s=this.modelList.find(r=>i?.isSameChartAs(r));s?.setSeriesVisibility(t),I(s)&&((s.getMinBound(1)===null||Number.isNaN(s.getMinBound(1)))&&s.setMinBound(null,1),(s.getMaxBound(1)===null||Number.isNaN(s.getMaxBound(1)))&&s.setMaxBound(null,1),L(s)&&((s.getMinBound(0)===null||Number.isNaN(s.getMinBound(0)))&&s.setMinBound(null,0),(s.getMaxBound(0)===null||Number.isNaN(s.getMaxBound(0)))&&s.setMaxBound(null,0)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:a,layerId:t}=e.target;a!==void 0&&(this.allowChartSyncing=!0,this.arcgisChartsConfigNewChart.emit({key:"key",chartType:a,layerId:t}))},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers&&this.allowChartSyncing){let a=e.target;te(a?.layer,a)}this.requestUpdate()},this.allowChartSyncing=!1,this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.panelNumber=0,this.arcgisChartsConfigChartViewChartClose=f(),this.arcgisChartsConfigModelListChange=f(),this.arcgisChartsConfigNewChart=f(),this.arcgisChartsConfigPanelNumberChange=f(),this.arcgisChartsConfigSelectedChartChange=f(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:1,activeLayerId:1,disableEditing:5,syncChartsToLayers:5,timeZone:1,headerTitle:1,open:5,chartData:[0,{hasChanged:y}],r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[0,{hasChanged:y}],seriesColor:[0,{hasChanged:K}],popoverPlacement:1,usePopupTemplateFieldsInfo:5,panelNumber:9,filterBySelection:5}}static{this.styles=ne}async setFocus(){this.chartsListFlowItem.value?.setFocus()}connectedCallback(){super.connectedCallback(),this.addChartEventListeners()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}async willUpdate(e){e.has("layerList")&&(this.hasUpdated||this.layerList?.length>0)&&await this.layerListChange(),e.has("panelNumber")&&(this.hasUpdated||this.panelNumber!==0)&&this.panelNumberChange(this.panelNumber),e.has("modelList")&&(this.hasUpdated||this.modelList?.length>0)&&await this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&await this.selectedChartIdChange(this.selectedChartId)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover(),this.removeChartEventListeners()}modelListReorderChangeListener(e){let{modelList:a}=e.detail;if(this.modelList=S({arrayA:this.modelList,arrayB:a,getKey:t=>t.chartId??t.titleText??""}),this.syncChartsToLayers){let t=a.find(i=>i.layer?.id!==void 0)?.layer?.id;if(t){let i=this.layerList.find(s=>s.id.toString()===t);i&&le(i,a)}}}async layerListChange(){let e=[],a=this.layerList.map(i=>i.id.toString()),t=[...this.modelList.filter(i=>a.includes(i.layer?.id??""))];for(let i of this.layerList??[]){if(i.type==="sublayer"){let r=await i.createFeatureLayer();if(!r)continue;i=r}let s=i;for(let r of s.charts??[]){let l=await Z({layer:i,config:r});l!==void 0&&e.push(l)}}ee(e),e.forEach(i=>{t.find(s=>s.isSameChartAs(i))===void 0&&t.push(i)}),this.modelList=t}async modelListChange(e,a){this.selectedChartId=ee(e,this.selectedChartId),a?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let t=this.getModel(this.selectedChartId);this.currentChartTypeText=t?.chartType!==void 0?await D(t.chartType):"",this.syncChartsToLayers&&this.allowChartSyncing&&re(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}async selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=n.Data;let a=this.getModel(e);this.setEventBasedPropsFromModelData(a),this.currentChartTypeText=a?.chartType!==void 0?await D(a.chartType):"",e!==void 0&&e!==$.selectedChartId&&($.selectedChartId=e),this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:a})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){document.addEventListener(u.DataProcessComplete,this.chartDataProcessComplete),document.addEventListener(u.AxesMinMaxChange,this.chartAxesMinMaxChange),document.addEventListener(u.SeriesColorChange,this.chartSeriesColorChange),document.addEventListener(u.NoRenderPropChange,this.chartNoRenderPropChange),document.addEventListener(u.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}removeChartEventListeners(){document.removeEventListener(u.DataProcessComplete,this.chartDataProcessComplete),document.removeEventListener(u.AxesMinMaxChange,this.chartAxesMinMaxChange),document.removeEventListener(u.SeriesColorChange,this.chartSeriesColorChange),document.removeEventListener(u.NoRenderPropChange,this.chartNoRenderPropChange),document.removeEventListener(u.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let a=this.getModel(this.selectedChartId)?.config,t=[];if(a!==void 0&&e!==void 0){let i=z({chartConfig:a,chartData:e}),{minY:s,maxY:r,minX:l,maxX:C}=i;t=[{isXAxis:!0,minimum:l,maximum:C},{isXAxis:!1,minimum:s,maximum:r}]}return t}updateAxesBoundsInAppState(e){e?.forEach(a=>{let{isXAxis:t,maximum:i,minimum:s}=a,r=this.getModel(this.selectedChartId);if(r!==void 0&&I(r)&&this.selectedChartId!==void 0){let l=new Q(r,t),C=Y({chartId:this.selectedChartId,isXAxis:t,isLogarithmic:l.getLogarithmic()}),g=$.chartAxesBoundDataMap;g[this.selectedChartId]===void 0&&(g[this.selectedChartId]={});let p=g[this.selectedChartId]?.[C],v={defaultMinBound:p?.defaultMinBound===p?.currMinBound?s:p?.defaultMinBound,currMinBound:s,defaultMaxBound:p?.defaultMaxBound===p?.currMaxBound?i:p?.defaultMaxBound,currMaxBound:i};!x(p,v)&&this.selectedChartId!==void 0&&g?.[this.selectedChartId]!==void 0&&(g[this.selectedChartId][C]=v)}})}getPlacement(){let e;if(this.popoverPlacement!==void 0)e=this.popoverPlacement;else{let a=this.modelList?.filter(t=>b(q,t.config)).length;e=Number(a)<=2?"bottom":"top"}return e}onBackFlow(){this.panelNumber-=1}onAddChartClick(e){let{referenceElement:a,layerId:t}=e.detail;this.setupSelectChartTypePopover(a,t)}setupSelectChartTypePopover(e,a){let t=this.getPlacement();this.removeSelectChartTypePopover(),this.selectChartTypePopover=M(c`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(a=>a.chartId===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=W(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!T(e.config))}onViewChartDelete(e){let{chartId:a}=e.detail;if(a!==void 0){let t=this.modelList.find(s=>s.chartId===a),i=this.layerList.find(s=>s.id===t?.layer?.id);this.modelList=[...this.modelList.filter(s=>s.chartId!==a)],i&&this.syncChartsToLayers&&this.allowChartSyncing&&oe(i,a)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&(this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)})),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.open=!1,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let a=e.target,t="";switch(a.icon){case"configure":t=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":t=this._messages.series??"";break;case"graph-pie-slice":t=this._messages.slices??"";break;case"graph-axis":t=this._messages.axes??"";break;case"graph-guides":t=this._messages.guides??"";break;case"palette":t=this._messages.format??"";break;case"text":t=this._messages.general??"";break;default:t="";break}this.tooltip=M(c`<calcite-tooltip style=${V({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){j(this.tooltip)}renderViewCharts(){let e=se({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return J(e,a=>a.id,a=>c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${ie(this.modelList,a.id.toString(),this.supportedChartTypes)} .selectedChartId=${this.selectedChartId??""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.open!==!1?c`<calcite-flow>${w("charts-list",c`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${A(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>`:null}renderTabs(){let e=this.getModel(this.selectedChartId);return w("chart-edit",c`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??n.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?ae(this._messages.pageFlowTitle,{chartName:e?.titleText??this.currentChartTypeText,layerName:e?.layer?.title??""}):""}>${e?.chartType!==void 0?c`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===n.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=n.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType===o.BarSeries?c`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.LineSeries?c`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.BoxPlotSeries?c`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===n.Slices} @click=${()=>{this.selectedPanel=n.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===n.Axes} @click=${()=>{this.selectedPanel=n.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===n.Guides} @click=${()=>{this.selectedPanel=n.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===n.Format} @click=${()=>{this.selectedPanel=n.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===n.General} @click=${()=>{this.selectedPanel=n.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),a=e?.layer,t=null;if(e!==void 0&&!this.disableEditing)switch(e?.chartType){case"barSeries":t=c`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case"lineSeries":t=c`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case"pieSeries":t=c`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case"histogramSeries":t=c`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case"scatterSeries":t=c`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case"boxPlotSeries":t=c`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break}return t}};U("arcgis-charts-config-create-flow",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,d,e,g,i,j,k,l)
3
+ v5.0.0-next.15 */
4
+ import{b as D}from"./CPJMPYBA.js";import{a as Q}from"./NXNB6OOK.js";import{a as $,b as Y,e as O}from"./NXKKC7KX.js";import{a as J}from"./ABHW5CE2.js";import{a as w}from"./MNIOSGYH.js";import{a as W}from"./S2C5BT6G.js";import l from"./7XO4NEYB.js";import{a as u}from"./BJ26ADXK.js";import k from"./CS2UZBIZ.js";import{d as n}from"./5ONL44LQ.js";import{a as X}from"./7FEKKJ6O.js";import j from"./3OHMNCK2.js";import"./SGQFASRN.js";import i from"./BN6SWWLW.js";import g from"./D3B5BETN.js";import e from"./SQ4AJ7I2.js";import d from"./Z3TLBJKK.js";import b from"./I5CJ47QO.js";import"./G35MJO3E.js";import a from"./LJ3BG6G7.js";import{j as x}from"./DFX5P352.js";import"./IMMVGOCW.js";import{a as Z}from"./RKHIFJZU.js";import{e as P,f as L,h as G,k as I,l as H,q as B}from"./4ABZGR4R.js";import"./NWE4IMRQ.js";import{a as o,k as _}from"./MS4P4IKG.js";import{A as h,B as V,D as M,F as U,g as E,h as c,l as f,w as N,x as A,y as F}from"./BXNZWDJR.js";import"./IQIMCRWU.js";export default $arcgis.t(([,,,,,,,{substitute:ae},{Bc:T,Eb:z,Ta:b,eb:S},,,,,,R,{r:j},{a:q,d:y,e:K}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function ee(m,e){let a=new Set,t=e;return m?.forEach((i,s)=>{let r=i.chartId;(a.has(r)||r===void 0||r==="")&&(i.chartId=`Chart_${Date.now()}_${s}`,e===r&&(t=i.chartId)),a.add(r)}),t}function ie(m,e,a){return m?.filter(t=>b(a,t.config)&&t.layer?.id===e)??[]}function se(m){let{modelList:e,layerList:a,activeLayerId:t,disableEditing:i}=m,s=new Map;return e?.forEach(r=>{let l=r.layer;l&&s.set(l.id,l)}),i||a.forEach(r=>s.set(r.id,r)),Array.from(s.values()).filter(r=>!t||r.id===t)}function re(m,e){m.forEach(a=>{e.forEach(t=>{a?.id===t.layer?.id&&te(a,t)})})}function te(m,e){let a=m;if(a){let t=[...a?.charts??[]],i=t?.findIndex(r=>r.id===e.chartId),s=!1;i!==void 0&&i>-1?(s=!x(t[i],e.config),t[i]=e.config):a&&!T(e.config)&&(s=!0,t.push(e.config)),s&&(a.charts=t)}}function oe(m,e){let a=m;if(a){let t=[...a.charts??[]],i=t.findIndex(s=>s.id===e);i>-1&&(t.splice(i,1),a.charts=t)}}function le(m,e){let a=m;if(a){let t=[...a.charts??[]];t=S({arrayA:t,arrayB:e.map(i=>i.config),getKey:i=>i.id??i.title?.content.text??""}),a.charts=t}}var ne=E`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,k=class extends F{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=N(),this.supportedChartTypes=[o.BarSeries,o.BoxPlotSeries,o.LineSeries,o.PieSeries,o.HistogramSeries,o.ScatterSeries],this._messages=X(),this.chartDataProcessComplete=e=>{let a=e,{chartData:t,model:i}=a.detail,s=this.getModel(this.selectedChartId);if(i?.isSameChartAs(s))switch(s?.chartType){case o.HistogramSeries:this.chartData=t,i&&(i.dataStore.chartData=t);break;case o.PieSeries:{this.chartData=t,i&&(i.dataStore.chartData=t);break}case o.ScatterSeries:{let r=t,{dataItems:l,r2:C,aggregated:g}=r,p=C;Number.isFinite(C)||(p=void 0),this.r2=p,G(i)&&(i.dataStore.r2=p,i.dataStore.aggregated=g,g&&(i.additionalTooltipField=void 0)),this.calculatedDataMinMaxBounds=this.getDataExtent(l),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:case o.BarSeries:{let{dataItems:r,timeIntervalInfo:l}=t;if((L(s)||P(s)&&s.binTemporalData)&&(l?.size!==void 0&&s.temporalBinningSize!==l?.size&&(s.temporalBinningSize=l?.size),l?.unit!==void 0&&s.temporalBinningUnit!==l?.unit&&l?.unit!==_.Quarter&&(s.temporalBinningUnit=l?.unit),l?.size!==void 0&&l?.unit!==void 0&&O($,{size:l.size,unit:l.unit})),this.calculatedDataMinMaxBounds=this.getDataExtent(r),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds),P(s)){let C=s.xAxisField,g=r.some(v=>v[C]===null),p=s.nullCategory;g&&p===void 0&&(s.nullCategory=R.nullCategory)}break}}},this.chartAxesMinMaxChange=e=>{let a=e,{bounds:t,model:i}=a.detail,s=this.getModel(this.selectedChartId),r=i?.isSameChartAs(s),l=s?.chartType;if(r)switch(l){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=t,i&&(i.dataStore.calculatedMinMaxBounds=t),this.updateAxesBoundsInAppState(t);break}},this.chartSeriesColorChange=e=>{let a=e,{data:t,model:i}=a.detail,s=this.getModel(this.selectedChartId);if(i?.isSameChartAs(s))switch(s?.chartType){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=t,i&&(i.dataStore.seriesColor=t);break;case o.PieSeries:{let r=new Map([[0,t]]);this.seriesColor=r,i&&(i.dataStore.seriesColor=r);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let a=e,{propName:t,value:i,model:s}=a.detail,r=this.modelList.find(l=>s?.isSameChartAs(l));if(r)switch(t){case"rotation":typeof i=="boolean"&&H(r)&&(r.rotatedState=i);break;case"legendPosition":typeof i=="string"&&B(r)&&(r.legendPosition=i);break;case"legendVisibility":typeof i=="boolean"&&B(r)&&(r.legendVisibility=i);break}},this.chartLegendItemVisibilityChange=async e=>{let a=e,{legendItemVisibility:t,model:i}=a.detail,s=this.modelList.find(r=>i?.isSameChartAs(r));s?.setSeriesVisibility(t),I(s)&&((s.getMinBound(1)===null||Number.isNaN(s.getMinBound(1)))&&s.setMinBound(null,1),(s.getMaxBound(1)===null||Number.isNaN(s.getMaxBound(1)))&&s.setMaxBound(null,1),L(s)&&((s.getMinBound(0)===null||Number.isNaN(s.getMinBound(0)))&&s.setMinBound(null,0),(s.getMaxBound(0)===null||Number.isNaN(s.getMaxBound(0)))&&s.setMaxBound(null,0)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:a,layerId:t}=e.target;a!==void 0&&(this.allowChartSyncing=!0,this.arcgisChartsConfigNewChart.emit({key:"key",chartType:a,layerId:t}))},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers&&this.allowChartSyncing){let a=e.target;te(a?.layer,a)}this.requestUpdate()},this.allowChartSyncing=!1,this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.panelNumber=0,this.arcgisChartsConfigChartViewChartClose=f(),this.arcgisChartsConfigModelListChange=f(),this.arcgisChartsConfigNewChart=f(),this.arcgisChartsConfigPanelNumberChange=f(),this.arcgisChartsConfigSelectedChartChange=f(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:1,activeLayerId:1,disableEditing:5,syncChartsToLayers:5,timeZone:1,headerTitle:1,open:5,chartData:[0,{hasChanged:y}],r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[0,{hasChanged:y}],seriesColor:[0,{hasChanged:K}],popoverPlacement:1,usePopupTemplateFieldsInfo:5,panelNumber:9,filterBySelection:5}}static{this.styles=ne}async setFocus(){this.chartsListFlowItem.value?.setFocus()}connectedCallback(){super.connectedCallback(),this.addChartEventListeners()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}async willUpdate(e){e.has("layerList")&&(this.hasUpdated||this.layerList?.length>0)&&await this.layerListChange(),e.has("panelNumber")&&(this.hasUpdated||this.panelNumber!==0)&&this.panelNumberChange(this.panelNumber),e.has("modelList")&&(this.hasUpdated||this.modelList?.length>0)&&await this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&await this.selectedChartIdChange(this.selectedChartId)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover(),this.removeChartEventListeners()}modelListReorderChangeListener(e){let{modelList:a}=e.detail;if(this.modelList=S({arrayA:this.modelList,arrayB:a,getKey:t=>t.chartId??t.titleText??""}),this.syncChartsToLayers){let t=a.find(i=>i.layer?.id!==void 0)?.layer?.id;if(t){let i=this.layerList.find(s=>s.id.toString()===t);i&&le(i,a)}}}async layerListChange(){let e=[],a=this.layerList.map(i=>i.id.toString()),t=[...this.modelList.filter(i=>a.includes(i.layer?.id??""))];for(let i of this.layerList??[]){if(i.type==="sublayer"){let r=await i.createFeatureLayer();if(!r)continue;i=r}let s=i;for(let r of s.charts??[]){let l=await Z({layer:i,config:r});l!==void 0&&e.push(l)}}ee(e),e.forEach(i=>{t.find(s=>s.isSameChartAs(i))===void 0&&t.push(i)}),this.modelList=t}async modelListChange(e,a){this.selectedChartId=ee(e,this.selectedChartId),a?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let t=this.getModel(this.selectedChartId);this.currentChartTypeText=t?.chartType!==void 0?await D(t.chartType):"",this.syncChartsToLayers&&this.allowChartSyncing&&re(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}async selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=n.Data;let a=this.getModel(e);this.setEventBasedPropsFromModelData(a),this.currentChartTypeText=a?.chartType!==void 0?await D(a.chartType):"",e!==void 0&&e!==$.selectedChartId&&($.selectedChartId=e),this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:a})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){document.addEventListener(u.DataProcessComplete,this.chartDataProcessComplete),document.addEventListener(u.AxesMinMaxChange,this.chartAxesMinMaxChange),document.addEventListener(u.SeriesColorChange,this.chartSeriesColorChange),document.addEventListener(u.NoRenderPropChange,this.chartNoRenderPropChange),document.addEventListener(u.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}removeChartEventListeners(){document.removeEventListener(u.DataProcessComplete,this.chartDataProcessComplete),document.removeEventListener(u.AxesMinMaxChange,this.chartAxesMinMaxChange),document.removeEventListener(u.SeriesColorChange,this.chartSeriesColorChange),document.removeEventListener(u.NoRenderPropChange,this.chartNoRenderPropChange),document.removeEventListener(u.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let a=this.getModel(this.selectedChartId)?.config,t=[];if(a!==void 0&&e!==void 0){let i=z({chartConfig:a,chartData:e}),{minY:s,maxY:r,minX:l,maxX:C}=i;t=[{isXAxis:!0,minimum:l,maximum:C},{isXAxis:!1,minimum:s,maximum:r}]}return t}updateAxesBoundsInAppState(e){e?.forEach(a=>{let{isXAxis:t,maximum:i,minimum:s}=a,r=this.getModel(this.selectedChartId);if(r!==void 0&&I(r)&&this.selectedChartId!==void 0){let l=new Q(r,t),C=Y({chartId:this.selectedChartId,isXAxis:t,isLogarithmic:l.getLogarithmic()}),g=$.chartAxesBoundDataMap;g[this.selectedChartId]===void 0&&(g[this.selectedChartId]={});let p=g[this.selectedChartId]?.[C],v={defaultMinBound:p?.defaultMinBound===p?.currMinBound?s:p?.defaultMinBound,currMinBound:s,defaultMaxBound:p?.defaultMaxBound===p?.currMaxBound?i:p?.defaultMaxBound,currMaxBound:i};!x(p,v)&&this.selectedChartId!==void 0&&g?.[this.selectedChartId]!==void 0&&(g[this.selectedChartId][C]=v)}})}getPlacement(){let e;if(this.popoverPlacement!==void 0)e=this.popoverPlacement;else{let a=this.modelList?.filter(t=>b(q,t.config)).length;e=Number(a)<=2?"bottom":"top"}return e}onBackFlow(){this.panelNumber-=1}onAddChartClick(e){let{referenceElement:a,layerId:t}=e.detail;this.setupSelectChartTypePopover(a,t)}setupSelectChartTypePopover(e,a){let t=this.getPlacement();this.removeSelectChartTypePopover(),this.selectChartTypePopover=M(c`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(a=>a.chartId===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=W(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!T(e.config))}onViewChartDelete(e){let{chartId:a}=e.detail;if(a!==void 0){let t=this.modelList.find(s=>s.chartId===a),i=this.layerList.find(s=>s.id===t?.layer?.id);this.modelList=[...this.modelList.filter(s=>s.chartId!==a)],i&&this.syncChartsToLayers&&this.allowChartSyncing&&oe(i,a)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&(this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)})),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.open=!1,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let a=e.target,t="";switch(a.icon){case"configure":t=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":t=this._messages.series??"";break;case"graph-pie-slice":t=this._messages.slices??"";break;case"graph-axis":t=this._messages.axes??"";break;case"graph-guides":t=this._messages.guides??"";break;case"palette":t=this._messages.format??"";break;case"text":t=this._messages.general??"";break;default:t="";break}this.tooltip=M(c`<calcite-tooltip style=${V({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){j(this.tooltip)}renderViewCharts(){let e=se({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return J(e,a=>a.id,a=>c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${ie(this.modelList,a.id.toString(),this.supportedChartTypes)} .selectedChartId=${this.selectedChartId??""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.open!==!1?c`<calcite-flow>${w("charts-list",c`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${A(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>`:null}renderTabs(){let e=this.getModel(this.selectedChartId);return w("chart-edit",c`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??n.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?ae(this._messages.pageFlowTitle,{chartName:e?.titleText??this.currentChartTypeText,layerName:e?.layer?.title??""}):""}>${e?.chartType!==void 0?c`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===n.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=n.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType===o.BarSeries?c`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.LineSeries?c`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.BoxPlotSeries?c`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType===o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===n.Slices} @click=${()=>{this.selectedPanel=n.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===n.Axes} @click=${()=>{this.selectedPanel=n.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.chartType!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===n.Guides} @click=${()=>{this.selectedPanel=n.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===n.Format} @click=${()=>{this.selectedPanel=n.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===n.General} @click=${()=>{this.selectedPanel=n.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),a=e?.layer,t=null;if(e!==void 0&&!this.disableEditing)switch(e?.chartType){case"barSeries":t=c`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case"lineSeries":t=c`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case"pieSeries":t=c`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case"histogramSeries":t=c`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case"scatterSeries":t=c`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case"boxPlotSeries":t=c`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break}return t}};U("arcgis-charts-config-create-flow",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,d,e,g,i,j,k,l)
@@ -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.13 */
4
- import"./7HF3N6H5.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_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:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.15 */
4
+ import"./IQIMCRWU.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_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:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,6 +1,6 @@
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.13 */
3
+ v5.0.0-next.15 */
4
4
  var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),Mt=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Mt.set(e,t))}return t}toString(){return this.cssText}},It=o=>new I(typeof o=="string"?o:o+"",void 0,yt),ge=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new I(e,o,yt)},kt=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},gt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return It(e)})(o):o;var{is:ve,defineProperty:Ee,getOwnPropertyDescriptor:$e,getOwnPropertyNames:be,getOwnPropertySymbols:_e,getPrototypeOf:Ae}=Object,tt=globalThis,jt=tt.trustedTypes,Ce=jt?jt.emptyScript:"",we=tt.reactiveElementPolyfillSupport,k=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?Ce:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},j=(o,t)=>!ve(o,t),Ht={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ht){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Ee(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=$e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ht}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...be(e),..._e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(gt(r))}else t!==void 0&&e.push(gt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return kt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??j)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,we?.({ReactiveElement:b}),(tt.reactiveElementVersions??=[]).push("2.1.0");var Et=globalThis,et=Et.trustedTypes,zt=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,$t="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+_,Oe=`<${bt}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",_t=Array.isArray,Gt=o=>_t(o)||typeof o?.[Symbol.iterator]=="function",vt=`[
5
5
  \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Bt=/>/g,w=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Wt=/'/g,Ft=/"/g,Kt=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ys=At(1),gs=At(2),vs=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),qt=new WeakMap,O=T.createTreeWalker(T,129);function Jt(o,t){if(!_t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}var Qt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=Vt:u[1]!==void 0?n=Bt:u[2]!==void 0?(Kt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??H,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Ft:Wt):n===Ft||n===Wt?n=w:n===Vt||n===Bt?n=H:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===H?c+Oe:h>=0?(s.push(l),c.slice(0,h)+$t+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Jt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Qt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith($t)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Kt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===bt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=V(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new L(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new nt(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},L=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Jt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=qt.get(t.strings);return e===void 0&&qt.set(t.strings,e=new B(t)),e}k(t){_t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Yt={M:$t,P:_,A:bt,C:1,L:Qt,R:st,D:Gt,V:S,I:L,H:P,N:rt,U:it,B:ot,F:nt},Te=Et.litHtmlPolyfillSupport;Te?.(B,L),(Et.litHtmlVersions??=[]).push("3.3.0");var at=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new L(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var Ct=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:A});var Se=Ct.litElementPolyfillSupport;Se?.({LitElement:A});(Ct.litElementVersions??=[]).push("4.2.0");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var q=Symbol.for("controller"),Pe=o=>typeof o=="object"&&o!==null&&(q in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ds=o=>typeof o?.then=="function";var F,x=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},G=o=>F,N=[],Zt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Xt=()=>N,R,Us=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},Ne=()=>{let o=R;return R=void 0,o},te=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},ee=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=G().manager.X(o);if(e!==void 0)return e;if(Pe(o))return o;let s=Ne();if(s!==void 0)return s},ct=!1,Ls=o=>{ct=!0;try{return o()}finally{ct=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},se=(o,t)=>{let e=t>xe?De:t/Ue,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},xe=4e3,De=2e3,Ue=4;var Le=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Re=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Me=(o=[G(),...Xt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Le(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ie=(o="",t={},e=G())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Me(void 0,r=>o=r.key,s),s},ke=Ie.bind(null,""),ie;ie=q;var wt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[ie]=!0,this.#a=[];let e=this,s=t??G(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=re(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Zt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?re(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#i),te}get useRef(){return x(this.#i),ee}get useRefSync(){return x(this.#i),lt}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(oe,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(oe,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function oe(o){p(o,void 0,this)}var ne=wt,re=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var{I:je}=Yt;var ht=o=>o.strings===void 0,ae=()=>document.createComment(""),Ws=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ae(),r),n=s.insertBefore(ae(),r);e=new je(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Fs=(o,t,e=o)=>(o._$AI(t,e),o),He={},ce=(o,t=He)=>o._$AH=t,qs=o=>o._$AH,Gs=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},le=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Be(t)}};function ze(o){this._$AN!==void 0?(dt(this),this._$AM=o,le(this)):this._$AM=o}function Ve(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),dt(s[i]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Be=o=>{o.type==m.CHILD&&(o._$AP??=Ve,o._$AQ??=ze)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),le(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var oo=()=>new Tt,Tt=class{},Ot=new WeakMap,St=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Ot.get(t);e===void 0&&(e=new WeakMap,Ot.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Ot.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=o=>o.replace(Fe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Fe=/[A-Z]+(?![a-z])|[A-Z]/gu;var go="randomUUID"in crypto;var he=";",ft=",",de=":";var Nt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},xt={};function Dt(){}var qe=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(he),g=u?u?.split(ft).map(Ge):void 0,C=g?.map(([U])=>U),D=class extends Pt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(ft):void 0}static{this.D=y?.split(ft)}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},mt=Object.defineProperty,Ge=o=>{let t=o.split(de);return t.length===1?[t[0],ut(t[0])]:t},Ke=globalThis.HTMLElement??Dt,Pt=class extends Ke{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])mt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])mt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])mt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Nt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Qe(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Je,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Je([o,t]){this[o]=t}var Qe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},mt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var pe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ue="important",Ye=" !"+ue,fe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Ye);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?ue:""):e[s]=r}}return f}});var Ze=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ce(o),t}});var Ut=class extends ne{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Lt in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=se(t,as)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},as=1e3,Lt="autoDestroyDisabled",me=class o extends A{constructor(){super(),this.M=[],this.manager=new Ut(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Dt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===xt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ut(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===xt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Nt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Lt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ye=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var pr=o=>typeof o=="object"&&o!=null?pe(o):o,ur=o=>typeof o=="object"&&o!=null?fe(o):o;var Rt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,St(this.#e)):St(t)}},fr=E(Rt);var mr=d;var yr=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var Q=ye({defaultAssetPath:"https://jsdev.arcgis.com/next/charts-components/",hydratedAttribute:"hydrated"}),{customElement:br,getAssetPath:_r,setAssetPath:Ar}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{Ds as a,x as b,Zt as c,Xt as d,Us as e,Ls as f,ge as g,ys as h,f as i,d as j,Me as k,ke as l,wt as m,qe as n,m as o,E as p,v as q,Ws as r,Fs as s,ce as t,qs as u,Gs as v,oo as w,St as x,me as y,ye as z,pr as A,ur as B,mr as C,yr as D,Q as E,br as F,_r as G};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.15 */
4
+ import h from"./O4IEPQH6.js";import f from"./BO52KAZU.js";import e from"./NUTIVT7T.js";import c from"./I5CJ47QO.js";import{i as o,j as l,k as a}from"./G35MJO3E.js";import b from"./LJ3BG6G7.js";import{j as T}from"./DFX5P352.js";import{a as D}from"./NWE4IMRQ.js";import{a as w,b as g,f as d}from"./MS4P4IKG.js";export default $arcgis.t(([,,,,,,,{Bc:k,O:O,Q:B,Qa:V,W:U,_:b,ca:P,k:m},{$:p,Aa:$,Ba:c,Ca:S,Da:F,Fa:_,Ga:A,Ha:ee,Ia:ie,_:u,aa:L,b:E,c:f,ca:M,da:N,e:y,ea:R,fa:z,ga:j,ha:q,ia:G,ja:H,ka:J,la:K,ma:W,oa:X,pa:Y,qa:Q,ya:Z,za:h},{a:x,c:te,d:se,e:re},{a:ne,b:oe,c:ae,d:ge},le])=>{var C=class extends x{get temporalBinningSize(){return M(this._config)}set temporalBinningSize(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("temporalBinningSize")})}get temporalBinningUnit(){return N(this._config)}set temporalBinningUnit(e){this.guardSetterFromAsyncOverwrite(()=>{H(e,this._config),this.emitConfigUpdate("temporalBinningUnit")})}get timeAggregationType(){return R(this._config)}set timeAggregationType(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("timeAggregationType")})}get trimIncompleteTimeInterval(){return z(this._config)}set trimIncompleteTimeInterval(e){this.guardSetterFromAsyncOverwrite(()=>{K(e,this._config),this.emitConfigUpdate("trimIncompleteTimeInterval")})}get nullPolicy(){return j(this._config)}set nullPolicy(e){this.guardSetterFromAsyncOverwrite(()=>{G(e,this._config),this.emitConfigUpdate("nullPolicy")})}resetTimeInterval(){this.guardSetterFromAsyncOverwrite(()=>{W(this._config),this.emitConfigUpdate("resetTimeInterval")})}},he=(s,e)=>e.series?.[s].assignToSecondValueAxis??!1,ce=s=>{let{assign:e,seriesIndex:i,config:t,commonStrings:r}=s;e&&t.axes!==void 0&&!t.axes?.[2]&&(t.axes[2]=b(r,w.BarSeries)[1]),t.series&&t.series.forEach((n,I)=>{I===i?n.assignToSecondValueAxis=e:I!==i&&n?.assignToSecondValueAxis!==!0&&(n.assignToSecondValueAxis=!1)}),t.axes?.[2]&&!t.series.some(n=>n.assignToSecondValueAxis)&&t.axes.splice(2,1)},de=(s,e)=>e.series?.[s]?.name,me=(s,e,i)=>{i.series?.[e]&&(i.series[e].name=s)},fe=(s,e)=>{let i=e.series?.[s],t;return a(i)?t=i.fillSymbol?.color:o(i)&&(t=i.lineSymbol?.color),t},ye=(s,e,i)=>{let t=i.series?.[e];t&&(a(t)?t.fillSymbol={...P(e),...t.fillSymbol,color:s}:o(t)&&(t.lineSymbol={...U(e),...t.lineSymbol,color:s}))},ue=s=>s.series.map(e=>e.id),pe=(s,e)=>{e.series?.sort((i,t)=>s.findIndex(r=>i.id===r)-s.findIndex(r=>t.id===r))},Se=s=>s.stackedType??d.Side,Fe=s=>{let{newStackedType:e,config:i,layerInfo:t,commonStrings:r}=s;if(i.stackedType=e,t!==void 0){let n=f({config:i,layerInfo:t,commonStrings:r,numericFields:c(i),aggregationType:h(i)});E(i,1,n)}i.axes?.[1]&&(e===d.Stacked100?i.axes[1].valueFormat=B():i.axes[1].valueFormat=O()),y({config:i,value:null,axisIndex:1,isMax:!1}),y({config:i,value:null,axisIndex:1,isMax:!0})},_e=s=>{let e,i=s.series.find(t=>(a(t)||o(t)||l(t))&&t.nullCategory!==void 0);return(a(i)||o(i)||l(i))&&(e=i?.nullCategory),e},Ae=(s,e)=>{s.series.forEach(i=>{(a(i)||o(i)||l(i))&&(i.nullCategory=e)})},v=class extends x{constructor(){super(...arguments),this._xAxisField="",this._aggregationType=g.Count,this._splitByField="",this._numericFields=[]}get xAxisField(){return this._xAxisField}set xAxisField(e){if(this._xAxisField=e,this.dirtyAsyncSetters.push("xAxisField"),e.trim()===""||e===m){let i=this.numericFields;this.resetConfig(),this.numericFields=i}this.processSeriesRebuild()}get aggregationType(){return this._aggregationType}set aggregationType(e){this._aggregationType=e,this.dirtyAsyncSetters.push("aggregationType"),this.processSeriesRebuild()}get splitByField(){return this._splitByField}set splitByField(e){this.layerInfo?.layerFieldsInfo&&X(this.layerInfo?.layerFieldsInfo,e)&&(this._splitByField=e,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild())}get numericFields(){return this._numericFields}set numericFields(e){typeof e=="string"&&(e=[e]);let i=Y(this.layerInfo?.layerFieldsInfo??[],e),t=(this.xAxisField===""||this.xAxisField===m)&&e.length===0;if(i&&!t){let r=this.layerInfo?.objectIdField??"";e.length===0?(e.push(r),this._aggregationType=g.Count):this._aggregationType===g.Count&&e.length>=1&&!e.includes(r)&&(this._aggregationType=g.Sum),this._numericFields=e,this.dirtyAsyncSetters.push("numericFields"),this.numericFields.length>1&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),this.processSeriesRebuild()}else t&&this.resetConfig()}getAssignToSecondValueAxis(e){return he(e,this._config)}setAssignToSecondValueAxis(e,i){this.guardSetterFromAsyncOverwrite(()=>{ce({assign:e,seriesIndex:i,config:this._config,commonStrings:this.commonStrings}),this.emitConfigUpdate("setAssignToSecondValueAxis")})}getSortOrder(){return S(this._config)}setSortOrder(e,i){this.guardSetterFromAsyncOverwrite(()=>{p(e,this._config,i),this.emitConfigUpdate("setSortOrder")})}async getCustomSortValues(){return await A(this._config,this.layerInfo)}async setDataFilters(e){super.setDataFilters(e);let i=S(this._config);if(i===D.customSort){let t=await A(this._config,this.layerInfo);p(i,this._config,t)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}get orderByList(){return u(this._config)}set orderByList(e){this.guardSetterFromAsyncOverwrite(()=>{!k(this._config)&&(_(e,this._config),this.emitConfigUpdate("orderByList"))})}async updateSeriesFromLayerFilter(){this.layerInfo!==void 0&&(this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild())}get binTemporalData(){return ee(this._config)}set binTemporalData(e){this.guardSetterFromAsyncOverwrite(()=>{ie(e,this._config),this.emitConfigUpdate("enableTemporalBinning")})}getSeriesName(e){return de(e,this._config)}setSeriesName(e,i){this.guardSetterFromAsyncOverwrite(()=>{me(e,i,this._config),this.emitConfigUpdate("setSeriesName")})}getSeriesColor(e){return fe(e,this._config)}setSeriesColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{ye(e,i,this._config),this.emitConfigUpdate("setSeriesColor")})}getOrderOfSeries(){return ue(this._config)}setOrderOfSeries(e){this.guardSetterFromAsyncOverwrite(()=>{pe(e,this._config),this.emitConfigUpdate("setOrderOfSeries")})}get stackedType(){return Se(this._config)}set stackedType(e){this.guardSetterFromAsyncOverwrite(()=>{Fe({newStackedType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.emitConfigUpdate("stackedType")})}moveSeries(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this.getOrderOfSeries(),[r]=t.splice(e,1);t.splice(i,0,r),this.setOrderOfSeries(t),this.emitConfigUpdate("moveSeries")})}moveCustomSortValuesInOrderByList(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=u(this._config),[r]=t.splice(e,1);t.splice(i,0,r),_(t,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")})}get nullCategory(){return _e(this._config)}set nullCategory(e){this.guardSetterFromAsyncOverwrite(()=>{let i=this.nullCategory;T(i,e)||(Ae(this._config,e),this.emitConfigUpdate("setNullCategory"))})}setupLocalProps(){this._xAxisField=L(this._config),this._aggregationType=h(this._config),this._splitByField=$(this._config),this._numericFields=c(this._config)}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}canUseSynchronousSeriesRebuild(){return this.splitByField===""||this.numericFields.length>1}async processSeriesRebuild(){if(this.layerInfo!==void 0){let e=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],F(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.asyncConfigUpdateInProgress=!0,this.setupFinished=new Promise(i=>{this.resolveSetup=i});this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await F(this.getBuildNewSeriesProps());this.asyncConfigUpdateInProgress=!1,this.resolveSetup?.()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(e)}}getBuildNewSeriesProps(){return{xAxisField:this.xAxisField,splitByField:this.splitByField,numericFields:this.numericFields,aggregationType:this.aggregationType,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}generateChartTitle(){return this.layerInfo!==void 0?Z(this._config,this.layerInfo,this.commonStrings):""}generateXAxisTitle(){return this.layerInfo!==void 0?V(this.layerInfo.layerFieldsInfo,this._xAxisField):""}generateYAxisTitle(){return this.layerInfo!==void 0?f({config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings,numericFields:c(this._config),aggregationType:h(this._config)}):""}};Q(v,[re,oe,ae,ne,le,ge,te,se,C]);return{a:de,b:me,c:ye,d:v}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,e,f,h)
@@ -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.13 */
4
- import"./7HF3N6H5.js";var r={_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 - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM 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:"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(_){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":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","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","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":"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":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.15 */
4
+ import"./IQIMCRWU.js";var r={_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 - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM 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:"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(_){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":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","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","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":"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":"",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.13 */
4
- import c from"./VHOIHI3V.js";import{i as o,j as a}from"./LYFUTZMU.js";import b from"./LBK2USAQ.js";export default $arcgis.t(([,,,,,,,{V:m},{a:t,b:n,c:l,d:c}])=>{var I=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return t(s.series[e])},V=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&n(e,i.series[s])},N=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return l(s.series[e])},w=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&c(e,i.series[s])},z=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerSymbol?.color:void 0,B=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.color=e}},T=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.style:void 0,j=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.style=e}},q=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.size:void 0,A=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.size=e}},L=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.lineSmoothed??!1:!1,C=e=>{let{smoothed:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].lineSmoothed=s)},D=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].showArea??!1:!1,E=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].showArea=s)},F=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerVisible??!0:!1,G=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].markerVisible=s)},H=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].areaColor:void 0,J=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.connectLines:void 0,K=e=>{let{connect:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].connectLines=s)},O=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].stackNegativeValuesToBaseline??!0:!1,P=e=>{let{stackNegativeValuesToBaseline:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].stackNegativeValuesToBaseline=s)};return{a:I,b:V,c:N,d:w,e:z,f:B,g:T,h:j,i:q,j:A,k:L,l:C,m:D,n:E,o:F,p:G,q:H,r:J,s:K,t:O,u:P}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c)
3
+ v5.0.0-next.15 */
4
+ import c from"./I52DONAE.js";import{i as o,j as a}from"./G35MJO3E.js";import b from"./LJ3BG6G7.js";export default $arcgis.t(([,,,,,,,{V:m},{a:t,b:n,c:l,d:c}])=>{var I=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return t(s.series[e])},V=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&n(e,i.series[s])},N=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return l(s.series[e])},w=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&c(e,i.series[s])},z=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerSymbol?.color:void 0,B=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.color=e}},T=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.style:void 0,j=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.style=e}},q=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.size:void 0,A=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.size=e}},L=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.lineSmoothed??!1:!1,C=e=>{let{smoothed:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].lineSmoothed=s)},D=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].showArea??!1:!1,E=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].showArea=s)},F=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerVisible??!0:!1,G=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].markerVisible=s)},H=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].areaColor:void 0,J=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.connectLines:void 0,K=e=>{let{connect:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].connectLines=s)},O=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].stackNegativeValuesToBaseline??!0:!1,P=e=>{let{stackNegativeValuesToBaseline:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].stackNegativeValuesToBaseline=s)};return{a:I,b:V,c:N,d:w,e:z,f:B,g:T,h:j,i:q,j:A,k:L,l:C,m:D,n:E,o:F,p:G,q:H,r:J,s:K,t:O,u:P}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.13 */
4
- import{a as y}from"./UVHLCTSW.js";import{a as P}from"./GZVDZDHR.js";import{a as p}from"./Q4DN7TK6.js";import g from"./5YKE32ZS.js";import"./DOPFX4SB.js";import{a as b}from"./UB23KURL.js";import f from"./DEWKTZZP.js";import e from"./LBK2USAQ.js";import"./PR34OOND.js";import"./YVJ4R5D3.js";import"./JBGSJHAT.js";import{g as d}from"./YQDON6CP.js";import{A as a,B as c,D as h,F as L,g as u,h as n,l as $,y as x}from"./IVT62N2K.js";import"./7HF3N6H5.js";export default $arcgis.t(([,,,,,,,{Ha:g},,{r:I}])=>{var l={topSection:"top-section",sectionLabel:"section-label",list:"list",infoIcon:"info-icon"},N=u`: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)}.info-icon{margin:auto 1rem;pointer-events:auto}`,C=class extends x{constructor(){super(...arguments),this._messages=b(),this.resetSeriesOriginal=()=>{this.configSeriesOpen=!1,this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1},this.onMultipleSeriesSelect=async e=>{if(!this.shouldDisableMeanLinesOption()){let i=e.target,t=i.value??i.parentElement.value??"";this.model.showMeanLines=t===d.MeanLines}},this.seriesNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let i=e.detail?.name;this.model.setSeriesName(i,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:i}=e.detail;i!==void 0&&(this.meanLinesBoxColorIsSelected?this.model.meanLinesBoxColor=i:(this.model.colorMatch=!1,this.model.setSeriesColor(i,this.selectedSeriesIndex??-1)))}},this.seriesLineStyleChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{style:i}=e.detail;i!==void 0&&this.model.setSeriesLineStyle(i,this.selectedSeriesIndex??-1)}},this.seriesLineWidthChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{width:i}=e.detail;i!==void 0&&this.model.setSeriesLineWidth(i,this.selectedSeriesIndex??-1)}},this.onCalciteListOrderChange=e=>{let i=this.model.boxPlotSeriesIndexWhenMeanLinesShown;if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:s}=e.detail,o=s,r=t;i!==-1&&(o=s>=i?s+1:s,r=t>=i?t+1:t),this.model.moveSeries(o,r),this.seriesOrderResetCounter+=1}},this.seriesPopoverClose=()=>{this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1,this.configSeriesOpen=!1,this.seriesPopover=p(this.seriesPopover)},this.openSeriesPopOver=e=>{e.stopImmediatePropagation(),this.removeSeriesPopover();let i=e.target,t=i.localName==="calcite-list-item"?i:i.parentNode,s=!this.configSeriesOpen,o=this.model.getSeriesIndex(t.value);if(o!==void 0&&o!==-1)this.configSeriesOpen=this.selectedSeriesIndex===o?s:!0,this.configSeriesOpen?this.selectedSeriesIndex=o:this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1;else if(t.value==="box-plot-color"){let r=!this.meanLinesBoxColorIsSelected;this.configSeriesOpen=r,this.meanLinesBoxColorIsSelected=r,this.selectedSeriesIndex=void 0}},this.createTooltip=(e,i)=>{let t=e.target;this.tooltip=h(n`<calcite-tooltip style=${c({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i??""}</calcite-tooltip>`),document.body.appendChild(this.tooltip)},this.destroyTooltip=()=>{I(this.tooltip)},this.onModelConfigChange=()=>{this.requestUpdate()},this.meanLinesBoxColorIsSelected=!1,this.seriesOrderResetCounter=0,this.configSeriesOpen=!1,this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigPopoverOpenChange=$({composed:!0,cancelable:!0,bubbles:!0})}static{this.properties={selectedSeriesIndex:16,meanLinesBoxColorIsSelected:16,seriesOrderResetCounter:16,messageOverrides:0,model:0,configSeriesOpen:5,activeColorMatch:5,popoverPlacement:1}}static{this.styles=N}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange(),e.has("meanLinesBoxColorIsSelected")&&this.meanLinesBoxColorIsSelectedChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,i){i?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}meanLinesBoxColorIsSelectedChange(){this.meanLinesBoxColorIsSelected&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}removeSeriesPopover(){this.seriesPopover!==null&&this.seriesPopover!==void 0&&(this.seriesPopover.open=!1,this.seriesPopover=p(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength,i=this.model.boxPlotSeriesIndexWhenMeanLinesShown,t=Array.from({length:e},(s,o)=>o);return y(t,s=>this.model.getSeriesId(s),s=>{let o=this.model.getSeriesId(s),r=this.model.getSeriesColor(s),m=this.model.getSeriesName(s),S=this.model.chartSubType,M=S===g.BoxPlotMonoField||S===g.BoxPlotMultiFields?this._messages.series:o,v="#CCCCCC",f="minus-square";if((e>1||!this.activeColorMatch)&&r!==void 0){f=this.model.showMeanLines===!0?"line-solid":"square-f";let[O,B,w,E]=[...r];v=`rgba(${O},${B},${w},${E/255})`}return i!==s?n`<calcite-list-item .label=${m??o??""} .description=${M} .value=${o} .selected=${this.selectedSeriesIndex===s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${f} style=${c({color:v})}></calcite-icon></calcite-list-item>`:null})}buildSeriesList(){return P(this.seriesOrderResetCounter,n`<calcite-list label class=${a(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}setupSeriesPopover(){this.removeSeriesPopover(),this.meanLinesBoxColorIsSelected?this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedColor=${this.model.meanLinesBoxColor} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`):this.selectedSeriesIndex!==void 0&&(this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .isLineSymbol=${this.model.showMeanLines} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`)),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover)}shouldDisableMeanLinesOption(){return this.model.splitByField===""||this.model.splitByField===void 0}renderMeanLinesBoxColorItem(){let e="#CCCCCC",i="minus-square",t=this.model.meanLinesBoxColor;if(t!==void 0){i="square-f";let[s,o,r,m]=[...t];e=`rgba(${s},${o},${r},${m/255})`}return n`<calcite-list label class=${a(l.list)}><calcite-list-item value=box-plot-color .label=${this._messages.boxPlotColor} .selected=${this.meanLinesBoxColorIsSelected} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${i} style=${c({color:e})}></calcite-icon></calcite-list-item></calcite-list>`}renderMultipleSeriesOption(){let e=this.shouldDisableMeanLinesOption();return e?[]:[n`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultipleSeries}</div>`,n`<calcite-list label class=${a(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleSeriesSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${d.Side} .selected=${this.model.showMeanLines!==!0}><calcite-icon slot=content-start scale=l icon=graph-box-side-by-side></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.sideBySideTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.meanLines} .value=${d.MeanLines} .disabled=${e} .selected=${this.model.showMeanLines===!0}><calcite-icon slot=content-start scale=l icon=graph-box-mean-lines></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.meanLinesTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item></calcite-list>`,this.model.showMeanLines===!0?this.renderMeanLinesBoxColorItem():null]}render(){return n`${this.renderMultipleSeriesOption()}<div class=${a(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()}`}};L("arcgis-charts-config-box-plot-series",C);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",e,f,g)
3
+ v5.0.0-next.15 */
4
+ import{a as y}from"./ABHW5CE2.js";import{a as P}from"./MNIOSGYH.js";import{a as p}from"./S2C5BT6G.js";import g from"./CS2UZBIZ.js";import"./5ONL44LQ.js";import{a as b}from"./7FEKKJ6O.js";import f from"./BN6SWWLW.js";import e from"./LJ3BG6G7.js";import"./DFX5P352.js";import"./IMMVGOCW.js";import"./NWE4IMRQ.js";import{g as d}from"./MS4P4IKG.js";import{A as a,B as c,D as h,F as L,g as u,h as n,l as $,y as x}from"./BXNZWDJR.js";import"./IQIMCRWU.js";export default $arcgis.t(([,,,,,,,{Ha:g},,{r:I}])=>{var l={topSection:"top-section",sectionLabel:"section-label",list:"list",infoIcon:"info-icon"},N=u`: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)}.info-icon{margin:auto 1rem;pointer-events:auto}`,C=class extends x{constructor(){super(...arguments),this._messages=b(),this.resetSeriesOriginal=()=>{this.configSeriesOpen=!1,this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1},this.onMultipleSeriesSelect=async e=>{if(!this.shouldDisableMeanLinesOption()){let i=e.target,t=i.value??i.parentElement.value??"";this.model.showMeanLines=t===d.MeanLines}},this.seriesNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let i=e.detail?.name;this.model.setSeriesName(i,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:i}=e.detail;i!==void 0&&(this.meanLinesBoxColorIsSelected?this.model.meanLinesBoxColor=i:(this.model.colorMatch=!1,this.model.setSeriesColor(i,this.selectedSeriesIndex??-1)))}},this.seriesLineStyleChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{style:i}=e.detail;i!==void 0&&this.model.setSeriesLineStyle(i,this.selectedSeriesIndex??-1)}},this.seriesLineWidthChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{width:i}=e.detail;i!==void 0&&this.model.setSeriesLineWidth(i,this.selectedSeriesIndex??-1)}},this.onCalciteListOrderChange=e=>{let i=this.model.boxPlotSeriesIndexWhenMeanLinesShown;if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:s}=e.detail,o=s,r=t;i!==-1&&(o=s>=i?s+1:s,r=t>=i?t+1:t),this.model.moveSeries(o,r),this.seriesOrderResetCounter+=1}},this.seriesPopoverClose=()=>{this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1,this.configSeriesOpen=!1,this.seriesPopover=p(this.seriesPopover)},this.openSeriesPopOver=e=>{e.stopImmediatePropagation(),this.removeSeriesPopover();let i=e.target,t=i.localName==="calcite-list-item"?i:i.parentNode,s=!this.configSeriesOpen,o=this.model.getSeriesIndex(t.value);if(o!==void 0&&o!==-1)this.configSeriesOpen=this.selectedSeriesIndex===o?s:!0,this.configSeriesOpen?this.selectedSeriesIndex=o:this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1;else if(t.value==="box-plot-color"){let r=!this.meanLinesBoxColorIsSelected;this.configSeriesOpen=r,this.meanLinesBoxColorIsSelected=r,this.selectedSeriesIndex=void 0}},this.createTooltip=(e,i)=>{let t=e.target;this.tooltip=h(n`<calcite-tooltip style=${c({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i??""}</calcite-tooltip>`),document.body.appendChild(this.tooltip)},this.destroyTooltip=()=>{I(this.tooltip)},this.onModelConfigChange=()=>{this.requestUpdate()},this.meanLinesBoxColorIsSelected=!1,this.seriesOrderResetCounter=0,this.configSeriesOpen=!1,this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigPopoverOpenChange=$({composed:!0,cancelable:!0,bubbles:!0})}static{this.properties={selectedSeriesIndex:16,meanLinesBoxColorIsSelected:16,seriesOrderResetCounter:16,messageOverrides:0,model:0,configSeriesOpen:5,activeColorMatch:5,popoverPlacement:1}}static{this.styles=N}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange(),e.has("meanLinesBoxColorIsSelected")&&this.meanLinesBoxColorIsSelectedChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,i){i?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}meanLinesBoxColorIsSelectedChange(){this.meanLinesBoxColorIsSelected&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}removeSeriesPopover(){this.seriesPopover!==null&&this.seriesPopover!==void 0&&(this.seriesPopover.open=!1,this.seriesPopover=p(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength,i=this.model.boxPlotSeriesIndexWhenMeanLinesShown,t=Array.from({length:e},(s,o)=>o);return y(t,s=>this.model.getSeriesId(s),s=>{let o=this.model.getSeriesId(s),r=this.model.getSeriesColor(s),m=this.model.getSeriesName(s),S=this.model.chartSubType,M=S===g.BoxPlotMonoField||S===g.BoxPlotMultiFields?this._messages.series:o,v="#CCCCCC",f="minus-square";if((e>1||!this.activeColorMatch)&&r!==void 0){f=this.model.showMeanLines===!0?"line-solid":"square-f";let[O,B,w,E]=[...r];v=`rgba(${O},${B},${w},${E/255})`}return i!==s?n`<calcite-list-item .label=${m??o??""} .description=${M} .value=${o} .selected=${this.selectedSeriesIndex===s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${f} style=${c({color:v})}></calcite-icon></calcite-list-item>`:null})}buildSeriesList(){return P(this.seriesOrderResetCounter,n`<calcite-list label class=${a(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}setupSeriesPopover(){this.removeSeriesPopover(),this.meanLinesBoxColorIsSelected?this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedColor=${this.model.meanLinesBoxColor} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`):this.selectedSeriesIndex!==void 0&&(this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .isLineSymbol=${this.model.showMeanLines} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`)),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover)}shouldDisableMeanLinesOption(){return this.model.splitByField===""||this.model.splitByField===void 0}renderMeanLinesBoxColorItem(){let e="#CCCCCC",i="minus-square",t=this.model.meanLinesBoxColor;if(t!==void 0){i="square-f";let[s,o,r,m]=[...t];e=`rgba(${s},${o},${r},${m/255})`}return n`<calcite-list label class=${a(l.list)}><calcite-list-item value=box-plot-color .label=${this._messages.boxPlotColor} .selected=${this.meanLinesBoxColorIsSelected} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${i} style=${c({color:e})}></calcite-icon></calcite-list-item></calcite-list>`}renderMultipleSeriesOption(){let e=this.shouldDisableMeanLinesOption();return e?[]:[n`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultipleSeries}</div>`,n`<calcite-list label class=${a(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleSeriesSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${d.Side} .selected=${this.model.showMeanLines!==!0}><calcite-icon slot=content-start scale=l icon=graph-box-side-by-side></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.sideBySideTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.meanLines} .value=${d.MeanLines} .disabled=${e} .selected=${this.model.showMeanLines===!0}><calcite-icon slot=content-start scale=l icon=graph-box-mean-lines></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.meanLinesTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item></calcite-list>`,this.model.showMeanLines===!0?this.renderMeanLinesBoxColorItem():null]}render(){return n`${this.renderMultipleSeriesOption()}<div class=${a(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()}`}};L("arcgis-charts-config-box-plot-series",C);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",e,f,g)
@@ -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.13 */
4
- import"./7HF3N6H5.js";var o={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_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:"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(a){var e="th";if(a<11||a>13)switch(a%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","Click, tap or 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","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":"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":""};export{o as default};
3
+ v5.0.0-next.15 */
4
+ import"./IQIMCRWU.js";var o={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_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:"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(a){var e="th";if(a<11||a>13)switch(a%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","Click, tap or 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","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":"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":""};export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.13 */
4
- import{c as i,d as o}from"./YVJ4R5D3.js";import{a as r,w as c}from"./YQDON6CP.js";import{G as s}from"./IVT62N2K.js";function m(t){let a=c(t.series),e="graph-bar";switch(a){case r.LineSeries:{e="graph-time-series";break}case r.PieSeries:{e="pie-chart";break}case r.HistogramSeries:{e="graph-histogram";break}case r.ScatterSeries:{e="graph-scatter-plot";break}case r.BoxPlotSeries:{e="box-chart";break}case r.BarSeries:}return e}async function S(t){let a=(await i(o(document.documentElement).t9nLocale,s("./assets/common/t9n"),"messages.")).utilsStrings,e="";switch(t){case r.HistogramSeries:{e=a.chartType.histogram;break}case r.ScatterSeries:{e=a.chartType.scatterplot;break}case r.BarSeries:{e=a.chartType.barChart;break}case r.LineSeries:{e=a.chartType.lineChart;break}case r.PieSeries:{e=a.chartType.pieChart;break}case r.BoxPlotSeries:{e=a.chartType.boxPlot;break}}return e}export{m as a,S as b};
3
+ v5.0.0-next.15 */
4
+ import{c as i,d as o}from"./IMMVGOCW.js";import{a as r,w as c}from"./MS4P4IKG.js";import{G as s}from"./BXNZWDJR.js";function m(t){let a=c(t.series),e="graph-bar";switch(a){case r.LineSeries:{e="graph-time-series";break}case r.PieSeries:{e="pie-chart";break}case r.HistogramSeries:{e="graph-histogram";break}case r.ScatterSeries:{e="graph-scatter-plot";break}case r.BoxPlotSeries:{e="box-chart";break}case r.BarSeries:}return e}async function S(t){let a=(await i(o(document.documentElement).t9nLocale,s("./assets/common/t9n"),"messages.")).utilsStrings,e="";switch(t){case r.HistogramSeries:{e=a.chartType.histogram;break}case r.ScatterSeries:{e=a.chartType.scatterplot;break}case r.BarSeries:{e=a.chartType.barChart;break}case r.LineSeries:{e=a.chartType.lineChart;break}case r.PieSeries:{e=a.chartType.pieChart;break}case r.BoxPlotSeries:{e=a.chartType.boxPlot;break}}return e}export{m as a,S as 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.13 */
4
- import{e as n}from"./DOPFX4SB.js";import b from"./DEWKTZZP.js";import a from"./LBK2USAQ.js";import{r as m}from"./PR34OOND.js";import{f as s}from"./JBGSJHAT.js";import{b as r}from"./YQDON6CP.js";export default $arcgis.t(([,,,,,,,{$a:l,k:d},{g:p}])=>{var h={DebounceTimer:400,SliderTimer:100,PopoverTimer:60,customSortLimit:100},w={style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3},I=[r.Count,r.Sum,r.Average,r.ContinuousPercentile,r.Minimum,r.Maximum,r.NoAggregation],P=[r.Count,r.Sum];function S(e){let t;switch(e){case s.Title:case s.XAxisTitle:case s.YAxisTitle:case s.LegendTitle:{t=n.Title;break}case s.Description:case s.LegendText:{t=n.Text;break}case s.AxisLabels:case s.GuideLabels:case s.DataLabels:{t=n.Label;break}case s.Background:case s.LeaderLines:case s.AxisLines:case s.GridLines:{t=n.Palette;break}}return t}function C(e,t,i){let a=!1,o=typeof e=="string"?Number.parseFloat(e):e,c=typeof t=="string"?Number.parseFloat(t):t,u=typeof i=="string"?Number.parseFloat(i):i;return Number.isNaN(o)||(a=(c===void 0||Number.isNaN(c)||o>=c)&&(u===void 0||Number.isNaN(u)||o<=u)),a}function U(e,t){let i;if(e!==null){let a=typeof e=="string"?Number.parseFloat(e):e;l(a)?i=a:l(t)&&(i=t)}return i===void 0?"":`${i}`}function j(e){let{inputElement:t,status:i}=e;t.status=i}var G={IDLE:"idle",INVALID:"invalid"};function K(e,t){let i="";if(e!==void 0&&!Number.isNaN(e)){let a=p(document.documentElement);i=Intl.NumberFormat(a,t).format(e)}return i}function M(e,t){let i=!1;if(t!==void 0){let a=typeof t=="string"?t.trim():t,o=e.trim();typeof t=="string"?i=a===o||a===d&&o==="":i=a.includes(o)}return i}function R(e){let t;switch(e){case"trailing":t=-200;break;case"leading":t=20;break;default:t=0;break}return t}function q(e){return e===void 0||Number.isNaN(e.r)||Number.isNaN(e.g)||Number.isNaN(e.b)?null:e}var B=e=>{["e","E"].includes(e.key)&&e.preventDefault()},O=e=>{if(e.pickListElement!==void 0){let t=e.pickListElement.selectedItems;e.eventEmitter.emit({contentKind:e.contentKind,value:t.map(i=>i.value)})}};function X(e){let t="solid";switch(e){case m.Dash:t="dashed";break;case m.Dot:t="dotted";break;case m.Solid:default:t="solid";break}return t}function Y(e,t){let i=document.createElement("a");i.style.display="none",i.download=t,i.setAttribute("href",e),i.click(),i.remove(),URL.revokeObjectURL(e)}function $(e){return e!=null&&(e.style.removeProperty("opacity"),e.remove()),null}return{a:h,b:w,c:I,d:P,e:S,f:C,g:U,h:j,i:G,j:K,k:M,l:R,m:q,n:B,o:O,p:X,q:Y,r:$}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
3
+ v5.0.0-next.15 */
4
+ import{e as n}from"./5ONL44LQ.js";import c from"./BN6SWWLW.js";import b from"./LJ3BG6G7.js";import{r as m}from"./DFX5P352.js";import{f as s}from"./NWE4IMRQ.js";import{b as a}from"./MS4P4IKG.js";export default $arcgis.t(([,,,,,,,{$a:l,k:d},{g:p}])=>{var h={DebounceTimer:400,SliderTimer:100,PopoverTimer:60,customSortLimit:100},w={style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3},I=[a.Count,a.Sum,a.Average,a.ContinuousPercentile,a.Minimum,a.Maximum,a.NoAggregation],P=[a.Count,a.Sum];function S(e){let t;switch(e){case s.Title:case s.XAxisTitle:case s.YAxisTitle:case s.LegendTitle:{t=n.Title;break}case s.Description:case s.LegendText:{t=n.Text;break}case s.AxisLabels:case s.GuideLabels:case s.DataLabels:{t=n.Label;break}case s.Background:case s.LeaderLines:case s.AxisLines:case s.GridLines:{t=n.Palette;break}}return t}function C(e,t,i){let r=!1,o=typeof e=="string"?Number.parseFloat(e):e,c=typeof t=="string"?Number.parseFloat(t):t,u=typeof i=="string"?Number.parseFloat(i):i;return Number.isNaN(o)||(r=(c===void 0||Number.isNaN(c)||o>=c)&&(u===void 0||Number.isNaN(u)||o<=u)),r}function U(e,t){let i;if(e!==null){let r=typeof e=="string"?Number.parseFloat(e):e;l(r)?i=r:l(t)&&(i=t)}return i===void 0?"":`${i}`}function j(e){let{inputElement:t,status:i}=e;t.status=i}var G={IDLE:"idle",INVALID:"invalid"};function K(e,t){let i="";if(e!==void 0&&!Number.isNaN(e)){let r=p(document.documentElement);i=Intl.NumberFormat(r,t).format(e)}return i}function M(e,t){let i=!1;if(t!==void 0){let r=typeof t=="string"?t.trim():t,o=e.trim();typeof t=="string"?i=r===o||r===d&&o==="":i=r.includes(o)}return i}function R(e){let t;switch(e){case"trailing":t=-200;break;case"leading":t=20;break;default:t=0;break}return t}function B(e){return e===void 0||Number.isNaN(e.r)||Number.isNaN(e.g)||Number.isNaN(e.b)?null:e}var O=e=>{["e","E"].includes(e.key)&&e.preventDefault()},X=e=>{if(e.pickListElement!==void 0){let t=e.pickListElement.selectedItems;e.eventEmitter.emit({contentKind:e.contentKind,value:t.map(i=>i.value)})}};function Y(e){let t="solid";switch(e){case m.Dash:t="dashed";break;case m.Dot:t="dotted";break;case m.Solid:default:t="solid";break}return t}function $(e,t){let i=document.createElement("a");i.style.display="none",i.download=t,i.setAttribute("href",e),i.click(),i.remove(),URL.revokeObjectURL(e)}function q(e){return e!=null&&(e.style.removeProperty("opacity"),e.remove()),null}return{a:h,b:w,c:I,d:P,e:S,f:C,g:U,h:j,i:G,j:K,k:M,l:R,m:B,n:O,o:X,p:Y,q:$,r:q}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.13 */
4
- import b from"./EKNBAJH5.js";import a from"./LBK2USAQ.js";import{d as V,f as j,i as P,m as $,w as R}from"./PR34OOND.js";import{c as d,d as y}from"./JBGSJHAT.js";import{a as E,b as u,h as S,v as f}from"./YQDON6CP.js";export default $arcgis.t(([,,,,,,,{substitute:O},{Ac:N,Qa:v,R:z,ha:G,i:T,j:D,ya:W},{M:K,b:h,ba:U,c:L,q:_}])=>{function B(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?A({config:t,layerInfo:e,commonStrings:i,mode:o}):"",n=_(t),g=N(t);return a===n||g}function x(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?L({config:t,layerInfo:e,commonStrings:i,numericFields:p(t),aggregationType:F(t,o)}):"",n=K(1,t),g=N(t);return a===n||g}var w=r=>r.series?.[0]?.x??"";function M(r,t){let e=r.series?.[0];return[`${t===y.Category?e.y:D} ${S.Descending}`]}var Y=(r,t)=>{let e=d.valueDesc,o=r.orderOptions?.data?.orderType??M(r,t),i=r.orderOptions?.data?.orderBy??S.Descending;return o===f.Category&&Array.isArray(i)?e=d.customSort:o===f.Category?i===S.Ascending?e=d.labelAsc:e=d.labelDesc:i===S.Ascending?e=d.valueAsc:e=d.valueDesc,e},p=V(r=>{let t=[];return t=r.series?.[0]?.query?.outStatistics?.map(e=>e.onStatisticField)??[r.series?.[0]?.y??""],[...new Set(t.filter(e=>e!==""))]},r=>r.series),F=(r,t)=>{let e=p(r),o;return t===y.Fields&&e.length===0?o=u.Sum:o=r.series?.[0]?.query?.outStatistics?.[0]?.statisticType??u.NoAggregation,o};function k(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{objectIdField:a}=e??{},n=G(i,a),g=w(t),l=t.series[0]?.dataLabels,s={...n,x:o===y.Category?g:T,slices:t.series?.[0]?.slices,dataLabels:{...n.dataLabels,type:n.dataLabels?.type??E.Text,content:{...n.dataLabels?.content,...l?.content,type:R.TS},visible:l?.visible??!1},innerRadiusSize:t.series?.[0]?.innerRadius,sliceGrouping:t.series?.[0]?.sliceGrouping,dataLabelsCharacterLimit:t.series?.[0]?.dataLabelsCharacterLimit,numericValueFormat:t.series?.[0]?.numericValueFormat,percentValueFormat:t.series?.[0]?.percentValueFormat,displayCategoryOnDataLabel:t.series?.[0]?.displayCategoryOnDataLabel,displayNumericValueOnDataLabel:t.series?.[0]?.displayNumericValueOnDataLabel,displayPercentageOnDataLabel:t.series?.[0]?.displayPercentageOnDataLabel},c=F(t,o);if(c!==u.NoAggregation&&a!==void 0){let m=`${c}_${a}_0`.toUpperCase();s.y=o===y.Category?m:D,s.query={outStatistics:o===y.Category?[{statisticType:c,onStatisticField:a,outStatisticFieldName:m}]:[]}}return o===y.Category&&s.query!==void 0?s.query.groupByFieldsForStatistics=[g]:delete s.query?.groupByFieldsForStatistics,j(s)}function A(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{layerFieldsInfo:a,objectIdField:n}=e,g=w(t),l=p(t),s=F(t,o),c=l.length===0||l.includes(n),m=W(s,i),C=c?"":l.map(J=>v(a??[],J)).join(", "),b=v(a??[],g),I="",q;return o===y.Fields?q=l.length===0:q=g==="",q?I=i.utilsStrings.chartType.pieChart:s===u.NoAggregation?I=O(i.titleLabels.aggrFieldsByCategory,{aggregationFields:c?n:C,category:b}):s===u.Count?I=O(i.titleLabels.aggrTypeCategory,{aggregationType:m,category:b}):l.length>0&&(b===T||P(b)||$(b)?I=O(i.titleLabels.aggrTypeOfAggrFields,{aggregationType:m,aggregationFields:C}):I=O(i.titleLabels.aggrTypeOfAggrFieldsByCategory,{aggregationType:m,aggregationFields:C,category:b})),I}var ye=r=>{let{newSortOrderKind:t,config:e,orderByList:o}=r;e.orderOptions??={},t===d.customSort&&o!==void 0?e.orderOptions.data={orderType:f.Category,orderBy:[...o]}:e.orderOptions.data={orderType:t===d.labelAsc||t===d.labelDesc?f.Category:f.YValue,orderBy:t===d.labelAsc||t===d.valueAsc?S.Ascending:S.Descending}},ue=r=>{let{newCategory:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,n=e.series?.length??0,g=B({config:e,layerInfo:o,commonStrings:a,mode:i}),l=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(e.series.forEach(s=>{s.x=i===y.Category?t:T,s.query!==void 0&&t!==T?s.query.groupByFieldsForStatistics=[t]:delete s.query?.groupByFieldsForStatistics}),n===0){let s=[k({config:e,layerInfo:o,mode:i,commonStrings:a})];e.series=s}if(o!==void 0){if(l){let c=L({config:e,layerInfo:o,numericFields:p(e),aggregationType:F(e,i),commonStrings:a});h(e,1,c)}e.title&&g&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}));let s=i===y.Fields?p(e).filter(c=>c!==o.objectIdField):p(e);Q({newNumericFields:s,config:e,layerInfo:o,mode:i,commonStrings:a})}};function H(r){let{numericFields:t,aggregationType:e,config:o,layerInfo:i,mode:a,commonStrings:n}=r,g=[],l=k({config:o,layerInfo:i,mode:a,commonStrings:n}),s={...l,query:{...l.query}};t.length<=1?s.query.where=l.query?.where:delete s.query.where;let c=U({config:o,xAxisField:w(o),numericFields:t,aggregationType:e,mode:a,layer:i.layer}).name;if(e!==u.NoAggregation)if(a===y.Category){if(t.length>0){let m=t[0];s.query.outStatistics=[{...l.query?.outStatistics?.[0]??{},onStatisticField:m,outStatisticFieldName:c,statisticType:e}]}}else for(let m of t)s.query.outStatistics?.push({onStatisticField:m,outStatisticFieldName:m,statisticType:e});else s.query={};s.y=c,g.push(s),o.series=g}var fe=r=>{let{newAggregationType:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,n=p(e),g=B({config:e,layerInfo:o,commonStrings:a,mode:i}),l=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(H({config:e,layerInfo:o,numericFields:n,aggregationType:t,commonStrings:a,mode:i}),l){let C=L({config:e,layerInfo:o,commonStrings:a,numericFields:p(e),aggregationType:F(e,i)});h(e,1,C)}e.title&&g&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}));let s=e.series?.[0]?.displayCategoryOnDataLabel,c=e.series?.[0]?.displayNumericValueOnDataLabel,m=e.series?.[0]?.displayPercentageOnDataLabel;e.legend={...e.legend??z(),displayNumericValue:c,displayPercentage:m,displayCategory:s}},Q=r=>{let{newNumericFields:t}=r,{config:e,layerInfo:o,mode:i,commonStrings:a}=r,{objectIdField:n}=o??{},g=F(e,i),l=B({config:e,layerInfo:o,commonStrings:a,mode:i}),s=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(t=t===""?[]:t,t=typeof t=="string"?[t]:t,n!==void 0&&(t.length===0&&i===y.Category?(t.push(n),g=u.Count):g===u.Count&&t.length>=1&&!t.includes(n)&&(g=u.Sum)),o!==void 0){if(H({config:e,layerInfo:o,commonStrings:a,numericFields:t,aggregationType:g,mode:i}),s){let c=L({config:e,layerInfo:o,commonStrings:a,numericFields:p(e),aggregationType:F(e,i)});h(e,1,c)}e.title&&l&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}))}else e.series.forEach(c=>{delete c.query,c.y=t[0]})},pe=(r,t)=>{let e=[],o=r.orderOptions?.data?.orderType,i=Y(r,t),a=r.orderOptions?.data?.orderBy;return i===d.customSort&&o===f.Category&&Array.isArray(a)&&(e=a),e},Se=r=>{let{values:t,config:e,mode:o}=r;e.orderOptions??={};let i=e.orderOptions?.data?.orderType;Y(e,o)===d.customSort&&i===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:[...t]})};return{a:w,b:Y,c:p,d:F,e:A,f:ye,g:ue,h:fe,i:Q,j:pe,k:Se}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
3
+ v5.0.0-next.15 */
4
+ import b from"./I5CJ47QO.js";import a from"./LJ3BG6G7.js";import{d as V,f as j,i as P,m as $,w as G}from"./DFX5P352.js";import{c as d,d as y}from"./NWE4IMRQ.js";import{a as E,b as u,h as S,v as f}from"./MS4P4IKG.js";export default $arcgis.t(([,,,,,,,{substitute:O},{Bc:N,Qa:v,R:R,ha:z,i:T,j:D,ya:_},{M:K,b:h,ba:U,c:L,q:k}])=>{function B(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?A({config:t,layerInfo:e,commonStrings:i,mode:o}):"",n=k(t),g=N(t);return a===n||g}function x(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?L({config:t,layerInfo:e,commonStrings:i,numericFields:p(t),aggregationType:F(t,o)}):"",n=K(1,t),g=N(t);return a===n||g}var w=r=>r.series?.[0]?.x??"";function M(r,t){let e=r.series?.[0];return[`${t===y.Category?e.y:D} ${S.Descending}`]}var W=(r,t)=>{let e=d.valueDesc,o=r.orderOptions?.data?.orderType??M(r,t),i=r.orderOptions?.data?.orderBy??S.Descending;return o===f.Category&&Array.isArray(i)?e=d.customSort:o===f.Category?i===S.Ascending?e=d.labelAsc:e=d.labelDesc:i===S.Ascending?e=d.valueAsc:e=d.valueDesc,e},p=V(r=>{let t=[];return t=r.series?.[0]?.query?.outStatistics?.map(e=>e.onStatisticField)??[r.series?.[0]?.y??""],[...new Set(t.filter(e=>e!==""))]},r=>r.series),F=(r,t)=>{let e=p(r),o;return t===y.Fields&&e.length===0?o=u.Sum:o=r.series?.[0]?.query?.outStatistics?.[0]?.statisticType??u.NoAggregation,o};function X(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{objectIdField:a}=e??{},n=z(i,a),g=w(t),l=t.series[0]?.dataLabels,s={...n,x:o===y.Category?g:T,slices:t.series?.[0]?.slices,dataLabels:{...n.dataLabels,type:n.dataLabels?.type??E.Text,content:{...n.dataLabels?.content,...l?.content,type:G.TS},visible:l?.visible??!1},innerRadiusSize:t.series?.[0]?.innerRadius,sliceGrouping:t.series?.[0]?.sliceGrouping,dataLabelsCharacterLimit:t.series?.[0]?.dataLabelsCharacterLimit,numericValueFormat:t.series?.[0]?.numericValueFormat,percentValueFormat:t.series?.[0]?.percentValueFormat,displayCategoryOnDataLabel:t.series?.[0]?.displayCategoryOnDataLabel,displayNumericValueOnDataLabel:t.series?.[0]?.displayNumericValueOnDataLabel,displayPercentageOnDataLabel:t.series?.[0]?.displayPercentageOnDataLabel},c=F(t,o);if(c!==u.NoAggregation&&a!==void 0){let m=`${c}_${a}_0`.toUpperCase();s.y=o===y.Category?m:D,s.query={outStatistics:o===y.Category?[{statisticType:c,onStatisticField:a,outStatisticFieldName:m}]:[]}}return o===y.Category&&s.query!==void 0?s.query.groupByFieldsForStatistics=[g]:delete s.query?.groupByFieldsForStatistics,j(s)}function A(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{layerFieldsInfo:a,objectIdField:n}=e,g=w(t),l=p(t),s=F(t,o),c=l.length===0||l.includes(n),m=_(s,i),C=c?"":l.map(J=>v(a??[],J)).join(", "),b=v(a??[],g),I="",q;return o===y.Fields?q=l.length===0:q=g==="",q?I=i.utilsStrings.chartType.pieChart:s===u.NoAggregation?I=O(i.titleLabels.aggrFieldsByCategory,{aggregationFields:c?n:C,category:b}):s===u.Count?I=O(i.titleLabels.aggrTypeCategory,{aggregationType:m,category:b}):l.length>0&&(b===T||P(b)||$(b)?I=O(i.titleLabels.aggrTypeOfAggrFields,{aggregationType:m,aggregationFields:C}):I=O(i.titleLabels.aggrTypeOfAggrFieldsByCategory,{aggregationType:m,aggregationFields:C,category:b})),I}var ye=r=>{let{newSortOrderKind:t,config:e,orderByList:o}=r;e.orderOptions??={},t===d.customSort&&o!==void 0?e.orderOptions.data={orderType:f.Category,orderBy:[...o]}:e.orderOptions.data={orderType:t===d.labelAsc||t===d.labelDesc?f.Category:f.YValue,orderBy:t===d.labelAsc||t===d.valueAsc?S.Ascending:S.Descending}},ue=r=>{let{newCategory:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,n=e.series?.length??0,g=B({config:e,layerInfo:o,commonStrings:a,mode:i}),l=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(e.series.forEach(s=>{s.x=i===y.Category?t:T,s.query!==void 0&&t!==T?s.query.groupByFieldsForStatistics=[t]:delete s.query?.groupByFieldsForStatistics}),n===0){let s=[X({config:e,layerInfo:o,mode:i,commonStrings:a})];e.series=s}if(o!==void 0){if(l){let c=L({config:e,layerInfo:o,numericFields:p(e),aggregationType:F(e,i),commonStrings:a});h(e,1,c)}e.title&&g&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}));let s=i===y.Fields?p(e).filter(c=>c!==o.objectIdField):p(e);Y({newNumericFields:s,config:e,layerInfo:o,mode:i,commonStrings:a})}};function H(r){let{numericFields:t,aggregationType:e,config:o,layerInfo:i,mode:a,commonStrings:n}=r,g=[],l=X({config:o,layerInfo:i,mode:a,commonStrings:n}),s={...l,query:{...l.query}};t.length<=1?s.query.where=l.query?.where:delete s.query.where;let c=U({config:o,xAxisField:w(o),numericFields:t,aggregationType:e,mode:a,layer:i.layer}).name;if(e!==u.NoAggregation)if(a===y.Category){if(t.length>0){let m=t[0];s.query.outStatistics=[{...l.query?.outStatistics?.[0]??{},onStatisticField:m,outStatisticFieldName:c,statisticType:e}]}}else for(let m of t)s.query.outStatistics?.push({onStatisticField:m,outStatisticFieldName:m,statisticType:e});else s.query={};s.y=c,g.push(s),o.series=g}var fe=r=>{let{newAggregationType:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,n=p(e),g=B({config:e,layerInfo:o,commonStrings:a,mode:i}),l=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(H({config:e,layerInfo:o,numericFields:n,aggregationType:t,commonStrings:a,mode:i}),l){let C=L({config:e,layerInfo:o,commonStrings:a,numericFields:p(e),aggregationType:F(e,i)});h(e,1,C)}e.title&&g&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}));let s=e.series?.[0]?.displayCategoryOnDataLabel,c=e.series?.[0]?.displayNumericValueOnDataLabel,m=e.series?.[0]?.displayPercentageOnDataLabel;e.legend={...e.legend??R(),displayNumericValue:c,displayPercentage:m,displayCategory:s}},Y=r=>{let{newNumericFields:t}=r,{config:e,layerInfo:o,mode:i,commonStrings:a}=r,{objectIdField:n}=o??{},g=F(e,i),l=B({config:e,layerInfo:o,commonStrings:a,mode:i}),s=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(t=t===""?[]:t,t=typeof t=="string"?[t]:t,n!==void 0&&(t.length===0&&i===y.Category?(t.push(n),g=u.Count):g===u.Count&&t.length>=1&&!t.includes(n)&&(g=u.Sum)),o!==void 0){if(H({config:e,layerInfo:o,commonStrings:a,numericFields:t,aggregationType:g,mode:i}),s){let c=L({config:e,layerInfo:o,commonStrings:a,numericFields:p(e),aggregationType:F(e,i)});h(e,1,c)}e.title&&l&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}))}else e.series.forEach(c=>{delete c.query,c.y=t[0]})},pe=(r,t)=>{let e=[],o=r.orderOptions?.data?.orderType,i=W(r,t),a=r.orderOptions?.data?.orderBy;return i===d.customSort&&o===f.Category&&Array.isArray(a)&&(e=a),e},Se=r=>{let{values:t,config:e,mode:o}=r;e.orderOptions??={};let i=e.orderOptions?.data?.orderType;W(e,o)===d.customSort&&i===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:[...t]})};return{a:w,b:W,c:p,d:F,e:A,f:ye,g:ue,h:fe,i:Y,j:pe,k:Se}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",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.13 */
4
- import{a as z}from"./UVHLCTSW.js";import{a as u}from"./GZVDZDHR.js";import{b as E,c as T}from"./Q4DN7TK6.js";import h from"./5YKE32ZS.js";import{k as a}from"./DOPFX4SB.js";import{a as I}from"./UB23KURL.js";import e from"./DEWKTZZP.js";import d from"./LBK2USAQ.js";import{q as b}from"./PR34OOND.js";import"./YVJ4R5D3.js";import{b as r}from"./JBGSJHAT.js";import"./YQDON6CP.js";import{A as c,B as $,D as x,F as P,g as y,h as l,l as f,w as g,x as p,y as v}from"./IVT62N2K.js";import"./7HF3N6H5.js";export default $arcgis.t(([,,,,,,,{substitute:B},{Qa:L,lc:F,nc:C},{g:w},{a:m,k:h,o:D,r:S}])=>{var o={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",sortMean:"sort-mean",sortMedian:"sort-median",sortOrderPickList:"sort-order-pick-list",panel:"panel"},O=y`.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-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`,k=class extends v{constructor(){super(...arguments),this._messages=I(),this.picklist=g(),this.placement="leading",this.popoverElement=g(),this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.arcgisChartsConfigBoxPlotDataPopoverChange=f(),this.arcgisChartsConfigPopoverClose=f()}static{this.properties={messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,isCustomSortDisabled:5,selectedContent:1}}static{this.styles=O}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"))}async updated(){setTimeout(async()=>{typeof this.picklist.value?.setFocus=="function"&&await this.picklist.value?.setFocus()},m.PopoverTimer),E(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},m.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=T(e,t)}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBoxPlotDataPopoverChange,contentKind:this.contentKind};D(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}async onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigBoxPlotDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}buildPickListItem(e){return u(e.name,l`<calcite-list-item .label=${L(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${h(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let s=0;s<t;s+=1){let n=this.layerFieldsInfo[s];F(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}case a.splitByField:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}}return i}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}buildSortOrder(){let e=Object.keys(r),t;return z(e,i=>i,i=>{let s="";switch(i){case r.xAxisAsc:{t="a-z-down";break}case r.xAxisDesc:{t="a-z-up";break}case r.meanAsc:t="sort-descending",s=o.sortMean;break;case r.meanDesc:{t="sort-ascending",s=o.sortMean;break}case r.medianAsc:{t="sort-descending",s=o.sortMedian;break}case r.medianDesc:{t="sort-ascending",s=o.sortMedian;break}case r.customSort:{t="arrow-up-down";break}}return l`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===r.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${r[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${s}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}async onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=w(t),s=new Intl.NumberFormat(i).format(m.customSortLimit),n=B(this._messages.customSortLimit??"",{totalLimit:s});this.tooltip=x(l`<calcite-tooltip style=${$({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${n}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){S(this.tooltip)}renderCategory(){let e=this.buildPickListItems(a.category);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return l`<calcite-list label class=${c(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(a.splitByField);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return l`<calcite-list label class=${c(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.splitByField:e=this.renderSplitByField();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=l`<div slot=footer><calcite-fab class=${c(o.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>`),l`<div class=${c(o.jsAppFlyout)}><calcite-popover class=${c(o.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${c(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(o.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-box-plot-popover",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",d,e,h)
3
+ v5.0.0-next.15 */
4
+ import{a as z}from"./ABHW5CE2.js";import{a as u}from"./MNIOSGYH.js";import{b as E,c as T}from"./S2C5BT6G.js";import h from"./CS2UZBIZ.js";import{k as a}from"./5ONL44LQ.js";import{a as I}from"./7FEKKJ6O.js";import e from"./BN6SWWLW.js";import d from"./LJ3BG6G7.js";import{q as b}from"./DFX5P352.js";import"./IMMVGOCW.js";import{b as r}from"./NWE4IMRQ.js";import"./MS4P4IKG.js";import{A as c,B as $,D as x,F as P,g as y,h as l,l as f,w as g,x as p,y as v}from"./BXNZWDJR.js";import"./IQIMCRWU.js";export default $arcgis.t(([,,,,,,,{substitute:B},{Qa:L,mc:F,oc:C},{g:w},{a:m,k:h,o:D,r:S}])=>{var o={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",sortMean:"sort-mean",sortMedian:"sort-median",sortOrderPickList:"sort-order-pick-list",panel:"panel"},O=y`.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-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`,k=class extends v{constructor(){super(...arguments),this._messages=I(),this.picklist=g(),this.placement="leading",this.popoverElement=g(),this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.arcgisChartsConfigBoxPlotDataPopoverChange=f(),this.arcgisChartsConfigPopoverClose=f()}static{this.properties={messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,isCustomSortDisabled:5,selectedContent:1}}static{this.styles=O}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"))}async updated(){setTimeout(async()=>{typeof this.picklist.value?.setFocus=="function"&&await this.picklist.value?.setFocus()},m.PopoverTimer),E(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},m.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=T(e,t)}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBoxPlotDataPopoverChange,contentKind:this.contentKind};D(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}async onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigBoxPlotDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}buildPickListItem(e){return u(e.name,l`<calcite-list-item .label=${L(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${h(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let s=0;s<t;s+=1){let n=this.layerFieldsInfo[s];F(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}case a.splitByField:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}}return i}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}buildSortOrder(){let e=Object.keys(r),t;return z(e,i=>i,i=>{let s="";switch(i){case r.xAxisAsc:{t="a-z-down";break}case r.xAxisDesc:{t="a-z-up";break}case r.meanAsc:t="sort-descending",s=o.sortMean;break;case r.meanDesc:{t="sort-ascending",s=o.sortMean;break}case r.medianAsc:{t="sort-descending",s=o.sortMedian;break}case r.medianDesc:{t="sort-ascending",s=o.sortMedian;break}case r.customSort:{t="arrow-up-down";break}}return l`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===r.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${r[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${s}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}async onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=w(t),s=new Intl.NumberFormat(i).format(m.customSortLimit),n=B(this._messages.customSortLimit??"",{totalLimit:s});this.tooltip=x(l`<calcite-tooltip style=${$({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${n}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){S(this.tooltip)}renderCategory(){let e=this.buildPickListItems(a.category);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return l`<calcite-list label class=${c(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(a.splitByField);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return l`<calcite-list label class=${c(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.splitByField:e=this.renderSplitByField();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=l`<div slot=footer><calcite-fab class=${c(o.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>`),l`<div class=${c(o.jsAppFlyout)}><calcite-popover class=${c(o.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${c(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(o.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-box-plot-popover",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",d,e,h)