@arcgis/charts-components 5.0.0-next.2 → 5.0.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 (427) hide show
  1. package/dist/cdn/{6X4IOTIX.js → 27XFXHX3.js} +2 -2
  2. package/dist/cdn/{U7PC37X6.js → 2GTKWA5H.js} +2 -2
  3. package/dist/cdn/{6MANQPFR.js → 2LGKZA3D.js} +2 -2
  4. package/dist/cdn/{H55KMHCY.js → 2QKTTKXR.js} +2 -2
  5. package/dist/cdn/2QSUIX4S.js +4 -0
  6. package/dist/cdn/2RWSL7IX.js +4 -0
  7. package/dist/cdn/{RSHRZ4MU.js → 2SKLLTUK.js} +2 -2
  8. package/dist/cdn/2VILXJOT.js +4 -0
  9. package/dist/cdn/{B54HNL65.js → 2XT2IEZM.js} +2 -2
  10. package/dist/cdn/2YL53ROC.js +4 -0
  11. package/dist/cdn/{BJ437O6R.js → 33KUWTZT.js} +2 -2
  12. package/dist/cdn/37E7RGPD.js +58 -0
  13. package/dist/cdn/3A2O7DDS.js +4 -0
  14. package/dist/cdn/{37KGNLME.js → 3BISEDHE.js} +2 -2
  15. package/dist/cdn/{QVFF3NZF.js → 3DBFREGP.js} +2 -2
  16. package/dist/cdn/3DMAIADS.js +4 -0
  17. package/dist/cdn/3H6MQGAF.js +4 -0
  18. package/dist/cdn/3HOM2AAM.js +4 -0
  19. package/dist/cdn/{UR6AIX3U.js → 3PSCXSCX.js} +2 -2
  20. package/dist/cdn/{KCZ3WIW6.js → 3QQT2OFZ.js} +2 -2
  21. package/dist/cdn/{2WEBNHQN.js → 3VLDLE6L.js} +2 -2
  22. package/dist/cdn/3YBDI7B2.js +4 -0
  23. package/dist/cdn/{7EOQ5TCI.js → 3Z3H7AJK.js} +2 -2
  24. package/dist/cdn/45775PJA.js +4 -0
  25. package/dist/cdn/{IIU7SIYD.js → 4BOV2Y63.js} +2 -2
  26. package/dist/cdn/{YWQ4X7JY.js → 4DBXVCU5.js} +2 -2
  27. package/dist/cdn/{ROQWPMNA.js → 4FJ6DD46.js} +2 -2
  28. package/dist/cdn/{QO2W5K2E.js → 4IELDMUR.js} +2 -2
  29. package/dist/cdn/{EVHG3NOW.js → 4LUTUOMB.js} +2 -2
  30. package/dist/cdn/{Z72YZBVK.js → 4QEL6SWZ.js} +2 -2
  31. package/dist/cdn/{KSIS2GMN.js → 4SSTFMY7.js} +2 -2
  32. package/dist/cdn/56I7NHOB.js +4 -0
  33. package/dist/cdn/5JRBTMQB.js +4 -0
  34. package/dist/cdn/{QFDNK4AG.js → 5LWSMXGB.js} +2 -2
  35. package/dist/cdn/5ZZTHPU3.js +4 -0
  36. package/dist/cdn/6BBA432G.js +4 -0
  37. package/dist/cdn/{E7J2SU77.js → 6HNTAPCU.js} +2 -2
  38. package/dist/cdn/{H7A6K4TS.js → 6OH6RCK2.js} +2 -2
  39. package/dist/cdn/6OKM2AD7.js +4 -0
  40. package/dist/cdn/{4LKCRN7B.js → 6SJFVCSA.js} +2 -2
  41. package/dist/cdn/{IOESBG3D.js → 6WOSWGX2.js} +2 -2
  42. package/dist/cdn/{RQYYBI4H.js → 6X3NOINZ.js} +1 -1
  43. package/dist/cdn/77TQR4ZW.js +4 -0
  44. package/dist/cdn/7CSVCFNW.js +4 -0
  45. package/dist/cdn/7E2TXYCU.js +4 -0
  46. package/dist/cdn/{GG7SUIY3.js → 7INUYOOA.js} +2 -2
  47. package/dist/cdn/{R3PMNECX.js → 7JN3FSLF.js} +2 -2
  48. package/dist/cdn/{J5N73PSS.js → 7RMKZ4PY.js} +2 -2
  49. package/dist/cdn/{WSRS6VM3.js → 7ZDGHDOM.js} +2 -2
  50. package/dist/cdn/A36CMQLA.js +4 -0
  51. package/dist/cdn/{O2CFKWNX.js → ADLS2ZLX.js} +2 -2
  52. package/dist/cdn/AEPH7374.js +4 -0
  53. package/dist/cdn/{FLEXUMVX.js → ALOVAZQZ.js} +2 -2
  54. package/dist/cdn/{J55STN4N.js → AN4HYYA6.js} +2 -2
  55. package/dist/cdn/AS2DLPC7.js +4 -0
  56. package/dist/cdn/ATDRUK5H.js +4 -0
  57. package/dist/cdn/AUY2C3MV.js +4 -0
  58. package/dist/cdn/AYUFTRIT.js +4 -0
  59. package/dist/cdn/{QT4EBDYM.js → B6DGELGV.js} +2 -2
  60. package/dist/cdn/{QUALYXLD.js → B6EUGEFM.js} +2 -2
  61. package/dist/cdn/{JJ3HEDMX.js → BCRSZBJ4.js} +2 -2
  62. package/dist/cdn/{KH24YX2V.js → BCVSCME7.js} +2 -2
  63. package/dist/cdn/{ALPDGAEI.js → BEJPPLLY.js} +3 -3
  64. package/dist/cdn/BL24Q2DY.js +4 -0
  65. package/dist/cdn/BT3MLYYC.js +4 -0
  66. package/dist/cdn/{FZHL35W5.js → BTJD7NJJ.js} +2 -2
  67. package/dist/cdn/BVI2CNZ4.js +4 -0
  68. package/dist/cdn/BWIAZPK7.js +4 -0
  69. package/dist/cdn/C4RKHVAB.js +4 -0
  70. package/dist/cdn/{SQCQR2L2.js → CWCJ67DX.js} +1 -1
  71. package/dist/cdn/DGL5MMG2.js +4 -0
  72. package/dist/cdn/{IAODGTXG.js → DIBR77KB.js} +2 -2
  73. package/dist/cdn/{DZHN5VUX.js → DTZBBW3J.js} +2 -2
  74. package/dist/cdn/DVUF3VD6.js +4 -0
  75. package/dist/cdn/{UBMVTRQT.js → DXBRNGNX.js} +2 -2
  76. package/dist/cdn/E7AI2PIF.js +4 -0
  77. package/dist/cdn/{MWYGGYUB.js → EGXV5J2I.js} +2 -2
  78. package/dist/cdn/{4VEYBWNU.js → ENYRGENB.js} +2 -2
  79. package/dist/cdn/EVKL64OR.js +4 -0
  80. package/dist/cdn/{OWIU32TC.js → F3BSM26R.js} +1 -1
  81. package/dist/cdn/FHRNXBNT.js +4 -0
  82. package/dist/cdn/FJU67NCM.js +4 -0
  83. package/dist/cdn/{U4IE7DFG.js → FLQVC3QN.js} +1 -1
  84. package/dist/cdn/FOEFA6XN.js +4 -0
  85. package/dist/cdn/FTB74LRR.js +4 -0
  86. package/dist/cdn/{KRIG7CPX.js → FVW7NJSZ.js} +2 -2
  87. package/dist/cdn/{BUEMLPMQ.js → GDA7PY47.js} +1 -1
  88. package/dist/cdn/{XSAIZFKV.js → GDH5MMXJ.js} +2 -2
  89. package/dist/cdn/HTUWZPXF.js +4 -0
  90. package/dist/cdn/{6G2R3MN5.js → I3XNEEG3.js} +2 -2
  91. package/dist/cdn/I5A4I3KQ.js +4 -0
  92. package/dist/cdn/{ZDMEEWOX.js → IADBQMEH.js} +2 -2
  93. package/dist/cdn/{CXRCG5DA.js → IAUJMVQ2.js} +2 -2
  94. package/dist/cdn/{GF2COPTT.js → ILBYEM4Q.js} +2 -2
  95. package/dist/cdn/{7OCR5LGZ.js → IRT2BB2N.js} +1 -1
  96. package/dist/cdn/ITA3V35F.js +4 -0
  97. package/dist/cdn/{IVURDFPA.js → JQD4UPZS.js} +2 -2
  98. package/dist/cdn/JRCM3ZZS.js +4 -0
  99. package/dist/cdn/JZP5EKAS.js +4 -0
  100. package/dist/cdn/K3VQ7SOM.js +4 -0
  101. package/dist/cdn/K5QIOPE3.js +4 -0
  102. package/dist/cdn/KDJVFOEU.js +4 -0
  103. package/dist/cdn/KFAH7XXB.js +4 -0
  104. package/dist/cdn/{6ARHZZVD.js → KIHFM4UW.js} +2 -2
  105. package/dist/cdn/KII6BNEA.js +4 -0
  106. package/dist/cdn/{CTBTU6R7.js → KIR56BS5.js} +2 -2
  107. package/dist/cdn/{DLU3HUP7.js → KMD36BPP.js} +2 -2
  108. package/dist/cdn/{H2UPKR6S.js → KMZACD46.js} +2 -2
  109. package/dist/cdn/{OWBI3ZU7.js → KT4MZPI5.js} +2 -2
  110. package/dist/cdn/KU6KRXTD.js +4 -0
  111. package/dist/cdn/KWSSY2YG.js +4 -0
  112. package/dist/cdn/{3ZV3NNGN.js → L6UUC2GI.js} +1 -1
  113. package/dist/cdn/{YAGWLY75.js → LAF3DUQE.js} +2 -2
  114. package/dist/cdn/LF7YJBPT.js +4 -0
  115. package/dist/cdn/{GMEM7HDR.js → LGG6TMNC.js} +2 -2
  116. package/dist/cdn/LH2XZLNO.js +4 -0
  117. package/dist/cdn/{XJF6GKGF.js → LM3OOFPM.js} +2 -2
  118. package/dist/cdn/{S7VLGFBV.js → LQEMVEGU.js} +2 -2
  119. package/dist/cdn/{YLZX2MHJ.js → LQF35FG3.js} +2 -2
  120. package/dist/cdn/{LOTUCDOA.js → LSOZEH46.js} +1 -1
  121. package/dist/cdn/M3WEYTH3.js +4 -0
  122. package/dist/cdn/MLRU55AD.js +4 -0
  123. package/dist/cdn/{ZDENIMCH.js → MVCPUXFX.js} +2 -2
  124. package/dist/cdn/{6YTCTNPK.js → NALBE2KT.js} +2 -2
  125. package/dist/cdn/{34XV3PST.js → NAXC3EBC.js} +1 -1
  126. package/dist/cdn/{R3G5M4F7.js → NJB5K5JL.js} +2 -2
  127. package/dist/cdn/{4FGITNJL.js → NKZDAPEF.js} +2 -2
  128. package/dist/cdn/{5U4QI3M3.js → NLIO3CCN.js} +2 -2
  129. package/dist/cdn/NLNGAKVV.js +4 -0
  130. package/dist/cdn/NM5GSIVR.js +4 -0
  131. package/dist/cdn/{6HMKNYAB.js → NZYB5FHU.js} +2 -2
  132. package/dist/cdn/O3Z6UI77.js +4 -0
  133. package/dist/cdn/OMYA6OIW.js +4 -0
  134. package/dist/cdn/{STTIBK4B.js → OY2YV2JP.js} +2 -2
  135. package/dist/cdn/{A4BYZFQP.js → PAS7LG4L.js} +2 -2
  136. package/dist/cdn/{GZJQC62G.js → PZMADEY3.js} +2 -2
  137. package/dist/cdn/{AKSR565H.js → Q5TR7VJT.js} +2 -2
  138. package/dist/cdn/QBXIU4YH.js +42 -0
  139. package/dist/cdn/{P6E42R4P.js → QKDL5MZQ.js} +2 -2
  140. package/dist/cdn/{VA7NRPXH.js → QV63CON6.js} +2 -2
  141. package/dist/cdn/RG5MV5UQ.js +4 -0
  142. package/dist/cdn/RHKK3RMO.js +4 -0
  143. package/dist/cdn/{PC6FCSDX.js → RHYXGTHM.js} +2 -2
  144. package/dist/cdn/{MAMDCTEO.js → RIIIVJLP.js} +2 -2
  145. package/dist/cdn/RV6XNEGA.js +4 -0
  146. package/dist/cdn/SACMBQQE.js +4 -0
  147. package/dist/cdn/SQWACKER.js +4 -0
  148. package/dist/cdn/{TQ4SKFMX.js → ST6LAIAP.js} +2 -2
  149. package/dist/cdn/{O2MX3VL7.js → SWIWUWM6.js} +2 -2
  150. package/dist/cdn/{PGLIJUXT.js → T6XDJGHP.js} +2 -2
  151. package/dist/cdn/{JFODPCBN.js → TJEXEEIW.js} +2 -2
  152. package/dist/cdn/TVY5A5W3.js +4 -0
  153. package/dist/cdn/U2N5M3G6.js +4 -0
  154. package/dist/cdn/UEQU7T6L.js +4 -0
  155. package/dist/cdn/{HJPNRGYL.js → UFL5N6OV.js} +2 -2
  156. package/dist/cdn/{OFLIEREM.js → UXLQ7M3B.js} +2 -2
  157. package/dist/cdn/{YGKNSXIY.js → V5K3XKFG.js} +2 -2
  158. package/dist/cdn/VJKH6CJN.js +4 -0
  159. package/dist/cdn/{5BZKB5WN.js → VO5QPZD7.js} +2 -2
  160. package/dist/cdn/{RRBCAYMC.js → W2ISC3E6.js} +2 -2
  161. package/dist/cdn/{LDBUAPTJ.js → W6GYOREV.js} +2 -2
  162. package/dist/cdn/WHA4WMJN.js +4 -0
  163. package/dist/cdn/{KMANLUX6.js → WJMUP3NY.js} +2 -2
  164. package/dist/cdn/{7CQNT5AG.js → WSRLORRS.js} +2 -2
  165. package/dist/cdn/WZFIJ2YC.js +4 -0
  166. package/dist/cdn/{YPC6LVPV.js → XBSU5RMI.js} +2 -2
  167. package/dist/cdn/{FSO7EWOR.js → XEZUUESQ.js} +2 -2
  168. package/dist/cdn/XKGITGT4.js +4 -0
  169. package/dist/cdn/XNEVNDQM.js +4 -0
  170. package/dist/cdn/XOUCFNJO.js +4 -0
  171. package/dist/cdn/{O4CVPZBZ.js → YBUQ2CZN.js} +2 -2
  172. package/dist/cdn/YHTDEGGL.js +4 -0
  173. package/dist/cdn/{7KDPHVPV.js → YMXAYPQF.js} +2 -2
  174. package/dist/cdn/YNTNCLUF.js +4 -0
  175. package/dist/cdn/YOCJL575.js +4 -0
  176. package/dist/cdn/{OG7U546P.js → YSC56A32.js} +2 -2
  177. package/dist/cdn/{W7UZLF7Y.js → ZA2QWT56.js} +2 -2
  178. package/dist/cdn/ZEXQVTYO.js +4 -0
  179. package/dist/cdn/ZG54HWVW.js +4 -0
  180. package/dist/cdn/{CX4UFCYA.js → ZJRC5EPB.js} +2 -2
  181. package/dist/cdn/ZPSD5J36.js +4 -0
  182. package/dist/cdn/{CORIQ62W.js → ZR2JJJTB.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
  185. package/dist/chart-rendering/common/config-utils/index.d.ts +11 -16
  186. package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
  187. package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
  188. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +0 -8
  189. package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
  190. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +1 -0
  191. package/dist/chart-rendering/common/defaults/interfaces.d.ts +4 -6
  192. package/dist/chart-rendering/common/interfaces.d.ts +11 -6
  193. package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
  194. package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
  195. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
  196. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
  197. package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
  198. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  199. package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  200. package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
  201. package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
  202. package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
  203. package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
  204. package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
  205. package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
  206. package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
  207. package/dist/chart-rendering/next/index.d.ts +2 -2
  208. package/dist/chart-rendering/next/utils/index.d.ts +14 -0
  209. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  210. package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  211. package/dist/chart-rendering/stable/index.d.ts +5 -3
  212. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
  213. package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
  214. package/dist/chunks/action-bar-utils.js +25 -16
  215. package/dist/chunks/axis-model-wrapper.js +1 -1
  216. package/dist/chunks/bar-chart-model.js +2 -2
  217. package/dist/chunks/bar-chart-series.js +1 -1
  218. package/dist/chunks/baseline-stacking.js +2 -2
  219. package/dist/chunks/bg_BG.js +1 -1
  220. package/dist/chunks/bg_BG2.js +1 -1
  221. package/dist/chunks/box-plot-data.js +164 -162
  222. package/dist/chunks/box-plot-model.js +41 -43
  223. package/dist/chunks/chart-ui-utils.js +1 -1
  224. package/dist/chunks/chart-ui-utils2.js +12 -12
  225. package/dist/chunks/combo-bar-line-chart-model.js +32 -46
  226. package/dist/chunks/common.js +1 -1
  227. package/dist/chunks/config-update.js +2174 -2179
  228. package/dist/chunks/data.js +330 -330
  229. package/dist/chunks/default.js +1 -1
  230. package/dist/chunks/gauge-model.js +11 -11
  231. package/dist/chunks/heat-chart-model.js +166 -49
  232. package/dist/chunks/histogram-data.js +9 -9
  233. package/dist/chunks/histogram-model.js +2 -2
  234. package/dist/chunks/index.js +440 -5953
  235. package/dist/chunks/index2.js +2 -2
  236. package/dist/chunks/index3.js +2 -2
  237. package/dist/chunks/index4.js +1 -1
  238. package/dist/chunks/index5.js +1 -1
  239. package/dist/chunks/interfaces.js +7846 -2264
  240. package/dist/chunks/interfaces2.js +1 -1
  241. package/dist/chunks/interfaces3.js +1 -1
  242. package/dist/chunks/interfaces4.js +8 -8
  243. package/dist/chunks/line-chart-model.js +6 -6
  244. package/dist/chunks/model-with-baseline-stacking.js +18 -28
  245. package/dist/chunks/model-with-data-labels.js +2 -2
  246. package/dist/chunks/model-with-multi-axes.js +30 -70
  247. package/dist/chunks/model-with-rotation.js +2 -2
  248. package/dist/chunks/pie-chart-data.js +83 -77
  249. package/dist/chunks/pie-chart-model.js +25 -25
  250. package/dist/chunks/popover-ui-utils.js +1 -1
  251. package/dist/chunks/radar-chart-model.js +6 -6
  252. package/dist/chunks/resource.js +1 -1
  253. package/dist/chunks/rest-js-object-literals.js +1 -1
  254. package/dist/chunks/runtime.js +1 -1
  255. package/dist/chunks/scatterplot-model.js +2 -2
  256. package/dist/chunks/serial-chart-model.js +23 -23
  257. package/dist/chunks/series-types.js +1 -1
  258. package/dist/chunks/series.js +2 -2
  259. package/dist/chunks/sk_SK.js +1 -1
  260. package/dist/chunks/store.js +22 -13
  261. package/dist/chunks/type-guards.js +1 -1
  262. package/dist/chunks/useT9n.js +1 -1
  263. package/dist/chunks/web-component-utils.js +30 -30
  264. package/dist/components/arcgis-chart/customElement.d.ts +7 -10
  265. package/dist/components/arcgis-chart/customElement.js +6200 -6089
  266. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  267. package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
  268. package/dist/components/arcgis-charts-config-axis/customElement.js +3 -3
  269. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +3 -3
  270. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +111 -107
  271. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +7 -7
  272. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -4
  273. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
  274. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
  275. package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -3
  276. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
  277. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +36 -36
  278. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  279. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -4
  280. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  281. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
  282. package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
  283. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-create-flow/customElement.js +67 -67
  285. package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
  286. package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
  287. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  288. package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
  289. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  290. package/dist/components/arcgis-charts-config-guide/customElement.js +26 -26
  291. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
  292. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  293. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
  294. package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -3
  295. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
  296. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -4
  297. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -3
  299. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +52 -48
  300. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -6
  301. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  302. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
  303. package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
  304. package/dist/components/arcgis-charts-config-number-format/customElement.js +6 -6
  305. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +3 -3
  306. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -5
  307. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +8 -8
  308. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  309. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -4
  310. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
  311. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +38 -35
  312. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -4
  313. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -3
  314. package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
  315. package/dist/docs/api.json +6 -90
  316. package/dist/docs/docs.json +87 -91
  317. package/dist/docs/vscode.html-custom-data.json +1 -1
  318. package/dist/docs/web-types.json +3 -3
  319. package/dist/index.js +206 -205
  320. package/dist/json-schema/index.d.ts +4 -0
  321. package/dist/loader.js +1 -1
  322. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
  323. package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
  324. package/dist/model/chart-model/chart-model.d.ts +8 -23
  325. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
  326. package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
  327. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
  328. package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
  329. package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
  330. package/dist/model/mixins/model-with-multi-axes.d.ts +21 -47
  331. package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
  332. package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
  334. package/dist/model/serial-chart-model/serial-chart-model.d.ts +2 -4
  335. package/dist/model/shared/axes.d.ts +0 -3
  336. package/dist/model.js +1 -1
  337. package/dist/spec/data-source.d.ts +5 -0
  338. package/dist/spec/web-chart.d.ts +2 -2
  339. package/dist/store.d.ts +24 -3
  340. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -8
  341. package/dist/utils/chart-config/converter/index.d.ts +3 -3
  342. package/dist/utils/chart-config/utils/index.d.ts +7 -0
  343. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  344. package/dist/utils/components/config-update.d.ts +11 -3
  345. package/dist/utils/layer/interfaces.d.ts +1 -0
  346. package/dist/utils/layer/query-parser/index.d.ts +8 -0
  347. package/dist/utils/layer/utils/index.d.ts +3 -3
  348. package/package.json +5 -5
  349. package/dist/cdn/26ZDKIM2.js +0 -4
  350. package/dist/cdn/2722MDKQ.js +0 -4
  351. package/dist/cdn/2GXXGXVH.js +0 -4
  352. package/dist/cdn/2OF4P5LU.js +0 -4
  353. package/dist/cdn/2ZDHGQFG.js +0 -4
  354. package/dist/cdn/4IIZMUKW.js +0 -4
  355. package/dist/cdn/4OPEZPGO.js +0 -4
  356. package/dist/cdn/53YQPQU7.js +0 -4
  357. package/dist/cdn/5QEGZD45.js +0 -4
  358. package/dist/cdn/65CIPXBU.js +0 -4
  359. package/dist/cdn/7BZGKSJP.js +0 -4
  360. package/dist/cdn/7VA7HFFX.js +0 -4
  361. package/dist/cdn/AQP4LAW6.js +0 -4
  362. package/dist/cdn/B3SKHW55.js +0 -4
  363. package/dist/cdn/B56HEX5S.js +0 -4
  364. package/dist/cdn/BGU75DEL.js +0 -4
  365. package/dist/cdn/BZEZGR3Q.js +0 -4
  366. package/dist/cdn/CN6C7CKP.js +0 -4
  367. package/dist/cdn/CODB7654.js +0 -4
  368. package/dist/cdn/DAFES5NQ.js +0 -4
  369. package/dist/cdn/DBCE6YK4.js +0 -4
  370. package/dist/cdn/DBOVM2GI.js +0 -4
  371. package/dist/cdn/DVYMNVKQ.js +0 -58
  372. package/dist/cdn/F4X5AZYC.js +0 -4
  373. package/dist/cdn/FCZE76ZT.js +0 -4
  374. package/dist/cdn/FQLRTUFP.js +0 -4
  375. package/dist/cdn/GB2LCBGU.js +0 -4
  376. package/dist/cdn/GLHSUPO2.js +0 -4
  377. package/dist/cdn/GOEKIBRP.js +0 -4
  378. package/dist/cdn/H7VGLHF3.js +0 -4
  379. package/dist/cdn/HCZCK553.js +0 -4
  380. package/dist/cdn/HQSU7XQD.js +0 -4
  381. package/dist/cdn/I4COPFSD.js +0 -4
  382. package/dist/cdn/I7XMRSKS.js +0 -4
  383. package/dist/cdn/IG6J4GJL.js +0 -4
  384. package/dist/cdn/IHGIFUEA.js +0 -4
  385. package/dist/cdn/IPZ3UP5O.js +0 -4
  386. package/dist/cdn/IVCEM4ZM.js +0 -4
  387. package/dist/cdn/KCQLJI57.js +0 -4
  388. package/dist/cdn/KNRKRRRO.js +0 -4
  389. package/dist/cdn/KYFOBNT7.js +0 -4
  390. package/dist/cdn/LWDUNAKP.js +0 -4
  391. package/dist/cdn/M2BNPJIN.js +0 -4
  392. package/dist/cdn/N7MD6SPR.js +0 -4
  393. package/dist/cdn/NGAGKKLX.js +0 -4
  394. package/dist/cdn/NHJSWMJ3.js +0 -4
  395. package/dist/cdn/NK55SOH6.js +0 -4
  396. package/dist/cdn/NN2EIGE6.js +0 -4
  397. package/dist/cdn/O3JYODXZ.js +0 -4
  398. package/dist/cdn/OHMBY6IK.js +0 -4
  399. package/dist/cdn/OMG6SL3T.js +0 -4
  400. package/dist/cdn/OMNGUMOT.js +0 -4
  401. package/dist/cdn/OTMFFLYC.js +0 -4
  402. package/dist/cdn/P5O2P2RF.js +0 -4
  403. package/dist/cdn/P5Q43U7B.js +0 -4
  404. package/dist/cdn/PFVQP4GC.js +0 -4
  405. package/dist/cdn/PKT6EC3O.js +0 -4
  406. package/dist/cdn/PNWEOTMI.js +0 -4
  407. package/dist/cdn/PRVCQVPA.js +0 -4
  408. package/dist/cdn/QZB4NFIW.js +0 -4
  409. package/dist/cdn/R2UESZZA.js +0 -4
  410. package/dist/cdn/RTDALJUF.js +0 -4
  411. package/dist/cdn/S5IAVCC4.js +0 -4
  412. package/dist/cdn/SCGRHZME.js +0 -4
  413. package/dist/cdn/SLFY6MNY.js +0 -4
  414. package/dist/cdn/TBXOAJ6X.js +0 -4
  415. package/dist/cdn/UFRAN3HD.js +0 -4
  416. package/dist/cdn/UJZLVYVW.js +0 -4
  417. package/dist/cdn/UO74AY6S.js +0 -4
  418. package/dist/cdn/UWTMDEXN.js +0 -4
  419. package/dist/cdn/V4K56KHO.js +0 -42
  420. package/dist/cdn/V53H2UTK.js +0 -4
  421. package/dist/cdn/VPSPX45T.js +0 -4
  422. package/dist/cdn/X4ZPL74N.js +0 -4
  423. package/dist/cdn/XHUTCLWD.js +0 -4
  424. package/dist/cdn/XN26QRQK.js +0 -4
  425. package/dist/cdn/Y2AI5DXX.js +0 -4
  426. package/dist/cdn/Z7YX3V7O.js +0 -4
  427. package/dist/cdn/ZYYIRFRL.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import"./RQYYBI4H.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){var e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Click, tap or press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
3
+ v5.0.0-next.21 */
4
+ import"./6X3NOINZ.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){var e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Click, tap or press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import{d as O,e as w}from"./SQCQR2L2.js";import{G as P,a as y,b,c as h,d as u,e as E,f,k as v,m as C}from"./BUEMLPMQ.js";var L=e=>(...i)=>{let t=u(),o=new e(...i),r=o.exports;h(t.at(-1));let s=o.component.manager;s.W(o,r),o.watchExports(s.W.bind(s,o)),E(o);let a=[o.component,...t].reverse();return v(a,n=>n===void 0?void 0:M(o,n,r),r)},M=(e,{host:i,key:t,isReactive:o},r)=>{let s=i,a=s[t]!==e.exports,n=s[t]!==r,c=r!==e.exports;if(a&&!n&&c&&(s[t]=e.exports),i===e.component){if(o){let p=e.component.manager;n&&p.W(e,s[t]),e.onUpdate(m=>{if(m.has(t)){let x=s[t];x!==e.exports&&p.W(e,x)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?f(()=>{s[t]=e.exports}):s[t]=e.exports)})};var V=e=>A(void 0,e);var g=class extends C{constructor(i,t){super(i);let o=this.exports;try{b(this.component);let r=t(this.component,this),s=this.exports!==o;if(y(r)){s||this.setProvisionalExports(r);let a=r.then(n=>{this.exports=n,super.catchUpLifecycle()}).catch(n=>{this.P.reject(n),console.error(n)});this.onLoad(async()=>await a)}else(!s||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},A=L(g);var _=e=>(i={})=>V((t,o)=>{let r=O(t.el),s={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>w(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),n(a.messageOverrides)},i.name));let n=c=>{let l=o.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&n(a.messageOverrides)}),i.blocking?(o.setProvisionalExports(s,!1),o.ready):s}),N=(e,i)=>{if(!i)return e;let t={...e};return Object.entries(i).forEach(([o,r])=>{typeof r=="object"?t[o]=N(e[o],r):t[o]=r??e[o]}),t};var oe=_(P);export{oe as a};
3
+ v5.0.0-next.21 */
4
+ import{d as O,e as w}from"./CWCJ67DX.js";import{G as P,a as y,b,c as h,d as u,e as E,f,k as v,m as C}from"./GDA7PY47.js";var L=e=>(...i)=>{let t=u(),o=new e(...i),r=o.exports;h(t.at(-1));let s=o.component.manager;s.W(o,r),o.watchExports(s.W.bind(s,o)),E(o);let a=[o.component,...t].reverse();return v(a,n=>n===void 0?void 0:M(o,n,r),r)},M=(e,{host:i,key:t,isReactive:o},r)=>{let s=i,a=s[t]!==e.exports,n=s[t]!==r,c=r!==e.exports;if(a&&!n&&c&&(s[t]=e.exports),i===e.component){if(o){let p=e.component.manager;n&&p.W(e,s[t]),e.onUpdate(m=>{if(m.has(t)){let x=s[t];x!==e.exports&&p.W(e,x)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?f(()=>{s[t]=e.exports}):s[t]=e.exports)})};var V=e=>A(void 0,e);var g=class extends C{constructor(i,t){super(i);let o=this.exports;try{b(this.component);let r=t(this.component,this),s=this.exports!==o;if(y(r)){s||this.setProvisionalExports(r);let a=r.then(n=>{this.exports=n,super.catchUpLifecycle()}).catch(n=>{this.P.reject(n),console.error(n)});this.onLoad(async()=>await a)}else(!s||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},A=L(g);var _=e=>(i={})=>V((t,o)=>{let r=O(t.el),s={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>w(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),n(a.messageOverrides)},i.name));let n=c=>{let l=o.exports,d=l._original??l,p=N(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&n(a.messageOverrides)}),i.blocking?(o.setProvisionalExports(s,!1),o.ready):s}),N=(e,i)=>{if(!i)return e;let t={...e};return Object.entries(i).forEach(([o,r])=>{typeof r=="object"?t[o]=N(e[o],r):t[o]=r??e[o]}),t};var oe=_(P);export{oe as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import"./6X3NOINZ.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u03BC.\u03A7.",_era_bc:"\u03C0.\u03A7.",A:"\u03C0\u03BC",P:"\u03BC\u03BC",AM:"\u03C0.\u03BC.",PM:"\u03BC.\u03BC.","A.M.":"\u03C0.\u03BC.","P.M.":"\u03BC.\u03BC.",January:"\u0399\u03B1\u03BD\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",February:"\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",March:"\u039C\u03B1\u03C1\u03C4\u03AF\u03BF\u03C5",April:"\u0391\u03C0\u03C1\u03B9\u03BB\u03AF\u03BF\u03C5",May:"\u039C\u03B1\u0390\u03BF\u03C5",June:"\u0399\u03BF\u03C5\u03BD\u03AF\u03BF\u03C5",July:"\u0399\u03BF\u03C5\u03BB\u03AF\u03BF\u03C5",August:"\u0391\u03C5\u03B3\u03BF\u03CD\u03C3\u03C4\u03BF\u03C5",September:"\u03A3\u03B5\u03C0\u03C4\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",October:"\u039F\u03BA\u03C4\u03C9\u03B2\u03C1\u03AF\u03BF\u03C5",November:"\u039D\u03BF\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",December:"\u0394\u03B5\u03BA\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",Jan:"\u0399\u03B1\u03BD",Feb:"\u03A6\u03B5\u03B2",Mar:"\u039C\u03B1\u03C1",Apr:"\u0391\u03C0\u03C1","May(short)":"\u039C\u03B1\u0390",Jun:"\u0399\u03BF\u03C5\u03BD",Jul:"\u0399\u03BF\u03C5\u03BB",Aug:"\u0391\u03C5\u03B3",Sep:"\u03A3\u03B5\u03C0",Oct:"\u039F\u03BA\u03C4",Nov:"\u039D\u03BF\u03B5",Dec:"\u0394\u03B5\u03BA",Sunday:"\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE",Monday:"\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1",Tuesday:"\u03A4\u03C1\u03AF\u03C4\u03B7",Wednesday:"\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7",Thursday:"\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7",Friday:"\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE",Saturday:"\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF",Sun:"\u039A\u03C5\u03C1",Mon:"\u0394\u03B5\u03C5",Tue:"\u03A4\u03C1\u03AF",Wed:"\u03A4\u03B5\u03C4",Thu:"\u03A0\u03AD\u03BC",Fri:"\u03A0\u03B1\u03C1",Sat:"\u03A3\u03AC\u03B2",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0395\u03C3\u03C4\u03AF\u03B1\u03C3\u03B7",Play:"\u0391\u03BD\u03B1\u03C0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE",Stop:"\u03A3\u03C4\u03AC\u03C3\u03B7",Legend:"\u03A5\u03C0\u03CC\u03BC\u03BD\u03B7\u03BC\u03B1","Press ENTER to toggle":"",Loading:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7",Home:"\u0391\u03C1\u03C7\u03B9\u03BA\u03AE",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7",Image:"Image",Data:"\u0394\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03B1",Print:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0391\u03C0\u03CC %1 \u03AD\u03C9\u03C2 %2","From %1":"\u0391\u03C0\u03CC %1","To %1":"\u0388\u03C9\u03C2 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import{a as m,b as r}from"./CTBTU6R7.js";import{b as c}from"./7EOQ5TCI.js";import{a as v}from"./DZHN5VUX.js";import{f as g}from"./LOTUCDOA.js";import"./SQCQR2L2.js";import{o as h,p as l}from"./IIU7SIYD.js";import{i as d}from"./OWIU32TC.js";import"./U4IE7DFG.js";import{A as u,D as C,F as b,g as p,h as a,w as f,x as A,y as x}from"./BUEMLPMQ.js";import"./RQYYBI4H.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(c.style),i,d.X),this.latestGuidePosition=r(i,d.X,this.model),this.togglePopOver(e),(this.el.shadowRoot?.querySelectorAll("calcite-block")??[]).forEach((s,o)=>{o!==this.latestGuidePosition&&(s.open=!1)})}},this.addYGuide=e=>{if(l(this.model)){let t=this.getUniqueName(this._messages.yAxisGuide??""),i=this.model.getYGuidesLength()??0;this.model.addYAxisGuide(t,i),this.model.setGuideStyle(g(c.style),i,d.Y),this.latestGuidePosition=r(i,d.Y,this.model),this.togglePopOver(e);for(let s of this.el.shadowRoot?.querySelectorAll("calcite-block")??[])s.open=!1}},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.open=!1}static{this.properties={showAddButton:16,latestGuidePosition:16,messageOverrides:0,model:0,timeZone:3,calculatedMinMaxBounds:2,enableXAxisGuide:5,enableYAxisGuide:5,open:7}}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=l(this.model)?this.model.getYGuidesLength()??0:0;return e+t}getUniqueName(e,t=1){let i=`${e} ${t}`,s=!1;if(h(this.model)){let o=this.model.getXGuidesLength()??0;for(let n=0;n<o&&!s;n+=1)this.model.getGuideName(n,d.X)===i&&(s=!0)}if(l(this.model)){let o=this.model.getYGuidesLength()??0;for(let n=0;n<o&&!s;n+=1)this.model.getGuideName(n,d.Y)===i&&(s=!0)}return s?this.getUniqueName(e,t+1):i}setChangedGuide(e){let{index:t,orientation:i,isDelete:s}=e.detail,o=r(t,i,this.model);s&&o!==void 0&&o<=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===d.X||this.enableYAxisGuide&&t===d.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,d.X))}if(l(this.model)){let t=this.model.getYGuidesLength()??0;for(let i=0;i<t;i+=1)e.push(this.renderGuide(i,d.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,s=!this.enableXAxisGuide&&this.enableYAxisGuide;return a`${this.renderGuideTypePopover()}${e?this.renderGuides():a`<div class=${u(m.noMessages)}>${this._messages.noGuidesMsg}</div>`}<div class=${u(m.addGuide)} ${A(this.addGuideButton)}>${t&&this.renderAddGuideButton(this.setupGuidePopover)||""}${i&&this.renderAddGuideButton(this.addXGuide)||""}${s&&this.renderAddGuideButton(this.addYGuide)||""}</div>`}};b("arcgis-charts-config-guides",G);export{G as ArcgisChartsConfigGuides};
3
+ v5.0.0-next.21 */
4
+ import{a as m,b as r}from"./KIR56BS5.js";import{b as c}from"./3Z3H7AJK.js";import{a as v}from"./DTZBBW3J.js";import{f as g}from"./LSOZEH46.js";import"./CWCJ67DX.js";import{o as h,p as l}from"./4BOV2Y63.js";import{i as d}from"./F3BSM26R.js";import"./FLQVC3QN.js";import{A as u,D as C,F as b,g as p,h as a,w as f,x as A,y as x}from"./GDA7PY47.js";import"./6X3NOINZ.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(c.style),i,d.X),this.latestGuidePosition=r(i,d.X,this.model),this.togglePopOver(e),(this.el.shadowRoot?.querySelectorAll("calcite-block")??[]).forEach((s,o)=>{o!==this.latestGuidePosition&&(s.open=!1)})}},this.addYGuide=e=>{if(l(this.model)){let t=this.getUniqueName(this._messages.yAxisGuide??""),i=this.model.getYGuidesLength()??0;this.model.addYAxisGuide(t,i),this.model.setGuideStyle(g(c.style),i,d.Y),this.latestGuidePosition=r(i,d.Y,this.model),this.togglePopOver(e);for(let s of this.el.shadowRoot?.querySelectorAll("calcite-block")??[])s.open=!1}},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.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=l(this.model)?this.model.getYGuidesLength()??0:0;return e+t}getUniqueName(e,t=1){let i=`${e} ${t}`,s=!1;if(h(this.model)){let o=this.model.getXGuidesLength()??0;for(let n=0;n<o&&!s;n+=1)this.model.getGuideName(n,d.X)===i&&(s=!0)}if(l(this.model)){let o=this.model.getYGuidesLength()??0;for(let n=0;n<o&&!s;n+=1)this.model.getGuideName(n,d.Y)===i&&(s=!0)}return s?this.getUniqueName(e,t+1):i}setChangedGuide(e){let{index:t,orientation:i,isDelete:s}=e.detail,o=r(t,i,this.model);s&&o!==void 0&&o<=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===d.X||this.enableYAxisGuide&&t===d.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,d.X))}if(l(this.model)){let t=this.model.getYGuidesLength()??0;for(let i=0;i<t;i+=1)e.push(this.renderGuide(i,d.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,s=!this.enableXAxisGuide&&this.enableYAxisGuide;return a`${this.renderGuideTypePopover()}${e?this.renderGuides():a`<div class=${u(m.noMessages)}>${this._messages.noGuidesMsg}</div>`}<div class=${u(m.addGuide)} ${A(this.addGuideButton)}>${t&&this.renderAddGuideButton(this.setupGuidePopover)||""}${i&&this.renderAddGuideButton(this.addXGuide)||""}${s&&this.renderAddGuideButton(this.addYGuide)||""}</div>`}};b("arcgis-charts-config-guides",G);export{G as ArcgisChartsConfigGuides};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import{a as y}from"./XEZUUESQ.js";import{a as C}from"./XBSU5RMI.js";import{b as H,c as M}from"./B6EUGEFM.js";import e from"./RIIIVJLP.js";import{g as l}from"./7RMKZ4PY.js";import{a as x}from"./DTZBBW3J.js";import c from"./Q5TR7VJT.js";import a from"./QBXIU4YH.js";import{j as k,q as h}from"./LSOZEH46.js";import"./CWCJ67DX.js";import{a as m}from"./F3BSM26R.js";import{b as A,k as p,o as b}from"./FLQVC3QN.js";import{A as o,B as w,D,F,g as S,h as s,l as $,w as u,x as d,y as P}from"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([{substitute:U},,,,,,,,{Qa:z,Xa:N,mc:B,oc:L,ya:T,za:E},{g:O},{a:f,c:v,g:_,k:g,o:K,r:j}])=>{var Y=S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`,n={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",numericFieldPickList:"bar-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",rotateClass:"sort-y-axis",sortOrderPickList:"sort-order-pick-list",sizeSection:"size-section",applyButton:"apply-button",panel:"panel"},I=class extends P{constructor(){super(...arguments),this._messages=x(),this.commonStrings=x({name:"common",blocking:!0}),this.picklist=u(),this.intervalSizeElement=u(),this.intervalTypeElement=u(),this.popoverElement=u(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.isNoAggregationDisabled=!1,this.arcgisChartsConfigBarChartDataPopoverChange=$(),this.arcgisChartsConfigPopoverClose=$()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1,isCustomSortDisabled:5,isNoAggregationDisabled:5}}static{this.styles=Y}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=v.map(a=>T(a,this.commonStrings));k(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[b.Start,b.End].map(a=>E(a,this.commonStrings));k(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(async()=>{await this.picklist.value?.setFocus()},f.PopoverTimer),H(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},f.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=M(e,t)}buildAggregationListItems(){let e=this.isNoAggregationDisabled?v.filter(t=>t!==A.NoAggregation):v;return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=O(t),a=new Intl.NumberFormat(i).format(f.customSortLimit),r=U(this._messages.customSortLimit??"",{totalLimit:a});this.tooltip=D(s`<calcite-tooltip style=${w({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){j(this.tooltip)}buildSortOrder(){let e=Object.keys(m),t;return y(e,i=>i,i=>{let a="";switch(i){case m.xAxisAsc:{t="a-z-down";break}case m.xAxisDesc:{t="a-z-up";break}case m.yAxisAsc:{t="sort-descending",a=n.rotateClass;break}case m.yAxisDesc:{t="sort-ascending",a=n.rotateClass;break}case m.customSort:{t="arrow-up-down";break}}return s`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===m.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${m[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${a}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return C(e.name,s`<calcite-list-item .label=${z(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${g(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case l.numericFields:{for(let a=0;a<t;a+=1){let r=this.layerFieldsInfo?.[a];r&&B(r)&&i.push(this.buildPickListItem(r))}break}case l.category:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String||c.type===h.Date||c.type===h.DateOnly||c.type===h.TimestampOffset)&&i.push(this.buildPickListItem(c))}break}case l.splitByField:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String)&&i.push(this.buildPickListItem(c))}break}}return i}closePopover(){if(this.contentKind===l.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBarChartDataPopoverChange,contentKind:this.contentKind};K(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){let t=e.target.selectedItems;this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}buildIntervalAlignmentPickListItems(){let e=[b.Start,b.End];return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}renderAggregationType(){let e=this.buildAggregationListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(l.category);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(l.numericFields);return s`<calcite-list label class=${o(n.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label class=${o(n.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(l.splitByField);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[p.Second,p.Minute,p.Hour,p.Day,p.Week,p.Month,p.Year];return s`<div><div class=${o(n.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${_(e?.size,1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${d(this.intervalTypeElement)}>${t.map(i=>s`<calcite-option .value=${i} .label=${N(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(n.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case l.aggregation:e=this.renderAggregationType();break;case l.category:e=this.renderCategory();break;case l.numericFields:e=this.renderNumericFields();break;case l.splitByField:e=this.renderSplitByField();break;case l.sortOrder:e=this.renderSortOrder();break;case l.intervalAlignment:e=this.renderIntervalAlignment();break;case l.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===l.numericFields&&(e=s`<div slot=footer><calcite-fab class=${o(n.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),s`<div class=${o(n.jsAppFlyout)}><calcite-popover class=${o(n.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${o(n.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(n.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};F("arcgis-charts-config-bar-chart-popover",I);return I},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,c,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import"./RQYYBI4H.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(r){var e="th";if(r<11||r>13)switch(r%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Click, tap or press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a as default};
3
+ v5.0.0-next.21 */
4
+ import"./6X3NOINZ.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(r){var e="th";if(r<11||r>13)switch(r%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Click, tap or press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import{k as s}from"./YGKNSXIY.js";export default $arcgis.t(([])=>{var h=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedSideBySideLabels:void 0,z=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedSideBySideLabels=i)},L=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedStackedLabels:void 0,O=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedStackedLabels=i)};return{a:h,b:z,c:L,d:O}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request")
3
+ v5.0.0-next.21 */
4
+ import{k as s}from"./V5K3XKFG.js";export default $arcgis.t(([])=>{var h=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedSideBySideLabels:void 0,z=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedSideBySideLabels=i)},L=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedStackedLabels:void 0,O=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedStackedLabels=i)};return{a:h,b:z,c:L,d:O}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import"./6X3NOINZ.js";var r={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"yyyy-MM-dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"fm",P:"em",AM:"fm",PM:"em","A.M.":"f.m.","P.M.":"e.m.",January:"januari",February:"februari",March:"mars",April:"april",May:"maj",June:"juni",July:"juli",August:"augusti",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan.",Feb:"feb.",Mar:"mars",Apr:"apr.","May(short)":"maj",Jun:"juni",Jul:"juli",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"s\xF6ndag",Monday:"m\xE5ndag",Tuesday:"tisdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF6rdag",Sun:"s\xF6n",Mon:"m\xE5n",Tue:"tis",Wed:"ons",Thu:"tor",Fri:"fre",Sat:"l\xF6r",_dateOrd:function(e){return""},"Zoom Out":"Zooma ut",Play:"Spela",Stop:"Stoppa",Legend:"Teckenf\xF6rklaring","Press ENTER to toggle":"Klicka eller tryck ENTER f\xF6r att \xE4ndra",Loading:"L\xE4ser in",Home:"Hem",Chart:"Diagram","Serial chart":"Seriediagram","X/Y chart":"XY-diagram","Pie chart":"T\xE5rtdiagram","Gauge chart":"Instrumentdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankeydiagram","Chord diagram":"Str\xE4ngdiagram","Flow diagram":"Fl\xF6desschema","TreeMap chart":"Tr\xE4ddiagram ",Series:"Serier","Candlestick Series":"Candlestick-serier","Column Series":"Kolumnserier","Line Series":"Linjeserier","Pie Slice Series":"T\xE5rtserier","X/Y Series":"X/Y-serier",Map:"Karta","Press ENTER to zoom in":"Tryck RETUR f\xF6r att zooma in","Press ENTER to zoom out":"Tryck RETUR f\xF6r att zooma ut","Use arrow keys to zoom in and out":"Anv\xE4nd pil-knapparna f\xF6r att zooma in och ut","Use plus and minus keys on your keyboard to zoom in and out":"Anv\xE4nd plus- och minus-knapparna f\xF6r att zooma in och ut",Export:"Exportera",Image:"Bild",Data:"Data",Print:"Skriv ut","Press ENTER to open":"Klicka eller tryck ENTER f\xF6r att \xF6ppna","Press ENTER to print.":"Klicka eller tryck ENTER f\xF6r att skriva ut.","Press ENTER to export as %1.":"Klicka eller tryck ENTER f\xF6r att exportera till %1.","(Press ESC to close this message)":"(Tryck ESC f\xF6r att st\xE4nga)","Image Export Complete":"Bildexport klar","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"Sparad fr\xE5n",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta urvalet","Use left and right arrows to move left selection":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta v\xE4nsterurval","Use left and right arrows to move right selection":"Anv\xE4nd v\xE4nster och h\xF6ger pilknappar f\xF6r att flytta h\xF6gerurval","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta urvalet","Use up and down arrows to move lower selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta nedre urvalet","Use up and down arrows to move upper selection":"Anv\xE4nd upp och ner pilknappar f\xF6r att flytta \xF6vre urvalet","From %1 to %2":"Fr\xE5n %1 till %2","From %1":"Fr\xE5n %1","To %1":"Till %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"Ogiltigt datum",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
3
+ v5.0.0-next.21 */
4
4
  var e="customSort",s={xAxisAsc:"xAxisAsc",xAxisDesc:"xAxisDesc",yAxisAsc:"yAxisAsc",yAxisDesc:"yAxisDesc",customSort:e},a={xAxisAsc:"xAxisAsc",xAxisDesc:"xAxisDesc",meanAsc:"meanAsc",meanDesc:"meanDesc",medianAsc:"medianAsc",medianDesc:"medianDesc",customSort:e},i={labelAsc:"labelAsc",labelDesc:"labelDesc",valueAsc:"valueAsc",valueDesc:"valueDesc",customSort:e},t={Category:"category",Fields:"fields"},l={Category:"category",Value:"value",Percentage:"percentage",Both:"both"},r={TextElements:"textElements",XAxisTitle:"xAxisTitle",YAxisTitle:"yAxisTitle",AxisLabels:"axisLabels",GuideLabels:"guideLabels",Title:"title",LegendText:"legendText",LegendTitle:"legendTitle",Description:"description",DataLabels:"dataLabels",Background:"background",LeaderLines:"leaderLines",AxisLines:"axisLines",GridLines:"gridLines"},c={AxisLines:"axisLines",GridLines:"gridLines",LeaderLines:"leaderLines"};var x={Background:"background"},n={X:"x",Y:"y"},A={BarChart:"barChart",LineChart:"lineChart",ComboBarLineChart:"comboBarLineChart",BoxPlot:"boxPlot",PieChart:"pieChart",Scatterplot:"scatterplot",Histogram:"histogram",Gauge:"gauge",RadarChart:"radarChart",HeatChart:"heatChart"};export{s as a,a as b,i as c,t as d,l as e,r as f,c as g,x as h,n as i,A as j};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import{d as t}from"./7RMKZ4PY.js";import{g as f}from"./V5K3XKFG.js";import a from"./QBXIU4YH.js";import{j as c}from"./LSOZEH46.js";import"./CWCJ67DX.js";import"./FLQVC3QN.js";import{F as d,g as n,h as i,l,y as h}from"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([,,,,,,,{Mb:g,ic:p,kc:m}])=>{var u=n`: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%}`,o=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async a=>{let e=a?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.popoverPlacement="leading",this.arcgisChartsConfigWebChartChange=l()}static{this.properties={layerFieldsInfo:16,model:0,popoverPlacement:1,r2:9,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=u}async load(){this.layer!==void 0&&await this.layerChange(this.layer,void 0),this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,void 0),this.modelChange(this.model),this.onModelConfigChange()}async willUpdate(a){a.has("model")&&this.modelChange(this.model,a.get("model")),a.has("r2")&&this.r2Change(this.r2),a.has("layer")&&await this.layerChange(this.layer,a.get("layer")),a.has("usePopupTemplateFieldsInfo")&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,a.get("usePopupTemplateFieldsInfo")),this.layerFieldsInfo===void 0&&await this.updateFetchLayerFieldsInfo()}modelChange(a,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),a?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}r2Change(a){Number.isFinite(a)||(this.r2=void 0)}async layerChange(a,e){a!==void 0&&!c(e,a)&&await this.updateFetchLayerFieldsInfo()}async usePopupTemplateFieldsInfoChange(a,e){a!==void 0&&a!==e&&await this.updateFetchLayerFieldsInfo()}async updateFetchLayerFieldsInfo(a){let e=a??this.model.config,s=this.layer;if(!s){let r=f(e)?e.iLayer:void 0;r&&(s=await p(r))}s&&(this.layerFieldsInfo=await m(s,this.usePopupTemplateFieldsInfo))}render(){let a;switch(this.page){case t.Data:a=i`<arcgis-charts-config-scatter-plot-data .model=${this.model} .r2=${this.r2} .layerFieldsInfo=${this.layerFieldsInfo} .isTableLayer=${g(this.layer)?.isTable}></arcgis-charts-config-scatter-plot-data>`;break;case t.Axes:a=i`<arcgis-charts-config-axes .model=${this.model} show-min-x-bound-option show-max-x-bound-option show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case t.Guides:a=i`<arcgis-charts-config-guides .model=${this.model} enable-x-axis-guide enable-y-axis-guide></arcgis-charts-config-guides>`;break;case t.Format:a=i`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case t.General:a=i`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:a="";break}return a}};d("arcgis-charts-config-scatter-plot",o);return o},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import"./6X3NOINZ.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0E04.\u0E28.",_era_bc:"\u0E01\u0E48\u0E2D\u0E19 \u0E04.\u0E28.",A:"a",P:"p",AM:"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",PM:"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","A.M.":"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","P.M.":"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",January:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21",February:"\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C",March:"\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21",April:"\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19",May:"\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21",June:"\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19",July:"\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21",August:"\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21",September:"\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19",October:"\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21",November:"\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19",December:"\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21",Jan:"\u0E21.\u0E04.",Feb:"\u0E01.\u0E1E.",Mar:"\u0E21\u0E35.\u0E04.",Apr:"\u0E40\u0E21.\u0E22.","May(short)":"\u0E1E.\u0E04.",Jun:"\u0E21\u0E34.\u0E22.",Jul:"\u0E01.\u0E04.",Aug:"\u0E2A.\u0E04.",Sep:"\u0E01.\u0E22.",Oct:"\u0E15.\u0E04.",Nov:"\u0E1E.\u0E22.",Dec:"\u0E18.\u0E04.",Sunday:"\u0E27\u0E31\u0E19\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C",Monday:"\u0E27\u0E31\u0E19\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C",Tuesday:"\u0E27\u0E31\u0E19\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23",Wednesday:"\u0E27\u0E31\u0E19\u0E1E\u0E38\u0E18",Thursday:"\u0E27\u0E31\u0E19\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35",Friday:"\u0E27\u0E31\u0E19\u0E28\u0E38\u0E01\u0E23\u0E4C",Saturday:"\u0E27\u0E31\u0E19\u0E40\u0E2A\u0E32\u0E23\u0E4C",Sun:"\u0E2D\u0E32.",Mon:"\u0E08.",Tue:"\u0E2D.",Wed:"\u0E1E.",Thu:"\u0E1E\u0E24.",Fri:"\u0E28.",Sat:"\u0E2A.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0E02\u0E22\u0E32\u0E22",Play:"\u0E40\u0E25\u0E48\u0E19",Stop:"\u0E2B\u0E22\u0E38\u0E14",Legend:"\u0E04\u0E33\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E2A\u0E31\u0E0D\u0E25\u0E31\u0E01\u0E29\u0E13\u0E4C","Press ENTER to toggle":"",Loading:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14",Home:"\u0E2B\u0E19\u0E49\u0E32\u0E2B\u0E25\u0E31\u0E01",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0E1E\u0E34\u0E21\u0E1E\u0E4C",Image:"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E",Data:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",Print:"\u0E1E\u0E34\u0E21\u0E1E\u0E4C","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0E08\u0E32\u0E01 %1 \u0E16\u0E36\u0E07 %2","From %1":"\u0E08\u0E32\u0E01 %1","To %1":"\u0E16\u0E36\u0E07 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
3
+ v5.0.0-next.21 */
4
4
  var a={Chart:"chart",Text:"chartText",Overlay:"chartOverlay",Overlays:"chartOverlays",Legend:"chartLegend",CursorCrosshair:"cursorCrosshair",Axis:"chartAxis",GaugeAxisTick:"gaugeAxisTick",GaugeNeedle:"gaugeNeedle",CategoryAxisFormat:"category",NumberAxisFormat:"number",DateAxisFormat:"date",Guide:"chartGuide",ScatterSeries:"scatterSeries",PieSeries:"pieSeries",PieTick:"pieTick",GaugeSeries:"gaugeSeries",LineSeries:"lineSeries",BarSeries:"barSeries",HistogramSeries:"histogramSeries",BoxPlotSeries:"boxPlotSeries",RadarSeries:"radarSeries",ComboLineAndBarSeries:"comboLineAndBarSeries",HeatSeries:"heatSeries",Buffer:"buffer",SizePolicy:"sizeScale",CalendarDateParts:"calendarDateParts"},g={Count:"count",Sum:"sum",Minimum:"min",Maximum:"max",Average:"avg",StandardDeviation:"stddev",Variance:"var",ContinuousPercentile:"percentile-continuous",DiscretePercentile:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate",NoAggregation:"no_aggregation"},l={None:"none",Log:"logarithmic",Sqrt:"squareRoot"},S={Single:"singleColor",Match:"colorMatch"},h={Left:"left",Right:"right",Top:"top",Bottom:"bottom"},m={Side:"sideBySide",Stacked:"stacked",Stacked100:"stacked100"},y={Side:"sideBySide",MeanLines:"meanLines"},c={Ascending:"ASC",Descending:"DESC"},f={statisticType:g.Count,sortingOrder:c.Ascending},C={Bezier:"bezier",MonotoneX:"monotoneX",MonotoneY:"monotoneY"},O={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Quarter:"quarters",Year:"years"},p={DayOfMonth:"dayOfMonth",DayOfWeek:"dayOfWeek",DayOfYear:"dayOfYear",HourOfDay:"hourOfDay",MonthOfYear:"monthOfYear",MinuteOfDay:"minuteOfDay",WeekOfYear:"weekOfYear",QuarterOfYear:"quarterOfYear"};var v={Gradient:"gradient"},x={Null:"null",Zero:"zero",Interpolate:"interpolate"},A={Start:"equalIntervalsFromStartTime",End:"equalIntervalsFromEndTime"},B={Hide:"hide",Rotate:"rotate",Stagger:"stagger",Wrap:"wrap"},D={Same:"same",Newer:"newer",Older:"older",Unrecognized:"unrecognized"},M={Value:"value",Date:"date",Category:"category"},k={FeatureGauge:"featureGauge",StatisticGauge:"statisticGauge"},L={Linear:"linear",Logarithmic:"logarithmic"},z={Radial:"radial",Circular:"circular",Horizontal:"horizontal"},P={YValue:"arcgis-charts-y-value",Mean:"arcgis-charts-mean",Median:"arcgis-charts-median",Category:"arcgis-charts-category"};function u(e){return e.size===2&&e.has(a.LineSeries)&&e.has(a.BarSeries)}function d(e){return e.size===2&&e.has(a.LineSeries)&&e.has(a.BoxPlotSeries)||e.size===1&&e.has(a.BoxPlotSeries)}function b(e,r){let t;if(e!==void 0&&e.length>0)if(r!==void 0&&r>=0&&r<e.length)t=e[r].type;else{let i=new Set(e.map(n=>n.type)),s=u(i),o=d(i);s===!0?t=a.ComboLineAndBarSeries:o?t=a.BoxPlotSeries:i.size>=2?t=void 0:t=e[0].type}return t}function T(e,r=!0){return r?e?.xTemporalBinning:e?.yTemporalBinning}export{a,g as b,l as c,S as d,h as e,m as f,y as g,c as h,f as i,C as j,O as k,p as l,v as m,x as n,A as o,B as p,D as q,M as r,k as s,L as t,z as u,P as v,b as w,T as x};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import"./6X3NOINZ.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import h from"./NKZDAPEF.js";import f from"./FVW7NJSZ.js";import e from"./2RWSL7IX.js";import c from"./SQWACKER.js";import{i as o,j as l,k as a}from"./V5K3XKFG.js";import b from"./QBXIU4YH.js";import{j as T}from"./LSOZEH46.js";import{a as D}from"./F3BSM26R.js";import{a as w,b as g,f as d}from"./FLQVC3QN.js";export default $arcgis.t(([,,,,,,,{Bc:k,O:O,Q:B,Qa:V,W:U,_:b,ca:P,k:m},{$:p,Aa:$,Ba:c,Ca:S,Da:F,Fa:_,Ga:A,Ha:ee,Ia:ie,_:u,aa:L,b:E,c:f,ca:M,da:N,e:y,ea:R,fa:z,ga:j,ha:q,ia:G,ja:H,ka:J,la:K,ma:W,oa:X,pa:Y,qa:Q,ya:Z,za:h},{a:x,c:te,d:se,e:re},{a:ne,b:oe,c:ae,d:ge},le])=>{var C=class extends x{get temporalBinningSize(){return M(this._config)}set temporalBinningSize(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("temporalBinningSize")})}get temporalBinningUnit(){return N(this._config)}set temporalBinningUnit(e){this.guardSetterFromAsyncOverwrite(()=>{H(e,this._config),this.emitConfigUpdate("temporalBinningUnit")})}get timeAggregationType(){return R(this._config)}set timeAggregationType(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("timeAggregationType")})}get trimIncompleteTimeInterval(){return z(this._config)}set trimIncompleteTimeInterval(e){this.guardSetterFromAsyncOverwrite(()=>{K(e,this._config),this.emitConfigUpdate("trimIncompleteTimeInterval")})}get nullPolicy(){return j(this._config)}set nullPolicy(e){this.guardSetterFromAsyncOverwrite(()=>{G(e,this._config),this.emitConfigUpdate("nullPolicy")})}resetTimeInterval(){this.guardSetterFromAsyncOverwrite(()=>{W(this._config),this.emitConfigUpdate("resetTimeInterval")})}},he=(s,e)=>e.series?.[s].assignToSecondValueAxis??!1,ce=s=>{let{assign:e,seriesIndex:i,config:t,commonStrings:r}=s;e&&t.axes!==void 0&&!t.axes?.[2]&&(t.axes[2]=b(r,w.BarSeries)[1]),t.series&&t.series.forEach((n,I)=>{I===i?n.assignToSecondValueAxis=e:I!==i&&n?.assignToSecondValueAxis!==!0&&(n.assignToSecondValueAxis=!1)}),t.axes?.[2]&&!t.series.some(n=>n.assignToSecondValueAxis)&&t.axes.splice(2,1)},de=(s,e)=>e.series?.[s]?.name,me=(s,e,i)=>{i.series?.[e]&&(i.series[e].name=s)},fe=(s,e)=>{let i=e.series?.[s],t;return a(i)?t=i.fillSymbol?.color:o(i)&&(t=i.lineSymbol?.color),t},ye=(s,e,i)=>{let t=i.series?.[e];t&&(a(t)?t.fillSymbol={...P(e),...t.fillSymbol,color:s}:o(t)&&(t.lineSymbol={...U(e),...t.lineSymbol,color:s}))},ue=s=>s.series.map(e=>e.id),pe=(s,e)=>{e.series?.sort((i,t)=>s.findIndex(r=>i.id===r)-s.findIndex(r=>t.id===r))},Se=s=>s.stackedType??d.Side,Fe=s=>{let{newStackedType:e,config:i,layerInfo:t,commonStrings:r}=s;if(i.stackedType=e,t!==void 0){let n=f({config:i,layerInfo:t,commonStrings:r,numericFields:c(i),aggregationType:h(i)});E(i,1,n)}i.axes?.[1]&&(e===d.Stacked100?i.axes[1].valueFormat=B():i.axes[1].valueFormat=O()),y({config:i,value:null,axisIndex:1,isMax:!1}),y({config:i,value:null,axisIndex:1,isMax:!0})},_e=s=>{let e,i=s.series.find(t=>(a(t)||o(t)||l(t))&&t.nullCategory!==void 0);return(a(i)||o(i)||l(i))&&(e=i?.nullCategory),e},Ae=(s,e)=>{s.series.forEach(i=>{(a(i)||o(i)||l(i))&&(i.nullCategory=e)})},v=class extends x{constructor(){super(...arguments),this._xAxisField="",this._aggregationType=g.Count,this._splitByField="",this._numericFields=[]}get xAxisField(){return this._xAxisField}set xAxisField(e){if(this._xAxisField=e,this.dirtyAsyncSetters.push("xAxisField"),e.trim()===""||e===m){let i=this.numericFields;this.resetConfig(),this.numericFields=i}this.processSeriesRebuild()}get aggregationType(){return this._aggregationType}set aggregationType(e){this._aggregationType=e,this.dirtyAsyncSetters.push("aggregationType"),this.processSeriesRebuild()}get splitByField(){return this._splitByField}set splitByField(e){this.layerInfo?.layerFieldsInfo&&X(this.layerInfo?.layerFieldsInfo,e)&&(this._splitByField=e,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild())}get numericFields(){return this._numericFields}set numericFields(e){typeof e=="string"&&(e=[e]);let i=Y(this.layerInfo?.layerFieldsInfo??[],e),t=(this.xAxisField===""||this.xAxisField===m)&&e.length===0;if(i&&!t){let r=this.layerInfo?.objectIdField??"";e.length===0?(e.push(r),this._aggregationType=g.Count):this._aggregationType===g.Count&&e.length>=1&&!e.includes(r)&&(this._aggregationType=g.Sum),this._numericFields=e,this.dirtyAsyncSetters.push("numericFields"),this.numericFields.length>1&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),this.processSeriesRebuild()}else t&&this.resetConfig()}getAssignToSecondValueAxis(e){return he(e,this._config)}setAssignToSecondValueAxis(e,i){this.guardSetterFromAsyncOverwrite(()=>{ce({assign:e,seriesIndex:i,config:this._config,commonStrings:this.commonStrings}),this.emitConfigUpdate("setAssignToSecondValueAxis")})}getSortOrder(){return S(this._config)}setSortOrder(e,i){this.guardSetterFromAsyncOverwrite(()=>{p(e,this._config,i),this.emitConfigUpdate("setSortOrder")})}async getCustomSortValues(){return await A(this._config,this.layerInfo)}async setDataFilters(e){super.setDataFilters(e);let i=S(this._config);if(i===D.customSort){let t=await A(this._config,this.layerInfo);p(i,this._config,t)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}get orderByList(){return u(this._config)}set orderByList(e){this.guardSetterFromAsyncOverwrite(()=>{!k(this._config)&&(_(e,this._config),this.emitConfigUpdate("orderByList"))})}async updateSeriesFromLayerFilter(){this.layerInfo!==void 0&&(this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild())}get binTemporalData(){return ee(this._config)}set binTemporalData(e){this.guardSetterFromAsyncOverwrite(()=>{ie(e,this._config),this.emitConfigUpdate("enableTemporalBinning")})}getSeriesName(e){return de(e,this._config)}setSeriesName(e,i){this.guardSetterFromAsyncOverwrite(()=>{me(e,i,this._config),this.emitConfigUpdate("setSeriesName")})}getSeriesColor(e){return fe(e,this._config)}setSeriesColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{ye(e,i,this._config),this.emitConfigUpdate("setSeriesColor")})}getOrderOfSeries(){return ue(this._config)}setOrderOfSeries(e){this.guardSetterFromAsyncOverwrite(()=>{pe(e,this._config),this.emitConfigUpdate("setOrderOfSeries")})}get stackedType(){return Se(this._config)}set stackedType(e){this.guardSetterFromAsyncOverwrite(()=>{Fe({newStackedType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.emitConfigUpdate("stackedType")})}moveSeries(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this.getOrderOfSeries(),[r]=t.splice(e,1);t.splice(i,0,r),this.setOrderOfSeries(t),this.emitConfigUpdate("moveSeries")})}moveCustomSortValuesInOrderByList(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=u(this._config),[r]=t.splice(e,1);t.splice(i,0,r),_(t,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")})}get nullCategory(){return _e(this._config)}set nullCategory(e){this.guardSetterFromAsyncOverwrite(()=>{let i=this.nullCategory;T(i,e)||(Ae(this._config,e),this.emitConfigUpdate("setNullCategory"))})}setupLocalProps(){this._xAxisField=L(this._config),this._aggregationType=h(this._config),this._splitByField=$(this._config),this._numericFields=c(this._config)}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}canUseSynchronousSeriesRebuild(){return this.splitByField===""||this.numericFields.length>1}async processSeriesRebuild(){if(this.layerInfo!==void 0){let e=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],F(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.asyncConfigUpdateInProgress=!0,this.setupFinished=new Promise(i=>{this.resolveSetup=i});this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await F(this.getBuildNewSeriesProps());this.asyncConfigUpdateInProgress=!1,this.resolveSetup?.()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(e)}}getBuildNewSeriesProps(){return{xAxisField:this.xAxisField,splitByField:this.splitByField,numericFields:this.numericFields,aggregationType:this.aggregationType,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}generateChartTitle(){return this.layerInfo!==void 0?Z(this._config,this.layerInfo,this.commonStrings):""}generateXAxisTitle(){return this.layerInfo!==void 0?V(this.layerInfo.layerFieldsInfo,this._xAxisField):""}generateYAxisTitle(){return this.layerInfo!==void 0?f({config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings,numericFields:c(this._config),aggregationType:h(this._config)}):""}};Q(v,[re,oe,ae,ne,le,ge,te,se,C]);return{a:de,b:me,c:ye,d:v}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,e,f,h)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import b from"./NGAGKKLX.js";import a from"./V4K56KHO.js";import{f as g}from"./LOTUCDOA.js";import{e as c}from"./U4IE7DFG.js";export default $arcgis.t(([,,,,,,,{H:n,J:l,Q:o,p:s},{a:r}])=>{var m=t=>t.colorMatch??!0,p=(t,e)=>{e.colorMatch=t},h=class extends r{get colorMatch(){return m(this._config)}set colorMatch(e){this.guardSetterFromAsyncOverwrite(()=>{p(e,this._config),this.emitConfigUpdate("colorMatch")})}},y=t=>{let e=!1;return t.legend!==void 0&&(e=t.legend.visible??!0),e},T=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.visible=t},u=t=>t.legend?.title?.content,x=(t,e)=>{e.legend===void 0&&(e.legend=o()),(e.legend.title===void 0||t===void 0)&&(e.legend.title=l({text:"",visible:!0,font:n(s.LegendTitle),type:s.LegendTitle})),t!==void 0&&(e.legend.title.content=t)},L=t=>t.legend?.body,_=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.body=t??l({text:"",visible:!0,font:n(s.LegendText),type:s.LegendText}).content},a=t=>t.legend?.title?.content.text??"",S=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.content.text=t;else if(e.legend===void 0&&t!==void 0){let i=o();i.title!==void 0&&(i.title.content.text=t,i.title.visible=!0,e.legend=i)}},C=t=>t.legend?.title?.visible??!1,V=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.visible=t;else if(e.legend!==void 0&&e.legend?.title===void 0&&t)e.legend.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle});else if(e.legend===void 0){let i=o();i.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle}),e.legend=i}},M=t=>t.legend?.position??c.Right,w=(t,e)=>{if(e.legend!==void 0)e.legend.position=t;else if(e.legend===void 0){let i=o();i.position=t,e.legend=i}},A=t=>t.legend?.roundMarkers??!1,F=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.roundMarkers=t},O=t=>t.legend?.maxHeight??void 0,U=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.maxHeight=t},f=class extends r{get legendVisibility(){return y(this._config)}set legendVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{T(e,this._config),this.emitConfigUpdate("legendVisibility")})}get legendTitleText(){return a(this._config)}set legendTitleText(e){this.guardSetterFromAsyncOverwrite(()=>{S(e,this._config),this.emitConfigUpdate("legendTitleText")})}get legendTitleVisibility(){return C(this._config)}set legendTitleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{V(e,this._config),this.emitConfigUpdate("legendTitleVisibility")})}get legendPosition(){return M(this._config)}set legendPosition(e){this.guardSetterFromAsyncOverwrite(()=>{w(e,this._config),this.emitConfigUpdate("legendPosition")})}get legendTitleSymbol(){return u(this._config)}set legendTitleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{x(e,this._config),this.emitConfigUpdate("legendTitleSymbol")})}get legendTextSymbol(){return L(this._config)}set legendTextSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{_(e,this._config),this.emitConfigUpdate("legendTextSymbol")})}get legendMaxHeight(){return O(this._config)}set legendMaxHeight(e){e!==void 0&&this.guardSetterFromAsyncOverwrite(()=>{U(e,this._config),this.emitConfigUpdate("legendMaxHeight")})}get legendRoundMarker(){return A(this._config)}set legendRoundMarker(e){this.guardSetterFromAsyncOverwrite(()=>{F(e,this._config),this.emitConfigUpdate("legendRoundMarker")})}},D=(t,e)=>t.series?.[e??0]?.dataTooltipVisible??!0,R=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipVisible=e:t.series&&t.series.forEach(d=>{d.dataTooltipVisible=e})},k=(t,e)=>t.series?.[e??0]?.dataTooltipReverseColor??!1,H=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipReverseColor=e:t.series&&t.series.forEach(d=>{d.dataTooltipReverseColor=e})},b=class extends r{getDataTooltipVisibility(e){return D(this._config,e)}setDataTooltipVisibility(e,i){this.guardSetterFromAsyncOverwrite(()=>{R(this._config,e,i),this.emitConfigUpdate("setDataTooltipVisibility")})}getDataTooltipReverseColor(e){return k(this._config,e)}setDataTooltipReverseColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{H(this._config,e,i),this.emitConfigUpdate("setDataTooltipReverseColor")})}},E=t=>t.series[0]?.dataLabels?.visible??!1,P=(t,e)=>{e.series.forEach(i=>{i.dataLabels!==void 0?i.dataLabels.visible=t:i.dataLabels=l({text:"",visible:t,font:n(s.DataLabels),type:s.DataLabels})})},j=t=>{for(let e of t.series)if(e.dataLabels!==void 0)return e.dataLabels.content},q=(t,e)=>{for(let i of e.series)(i.dataLabels===void 0||t===void 0)&&(i.dataLabels=l({text:"",visible:!0,font:n(s.DataLabels),type:s.DataLabels})),t!==void 0&&(i.dataLabels.content=g(t))},v=class extends r{get dataLabelsVisibility(){return E(this._config)}set dataLabelsVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{P(e,this._config),this.emitConfigUpdate("dataLabelsVisibility")})}get dataLabelsSymbol(){return j(this._config)}set dataLabelsSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("dataLabelsSymbol")})}};return{a:h,b:f,c:b,d:v}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
3
+ v5.0.0-next.21 */
4
+ import b from"./2RWSL7IX.js";import a from"./QBXIU4YH.js";import{f as g}from"./LSOZEH46.js";import{e as c}from"./FLQVC3QN.js";export default $arcgis.t(([,,,,,,,{I:n,K:l,R:o,q:s},{a:r}])=>{var m=t=>t.colorMatch??!0,p=(t,e)=>{e.colorMatch=t},h=class extends r{get colorMatch(){return m(this._config)}set colorMatch(e){this.guardSetterFromAsyncOverwrite(()=>{p(e,this._config),this.emitConfigUpdate("colorMatch")})}},y=t=>{let e=!1;return t.legend!==void 0&&(e=t.legend.visible??!0),e},T=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.visible=t},u=t=>t.legend?.title?.content,x=(t,e)=>{e.legend===void 0&&(e.legend=o()),(e.legend.title===void 0||t===void 0)&&(e.legend.title=l({text:"",visible:!0,font:n(s.LegendTitle),type:s.LegendTitle})),t!==void 0&&(e.legend.title.content=t)},L=t=>t.legend?.body,_=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.body=t??l({text:"",visible:!0,font:n(s.LegendText),type:s.LegendText}).content},a=t=>t.legend?.title?.content.text??"",S=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.content.text=t;else if(e.legend===void 0&&t!==void 0){let i=o();i.title!==void 0&&(i.title.content.text=t,i.title.visible=!0,e.legend=i)}},C=t=>t.legend?.title?.visible??!1,V=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.visible=t;else if(e.legend!==void 0&&e.legend?.title===void 0&&t)e.legend.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle});else if(e.legend===void 0){let i=o();i.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle}),e.legend=i}},M=t=>t.legend?.position??c.Right,w=(t,e)=>{if(e.legend!==void 0)e.legend.position=t;else if(e.legend===void 0){let i=o();i.position=t,e.legend=i}},A=t=>t.legend?.roundMarkers??!1,F=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.roundMarkers=t},O=t=>t.legend?.maxHeight??void 0,U=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.maxHeight=t},f=class extends r{get legendVisibility(){return y(this._config)}set legendVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{T(e,this._config),this.emitConfigUpdate("legendVisibility")})}get legendTitleText(){return a(this._config)}set legendTitleText(e){this.guardSetterFromAsyncOverwrite(()=>{S(e,this._config),this.emitConfigUpdate("legendTitleText")})}get legendTitleVisibility(){return C(this._config)}set legendTitleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{V(e,this._config),this.emitConfigUpdate("legendTitleVisibility")})}get legendPosition(){return M(this._config)}set legendPosition(e){this.guardSetterFromAsyncOverwrite(()=>{w(e,this._config),this.emitConfigUpdate("legendPosition")})}get legendTitleSymbol(){return u(this._config)}set legendTitleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{x(e,this._config),this.emitConfigUpdate("legendTitleSymbol")})}get legendTextSymbol(){return L(this._config)}set legendTextSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{_(e,this._config),this.emitConfigUpdate("legendTextSymbol")})}get legendMaxHeight(){return O(this._config)}set legendMaxHeight(e){e!==void 0&&this.guardSetterFromAsyncOverwrite(()=>{U(e,this._config),this.emitConfigUpdate("legendMaxHeight")})}get legendRoundMarker(){return A(this._config)}set legendRoundMarker(e){this.guardSetterFromAsyncOverwrite(()=>{F(e,this._config),this.emitConfigUpdate("legendRoundMarker")})}},D=(t,e)=>t.series?.[e??0]?.dataTooltipVisible??!0,R=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipVisible=e:t.series&&t.series.forEach(d=>{d.dataTooltipVisible=e})},k=(t,e)=>t.series?.[e??0]?.dataTooltipReverseColor??!1,H=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipReverseColor=e:t.series&&t.series.forEach(d=>{d.dataTooltipReverseColor=e})},b=class extends r{getDataTooltipVisibility(e){return D(this._config,e)}setDataTooltipVisibility(e,i){this.guardSetterFromAsyncOverwrite(()=>{R(this._config,e,i),this.emitConfigUpdate("setDataTooltipVisibility")})}getDataTooltipReverseColor(e){return k(this._config,e)}setDataTooltipReverseColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{H(this._config,e,i),this.emitConfigUpdate("setDataTooltipReverseColor")})}},E=t=>t.series[0]?.dataLabels?.visible??!1,P=(t,e)=>{e.series.forEach(i=>{i.dataLabels!==void 0?i.dataLabels.visible=t:i.dataLabels=l({text:"",visible:t,font:n(s.DataLabels),type:s.DataLabels})})},j=t=>{for(let e of t.series)if(e.dataLabels!==void 0)return e.dataLabels.content},q=(t,e)=>{for(let i of e.series)(i.dataLabels===void 0||t===void 0)&&(i.dataLabels=l({text:"",visible:!0,font:n(s.DataLabels),type:s.DataLabels})),t!==void 0&&(i.dataLabels.content=g(t))},v=class extends r{get dataLabelsVisibility(){return E(this._config)}set dataLabelsVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{P(e,this._config),this.emitConfigUpdate("dataLabelsVisibility")})}get dataLabelsSymbol(){return j(this._config)}set dataLabelsSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("dataLabelsSymbol")})}};return{a:h,b:f,c:b,d:v}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
3
+ v5.0.0-next.21 */
4
4
  var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),Mt=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Mt.set(e,t))}return t}toString(){return this.cssText}},It=o=>new I(typeof o=="string"?o:o+"",void 0,yt),ge=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new I(e,o,yt)},kt=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},gt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return It(e)})(o):o;var{is:ve,defineProperty:Ee,getOwnPropertyDescriptor:$e,getOwnPropertyNames:be,getOwnPropertySymbols:_e,getPrototypeOf:Ae}=Object,tt=globalThis,jt=tt.trustedTypes,Ce=jt?jt.emptyScript:"",we=tt.reactiveElementPolyfillSupport,k=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?Ce:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},j=(o,t)=>!ve(o,t),Ht={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ht){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Ee(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=$e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ht}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...be(e),..._e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(gt(r))}else t!==void 0&&e.push(gt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return kt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??j)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,we?.({ReactiveElement:b}),(tt.reactiveElementVersions??=[]).push("2.1.0");var Et=globalThis,et=Et.trustedTypes,zt=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,$t="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+_,Oe=`<${bt}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",_t=Array.isArray,Gt=o=>_t(o)||typeof o?.[Symbol.iterator]=="function",vt=`[
5
5
  \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Bt=/>/g,w=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Wt=/'/g,Ft=/"/g,Kt=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ys=At(1),gs=At(2),vs=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),qt=new WeakMap,O=T.createTreeWalker(T,129);function Jt(o,t){if(!_t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}var Qt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=Vt:u[1]!==void 0?n=Bt:u[2]!==void 0?(Kt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??H,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Ft:Wt):n===Ft||n===Wt?n=w:n===Vt||n===Bt?n=H:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===H?c+Oe:h>=0?(s.push(l),c.slice(0,h)+$t+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Jt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Qt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith($t)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Kt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===bt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=V(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new L(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new nt(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},L=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Jt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=qt.get(t.strings);return e===void 0&&qt.set(t.strings,e=new B(t)),e}k(t){_t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Yt={M:$t,P:_,A:bt,C:1,L:Qt,R:st,D:Gt,V:S,I:L,H:P,N:rt,U:it,B:ot,F:nt},Te=Et.litHtmlPolyfillSupport;Te?.(B,L),(Et.litHtmlVersions??=[]).push("3.3.0");var at=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new L(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var Ct=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:A});var Se=Ct.litElementPolyfillSupport;Se?.({LitElement:A});(Ct.litElementVersions??=[]).push("4.2.0");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var q=Symbol.for("controller"),Pe=o=>typeof o=="object"&&o!==null&&(q in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ds=o=>typeof o?.then=="function";var F,x=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},G=o=>F,N=[],Zt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Xt=()=>N,R,Us=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},Ne=()=>{let o=R;return R=void 0,o},te=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},ee=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=G().manager.X(o);if(e!==void 0)return e;if(Pe(o))return o;let s=Ne();if(s!==void 0)return s},ct=!1,Ls=o=>{ct=!0;try{return o()}finally{ct=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},se=(o,t)=>{let e=t>xe?De:t/Ue,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},xe=4e3,De=2e3,Ue=4;var Le=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Re=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Me=(o=[G(),...Xt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Le(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ie=(o="",t={},e=G())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Me(void 0,r=>o=r.key,s),s},ke=Ie.bind(null,""),ie;ie=q;var wt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[ie]=!0,this.#a=[];let e=this,s=t??G(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=re(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Zt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?re(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#i),te}get useRef(){return x(this.#i),ee}get useRefSync(){return x(this.#i),lt}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(oe,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(oe,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function oe(o){p(o,void 0,this)}var ne=wt,re=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var{I:je}=Yt;var ht=o=>o.strings===void 0,ae=()=>document.createComment(""),Ws=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ae(),r),n=s.insertBefore(ae(),r);e=new je(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Fs=(o,t,e=o)=>(o._$AI(t,e),o),He={},ce=(o,t=He)=>o._$AH=t,qs=o=>o._$AH,Gs=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},le=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Be(t)}};function ze(o){this._$AN!==void 0?(dt(this),this._$AM=o,le(this)):this._$AM=o}function Ve(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),dt(s[i]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Be=o=>{o.type==m.CHILD&&(o._$AP??=Ve,o._$AQ??=ze)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),le(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var oo=()=>new Tt,Tt=class{},Ot=new WeakMap,St=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Ot.get(t);e===void 0&&(e=new WeakMap,Ot.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Ot.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=o=>o.replace(Fe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Fe=/[A-Z]+(?![a-z])|[A-Z]/gu;var go="randomUUID"in crypto;var he=";",ft=",",de=":";var Nt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},xt={};function Dt(){}var qe=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(he),g=u?u?.split(ft).map(Ge):void 0,C=g?.map(([U])=>U),D=class extends Pt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(ft):void 0}static{this.D=y?.split(ft)}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},mt=Object.defineProperty,Ge=o=>{let t=o.split(de);return t.length===1?[t[0],ut(t[0])]:t},Ke=globalThis.HTMLElement??Dt,Pt=class extends Ke{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])mt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])mt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])mt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Nt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Qe(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Je,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Je([o,t]){this[o]=t}var Qe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},mt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var pe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ue="important",Ye=" !"+ue,fe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Ye);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?ue:""):e[s]=r}}return f}});var Ze=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ce(o),t}});var Ut=class extends ne{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Lt in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=se(t,as)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},as=1e3,Lt="autoDestroyDisabled",me=class o extends A{constructor(){super(),this.M=[],this.manager=new Ut(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Dt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===xt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ut(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===xt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Nt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Lt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ye=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var pr=o=>typeof o=="object"&&o!=null?pe(o):o,ur=o=>typeof o=="object"&&o!=null?fe(o):o;var Rt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,St(this.#e)):St(t)}},fr=E(Rt);var mr=d;var yr=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var Q=ye({defaultAssetPath:"https://jsdev.arcgis.com/next/charts-components/",hydratedAttribute:"hydrated"}),{customElement:br,getAssetPath:_r,setAssetPath:Ar}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{Ds as a,x as b,Zt as c,Xt as d,Us as e,Ls as f,ge as g,ys as h,f as i,d as j,Me as k,ke as l,wt as m,qe as n,m as o,E as p,v as q,Ws as r,Fs as s,ce as t,qs as u,Gs as v,oo as w,St as x,me as y,ye as z,pr as A,ur as B,mr as C,yr as D,Q as E,br as F,_r as G};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import{d as t}from"./J5N73PSS.js";import{c as f,g as C}from"./YGKNSXIY.js";import a from"./V4K56KHO.js";import{j as r}from"./LOTUCDOA.js";import"./SQCQR2L2.js";import"./U4IE7DFG.js";import{F as d,g as n,h as s,l as h,y as c}from"./BUEMLPMQ.js";import"./RQYYBI4H.js";export default $arcgis.t(([,,,,,,,{ec:g,gc:m,jc:p}])=>{var u=n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends c{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let a=e?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(a)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=h()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:3,popoverPlacement:3,seriesColor:2,calculatedMinMaxBounds:2,page:3,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=u}async load(){this.layer!==void 0&&await this.layerChange(this.layer,void 0),this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,void 0),this.modelChange(this.model),this.onModelConfigChange(),this.updateDataFilters()}async willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&await this.layerChange(this.layer,e.get("layer")),e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,e.get("usePopupTemplateFieldsInfo")),e.has("seriesColor")&&this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&await this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,a){a?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}async layerChange(e,a){e!==void 0&&!r(a,e)&&await this.updateFetchLayerFieldsInfo()}async usePopupTemplateFieldsInfoChange(e,a){e!==void 0&&e!==a&&await this.updateFetchLayerFieldsInfo()}seriesColorChange(e){this.activeColorMatch=e?.get(0)===void 0,this.model.colorMatch&&e?.forEach((a,i)=>{f(a)&&e?.get(0)!==void 0&&a?.color!==void 0&&!r(this.model.getSeriesColor(i),a?.color)&&this.model.setSeriesColor(a?.color,i)})}async updateDataFilters(){let e=this.model.getDataFilters(),a=e?.where,i=this.layer?.definitionExpression??void 0;r(a,i)||await this.model.setDataFilters({...e,where:i})}async updateFetchLayerFieldsInfo(e){let a=e??this.model.config,i=this.layer;if(!i){let o=C(a)?a.iLayer:void 0;o&&(i=await g(o))}i&&(this.layerFieldsInfo=await m(i,this.usePopupTemplateFieldsInfo))}render(){let e=this.layerFieldsInfo?.find(o=>o.name===this.model.xAxisField),a=e!==void 0&&p(e),i;switch(this.page){case t.Data:i=s`<arcgis-charts-config-bar-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-bar-chart-data>`;break;case t.Series:i=s`<arcgis-charts-config-bar-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-bar-chart-series>`;break;case t.Axes:i=s`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case t.Guides:i=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${a} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;break;case t.Format:i=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case t.General:i=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:i="";break}return i}};d("arcgis-charts-config-bar-chart",l);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
3
+ v5.0.0-next.21 */
4
+ import{d as t}from"./7RMKZ4PY.js";import{c as f,g as C}from"./V5K3XKFG.js";import a from"./QBXIU4YH.js";import{j as r}from"./LSOZEH46.js";import"./CWCJ67DX.js";import"./FLQVC3QN.js";import{F as d,g as n,h as s,l as h,y as c}from"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([,,,,,,,{ic:g,kc:m,nc:p}])=>{var u=n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends c{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let a=e?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(a)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=h()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=u}async load(){this.layer!==void 0&&await this.layerChange(this.layer,void 0),this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,void 0),this.modelChange(this.model),this.onModelConfigChange(),this.updateDataFilters()}async willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&await this.layerChange(this.layer,e.get("layer")),e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,e.get("usePopupTemplateFieldsInfo")),e.has("seriesColor")&&this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&await this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,a){a?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}async layerChange(e,a){e!==void 0&&!r(a,e)&&await this.updateFetchLayerFieldsInfo()}async usePopupTemplateFieldsInfoChange(e,a){e!==void 0&&e!==a&&await this.updateFetchLayerFieldsInfo()}seriesColorChange(e){this.activeColorMatch=e?.get(0)===void 0,this.model.colorMatch&&e?.forEach((a,i)=>{f(a)&&e?.get(0)!==void 0&&a?.color!==void 0&&!r(this.model.getSeriesColor(i),a?.color)&&this.model.setSeriesColor(a?.color,i)})}async updateDataFilters(){let e=this.model.getDataFilters(),a=e?.where,i=this.layer?.definitionExpression??void 0;r(a,i)||await this.model.setDataFilters({...e,where:i})}async updateFetchLayerFieldsInfo(e){let a=e??this.model.config,i=this.layer;if(!i){let o=C(a)?a.iLayer:void 0;o&&(i=await g(o))}i&&(this.layerFieldsInfo=await m(i,this.usePopupTemplateFieldsInfo))}render(){let e=this.layerFieldsInfo?.find(o=>o.name===this.model.xAxisField),a=e!==void 0&&p(e),i;switch(this.page){case t.Data:i=s`<arcgis-charts-config-bar-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-bar-chart-data>`;break;case t.Series:i=s`<arcgis-charts-config-bar-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-bar-chart-series>`;break;case t.Axes:i=s`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case t.Guides:i=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${a} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;break;case t.Format:i=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case t.General:i=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:i="";break}return i}};d("arcgis-charts-config-bar-chart",l);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import{a as b,c as L,d as P,f as T}from"./2VILXJOT.js";import{a as _}from"./XBSU5RMI.js";import{a as N}from"./B6EUGEFM.js";import{f as l}from"./7RMKZ4PY.js";import{a as y}from"./DTZBBW3J.js";import a from"./QBXIU4YH.js";import{j as k,q as p}from"./LSOZEH46.js";import"./CWCJ67DX.js";import{b as h,k as f,n as d}from"./FLQVC3QN.js";import{A as s,D as A,F as I,g as F,h as r,l as g,w as c,x as m,y as x}from"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([,,,,,,,{Qa:u,Xa:E,k:B,lc:C,ya:S,za:w}])=>{var z=F`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.text{display:flex;margin-left:.5rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`,n={label:"label",fieldList:"field-list",fab:"fab",timeBinningHeader:"time-binning-header",linkContainer:"link-container",dimText:"dim-text"},$=class extends x{constructor(){super(...arguments),this._messages=y(),this.commonStrings=y({name:"common",blocking:!0}),this.lineChartPopover=null,this.aggregationElement=c(),this.xAxisFieldElement=c(),this.numericFieldsElement=c(),this.splitByFieldElement=c(),this.intervalAlignmentElement=c(),this.intervalElement=c(),this.onLineChartDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:t}=e.detail,i=[...e.detail.value];switch(L(b),t){case l.aggregation:this.model.aggregationType=i[0]!==h.NoAggregation?i[0]:h.NoAggregation;break;case l.xAxisField:{let a=i[0]?.trim()||"";this.model.xAxisField=a,this.arcgisChartsConfigResetTimeInterval.emit();break}case l.numericFields:this.model.numericFields=i,this.model.numericFields.length>0&&this.model.aggregationType===h.Count&&this.model.numericFields[0]!==C(this.layerFieldsInfo)&&(this.model.aggregationType=h.Sum);break;case l.splitByField:{let a=i[0]?.trim()||"";this.model.splitByField=a,this.model.colorMatch=!0;break}case l.interval:this.model.temporalBinningSize=i[0]?.intervalSize,this.model.temporalBinningUnit=i[0]?.intervalUnits,this.arcgisChartsConfigCustomizedTimeInterval.emit();break;case l.intervalAlignment:this.model.timeAggregationType=i[0]??"";break;default:break}t!==l.interval&&t!==l.intervalAlignment&&T(b)}}catch(t){throw this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}this.removeLineChartDataPopover(),this.requestUpdate()},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.lineChartPopover===e?.target&&this.removeLineChartDataPopover()},this.layerFieldsInfo=[],this.arcgisChartsConfigCustomizedTimeInterval=g(),this.arcgisChartsConfigDataChangeError=g(),this.arcgisChartsConfigLineChartDataNumericFieldValidate=g(),this.arcgisChartsConfigResetTimeInterval=g()}static{this.properties={aggregationLabel:16,timeAggregationLabel:16,disableSplitBy:16,messageOverrides:0,model:0,resetTimeInterval:0,layerFieldsInfo:0}}static{this.styles=z}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),this.aggregationLabel=S(this.model.aggregationType,this.commonStrings);let t=this.model.timeAggregationType;t!==void 0&&(this.timeAggregationLabel=w(t,this.commonStrings)),this.disableSplitBy=this.model.numericFields.length>1}disconnectedCallback(){super.disconnectedCallback(),this.removeLineChartDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}buildNumericFieldItem(e){return _(e,r`<calcite-list-item .label=${u(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}resetTimeIntervalOriginal(e){this.popoverClose(e),this.model.resetTimeInterval!==void 0&&(this.model.resetTimeInterval(),this.arcgisChartsConfigResetTimeInterval.emit())}onAggregationSelect(e){this.contentKind=l.aggregation,this.setupPopover(e)}onXAxisFieldSelect(e){this.contentKind=l.xAxisField,this.setupPopover(e)}onSplitBySelect(e){this.splitByFieldElement.value&&!this.splitByFieldElement.value.disabled&&(this.contentKind=l.splitByField,this.setupPopover(e))}onAddNumericFields(e){this.contentKind=l.numericFields,this.setupPopover(e)}onRemoveNumericField(e){let t=e.target.value;this.model.numericFields=this.model.numericFields.filter(i=>i!==t)}onIntervalAlignmentSelect(e){this.intervalAlignmentElement.value&&!this.intervalAlignmentElement.value.disabled&&(this.contentKind=l.intervalAlignment,this.setupPopover(e))}onIntervalSelect(e){this.intervalElement.value&&!this.intervalElement.value.disabled&&(this.contentKind=l.interval,this.setupPopover(e))}getCorrectedSplitByValue(){return this.model.splitByField===""||this.model.numericFields.length>1?"":u(this.layerFieldsInfo,this.model.splitByField)}getCorrectedXAxisValue(){return this.model.xAxisField===B||this.model.xAxisField.trim()===""?"":u(this.layerFieldsInfo,this.model.xAxisField)}onShowDataLabelsChange(e){this.model.dataLabelsVisibility=e.target.checked}onTrimIncompleteIntervalChange(e){this.model.trimIncompleteTimeInterval=e.target.checked}onNullPolicyChange(e){this.model.nullPolicy=e.target.selectedItem.value}shouldShowTimeBinning(){let e=this.layerFieldsInfo.find(a=>a.name===this.model.xAxisField),t=e?.type===p.Date||e?.type===p.DateOnly||e?.type===p.TimestampOffset,i=this.model.aggregationType!==h.NoAggregation;return t&&i}setupPopover(e){e.stopImmediatePropagation(),this.removeLineChartDataPopover();let t={size:this.model.temporalBinningSize??1,unit:this.model.temporalBinningUnit??f.Second},i,a,o;switch(this.contentKind){case l.aggregation:i=this.aggregationElement.value,a=this._messages.aggregationHeader,o=this.model.aggregationType;break;case l.xAxisField:i=this.xAxisFieldElement.value,a=this._messages.xAxisFieldHeader,o=this.model.xAxisField;break;case l.numericFields:i=this.numericFieldsElement.value,a=this._messages.numericFieldsHeader,o=this.model.numericFields;break;case l.splitByField:i=this.splitByFieldElement.value,a=this._messages.splitByFieldHeader,o=this.model.splitByField;break;case l.interval:i=this.intervalElement.value,a=this._messages.editInterval,o=t;break;case l.intervalAlignment:i=this.intervalAlignmentElement.value,a=this._messages.intervalAlignment,o=this.model.timeAggregationType??"";break}this.lineChartPopover=A(r`<arcgis-charts-config-line-chart-popover .headingTitle=${a} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} @arcgisChartsConfigLineChartDataPopoverChange=${this.onLineChartDataChange} @arcgisChartsConfigLineChartPopoverClose=${this.popoverClose}></arcgis-charts-config-line-chart-popover>`),!document.body.contains(this.lineChartPopover)&&this.lineChartPopover!==null&&document.body.appendChild(this.lineChartPopover)}removeLineChartDataPopover(){this.lineChartPopover!==null&&(this.lineChartPopover.open=!1,this.lineChartPopover=N(this.lineChartPopover))}renderAggregation(){return r`<arcgis-charts-config-field-select .label=${this.model.aggregationType===h.NoAggregation?this._messages.noAggregation:this.aggregationLabel} @click=${this.onAggregationSelect} ${m(this.aggregationElement)}></arcgis-charts-config-field-select>`}renderXAxisField(){let e=this.getCorrectedXAxisValue();return r`<arcgis-charts-config-field-select .label=${e} @click=${this.onXAxisFieldSelect} ${m(this.xAxisFieldElement)}></arcgis-charts-config-field-select>`}renderSplitBy(){let e=this.getCorrectedSplitByValue();return r`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-select>`}renderNumericFields(e){let t=C(this.layerFieldsInfo),i=[];for(let a of e)a!==t&&i.push(this.buildNumericFieldItem(a));return r`<calcite-list label class=${s(n.fieldList)} ${m(this.numericFieldsElement)}>${i}</calcite-list>`}renderInterval(){let e=(this.model.temporalBinningSize??0)<=0,t=this.model.temporalBinningSize??"",i=E(this.model.temporalBinningUnit??f.Second,this._messages)??"",a=P(b),o={size:this.model.temporalBinningSize,unit:this.model.temporalBinningUnit},v=k(o,a);return[r`<calcite-list label selection-appearance=border><calcite-list-item .value=${e?"":`${t} ${i}`} .label=${e?"":`${t} ${i}`} @click=${e?()=>{}:this.onIntervalSelect} ${m(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,r`<div class=${s(n.linkContainer)}><calcite-button .disabled=${v} appearance=transparent scale=s icon-end=reset @click=${this.resetTimeIntervalOriginal}>${this._messages.reset}</calcite-button></div>`]}renderIntervalAlignment(){return r`<arcgis-charts-config-field-select .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${m(this.intervalAlignmentElement)}></arcgis-charts-config-field-select>`}renderEmptyBins(){return r`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${d.Zero} .checked=${this.model.nullPolicy===d.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${d.Interpolate} .checked=${this.model.nullPolicy===d.Interpolate}></calcite-radio-button>${this._messages.connectLine}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${d.Null} .checked=${this.model.nullPolicy===d.Null}></calcite-radio-button>${this._messages.breakLine}</calcite-label></calcite-radio-button-group>`}render(){let e=this.renderAggregation(),t=this.renderXAxisField(),i=this.renderSplitBy(),a=this.renderNumericFields([...this.model.numericFields]),o=this.renderInterval(),v=this.renderIntervalAlignment(),D=this.renderEmptyBins();return r`<div><calcite-label class=${s(n.label)}>${this._messages.xAxisField}${t}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.numericFields}${a}</calcite-label><div class=${s(n.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${s(n.label)}><span class=${s(this.disableSplitBy?n.dimText:"")}>${this._messages.splitBy}</span>${i}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${s(n.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${s(n.label)}>${this._messages.interval}${o}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.intervalAlignment}${v}</calcite-label><calcite-label class=${s(n.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label><calcite-label class=${s(n.label)}>${this._messages.emptyBins}${D}</calcite-label></div><calcite-label class=${s(n.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label></div>`}};I("arcgis-charts-config-line-chart-data",$);return $},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
4
- import"./RQYYBI4H.js";var o={"Zoom Out":"Oddiali\u0165","From %1 to %2":"Z %1 do %2","From %1":"Z %1","To %1":"Do %1"};export{o as default};
3
+ v5.0.0-next.21 */
4
+ import"./6X3NOINZ.js";var o={"Zoom Out":"Oddiali\u0165","From %1 to %2":"Z %1 do %2","From %1":"Z %1","To %1":"Do %1"};export{o as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.21 */
4
+ import{a as L}from"./XEZUUESQ.js";import{a as k}from"./XBSU5RMI.js";import{b as K,c as N}from"./B6EUGEFM.js";import e from"./RIIIVJLP.js";import{f as s}from"./7RMKZ4PY.js";import{a as C}from"./DTZBBW3J.js";import c from"./Q5TR7VJT.js";import a from"./QBXIU4YH.js";import{j as b,q as d}from"./LSOZEH46.js";import"./CWCJ67DX.js";import"./F3BSM26R.js";import{k as r,o as h}from"./FLQVC3QN.js";import{A as o,F as P,g as I,h as n,l as f,w as m,x as p,y as F}from"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([,,,,,,,{Qa:E,Xa:D,mc:v,oc:T,ya:w,za:A},,{a:y,c:$,g:z,k:g,o:S}])=>{var _=I`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`,c={jsAppFlyout:"js-app-flyout",name:"line-chart-data-popover",numericFieldPickList:"line-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sizeSection:"size-section",applyButton:"apply-button"},x=class extends F{constructor(){super(...arguments),this._messages=C(),this.commonStrings=C({name:"common",blocking:!0}),this.picklist=m(),this.intervalSizeElement=m(),this.intervalTypeElement=m(),this.popoverElement=m(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigLineChartDataPopoverChange=f(),this.arcgisChartsConfigLineChartPopoverClose=f()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=_}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=$.map(l=>w(l,this.commonStrings));b(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[h.Start,h.End].map(l=>A(l,this.commonStrings));b(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(async()=>{typeof this.picklist.value?.setFocus=="function"&&await this.picklist.value?.setFocus()},y.PopoverTimer),K(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},y.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=N(e,t)}buildAggregationPickListItems(){return L($,e=>e,(e,t)=>n`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${g(e,this.selectedContent)}></calcite-list-item>`)}buildIntervalAlignmentPickListItems(){let e=[h.Start,h.End];return L(e,t=>t,(t,i)=>n`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return k(e.name,n`<calcite-list-item .label=${E(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${g(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case s.numericFields:{for(let l=0;l<t;l+=1){let a=this.layerFieldsInfo?.[l];a&&v(a)&&i.push(this.buildPickListItem(a))}break}case s.xAxisField:{for(let l=0;l<t;l+=1){let a=this.layerFieldsInfo?.[l];a&&(v(a)||a.type===d.Date||a.type===d.DateOnly||a.type===d.TimestampOffset)&&i.push(this.buildPickListItem(a))}break}case s.splitByField:{let l=k(" ",n`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(l);for(let a=0;a<t;a+=1){let u=this.layerFieldsInfo?.[a];u&&(T(u)||u.type===d.String)&&i.push(this.buildPickListItem(u))}break}}return i}closePopover(){if(this.contentKind===s.numericFields){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigLineChartDataPopoverChange,contentKind:this.contentKind};S(e)}this.open=!1,this.arcgisChartsConfigLineChartPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisField(){let e=this.buildPickListItems(s.xAxisField);return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(s.numericFields);return n`<calcite-list label class=${o(c.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(s.splitByField);return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[r.Second,r.Minute,r.Hour,r.Day,r.Week,r.Month,r.Year];return n`<div><div class=${o(c.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${z(e?.size,1)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${p(this.intervalTypeElement)}>${t.map(i=>n`<calcite-option .value=${i} .label=${D(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(c.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case s.aggregation:e=this.renderAggregationType();break;case s.xAxisField:e=this.renderXAxisField();break;case s.numericFields:e=this.renderNumericFields();break;case s.splitByField:e=this.renderSplitByField();break;case s.intervalAlignment:e=this.renderIntervalAlignment();break;case s.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===s.numericFields&&(e=n`<div slot=footer><calcite-fab class=${o(c.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),n`<div class=${o(c.jsAppFlyout)}><calcite-popover class=${o(c.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(c.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-line-chart-popover",x);return x},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,c,e)