@arcgis/charts-components 5.0.0-next.149 → 5.0.0-next.150

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 (326) hide show
  1. package/README.md +2 -4
  2. package/dist/cdn/2ATTYJG6.js +2 -0
  3. package/dist/cdn/2CTKBS47.js +2 -0
  4. package/dist/cdn/2TUSY77N.js +2 -0
  5. package/dist/cdn/3C4HBCTV.js +2 -0
  6. package/dist/cdn/3MXDGSBY.js +2 -0
  7. package/dist/cdn/3NIVTPH5.js +2 -0
  8. package/dist/cdn/3Q2BMY2L.js +2 -0
  9. package/dist/cdn/4DH3GZII.js +2 -0
  10. package/dist/cdn/{Z255YC4E.js → 4KZSOP76.js} +1 -1
  11. package/dist/cdn/4UDVEHW7.js +2 -0
  12. package/dist/cdn/4ZDZD6FW.js +2 -0
  13. package/dist/cdn/5L3VUKGY.js +2 -0
  14. package/dist/cdn/{NPTAS3PB.js → 6B7P3OWP.js} +1 -1
  15. package/dist/cdn/6G6VPJ6K.js +2 -0
  16. package/dist/cdn/6L2NFOQY.js +2 -0
  17. package/dist/cdn/6UGQKSVS.js +2 -0
  18. package/dist/cdn/6VS2BUNX.js +2 -0
  19. package/dist/cdn/72ILHP4O.js +2 -0
  20. package/dist/cdn/7AXTHOAU.js +2 -0
  21. package/dist/cdn/{FPVMDAVP.js → 7K4VZYMF.js} +1 -1
  22. package/dist/cdn/{E7NSRJS7.js → 7KL2S53W.js} +1 -1
  23. package/dist/cdn/7QTZ5O4B.js +2 -0
  24. package/dist/cdn/7YWK5AX4.js +2 -0
  25. package/dist/cdn/ASYHUBK5.js +2 -0
  26. package/dist/cdn/{CB2EYCDF.js → AUSXHSLY.js} +1 -1
  27. package/dist/cdn/AZYWNZ5K.js +2 -0
  28. package/dist/cdn/BQQLJHIU.js +2 -0
  29. package/dist/cdn/BRLZ2A7F.js +2 -0
  30. package/dist/cdn/BZYRPXHD.js +2 -0
  31. package/dist/cdn/C6RJHADU.js +2 -0
  32. package/dist/cdn/CEVAPOOF.js +2 -0
  33. package/dist/cdn/{OHBHUABJ.js → CHYRXR3K.js} +1 -1
  34. package/dist/cdn/CRNVPN6B.js +2 -0
  35. package/dist/cdn/CSV2VTSA.js +2 -0
  36. package/dist/cdn/{W66EH66K.js → CZ3Y6FRM.js} +1 -1
  37. package/dist/cdn/DJLJ5P4N.js +2 -0
  38. package/dist/cdn/DKJ7FFOL.js +2 -0
  39. package/dist/cdn/{BVAXFPTE.js → DPJE33GY.js} +1 -1
  40. package/dist/cdn/{Z4XTLHV3.js → EGHGISFS.js} +1 -1
  41. package/dist/cdn/F6PKNIKI.js +2 -0
  42. package/dist/cdn/FTZVIGVW.js +2 -0
  43. package/dist/cdn/GJWPFACV.js +2 -0
  44. package/dist/cdn/H2ABG252.js +2 -0
  45. package/dist/cdn/{IBPSHNO6.js → H4ULSC2D.js} +1 -1
  46. package/dist/cdn/HEN5PMZU.js +2 -0
  47. package/dist/cdn/HPG3LCZN.js +2 -0
  48. package/dist/cdn/HT5B7AY6.js +2 -0
  49. package/dist/cdn/IARNAL5N.js +9 -0
  50. package/dist/cdn/IBKDU34P.js +2 -0
  51. package/dist/cdn/{737LK3MK.js → IR2XD6P6.js} +3 -3
  52. package/dist/cdn/{UF2PXUST.js → IXYFMAZY.js} +1 -1
  53. package/dist/cdn/JO6AAGBV.js +2 -0
  54. package/dist/cdn/{5Z2N5G2K.js → JTDP2THJ.js} +1 -1
  55. package/dist/cdn/KA4BSBVA.js +2 -0
  56. package/dist/cdn/KBKA3QP3.js +2 -0
  57. package/dist/cdn/KDYJOJ2S.js +2 -0
  58. package/dist/cdn/KISYVPQA.js +2 -0
  59. package/dist/cdn/{2NWN5I6T.js → KTHE5IC6.js} +1 -1
  60. package/dist/cdn/{ZAIDOCYY.js → LHEOE5LN.js} +1 -1
  61. package/dist/cdn/MAUJ4HUQ.js +2 -0
  62. package/dist/cdn/MGJN25XS.js +2 -0
  63. package/dist/cdn/MQRY2EYZ.js +2 -0
  64. package/dist/cdn/MR5ORMVY.js +2 -0
  65. package/dist/cdn/MZSNIA3C.js +2 -0
  66. package/dist/cdn/NA4ZFNCV.js +2 -0
  67. package/dist/cdn/NMLR7I33.js +2 -0
  68. package/dist/cdn/{NDRUBDOF.js → NNS7M7OW.js} +1 -1
  69. package/dist/cdn/{QUWXB6XH.js → NOGZZTAP.js} +1 -1
  70. package/dist/cdn/NZZFA6F6.js +2 -0
  71. package/dist/cdn/{OF3VUOXY.js → O4D2KFXK.js} +1 -1
  72. package/dist/cdn/O4NETRGZ.js +2 -0
  73. package/dist/cdn/OQNPUVUK.js +2 -0
  74. package/dist/cdn/PPJ4YIYD.js +2 -0
  75. package/dist/cdn/PT44XBUL.js +2 -0
  76. package/dist/cdn/QFHFFY63.js +32 -0
  77. package/dist/cdn/QSS4DLDZ.js +2 -0
  78. package/dist/cdn/REHRP6LK.js +2 -0
  79. package/dist/cdn/SK3SXWIS.js +2 -0
  80. package/dist/cdn/SUK2EU7N.js +2 -0
  81. package/dist/cdn/SWNLXRQP.js +2 -0
  82. package/dist/cdn/TAHOH5D6.js +2 -0
  83. package/dist/cdn/TJFJHDEJ.js +2 -0
  84. package/dist/cdn/TKGRT45N.js +2 -0
  85. package/dist/cdn/{CLEHXDRG.js → TKUAPKCR.js} +1 -1
  86. package/dist/cdn/{YJ5B4PNE.js → TTLM6X2H.js} +1 -1
  87. package/dist/cdn/TVTAA4IC.js +2 -0
  88. package/dist/cdn/UIOMTO3X.js +2 -0
  89. package/dist/cdn/{3YZMWGH2.js → UNK6HRSC.js} +1 -1
  90. package/dist/cdn/VPR47IMP.js +2 -0
  91. package/dist/cdn/{MB3EVMIM.js → W26BDESX.js} +1 -1
  92. package/dist/cdn/{LBO2EK4A.js → WUYK6PKY.js} +1 -1
  93. package/dist/cdn/X2HDENND.js +2 -0
  94. package/dist/cdn/Y6GE3FLR.js +2 -0
  95. package/dist/cdn/ZALZRTR5.js +2 -0
  96. package/dist/cdn/{YGNXHR5T.js → ZJG2TJC6.js} +1 -1
  97. package/dist/cdn/{TXSCRECL.js → ZL3FVX4B.js} +2 -2
  98. package/dist/cdn/{IYCVQI4V.js → ZMA6K5G6.js} +1 -1
  99. package/dist/cdn/ZUI6QY5V.js +2 -0
  100. package/dist/cdn/ZYBAYHZU.js +2 -0
  101. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -1
  102. package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -1
  103. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  104. package/dist/cdn/index.js +1 -1
  105. package/dist/chunks/action-bar-utils.js +1 -1
  106. package/dist/chunks/bar-chart-model.js +15 -16
  107. package/dist/chunks/bar-chart-series.js +1 -1
  108. package/dist/chunks/box-plot-data.js +3 -3
  109. package/dist/chunks/box-plot-model.js +69 -67
  110. package/dist/chunks/chart-model.js +527 -0
  111. package/dist/chunks/chart-ui-utils2.js +1 -1
  112. package/dist/chunks/class-breaks.js +13 -12
  113. package/dist/chunks/combo-bar-line-chart-model.js +40 -41
  114. package/dist/chunks/data.js +4 -4
  115. package/dist/chunks/default.js +5 -4
  116. package/dist/chunks/gauge-model.js +19 -18
  117. package/dist/chunks/generate-x-axis-title.js +1 -1
  118. package/dist/chunks/heat-chart-model.js +42 -43
  119. package/dist/chunks/histogram-data.js +2 -2
  120. package/dist/chunks/histogram-model.js +43 -42
  121. package/dist/chunks/index.js +1128 -1195
  122. package/dist/chunks/interfaces.js +31 -30
  123. package/dist/chunks/line-chart-model.js +15 -15
  124. package/dist/chunks/model-setter.js +23 -18
  125. package/dist/chunks/model-with-guides.js +317 -0
  126. package/dist/chunks/model-with-line-marker-styling.js +177 -0
  127. package/dist/chunks/model-with-tooltips.js +315 -0
  128. package/dist/chunks/model-with-x-guides.js +49 -0
  129. package/dist/chunks/model-with-y-guides.js +629 -0
  130. package/dist/chunks/negative-values-stacked-to-baseline.js +77 -19
  131. package/dist/chunks/pie-chart-data.js +2 -2
  132. package/dist/chunks/pie-chart-model.js +18 -18
  133. package/dist/chunks/radar-chart-model.js +8 -8
  134. package/dist/chunks/resource.js +5 -4
  135. package/dist/chunks/rotated-state.js +1 -1
  136. package/dist/chunks/scatterplot-model.js +54 -52
  137. package/dist/chunks/serial-chart-data.js +322 -371
  138. package/dist/chunks/serial-chart-model.js +295 -138
  139. package/dist/chunks/series-length.js +79 -0
  140. package/dist/chunks/series.js +37 -0
  141. package/dist/chunks/setup-utils.js +79 -0
  142. package/dist/chunks/type-guards.js +45 -44
  143. package/dist/chunks/utils.js +3 -3
  144. package/dist/chunks/utils2.js +1 -1
  145. package/dist/chunks/web-component-utils.js +63 -61
  146. package/dist/components/arcgis-chart/customElement.d.ts +9 -0
  147. package/dist/components/arcgis-chart/customElement.js +4 -4
  148. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
  149. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -0
  150. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -0
  151. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  153. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  154. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  157. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  159. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  160. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  161. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  162. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  163. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  164. package/dist/components/arcgis-charts-config-font-style/resource.d.ts +9 -0
  165. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  166. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  167. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  168. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  169. package/dist/components/arcgis-charts-config-guide/resource.d.ts +8 -0
  170. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  171. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -0
  172. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  173. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  174. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +9 -9
  175. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
  176. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  177. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  178. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  179. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  180. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  181. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  182. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  183. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  184. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -0
  185. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  186. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  187. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  188. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  189. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  190. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  191. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  192. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  193. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  194. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  195. package/dist/docs/api.json +1 -1
  196. package/dist/docs/docs.json +1 -1
  197. package/dist/docs/vscode.html-custom-data.json +1 -1
  198. package/dist/docs/web-types.json +1 -1
  199. package/dist/index.js +1 -1
  200. package/dist/interfaces.d.ts +77 -0
  201. package/dist/json-schema/index.d.ts +8498 -0
  202. package/dist/model/bar-chart-model/bar-chart-model.d.ts +9 -1
  203. package/dist/model/box-plot-model/box-plot-model.d.ts +14 -28
  204. package/dist/model/chart-model/chart-model-base.d.ts +1 -0
  205. package/dist/model/chart-model/chart-model.d.ts +2 -31
  206. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +11 -9
  207. package/dist/model/gauge-model/gauge-model.d.ts +12 -18
  208. package/dist/model/heat-chart-model/heat-chart-model.d.ts +17 -2
  209. package/dist/model/histogram-model/histogram-model.d.ts +15 -27
  210. package/dist/model/line-chart-model/line-chart-model.d.ts +12 -11
  211. package/dist/model/mixins/model-with-line-marker-styling.d.ts +1 -0
  212. package/dist/model/mixins/model-with-multi-axes.d.ts +1 -0
  213. package/dist/model/mixins/model-with-x-guides.d.ts +2 -8
  214. package/dist/model/mixins/model-with-y-guides.d.ts +2 -8
  215. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +2 -8
  216. package/dist/model/pie-chart-model/pie-chart-model.d.ts +12 -14
  217. package/dist/model/radar-chart-model/radar-chart-model.d.ts +12 -11
  218. package/dist/model/scatterplot-model/scatterplot-model.d.ts +16 -29
  219. package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -31
  220. package/dist/model.js +38 -112
  221. package/dist/spec/config-defaults.d.ts +4 -0
  222. package/dist/spec/rest-js-types.d.ts +89 -224
  223. package/dist/spec/web-chart.d.ts +1 -2
  224. package/dist/utils/chart-config/interfaces.d.ts +3 -0
  225. package/dist/utils/chart-config/utils/index.d.ts +39 -1
  226. package/dist/utils/chart-config/utils/interfaces.d.ts +2 -0
  227. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  228. package/dist/utils/chart-config/validator/interfaces.d.ts +19 -7
  229. package/dist/utils/components/event-payloads.d.ts +9 -0
  230. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  231. package/dist/utils/data/index.d.ts +12 -0
  232. package/dist/utils/data/interfaces.d.ts +6 -0
  233. package/dist/utils/data/time-binning/interfaces.d.ts +6 -0
  234. package/dist/utils/defaults/index.d.ts +135 -15
  235. package/dist/utils/defaults/interfaces.d.ts +4 -0
  236. package/dist/utils/layer/index.d.ts +40 -0
  237. package/dist/utils/layer/inline-conversion/interfaces.d.ts +2 -0
  238. package/dist/utils/layer/interfaces.d.ts +15 -2
  239. package/dist/utils/layer/query-features/index.d.ts +26 -1
  240. package/dist/utils/layer/query-features/interfaces.d.ts +3 -0
  241. package/dist/utils/layer/query-parser/index.d.ts +15 -1
  242. package/dist/utils/layer/utils/index.d.ts +16 -0
  243. package/dist/utils/localization/index.d.ts +10 -0
  244. package/dist/utils/localization/interfaces.d.ts +11 -0
  245. package/dist/utils/misc/index.d.ts +29 -0
  246. package/dist/utils/type-guards/index.d.ts +38 -3
  247. package/dist/utils/type-guards/series-types.d.ts +18 -0
  248. package/dist/utils/types/index.d.ts +31 -6
  249. package/dist/utils/ui/chart-ui-utils.d.ts +6 -1
  250. package/dist/utils/ui/popover-ui-utils.d.ts +3 -0
  251. package/package.json +3 -3
  252. package/dist/cdn/3IFN5UNC.js +0 -2
  253. package/dist/cdn/3NE6BHA7.js +0 -2
  254. package/dist/cdn/3T66I3AV.js +0 -2
  255. package/dist/cdn/4G3CMZYX.js +0 -2
  256. package/dist/cdn/5NFDDXIZ.js +0 -2
  257. package/dist/cdn/5ZDTPYVX.js +0 -2
  258. package/dist/cdn/73DP7O6V.js +0 -2
  259. package/dist/cdn/7BYBNK4D.js +0 -2
  260. package/dist/cdn/7J55VBBP.js +0 -2
  261. package/dist/cdn/7JHAQ55T.js +0 -2
  262. package/dist/cdn/7MK2A5CN.js +0 -2
  263. package/dist/cdn/7QAEPVLP.js +0 -2
  264. package/dist/cdn/AZXSIAD5.js +0 -2
  265. package/dist/cdn/B4ONKX76.js +0 -2
  266. package/dist/cdn/BGRFXQBF.js +0 -2
  267. package/dist/cdn/BRSFMI7W.js +0 -2
  268. package/dist/cdn/BZBPPMPO.js +0 -2
  269. package/dist/cdn/CCE73L6Y.js +0 -2
  270. package/dist/cdn/CN4JJBQD.js +0 -2
  271. package/dist/cdn/CSGEEI34.js +0 -2
  272. package/dist/cdn/E7HMRRLS.js +0 -2
  273. package/dist/cdn/EJUACEYV.js +0 -2
  274. package/dist/cdn/F2EEAM7D.js +0 -2
  275. package/dist/cdn/F32ALQAF.js +0 -2
  276. package/dist/cdn/FDMFAAYD.js +0 -32
  277. package/dist/cdn/GXU3KAZJ.js +0 -2
  278. package/dist/cdn/HBBVQMKS.js +0 -2
  279. package/dist/cdn/HKS7OKQ2.js +0 -2
  280. package/dist/cdn/IDUT4PPZ.js +0 -2
  281. package/dist/cdn/ITOFPGYG.js +0 -2
  282. package/dist/cdn/K35SAKH6.js +0 -2
  283. package/dist/cdn/K7PHN6CK.js +0 -2
  284. package/dist/cdn/KFJDBWIX.js +0 -2
  285. package/dist/cdn/KJZSK5YZ.js +0 -2
  286. package/dist/cdn/KTAVV3VX.js +0 -2
  287. package/dist/cdn/KTLKB6B4.js +0 -2
  288. package/dist/cdn/KVD56MDM.js +0 -2
  289. package/dist/cdn/L53UCZR6.js +0 -2
  290. package/dist/cdn/L7C7MUW3.js +0 -2
  291. package/dist/cdn/LWCWU4HZ.js +0 -2
  292. package/dist/cdn/MJMTX7G3.js +0 -2
  293. package/dist/cdn/MKUWP4YO.js +0 -2
  294. package/dist/cdn/OLWAY6BU.js +0 -2
  295. package/dist/cdn/P4IJGBEM.js +0 -2
  296. package/dist/cdn/PHOC6W4U.js +0 -2
  297. package/dist/cdn/PTHMEJ4M.js +0 -2
  298. package/dist/cdn/Q4XRMPTN.js +0 -2
  299. package/dist/cdn/Q65AFAC2.js +0 -2
  300. package/dist/cdn/QEUQO5PH.js +0 -2
  301. package/dist/cdn/QJ7AL2JA.js +0 -2
  302. package/dist/cdn/QR6LWJA6.js +0 -2
  303. package/dist/cdn/QRNC5B3Q.js +0 -2
  304. package/dist/cdn/QZQBEPBF.js +0 -2
  305. package/dist/cdn/R23O2O7W.js +0 -2
  306. package/dist/cdn/TTDJJ46R.js +0 -2
  307. package/dist/cdn/TZ6AFED4.js +0 -2
  308. package/dist/cdn/UMDCLTNE.js +0 -2
  309. package/dist/cdn/VPVSYP2L.js +0 -2
  310. package/dist/cdn/VZR5LOQW.js +0 -2
  311. package/dist/cdn/W7MNTZT7.js +0 -2
  312. package/dist/cdn/XRRVOQJ3.js +0 -2
  313. package/dist/cdn/XSDOT2VC.js +0 -2
  314. package/dist/cdn/YJC6B2JE.js +0 -2
  315. package/dist/cdn/YMO37QWY.js +0 -9
  316. package/dist/cdn/Z2RUBKU7.js +0 -2
  317. package/dist/cdn/ZEKY74JE.js +0 -2
  318. package/dist/cdn/ZWPLVA7G.js +0 -2
  319. package/dist/cdn/ZXRU5IEE.js +0 -2
  320. package/dist/chunks/data-labels-visibility.js +0 -87
  321. package/dist/chunks/model-with-multi-axes.js +0 -1995
  322. package/dist/chunks/x-axis-labels-visibility.js +0 -68
  323. package/dist/model/shared/utils.d.ts +0 -4
  324. /package/dist/cdn/{CF5YAZDQ.js → 2BRTKEX6.js} +0 -0
  325. /package/dist/cdn/{S24EVUYE.js → F4KKUFSS.js} +0 -0
  326. /package/dist/cdn/{OJHML5IU.js → Z5QOLHIZ.js} +0 -0
@@ -1,27 +1,181 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import { C as A, g as C, h as F, i as x, b as T, j as b, s as B, k as O, l as v, m as I, n as W, o as L, p as D, q as M, r as V, t as P, u as E, v as N, w as R } from "./model-with-multi-axes.js";
3
- import { s as d, a as c, b as U } from "./data.js";
4
- import { b as p, c as y, s as f, d as X, e as j, f as u, h as k, i as m, j as S, k as w } from "./serial-chart-data.js";
5
- import { b as K, c as G, g as Y, a as q } from "./utils.js";
6
- import { S as Z } from "./common.js";
7
- import { W as z, a as H } from "./data-labels-visibility.js";
8
- import { W as J } from "./rotated-state.js";
9
- import { W as Q } from "./data-labels-symbol.js";
10
- import { W as $, a as tt, b as et } from "./axis-lines-symbol.js";
11
- import { W as it, a as st } from "./x-axis-labels-visibility.js";
12
- import { W as rt, a as ot, b as at } from "./generate-x-axis-title.js";
13
- import { isEqual as nt } from "lodash-es";
2
+ import { C as v } from "./chart-model.js";
3
+ import "@arcgis/toolkit/type";
4
+ import { e as B, W as O, a as m } from "./series-types.js";
5
+ import "@arcgis/toolkit/intl";
6
+ import { isEqual as W } from "lodash-es";
7
+ import "luxon";
8
+ import "d3-array";
9
+ import { b5 as L, aW as D, b0 as M, aO as P, aM as V, b as S, bK as N, Z as U } from "./index.js";
10
+ import "@arcgis/core/Graphic.js";
11
+ import "@arcgis/core/renderers/support/jsonUtils.js";
12
+ import "@arcgis/core/symbols/support/symbolUtils.js";
13
+ import "@esri/arcgis-html-sanitizer";
14
+ import "@arcgis/core/intl.js";
15
+ import "@arcgis/core/layers/support/FeatureFilter.js";
16
+ import "@arcgis/core/smartMapping/statistics/histogram.js";
17
+ import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
18
+ import "simple-statistics";
19
+ import "@arcgis/core/request.js";
20
+ import "@arcgis/core/AttributeBinsGraphic.js";
21
+ import "@arcgis/core/geometry/support/jsonUtils.js";
22
+ import "@arcgis/core/rest/support/AttributeBinsQuery.js";
23
+ import "@arcgis/core/rest/support/StatisticDefinition.js";
24
+ import "@arcgis/core/time/TimeExtent.js";
25
+ import "@arcgis/core/core/promiseUtils.js";
26
+ import "./runtime.js";
27
+ import { l as h, j as d, k as f } from "./index4.js";
28
+ import "@arcgis/toolkit/dom";
29
+ import { g as I, u as E, s as _, c as R, b as k, a as X } from "./utils.js";
30
+ import { P as y, Q as u, S as j, T as w, U as z, V as K, W as Y, X as $, Y as G, Z, _ as q, $ as Q, a0 as H, I as T, a1 as x, a2 as A, a3 as J, a4 as ee, R as te, a5 as C, a as ie } from "./serial-chart-data.js";
31
+ import { s as b, d as F, b as se } from "./data.js";
32
+ import { S as re } from "./common.js";
33
+ import { M as oe, a as ne, W as ae, b as le } from "./model-with-tooltips.js";
34
+ import { W as ge } from "./rotated-state.js";
35
+ import { W as ce } from "./data-labels-symbol.js";
36
+ import { W as pe, a as he, b as de } from "./axis-lines-symbol.js";
37
+ import { W as me, b as fe } from "./model-with-guides.js";
38
+ import { W as ye, a as ue, b as Se } from "./generate-x-axis-title.js";
14
39
  import { m as o } from "./model-setter.js";
15
- import { a as n } from "./series-types.js";
16
- import { b as _, bK as lt, Z as ht } from "./index.js";
17
- var gt = Object.defineProperty, dt = Object.getOwnPropertyDescriptor, a = (l, t, e, s) => {
18
- for (var i = dt(t, e), h = l.length - 1, g; h >= 0; h--)
19
- (g = l[h]) && (i = g(t, e, i) || i);
20
- return i && gt(t, e, i), i;
40
+ import { M as _e, a as Te } from "./model-with-y-guides.js";
41
+ import { M as xe } from "./model-with-x-guides.js";
42
+ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ce = (s) => {
43
+ const { assign: e, seriesIndex: t, config: i, commonStrings: r } = s;
44
+ e && i.axes !== void 0 && !i.axes?.[2] && (i.axes[2] = M(r, O.BarSeries)[1]), i.series && i.series.forEach((n, g) => {
45
+ g === t ? n.assignToSecondValueAxis = e : g !== t && n?.assignToSecondValueAxis !== !0 && (n.assignToSecondValueAxis = !1);
46
+ }), i.axes?.[2] && !i.series.some((n) => n.assignToSecondValueAxis) && i.axes.splice(2, 1);
47
+ }, be = (s, e) => e.series?.[s]?.name, Fe = (s, e, t) => {
48
+ t.series?.[e] && (t.series[e].name = s);
49
+ }, ve = (s, e) => {
50
+ const t = e.series?.[s];
51
+ let i;
52
+ return h(t) ? i = t.fillSymbol?.color : d(t) && (i = t.lineSymbol?.color), i;
53
+ }, Be = (s, e, t) => {
54
+ const i = t.series?.[e];
55
+ i && (h(i) ? i.fillSymbol = {
56
+ ...L(e),
57
+ ...i.fillSymbol,
58
+ color: s
59
+ } : d(i) && (i.lineSymbol = {
60
+ ...D(e),
61
+ ...i.lineSymbol,
62
+ color: s
63
+ }));
64
+ }, Ie = (s) => s.series.map((e) => e.id), Oe = (s, e) => {
65
+ e.series?.sort(
66
+ (t, i) => s.findIndex((r) => t.id === r) - s.findIndex((r) => i.id === r)
67
+ );
68
+ }, We = (s) => s.stackedType ?? B.Side, Le = (s) => {
69
+ const { newStackedType: e, config: t, layerInfo: i, commonStrings: r } = s;
70
+ if (t.stackedType = e, i !== void 0) {
71
+ const n = I({
72
+ config: t,
73
+ layerInfo: i,
74
+ commonStrings: r,
75
+ numericFields: u(t),
76
+ aggregationType: y(t)
77
+ });
78
+ E(t, 1, n);
79
+ }
80
+ t.axes?.[1] && (e === B.Stacked100 ? t.axes[1].valueFormat = P() : t.axes[1].valueFormat = V()), _({ config: t, value: null, axisIndex: 1, isMax: !1 }), _({ config: t, value: null, axisIndex: 1, isMax: !0 });
81
+ }, De = (s) => {
82
+ let e;
83
+ const t = s.series.find(
84
+ (i) => (h(i) || d(i) || f(i)) && i.nullCategory !== void 0
85
+ );
86
+ return (h(t) || d(t) || f(t)) && (e = t?.nullCategory), e;
87
+ }, Me = (s, e) => {
88
+ s.series.forEach((t) => {
89
+ (h(t) || d(t) || f(t)) && (t.nullCategory = e);
90
+ });
91
+ };
92
+ var Pe = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, p = (s, e, t, i) => {
93
+ for (var r = Ve(e, t), n = s.length - 1, g; n >= 0; n--)
94
+ (g = s[n]) && (r = g(e, t, r) || r);
95
+ return r && Pe(e, t, r), r;
96
+ };
97
+ class c extends v {
98
+ /**
99
+ * Time interval size for a temporal bar/line chart.
100
+ */
101
+ get temporalBinningSize() {
102
+ return j(this._config);
103
+ }
104
+ set temporalBinningSize(e) {
105
+ w(e, this._config);
106
+ }
107
+ /**
108
+ * Time interval units for a temporal bar/line chart.
109
+ */
110
+ get temporalBinningUnit() {
111
+ return z(this._config);
112
+ }
113
+ set temporalBinningUnit(e) {
114
+ K(e, this._config);
115
+ }
116
+ /**
117
+ * Time aggregation type for a temporal bar/line chart.
118
+ */
119
+ get timeAggregationType() {
120
+ return Y(this._config);
121
+ }
122
+ set timeAggregationType(e) {
123
+ $(e, this._config);
124
+ }
125
+ /**
126
+ * Whether to trim incomplete time intervals for a temporal bar/line chart.
127
+ */
128
+ get trimIncompleteTimeInterval() {
129
+ return G(this._config);
130
+ }
131
+ set trimIncompleteTimeInterval(e) {
132
+ Z(e, this._config);
133
+ }
134
+ /**
135
+ * Policy which tells the chart how to handle null values.
136
+ *
137
+ * `null`: Break the bar where null values are present.
138
+ *
139
+ * `zero`: Treats null values as zero.
140
+ *
141
+ * `interpolate`: Bar series: same effect as `null` - Line series: connects the lines across null values.
142
+ */
143
+ get nullPolicy() {
144
+ return q(this._config);
145
+ }
146
+ set nullPolicy(e) {
147
+ Q(e, this._config);
148
+ }
149
+ resetTimeInterval() {
150
+ H(this._config);
151
+ }
152
+ }
153
+ p([
154
+ o
155
+ ], c.prototype, "temporalBinningSize");
156
+ p([
157
+ o
158
+ ], c.prototype, "temporalBinningUnit");
159
+ p([
160
+ o
161
+ ], c.prototype, "timeAggregationType");
162
+ p([
163
+ o
164
+ ], c.prototype, "trimIncompleteTimeInterval");
165
+ p([
166
+ o
167
+ ], c.prototype, "nullPolicy");
168
+ p([
169
+ o
170
+ ], c.prototype, "resetTimeInterval");
171
+ var Ne = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, l = (s, e, t, i) => {
172
+ for (var r = Ue(e, t), n = s.length - 1, g; n >= 0; n--)
173
+ (g = s[n]) && (r = g(e, t, r) || r);
174
+ return r && Ne(e, t, r), r;
21
175
  };
22
- class r extends A {
176
+ class a extends v {
23
177
  constructor() {
24
- super(...arguments), this._xAxisField = "", this._aggregationType = n.Count, this._splitByField = "", this._numericFields = [];
178
+ super(...arguments), this._xAxisField = "", this._aggregationType = m.Count, this._splitByField = "", this._numericFields = [];
25
179
  }
26
180
  // #endregion
27
181
  // ---------------------------------------------------------------------------------------------
@@ -33,10 +187,10 @@ class r extends A {
33
187
  get xAxisField() {
34
188
  return this._xAxisField;
35
189
  }
36
- set xAxisField(t) {
37
- if (this._xAxisField = t, this.dirtyAsyncSetters.push("xAxisField"), t.trim() === "" || t === _) {
38
- const i = this.numericFields;
39
- this.resetConfig(), this.numericFields = i;
190
+ set xAxisField(e) {
191
+ if (this._xAxisField = e, this.dirtyAsyncSetters.push("xAxisField"), e.trim() === "" || e === S) {
192
+ const r = this.numericFields;
193
+ this.resetConfig(), this.numericFields = r;
40
194
  }
41
195
  this.processSeriesRebuild();
42
196
  }
@@ -46,8 +200,8 @@ class r extends A {
46
200
  get aggregationType() {
47
201
  return this._aggregationType;
48
202
  }
49
- set aggregationType(t) {
50
- this._aggregationType = t, this.dirtyAsyncSetters.push("aggregationType"), this.processSeriesRebuild();
203
+ set aggregationType(e) {
204
+ this._aggregationType = e, this.dirtyAsyncSetters.push("aggregationType"), this.processSeriesRebuild();
51
205
  }
52
206
  /**
53
207
  * The split-by field for the chart.
@@ -55,8 +209,8 @@ class r extends A {
55
209
  get splitByField() {
56
210
  return this._splitByField;
57
211
  }
58
- set splitByField(t) {
59
- this.layerInfo?.layerFieldsInfo && K(this.layerInfo?.layerFieldsInfo, t) && (this._splitByField = t, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild());
212
+ set splitByField(e) {
213
+ this.layerInfo?.layerFieldsInfo && R(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild());
60
214
  }
61
215
  /**
62
216
  * The numeric fields array for the chart.
@@ -64,47 +218,47 @@ class r extends A {
64
218
  get numericFields() {
65
219
  return this._numericFields;
66
220
  }
67
- set numericFields(t) {
68
- typeof t == "string" && (t = [t]);
69
- const e = G(this.layerInfo?.layerFieldsInfo ?? [], t), s = (this.xAxisField === "" || this.xAxisField === _) && t.length === 0;
70
- if (e && !s) {
71
- const i = lt(this.layerInfo.layer).idField;
72
- t.length === 0 && i !== void 0 ? (t.push(i), this._aggregationType = n.Count) : this._aggregationType === n.Count && t.length >= 1 && i !== void 0 && !t.includes(i) && (this._aggregationType = n.Sum), this._numericFields = t, this.dirtyAsyncSetters.push("numericFields"), this.numericFields.length > 1 && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), this.processSeriesRebuild();
73
- } else s && this.resetConfig();
221
+ set numericFields(e) {
222
+ typeof e == "string" && (e = [e]);
223
+ const t = k(this.layerInfo?.layerFieldsInfo ?? [], e), i = (this.xAxisField === "" || this.xAxisField === S) && e.length === 0;
224
+ if (t && !i) {
225
+ const r = N(this.layerInfo.layer).idField;
226
+ e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = m.Count) : this._aggregationType === m.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = m.Sum), this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), this.numericFields.length > 1 && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), this.processSeriesRebuild();
227
+ } else i && this.resetConfig();
74
228
  }
75
229
  /**
76
230
  * Gets whether the series should be assigned to the second value axis.
77
231
  *
78
232
  * @param seriesIndex - The index of the series.
79
233
  */
80
- getAssignToSecondValueAxis(t) {
81
- return C(t, this._config);
234
+ getAssignToSecondValueAxis(e) {
235
+ return Ae(e, this._config);
82
236
  }
83
- setAssignToSecondValueAxis(t, e) {
84
- F({ assign: t, seriesIndex: e, config: this._config, commonStrings: this.commonStrings });
237
+ setAssignToSecondValueAxis(e, t) {
238
+ Ce({ assign: e, seriesIndex: t, config: this._config, commonStrings: this.commonStrings });
85
239
  }
86
240
  /**
87
241
  * Gets the sort order for the bar chart.
88
242
  */
89
243
  getSortOrder() {
90
- return p(this._config)[0];
244
+ return T(this._config)[0];
91
245
  }
92
- setSortOrder(t, e) {
93
- d(t, this._config, e);
246
+ setSortOrder(e, t) {
247
+ b(e, this._config, t);
94
248
  }
95
249
  /**
96
250
  * Gets the list of the category values for the chart.
97
251
  */
98
252
  async getCustomSortValues() {
99
- return await y(this._config, this.layerInfo);
253
+ return await x(this._config, this.layerInfo);
100
254
  }
101
- async setDataFilters(t) {
102
- super.setDataFilters(t);
103
- const e = p(this._config)[0];
104
- if (e === Z.customSort) {
255
+ async setDataFilters(e) {
256
+ super.setDataFilters(e);
257
+ const t = T(this._config)[0];
258
+ if (t === re.customSort) {
105
259
  this.startAsyncUpdate();
106
- const s = await y(this._config, this.layerInfo);
107
- d(e, this._config, s), this.finishAsyncUpdate();
260
+ const i = await x(this._config, this.layerInfo);
261
+ b(t, this._config, i), this.finishAsyncUpdate();
108
262
  }
109
263
  this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
110
264
  }
@@ -112,10 +266,10 @@ class r extends A {
112
266
  * The list of custom sort values for custom sort
113
267
  */
114
268
  get orderByList() {
115
- return c(this._config);
269
+ return F(this._config);
116
270
  }
117
- set orderByList(t) {
118
- !ht(this._config) && f(t, this._config);
271
+ set orderByList(e) {
272
+ !U(this._config) && A(e, this._config);
119
273
  }
120
274
  /**
121
275
  * Updates the series based on the layer filter.
@@ -129,10 +283,10 @@ class r extends A {
129
283
  * **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
130
284
  */
131
285
  get binTemporalData() {
132
- return X(this._config);
286
+ return J(this._config);
133
287
  }
134
- set binTemporalData(t) {
135
- j(t, this._config);
288
+ set binTemporalData(e) {
289
+ ee(e, this._config);
136
290
  }
137
291
  // #endregion
138
292
  // ---------------------------------------------------------------------------------------------
@@ -144,31 +298,31 @@ class r extends A {
144
298
  *
145
299
  * @param seriesIndex - The index of the series.
146
300
  */
147
- getSeriesName(t) {
148
- return x(t, this._config);
301
+ getSeriesName(e) {
302
+ return be(e, this._config);
149
303
  }
150
- setSeriesName(t, e) {
151
- T(t, e, this._config);
304
+ setSeriesName(e, t) {
305
+ Fe(e, t, this._config);
152
306
  }
153
307
  /**
154
308
  * Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
155
309
  *
156
310
  * @param seriesIndex - The index of the series.
157
311
  */
158
- getSeriesColor(t) {
159
- return b(t, this._config);
312
+ getSeriesColor(e) {
313
+ return ve(e, this._config);
160
314
  }
161
- setSeriesColor(t, e) {
162
- B(t, e, this._config);
315
+ setSeriesColor(e, t) {
316
+ Be(e, t, this._config);
163
317
  }
164
318
  /**
165
319
  * Gets the order of the series array by returning an array of series ids.
166
320
  */
167
321
  getOrderOfSeries() {
168
- return O(this._config);
322
+ return Ie(this._config);
169
323
  }
170
- setOrderOfSeries(t) {
171
- v(t, this._config);
324
+ setOrderOfSeries(e) {
325
+ Oe(e, this._config);
172
326
  }
173
327
  /**
174
328
  * How the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
@@ -177,23 +331,23 @@ class r extends A {
177
331
  * **Note**: Currently this property is only used for bar and line series.
178
332
  */
179
333
  get stackedType() {
180
- return I(this._config);
334
+ return We(this._config);
181
335
  }
182
- set stackedType(t) {
183
- W({
184
- newStackedType: t,
336
+ set stackedType(e) {
337
+ Le({
338
+ newStackedType: e,
185
339
  config: this._config,
186
340
  layerInfo: this.layerInfo,
187
341
  commonStrings: this.commonStrings
188
342
  });
189
343
  }
190
- moveSeries(t, e) {
191
- const s = this.getOrderOfSeries(), [i] = s.splice(t, 1);
192
- s.splice(e, 0, i), this.setOrderOfSeries(s);
344
+ moveSeries(e, t) {
345
+ const i = this.getOrderOfSeries(), [r] = i.splice(e, 1);
346
+ i.splice(t, 0, r), this.setOrderOfSeries(i);
193
347
  }
194
- moveCustomSortValuesInOrderByList(t, e) {
195
- const s = c(this._config), [i] = s.splice(t, 1);
196
- s.splice(e, 0, i), f(s, this._config);
348
+ moveCustomSortValuesInOrderByList(e, t) {
349
+ const i = F(this._config), [r] = i.splice(e, 1);
350
+ i.splice(t, 0, r), A(i, this._config);
197
351
  }
198
352
  /**
199
353
  * The null category configuration of the bar chart.
@@ -203,21 +357,21 @@ class r extends A {
203
357
  * - `colorMatch` to be set to `false` on the model
204
358
  */
205
359
  get nullCategory() {
206
- return L(this._config);
360
+ return De(this._config);
207
361
  }
208
- set nullCategory(t) {
209
- const e = this.nullCategory;
210
- nt(e, t) || D(this._config, t);
362
+ set nullCategory(e) {
363
+ const t = this.nullCategory;
364
+ W(t, e) || Me(this._config, e);
211
365
  }
212
366
  /**
213
367
  * Sets up the local props based on the current config.
214
368
  */
215
369
  setupLocalProps() {
216
- this._xAxisField = U(this._config), this._aggregationType = u(this._config), this._splitByField = k(this._config), this._numericFields = m(this._config);
370
+ this._xAxisField = se(this._config), this._aggregationType = y(this._config), this._splitByField = te(this._config), this._numericFields = u(this._config);
217
371
  }
218
372
  resetConfig() {
219
- const t = this._config.id;
220
- this._config = this.generateDefaultConfig(), this._config.id = t, this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
373
+ const e = this._config.id;
374
+ this._config = this.generateDefaultConfig(), this._config.id = e, this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
221
375
  }
222
376
  /**
223
377
  * Determines if we can rebuild the series synchronously.
@@ -235,15 +389,15 @@ class r extends A {
235
389
  */
236
390
  async processSeriesRebuild() {
237
391
  if (this.layerInfo !== void 0) {
238
- const t = this.dirtyAsyncSetters[this.dirtyAsyncSetters.length - 1];
392
+ const e = this.dirtyAsyncSetters[this.dirtyAsyncSetters.length - 1];
239
393
  if (this.canUseSynchronousSeriesRebuild())
240
- this.dirtyAsyncSetters = [], S(this.getBuildNewSeriesProps());
394
+ this.dirtyAsyncSetters = [], C(this.getBuildNewSeriesProps());
241
395
  else if (!this.asyncConfigUpdateInProgress) {
242
396
  for (this.startAsyncUpdate(); this.dirtyAsyncSetters.length > 0; )
243
- this.dirtyAsyncSetters = [], await S(this.getBuildNewSeriesProps());
397
+ this.dirtyAsyncSetters = [], await C(this.getBuildNewSeriesProps());
244
398
  this.finishAsyncUpdate();
245
399
  }
246
- this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(t);
400
+ this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
247
401
  }
248
402
  }
249
403
  // #endregion
@@ -270,82 +424,85 @@ class r extends A {
270
424
  * Generate the proper chart title given the current config.
271
425
  */
272
426
  generateChartTitle() {
273
- return this.layerInfo !== void 0 ? w(this._config, this.layerInfo, this.commonStrings) : "";
427
+ return this.layerInfo !== void 0 ? ie(this._config, this.layerInfo, this.commonStrings) : "";
274
428
  }
275
429
  /**
276
430
  * Generate the proper y-axis title given the current config.
277
431
  */
278
432
  generateYAxisTitle() {
279
- return this.layerInfo !== void 0 ? Y({
433
+ return this.layerInfo !== void 0 ? I({
280
434
  config: this._config,
281
435
  layerInfo: this.layerInfo,
282
436
  commonStrings: this.commonStrings,
283
- numericFields: m(this._config),
284
- aggregationType: u(this._config)
437
+ numericFields: u(this._config),
438
+ aggregationType: y(this._config)
285
439
  }) : "";
286
440
  }
287
441
  // #endregion
288
442
  }
289
- a([
443
+ l([
290
444
  o
291
- ], r.prototype, "setAssignToSecondValueAxis");
292
- a([
445
+ ], a.prototype, "setAssignToSecondValueAxis");
446
+ l([
293
447
  o
294
- ], r.prototype, "setSortOrder");
295
- a([
448
+ ], a.prototype, "setSortOrder");
449
+ l([
296
450
  o
297
- ], r.prototype, "setDataFilters");
298
- a([
451
+ ], a.prototype, "setDataFilters");
452
+ l([
299
453
  o
300
- ], r.prototype, "orderByList");
301
- a([
454
+ ], a.prototype, "orderByList");
455
+ l([
302
456
  o
303
- ], r.prototype, "binTemporalData");
304
- a([
457
+ ], a.prototype, "binTemporalData");
458
+ l([
305
459
  o
306
- ], r.prototype, "setSeriesName");
307
- a([
460
+ ], a.prototype, "setSeriesName");
461
+ l([
308
462
  o
309
- ], r.prototype, "setSeriesColor");
310
- a([
463
+ ], a.prototype, "setSeriesColor");
464
+ l([
311
465
  o
312
- ], r.prototype, "setOrderOfSeries");
313
- a([
466
+ ], a.prototype, "setOrderOfSeries");
467
+ l([
314
468
  o
315
- ], r.prototype, "stackedType");
316
- a([
469
+ ], a.prototype, "stackedType");
470
+ l([
317
471
  o
318
- ], r.prototype, "moveSeries");
319
- a([
472
+ ], a.prototype, "moveSeries");
473
+ l([
320
474
  o
321
- ], r.prototype, "moveCustomSortValuesInOrderByList");
322
- a([
475
+ ], a.prototype, "moveCustomSortValuesInOrderByList");
476
+ l([
323
477
  o
324
- ], r.prototype, "nullCategory");
325
- a([
478
+ ], a.prototype, "nullCategory");
479
+ l([
326
480
  o
327
- ], r.prototype, "resetConfig");
328
- const ct = [
329
- M,
330
- V,
331
- P,
332
- z,
333
- J,
334
- H,
335
- Q,
336
- E,
337
- N,
338
- R,
339
- rt,
340
- it,
341
- ot,
342
- st,
343
- $,
344
- tt,
345
- et,
346
- at
481
+ ], a.prototype, "resetConfig");
482
+ const Ee = [
483
+ _e,
484
+ oe,
485
+ ne,
486
+ ae,
487
+ ge,
488
+ le,
489
+ ce,
490
+ xe,
491
+ Te,
492
+ c,
493
+ ye,
494
+ me,
495
+ ue,
496
+ fe,
497
+ pe,
498
+ he,
499
+ de,
500
+ Se
347
501
  ];
348
- q(r, ct);
502
+ X(a, Ee);
349
503
  export {
350
- r as S
504
+ a as S,
505
+ Fe as a,
506
+ be as g,
507
+ Be as s
351
508
  };
@@ -0,0 +1,79 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
+ import { m, C as o } from "./model-setter.js";
3
+ import "@arcgis/toolkit/intl";
4
+ import "lodash-es";
5
+ import "luxon";
6
+ import "d3-array";
7
+ import "@arcgis/toolkit/type";
8
+ import "./series-types.js";
9
+ import { aI as l, aG as a, bB as n, k as g } from "./index.js";
10
+ import "@arcgis/core/Graphic.js";
11
+ import "@arcgis/core/renderers/support/jsonUtils.js";
12
+ import "@arcgis/core/symbols/support/symbolUtils.js";
13
+ import "@esri/arcgis-html-sanitizer";
14
+ import "@arcgis/core/intl.js";
15
+ import "@arcgis/core/layers/support/FeatureFilter.js";
16
+ import "@arcgis/core/smartMapping/statistics/histogram.js";
17
+ import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
18
+ import "simple-statistics";
19
+ import "@arcgis/core/request.js";
20
+ import "@arcgis/core/AttributeBinsGraphic.js";
21
+ import "@arcgis/core/geometry/support/jsonUtils.js";
22
+ import "@arcgis/core/rest/support/AttributeBinsQuery.js";
23
+ import "@arcgis/core/rest/support/StatisticDefinition.js";
24
+ import "@arcgis/core/time/TimeExtent.js";
25
+ import "@arcgis/core/core/promiseUtils.js";
26
+ import "./runtime.js";
27
+ import "@arcgis/toolkit/dom";
28
+ var h = Object.defineProperty, c = Object.getOwnPropertyDescriptor, f = (t, e, r, v) => {
29
+ for (var i = c(e, r), s = t.length - 1, p; s >= 0; s--)
30
+ (p = t[s]) && (i = p(e, r, i) || i);
31
+ return i && h(e, r, i), i;
32
+ };
33
+ const x = (t) => t.title?.content.text ?? "", d = (t, e) => {
34
+ e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = l({
35
+ text: t,
36
+ visible: !0,
37
+ font: a(n.ChartTitle)
38
+ }));
39
+ };
40
+ class u extends o {
41
+ /**
42
+ * The chart title text.
43
+ */
44
+ get titleText() {
45
+ return x(this._config);
46
+ }
47
+ set titleText(e) {
48
+ d(e, this._config);
49
+ }
50
+ }
51
+ f([
52
+ m
53
+ ], u.prototype, "titleText");
54
+ const T = (t) => t.series.map((e) => String(g({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
55
+ class Q extends o {
56
+ /**
57
+ * The split-by values for the chart.
58
+ */
59
+ get splitByValues() {
60
+ return T(this._config);
61
+ }
62
+ }
63
+ const _ = (t) => t.series.length ?? 0;
64
+ class R extends o {
65
+ /**
66
+ * The length of the series array.
67
+ */
68
+ get seriesLength() {
69
+ return _(this._config);
70
+ }
71
+ }
72
+ export {
73
+ u as W,
74
+ T as a,
75
+ _ as b,
76
+ R as c,
77
+ Q as d,
78
+ x as g
79
+ };