@arcgis/charts-components 5.2.0-next.2 → 5.2.0-next.21

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 (267) hide show
  1. package/dist/cdn/{ZRFHAQL6.js → 2OXJ5CIC.js} +1 -1
  2. package/dist/cdn/2YRBTD5E.js +2 -0
  3. package/dist/cdn/{VVKV5KKN.js → 3CRUKP7D.js} +1 -1
  4. package/dist/cdn/3MKY6UCO.js +2 -0
  5. package/dist/cdn/3SBYV6BW.js +2 -0
  6. package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
  7. package/dist/cdn/4MBX554Q.js +2 -0
  8. package/dist/cdn/4ZGGMYAW.js +2 -0
  9. package/dist/cdn/{HCMD362H.js → 54CA4NEA.js} +1 -1
  10. package/dist/cdn/5B7SUFIW.js +2 -0
  11. package/dist/cdn/{VDG54AIC.js → 62ECX35C.js} +1 -1
  12. package/dist/cdn/{HCV34H6X.js → 6ECU76VK.js} +1 -1
  13. package/dist/cdn/7473JWME.js +2 -0
  14. package/dist/cdn/74UHJFPH.js +2 -0
  15. package/dist/cdn/{PVJEBBA7.js → 7532DIDI.js} +1 -1
  16. package/dist/cdn/{JVHJMPFE.js → 7C6E54U5.js} +1 -1
  17. package/dist/cdn/7X5P6K2W.js +2 -0
  18. package/dist/cdn/A636YSNA.js +2 -0
  19. package/dist/cdn/{TNB3MBXR.js → ABAERFCU.js} +1 -1
  20. package/dist/cdn/AH2UFHXP.js +2 -0
  21. package/dist/cdn/AHTGZ4MH.js +2 -0
  22. package/dist/cdn/AQIB3VEP.js +2 -0
  23. package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
  24. package/dist/cdn/{KOBNV5AQ.js → B34ZX3IO.js} +1 -1
  25. package/dist/cdn/BMAAWO5F.js +2 -0
  26. package/dist/cdn/CG6MYXFY.js +2 -0
  27. package/dist/cdn/{LONASKGH.js → CPT6BODA.js} +1 -1
  28. package/dist/cdn/CRCAJAFA.js +2 -0
  29. package/dist/cdn/DG2OI6R3.js +3 -0
  30. package/dist/cdn/DKENYDHS.js +233 -0
  31. package/dist/cdn/{YRBE7MBU.js → DSHN2EGI.js} +1 -1
  32. package/dist/cdn/E44C5J3E.js +2 -0
  33. package/dist/cdn/{LZYN55O4.js → EHMSOPGV.js} +1 -1
  34. package/dist/cdn/{KLC6NTPC.js → ETXHDKUU.js} +1 -1
  35. package/dist/cdn/{GL3IXVRN.js → F4WIDKYH.js} +1 -1
  36. package/dist/cdn/{TZB57XD4.js → FGRHILPJ.js} +1 -1
  37. package/dist/cdn/FYDWWQCT.js +2 -0
  38. package/dist/cdn/GIBMAXXC.js +2 -0
  39. package/dist/cdn/{24LTTBTF.js → HJIWACZ5.js} +1 -1
  40. package/dist/cdn/{WEQBZOH7.js → HNHNP7BI.js} +1 -1
  41. package/dist/cdn/{TYMKFCF4.js → HXR7LXG4.js} +1 -1
  42. package/dist/cdn/I4MM4T5T.js +2 -0
  43. package/dist/cdn/IHHPUKGG.js +2 -0
  44. package/dist/cdn/{R45FWF7D.js → IJNPEW4W.js} +1 -1
  45. package/dist/cdn/{OE3UFORR.js → ILMYZIWD.js} +1 -1
  46. package/dist/cdn/{U4XLNCOU.js → IQ3T72TK.js} +1 -1
  47. package/dist/cdn/{3YT44D4Z.js → IRJ2YA3P.js} +1 -1
  48. package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
  49. package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
  50. package/dist/cdn/JMLS3OCC.js +2 -0
  51. package/dist/cdn/JQ7KK2TT.js +2 -0
  52. package/dist/cdn/K5AZMQ5Q.js +2 -0
  53. package/dist/cdn/KNYJJN7R.js +2 -0
  54. package/dist/cdn/{FDXE5JLT.js → L3XXFSDJ.js} +1 -1
  55. package/dist/cdn/L52YJC6U.js +2 -0
  56. package/dist/cdn/{GES3HRXE.js → LKAKZYML.js} +1 -1
  57. package/dist/cdn/{CJ4POAPM.js → LNRU4KNE.js} +1 -1
  58. package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
  59. package/dist/cdn/{RAQZUMC6.js → LYRIOMLM.js} +1 -1
  60. package/dist/cdn/{RFQBUWOW.js → NI4KTOCF.js} +1 -1
  61. package/dist/cdn/O533LNDP.js +2 -0
  62. package/dist/cdn/{UKDTXHZT.js → OKMRX4U5.js} +1 -1
  63. package/dist/cdn/{LDPHZHSF.js → OYQK2TIQ.js} +1 -1
  64. package/dist/cdn/{NQQW4GKA.js → PKCOYJHN.js} +1 -1
  65. package/dist/cdn/{PK5XIIZY.js → POIIR3QR.js} +1 -1
  66. package/dist/cdn/PSUB3KL5.js +4 -0
  67. package/dist/cdn/{KI4HS3AM.js → PWNFUWUN.js} +1 -1
  68. package/dist/cdn/Q5J2S3DE.js +2 -0
  69. package/dist/cdn/{5JML3JUR.js → QEC5EZ6Q.js} +1 -1
  70. package/dist/cdn/QID7XRNR.js +2 -0
  71. package/dist/cdn/QKL4PXPG.js +2 -0
  72. package/dist/cdn/{2K4ODNJ4.js → QN7MXGGV.js} +1 -1
  73. package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
  74. package/dist/cdn/R7QGZ7QJ.js +2 -0
  75. package/dist/cdn/RGFQCA4L.js +102 -0
  76. package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
  77. package/dist/cdn/RQN3DHRN.js +2 -0
  78. package/dist/cdn/{N524VXQ2.js → RY3TJU7J.js} +1 -1
  79. package/dist/cdn/{7ABIELGZ.js → RZGDZC44.js} +1 -1
  80. package/dist/cdn/S7Z4HRW7.js +2 -0
  81. package/dist/cdn/SCX3TUEG.js +2 -0
  82. package/dist/cdn/STTG3UAJ.js +2 -0
  83. package/dist/cdn/{VEA5ZR5D.js → SZOAGNYC.js} +1 -1
  84. package/dist/cdn/{PZGIXDMC.js → T5KLEUNC.js} +1 -1
  85. package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
  86. package/dist/cdn/{PC7IKOIB.js → TH2F4GPI.js} +1 -1
  87. package/dist/cdn/{TU3UF32Y.js → U555MUVU.js} +1 -1
  88. package/dist/cdn/V2H2UI2W.js +2 -0
  89. package/dist/cdn/{RX3RNE7F.js → V6UMDO6X.js} +1 -1
  90. package/dist/cdn/VJFHFI6U.js +58 -0
  91. package/dist/cdn/{3DK6M5E7.js → VK4OJOVV.js} +1 -1
  92. package/dist/cdn/{5QO32XSX.js → VM6CF4WH.js} +1 -1
  93. package/dist/cdn/{TAI4RIWT.js → WE2J37H5.js} +1 -1
  94. package/dist/cdn/{5G7DSKI7.js → XAO2DW32.js} +1 -1
  95. package/dist/cdn/XRLVJJBT.js +2 -0
  96. package/dist/cdn/{U2LJZ4ML.js → XVW5DABR.js} +1 -1
  97. package/dist/cdn/YVOKQFAW.js +2 -0
  98. package/dist/cdn/{PSO5AURI.js → Z2Z3DPFE.js} +1 -1
  99. package/dist/cdn/ZW4PF3UK.js +2 -0
  100. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  101. package/dist/cdn/index.js +1 -1
  102. package/dist/cdn/model/shared/setup-utils.js +2 -0
  103. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  104. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  105. package/dist/chunks/chart-model.js +170 -138
  106. package/dist/chunks/class-breaks.js +18 -18
  107. package/dist/chunks/data.js +68 -68
  108. package/dist/chunks/index2.js +2259 -2226
  109. package/dist/chunks/index3.js +32 -29
  110. package/dist/chunks/index4.js +107 -49
  111. package/dist/chunks/model-setter.js +1 -1
  112. package/dist/chunks/pie-chart-data.js +42 -36
  113. package/dist/chunks/pie-chart-model.js +175 -162
  114. package/dist/chunks/rotated-state.js +1 -1
  115. package/dist/chunks/scatterplot-model.js +1 -1
  116. package/dist/chunks/serial-chart-data.js +591 -579
  117. package/dist/chunks/time-zone.js +1 -1
  118. package/dist/chunks/utils.js +67 -56
  119. package/dist/chunks/web-component-utils.js +601 -491
  120. package/dist/components/arcgis-chart/customElement.d.ts +145 -138
  121. package/dist/components/arcgis-chart/customElement.js +6353 -6353
  122. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
  123. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  124. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
  125. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
  126. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  127. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
  128. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  129. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +35 -36
  130. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  132. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  133. package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
  134. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  135. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  136. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  137. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -16
  139. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  140. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -27
  141. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  143. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +29 -31
  144. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  145. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
  146. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
  147. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -40
  148. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  149. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
  150. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  151. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
  152. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +12 -13
  153. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
  154. package/dist/docs/api.json +1 -1
  155. package/dist/docs/docs.json +1 -1
  156. package/dist/docs/vscode.html-custom-data.json +1 -1
  157. package/dist/docs/web-types.json +1 -1
  158. package/dist/index.d.ts +66 -70
  159. package/dist/index.js +212 -210
  160. package/dist/json-schema/index.d.ts +59 -2
  161. package/dist/loader.js +1 -1
  162. package/dist/model/chart-model/chart-model.d.ts +2 -1
  163. package/dist/model/interfaces/common.d.ts +0 -2
  164. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  165. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  166. package/dist/model/properties/rotated-state.d.ts +1 -1
  167. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  168. package/dist/spec/rest-js-types.d.ts +22 -8
  169. package/dist/spec/web-chart.d.ts +8 -2
  170. package/dist/utils/chart-config/converter/index.js +264 -264
  171. package/dist/utils/chart-config/utils/index.d.ts +36 -0
  172. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  173. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  174. package/dist/utils/data/index.d.ts +8 -11
  175. package/dist/utils/defaults/index.d.ts +1 -2
  176. package/dist/utils/errors/index.d.ts +1 -1
  177. package/dist/utils/layer/index.d.ts +5 -3
  178. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  179. package/dist/utils/layer/query-parser/index.d.ts +3 -3
  180. package/dist/utils/localization/interfaces.d.ts +4 -0
  181. package/dist/utils/misc/index.d.ts +2 -3
  182. package/dist/utils/types/index.d.ts +1 -5
  183. package/package.json +6 -6
  184. package/dist/cdn/26FWESH3.js +0 -102
  185. package/dist/cdn/3XHZ677O.js +0 -2
  186. package/dist/cdn/5FMEOIBS.js +0 -3
  187. package/dist/cdn/74JAZF7U.js +0 -2
  188. package/dist/cdn/7HIZH35G.js +0 -2
  189. package/dist/cdn/CCR46UHB.js +0 -2
  190. package/dist/cdn/CRFJ2GGS.js +0 -2
  191. package/dist/cdn/CXQOEN77.js +0 -2
  192. package/dist/cdn/DYC3Q36R.js +0 -2
  193. package/dist/cdn/E2N2S7BH.js +0 -2
  194. package/dist/cdn/E43KEVHT.js +0 -2
  195. package/dist/cdn/EXTKNE2L.js +0 -2
  196. package/dist/cdn/F7Y6EWWB.js +0 -2
  197. package/dist/cdn/G5HVFOIO.js +0 -2
  198. package/dist/cdn/G7TRU7JI.js +0 -2
  199. package/dist/cdn/IHQ7R6L4.js +0 -4
  200. package/dist/cdn/IUFXFWXH.js +0 -2
  201. package/dist/cdn/JHYH555K.js +0 -2
  202. package/dist/cdn/JNNB2DIA.js +0 -2
  203. package/dist/cdn/KVGEY3IQ.js +0 -2
  204. package/dist/cdn/KXNZEPLT.js +0 -58
  205. package/dist/cdn/LWODMEOP.js +0 -2
  206. package/dist/cdn/LYZGRYQV.js +0 -2
  207. package/dist/cdn/MF3FGXHI.js +0 -2
  208. package/dist/cdn/MUPHTV55.js +0 -2
  209. package/dist/cdn/N5ERJZPG.js +0 -2
  210. package/dist/cdn/NGPMU4T3.js +0 -2
  211. package/dist/cdn/NJCZ6UTM.js +0 -2
  212. package/dist/cdn/NMB6TWC2.js +0 -2
  213. package/dist/cdn/NNNTZU5J.js +0 -2
  214. package/dist/cdn/NS3THLCD.js +0 -2
  215. package/dist/cdn/NZR4L5AA.js +0 -2
  216. package/dist/cdn/P2NPQAJ3.js +0 -2
  217. package/dist/cdn/PJUAU42S.js +0 -2
  218. package/dist/cdn/PY5Q3V6E.js +0 -2
  219. package/dist/cdn/RMYZGOBM.js +0 -2
  220. package/dist/cdn/TXSWWAOF.js +0 -2
  221. package/dist/cdn/UAJGYF4S.js +0 -2
  222. package/dist/cdn/UT6G7RV7.js +0 -2
  223. package/dist/cdn/VOTZAPI3.js +0 -2
  224. package/dist/cdn/WO6JBNMU.js +0 -2
  225. package/dist/cdn/YYK7SPXC.js +0 -2
  226. package/dist/cdn/ZRZEKOEF.js +0 -2
  227. /package/dist/cdn/{2HGBRW4I.js → 3HAB3JR6.js} +0 -0
  228. /package/dist/cdn/{AJBEE7WE.js → 3YOOX2CV.js} +0 -0
  229. /package/dist/cdn/{53FG76LL.js → 4DSO7LUF.js} +0 -0
  230. /package/dist/cdn/{2X75KJPF.js → 5HRLHWQ5.js} +0 -0
  231. /package/dist/cdn/{I36OAVW3.js → 732EZ6WJ.js} +0 -0
  232. /package/dist/cdn/{3V4HRXIT.js → 7IS6QE6S.js} +0 -0
  233. /package/dist/cdn/{VFM2EV3M.js → 7XZZ5OZL.js} +0 -0
  234. /package/dist/cdn/{4E7C5QPS.js → AN2NRYQV.js} +0 -0
  235. /package/dist/cdn/{O2ERVMSN.js → ASUGYCJ6.js} +0 -0
  236. /package/dist/cdn/{TSI3C3OV.js → BICQEJYZ.js} +0 -0
  237. /package/dist/cdn/{66KSEDOR.js → C2I4WPWM.js} +0 -0
  238. /package/dist/cdn/{NFDXH5B3.js → C47AIJTI.js} +0 -0
  239. /package/dist/cdn/{B4KT2HUE.js → C5YJ7J3A.js} +0 -0
  240. /package/dist/cdn/{4QQVKRJ5.js → DPV2ZJLF.js} +0 -0
  241. /package/dist/cdn/{ZFM5RGWD.js → E4535ZTP.js} +0 -0
  242. /package/dist/cdn/{M4AQLWZU.js → FJNRPAMO.js} +0 -0
  243. /package/dist/cdn/{PH6UOHRS.js → GI54JT4O.js} +0 -0
  244. /package/dist/cdn/{YIIPYKTL.js → GYTYFBNU.js} +0 -0
  245. /package/dist/cdn/{RDTBZUT7.js → J5QUGI2J.js} +0 -0
  246. /package/dist/cdn/{XIJ5VLER.js → JPEN5TFK.js} +0 -0
  247. /package/dist/cdn/{DD4QUBOF.js → KBQM3DLQ.js} +0 -0
  248. /package/dist/cdn/{75P3QRL4.js → LEMJA72W.js} +0 -0
  249. /package/dist/cdn/{NHDVOYQ2.js → MMO2QPOA.js} +0 -0
  250. /package/dist/cdn/{NG2IHVZ4.js → PS7IL5JZ.js} +0 -0
  251. /package/dist/cdn/{5AOYADA3.js → R2RRMPOC.js} +0 -0
  252. /package/dist/cdn/{ABIVSH72.js → RV6E7KKQ.js} +0 -0
  253. /package/dist/cdn/{OA7FHTCA.js → RYLXJPKL.js} +0 -0
  254. /package/dist/cdn/{I5VHQW7B.js → S2R72ISR.js} +0 -0
  255. /package/dist/cdn/{N3VOUI25.js → T4NEEFOY.js} +0 -0
  256. /package/dist/cdn/{4JQ2RRLY.js → TEERYUCS.js} +0 -0
  257. /package/dist/cdn/{XWKBJDZT.js → V454JYTQ.js} +0 -0
  258. /package/dist/cdn/{LNF44ZGQ.js → V7JF5I5M.js} +0 -0
  259. /package/dist/cdn/{N6OT5IBC.js → VIZWWEG5.js} +0 -0
  260. /package/dist/cdn/{SGOYJFLO.js → W5SPX6WM.js} +0 -0
  261. /package/dist/cdn/{OYHKUGS6.js → X2IOJECM.js} +0 -0
  262. /package/dist/cdn/{O6SNP6QE.js → X33RIIGI.js} +0 -0
  263. /package/dist/cdn/{UAZ34KDJ.js → YBTVIOHQ.js} +0 -0
  264. /package/dist/cdn/{7ILH7ZG2.js → YFQHZWLO.js} +0 -0
  265. /package/dist/cdn/{FLO3N6JD.js → YX4EVVJM.js} +0 -0
  266. /package/dist/cdn/{CODAXMWM.js → YXH22GJ6.js} +0 -0
  267. /package/dist/cdn/{DIKQ7BPQ.js → ZMQTYGGT.js} +0 -0
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as u}from"./VOTZAPI3.js";import{a as f}from"./JNNB2DIA.js";import{a as o}from"./IHO3OLL3.js";import d from"./VDG54AIC.js";import"./AK7X7SGI.js";import{a as S}from"./MRTKZZTF.js";import b from"./JHYH555K.js";import"./WNKDEOFZ.js";import a from"./5FMEOIBS.js";import"./EZV7JSQJ.js";import{d as p}from"./LRNADJJG.js";import"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./NZR4L5AA.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import{A as c,C as m,E as g,G as C,g as h,i as r}from"./CHQDKVVQ.js";import"./U67P6YAZ.js";export default $arcgis.t(([,,{p:v}])=>{var O=h`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`,l=class extends c{constructor(){super(...arguments),this._messages=S(),this.seriesPopover=null,this.open=!1,this.seriesNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let s=e.detail?.name;this.model.setSeriesName(s,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:s}=e.detail;this.model.colorMatch=!1,s!==void 0&&(this.model.setSeriesColor(s,this.selectedSeriesIndex??-1),this.model.setSeriesMarkerColor(s,this.selectedSeriesIndex??-1))}},this.seriesLineStyleChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{lineStyle:s}=e.detail;s!==void 0&&this.model.setSeriesLineStyle(s,this.selectedSeriesIndex??-1)}},this.seriesLineWidthChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{lineWidth:s}=e.detail;s!==void 0&&(this.model.setSeriesLineWidth(s,this.selectedSeriesIndex??-1),this.model.setSeriesMarkerSize(s*2,this.selectedSeriesIndex??-1))}},this.seriesPopoverClose=e=>{let{selectedSeriesIndex:s}=e.detail;this.selectedSeriesIndex===s&&(this.seriesPopover=o(this.seriesPopover),this.selectedSeriesIndex=void 0)},this.onModelConfigChange=()=>{this.requestUpdate()},this.seriesOrderResetCounter=0,this.activeColorMatch=!1,this.popoverPlacement="leading"}static{this.properties={selectedSeriesIndex:16,seriesOrderResetCounter:16,messageOverrides:0,model:0,activeColorMatch:5,popoverPlacement:1}}static{this.styles=O}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,s){s?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&(this.seriesPopover=g(r`<arcgis-charts-config-line-chart-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)} .placement=${this.popoverPlacement} .open=${this.open} .selectedSeriesIndex=${this.selectedSeriesIndex} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-line-chart-series-popover>`),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover))}removeSeriesPopover(){this.seriesPopover!==void 0&&this.seriesPopover!==null&&(this.seriesPopover.open=!1,this.seriesPopover=o(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength,s=Array.from({length:e},(i,t)=>t);return u(s,i=>this.model.getSeriesId(i),i=>{let t=this.model.getSeriesId(i),n=this.model.getSeriesColor(i),I=this.model.getSeriesName(i),x=this.model.chartSubType===p.BarAndLineFromFields?this._messages.series:t,$=this.model.getSeriesLineStyle(i),P=v($),a="#CCCCCC",d="minus-circle";if((e>1||!this.activeColorMatch)&&n!==void 0){d=`line-${P}`;let[L,b,y,M]=[...n];a=`rgba(${L},${b},${y},${M/255})`}return r`<calcite-list-item .label=${I??t??""} .description=${x} .value=${t} .selected=${this.selectedSeriesIndex===i} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${d} style=${m({color:a})}></calcite-icon></calcite-list-item>`})}buildSeriesList(){return f(this.seriesOrderResetCounter,r`<calcite-list label drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}resetSeriesOriginal(){this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:s,oldIndex:i}=e.detail;this.model.moveSeries(i,s),this.seriesOrderResetCounter+=1}}openSeriesPopOver(e){e.stopImmediatePropagation(),this.removeSeriesPopover();let s=e.target,i=s.localName==="calcite-list-item"?s:s.parentNode,t=this.model.getSeriesIndex(i.value);this.open=this.selectedSeriesIndex!==t,this.selectedSeriesIndex=this.selectedSeriesIndex!==t?t:void 0}render(){return r`<calcite-panel .heading=${this._messages.series}><calcite-button slot=header-actions-end @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent scale=s icon-end=reset>${this._messages.reset}</calcite-button>${this.buildSeriesList()}</calcite-panel>`}};C("arcgis-charts-config-line-chart-series",l);return l},a,b,d)
2
+ import{a as u}from"./AQIB3VEP.js";import{a as f}from"./S7Z4HRW7.js";import{a as o}from"./IHO3OLL3.js";import d from"./62ECX35C.js";import{a as S}from"./JHANH4UG.js";import"./AK7X7SGI.js";import b from"./V2H2UI2W.js";import"./WNKDEOFZ.js";import a from"./DG2OI6R3.js";import"./EZV7JSQJ.js";import{d as p}from"./3TBK72EK.js";import"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./IHHPUKGG.js";import{B as c,D as m,F as g,H as C,g as h,i as r}from"./RIM4HLHN.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([,,{p:v}])=>{var O=h`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`,l=class extends c{constructor(){super(...arguments),this._messages=S(),this.seriesPopover=null,this.open=!1,this.seriesNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let s=e.detail?.name;this.model.setSeriesName(s,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:s}=e.detail;this.model.colorMatch=!1,s!==void 0&&(this.model.setSeriesColor(s,this.selectedSeriesIndex??-1),this.model.setSeriesMarkerColor(s,this.selectedSeriesIndex??-1))}},this.seriesLineStyleChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{lineStyle:s}=e.detail;s!==void 0&&this.model.setSeriesLineStyle(s,this.selectedSeriesIndex??-1)}},this.seriesLineWidthChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{lineWidth:s}=e.detail;s!==void 0&&(this.model.setSeriesLineWidth(s,this.selectedSeriesIndex??-1),this.model.setSeriesMarkerSize(s*2,this.selectedSeriesIndex??-1))}},this.seriesPopoverClose=e=>{let{selectedSeriesIndex:s}=e.detail;this.selectedSeriesIndex===s&&(this.seriesPopover=o(this.seriesPopover),this.selectedSeriesIndex=void 0)},this.onModelConfigChange=()=>{this.requestUpdate()},this.seriesOrderResetCounter=0,this.activeColorMatch=!1,this.popoverPlacement="leading"}static{this.properties={selectedSeriesIndex:16,seriesOrderResetCounter:16,messageOverrides:0,model:0,activeColorMatch:5,popoverPlacement:1}}static{this.styles=O}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,s){s?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&(this.seriesPopover=g(r`<arcgis-charts-config-line-chart-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)} .placement=${this.popoverPlacement} .open=${this.open} .selectedSeriesIndex=${this.selectedSeriesIndex} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-line-chart-series-popover>`),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover))}removeSeriesPopover(){this.seriesPopover!==void 0&&this.seriesPopover!==null&&(this.seriesPopover.open=!1,this.seriesPopover=o(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength,s=Array.from({length:e},(i,t)=>t);return u(s,i=>this.model.getSeriesId(i),i=>{let t=this.model.getSeriesId(i),n=this.model.getSeriesColor(i),I=this.model.getSeriesName(i),x=this.model.chartSubType===p.BarAndLineFromFields?this._messages.series:t,$=this.model.getSeriesLineStyle(i),P=v($),a="#CCCCCC",d="minus-circle";if((e>1||!this.activeColorMatch)&&n!==void 0){d=`line-${P}`;let[L,b,y,M]=[...n];a=`rgba(${L},${b},${y},${M/255})`}return r`<calcite-list-item .label=${I??t??""} .description=${x} .value=${t} .selected=${this.selectedSeriesIndex===i} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${d} style=${m({color:a})}></calcite-icon></calcite-list-item>`})}buildSeriesList(){return f(this.seriesOrderResetCounter,r`<calcite-list label drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}resetSeriesOriginal(){this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:s,oldIndex:i}=e.detail;this.model.moveSeries(i??0,s??i??0),this.seriesOrderResetCounter+=1}}openSeriesPopOver(e){e.stopImmediatePropagation(),this.removeSeriesPopover();let s=e.target,i=s.localName==="calcite-list-item"?s:s.parentNode,t=this.model.getSeriesIndex(i.value);this.open=this.selectedSeriesIndex!==t,this.selectedSeriesIndex=this.selectedSeriesIndex!==t?t:void 0}render(){return r`<calcite-panel .heading=${this._messages.series}><calcite-button slot=header-actions-end @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent scale=s icon-end=reset>${this._messages.reset}</calcite-button>${this.buildSeriesList()}</calcite-panel>`}};C("arcgis-charts-config-line-chart-series",l);return l},a,b,d)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import o from"./U4XLNCOU.js";import n from"./PZGIXDMC.js";import m from"./KI4HS3AM.js";import k from"./5G7DSKI7.js";import"./THTYR6IL.js";import j from"./ZRZEKOEF.js";import i from"./2K4ODNJ4.js";import"./Y7HBWU3M.js";import g from"./N5ERJZPG.js";import e from"./CJ4POAPM.js";import d from"./JHYH555K.js";import"./WNKDEOFZ.js";import a from"./5FMEOIBS.js";import"./EZV7JSQJ.js";import"./LRNADJJG.js";import{E as p,O as v,X as l,ga as h,na as _}from"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./NZR4L5AA.js";import"./KDJ5RVHA.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import{a as c,b as f,s as b}from"./547RDEMV.js";import"./CHQDKVVQ.js";import"./U67P6YAZ.js";export default $arcgis.t(([{ob:S},{b:I,q:C},,{c:i},,L,{b:w,d:V,f:D},{b:B,d:E,f:W},{d:T,e:A},F])=>{var M=t=>t.axes[0].needle?.visible??!0,P=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.visible=t},$=t=>t.axes[0].needle?.symbol,G=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.symbol=t},j=t=>t.axes[0].needle?.startWidth,q=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.startWidth=t},O=t=>t.axes[0].needle?.endWidth,N=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.endWidth=t},J=t=>t.axes[0].needle?.innerRadius,K=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.innerRadius=t},z=t=>t.axes[0].needle?.displayPin??!1,H=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.displayPin=t},Q=t=>t.axes[0].innerLabel?.visible??!0,U=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=p()),e.axes[0].innerLabel.visible=t},X=t=>t.axes[0].innerLabel?.content,Y=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=p()),t!==void 0&&(e.axes[0].innerLabel.content=t)},Z=t=>t.axes[0].progressBands?.visible??!0,ee=(t,e)=>{e.axes[0].progressBands===void 0&&(e.axes[0].progressBands={type:c.FixedProgressBands}),e.axes[0].progressBands.visible=t},te=t=>t.axes[0].progressBands,ne=(t,e)=>{t===void 0?delete e.axes[0].progressBands:e.axes[0].progressBands=t},se=t=>t.axes[0].ticks?.visible??!0,ie=(t,e)=>{e.axes[0].ticks===void 0&&(e.axes[0].ticks={type:c.GaugeAxisTick}),e.axes[0].ticks.visible=t},oe=t=>t.axes[0].labelsIncrement,re=(t,e)=>{e.axes[0].labelsIncrement=t},ae=t=>t.axes[0].onlyShowFirstAndLastLabels??!1,ge=(t,e)=>{e.axes[0].onlyShowFirstAndLastLabels=t},le=t=>t.series[0]?.valueConversion,de=(t,e)=>{e.series[0]!==void 0&&(e.series[0].valueConversion=t)},k=t=>t.series[0]?.featureIndex,R=t=>{let{featureIndex:e,config:n,layerInfo:a,commonStrings:r}=t,g=x(n),d=u(n);e===null?delete n.series[0].featureIndex:n.series[0]!==void 0&&(n.series[0].featureIndex=e),y({config:n,layerInfo:a,field:g,aggregationType:d,commonStrings:r})},ce=t=>t.subType??b.StatisticGauge,fe=t=>{let{config:e,field:n,aggregationType:a}=t;if(a!==f.NoAggregation){let r=k(e),g=m(r)?{}:{outStatistics:[{statisticType:a,onStatisticField:n,outStatisticFieldName:`${a}_${n}`}]};e.series[0].query=g}},pe=t=>{let{config:e,layerInfo:n,commonStrings:a,field:r,aggregationType:g}=t;e.title&&(e.title.content.text=I({config:e,layerInfo:n,commonStrings:a,numericFields:[r],aggregationType:g}))},y=t=>{let{config:e,field:n,aggregationType:a}=t;e.series[0]===void 0&&(e.series=[h({})]);let r=m(e.series[0]?.featureIndex),g=r?n:`${a}_${n}`;r&&n.startsWith(`${a}_`)&&(g=n.replace(`${a}_`,"")),e.series[0].x=g,fe({config:e,field:n,aggregationType:a}),pe(t)},u=t=>t.series[0]?.query?.outStatistics?.[0]?.statisticType??f.Count,he=t=>{let{config:e,layerInfo:n,commonStrings:a,aggregationType:r}=t,g=x(e);y({config:e,layerInfo:n,commonStrings:a,field:g,aggregationType:r})},m=t=>typeof t=="number"&&t>=0,x=t=>m(t.series[0]?.featureIndex)?t.series[0]?.x:t.series[0]?.query?.outStatistics?.[0]?.onStatisticField??"",ye=t=>{let{field:e,config:n,layerInfo:a,commonStrings:r}=t,g=u(n);y({config:n,layerInfo:a,commonStrings:r,field:e,aggregationType:g})},ue=t=>t.innerRadius??50,me=(t,e)=>{e.innerRadius=t},xe=t=>t.startAngle??-90,be=(t,e)=>{e.startAngle=t},ve=t=>t.endAngle??270,_e=(t,e)=>{e.endAngle=t};function Se(t){return v(t)}var Ie=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,o=(t,e,n,a)=>{for(var r=Ce(e,n),g=t.length-1,d;g>=0;g--)(d=t[g])&&(r=d(e,n,r)||r);return r&&Ie(e,n,r),r},s=class extends L{constructor(){super(...arguments),this._chartType=c.GaugeSeries}generateChartTitle(){return Se(this.commonStrings)}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get field(){return x(this._config)}set field(e){ye({field:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get aggregationType(){return u(this._config)}set aggregationType(e){he({aggregationType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get innerRadius(){return ue(this._config)}set innerRadius(e){me(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get startAngle(){return xe(this._config)}set startAngle(e){be(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get endAngle(){return ve(this._config)}set endAngle(e){_e(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get valueConversion(){return le(this._config)}set valueConversion(e){de(e,this._config)}get featureIndex(){return k(this._config)}set featureIndex(e){R({featureIndex:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}removeFeatureIndex(){R({featureIndex:null,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get gaugeSubType(){return ce(this._config)}get needleVisibility(){return M(this._config)}set needleVisibility(e){P(e,this._config)}get needleSymbol(){return $(this._config)}set needleSymbol(e){G(e,this._config)}get needleStartWidth(){return j(this._config)}set needleStartWidth(e){q(e,this._config)}get needleEndWidth(){return O(this._config)}set needleEndWidth(e){N(e,this._config)}get needleInnerRadius(){return J(this._config)}set needleInnerRadius(e){K(e,this._config)}get needleDisplayPin(){return z(this._config)}set needleDisplayPin(e){H(e,this._config)}get innerLabelVisible(){return Q(this._config)}set innerLabelVisible(e){U(e,this._config)}get innerLabelContent(){return X(this._config)}set innerLabelContent(e){Y(e,this._config)}get progressBandsVisibility(){return Z(this._config)}set progressBandsVisibility(e){ee(e,this._config)}get progressBands(){return te(this._config)}set progressBands(e){ne(e,this._config)}get axisTickVisibility(){return se(this._config)}set axisTickVisibility(e){ie(e,this._config)}get labelsIncrement(){return oe(this._config)}set labelsIncrement(e){re(e,this._config)}get onlyShowFirstAndLastLabels(){return ae(this._config)}set onlyShowFirstAndLastLabels(e){ge(e,this._config)}generateDefaultConfig(){let e=_(this.commonStrings);return e.series=[h({objectIDField:S(this.layerInfo.layer).idField})],e}};o([i],s.prototype,"field");o([i],s.prototype,"aggregationType");o([i],s.prototype,"innerRadius");o([i],s.prototype,"startAngle");o([i],s.prototype,"endAngle");o([i],s.prototype,"valueConversion");o([i],s.prototype,"featureIndex");o([i],s.prototype,"removeFeatureIndex");o([i],s.prototype,"needleVisibility");o([i],s.prototype,"needleSymbol");o([i],s.prototype,"needleStartWidth");o([i],s.prototype,"needleEndWidth");o([i],s.prototype,"needleInnerRadius");o([i],s.prototype,"needleDisplayPin");o([i],s.prototype,"innerLabelVisible");o([i],s.prototype,"innerLabelContent");o([i],s.prototype,"progressBandsVisibility");o([i],s.prototype,"progressBands");o([i],s.prototype,"axisTickVisibility");o([i],s.prototype,"labelsIncrement");o([i],s.prototype,"onlyShowFirstAndLastLabels");var Le=[w,T,V,A,B,E,W,D,F];C(s,Le);return s},a,d,e,g,i,j,k,m,n,o)
2
+ import o from"./IQ3T72TK.js";import n from"./T5KLEUNC.js";import m from"./XAO2DW32.js";import k from"./PWNFUWUN.js";import"./THTYR6IL.js";import j from"./SCX3TUEG.js";import i from"./QN7MXGGV.js";import"./Y7HBWU3M.js";import g from"./AH2UFHXP.js";import e from"./LNRU4KNE.js";import d from"./V2H2UI2W.js";import"./WNKDEOFZ.js";import a from"./DG2OI6R3.js";import"./EZV7JSQJ.js";import"./3TBK72EK.js";import{E as p,O as v,X as l,ga as h,na as _}from"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./IHHPUKGG.js";import"./RIM4HLHN.js";import"./KDJ5RVHA.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import{a as c,b as f,s as b}from"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([{sb:S},{b:I,q:C},,{c:i},,L,{b:B,d:E,f:W},{b:w,d:V,f:D},{d:T,e:A},F])=>{var M=t=>t.axes[0].needle?.visible??!0,P=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.visible=t},$=t=>t.axes[0].needle?.symbol,G=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.symbol=t},j=t=>t.axes[0].needle?.startWidth,q=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.startWidth=t},O=t=>t.axes[0].needle?.endWidth,N=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.endWidth=t},J=t=>t.axes[0].needle?.innerRadius,K=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.innerRadius=t},z=t=>t.axes[0].needle?.displayPin??!1,H=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=l()),e.axes[0].needle.displayPin=t},Q=t=>t.axes[0].innerLabel?.visible??!0,U=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=p()),e.axes[0].innerLabel.visible=t},X=t=>t.axes[0].innerLabel?.content,Y=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=p()),t!==void 0&&(e.axes[0].innerLabel.content=t)},Z=t=>t.axes[0].progressBands?.visible??!0,ee=(t,e)=>{e.axes[0].progressBands===void 0&&(e.axes[0].progressBands={type:c.FixedProgressBands}),e.axes[0].progressBands.visible=t},te=t=>t.axes[0].progressBands,ne=(t,e)=>{t===void 0?delete e.axes[0].progressBands:e.axes[0].progressBands=t},se=t=>t.axes[0].ticks?.visible??!0,ie=(t,e)=>{e.axes[0].ticks===void 0&&(e.axes[0].ticks={type:c.GaugeAxisTick}),e.axes[0].ticks.visible=t},oe=t=>t.axes[0].labelsIncrement,re=(t,e)=>{e.axes[0].labelsIncrement=t},ae=t=>t.axes[0].onlyShowFirstAndLastLabels??!1,ge=(t,e)=>{e.axes[0].onlyShowFirstAndLastLabels=t},le=t=>t.series[0]?.valueConversion,de=(t,e)=>{e.series[0]!==void 0&&(e.series[0].valueConversion=t)},k=t=>t.series[0]?.featureIndex,R=t=>{let{featureIndex:e,config:n,layerInfo:a,commonStrings:r}=t,g=x(n),d=u(n);e===null?delete n.series[0].featureIndex:n.series[0]!==void 0&&(n.series[0].featureIndex=e),y({config:n,layerInfo:a,field:g,aggregationType:d,commonStrings:r})},ce=t=>t.subType??b.StatisticGauge,fe=t=>{let{config:e,field:n,aggregationType:a}=t;if(a!==f.NoAggregation){let r=k(e),g=m(r)?{}:{outStatistics:[{statisticType:a,onStatisticField:n,outStatisticFieldName:`${a}_${n}`}]};e.series[0].query=g}},pe=t=>{let{config:e,layerInfo:n,commonStrings:a,field:r,aggregationType:g}=t;e.title&&(e.title.content.text=I({config:e,layerInfo:n,commonStrings:a,numericFields:[r],aggregationType:g}))},y=t=>{let{config:e,field:n,aggregationType:a}=t;e.series[0]===void 0&&(e.series=[h({})]);let r=m(e.series[0]?.featureIndex),g=r?n:`${a}_${n}`;r&&n.startsWith(`${a}_`)&&(g=n.replace(`${a}_`,"")),e.series[0].x=g,fe({config:e,field:n,aggregationType:a}),pe(t)},u=t=>t.series[0]?.query?.outStatistics?.[0]?.statisticType??f.Count,he=t=>{let{config:e,layerInfo:n,commonStrings:a,aggregationType:r}=t,g=x(e);y({config:e,layerInfo:n,commonStrings:a,field:g,aggregationType:r})},m=t=>typeof t=="number"&&t>=0,x=t=>m(t.series[0]?.featureIndex)?t.series[0]?.x:t.series[0]?.query?.outStatistics?.[0]?.onStatisticField??"",ye=t=>{let{field:e,config:n,layerInfo:a,commonStrings:r}=t,g=u(n);y({config:n,layerInfo:a,commonStrings:r,field:e,aggregationType:g})},ue=t=>t.innerRadius??50,me=(t,e)=>{e.innerRadius=t},xe=t=>t.startAngle??-90,be=(t,e)=>{e.startAngle=t},ve=t=>t.endAngle??270,_e=(t,e)=>{e.endAngle=t};function Se(t){return v(t)}var Ie=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,o=(t,e,n,a)=>{for(var r=Ce(e,n),g=t.length-1,d;g>=0;g--)(d=t[g])&&(r=d(e,n,r)||r);return r&&Ie(e,n,r),r},s=class extends L{constructor(){super(...arguments),this._chartType=c.GaugeSeries}generateChartTitle(){return Se(this.commonStrings)}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get field(){return x(this._config)}set field(e){ye({field:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get aggregationType(){return u(this._config)}set aggregationType(e){he({aggregationType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get innerRadius(){return ue(this._config)}set innerRadius(e){me(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get startAngle(){return xe(this._config)}set startAngle(e){be(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get endAngle(){return ve(this._config)}set endAngle(e){_e(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get valueConversion(){return le(this._config)}set valueConversion(e){de(e,this._config)}get featureIndex(){return k(this._config)}set featureIndex(e){R({featureIndex:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}removeFeatureIndex(){R({featureIndex:null,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get gaugeSubType(){return ce(this._config)}get needleVisibility(){return M(this._config)}set needleVisibility(e){P(e,this._config)}get needleSymbol(){return $(this._config)}set needleSymbol(e){G(e,this._config)}get needleStartWidth(){return j(this._config)}set needleStartWidth(e){q(e,this._config)}get needleEndWidth(){return O(this._config)}set needleEndWidth(e){N(e,this._config)}get needleInnerRadius(){return J(this._config)}set needleInnerRadius(e){K(e,this._config)}get needleDisplayPin(){return z(this._config)}set needleDisplayPin(e){H(e,this._config)}get innerLabelVisible(){return Q(this._config)}set innerLabelVisible(e){U(e,this._config)}get innerLabelContent(){return X(this._config)}set innerLabelContent(e){Y(e,this._config)}get progressBandsVisibility(){return Z(this._config)}set progressBandsVisibility(e){ee(e,this._config)}get progressBands(){return te(this._config)}set progressBands(e){ne(e,this._config)}get axisTickVisibility(){return se(this._config)}set axisTickVisibility(e){ie(e,this._config)}get labelsIncrement(){return oe(this._config)}set labelsIncrement(e){re(e,this._config)}get onlyShowFirstAndLastLabels(){return ae(this._config)}set onlyShowFirstAndLastLabels(e){ge(e,this._config)}generateDefaultConfig(){let e=_(this.commonStrings);return e.series=[h({objectIDField:S(this.layerInfo.layer).idField})],e}};o([i],s.prototype,"field");o([i],s.prototype,"aggregationType");o([i],s.prototype,"innerRadius");o([i],s.prototype,"startAngle");o([i],s.prototype,"endAngle");o([i],s.prototype,"valueConversion");o([i],s.prototype,"featureIndex");o([i],s.prototype,"removeFeatureIndex");o([i],s.prototype,"needleVisibility");o([i],s.prototype,"needleSymbol");o([i],s.prototype,"needleStartWidth");o([i],s.prototype,"needleEndWidth");o([i],s.prototype,"needleInnerRadius");o([i],s.prototype,"needleDisplayPin");o([i],s.prototype,"innerLabelVisible");o([i],s.prototype,"innerLabelContent");o([i],s.prototype,"progressBandsVisibility");o([i],s.prototype,"progressBands");o([i],s.prototype,"axisTickVisibility");o([i],s.prototype,"labelsIncrement");o([i],s.prototype,"onlyShowFirstAndLastLabels");var Le=[w,T,V,A,B,E,W,D,F];C(s,Le);return s},a,d,e,g,i,j,k,m,n,o)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import g from"./MF3FGXHI.js";import e from"./26FWESH3.js";import c from"./2K4ODNJ4.js";import{c as T}from"./Y7HBWU3M.js";import b from"./JHYH555K.js";import{h as O,p as te}from"./WNKDEOFZ.js";import a from"./5FMEOIBS.js";import{n as B}from"./LRNADJJG.js";import{Da as K,F as J,G as oe,H as ie,P as D,Q as G,_ as re,ca as H,n as E,p as I}from"./PAIRUVLU.js";import{a as ee}from"./KX7KGXKQ.js";import{d as $,g as j,k as U,l as W}from"./SP2IPHWF.js";import{b as d}from"./QP5UAIC6.js";import{a as f,h,v as u}from"./547RDEMV.js";export default $arcgis.t(([{substitute:P},{O:M,S:se,ec:le,ub:ne,wb:R},{a:L,d:X,e:Y,f:ae,n:ce,r:ye},{a:me},{b:C},{i:N}])=>{var Ue=(o,e)=>e?.series?.[o]?.name,We=(o,e,i)=>{let r=i;r?.series?.[e]!==void 0&&(r.series[e].name=o)},eo=(o,e)=>{let i,r=e.series?.[o];return r?.type===f.BoxPlotSeries?i=r.fillSymbol?.color:r?.type===f.LineSeries&&(i=r.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},Ie=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},oo=(o,e,i)=>{let r=i?.series?.[e];r?.type===f.BoxPlotSeries&&r.fillSymbol!==void 0?r.fillSymbol.color=o:r?.type===f.LineSeries&&r.lineSymbol!==void 0&&(r.lineSymbol.color=o,r.markerSymbol!==void 0&&(r.markerSymbol.color=o))},ve=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,r)=>o.findIndex(s=>i.id===s)-o.findIndex(s=>r.id===s))},io=(o,e,i)=>{let r=ve(i),[s]=r.splice(o,1);r.splice(e,0,s),Be(r,i)},ro=o=>Z(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let r=be(o,e,i),s=me(o),n=C(o);return r===s||n}function de(o,e,i){let r=k(o,e,i),s=T(1,o),n=C(o);return r===s||n}function Me(o){let{config:e,layerInfo:i,newCategory:r}=o,{layerFieldsInfo:s}=i,n=A(e),t=r!==I?B(s,n):"",l=T(0,e),a=C(e);return t===l||a||l.trim()===""}var A=o=>M(o)?.x??I,Oe=$(o=>{let e=M(o),i=e?.query?.where?.split("=")[0].trim()??"";return se(e?.query?.where)?"":i},o=>M(o)?.query?.where),fe=$(o=>le(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...H(s,i),x:e===void 0||e===""?I:e,y:r,query:{}};return j(n)},Le=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...re({commonStrings:s,seriesIndex:i}),x:e===void 0||e===""?I:e,y:r,query:{}};return j(n)};function ge(o){let{x:e,y:i,seriesTemplate:r,commonStrings:s}=o,{id:n,fillSymbol:t}=r??{},l=H(s),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=K,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=K)),l}function ue(o){let{numericFields:e,config:i,layerInfo:r,category:s,commonStrings:n}=o,{layerFieldsInfo:t}=r,l=[],a=s??A(i),y=!1,c=N({fieldName:a,numericFields:e,fieldList:t});if(e.length===0){let S=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(S)}else if(c){let S=e.length>1?e:e[0],w=V({y:S,seriesIndex:0,category:a,commonStrings:n}),b=e.length>1?n.axisLabels.values:B(r.layerFieldsInfo,e[0]),p={...w,id:e[0],name:b,x:c?I:a},g=i.series.find(m=>W(S,m.y)&&m.query?.where===void 0);g!==void 0&&(!i.colorMatch&&"fillSymbol"in g&&(p.fillSymbol=g.fillSymbol,y=!0),p.id=g.id,p.name=g.name),l.push(p)}else for(let S=0;S<e.length;S+=1){let w=e[S],b=V({y:w,seriesIndex:S,category:a,commonStrings:n}),p=B(t,w),g={...b,id:w,name:p,x:a},m=i.series.find(v=>w===v.y);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",Ce=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function ke(o,e,i){let r=[];return o.forEach(s=>{if(s.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=s;r.push({...l,type:f.LineSeries,lineSymbol:{...J({width:E}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...G(),...t!==void 0?{color:t.color}:{}}})}}),r.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),r}function qe(o){let e=o.slice(1),i=[];return e.forEach(r=>{if(r.type===f.LineSeries){let{type:s,lineSymbol:n,markerSymbol:t,...l}=r,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:r}=o,s=i,n=a=>a.type===(r?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(s=s.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),s}async function De(o){let{config:e,layerInfo:i,commonStrings:r,splitByField:s,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=M(e)?.query??{},c=t??A(e),{categoriesArray:S,splitByFieldType:w}=await ce({config:e,layer:l,layerFieldsInfo:a,xAxisField:_(c)?void 0:c,aggregationFields:n,splitByField:s,fetchNullValues:y,errorStrings:r.errorStrings}),b=[],p=!1,g=Ce(e);if(S.length===0){b=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:r});for(let m of b)m.query&&(m.query.where=`${s}=''`)}else for(let m=0;m<S.length;m+=1){let v=S[m],q={y:n,seriesIndex:m,category:c,commonStrings:r},Q=g?Le(q):V(q),he=R({queryObject:i.layer,fieldName:s,fieldValue:v??""}),z=`${v}`,F={...Q,id:z,name:he??z,x:c===void 0||c===""?I:c,query:{...Q.query,where:`${s}=${w===ee.String&&v!==null?`'${v}'`:v}`}},x=e.series.find(we=>Se(we)===z);x!==void 0&&(e.colorMatch||(F.type===f.BoxPlotSeries?O(x)?F.fillSymbol=x.fillSymbol:F.fillSymbol={...D(),color:x.lineSymbol?.color}:O(x)?(F.lineSymbol={...J({width:E}),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}},F.markerSymbol={...G(),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}}):(F.lineSymbol=x.lineSymbol,F.markerSymbol=x.markerSymbol),p=!0),F.id=x.id,F.name=x.name),b.push(F)}if(b=pe({formerSeries:e.series,newSeries:b,showMean:Z(e)}),e.colorMatch=!p,Z(e)){let m=e.series.find(q=>q.type===f.BoxPlotSeries),v=ge({x:c,y:n,seriesTemplate:m,commonStrings:r});b.unshift(v)}return b}var so=async o=>{let{splitByField:e,numericFields:i,category:r,config:s,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ve(r,i,e),y=ne(l),c=A(s),S=Ae(s,n,t),w=de(s,n,t),b=Me({config:s,layerInfo:n,newCategory:r}),p=Y(s);if(!y.includes(c)&&y.includes(r)?p=ie():y.includes(c)&&!y.includes(r)&&(p=oe()),p!==void 0&&ae(s,t,p),Ne(a?{newShowMeanLines:s.showMean,config:s,commonStrings:t}:{newShowMeanLines:!1,config:s,commonStrings:t}),s.series=a?await De({config:s,layerInfo:n,splitByField:e,numericFields:i,category:r,commonStrings:t}):ue({numericFields:i,config:s,layerInfo:n,category:r,commonStrings:t}),b){let g=N({fieldName:r,numericFields:i,fieldList:l})?"":B(l,r);L(s,0,g)}if(w){let g=k(s,n,t);L(s,1,g)}s?.title!==void 0&&S&&(s.title.content.text=be(s,n,t)),X({config:s,value:null,axisIndex:1,isMax:!1}),X({config:s,value:null,axisIndex:1,isMax:!0})},Te=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:r}=e,s=Te(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(s=B(r,n[0])),s}function be(o,e,i){let{layerFieldsInfo:r}=e,s=A(o),n=fe(o),t=Oe(o),l=n.map(c=>B(r??[],c)).join(", "),a=B(r??[],s),y="";return n.length>0&&(s!==I&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):s!==I?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var no=o=>{let{series:e,splitByField:i,layerInfo:r,commonStrings:s}=o,n=typeof e.y=="string"?B(r.layerFieldsInfo,e.y):s.axisLabels.values;return U(i)||(n=Se(e)),n=R({queryObject:r.layer,fieldName:i,fieldValue:n??""})??n,n??e.id},lo=o=>o?.showOutliers??!1,to=o=>{let{newShowOutliers:e,config:i,layerInfo:r,commonStrings:s}=o;if(i.showOutliers=e,de(i,r,s)){let n=k(i,r,s);L(i,1,n)}},ao=o=>{let{newStandardizeValues:e,config:i,layerInfo:r,commonStrings:s}=o,n=T(1,i),t=k(i,r,s),l=C(i);if(i.standardizeValues=e,n===t||l){let a=k(i,r,s);L(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,r=o.orderOptions?.data&&"orderBy"in o.orderOptions.data?o.orderOptions.data.orderBy:h.Ascending;switch(i){case u.Category:e=Array.isArray(r)?d.customSort:r===h.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=r===h.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=r===h.Ascending?d.medianAsc:d.medianDesc;break}return e},co=(o,e,i)=>{let r=u.Category,s=h.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{r=u.Category,s=h.Ascending;break}case d.xAxisDesc:{r=u.Category,s=h.Descending;break}case d.meanAsc:{r=u.Mean,s=h.Ascending;break}case d.meanDesc:{r=u.Mean,s=h.Descending;break}case d.medianAsc:{r=u.Median,s=h.Ascending;break}case d.medianDesc:{r=u.Median,s=h.Descending;break}}e.orderOptions.data={orderType:r,orderBy:s}}},Z=o=>o.showMean??!1,Ne=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:r,previousMeanLinesBoxColor:s}=o,n=e?s:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?ke(i.series,r):i.series:l=qe(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&s!==void 0&&Ie(s,i),{previousMeanLinesBoxColor:n}},yo=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},mo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},fo=async o=>{let{config:e,layerInfo:i,errorStrings:r}=o,s=A(e),n=Y(e)?.type,t=fe(e),l=[];return n===f.CategoryAxisFormat&&(N({fieldName:s,numericFields:t,fieldList:i.layerFieldsInfo})?l=t:_(s)||(l=await ye({layerInfo:i,config:e,category:s,errorStrings:r}))),l},_=o=>o.trim()===""||o===I,Pe=(o,e)=>e.length>1&&!_(o),Ve=(o,e,i)=>!Pe(o,e)&&i!=="";return{a:Ue,b:We,c:eo,d:Fe,e:Ie,f:oo,g:ve,h:Be,i:io,j:ro,k:A,l:Oe,m:fe,n:so,o:Te,p:k,q:be,r:no,s:lo,t:to,u:ao,v:xe,w:co,x:Z,y:Ne,z:yo,A:mo,B:fo,C:Pe,D:Ve}},"intl",a,b,c,e,g)
2
+ import g from"./QKL4PXPG.js";import e from"./RGFQCA4L.js";import c from"./QN7MXGGV.js";import{c as T}from"./Y7HBWU3M.js";import b from"./V2H2UI2W.js";import{h as O,p as te}from"./WNKDEOFZ.js";import a from"./DG2OI6R3.js";import{n as B}from"./3TBK72EK.js";import{Da as K,F as J,G as oe,H as ie,P as D,Q as G,_ as re,ca as H,n as E,p as I}from"./PAIRUVLU.js";import{a as ee}from"./KX7KGXKQ.js";import{d as $,g as j,k as U,l as W}from"./SP2IPHWF.js";import{b as d}from"./QP5UAIC6.js";import{a as f,h,v as u}from"./547RDEMV.js";export default $arcgis.t(([{substitute:P},{Ab:R,P:M,T:se,jc:le,yb:ne},{a:L,d:X,e:Y,f:ae,n:ce,r:ye},{a:me},{b:C},{i:N}])=>{var Ue=(o,e)=>e?.series?.[o]?.name,We=(o,e,i)=>{let r=i;r?.series?.[e]!==void 0&&(r.series[e].name=o)},eo=(o,e)=>{let i,r=e.series?.[o];return r?.type===f.BoxPlotSeries?i=r.fillSymbol?.color:r?.type===f.LineSeries&&(i=r.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},Ie=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},oo=(o,e,i)=>{let r=i?.series?.[e];r?.type===f.BoxPlotSeries&&r.fillSymbol!==void 0?r.fillSymbol.color=o:r?.type===f.LineSeries&&r.lineSymbol!==void 0&&(r.lineSymbol.color=o,r.markerSymbol!==void 0&&(r.markerSymbol.color=o))},ve=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,r)=>o.findIndex(s=>i.id===s)-o.findIndex(s=>r.id===s))},io=(o,e,i)=>{let r=ve(i),[s]=r.splice(o,1);r.splice(e,0,s),Be(r,i)},ro=o=>Z(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let r=be(o,e,i),s=me(o),n=C(o);return r===s||n}function de(o,e,i){let r=k(o,e,i),s=T(1,o),n=C(o);return r===s||n}function Me(o){let{config:e,layerInfo:i,newCategory:r}=o,{layerFieldsInfo:s}=i,n=A(e),t=r!==I?B(s,n):"",l=T(0,e),a=C(e);return t===l||a||l.trim()===""}var A=o=>M(o)?.x??I,Oe=$(o=>{let e=M(o),i=e?.query?.where?.split("=")[0].trim()??"";return se(e?.query?.where)?"":i},o=>M(o)?.query?.where),fe=$(o=>le(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...H(s,i),x:e===void 0||e===""?I:e,y:r,query:{}};return j(n)},Le=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...re({commonStrings:s,seriesIndex:i}),x:e===void 0||e===""?I:e,y:r,query:{}};return j(n)};function ge(o){let{x:e,y:i,seriesTemplate:r,commonStrings:s}=o,{id:n,fillSymbol:t}=r??{},l=H(s),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=K,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=K)),l}function ue(o){let{numericFields:e,config:i,layerInfo:r,category:s,commonStrings:n}=o,{layerFieldsInfo:t}=r,l=[],a=s??A(i),y=!1,c=N({fieldName:a,numericFields:e,fieldList:t});if(e.length===0){let S=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(S)}else if(c){let S=e.length>1?e:e[0],w=V({y:S,seriesIndex:0,category:a,commonStrings:n}),b=e.length>1?n.axisLabels.values:B(r.layerFieldsInfo,e[0]),p={...w,id:e[0],name:b,x:c?I:a},g=i.series.find(m=>W(S,m.y)&&m.query?.where===void 0);g!==void 0&&(!i.colorMatch&&"fillSymbol"in g&&(p.fillSymbol=g.fillSymbol,y=!0),p.id=g.id,p.name=g.name),l.push(p)}else for(let S=0;S<e.length;S+=1){let w=e[S],b=V({y:w,seriesIndex:S,category:a,commonStrings:n}),p=B(t,w),g={...b,id:w,name:p,x:a},m=i.series.find(v=>w===v.y);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",Ce=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function ke(o,e,i){let r=[];return o.forEach(s=>{if(s.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=s;r.push({...l,type:f.LineSeries,lineSymbol:{...J({width:E}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...G(),...t!==void 0?{color:t.color}:{}}})}}),r.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),r}function qe(o){let e=o.slice(1),i=[];return e.forEach(r=>{if(r.type===f.LineSeries){let{type:s,lineSymbol:n,markerSymbol:t,...l}=r,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:r}=o,s=i,n=a=>a.type===(r?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(s=s.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),s}async function De(o){let{config:e,layerInfo:i,commonStrings:r,splitByField:s,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=M(e)?.query??{},c=t??A(e),{categoriesArray:S,splitByFieldType:w}=await ce({config:e,layer:l,layerFieldsInfo:a,xAxisField:_(c)?void 0:c,aggregationFields:n,splitByField:s,fetchNullValues:y,errorStrings:r.errorStrings}),b=[],p=!1,g=Ce(e);if(S.length===0){b=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:r});for(let m of b)m.query&&(m.query.where=`${s}=''`)}else for(let m=0;m<S.length;m+=1){let v=S[m],q={y:n,seriesIndex:m,category:c,commonStrings:r},Q=g?Le(q):V(q),he=R({queryObject:i.layer,fieldName:s,fieldValue:v??""}),z=`${v}`,F={...Q,id:z,name:he??z,x:c===void 0||c===""?I:c,query:{...Q.query,where:`${s}=${w===ee.String&&v!==null?`'${v}'`:v}`}},x=e.series.find(we=>Se(we)===z);x!==void 0&&(e.colorMatch||(F.type===f.BoxPlotSeries?O(x)?F.fillSymbol=x.fillSymbol:F.fillSymbol={...D(),color:x.lineSymbol?.color}:O(x)?(F.lineSymbol={...J({width:E}),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}},F.markerSymbol={...G(),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}}):(F.lineSymbol=x.lineSymbol,F.markerSymbol=x.markerSymbol),p=!0),F.id=x.id,F.name=x.name),b.push(F)}if(b=pe({formerSeries:e.series,newSeries:b,showMean:Z(e)}),e.colorMatch=!p,Z(e)){let m=e.series.find(q=>q.type===f.BoxPlotSeries),v=ge({x:c,y:n,seriesTemplate:m,commonStrings:r});b.unshift(v)}return b}var so=async o=>{let{splitByField:e,numericFields:i,category:r,config:s,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ve(r,i,e),y=ne(l),c=A(s),S=Ae(s,n,t),w=de(s,n,t),b=Me({config:s,layerInfo:n,newCategory:r}),p=Y(s);if(!y.includes(c)&&y.includes(r)?p=ie():y.includes(c)&&!y.includes(r)&&(p=oe()),p!==void 0&&ae(s,t,p),Ne(a?{newShowMeanLines:s.showMean,config:s,commonStrings:t}:{newShowMeanLines:!1,config:s,commonStrings:t}),s.series=a?await De({config:s,layerInfo:n,splitByField:e,numericFields:i,category:r,commonStrings:t}):ue({numericFields:i,config:s,layerInfo:n,category:r,commonStrings:t}),b){let g=N({fieldName:r,numericFields:i,fieldList:l})?"":B(l,r);L(s,0,g)}if(w){let g=k(s,n,t);L(s,1,g)}s?.title!==void 0&&S&&(s.title.content.text=be(s,n,t)),X({config:s,value:null,axisIndex:1,isMax:!1}),X({config:s,value:null,axisIndex:1,isMax:!0})},Te=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:r}=e,s=Te(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(s=B(r,n[0])),s}function be(o,e,i){let{layerFieldsInfo:r}=e,s=A(o),n=fe(o),t=Oe(o),l=n.map(c=>B(r??[],c)).join(", "),a=B(r??[],s),y="";return n.length>0&&(s!==I&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):s!==I?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var no=o=>{let{series:e,splitByField:i,layerInfo:r,commonStrings:s}=o,n=typeof e.y=="string"?B(r.layerFieldsInfo,e.y):s.axisLabels.values;return U(i)||(n=Se(e)),n=R({queryObject:r.layer,fieldName:i,fieldValue:n??""})??n,n??e.id},lo=o=>o?.showOutliers??!1,to=o=>{let{newShowOutliers:e,config:i,layerInfo:r,commonStrings:s}=o;if(i.showOutliers=e,de(i,r,s)){let n=k(i,r,s);L(i,1,n)}},ao=o=>{let{newStandardizeValues:e,config:i,layerInfo:r,commonStrings:s}=o,n=T(1,i),t=k(i,r,s),l=C(i);if(i.standardizeValues=e,n===t||l){let a=k(i,r,s);L(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,r=o.orderOptions?.data&&"orderBy"in o.orderOptions.data?o.orderOptions.data.orderBy:h.Ascending;switch(i){case u.Category:e=Array.isArray(r)?d.customSort:r===h.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=r===h.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=r===h.Ascending?d.medianAsc:d.medianDesc;break}return e},co=(o,e,i)=>{let r=u.Category,s=h.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{r=u.Category,s=h.Ascending;break}case d.xAxisDesc:{r=u.Category,s=h.Descending;break}case d.meanAsc:{r=u.Mean,s=h.Ascending;break}case d.meanDesc:{r=u.Mean,s=h.Descending;break}case d.medianAsc:{r=u.Median,s=h.Ascending;break}case d.medianDesc:{r=u.Median,s=h.Descending;break}}e.orderOptions.data={orderType:r,orderBy:s}}},Z=o=>o.showMean??!1,Ne=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:r,previousMeanLinesBoxColor:s}=o,n=e?s:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?ke(i.series,r):i.series:l=qe(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&s!==void 0&&Ie(s,i),{previousMeanLinesBoxColor:n}},yo=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},mo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},fo=async o=>{let{config:e,layerInfo:i,errorStrings:r}=o,s=A(e),n=Y(e)?.type,t=fe(e),l=[];return n===f.CategoryAxisFormat&&(N({fieldName:s,numericFields:t,fieldList:i.layerFieldsInfo})?l=t:_(s)||(l=await ye({layerInfo:i,config:e,category:s,errorStrings:r}))),l},_=o=>o.trim()===""||o===I,Pe=(o,e)=>e.length>1&&!_(o),Ve=(o,e,i)=>!Pe(o,e)&&i!=="";return{a:Ue,b:We,c:eo,d:Fe,e:Ie,f:oo,g:ve,h:Be,i:io,j:ro,k:A,l:Oe,m:fe,n:so,o:Te,p:k,q:be,r:no,s:lo,t:to,u:ao,v:xe,w:co,x:Z,y:Ne,z:yo,A:mo,B:fo,C:Pe,D:Ve}},"intl",a,b,c,e,g)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{f as p,h as T,i as y,j as m,k as A}from"./THTYR6IL.js";import{c as h,d as u,e as g,f as d}from"./Y7HBWU3M.js";import a from"./N5ERJZPG.js";import{n as o}from"./LRNADJJG.js";import{p as f}from"./PAIRUVLU.js";export default $arcgis.t(([{b:a,c:x}])=>{var P=Object.defineProperty,j=Object.getOwnPropertyDescriptor,O=(i,t,e,v)=>{for(var s=j(t,e),r=i.length-1,n;r>=0;r--)(n=i[r])&&(s=n(t,e,s)||s);return s&&P(t,e,s),s};function k(i){return i!==void 0&&"xAxisTitleText"in i}var l=class extends a{get xAxisTitleText(){return h(0,this._config)}set xAxisTitleText(t){u(t,0,this._config)}};O([x],l.prototype,"xAxisTitleText");var _=Object.defineProperty,C=Object.getOwnPropertyDescriptor,V=(i,t,e,v)=>{for(var s=C(t,e),r=i.length-1,n;r>=0;r--)(n=i[r])&&(s=n(t,e,s)||s);return s&&_(t,e,s),s};function w(i){return i!==void 0&&"xAxisTitleVisibility"in i}var c=class extends a{get xAxisTitleVisibility(){return g(0,this._config)}set xAxisTitleVisibility(t){d(t,0,this._config)}};V([x],c.prototype,"xAxisTitleVisibility");function B(i){return i!==void 0&&"generateXAxisTitle"in i}var b=class extends a{generateXAxisTitle(){let t=this.layerInfo?.layerFieldsInfo;if(t===void 0)return"";if(y(this)||p(this))return o(t,this.xAxisField);if(T(this))return this.category!==f?o(t,this.category):"";if(m(this))return o(t,this.numericField);if(A(this)){let e=this.xTemporalBinning?.unit;return e!==void 0?this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[e]:""}return""}};return{a:k,b:l,c:w,d:c,e:B,f:b}},a)
2
+ import{f as p,h as T,i as y,j as m,k as A}from"./THTYR6IL.js";import{c as h,d as u,e as g,f as d}from"./Y7HBWU3M.js";import a from"./AH2UFHXP.js";import{n as o}from"./3TBK72EK.js";import{p as f}from"./PAIRUVLU.js";export default $arcgis.t(([{b:a,c:x}])=>{var P=Object.defineProperty,j=Object.getOwnPropertyDescriptor,O=(i,t,e,v)=>{for(var s=j(t,e),r=i.length-1,n;r>=0;r--)(n=i[r])&&(s=n(t,e,s)||s);return s&&P(t,e,s),s};function k(i){return i!==void 0&&"xAxisTitleText"in i}var l=class extends a{get xAxisTitleText(){return h(0,this._config)}set xAxisTitleText(t){u(t,0,this._config)}};O([x],l.prototype,"xAxisTitleText");var _=Object.defineProperty,C=Object.getOwnPropertyDescriptor,V=(i,t,e,v)=>{for(var s=C(t,e),r=i.length-1,n;r>=0;r--)(n=i[r])&&(s=n(t,e,s)||s);return s&&_(t,e,s),s};function w(i){return i!==void 0&&"xAxisTitleVisibility"in i}var c=class extends a{get xAxisTitleVisibility(){return g(0,this._config)}set xAxisTitleVisibility(t){d(t,0,this._config)}};V([x],c.prototype,"xAxisTitleVisibility");function B(i){return i!==void 0&&"generateXAxisTitle"in i}var b=class extends a{generateXAxisTitle(){let t=this.layerInfo?.layerFieldsInfo;if(t===void 0)return"";if(y(this)||p(this))return o(t,this.xAxisField);if(T(this))return this.category!==f?o(t,this.category):"";if(m(this))return o(t,this.numericField);if(A(this)){let e=this.xTemporalBinning?.unit;return e!==void 0?this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[e]:""}return""}};return{a:k,b:l,c:w,d:c,e:B,f:b}},a)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as f}from"./IHO3OLL3.js";import{a as v}from"./JHANH4UG.js";import{i as g}from"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./IHHPUKGG.js";import{A as m,B as d,C as s,H as C,g as n,i as p,n as i,z as h}from"./RIM4HLHN.js";import"./547RDEMV.js";import"./U67P6YAZ.js";var u={panelChildrenContainer:"panel-children-container"},$=n`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`,o=class extends d{constructor(){super(...arguments),this._messages=v(),this.popoverElement=h(),this.selectedSliceId="",this.open=!1,this.arcgisChartsConfigPopoverClose=i(),this.arcgisChartsConfigSlicesPopoverColorChange=i(),this.arcgisChartsConfigSlicesPopoverNameChange=i()}static{this.properties={messageOverrides:0,referenceElement:0,selectedName:1,selectedColor:0,selectedSliceId:1,placement:1,open:5}}static{this.styles=$}async reposition(){await this.popoverElement.value?.reposition()}updated(){f(this.popoverElement.value,this.open)}sliceNameChange(e){let t=e.target.value;this.selectedName!==t&&(this.selectedName=t,this.arcgisChartsConfigSlicesPopoverNameChange.emit({name:t}))}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit({selectedSliceId:this.selectedSliceId})}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[a,l,r]=t,c=g*255;this.selectedColor=[a,l,r,c],this.arcgisChartsConfigSlicesPopoverColorChange.emit({color:[a,l,r,c]})}render(){let e=this.selectedColor!==void 0?[...this.selectedColor]:void 0;return p`<div><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel .heading=${this._messages.sliceStyle} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${s(u.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.sliceNameChange}></calcite-input></calcite-label></div><div class=${s(u.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`}};C("arcgis-charts-config-pie-chart-slices-popover",o);export{o as ArcgisChartsConfigPieChartSlicesPopover};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import q from"./RAQZUMC6.js";import p from"./PVJEBBA7.js";import o from"./YRBE7MBU.js";import n from"./26FWESH3.js";import l from"./U4XLNCOU.js";import k from"./PZGIXDMC.js";import j from"./KI4HS3AM.js";import i from"./5G7DSKI7.js";import"./THTYR6IL.js";import h from"./ZRZEKOEF.js";import g from"./2K4ODNJ4.js";import{c as I}from"./Y7HBWU3M.js";import e from"./N5ERJZPG.js";import d from"./CJ4POAPM.js";import c from"./JHYH555K.js";import"./WNKDEOFZ.js";import a from"./5FMEOIBS.js";import"./EZV7JSQJ.js";import{n as f}from"./LRNADJJG.js";import{T as _,U as m,oa as A}from"./PAIRUVLU.js";import"./KX7KGXKQ.js";import{k as y,l as F}from"./SP2IPHWF.js";import"./NZR4L5AA.js";import"./KDJ5RVHA.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import{a as b}from"./547RDEMV.js";import"./CHQDKVVQ.js";import"./U67P6YAZ.js";export default $arcgis.t(([{substitute:te},{tb:L},{a:v,d:p,g:C,q:M},,{c:d},{a:P},w,{b:G,d:H,f:J},{b:j,d:q,f:B},{d:W,e:Y},X,{b:g},{b:K},{a:z,b:E,c:O,d:k},{a:D,b:N}])=>{var R=s=>{p({config:s,value:null,axisIndex:0,isMax:!1}),p({config:s,value:null,axisIndex:0,isMax:!0}),p({config:s,value:null,axisIndex:1,isMax:!1}),p({config:s,value:null,axisIndex:1,isMax:!0})},U=s=>{let{name:e,axisIndex:i,config:t,layerInfo:r}=s,{layerFieldsInfo:o}=r,n=o.find(x=>x.name===e),l=n!==void 0&&L(n);C(t,i,l)};function V(s,e,i){let t=T(s,e,i),r=P(s),o=g(s);return t===r||o}function Z(s,e){let{layerFieldsInfo:i}=e,t=f(i,h(s)),r=I(1,s),o=g(s);return t===r||o}function $(s,e){let{layerFieldsInfo:i}=e,t=u(s),r=f(i,t),o=I(0,s),n=g(s);return r===o||n}function T(s,e,i){let t=u(s),r=h(s),{layerFieldsInfo:o}=e,n=f(o,t),l=f(o,r);return te(i.titleLabels.xAndY,{x:n,y:l})}var ee=s=>{let{x:e,y:i,config:t,layerInfo:r,updateChartTitle:o,updateXAxisTitle:n,updateYAxisTitle:l,commonStrings:x}=s,{layerFieldsInfo:S}=r,se=f(S,e),ie=f(S,i);!y(e)&&n&&v(t,0,se),!y(i)&&l&&v(t,1,ie),!y(e)&&!y(i)&&t.title&&o&&(t.title.content.text=T(t,r,x))},u=s=>s.series[0]?.x??"",h=s=>s.series[0]?.y??"",re=s=>{let{fieldName:e,config:i,layerInfo:t,commonStrings:r}=s,o=V(i,t,r),n=$(i,t),l=Z(i,t);R(i),i.series[0]&&(i.series[0].x=e),ee({x:e,y:h(i),config:i,layerInfo:t,updateChartTitle:o,commonStrings:r,updateXAxisTitle:n,updateYAxisTitle:l}),U({name:e,axisIndex:0,config:i,layerInfo:t})},oe=s=>{let{fieldName:e,config:i,layerInfo:t,commonStrings:r}=s,o=V(i,t,r),n=$(i,t),l=Z(i,t);R(i),i.series[0]&&(i.series[0].y=e),ee({x:u(i),y:e,config:i,layerInfo:t,commonStrings:r,updateChartTitle:o,updateXAxisTitle:n,updateYAxisTitle:l}),U({name:e,axisIndex:1,config:i,layerInfo:t})},ne=s=>{let e={};return s.series[0]?.markerSymbol??e},ae=(s,e)=>{e.series[0]&&(e.series[0].markerSymbol=s)},le=s=>(s.series[0]?.overlays?.trendLine?.visible??!0)&&(s.series[0]?.overlays?.trendLine?.created??!1),de=s=>{let e={};return s.series[0]?.overlays?.trendLine?.symbol??e},fe=(s,e)=>{e.series[0].overlays??=m(),e.series[0].overlays.trendLine??=m().trendLine,e.series[0].overlays.trendLine.symbol=s},ce=(s,e)=>{e.series[0].overlays??=m(),e.series[0].overlays.trendLine??=m().trendLine,e.series[0].overlays.trendLine.visible=s},me=(s,e)=>{!(e.series[0]?.overlays?.trendLine?.created??!1)&&s&&(e.series[0].overlays??=m(),e.series[0].overlays.trendLine??=m().trendLine,e.series[0].overlays.trendLine.created=s),ce(s,e)},Q=s=>s.series[0]?.sizePolicy??_(),ye=(s,e)=>{e.series[0]&&(s!==void 0&&s.field?.trim()!==""?e.series[0].sizePolicy={...e.series[0].sizePolicy,...s}:e.series[0].sizePolicy=void 0)},pe=s=>s?.series?.[0]?.overlays,ge=(s,e)=>{e?.series[0]!==void 0&&(e.series[0].overlays=s)},ue=s=>s.series.find(e=>e.additionalTooltipFields!==void 0)?.additionalTooltipFields??[],he=(s,e)=>{e.series.forEach(i=>{Array.isArray(s)?i.additionalTooltipFields=s:typeof s=="string"?i.additionalTooltipFields=s.trim()===""?[]:[s]:i.additionalTooltipFields=[]})},xe=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,c=(s,e,i,t)=>{for(var r=ve(e,i),o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(e,i,r)||r);return r&&xe(e,i,r),r},a=class extends w{constructor(){super(...arguments),this._chartType=b.ScatterSeries}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get xAxisField(){return u(this._config)}set xAxisField(e){re({fieldName:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get yAxisField(){return h(this._config)}set yAxisField(e){oe({fieldName:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get showLinearTrend(){return le(this._config)}set showLinearTrend(e){me(e,this._config)}get linearTrendSymbol(){return de(this._config)}set linearTrendSymbol(e){fe(e,this._config)}get fixedMarkerSymbol(){return ne(this._config)}set fixedMarkerSymbol(e){ae(e,this._config)}get sizePolicy(){return Q(this._config)}set sizePolicy(e){let i=Q(this._config);F(i,e)||ye(e,this._config)}get seriesOverlays(){return pe(this._config)}set seriesOverlays(e){e!==void 0&&ge(e,this._config)}get additionalTooltipField(){return ue(this._config)}set additionalTooltipField(e){he(e,this._config)}generateChartTitle(){return T(this._config,this.layerInfo,this.commonStrings)}generateYAxisTitle(){let e=this.yAxisField;return f(this.layerInfo.layerFieldsInfo,e)}generateDefaultConfig(){return A(this.commonStrings)}};c([d],a.prototype,"xAxisField");c([d],a.prototype,"yAxisField");c([d],a.prototype,"showLinearTrend");c([d],a.prototype,"linearTrendSymbol");c([d],a.prototype,"fixedMarkerSymbol");c([d],a.prototype,"sizePolicy");c([d],a.prototype,"seriesOverlays");c([d],a.prototype,"additionalTooltipField");var Ie=[D,z,E,O,k,K,X,N,G,W,H,Y,j,q,B,J];M(a,Ie);return a},"intl",a,c,d,e,g,h,i,j,k,l,n,o,p,q)
2
+ import q from"./IQ3T72TK.js";import p from"./LYRIOMLM.js";import o from"./T5KLEUNC.js";import n from"./XAO2DW32.js";import l from"./PWNFUWUN.js";import"./THTYR6IL.js";import k from"./7532DIDI.js";import j from"./DSHN2EGI.js";import i from"./RGFQCA4L.js";import h from"./SCX3TUEG.js";import g from"./QN7MXGGV.js";import{c as I}from"./Y7HBWU3M.js";import e from"./AH2UFHXP.js";import d from"./LNRU4KNE.js";import c from"./V2H2UI2W.js";import"./WNKDEOFZ.js";import a from"./DG2OI6R3.js";import"./EZV7JSQJ.js";import{n as f}from"./3TBK72EK.js";import{T as _,U as m,oa as A}from"./PAIRUVLU.js";import"./KX7KGXKQ.js";import{k as y,l as F}from"./SP2IPHWF.js";import"./IHHPUKGG.js";import"./RIM4HLHN.js";import"./KDJ5RVHA.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import{a as b}from"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([{substitute:te},{xb:L},{a:v,d:p,g:C,q:M},,{c:d},{a:P},w,{b:g},{b:K},{a:z,b:E,c:O,d:k},{b:j,d:q,f:B},{b:G,d:H,f:J},{d:W,e:Y},{a:D,b:N},X])=>{var R=s=>{p({config:s,value:null,axisIndex:0,isMax:!1}),p({config:s,value:null,axisIndex:0,isMax:!0}),p({config:s,value:null,axisIndex:1,isMax:!1}),p({config:s,value:null,axisIndex:1,isMax:!0})},U=s=>{let{name:e,axisIndex:i,config:t,layerInfo:r}=s,{layerFieldsInfo:o}=r,n=o.find(x=>x.name===e),l=n!==void 0&&L(n);C(t,i,l)};function V(s,e,i){let t=T(s,e,i),r=P(s),o=g(s);return t===r||o}function Z(s,e){let{layerFieldsInfo:i}=e,t=f(i,h(s)),r=I(1,s),o=g(s);return t===r||o}function $(s,e){let{layerFieldsInfo:i}=e,t=u(s),r=f(i,t),o=I(0,s),n=g(s);return r===o||n}function T(s,e,i){let t=u(s),r=h(s),{layerFieldsInfo:o}=e,n=f(o,t),l=f(o,r);return te(i.titleLabels.xAndY,{x:n,y:l})}var ee=s=>{let{x:e,y:i,config:t,layerInfo:r,updateChartTitle:o,updateXAxisTitle:n,updateYAxisTitle:l,commonStrings:x}=s,{layerFieldsInfo:S}=r,se=f(S,e),ie=f(S,i);!y(e)&&n&&v(t,0,se),!y(i)&&l&&v(t,1,ie),!y(e)&&!y(i)&&t.title&&o&&(t.title.content.text=T(t,r,x))},u=s=>s.series[0]?.x??"",h=s=>s.series[0]?.y??"",re=s=>{let{fieldName:e,config:i,layerInfo:t,commonStrings:r}=s,o=V(i,t,r),n=$(i,t),l=Z(i,t);R(i),i.series[0]&&(i.series[0].x=e),ee({x:e,y:h(i),config:i,layerInfo:t,updateChartTitle:o,commonStrings:r,updateXAxisTitle:n,updateYAxisTitle:l}),U({name:e,axisIndex:0,config:i,layerInfo:t})},oe=s=>{let{fieldName:e,config:i,layerInfo:t,commonStrings:r}=s,o=V(i,t,r),n=$(i,t),l=Z(i,t);R(i),i.series[0]&&(i.series[0].y=e),ee({x:u(i),y:e,config:i,layerInfo:t,commonStrings:r,updateChartTitle:o,updateXAxisTitle:n,updateYAxisTitle:l}),U({name:e,axisIndex:1,config:i,layerInfo:t})},ne=s=>{let e={};return s.series[0]?.markerSymbol??e},ae=(s,e)=>{e.series[0]&&(e.series[0].markerSymbol=s)},le=s=>(s.series[0]?.overlays?.trendLine?.visible??!0)&&(s.series[0]?.overlays?.trendLine?.created??!1),de=s=>{let e={};return s.series[0]?.overlays?.trendLine?.symbol??e},fe=(s,e)=>{e.series[0].overlays??=m(),e.series[0].overlays.trendLine??=m().trendLine,e.series[0].overlays.trendLine.symbol=s},ce=(s,e)=>{e.series[0].overlays??=m(),e.series[0].overlays.trendLine??=m().trendLine,e.series[0].overlays.trendLine.visible=s},me=(s,e)=>{!(e.series[0]?.overlays?.trendLine?.created??!1)&&s&&(e.series[0].overlays??=m(),e.series[0].overlays.trendLine??=m().trendLine,e.series[0].overlays.trendLine.created=s),ce(s,e)},Q=s=>s.series[0]?.sizePolicy??_(),ye=(s,e)=>{e.series[0]&&(s!==void 0&&s.field?.trim()!==""?e.series[0].sizePolicy={...e.series[0].sizePolicy,...s}:e.series[0].sizePolicy=void 0)},pe=s=>s?.series?.[0]?.overlays,ge=(s,e)=>{e?.series[0]!==void 0&&(e.series[0].overlays=s)},ue=s=>s.series.find(e=>e.additionalTooltipFields!==void 0)?.additionalTooltipFields??[],he=(s,e)=>{e.series.forEach(i=>{Array.isArray(s)?i.additionalTooltipFields=s:typeof s=="string"?i.additionalTooltipFields=s.trim()===""?[]:[s]:i.additionalTooltipFields=[]})},xe=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,c=(s,e,i,t)=>{for(var r=ve(e,i),o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(e,i,r)||r);return r&&xe(e,i,r),r},a=class extends w{constructor(){super(...arguments),this._chartType=b.ScatterSeries}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get xAxisField(){return u(this._config)}set xAxisField(e){re({fieldName:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get yAxisField(){return h(this._config)}set yAxisField(e){oe({fieldName:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get showLinearTrend(){return le(this._config)}set showLinearTrend(e){me(e,this._config)}get linearTrendSymbol(){return de(this._config)}set linearTrendSymbol(e){fe(e,this._config)}get fixedMarkerSymbol(){return ne(this._config)}set fixedMarkerSymbol(e){ae(e,this._config)}get sizePolicy(){return Q(this._config)}set sizePolicy(e){let i=Q(this._config);F(i,e)||ye(e,this._config)}get seriesOverlays(){return pe(this._config)}set seriesOverlays(e){e!==void 0&&ge(e,this._config)}get additionalTooltipField(){return ue(this._config)}set additionalTooltipField(e){he(e,this._config)}generateChartTitle(){return T(this._config,this.layerInfo,this.commonStrings)}generateYAxisTitle(){let e=this.yAxisField;return f(this.layerInfo.layerFieldsInfo,e)}generateDefaultConfig(){return A(this.commonStrings)}};c([d],a.prototype,"xAxisField");c([d],a.prototype,"yAxisField");c([d],a.prototype,"showLinearTrend");c([d],a.prototype,"linearTrendSymbol");c([d],a.prototype,"fixedMarkerSymbol");c([d],a.prototype,"sizePolicy");c([d],a.prototype,"seriesOverlays");c([d],a.prototype,"additionalTooltipField");var Ie=[D,z,E,O,k,K,X,N,G,W,H,Y,j,q,B,J];M(a,Ie);return a},"intl",a,c,d,e,g,h,i,j,k,l,n,o,p,q)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as C}from"./IHO3OLL3.js";import j from"./62ECX35C.js";import{a as g}from"./JHANH4UG.js";import"./AK7X7SGI.js";import f from"./V2H2UI2W.js";import"./WNKDEOFZ.js";import b from"./DG2OI6R3.js";import"./EZV7JSQJ.js";import"./3TBK72EK.js";import"./PAIRUVLU.js";import"./KX7KGXKQ.js";import{k as d}from"./SP2IPHWF.js";import"./IHHPUKGG.js";import{A as s,B as m,C as e,H as p,g as c,i as h,n as a,z as i}from"./RIM4HLHN.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([,,{h:v,i:n}])=>{var r={chartRenameComponent:"chart-rename-component",renameLabelContainer:"rename-label-container",renamePanel:"rename-panel"},u=c`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`,l=class extends m{constructor(){super(...arguments),this._messages=g(),this.characterLimitInputElement=i(),this.popoverElement=i(),this.isChartTitleInvalid=!1,this.changedName="",this.name="",this.open=!1,this.arcgisChartsConfigChartRenamePopoverChange=a(),this.arcgisChartsConfigPopoverClose=a()}static{this.properties={isChartTitleInvalid:16,changedName:16,messageOverrides:0,name:1,open:5,referenceElement:0}}static{this.styles=u}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(t){t.has("name")&&(this.changedName=this.name)}updated(){this.popoverElement.value?.reposition(),C(this.popoverElement.value,this.open)}onNameChange(t){let o=t.target.value;this.changedName=o,this.isChartTitleInvalid=d(o.trim()),this.characterLimitInputElement.value&&v({inputElement:this.characterLimitInputElement.value,status:this.isChartTitleInvalid?n.INVALID:n.IDLE})}onCancelClick(){this.changedName=this.name,this.arcgisChartsConfigPopoverClose.emit(),this.open=!1}onSubmitClick(){this.isChartTitleInvalid||(this.name=this.changedName,this.arcgisChartsConfigChartRenamePopoverChange.emit({name:this.changedName}),this.open=!1)}popoverClose(){this.changedName=this.name,this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}render(){return h`<div class=${e({[r.chartRenameComponent]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${s(this.popoverElement)}><calcite-panel class=${e(r.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${e(r.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${s(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`}};p("arcgis-charts-config-chart-rename-popover",l);return l},b,f,j)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{d as h}from"./AK7X7SGI.js";import{g as b}from"./WNKDEOFZ.js";import a from"./5FMEOIBS.js";import"./EZV7JSQJ.js";import"./LRNADJJG.js";import"./PAIRUVLU.js";import{f as y}from"./KX7KGXKQ.js";import{g as d,l as n}from"./SP2IPHWF.js";import"./NZR4L5AA.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import{A as u,G as I,g as C,i as c,n as p}from"./CHQDKVVQ.js";import"./U67P6YAZ.js";export default $arcgis.t(([{kb:F,mb:v}])=>{var E=C`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,g=class extends u{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let s=e?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(s)},this.popoverPlacement="leading",this.usePopupTemplateFieldsInfo=!1,this.filterBySelection=!1,this.arcgisChartsConfigNoSeriesUpdate=p(),this.arcgisChartsConfigWebChartChange=p()}static{this.properties={layerFieldsInfo:16,model:0,popoverPlacement:1,seriesColor:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5,popupTemplateFieldInfosEnabled:5,filterBySelection:5,chartData:0}}static{this.styles=E}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(e){let s=!1;e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&this.layer!==void 0&&!n(e.get("layer"),this.layer)&&(s=!0),(e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==e.get("usePopupTemplateFieldsInfo")||e.has("popupTemplateFieldInfosEnabled")&&this.popupTemplateFieldInfosEnabled!==e.get("popupTemplateFieldInfosEnabled"))&&(s=!0),e.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(s=!0),s&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,s){s?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(e){let{slices:s,groupedSlices:i,groupOfSlices:t}=e?.get(0)??{},o=[];this.filterBySelection?o=this.model.slices?.map(l=>s?.find(a=>a.sliceId===l.sliceId)??i?.find(a=>a.sliceId===l.sliceId)??l)??[]:o=(s??[]).concat(i??[]),o.forEach((l,a)=>{let f=this.model.slices?.find(S=>S.sliceId===o[a].sliceId);f&&(o[a]={...o[a],...f});let r=o[a].fillSymbol;r!==void 0&&!n(r?.outline?.color,r?.color)&&(r.outline={...r.outline??{},type:y.SLS,color:r.color})});let m=(i??[]).map(l=>l.sliceId);i!==void 0&&!n(m,this.model.groupedSliceIds)&&(this.model.groupedSliceIds=d(m)),n(o,this.model.slices)||(this.model.slices=d(o)),t!==void 0&&!n(t,this.model.sliceGrouping)&&(this.model.sliceGrouping=d(t))}async updateFetchLayerFieldsInfo(e){let s=e??this.model.config,i=this.layer;if(!i){let t=b(s)?s.iLayer:void 0;t&&(i=await F(t))}i&&(await i.load(),this.layerFieldsInfo=v(i,this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled))}render(){let e;switch(this.page){case h.Data:e=c`<arcgis-charts-config-pie-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-pie-chart-data>`;break;case h.Slices:e=c`<arcgis-charts-config-pie-chart-slices .model=${this.model} .chartData=${this.chartData} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-pie-chart-slices>`;break;case h.Format:e=c`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case h.General:e=c`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:e="";break}return e}};I("arcgis-charts-config-pie-chart",g);return g},a)
2
+ import{d as h}from"./AK7X7SGI.js";import{g as b}from"./WNKDEOFZ.js";import a from"./DG2OI6R3.js";import"./EZV7JSQJ.js";import"./3TBK72EK.js";import"./PAIRUVLU.js";import{f as y}from"./KX7KGXKQ.js";import{g as d,l as n}from"./SP2IPHWF.js";import"./IHHPUKGG.js";import{B as u,H as I,g as C,i as c,n as p}from"./RIM4HLHN.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([{ob:F,qb:v}])=>{var E=C`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,g=class extends u{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let s=e?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(s)},this.popoverPlacement="leading",this.usePopupTemplateFieldsInfo=!1,this.filterBySelection=!1,this.arcgisChartsConfigNoSeriesUpdate=p(),this.arcgisChartsConfigWebChartChange=p()}static{this.properties={layerFieldsInfo:16,model:0,popoverPlacement:1,seriesColor:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5,popupTemplateFieldInfosEnabled:5,filterBySelection:5,chartData:0}}static{this.styles=E}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(e){let s=!1;e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&this.layer!==void 0&&!n(e.get("layer"),this.layer)&&(s=!0),(e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==e.get("usePopupTemplateFieldsInfo")||e.has("popupTemplateFieldInfosEnabled")&&this.popupTemplateFieldInfosEnabled!==e.get("popupTemplateFieldInfosEnabled"))&&(s=!0),e.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(s=!0),s&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,s){s?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(e){let{slices:s,groupedSlices:i,groupOfSlices:t}=e?.get(0)??{},o=[];this.filterBySelection?o=this.model.slices?.map(l=>s?.find(a=>a.sliceId===l.sliceId)??i?.find(a=>a.sliceId===l.sliceId)??l)??[]:o=(s??[]).concat(i??[]),o.forEach((l,a)=>{let f=this.model.slices?.find(S=>S.sliceId===o[a].sliceId);f&&(o[a]={...o[a],...f});let r=o[a].fillSymbol;r!==void 0&&!n(r?.outline?.color,r?.color)&&(r.outline={...r.outline??{},type:y.SLS,color:r.color})});let m=(i??[]).map(l=>l.sliceId);i!==void 0&&!n(m,this.model.groupedSliceIds)&&(this.model.groupedSliceIds=d(m)),n(o,this.model.slices)||(this.model.slices=d(o)),t!==void 0&&!n(t,this.model.sliceGrouping)&&(this.model.sliceGrouping=d(t))}async updateFetchLayerFieldsInfo(e){let s=e??this.model.config,i=this.layer;if(!i){let t=b(s)?s.iLayer:void 0;t&&(i=await F(t))}i&&(await i.load(),this.layerFieldsInfo=v(i,this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled))}render(){let e;switch(this.page){case h.Data:e=c`<arcgis-charts-config-pie-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-pie-chart-data>`;break;case h.Slices:e=c`<arcgis-charts-config-pie-chart-slices .model=${this.model} .chartData=${this.chartData} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-pie-chart-slices>`;break;case h.Format:e=c`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case h.General:e=c`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:e="";break}return e}};I("arcgis-charts-config-pie-chart",g);return g},a)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as c,b as l}from"./Y3CXVO2M.js";import{b as m}from"./P4HSSZRL.js";import{a as v}from"./JHANH4UG.js";import{n as h,o as r}from"./THTYR6IL.js";import"./KX7KGXKQ.js";import{g}from"./SP2IPHWF.js";import"./IHHPUKGG.js";import{A,B as x,C as u,F as C,H as b,g as p,i as a,z as f}from"./RIM4HLHN.js";import"./KDJ5RVHA.js";import{j as s}from"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import"./U67P6YAZ.js";var P=p`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`,G=class extends x{constructor(){super(...arguments),this._messages=v(),this.addGuideButton=f(),this.guideTypePopover=null,this.addXGuide=e=>{if(h(this.model)){let t=this.getUniqueName(this._messages.xAxisGuide??""),i=this.model.getXGuidesLength()??0;this.model.addXAxisGuide(t,i),this.model.setGuideStyle(g(m.style),i,s.X),this.latestGuidePosition=l(i,s.X,this.model),this.togglePopOver(e)}},this.addYGuide=e=>{if(r(this.model)){let t=this.getUniqueName(this._messages.yAxisGuide??""),i=this.model.getYGuidesLength()??0;this.model.addYAxisGuide(t,i),this.model.setGuideStyle(g(m.style),i,s.Y),this.latestGuidePosition=l(i,s.Y,this.model),this.togglePopOver(e)}},this.togglePopOver=e=>{e.stopImmediatePropagation(),this.enableXAxisGuide&&this.enableYAxisGuide&&(this.showAddButton=!this.showAddButton)},this.onModelConfigChange=()=>{this.requestUpdate()},this.closeAddPopOver=e=>{e.stopImmediatePropagation(),this.showAddButton=!0},this.showAddButton=!0,this.latestGuidePosition=0,this.enableXAxisGuide=!1,this.enableYAxisGuide=!1,this.open=!1}static{this.properties={showAddButton:16,latestGuidePosition:16,messageOverrides:0,model:0,timeZone:1,calculatedMinMaxBounds:0,enableXAxisGuide:5,enableYAxisGuide:5,open:5}}static{this.styles=P}load(){this.modelChange(this.model)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}getAllGuidesLength(){let e=h(this.model)?this.model.getXGuidesLength()??0:0,t=r(this.model)?this.model.getYGuidesLength()??0:0;return e+t}getUniqueName(e,t=1){let i=`${e} ${t}`,d=!1;if(h(this.model)){let n=this.model.getXGuidesLength()??0;for(let o=0;o<n&&!d;o+=1)this.model.getGuideName(o,s.X)===i&&(d=!0)}if(r(this.model)){let n=this.model.getYGuidesLength()??0;for(let o=0;o<n&&!d;o+=1)this.model.getGuideName(o,s.Y)===i&&(d=!0)}return d?this.getUniqueName(e,t+1):i}setChangedGuide(e){let{index:t,orientation:i,isDelete:d}=e.detail,n=l(t,i,this.model);d&&n!==void 0&&n<=this.latestGuidePosition&&this.latestGuidePosition>0&&(this.latestGuidePosition-=1)}setupGuidePopover(e){e.stopImmediatePropagation(),this.togglePopOver(e)}renderGuideTypePopover(){let e=this.getAllGuidesLength();this.guideTypePopover=C(a`<arcgis-charts-config-guides-type-popover .enableXAxisGuide=${this.enableXAxisGuide} .enableYAxisGuide=${this.enableYAxisGuide} .referenceElement=${this.addGuideButton.value} .placement=${e===0?"bottom":"top"} .open=${!this.showAddButton} @arcgisChartsAddXAxisGuide=${this.addXGuide} @arcgisChartsAddYAxisGuide=${this.addYGuide} @arcgisChartsConfigPopoverClose=${this.closeAddPopOver}></arcgis-charts-config-guides-type-popover>`),!this.showAddButton&&!document.body.contains(this.guideTypePopover)&&this.guideTypePopover!==null&&document.body.appendChild(this.guideTypePopover)}renderGuide(e,t){let i;return(this.enableXAxisGuide&&t===s.X||this.enableYAxisGuide&&t===s.Y)&&(i=a`<arcgis-charts-config-guide .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .index=${e} .orientation=${t} .latestGuidePosition=${this.latestGuidePosition} @arcgisChartsConfigGuideChange=${this.setChangedGuide}></arcgis-charts-config-guide>`),i}renderGuides(){let e=[];if(h(this.model)){let t=this.model.getXGuidesLength()??0;for(let i=0;i<t;i+=1)e.push(this.renderGuide(i,s.X))}if(r(this.model)){let t=this.model.getYGuidesLength()??0;for(let i=0;i<t;i+=1)e.push(this.renderGuide(i,s.Y))}return e}renderAddGuideButton(e){return a`<calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addGuide} .label=${this._messages.addGuide} @click=${e} scale=s></calcite-fab>`}render(){let e=this.getAllGuidesLength()>0,t=this.showAddButton&&this.enableXAxisGuide&&this.enableYAxisGuide,i=this.enableXAxisGuide&&!this.enableYAxisGuide,d=!this.enableXAxisGuide&&this.enableYAxisGuide;return a`${this.renderGuideTypePopover()}${e?this.renderGuides():a`<div class=${u(c.noMessages)}>${this._messages.noGuidesMsg}</div>`}<div class=${u(c.addGuide)} ${A(this.addGuideButton)}>${t&&this.renderAddGuideButton(this.setupGuidePopover)||""}${i&&this.renderAddGuideButton(this.addXGuide)||""}${d&&this.renderAddGuideButton(this.addYGuide)||""}</div>`}};b("arcgis-charts-config-guides",G);export{G as ArcgisChartsConfigGuides};
@@ -1 +1 @@
1
- {"utilsStrings":{"chartType":{"chart":"Chart","barChart":"Bar chart","lineChart":"Line chart","pieChart":"Pie chart","histogram":"Histogram","scatterplot":"Scatterplot","boxPlot":"Box plot","heatChart":"Heat chart","calendarHeatChart":"Calendar heat chart","matrixHeatChart":"Matrix heat chart"},"statistics":{"mean":"Mean","median":"Median","sum":"Sum","discretePercentile":"Discrete percentile","minimum":"Minimum","maximum":"Maximum","firstQuartile":"First quartile","thirdQuartile":"Third quartile","iqr":"IQR","standardDeviation":"Standard deviation","variance":"Variance","count":"Count","aggregation":"{ statistics } of { fieldName }","percent":"Percent","noAggregation":"No aggregation","meanValue":"Mean value"},"overlays":{"mean":"Mean","median":"Median","stdDev":"Standard Deviation","normal":"Normal Distribution","trendline":"Trendline"},"actions":{"editChart":"Edit chart","expand":"Expand","collapse":"Collapse"},"tooltips":{"logDisabled":"Logarithmic scales require positive values"},"guideTooltipLabel":"From { guideStart } to { guideEnd }","pieChart":{"defaultSliceGroupingLabel":"Other"},"notAvailable":"Not Available","field":"Field","heatChartCalendarDatePartsUnits":{"dayOfWeek":"Day of Week","monthOfYear":"Month","dayOfMonth":"Day of Month","hourOfDay":"Hour of Day","dayOfYear":"Day of Year","minuteOfDay":"Minute of Day","weekOfYear":"Week of Year","quarterOfYear":"Quarter of Year"},"null":"null","accessibility":{"gauge":{"innerLabel":"Gauge value","maximumValue":"maximum value","minimumValue":"minimum value","gauge":"Gauge"}}},"errorStrings":{"errorHeading":"Error","placeholders":{"barChartCreateMsg":"Bar charts group data by categories along the x-axis. Select a category field or select multiple numeric fields in the Data pane to get started.","boxPlotCreateMsg":"Box plots display the distribution of one or more numeric attributes. Select at least one Numeric field in the Data pane to get started.","lineChartCreateMsg":"Line charts show change along a continuous axis. Select a date or numeric field in the Data pane to get started.","pieChartCreateMsg":"Pie charts group data into slices to visualize part-to-whole relationships. Slices can be created from unique values in a category field, or from multiple numeric fields. Select a category field under Slices from Category or multiple numeric fields under Slices from Fields in the Data pane to get started.","histogramCreateMsg":"Histograms visualize the distribution of a numeric attribute by grouping values into bins. Select a numeric field in the Data pane to get started.","scatterplotCreateMsg":"Scatterplots visualize the relationship between two numeric attributes. Select two numeric fields in the Data pane to get started.","calendarHeatChartCreateMsg":"Heat charts visualize data using a matrix of colored cells. Select a date field in the Data pane to get started.","comboBarLineChartCreateMsg":"Combo bar line charts combine bar and line series in a single chart to compare different types of data within the same view.","radarChartCreateMsg":"Radar charts display multivariate data on axes that radiate from a central point.","gaugeCreateMsg":"Gauges display a single metric within a quantitative range defined by minimum and maximum values."},"notifications":{"invalidConfig":"The chart configuration is invalid.","invalidSeriesConfig":"No data is available to display due to empty data field(s) and/or combination of filters.","invalidSeriesConfigTitle":"No data","validateAggregationTypeMsg":"Select a numeric field to summarize in the chart.","missingNumericFields":"Numeric field required","noAggregationRequiresNumericFields":"Charts with no aggregation require at least one Numeric field."},"tooManySelectedElements":{"title":"Selection limit exceeded","message":"Selections are limited to 500 elements"},"incompatibleChartVersion":{"title":"Incompatible chart version","message":"Chart version { chartVersion } is not compatible with this application. Some features may not be available."},"modalHeaders":{"invalidData":"Invalid data","invalidChart":"Invalid chart","noDataAvailable":"No data available to display","tooManyFeatures":"Too many features","cannotCombineNegativeAndPositiveSlices":"Pie charts cannot combine slices with positive values to slices with negative values","error":"Error","warning":"Warning","newChart":"New chart"},"errors":{"divNode":"Creating a chart requires an HTML div node.","errorRequest":"Please fix the following errors: ","warningRequest":"Please address the following warnings: ","newChartRequest":"Configure chart.","invalidValueFormatForLineChart":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the line chart y-axis.","invalidValueFormatForBarChart":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the bar chart y-axis.","invalidValueFormatForComboBarLineChart":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the bar-line chart y-axis, and category and date types on the x-axis.","invalidValueFormatForBoxPlot":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the box plot y-axis, and category and date types on the x-axis.","invalidValueFormatForHistogram":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the histogram axes.","invalidValueFormatForScatterplot":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the scatterplot axes.","invalidValueFormatForGauge":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the gauge.","invalidValueFormatForHeatChart":"The axis 'valueFormat' is invalid. Only category and date types are allowed on the heat chart axes.","mismatchAxisAndValueFormat":"There's a mismatch between the axis type and the axis 'valueFormat'.","queryError":"Failure to read input data.","simpleError":"Something went wrong.","defaultInvalidChart":"There was an error creating the chart.","categoryCountCannotExceedLimit":"There are { categoryCount } categories on this chart. Charts are limited to { maxCategoryCount } categories. Choose a Category field with fewer unique values or apply a filter to your data.","uniqueSeriesBarCountCannotExceedLimit":"There are a total of { elementCount } bars in this chart. Bar charts with one series are limited to { totalLimit } bars. Choose a Category field with fewer unique values, apply a filter to your data, or enable temporal binning.","twoSeriesBarCountCannotExceedLimit":"Bar charts with two series are limited to { totalLimit } bars, or { seriesLimit } bars per series. Choose a Category field with fewer unique values, apply a filter to your data, or enable temporal binning.","threePlusSeriesBarCountCannotExceedLimit":"Bar charts with three or more series are limited to { totalLimit } bars, or { seriesLimit } bars per series. Choose a Category field with fewer unique values, apply a filter to your data, or enable temporal binning.","barSeriesCountCannotExceedLimit":"Bar charts are limited to { seriesLimit } series. Choose a split-by field with fewer unique values","uniqueSeriesLineCountCannotExceedLimit":"There are a total of { elementCount } markers in this chart. Line charts with one series are limited to { totalLimit } markers. Choose a numeric field with fewer unique values or apply a filter to your data.","twoSeriesLineCountCannotExceedLimit":"Line charts with two series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a numeric field with fewer unique values or apply a filter to your data.","threePlusSeriesLineCountCannotExceedLimit":"Line charts with three or more series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a numeric field with fewer unique values or apply a filter to your data.","uniqueTemporalSeriesLineCountCannotExceedLimit":"There are a total of { elementCount } markers in this chart. Line charts with one series are limited to { totalLimit } markers. Choose a larger temporal bin size or apply a filter to your data.","twoTemporalSeriesLineCountCannotExceedLimit":"Line charts with two series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a larger temporal bin size or apply a filter to your data.","threePlusTemporalSeriesLineCountCannotExceedLimit":"Line charts with three or more series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a larger temporal bin size or apply a filter to your data.","lineSeriesCountCannotExceedLimit":"Line charts are limited to { seriesLimit } series. Choose a split-by field with fewer unique values","uniqueSeriesBoxCountCannotExceedLimit":"There are a total of { elementCount } boxes in this chart. Box plots with one series are limited to { totalLimit } boxes. Choose a Category field with fewer unique values or apply a filter to your data.","twoSeriesBoxCountCannotExceedLimit":"Box plots with two series are limited to { totalLimit } boxes, or { seriesLimit } boxes per series. Choose a Category field with fewer unique values or apply a filter to your data.","threePlusBoxLineCountCannotExceedLimit":"Box plots with three or more series are limited to { totalLimit } boxes, or { seriesLimit } boxes per series. Choose a Category field with fewer unique values or apply a filter to your data.","boxSeriesCountCannotExceedLimit":"Box plots are limited to { seriesLimit } series. Choose a split-by field with fewer unique values","boxSeriesOutlierCannotExceedLimit":"Box plots can only display up to { totalLimit } outlier points. Filter you data.","pieChartCannotHaveMixtureOfPositiveAndNegativeSlices":"Ensure the sum total of the chosen numeric field(s) returns all positive values or all negative values.","pieChartSlicesCannotExceedLimit":"There are a total of { sliceCount } slices in this chart. Pie charts are limited to { totalLimit } slices. Choose a Category field with fewer unique values, add fewer Numeric fields, or apply a filter to your data.","gaugeCannotExceedLimit":"Feature-based gauges are limited to { totalLimit } features. Filter your data.","heatChartCannotExceedLimit":"Heat charts are limited to { totalLimit } cells. Filter your data.","negativeValueInDataForLogTransformation":"Cannot apply a log transformation to negative or zero values.","negativeValueInDataForSqrtTransformation":"Cannot apply a square root transformation to negative values.","logarithmicXAxisNotPossible":"Logarithmic value x-axis cannot have negative or zero values.","logarithmicYAxisNotPossible":"Logarithmic value y-axis cannot have negative or zero values.","histogramEmptyField":"Histograms require at least two numeric values.","noDataMessage":"No data is available to display due to empty data field(s) and/or combination of filters.","noDataFBSMessage":"Filter by selection is enabled. There are no selected features to display.","noDataFBEMessage":"Filter by extent is enabled. There are no features in the map extent to display.","noValue":"No value","exportImageChartNotReady":"Chart is not ready for export","exportImage":"Failed to export chart","defaultError":"An error occurred while loading the chart.","layerLoadFailure":"An error occurred while loading the layer. URL = { url }. Portal item ID = { portalItemId }.","layerFieldsNotFound":"The fields [{ fieldNames }] defined in the config were not found in the layer.","duplicateSeriesID":"{ dataPath } must be unique. The series named { seriesName } has an ID ({ seriesID }) that is already used by another series.","nonNumericAggregation":"{ dataPath } cannot perform non-count aggregation on non-numeric field.","requiredProperty":"{ dataPath } is missing a property named { missingProperty }.","minLength":"{ dataPath } must not be shorter than { limit } characters.","minItems":"{ dataPath } must not have fewer than { limit } items.","maxItems":"{ dataPath } must not have more than { limit } items.","whiteSpacePattern":"{ dataPath } must have at least one non-whitespace character.","additionalProperty":"{ dataPath } must not have { additionalProperty }.","enumValues":"{ dataPath } must be equal to one of these allowed values: { allowedValues }.","anyOfValues":"{ dataPath } must match the schema of one of these: { schemaOptions }.","bubbleChartValidateMsg":"Scatterplots with proportional symbols are not supported. Default symbol size has been applied.","queryBinsNotSupported":"The queryBins operation is not supported on this service.","invalidSeriesType":"The expected series type at index { seriesIndex } is '{ expectedType }' but '{ receivedType }' was received instead","or":"or"}},"countSeries":"Count Series","xAxis":"X Axis","timeAggregationTypes":{"start":"Snap to the first data point","end":"Snap to the last data point"},"axisLabels":{"values":"Values","standardizedValues":"Standardized values","aggregationOfValues":"{ aggregation } of values","aggregationOfFieldName":"{ aggregation } of { fieldName }"},"titleLabels":{"aggrFieldsByCategory":"{ aggregationFields } by { category }","aggrTypeCategory":"{ aggregationType } by { category }","aggrTypeCategoryBySplitBy":"{ aggregationType } by { category } by { splitByField }","aggrTypeOfAggrFields":"{ aggregationType } of { aggregationFields }","aggrTypeOfAggrFieldByCategoryBySplitByField":"{ aggregationType } of { aggregationField } by { category } by { splitByField }","aggrTypeOfAggrFieldsByCategory":"{ aggregationType } of { aggregationFields } by { category }","aggrFieldsByXAxisField":"{ aggregationFields } by { xAxisField }","aggrTypeXAxisField":"{ aggregationType } by { xAxisField }","aggrTypeXAxisFieldBySplitBy":"{ aggregationType } by { xAxisField } by { splitByField }","aggrTypeOfAggrFieldByXAxisFieldBySplitByField":"{ aggregationType } of { aggregationField } by { xAxisField } by { splitByField }","aggrTypeOfAggrFieldsByXAxisField":"{ aggregationType } of { aggregationFields } by { xAxisField }","distributionOfField":"Distribution of { valueField }","distributionOfFields":"Distribution of { valueFields }","distributionOfFieldsByCategory":"Distribution of { valueFields } by { category }","distributionOfFieldsByCategoryAndSplitBy":"Distribution of { valueFields } by { category } and { splitByField }","xAndY":"{ x } and { y }"},"customAmchartsStrings":{"Zoom Out":"Zoom Out","Play":"Play","Stop":"Stop","Legend":"Legend","Press ENTER to toggle":"Press ENTER to toggle","Loading":"Loading","Home":"Home","Chart":"Chart","Serial chart":"Serial chart","X/Y chart":"X/Y chart","Pie chart":"Pie chart","Gauge chart":"Gauge chart","Radar chart":"Radar chart","Sankey diagram":"Sankey diagram","Flow diagram":"Flow diagram","Chord diagram":"Chord diagram","TreeMap chart":"TreeMap chart","Sliced chart":"Sliced chart","Series":"Series","Candlestick Series":"Candlestick Series","OHLC Series":"OHLC Series","Column Series":"Column Series","Line Series":"Line Series","Pie Slice Series":"Pie Slice Series","Funnel Series":"Funnel Series","Pyramid Series":"Pyramid Series","X/Y Series":"X/Y Series","Map":"Map","Press ENTER to zoom in":"Press ENTER to zoom in","Press ENTER to zoom out":"Press ENTER to zoom out","Use arrow keys to zoom in and out":"Use arrow keys to zoom in and out","Use plus and minus keys on your keyboard to zoom in and out":"Use plus and minus keys on your keyboard to zoom in and out","Export":"Export","Image":"Image","Data":"Data","Print":"Print","Press ENTER to open":"Press ENTER to open","Press ENTER to print.":"Press ENTER to print.","Press ENTER to export as %1.":"Press ENTER to export as %1.","(Press ESC to close this message)":"(Press ESC to close this message)","Image Export Complete":"Image Export Complete","Export operation took longer than expected. Something might have gone wrong.":"Export operation took longer than expected. Something might have gone wrong.","Saved from":"Saved from","Use TAB to select grip buttons or left and right arrows to change selection":"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 selection","Use left and right arrows to move left selection":"Use left and right arrows to move left selection","Use left and right arrows to move right selection":"Use left and right arrows to move right selection","Use TAB select grip buttons or up and down arrows to change 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 selection","Use up and down arrows to move lower selection":"Use up and down arrows to move lower selection","Use up and down arrows to move upper selection":"Use up and down arrows to move upper selection","From %1 to %2":"From %1 to %2","From %1":"From %1","To %1":"To %1","No parser available for file: %1":"No parser available for file: %1","Error parsing file: %1":"Error parsing file: %1","Unable to load file: %1":"Unable to load file: %1","Invalid date":"Invalid date"}}
1
+ {"utilsStrings":{"chartType":{"chart":"Chart","barChart":"Bar chart","lineChart":"Line chart","pieChart":"Pie chart","histogram":"Histogram","scatterplot":"Scatterplot","boxPlot":"Box plot","heatChart":"Heat chart","calendarHeatChart":"Calendar heat chart","matrixHeatChart":"Matrix heat chart"},"statistics":{"mean":"Mean","median":"Median","sum":"Sum","discretePercentile":"Discrete percentile","minimum":"Minimum","maximum":"Maximum","firstQuartile":"First quartile","thirdQuartile":"Third quartile","iqr":"IQR","standardDeviation":"Standard deviation","variance":"Variance","count":"Count","aggregation":"{ statistics } of { fieldName }","percent":"Percent","noAggregation":"No aggregation","meanValue":"Mean value"},"overlays":{"mean":"Mean","median":"Median","stdDev":"Standard Deviation","normal":"Normal Distribution","trendline":"Trendline"},"actions":{"editChart":"Edit chart","expand":"Expand","collapse":"Collapse"},"tooltips":{"logDisabled":"Logarithmic scales require positive values"},"guideTooltipLabel":"From { guideStart } to { guideEnd }","pieChart":{"defaultSliceGroupingLabel":"Other"},"notAvailable":"Not Available","field":"Field","heatChartCalendarDatePartsUnits":{"dayOfWeek":"Day of Week","monthOfYear":"Month","dayOfMonth":"Day of Month","hourOfDay":"Hour of Day","dayOfYear":"Day of Year","minuteOfDay":"Minute of Day","weekOfYear":"Week of Year","quarterOfYear":"Quarter of Year"},"null":"null","accessibility":{"gauge":{"innerLabel":"Gauge value","maximumValue":"maximum value","minimumValue":"minimum value","gauge":"Gauge"}}},"errorStrings":{"errorHeading":"Error","placeholders":{"barChartCreateMsg":"Bar charts group data by categories along the x-axis. Select a category field or select multiple numeric fields in the Data pane to get started.","boxPlotCreateMsg":"Box plots display the distribution of one or more numeric attributes. Select at least one Numeric field in the Data pane to get started.","lineChartCreateMsg":"Line charts show change along a continuous axis. Select a date or numeric field in the Data pane to get started.","pieChartCreateMsg":"Pie charts group data into slices to visualize part-to-whole relationships. Slices can be created from unique values in a category field, or from multiple numeric fields. Select a category field under Slices from Category or multiple numeric fields under Slices from Fields in the Data pane to get started.","histogramCreateMsg":"Histograms visualize the distribution of a numeric attribute by grouping values into bins. Select a numeric field in the Data pane to get started.","scatterplotCreateMsg":"Scatterplots visualize the relationship between two numeric attributes. Select two numeric fields in the Data pane to get started.","calendarHeatChartCreateMsg":"Heat charts visualize data using a matrix of colored cells. Select a date field in the Data pane to get started.","comboBarLineChartCreateMsg":"Combo bar line charts combine bar and line series in a single chart to compare different types of data within the same view.","radarChartCreateMsg":"Radar charts display multivariate data on axes that radiate from a central point.","gaugeCreateMsg":"Gauges display a single metric within a quantitative range defined by minimum and maximum values."},"notifications":{"invalidConfig":"The chart configuration is invalid.","invalidConfigForRaster":"{errorMessage} Please check if you used correct processing template or band combination.","invalidConfigTitle":"Invalid chart configuration","invalidSeriesConfig":"No data is available to display due to empty data field(s) and/or combination of filters.","invalidSeriesConfigTitle":"No data","validateAggregationTypeMsg":"Select a numeric field to summarize in the chart.","missingNumericFields":"Numeric field required","noAggregationRequiresNumericFields":"Charts with no aggregation require at least one Numeric field."},"tooManySelectedElements":{"title":"Selection limit exceeded","message":"Selections are limited to 500 elements"},"incompatibleChartVersion":{"title":"Incompatible chart version","message":"Chart version { chartVersion } is not compatible with this application. Some features may not be available."},"modalHeaders":{"invalidData":"Invalid data","invalidChart":"Invalid chart","noDataAvailable":"No data available to display","tooManyFeatures":"Too many features","cannotCombineNegativeAndPositiveSlices":"Pie charts cannot combine slices with positive values to slices with negative values","error":"Error","warning":"Warning","newChart":"New chart"},"errors":{"divNode":"Creating a chart requires an HTML div node.","errorRequest":"Please fix the following errors: ","warningRequest":"Please address the following warnings: ","newChartRequest":"Configure chart.","invalidValueFormatForLineChart":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the line chart y-axis.","invalidValueFormatForBarChart":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the bar chart y-axis.","invalidValueFormatForComboBarLineChart":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the bar-line chart y-axis, and category and date types on the x-axis.","invalidValueFormatForBoxPlot":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the box plot y-axis, and category and date types on the x-axis.","invalidValueFormatForHistogram":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the histogram axes.","invalidValueFormatForScatterplot":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the scatterplot axes.","invalidValueFormatForGauge":"The axis 'valueFormat' is invalid. Only numeric type is allowed on the gauge.","invalidValueFormatForHeatChart":"The axis 'valueFormat' is invalid. Only category and date types are allowed on the heat chart axes.","mismatchAxisAndValueFormat":"There's a mismatch between the axis type and the axis 'valueFormat'.","queryError":"Failure to read input data.","simpleError":"Something went wrong.","defaultInvalidChart":"There was an error creating the chart.","categoryCountCannotExceedLimit":"There are { categoryCount } categories on this chart. Charts are limited to { maxCategoryCount } categories. Choose a Category field with fewer unique values or apply a filter to your data.","uniqueSeriesBarCountCannotExceedLimit":"There are a total of { elementCount } bars in this chart. Bar charts with one series are limited to { totalLimit } bars. Choose a Category field with fewer unique values, apply a filter to your data, or enable temporal binning.","twoSeriesBarCountCannotExceedLimit":"Bar charts with two series are limited to { totalLimit } bars, or { seriesLimit } bars per series. Choose a Category field with fewer unique values, apply a filter to your data, or enable temporal binning.","threePlusSeriesBarCountCannotExceedLimit":"Bar charts with three or more series are limited to { totalLimit } bars, or { seriesLimit } bars per series. Choose a Category field with fewer unique values, apply a filter to your data, or enable temporal binning.","barSeriesCountCannotExceedLimit":"Bar charts are limited to { seriesLimit } series. Choose a split-by field with fewer unique values","uniqueSeriesLineCountCannotExceedLimit":"There are a total of { elementCount } markers in this chart. Line charts with one series are limited to { totalLimit } markers. Choose a numeric field with fewer unique values or apply a filter to your data.","twoSeriesLineCountCannotExceedLimit":"Line charts with two series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a numeric field with fewer unique values or apply a filter to your data.","threePlusSeriesLineCountCannotExceedLimit":"Line charts with three or more series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a numeric field with fewer unique values or apply a filter to your data.","uniqueTemporalSeriesLineCountCannotExceedLimit":"There are a total of { elementCount } markers in this chart. Line charts with one series are limited to { totalLimit } markers. Choose a larger temporal bin size or apply a filter to your data.","twoTemporalSeriesLineCountCannotExceedLimit":"Line charts with two series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a larger temporal bin size or apply a filter to your data.","threePlusTemporalSeriesLineCountCannotExceedLimit":"Line charts with three or more series are limited to { totalLimit } markers, or { seriesLimit } markers per series. Choose a larger temporal bin size or apply a filter to your data.","lineSeriesCountCannotExceedLimit":"Line charts are limited to { seriesLimit } series. Choose a split-by field with fewer unique values","uniqueSeriesBoxCountCannotExceedLimit":"There are a total of { elementCount } boxes in this chart. Box plots with one series are limited to { totalLimit } boxes. Choose a Category field with fewer unique values or apply a filter to your data.","twoSeriesBoxCountCannotExceedLimit":"Box plots with two series are limited to { totalLimit } boxes, or { seriesLimit } boxes per series. Choose a Category field with fewer unique values or apply a filter to your data.","threePlusBoxLineCountCannotExceedLimit":"Box plots with three or more series are limited to { totalLimit } boxes, or { seriesLimit } boxes per series. Choose a Category field with fewer unique values or apply a filter to your data.","boxSeriesCountCannotExceedLimit":"Box plots are limited to { seriesLimit } series. Choose a split-by field with fewer unique values","boxSeriesOutlierCannotExceedLimit":"Box plots can only display up to { totalLimit } outlier points. Filter you data.","pieChartCannotHaveMixtureOfPositiveAndNegativeSlices":"Ensure the sum total of the chosen numeric field(s) returns all positive values or all negative values.","pieChartSlicesCannotExceedLimit":"There are a total of { sliceCount } slices in this chart. Pie charts are limited to { totalLimit } slices. Choose a Category field with fewer unique values, add fewer Numeric fields, or apply a filter to your data.","gaugeCannotExceedLimit":"Feature-based gauges are limited to { totalLimit } features. Filter your data.","heatChartCannotExceedLimit":"Heat charts are limited to { totalLimit } cells. Filter your data.","negativeValueInDataForLogTransformation":"Cannot apply a log transformation to negative or zero values.","negativeValueInDataForSqrtTransformation":"Cannot apply a square root transformation to negative values.","logarithmicXAxisNotPossible":"Logarithmic value x-axis cannot have negative or zero values.","logarithmicYAxisNotPossible":"Logarithmic value y-axis cannot have negative or zero values.","histogramEmptyField":"Histograms require at least two numeric values.","noDataMessage":"No data is available to display due to empty data field(s) and/or combination of filters.","noDataFBSMessage":"Filter by selection is enabled. There are no selected features to display.","noDataFBEMessage":"Filter by extent is enabled. There are no features in the map extent to display.","noValue":"No value","exportImageChartNotReady":"Chart is not ready for export","exportImage":"Failed to export chart","defaultError":"An error occurred while loading the chart.","layerLoadFailure":"An error occurred while loading the layer. URL = { url }. Portal item ID = { portalItemId }.","layerFieldsNotFound":"The fields [{ fieldNames }] defined in the config were not found in the layer.","duplicateSeriesID":"{ dataPath } must be unique. The series named { seriesName } has an ID ({ seriesID }) that is already used by another series.","nonNumericAggregation":"{ dataPath } cannot perform non-count aggregation on non-numeric field.","requiredProperty":"{ dataPath } is missing a property named { missingProperty }.","minLength":"{ dataPath } must not be shorter than { limit } characters.","minItems":"{ dataPath } must not have fewer than { limit } items.","maxItems":"{ dataPath } must not have more than { limit } items.","whiteSpacePattern":"{ dataPath } must have at least one non-whitespace character.","additionalProperty":"{ dataPath } must not have { additionalProperty }.","enumValues":"{ dataPath } must be equal to one of these allowed values: { allowedValues }.","anyOfValues":"{ dataPath } must match the schema of one of these: { schemaOptions }.","bubbleChartValidateMsg":"Scatterplots with proportional symbols are not supported. Default symbol size has been applied.","queryBinsNotSupported":"The queryBins operation is not supported on this service.","invalidSeriesType":"The expected series type at index { seriesIndex } is '{ expectedType }' but '{ receivedType }' was received instead","or":"or"}},"countSeries":"Count Series","xAxis":"X Axis","timeAggregationTypes":{"start":"Snap to the first data point","end":"Snap to the last data point"},"axisLabels":{"values":"Values","standardizedValues":"Standardized values","aggregationOfValues":"{ aggregation } of values","aggregationOfFieldName":"{ aggregation } of { fieldName }"},"titleLabels":{"aggrFieldsByCategory":"{ aggregationFields } by { category }","aggrTypeCategory":"{ aggregationType } by { category }","aggrTypeCategoryBySplitBy":"{ aggregationType } by { category } by { splitByField }","aggrTypeOfAggrFields":"{ aggregationType } of { aggregationFields }","aggrTypeOfAggrFieldByCategoryBySplitByField":"{ aggregationType } of { aggregationField } by { category } by { splitByField }","aggrTypeOfAggrFieldsByCategory":"{ aggregationType } of { aggregationFields } by { category }","aggrFieldsByXAxisField":"{ aggregationFields } by { xAxisField }","aggrTypeXAxisField":"{ aggregationType } by { xAxisField }","aggrTypeXAxisFieldBySplitBy":"{ aggregationType } by { xAxisField } by { splitByField }","aggrTypeOfAggrFieldByXAxisFieldBySplitByField":"{ aggregationType } of { aggregationField } by { xAxisField } by { splitByField }","aggrTypeOfAggrFieldsByXAxisField":"{ aggregationType } of { aggregationFields } by { xAxisField }","distributionOfField":"Distribution of { valueField }","distributionOfFields":"Distribution of { valueFields }","distributionOfFieldsByCategory":"Distribution of { valueFields } by { category }","distributionOfFieldsByCategoryAndSplitBy":"Distribution of { valueFields } by { category } and { splitByField }","xAndY":"{ x } and { y }"},"customAmchartsStrings":{"Zoom Out":"Zoom Out","Play":"Play","Stop":"Stop","Legend":"Legend","Press ENTER to toggle":"Press ENTER to toggle","Loading":"Loading","Home":"Home","Chart":"Chart","Serial chart":"Serial chart","X/Y chart":"X/Y chart","Pie chart":"Pie chart","Gauge chart":"Gauge chart","Radar chart":"Radar chart","Sankey diagram":"Sankey diagram","Flow diagram":"Flow diagram","Chord diagram":"Chord diagram","TreeMap chart":"TreeMap chart","Sliced chart":"Sliced chart","Series":"Series","Candlestick Series":"Candlestick Series","OHLC Series":"OHLC Series","Column Series":"Column Series","Line Series":"Line Series","Pie Slice Series":"Pie Slice Series","Funnel Series":"Funnel Series","Pyramid Series":"Pyramid Series","X/Y Series":"X/Y Series","Map":"Map","Press ENTER to zoom in":"Press ENTER to zoom in","Press ENTER to zoom out":"Press ENTER to zoom out","Use arrow keys to zoom in and out":"Use arrow keys to zoom in and out","Use plus and minus keys on your keyboard to zoom in and out":"Use plus and minus keys on your keyboard to zoom in and out","Export":"Export","Image":"Image","Data":"Data","Print":"Print","Press ENTER to open":"Press ENTER to open","Press ENTER to print.":"Press ENTER to print.","Press ENTER to export as %1.":"Press ENTER to export as %1.","(Press ESC to close this message)":"(Press ESC to close this message)","Image Export Complete":"Image Export Complete","Export operation took longer than expected. Something might have gone wrong.":"Export operation took longer than expected. Something might have gone wrong.","Saved from":"Saved from","Use TAB to select grip buttons or left and right arrows to change selection":"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 selection","Use left and right arrows to move left selection":"Use left and right arrows to move left selection","Use left and right arrows to move right selection":"Use left and right arrows to move right selection","Use TAB select grip buttons or up and down arrows to change 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 selection","Use up and down arrows to move lower selection":"Use up and down arrows to move lower selection","Use up and down arrows to move upper selection":"Use up and down arrows to move upper selection","From %1 to %2":"From %1 to %2","From %1":"From %1","To %1":"To %1","No parser available for file: %1":"No parser available for file: %1","Error parsing file: %1":"Error parsing file: %1","Unable to load file: %1":"Unable to load file: %1","Invalid date":"Invalid date"}}
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as i}from"./ZRFHAQL6.js";import"./KDJ5RVHA.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import{F as a,p as e}from"./CHQDKVVQ.js";import"./U67P6YAZ.js";var r=e(a,{"arcgis-chart":[()=>import("./KXNZEPLT.js"),"_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,calciteThemingCSSVariables:,chartIndex,chartLimits:,chartWillRender:,commonStrings:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,filterByViewExtent,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,interactionsDisabled,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,popupTemplateFieldInfosEnabled,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotated,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncChartsSelection,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,syncViewTimeExtent,syncViewTimeZone,syncViewTimeZoneInclusionList:,timeZone,togglingLegendItemsDisabled,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,destroy,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],"arcgis-charts-action-bar":[()=>import("./3YT44D4Z.js"),"_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,csvExportExclusionList:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],"arcgis-charts-config-axes":[()=>import("./UT4TYXFO.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],"arcgis-charts-config-axis":[()=>import("./VVKV5KKN.js"),"axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],"arcgis-charts-config-bar-chart":[()=>import("./KOBNV5AQ.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-bar-chart-data":[()=>import("./LYZGRYQV.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-bar-chart-popover":[()=>import("./3XHZ677O.js"),"contentKind,headingTitle,isCustomSortDisabled,isNoAggregationDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-bar-chart-series":[()=>import("./MUPHTV55.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-bar-chart-series-popover":[()=>import("./NS3THLCD.js"),"messageOverrides:,nullCategory:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-box-plot":[()=>import("./TYMKFCF4.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-box-plot-data":[()=>import("./PY5Q3V6E.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-box-plot-popover":[()=>import("./G5HVFOIO.js"),"contentKind,headingTitle,isCustomSortDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-box-plot-series":[()=>import("./CRFJ2GGS.js"),"activeColorMatch,configSeriesOpen,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-box-plot-series-popover":[()=>import("./74JAZF7U.js"),"isLineSymbol,labelCanBeConfigured,messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-category-format":[()=>import("./VEA5ZR5D.js"),"categoryFormat:,messageOverrides:"],"arcgis-charts-config-chart-rename-popover":[()=>import("./PJUAU42S.js"),"messageOverrides:,name,open,referenceElement:;reposition"],"arcgis-charts-config-color-style":[()=>import("./A5GIBV5W.js"),"enableClose,header,messageOverrides:,open,selectedColor:"],"arcgis-charts-config-colors":[()=>import("./TNB3MBXR.js"),"heading,messageOverrides:,rgba:"],"arcgis-charts-config-create-flow":[()=>import("./E2N2S7BH.js"),"activeLayerId,calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,chartData:,close,disableEditing,filterBySelection,headerTitle,layerList:,messageOverrides:,modelList:,panelNumber,popoverPlacement,popupTemplateFieldInfosEnabled,r2,selectedChartId,seriesColor:,syncChartsToLayers,timeZone,usePopupTemplateFieldsInfo;setFocus"],"arcgis-charts-config-field-select":[()=>import("./BBURKBKE.js"),"disabled,invalid,label"],"arcgis-charts-config-font-style":[()=>import("./PC7IKOIB.js"),"enableClose,fontStyle:,header,messageOverrides:,open"],"arcgis-charts-config-format":[()=>import("./UAJGYF4S.js"),"messageOverrides:,model:"],"arcgis-charts-config-format-popover":[()=>import("./YYK7SPXC.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-general":[()=>import("./LZYN55O4.js"),"messageOverrides:,model:,open"],"arcgis-charts-config-guide":[()=>import("./JVHJMPFE.js"),"calculatedMinMaxBounds:,index,latestGuidePosition,messageOverrides:,model:,orientation,timeZone"],"arcgis-charts-config-guide-popover":[()=>import("./CXQOEN77.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-guides":[()=>import("./DYC3Q36R.js"),"calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],"arcgis-charts-config-guides-type-popover":[()=>import("./WASEMNYV.js"),"enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],"arcgis-charts-config-heat-chart":[()=>import("./RFQBUWOW.js"),"layer:,model:,page,popupTemplateFieldInfosEnabled,usePopupTemplateFieldsInfo"],"arcgis-charts-config-heat-chart-data":[()=>import("./7HIZH35G.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-heat-chart-popover":[()=>import("./CCR46UHB.js"),"colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-histogram":[()=>import("./G7TRU7JI.js"),"calculatedMinMaxBounds:,chartData:,layer:,model:,page,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-histogram-data":[()=>import("./NQQW4GKA.js"),"countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],"arcgis-charts-config-histogram-popover":[()=>import("./NJCZ6UTM.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],"arcgis-charts-config-invalid-input-message":[()=>import("./HCMD362H.js"),"invalidInputMessage,isInvalid"],"arcgis-charts-config-line-chart":[()=>import("./LDPHZHSF.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-line-chart-data":[()=>import("./E43KEVHT.js"),"layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:"],"arcgis-charts-config-line-chart-popover":[()=>import("./NNNTZU5J.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-line-chart-series":[()=>import("./3DK6M5E7.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-line-chart-series-popover":[()=>import("./KVGEY3IQ.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-line-style":[()=>import("./5JML3JUR.js"),"enableClose,header,lineStyle:,messageOverrides:,open,usePanel"],"arcgis-charts-config-number-format":[()=>import("./LONASKGH.js"),"messageOverrides:,numberFormat:"],"arcgis-charts-config-pie-chart":[()=>import("./PSO5AURI.js"),"calculatedMinMaxBounds:,chartData:,filterBySelection,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-pie-chart-data":[()=>import("./NMB6TWC2.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-pie-chart-popover":[()=>import("./F7Y6EWWB.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-pie-chart-slices":[()=>import("./NGPMU4T3.js"),"chartData:,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-pie-chart-slices-popover":[()=>import("./EXTKNE2L.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSliceId;reposition"],"arcgis-charts-config-scatter-plot":[()=>import("./LWODMEOP.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,r2,usePopupTemplateFieldsInfo"],"arcgis-charts-config-scatter-plot-data":[()=>import("./UT6G7RV7.js"),"isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2"],"arcgis-charts-config-scatter-plot-popover":[()=>import("./IUFXFWXH.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-select-chart-type-popover":[()=>import("./TXSWWAOF.js"),"headerTitle,isRasterBarChartSupported,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],"arcgis-charts-config-view-charts":[()=>import("./TZB57XD4.js"),"disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],"arcgis-charts-info-modal":[()=>import("./23YH7MTF.js"),"calciteThemeColors:,heading,loaderColors:,message,showLoader"]});r({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync('@layer{:not([hydrated]):is(arcgis-chart,arcgis-charts-action-bar){visibility:hidden}:root,:host{--arcgis-charts-config-calcite-block-default-width: 100%;--arcgis-charts-config-calcite-block-default-height: auto;--arcgis-charts-config-default-max-width: 100%;--arcgis-charts-config-default-max-height: 100%;--arcgis-charts-background: rgb(223, 223, 223);--calcite-ui-foreground: rgb(223, 223, 223);--calcite-app-background-content: rgb(0, 0, 0, 0);--config-width: 40%;--config-height: 600px;--placement-direction: "row"}:root{--arcgis-charts-curtain-opacity: 1;--arcgis-charts-popup-ol-padding: 2em;--arcgis-charts-popup-body-padding-left: 0;--arcgis-charts-default-width: 100%;--arcgis-charts-default-height: 100%;--arcgis-charts-config-calcite-block-default-margin: 0;--arcgis-charts-config-margin-minor: .5rem;--arcgis-charts-config-margin-major: 1rem;--arcgis-charts-inter-section-margin: .9rem;--arcgis-charts-intra-section-margin: .3rem;--arcgis-charts-top-section-margin: .6rem;--arcgis-charts-input-height: 2.4rem;--arcgis-charts-panel-padding: 0 1rem;--arcgis-charts-border-radius: .2rem;--arcgis-charts-input-background: #ffffff;--arcgis-charts-border: #eaeaea;--arcgis-charts-border-hover: #dfdfdf;--arcgis-charts-border-invalid: red;--arcgis-charts-background-clear: transparent;--arcgis-charts-dim-text: rgb(150, 150, 150);--arcgis-charts-side-spacing: 1rem;--arcgis-charts-side-spacing-three-quarters: calc(var(--arcgis-charts-side-spacing) * 3 / 4);--arcgis-charts-side-spacing-half: calc(var(--arcgis-charts-side-spacing) / 2);--arcgis-charts-side-spacing-third: calc(var(--arcgis-charts-side-spacing) / 3);--arcgis-charts-side-spacing-quarter: calc(var(--arcgis-charts-side-spacing) / 4);--arcgis-charts-side-spacing-eighth: calc(var(--arcgis-charts-side-spacing) / 8);--arcgis-charts-side-spacing-plus-half: calc(var(--arcgis-charts-side-spacing) * 1.5);--arcgis-charts-side-spacing-double: calc(var(--arcgis-charts-side-spacing) * 2)}}');document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];export{i as createModel};window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a);(($arcgis.importMap??={}).imports??={})["@arcgis/charts-components"]=import.meta.url
2
+ import{G as a,q as e}from"./RIM4HLHN.js";import{a as i}from"./2OXJ5CIC.js";import"./KDJ5RVHA.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import"./U67P6YAZ.js";var r=e(a,{"arcgis-chart":[()=>import("./VJFHFI6U.js"),"_commonStrings:,_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,calciteThemingCSSVariables:,chartIndex,chartLimits:,chartWillRender:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,filterByViewExtent,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,interactionsDisabled,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,popupTemplateFieldInfosEnabled,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotated,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncChartsSelection,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,syncViewTimeExtent,syncViewTimeZone,syncViewTimeZoneInclusionList:,timeZone,togglingLegendItemsDisabled,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,destroy,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],"arcgis-charts-action-bar":[()=>import("./IRJ2YA3P.js"),"_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,csvExportExclusionList:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],"arcgis-charts-config-axes":[()=>import("./LU5S2VRK.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],"arcgis-charts-config-axis":[()=>import("./3CRUKP7D.js"),"axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],"arcgis-charts-config-bar-chart":[()=>import("./B34ZX3IO.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-bar-chart-data":[()=>import("./Q5J2S3DE.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-bar-chart-popover":[()=>import("./JMLS3OCC.js"),"contentKind,headingTitle,isCustomSortDisabled,isNoAggregationDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-bar-chart-series":[()=>import("./4ZGGMYAW.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-bar-chart-series-popover":[()=>import("./CRCAJAFA.js"),"messageOverrides:,nullCategory:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-box-plot":[()=>import("./HXR7LXG4.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-box-plot-data":[()=>import("./BMAAWO5F.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-box-plot-popover":[()=>import("./AHTGZ4MH.js"),"contentKind,headingTitle,isCustomSortDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-box-plot-series":[()=>import("./CG6MYXFY.js"),"activeColorMatch,configSeriesOpen,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-box-plot-series-popover":[()=>import("./3SBYV6BW.js"),"isLineSymbol,labelCanBeConfigured,messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-category-format":[()=>import("./SZOAGNYC.js"),"categoryFormat:,messageOverrides:"],"arcgis-charts-config-chart-rename-popover":[()=>import("./YVOKQFAW.js"),"messageOverrides:,name,open,referenceElement:;reposition"],"arcgis-charts-config-color-style":[()=>import("./J2HYDDIW.js"),"enableClose,header,messageOverrides:,open,selectedColor:"],"arcgis-charts-config-colors":[()=>import("./ABAERFCU.js"),"heading,messageOverrides:,rgba:"],"arcgis-charts-config-create-flow":[()=>import("./RQN3DHRN.js"),"activeLayerId,calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,chartData:,close,disableEditing,filterBySelection,headerTitle,layerList:,messageOverrides:,modelList:,panelNumber,popoverPlacement,popupTemplateFieldInfosEnabled,r2,selectedChartId,seriesColor:,syncChartsToLayers,timeZone,usePopupTemplateFieldsInfo;setFocus"],"arcgis-charts-config-field-select":[()=>import("./AZY72Q7D.js"),"disabled,invalid,label"],"arcgis-charts-config-font-style":[()=>import("./TH2F4GPI.js"),"enableClose,fontStyle:,header,messageOverrides:,open"],"arcgis-charts-config-format":[()=>import("./K5AZMQ5Q.js"),"messageOverrides:,model:"],"arcgis-charts-config-format-popover":[()=>import("./A636YSNA.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-general":[()=>import("./EHMSOPGV.js"),"messageOverrides:,model:,open"],"arcgis-charts-config-guide":[()=>import("./7C6E54U5.js"),"calculatedMinMaxBounds:,index,latestGuidePosition,messageOverrides:,model:,orientation,timeZone"],"arcgis-charts-config-guide-popover":[()=>import("./O533LNDP.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-guides":[()=>import("./ZW4PF3UK.js"),"calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],"arcgis-charts-config-guides-type-popover":[()=>import("./QNT6HTFC.js"),"enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],"arcgis-charts-config-heat-chart":[()=>import("./NI4KTOCF.js"),"layer:,model:,page,popupTemplateFieldInfosEnabled,usePopupTemplateFieldsInfo"],"arcgis-charts-config-heat-chart-data":[()=>import("./7473JWME.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-heat-chart-popover":[()=>import("./E44C5J3E.js"),"colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-histogram":[()=>import("./7X5P6K2W.js"),"calculatedMinMaxBounds:,chartData:,layer:,model:,page,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-histogram-data":[()=>import("./PKCOYJHN.js"),"countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],"arcgis-charts-config-histogram-popover":[()=>import("./5B7SUFIW.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],"arcgis-charts-config-invalid-input-message":[()=>import("./54CA4NEA.js"),"invalidInputMessage,isInvalid"],"arcgis-charts-config-line-chart":[()=>import("./OYQK2TIQ.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-line-chart-data":[()=>import("./STTG3UAJ.js"),"layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:"],"arcgis-charts-config-line-chart-popover":[()=>import("./GIBMAXXC.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-line-chart-series":[()=>import("./VK4OJOVV.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-line-chart-series-popover":[()=>import("./JQ7KK2TT.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-line-style":[()=>import("./QEC5EZ6Q.js"),"enableClose,header,lineStyle:,messageOverrides:,open,usePanel"],"arcgis-charts-config-number-format":[()=>import("./CPT6BODA.js"),"messageOverrides:,numberFormat:"],"arcgis-charts-config-pie-chart":[()=>import("./Z2Z3DPFE.js"),"calculatedMinMaxBounds:,chartData:,filterBySelection,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-pie-chart-data":[()=>import("./L52YJC6U.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-pie-chart-popover":[()=>import("./2YRBTD5E.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-pie-chart-slices":[()=>import("./4MBX554Q.js"),"chartData:,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-pie-chart-slices-popover":[()=>import("./XRLVJJBT.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSliceId;reposition"],"arcgis-charts-config-scatter-plot":[()=>import("./I4MM4T5T.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,r2,usePopupTemplateFieldsInfo"],"arcgis-charts-config-scatter-plot-data":[()=>import("./74UHJFPH.js"),"isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2"],"arcgis-charts-config-scatter-plot-popover":[()=>import("./QID7XRNR.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-select-chart-type-popover":[()=>import("./3MKY6UCO.js"),"headerTitle,isRasterBarChartSupported,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],"arcgis-charts-config-view-charts":[()=>import("./FGRHILPJ.js"),"disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],"arcgis-charts-info-modal":[()=>import("./TCS4HOSG.js"),"calciteThemeColors:,heading,loaderColors:,message,showLoader"]});r({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync('@layer{:not([hydrated]):is(arcgis-chart,arcgis-charts-action-bar){visibility:hidden}:root,:host{--arcgis-charts-config-calcite-block-default-width: 100%;--arcgis-charts-config-calcite-block-default-height: auto;--arcgis-charts-config-default-max-width: 100%;--arcgis-charts-config-default-max-height: 100%;--arcgis-charts-background: rgb(223, 223, 223);--calcite-ui-foreground: rgb(223, 223, 223);--calcite-app-background-content: rgb(0, 0, 0, 0);--config-width: 40%;--config-height: 600px;--placement-direction: "row"}:root{--arcgis-charts-curtain-opacity: 1;--arcgis-charts-popup-ol-padding: 2em;--arcgis-charts-popup-body-padding-left: 0;--arcgis-charts-default-width: 100%;--arcgis-charts-default-height: 100%;--arcgis-charts-config-calcite-block-default-margin: 0;--arcgis-charts-config-margin-minor: .5rem;--arcgis-charts-config-margin-major: 1rem;--arcgis-charts-inter-section-margin: .9rem;--arcgis-charts-intra-section-margin: .3rem;--arcgis-charts-top-section-margin: .6rem;--arcgis-charts-input-height: 2.4rem;--arcgis-charts-panel-padding: 0 1rem;--arcgis-charts-border-radius: .2rem;--arcgis-charts-input-background: #ffffff;--arcgis-charts-border: #eaeaea;--arcgis-charts-border-hover: #dfdfdf;--arcgis-charts-border-invalid: red;--arcgis-charts-background-clear: transparent;--arcgis-charts-dim-text: rgb(150, 150, 150);--arcgis-charts-side-spacing: 1rem;--arcgis-charts-side-spacing-three-quarters: calc(var(--arcgis-charts-side-spacing) * 3 / 4);--arcgis-charts-side-spacing-half: calc(var(--arcgis-charts-side-spacing) / 2);--arcgis-charts-side-spacing-third: calc(var(--arcgis-charts-side-spacing) / 3);--arcgis-charts-side-spacing-quarter: calc(var(--arcgis-charts-side-spacing) / 4);--arcgis-charts-side-spacing-eighth: calc(var(--arcgis-charts-side-spacing) / 8);--arcgis-charts-side-spacing-plus-half: calc(var(--arcgis-charts-side-spacing) * 1.5);--arcgis-charts-side-spacing-double: calc(var(--arcgis-charts-side-spacing) * 2)}}');document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];export{i as createModel};window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r,p,j,i=(a.importMap??={}).imports??={})=>{"model/shared/setup-utils".split(",").map(e=>i[p+e+j]=i[p+e]=import.meta.resolve("./"+e+j));a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a,"@arcgis/charts-components/",".js");(($arcgis.importMap??={}).imports??={})["@arcgis/charts-components"]=import.meta.url
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a}from"../../2OXJ5CIC.js";import"../../KDJ5RVHA.js";import"../../QP5UAIC6.js";import"../../XJFVSX2E.js";import"../../547RDEMV.js";import"../../U67P6YAZ.js";export{a as createModel};
@@ -1,6 +1,10 @@
1
1
  import type { WebChartSortOrderKinds } from "../../../../../spec/chart-object-literals.js";
2
2
 
3
- /** Ordering instructions to use when sorting chart data. */
3
+ /**
4
+ * Ordering instructions to use when sorting chart data.
5
+ *
6
+ * @internal
7
+ */
4
8
  export interface DataOrderParameters {
5
9
  sortingField: string;
6
10
  orderBy?: string[] | WebChartSortOrderKinds;
@@ -43,7 +43,7 @@ export type GuideTooltipFormatCallback = (props: GuideTooltipFormatCallbackProps
43
43
  export type AxisLabelFormatCallback = (value: Date | number | string | null, originalValue?: WebChartDataItemValue) => string;
44
44
 
45
45
  /**
46
- * Describes the signature of the callback function used to customize a gauge inner label
46
+ * Describes the signature of the callback function used to customize a gauge inner label.
47
47
  *
48
48
  * @param value
49
49
  */
@@ -83,12 +83,12 @@ export interface ChartOptions {
83
83
  /** Indicates if the selection indexes need to be computed whenever a selection is made on or passed to the chart. */
84
84
  returnSelectionIndexes?: boolean;
85
85
  /**
86
- * Allows the features extent to be returned, through the `arcgisChartsJSDataProcessComplete` and `arcgisChartsJSSelectionComplete` events payload.
86
+ * Allows the features extent to be returned, through the [arcgis-chart.@arcgisDataProcessComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisDataProcessComplete) and [arcgis-chart.@arcgisSelectionComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisSelectionComplete) events payload.
87
87
  * Applies only to:
88
88
  * - Charts using an aggregation
89
89
  * - Data source using a feature layer compatible with envelope aggregation
90
90
  *
91
- * The extent (IExtent) is returned through a property called `arcgis_charts_features_extent`.
91
+ * The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
92
92
  */
93
93
  returnFeaturesExtent?: boolean;
94
94
  /**
@@ -125,7 +125,7 @@ export interface ChartOptions {
125
125
  * **Notes** When this property is set to true, the rendering performance for large datasets will be improved for column series charts,
126
126
  * like bar chart, combo bar-line chart, box plot and heat chart.
127
127
  *
128
- * @deprecated since 5.1. Use interactionsDisabled instead.
128
+ * @deprecated since 5.1. Use [interactionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-interactionsDisabled) instead.
129
129
  */
130
130
  disableInteractions?: boolean;
131
131
  /**
@@ -139,7 +139,7 @@ export interface ChartOptions {
139
139
  * Hide the series from the chart if it doesn't have data (i.e. empty).
140
140
  * For example, after apply data filters, filter by attribute or geometry (as when using the filter by extent).
141
141
  *
142
- * @deprecated since 5.1. Use showEmptySeries instead.
142
+ * @deprecated since 5.1. Use [showEmptySeries](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-showEmptySeries) instead.
143
143
  */
144
144
  hideEmptySeries?: boolean;
145
145
  /**
@@ -161,7 +161,7 @@ export interface ChartOptions {
161
161
  * When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
162
162
  * When this property is set to true, a process is applied to complete the dataset with 0s for the empty or missing categories, to display them on the chart without gaps.
163
163
  *
164
- * @deprecated since 5.1. Use hideZeroCountCategories instead.
164
+ * @deprecated since 5.1. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-hideZeroCountCategories) instead.
165
165
  */
166
166
  replaceNoValueCategoryWithZero?: boolean;
167
167
  /**
@@ -255,7 +255,7 @@ export interface ChartOptions {
255
255
  *
256
256
  * Not applicable to gauge.
257
257
  *
258
- * @deprecated since 5.1. Use togglingLegendItemsDisabled instead.
258
+ * @deprecated since 5.1. Use [togglingLegendItemsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-togglingLegendItemsDisabled) instead.
259
259
  */
260
260
  disableTogglingLegendItems?: boolean;
261
261
  /**
@@ -273,7 +273,7 @@ export interface ChartOptions {
273
273
  /**
274
274
  * When `true` read the fields from `layer.popupTemplate` and use their alias when rendering tooltips.
275
275
  *
276
- * @deprecated since 5.1. Use popupTemplateFieldInfosEnabled instead.
276
+ * @deprecated since 5.1. Use [popupTemplateFieldInfosEnabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-popupTemplateFieldInfosEnabled) instead.
277
277
  */
278
278
  usePopupTemplateFieldsInfo?: boolean;
279
279
  /** When `true` read the fields from `layer.popupTemplate` and use their alias when rendering tooltips. */