@arcgis/charts-components 4.34.0-next.138 → 4.34.0-next.139

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 (315) hide show
  1. package/dist/cdn/{V7PMJLZ7.js → 24727M32.js} +2 -2
  2. package/dist/cdn/{XQRVM6V5.js → 24AOABIJ.js} +2 -2
  3. package/dist/cdn/{K2BWSS6E.js → 275IWBUL.js} +2 -2
  4. package/dist/cdn/{6JEFQ2QU.js → 2BBHT77V.js} +2 -2
  5. package/dist/cdn/{HC6PSK2U.js → 2DFVXYZZ.js} +2 -2
  6. package/dist/cdn/{7XUFB7BU.js → 2HWLESX7.js} +1 -1
  7. package/dist/cdn/2TQVJANU.js +4 -0
  8. package/dist/cdn/{5XKKOFWY.js → 2Z5QZCFJ.js} +2 -2
  9. package/dist/cdn/{2WQ24E5T.js → 35M3UULX.js} +2 -2
  10. package/dist/cdn/{EGEMLKBU.js → 3EZ5I5OP.js} +2 -2
  11. package/dist/cdn/3F4JEJEA.js +4 -0
  12. package/dist/cdn/{A3SVOZ3N.js → 3NNFVET2.js} +2 -2
  13. package/dist/cdn/{BVYUMK6P.js → 3R42OOYX.js} +2 -2
  14. package/dist/cdn/{EAFROOME.js → 3SIQACVN.js} +2 -2
  15. package/dist/cdn/{VB2QU35Z.js → 3YWAYBOP.js} +2 -2
  16. package/dist/cdn/{5ZFLRUAQ.js → 4AV33IV4.js} +2 -2
  17. package/dist/cdn/{4DNOT2SM.js → 4CMMHISB.js} +2 -2
  18. package/dist/cdn/{7P7ZCI4D.js → 4EPKGG7E.js} +2 -2
  19. package/dist/cdn/{7NPU76EB.js → 4FUBFI63.js} +2 -2
  20. package/dist/cdn/{2A2KORG3.js → 4KAYRNBJ.js} +2 -2
  21. package/dist/cdn/{UXIANTBG.js → 4Q6VLLNL.js} +2 -2
  22. package/dist/cdn/{JULFMHYU.js → 4QIMBRET.js} +2 -2
  23. package/dist/cdn/{FP4XXXH4.js → 4RW7YIQW.js} +2 -2
  24. package/dist/cdn/53EV3MZT.js +4 -0
  25. package/dist/cdn/{24XWETQR.js → 55F4PKIU.js} +2 -2
  26. package/dist/cdn/{65WCP3U4.js → 5HTKVNVU.js} +2 -2
  27. package/dist/cdn/{PNEHBKTZ.js → 5LPFIGE5.js} +2 -2
  28. package/dist/cdn/{3V5HP27T.js → 62YLRCZ3.js} +2 -2
  29. package/dist/cdn/{MMO5YA25.js → 6HKTEN26.js} +2 -2
  30. package/dist/cdn/6KWDDRP3.js +4 -0
  31. package/dist/cdn/{MVV5BSUB.js → 6MLVADSL.js} +2 -2
  32. package/dist/cdn/{QBKRNEI4.js → 7JKH3A3L.js} +1 -1
  33. package/dist/cdn/{W6TH42I6.js → 7M6O44MJ.js} +2 -2
  34. package/dist/cdn/{LI37MVAT.js → 7SP4VWKX.js} +2 -2
  35. package/dist/cdn/{OLN4GDJ5.js → 7VT3JILN.js} +2 -2
  36. package/dist/cdn/{ZHAUZSGZ.js → 7YIGASYS.js} +2 -2
  37. package/dist/cdn/{3HFOQMHO.js → A43LOI3S.js} +2 -2
  38. package/dist/cdn/{7TU33QBB.js → AASZ2NNB.js} +2 -2
  39. package/dist/cdn/{GHHYPSDM.js → AGR66VGN.js} +1 -1
  40. package/dist/cdn/{6NOW5STW.js → AIOJRVUP.js} +2 -2
  41. package/dist/cdn/{NUS5MWN3.js → AIPWFENR.js} +2 -2
  42. package/dist/cdn/{TRAYYR57.js → AO7SKWWW.js} +2 -2
  43. package/dist/cdn/{AVFLUZGG.js → ARSERCLF.js} +2 -2
  44. package/dist/cdn/{SGGWXSAT.js → ATJ7PUAG.js} +2 -2
  45. package/dist/cdn/{IVAFZR5S.js → AUOLPYT4.js} +2 -2
  46. package/dist/cdn/{BQBNGYUY.js → AVMOQPLZ.js} +2 -2
  47. package/dist/cdn/{J3PDSHB4.js → B7AQO23Y.js} +2 -2
  48. package/dist/cdn/BKBDVEMA.js +4 -0
  49. package/dist/cdn/{Q4ETO6KX.js → BNUYM65P.js} +2 -2
  50. package/dist/cdn/{UQCYC6RS.js → C5OMHPCP.js} +2 -2
  51. package/dist/cdn/{H3O4CV2N.js → CKG455T3.js} +2 -2
  52. package/dist/cdn/{KJTGNGE7.js → CL5PS2ZQ.js} +2 -2
  53. package/dist/cdn/{AQ545GQW.js → CLHKW2R4.js} +2 -2
  54. package/dist/cdn/{J4Q4Y52Q.js → CO2FLJ3Y.js} +2 -2
  55. package/dist/cdn/{NW7QSNZQ.js → CQNULM3X.js} +2 -2
  56. package/dist/cdn/{7NSN7PKK.js → CVNAPOVD.js} +2 -2
  57. package/dist/cdn/{MKOIRYD2.js → CYIPOL2X.js} +2 -2
  58. package/dist/cdn/CZJXXGG4.js +4 -0
  59. package/dist/cdn/{VL5P2YF2.js → D3Y5X2RZ.js} +2 -2
  60. package/dist/cdn/{3FV2W2TJ.js → D5QIJWED.js} +2 -2
  61. package/dist/cdn/{E2UK3VPZ.js → DKVFP5PU.js} +2 -2
  62. package/dist/cdn/{ZJQNS6C6.js → DRXGR5N6.js} +2 -2
  63. package/dist/cdn/{2EFMHI5C.js → E33WMWB7.js} +2 -2
  64. package/dist/cdn/{3VMADFU7.js → EEUKLBDN.js} +2 -2
  65. package/dist/cdn/{3RARKOUO.js → ESFDWI2T.js} +2 -2
  66. package/dist/cdn/{YXDOYMXQ.js → ESOFQM6P.js} +2 -2
  67. package/dist/cdn/{S264YT4E.js → F55XH6IZ.js} +2 -2
  68. package/dist/cdn/{2OTKLLUH.js → F7JABPNG.js} +2 -2
  69. package/dist/cdn/{WSUW2SRX.js → FC5NKDA3.js} +2 -2
  70. package/dist/cdn/{3F4YDB4N.js → FCORKVAA.js} +1 -1
  71. package/dist/cdn/{WS37TO2K.js → FHCA75QA.js} +2 -2
  72. package/dist/cdn/{WVWLCTA7.js → G45PGUQN.js} +2 -2
  73. package/dist/cdn/{AQ6EKAVQ.js → GJ3JLCUX.js} +2 -2
  74. package/dist/cdn/{HZO43CCS.js → GRZUDJ23.js} +2 -2
  75. package/dist/cdn/{LAKNTP3E.js → GS6HMLEU.js} +2 -2
  76. package/dist/cdn/{62GUSPPZ.js → GSG2VUXI.js} +2 -2
  77. package/dist/cdn/{JXZWLSDG.js → GWQI56LV.js} +2 -2
  78. package/dist/cdn/{63LOCIDR.js → H5D47BKX.js} +2 -2
  79. package/dist/cdn/{C7YKHH2X.js → HDLBXV7M.js} +2 -2
  80. package/dist/cdn/{2GMGLR5P.js → HFTUMX5C.js} +2 -2
  81. package/dist/cdn/HGYMKMCV.js +4 -0
  82. package/dist/cdn/{Z5VFVQJS.js → HMY5IMMX.js} +2 -2
  83. package/dist/cdn/{P7B4CUVV.js → HMZXUUOL.js} +2 -2
  84. package/dist/cdn/HNKRKWC3.js +4 -0
  85. package/dist/cdn/{VMVXNHIE.js → HROD7HBX.js} +2 -2
  86. package/dist/cdn/{QYPJB6KJ.js → HSE5TX37.js} +2 -2
  87. package/dist/cdn/{47C2USD3.js → HTIIP76D.js} +2 -2
  88. package/dist/cdn/{LQ6O6S4G.js → HYQ6RQRD.js} +2 -2
  89. package/dist/cdn/{KV6YLRHG.js → I5XKWJQ3.js} +2 -2
  90. package/dist/cdn/{4AWPOLH2.js → IESXX2ZN.js} +2 -2
  91. package/dist/cdn/{ZJQQ25X3.js → IIEO3CUM.js} +2 -2
  92. package/dist/cdn/{QEARPOGE.js → IQNSNAPF.js} +2 -2
  93. package/dist/cdn/J6O2Q7JQ.js +4 -0
  94. package/dist/cdn/{3GXCBHN7.js → JI4SCCKL.js} +2 -2
  95. package/dist/cdn/{CQ6CAS5V.js → JJBMFIJR.js} +2 -2
  96. package/dist/cdn/{BIKOLGHP.js → JNEUGJJP.js} +2 -2
  97. package/dist/cdn/{655VV6J7.js → KKQ5YMWB.js} +2 -2
  98. package/dist/cdn/KOSZILX5.js +4 -0
  99. package/dist/cdn/{5QYBQGM4.js → KWN5Q4E5.js} +2 -2
  100. package/dist/cdn/{2BJLMLSJ.js → KYFB56YJ.js} +2 -2
  101. package/dist/cdn/{6YELTPCV.js → KZ7R2GNT.js} +2 -2
  102. package/dist/cdn/{MGEXMURL.js → L2IRDB6T.js} +2 -2
  103. package/dist/cdn/{OEPX4LYZ.js → L6SJIJ4U.js} +2 -2
  104. package/dist/cdn/{UBTXULZC.js → LEYFIB5I.js} +2 -2
  105. package/dist/cdn/{E34GIVUN.js → LIN2JSC3.js} +2 -2
  106. package/dist/cdn/{EGEWNOKE.js → LO7TZSPN.js} +1 -1
  107. package/dist/cdn/{2SKX4UWZ.js → LYHLT7KP.js} +2 -2
  108. package/dist/cdn/M46AKLTX.js +4 -0
  109. package/dist/cdn/{YIR2SBJB.js → MSP6ENWY.js} +2 -2
  110. package/dist/cdn/{P2U3VERW.js → MV3JUDYG.js} +2 -2
  111. package/dist/cdn/MYXBBS5N.js +6 -0
  112. package/dist/cdn/{ADT2ADOP.js → N4ALCYUU.js} +2 -2
  113. package/dist/cdn/{BM42PZQA.js → N4FD6GFX.js} +2 -2
  114. package/dist/cdn/{HNFXK5BC.js → NBK3IGYG.js} +2 -2
  115. package/dist/cdn/{LD574V2G.js → NDPTI4DK.js} +2 -2
  116. package/dist/cdn/{U44MT23C.js → NHGBQNGR.js} +2 -2
  117. package/dist/cdn/{PU3IMZ4C.js → NTA7RIMK.js} +1 -1
  118. package/dist/cdn/{OQJR5UYE.js → NTOPMFTD.js} +1 -1
  119. package/dist/cdn/{R2UCVSOJ.js → NVNTOMN3.js} +2 -2
  120. package/dist/cdn/{X2B3TOT2.js → NXQ4SDPQ.js} +2 -2
  121. package/dist/cdn/{GA5DDTA4.js → OKCKTHTO.js} +2 -2
  122. package/dist/cdn/{RWUGTZKD.js → OMLAJ4TO.js} +2 -2
  123. package/dist/cdn/{QZ45JGUL.js → OMSVBDXG.js} +2 -2
  124. package/dist/cdn/{KA72OML2.js → ORRKIZWH.js} +2 -2
  125. package/dist/cdn/{5DZ4PENM.js → OZKXMCJA.js} +2 -2
  126. package/dist/cdn/{QH4CXIBG.js → OZYGBOFG.js} +2 -2
  127. package/dist/cdn/{6BQ3LNWC.js → PAG6XWJA.js} +2 -2
  128. package/dist/cdn/{KKK6NKAK.js → PRJSC3RV.js} +2 -2
  129. package/dist/cdn/{IWZN6Z2X.js → PTM7SNSE.js} +2 -2
  130. package/dist/cdn/QW5PY2X3.js +4 -0
  131. package/dist/cdn/{T4I7CMUA.js → QWI2A6ZL.js} +2 -2
  132. package/dist/cdn/{6RCZYLQV.js → QX27BY34.js} +2 -2
  133. package/dist/cdn/{SJ3KH7ID.js → RD6AKW5W.js} +2 -2
  134. package/dist/cdn/{6LMPGM6X.js → RL3EEN44.js} +2 -2
  135. package/dist/cdn/{MGD3RS3B.js → S4HKPNOQ.js} +2 -2
  136. package/dist/cdn/{7CBCONCT.js → S52ZYYIM.js} +2 -2
  137. package/dist/cdn/{CQ37CKSP.js → S5ZFBXHP.js} +2 -2
  138. package/dist/cdn/{26WOYBLS.js → SGY3Y3T2.js} +2 -2
  139. package/dist/cdn/{QBOP4WZB.js → SIC5Q5IQ.js} +2 -2
  140. package/dist/cdn/{V5GN2LL4.js → SKCZJNTG.js} +2 -2
  141. package/dist/cdn/{ET3IDOQP.js → SPI4CDXV.js} +2 -2
  142. package/dist/cdn/{BHGFCAVN.js → SRPLJB2L.js} +2 -2
  143. package/dist/cdn/{KKG3W27G.js → SX77MTL5.js} +2 -2
  144. package/dist/cdn/T265JJO4.js +4 -0
  145. package/dist/cdn/{TOCU34T4.js → T37XLGRC.js} +2 -2
  146. package/dist/cdn/{MSFB4KBJ.js → TD557D5H.js} +2 -2
  147. package/dist/cdn/TIAZ2E3Q.js +4 -0
  148. package/dist/cdn/{KN6NW37P.js → TVN64B5W.js} +2 -2
  149. package/dist/cdn/{5DJTALER.js → TX33Y4PI.js} +2 -2
  150. package/dist/cdn/{3746J2IS.js → U3LR4SEM.js} +2 -2
  151. package/dist/cdn/{QQWXEUYG.js → U64R6C4H.js} +2 -2
  152. package/dist/cdn/{ZPBAWQHF.js → UESGPZ3P.js} +2 -2
  153. package/dist/cdn/{JUKLBBIL.js → UFZXQNXX.js} +2 -2
  154. package/dist/cdn/{IJAGBSJZ.js → UHPYWYXH.js} +2 -2
  155. package/dist/cdn/{HTE6EJSS.js → UMVCJSEL.js} +2 -2
  156. package/dist/cdn/{JUOH3GUW.js → UPJNAB23.js} +2 -2
  157. package/dist/cdn/{SBYEL7EE.js → UPK33ANF.js} +2 -2
  158. package/dist/cdn/{FUWYL4ML.js → VAJCC7MO.js} +2 -2
  159. package/dist/cdn/VGT6OV7C.js +4 -0
  160. package/dist/cdn/VMKHC6RQ.js +4 -0
  161. package/dist/cdn/{WIKE7CRP.js → W3KQRTPP.js} +2 -2
  162. package/dist/cdn/{YRI2KAO3.js → W6IWMH2N.js} +2 -2
  163. package/dist/cdn/{AJKXVHWW.js → WZNK5TL7.js} +2 -2
  164. package/dist/cdn/{B64JGUDN.js → X244JP3P.js} +2 -2
  165. package/dist/cdn/{WWF7JFCF.js → XGMCJCID.js} +2 -2
  166. package/dist/cdn/{3UFHPC6W.js → XJQ3SQ2F.js} +2 -2
  167. package/dist/cdn/{4JCXTUTP.js → XLFDFDKQ.js} +2 -2
  168. package/dist/cdn/{CCQVL7XZ.js → XSODGSTK.js} +2 -2
  169. package/dist/cdn/{7BD5455G.js → XV7SKWTW.js} +9 -9
  170. package/dist/cdn/{CLLSYEA5.js → XYKFL3V6.js} +2 -2
  171. package/dist/cdn/{QJPMZ5PV.js → Y23T3DSI.js} +2 -2
  172. package/dist/cdn/{2WAIYIQS.js → Y2OO5FYQ.js} +2 -2
  173. package/dist/cdn/{EY37HPEB.js → Y4VP5EK2.js} +2 -2
  174. package/dist/cdn/{3HICWNID.js → YBO24WWY.js} +2 -2
  175. package/dist/cdn/{IVAT7IEB.js → YSAMGVP7.js} +2 -2
  176. package/dist/cdn/{TTUWIA2P.js → Z2AMZVEI.js} +2 -2
  177. package/dist/cdn/{6XN5OMSG.js → Z5AQSMCG.js} +2 -2
  178. package/dist/cdn/{7DSG22B6.js → ZHPMZD6C.js} +2 -2
  179. package/dist/cdn/{TXPWICK7.js → ZZILHPFL.js} +22 -22
  180. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.en.json +1 -1
  181. package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.en.json +1 -1
  182. package/dist/cdn/index.js +2 -2
  183. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +1 -0
  184. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -0
  185. package/dist/chart-rendering/common/defaults/interfaces.d.ts +8 -1
  186. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
  187. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
  188. package/dist/chunks/action-bar-utils.js +12 -11
  189. package/dist/chunks/axis-model-wrapper.js +1 -1
  190. package/dist/chunks/bar-chart-model.js +5 -5
  191. package/dist/chunks/bar-chart-series.js +3 -3
  192. package/dist/chunks/baseline-stacking.js +23 -23
  193. package/dist/chunks/bg_BG.js +1 -1
  194. package/dist/chunks/bg_BG2.js +1 -1
  195. package/dist/chunks/box-plot-data.js +34 -34
  196. package/dist/chunks/box-plot-model.js +23 -23
  197. package/dist/chunks/chart-ui-utils.js +1 -1
  198. package/dist/chunks/chart-ui-utils2.js +122 -77
  199. package/dist/chunks/combo-bar-line-chart-model.js +10 -10
  200. package/dist/chunks/common.js +1 -1
  201. package/dist/chunks/data.js +435 -400
  202. package/dist/chunks/default.js +4 -4
  203. package/dist/chunks/events.js +18 -0
  204. package/dist/chunks/gauge-model.js +14 -14
  205. package/dist/chunks/histogram-data.js +2 -2
  206. package/dist/chunks/histogram-model.js +2 -2
  207. package/dist/chunks/index.js +69 -6163
  208. package/dist/chunks/index2.js +16 -38
  209. package/dist/chunks/index3.js +6124 -35
  210. package/dist/chunks/interfaces.js +90 -16216
  211. package/dist/chunks/interfaces2.js +16120 -90
  212. package/dist/chunks/interfaces3.js +491 -0
  213. package/dist/chunks/interfaces4.js +18 -0
  214. package/dist/chunks/line-chart-model.js +2 -2
  215. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  216. package/dist/chunks/model-with-data-labels.js +11 -11
  217. package/dist/chunks/model-with-multi-axes.js +50 -50
  218. package/dist/chunks/model-with-rotation.js +4 -4
  219. package/dist/chunks/pie-chart-data.js +29 -28
  220. package/dist/chunks/pie-chart-model.js +12 -12
  221. package/dist/chunks/popover-ui-utils.js +1 -1
  222. package/dist/chunks/radar-chart-model.js +2 -2
  223. package/dist/chunks/resource.js +1 -1
  224. package/dist/chunks/rest-js-object-literals.js +8 -8
  225. package/dist/chunks/runtime.js +1 -1
  226. package/dist/chunks/scatterplot-model.js +5 -5
  227. package/dist/chunks/serial-chart-model.js +109 -84
  228. package/dist/chunks/series-types.js +16 -21
  229. package/dist/chunks/series.js +2 -2
  230. package/dist/chunks/sk_SK.js +1 -1
  231. package/dist/chunks/store.js +1 -1
  232. package/dist/chunks/type-guards.js +1 -1
  233. package/dist/chunks/useT9n.js +1 -1
  234. package/dist/chunks/web-component-utils.js +304 -770
  235. package/dist/components/arcgis-chart/customElement.js +3510 -3474
  236. package/dist/components/arcgis-charts-action-bar/customElement.js +43 -42
  237. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
  239. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
  240. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +76 -71
  241. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
  242. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +68 -44
  243. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +7 -1
  244. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -5
  245. package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
  246. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
  247. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +17 -18
  248. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
  249. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +9 -9
  250. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  251. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
  252. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
  254. package/dist/components/arcgis-charts-config-create-flow/customElement.js +79 -75
  255. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  257. package/dist/components/arcgis-charts-config-format/customElement.js +5 -5
  258. package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
  259. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  260. package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
  261. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -3
  262. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
  264. package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
  265. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +8 -8
  266. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
  267. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  268. package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
  269. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -17
  270. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
  271. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
  272. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
  273. package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
  274. package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
  275. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -11
  276. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -3
  277. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -10
  278. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
  279. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
  280. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
  281. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
  282. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
  283. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
  284. package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
  285. package/dist/docs/api.json +2 -2
  286. package/dist/docs/docs.json +2 -2
  287. package/dist/docs/web-types.json +1 -1
  288. package/dist/index.d.ts +4 -4
  289. package/dist/index.js +90 -542
  290. package/dist/json-schema/index.d.ts +52 -25
  291. package/dist/loader.js +2 -2
  292. package/dist/model/serial-chart-model/serial-chart-model.d.ts +11 -1
  293. package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +16 -1
  294. package/dist/model.js +1 -1
  295. package/dist/spec/index.d.ts +2 -2
  296. package/dist/spec/web-chart.d.ts +28 -1
  297. package/dist/utils/chart-config/converter/index.d.ts +3 -3
  298. package/package.json +3 -3
  299. package/dist/cdn/33ZN6PCD.js +0 -4
  300. package/dist/cdn/47OMAX2Z.js +0 -4
  301. package/dist/cdn/4K6MOKTP.js +0 -4
  302. package/dist/cdn/6IQDK4QF.js +0 -4
  303. package/dist/cdn/747VV5WK.js +0 -6
  304. package/dist/cdn/BPYIIPNZ.js +0 -4
  305. package/dist/cdn/GRQM5NKM.js +0 -4
  306. package/dist/cdn/HACFQS62.js +0 -4
  307. package/dist/cdn/HHPHUIUM.js +0 -4
  308. package/dist/cdn/IXIWUOLD.js +0 -4
  309. package/dist/cdn/N2IAZOQ7.js +0 -4
  310. package/dist/cdn/SQAKVW23.js +0 -4
  311. package/dist/cdn/TZUL5VVX.js +0 -4
  312. package/dist/cdn/WR4YXJE2.js +0 -4
  313. package/dist/cdn/XR2EF3UR.js +0 -4
  314. package/dist/chunks/index4.js +0 -68
  315. package/dist/chunks/index5.js +0 -95
@@ -1,886 +1,420 @@
1
- import { W as L, g as U, e as Q, h as J, d as ee, u as te } from "./series-types.js";
2
- import { isEqual as ae, capitalize as b, isNumber as B, zip as H } from "lodash-es";
3
- import { d as $ } from "./interfaces2.js";
4
- import { a as E } from "./common.js";
5
- import { a1 as ie, aY as oe, X as re, p as w, c2 as ne, cx as u, H as N, b0 as T, a2 as v, bd as le, N as F, aZ as se, a_ as z } from "./interfaces.js";
6
- import { g as de } from "./histogram-data.js";
7
- import { n as ce, o as ue, p as ge, q as Y, r as me, c as q } from "./data.js";
8
- import { g as pe, a as fe, b as ye } from "./pie-chart-data.js";
9
- import { p as he, g as I, a as Z, c as W } from "./box-plot-data.js";
10
- import { R, d as be, f as h, e as f, c as xe } from "./rest-js-object-literals.js";
11
- import "@arcgis/toolkit/intl";
12
- import "d3-array";
13
- import "@arcgis/core/geometry/support/jsonUtils.js";
14
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
15
- import "@arcgis/core/rest/support/Query.js";
16
- import "@arcgis/core/rest/support/StatisticDefinition.js";
17
- import "@arcgis/core/time/TimeExtent.js";
18
- import "@arcgis/core/core/promiseUtils.js";
19
- import "@arcgis/core/request.js";
20
- import "./runtime.js";
21
- import { A as Se } from "./index2.js";
22
- import "@arcgis/toolkit/dom";
23
- import { g as Ce } from "./index4.js";
1
+ import { W as P, u as G } from "./series-types.js";
2
+ import { isEqual as U, capitalize as g, isNumber as A, zip as E } from "lodash-es";
3
+ import { b as k } from "./interfaces.js";
4
+ import { a as _ } from "./common.js";
5
+ import { m as v, N as X, C as d, O as T, P as h, A as D, Q as Y, R as B, T as W, U as N } from "./interfaces2.js";
6
+ import { g as J } from "./histogram-data.js";
7
+ import { h as ee, j as te, k as oe, l as Q, m as ae, c as Z } from "./data.js";
8
+ import { g as ie, a as se, b as le } from "./pie-chart-data.js";
9
+ import { p as ne, g as R, a as q, c as K } from "./box-plot-data.js";
10
+ import { C as M } from "./interfaces3.js";
11
+ import { a as re } from "./chart-ui-utils2.js";
24
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
25
13
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
26
- v4.34.0-next.138 */
27
- const et = [
28
- L.BarSeries,
29
- L.BoxPlotSeries,
30
- L.LineSeries,
31
- L.PieSeries,
32
- L.HistogramSeries,
33
- L.ScatterSeries
34
- ], tt = 1, at = { PNG: "png" }, M = {
35
- aria: {
36
- defaultChartItemRole: "figure"
37
- },
38
- title: {
39
- marginBottom: 8,
40
- wrap: !0
41
- },
42
- subtitle: {
43
- marginBottom: 10,
44
- wrap: !0
45
- },
46
- rotated: !1,
47
- legendProperties: {
48
- legendLabels: {
49
- marginLeft: 5,
50
- marginRight: 5,
51
- truncate: !1,
52
- applyOnClones: !0,
53
- wrap: !0,
54
- maxWidth: 200
55
- },
56
- valueLabels: {
57
- wrap: !0,
58
- maxWidth: 200
59
- },
60
- legendTitle: {
61
- wrap: !0,
62
- maxWidth: 220,
63
- marginLeft: 10,
64
- marginRight: 10,
65
- marginTop: 10
66
- },
67
- legendMarkersSize: 14,
68
- legendLabelReducedOpacity: 0.5,
69
- // 50% of original opacity
70
- rectangleMarkerRadius: 3,
71
- // for rounded rectangles
72
- roundedMarkerRadius: 12,
73
- // for circles
74
- legendPaddingRightWithScrollbarVisible: 10,
75
- maxHeight: 100,
76
- marginTop: 2,
77
- marginBottom: 2,
78
- marginLeft: 0,
79
- marginRight: 0,
80
- paddingTop: 0,
81
- paddingBottom: 0,
82
- paddingLeft: 0,
83
- paddingRight: 0,
84
- position: ee.Right
85
- },
86
- footer: {
87
- wrap: !0,
88
- horizontalCenter: f.Center,
89
- verticalCenter: h.Middle,
90
- align: f.Center
91
- },
92
- axisLabel: {
93
- rotation: 0,
94
- align: f.Center,
95
- horizontalCenter: f.Center,
96
- verticalCenter: h.Top,
97
- dy: 5,
98
- paddingTop: 5,
99
- paddingRight: 5,
100
- paddingLeft: 5,
101
- maxWidth: Number.NaN
102
- },
103
- axisTickLength: 5,
104
- rotatedAxisLabel: {
105
- rotation: -45,
106
- horizontalCenter: f.Left,
107
- verticalCenter: h.Bottom,
108
- dy: 6,
109
- paddingTop: 5,
110
- paddingLeft: 0,
111
- paddingRight: 5
112
- },
113
- histogramAxisLabel: {
114
- rotation: 0,
115
- horizontalCenter: f.Center,
116
- verticalCenter: h.Middle,
117
- dy: 0,
118
- dx: 0,
119
- paddingLeft: 3,
120
- paddingRight: 3
121
- },
122
- xAxisTitleLabel: {
123
- align: f.Center,
124
- valign: h.Middle,
125
- rotation: 0,
126
- fontSize: 10,
127
- wrap: !0
128
- },
129
- yAxisTitleLabel: {
130
- align: f.Center,
131
- valign: h.Middle,
132
- rotation: 270,
133
- wrap: !0
134
- },
135
- titleLabel: {
136
- align: f.Center,
137
- wrap: !0
138
- },
139
- subtitleLabel: {
140
- align: f.Center,
141
- wrap: !0
142
- },
143
- horizontalSurfaceGuideLabels: {
144
- horizontalCenter: f.Right,
145
- align: f.Right,
146
- verticalCenter: h.Middle,
147
- wrap: !0
148
- },
149
- horizontalLineGuideLabels: {
150
- horizontalCenter: f.Right,
151
- align: f.Right,
152
- verticalCenter: h.Top,
153
- wrap: !0
154
- },
155
- verticalSurfaceGuideLabels: {
156
- horizontalCenter: f.Center,
157
- verticalCenter: h.Top,
158
- valign: h.Top
159
- },
160
- verticalLineGuideLabels: {
161
- horizontalCenter: f.Right,
162
- verticalCenter: h.Bottom,
163
- valign: h.Top,
164
- wrap: !0,
165
- rotation: 90
166
- },
167
- guideAbove: !1,
168
- cursorCrosshair: {
169
- style: {
170
- type: R.SLS,
171
- style: xe.Dash,
172
- color: [0, 0, 0, 102],
173
- width: 1
174
- },
175
- horizontalLineVisible: !1,
176
- verticalLineVisible: !1
177
- },
178
- gauge: {
179
- innerRadius: 80,
180
- radius: 80,
181
- startAngle: -180,
182
- endAngle: 180,
183
- innerLabelToInnerChartRatio: 0.5,
184
- // 50% of the chart's size, considering the inner radius
185
- axisLabelToInnerChartRatio: 0.13,
186
- // ~= 40 / 300: font size 40 for a 300px gauge
187
- innerLabelAutoMinFontSize: 14,
188
- innerLabelAutoMaxFontSize: 100,
189
- axisLabelAutoMinFontSize: 14,
190
- axisLabelAutoMaxFontSize: 40,
191
- gaugeMinGridDistance: 1,
192
- axisMinimum: 0,
193
- axisMaximum: 100,
194
- numberOfLabelIntervals: 5,
195
- numberOfTicksBetweenTwoLabels: 4,
196
- maximumNumberOfLabelIntervals: 24,
197
- // result in 25 maximum number of axis labels
198
- paddingTop: 10,
199
- paddingBottom: 10,
200
- paddingRight: 5,
201
- paddingLeft: 5
202
- },
203
- gaugeTicksLength: 7,
204
- gaugeInnerLabel: {
205
- horizontalCenter: f.Center,
206
- verticalCenter: h.Middle
207
- },
208
- gaugeNeedle: {
209
- startWidth: 10,
210
- endWidth: 1,
211
- innerRadius: 25,
212
- displayPin: !1
213
- },
214
- gaugeFirstLabelId: "arcgis_charts_gauge_first_label",
215
- gaugeLastLabelId: "arcgis_charts_gauge_last_label",
216
- // containers
217
- headerContainer: {
218
- layout: "vertical",
219
- width: "100%",
220
- paddingBottom: 5
221
- },
222
- footerContainer: {
223
- layout: "vertical",
224
- width: "100%",
225
- paddingTop: 5,
226
- paddingBottom: 15
227
- },
228
- paddingMinSize: 0,
229
- marginMinSize: 0,
230
- chartPaddingMinSize: 7,
231
- chartPaddingRightWhenLegendNotOnRight: 15,
232
- chartAndLegendContainer: {
233
- paddingTop: 0
234
- },
235
- chartContainer: {
236
- paddingBottom: 0,
237
- paddingTop: 15
238
- },
239
- chartContainerPaddingTopWhenRotated: 5,
240
- dataLabelInitialize: {
241
- strokeWidth: 0,
242
- applyOnClones: !0
243
- },
244
- dataLabel: {
245
- align: f.Center,
246
- horizontalCenter: f.Center,
247
- valign: h.Bottom,
248
- verticalCenter: h.Top,
249
- dy: -3
250
- },
251
- dataLabelRotated: {
252
- align: f.Right,
253
- horizontalCenter: f.Right,
254
- valign: h.Middle,
255
- verticalCenter: h.Middle,
256
- dx: 2
257
- },
258
- dataLabelStackedRotated: {
259
- align: f.Center,
260
- horizontalCenter: f.Center,
261
- valign: h.Middle,
262
- verticalCenter: h.Middle
263
- },
264
- dataLabelStackedNonRotated: {
265
- align: f.Center,
266
- horizontalCenter: f.Center,
267
- valign: h.Middle,
268
- verticalCenter: h.Middle
269
- },
270
- dataLabelNegative: {
271
- paddingTop: 5,
272
- paddingRight: 5
273
- },
274
- rotatedChartPadding: {
275
- paddingTop: 2,
276
- paddingRight: 2
277
- },
278
- scatterplotSeries: {
279
- strokeOpacity: 0,
280
- r2: Number.NaN,
281
- trendLinePoints: [{}, {}]
282
- },
283
- histogramSeries: {
284
- normalDistribNumberOfPoints: 100
285
- },
286
- lineMarker: {
287
- markerSize: 7,
288
- markerStyle: be.Circle
289
- },
290
- lineSeries: {
291
- strokeWidth: 2,
292
- lineSmoothed: !1,
293
- lineSmoothedKind: J.Bezier,
294
- showArea: !1,
295
- areaOpacity: 0.25,
296
- markerVisible: !0,
297
- rotated: !1,
298
- stackedType: Q.Side,
299
- stackNegativeValuesToBaseline: !0,
300
- marker: {
301
- markerSize: 4,
302
- markerStrokeWidth: 2
303
- }
304
- },
305
- buffer: !1,
306
- elementLimitForSmoothRendering: 1e3,
307
- // for line and scatter-plot
308
- defaultStatParameterValue: 0.5,
309
- // outStatistics
310
- pieChart: {
311
- dataLabels: { maxWidth: 100, wrap: !1 },
312
- dataLabelsOffset: 10,
313
- dataLabelsInside: !1,
314
- chartRadius: 80,
315
- chartOptimizedRadius: 70,
316
- innerRadius: oe,
317
- min: -90,
318
- max: 270,
319
- displayCategoryOnLegend: !0,
320
- displayCategoryOnTooltip: !0,
321
- displayCategoryOnDataLabel: !0,
322
- displayNumericValueOnLegend: !1,
323
- displayNumericValueOnDataLabel: !0,
324
- displayNumericValueOnTooltip: !0,
325
- displayPercentageOnLegend: !1,
326
- displayPercentageOnDataLabel: !1,
327
- displayPercentageOnTooltip: !0,
328
- sliceGrouping: {
329
- sliceId: ie.defaultGroupOfSlicesId,
330
- percentageThreshold: 0,
331
- // 0 means no grouping
332
- fillSymbol: {
333
- type: R.SFS,
334
- color: [210, 210, 210, 255 * re]
335
- // light grey, 70% opacity
336
- }
337
- },
338
- defaultPadding: 0,
339
- alignDataLabels: !1,
340
- ticksOpacity: 1,
341
- minimumSize: 20,
342
- technicalFieldSliceId: "arcgis_charts_slice_id",
343
- technicalFieldSlicePercent: "arcgis_charts_slice_percent",
344
- technicalFieldGroupedSlices: "arcgis_charts_grouped_slices"
345
- },
346
- pieSliceCustomLabelName: "customLabel",
347
- yAxisLabelMaxWidth: 100,
348
- xAxisLabelMaxWidth: 75,
349
- axisLabelPadding: 1.5,
350
- categoryAxisLabelPadding: 3,
351
- seriesSort: U.Ascending,
352
- technicalSortingFieldBySum: "arcgis_charts_category_sum",
353
- technicalSortingFieldByPercent: "arcgis_charts_category_first_series_percent",
354
- technicalFieldSplitByField: "arcgis_charts_split_by_field",
355
- color: [0, 0, 0, 255],
356
- chartEllipsis: "...",
357
- backgroundColor: [255, 255, 255, 255],
358
- lightTextColor: [255, 255, 255, 255],
359
- // white
360
- darkTextColor: [0, 0, 0, 255],
361
- // black
362
- xAxisMinGridDistance: 120,
363
- xCategoryAxisMinGridDistance: 40,
364
- yAxisMinGridDistance: 40,
365
- yCategoryAxisMinGridDistance: 20,
366
- secondRotatedValueAxisMinGridDistance: 80,
367
- staggerMinGridDistance: 40,
368
- shortestMinGridDistance: 20,
369
- maxNumberOfXAxisLabelsInWrapModeForDateAxis: 15,
370
- maxNumberOfXAxisLabelsInWrapMode: 20,
371
- lineWidth: 1,
372
- loaderRotationSpeed: 400,
373
- loaderIntervalTimeout: 400,
374
- loaderBackground: [255, 255, 255, 230],
375
- loaderSpinnerColor: [0, 122, 194, 255],
376
- loaderLabelFontSize: 20,
377
- selectionTheme: {
378
- selectedElementsTheme: {
379
- elementOutlineColor: [0, 255, 255, 255],
380
- elementOutlineWidth: 5
381
- }
382
- },
383
- columnTooltipPosition: "pointer",
384
- markerTooltipPosition: "fixed",
385
- patternLineProperties: {
386
- width: 5,
387
- height: 5,
388
- strokeWidth: 1
389
- },
390
- patternRectProperties: {
391
- rectWidth: 9,
392
- rectHeight: 9,
393
- width: 10,
394
- height: 10,
395
- strokeWidth: 0.3,
396
- fillOpacity: 0
397
- },
398
- originalCategoryValue: "arcgis_charts_original_category_value",
399
- originalDateValue: "arcgis_charts_original_date_value",
400
- typeOrDomainFieldName: "arcgis_charts_type_domain_field_name",
401
- typeOrDomainIdValue: "arcgis_charts_type_domain_id_value",
402
- dateBinningRange: "arcgis_charts_bin_range",
403
- originalServerBinningRange: "arcgis_charts_server_bin_range",
404
- dateBinModel: "arcgis_charts_bin_model",
405
- xAxisField: "arcgis_charts_axis_field",
406
- nullValue: "arcgis_charts_null",
407
- queryMaxFloatPrecision: 10,
408
- dateFormatUTC: {
409
- timeZone: "UTC",
410
- year: "numeric",
411
- month: "numeric",
412
- day: "numeric",
413
- hour: "numeric",
414
- minute: "numeric",
415
- second: "numeric",
416
- hour12: !0
417
- },
418
- dayDefaultFormat: {
419
- day: "numeric",
420
- month: "short"
421
- },
422
- weekDefaultFormat: {
423
- day: "numeric",
424
- month: "short"
425
- },
426
- rendererOtherValue: "arcgisChartsrendererOtherValue",
427
- rendererSymbolField: "arcgis_charts_renderer_symbol",
428
- scatterplotAggregationFields: {
429
- dataContextXMinField: "arcgis_charts_xmin",
430
- dataContextXMaxField: "arcgis_charts_xmax",
431
- dataContextYMinField: "arcgis_charts_ymin",
432
- dataContextYMaxField: "arcgis_charts_ymax",
433
- dataContextCountDistinctX: "distinctX",
434
- dataContextCountDistinctY: "distinctY",
435
- queryNumberOfFeatures: "numberOfFeatures",
436
- queryNumberOfAggregatedFeatures: "numberOfAggregatedFeatures",
437
- xStep: "xStep",
438
- yStep: "yStep",
439
- rowCount: "rowCount",
440
- columnCount: "columnCount",
441
- realGridSize: "realGridSize"
442
- },
443
- dataTooltipVisible: !0,
444
- dataTooltipStyle: {
445
- outline: {
446
- type: R.SLS,
447
- color: [255, 255, 255, 255],
448
- width: 1
449
- }
450
- },
451
- dataTooltipStyleReversed: {
452
- color: [255, 255, 255, 255],
453
- outline: {
454
- type: R.SLS,
455
- width: 3
456
- }
457
- },
458
- tooltipWidth: 300,
459
- axisLabelOveredOpacity: 0.5,
460
- // 50% of original opacity
461
- generalFontSize: 10,
462
- actionMode: Se.MultiSelectionWithCtrlKey,
463
- debounceTime: 100,
464
- // 100 ms
465
- chartDefaultPaddingRight: 0,
466
- // 0 px default chart's plotting area right padding
467
- htmlEmptyContent: "<p></p>",
468
- boxPlot: {
469
- boxPlotCategory: "arcgis_charts_box_plot_category",
470
- boxPlotOutliersSuffix: "_arcgis_charts_outliers",
471
- boxPlotOutliersVisibility: !1,
472
- boxPlotStandardizeValuesVisibility: !1,
473
- boxPlotOutliersSize: 4,
474
- boxPlotLineWidth: 2,
475
- boxPlotOutlierId: "is_arcgis_charts_outlier",
476
- boxPlotMeanLineMarkerId: "is_arcgis_charts_mean_marker",
477
- boxPlotWhiskersColor: [153, 153, 153, 178.5],
478
- boxPlotTooltipLabelWidth: 250
479
- },
480
- binTemporalData: !0,
481
- lastTemporalBin: "is_arcgis_charts_last_bin",
482
- options: {
483
- hideEmptySeries: !0,
484
- replaceNoValueCategoryWithZero: !0,
485
- autoInverseDataLabelTextColor: !1
486
- }
487
- };
488
- function Fe(c, e) {
489
- return !ae(c, e);
14
+ v4.34.0-next.139 */
15
+ const Le = [
16
+ P.BarSeries,
17
+ P.BoxPlotSeries,
18
+ P.LineSeries,
19
+ P.PieSeries,
20
+ P.HistogramSeries,
21
+ P.ScatterSeries
22
+ ], we = 1, ve = { PNG: "png" };
23
+ function ce(u, e) {
24
+ return !U(u, e);
490
25
  }
491
- function it(c, e) {
492
- return Fe(c, e) || c !== e;
26
+ function Oe(u, e) {
27
+ return ce(u, e) || u !== e;
493
28
  }
494
- function Le(c) {
495
- return (new Intl.NumberFormat(c, {
29
+ function ue(u) {
30
+ return (new Intl.NumberFormat(u, {
496
31
  minimumFractionDigits: 1,
497
32
  maximumFractionDigits: 1
498
- }).formatToParts(1.1).find((l) => l.type === "decimal")?.value ?? ".") === "." ? "," : ";";
33
+ }).formatToParts(1.1).find((n) => n.type === "decimal")?.value ?? ".") === "." ? "," : ";";
499
34
  }
500
- const j = (c) => {
501
- const { value: e, quoteAll: t = !1, locale: l = "en" } = c;
502
- let r = e == null ? "" : String(e);
503
- if (Number.isFinite(Number(r))) {
504
- const i = Number(r);
505
- r = new Intl.NumberFormat(l, {
35
+ const z = (u) => {
36
+ const { value: e, quoteAll: t = !1, locale: n = "en" } = u;
37
+ let s = e == null ? "" : String(e);
38
+ if (Number.isFinite(Number(s))) {
39
+ const a = Number(s);
40
+ s = new Intl.NumberFormat(n, {
506
41
  minimumFractionDigits: 0,
507
42
  maximumFractionDigits: 2
508
- }).format(i).replace(/\u202F/gu, " ");
43
+ }).format(a).replace(/\u202F/gu, " ");
509
44
  }
510
- return (t || /[",\r\n]/u.test(r)) && (r = `"${r.replace(/"/gu, '""')}"`), r;
45
+ return (t || /[",\r\n]/u.test(s)) && (s = `"${s.replace(/"/gu, '""')}"`), s;
511
46
  };
512
- function ot(c, e = {}) {
513
- const { columns: t, delimiter: l, includeHeader: r = !0, quoteAll: a = !1, locale: i } = e, m = c.length === 0;
514
- let s = "";
47
+ function Ve(u, e = {}) {
48
+ const { columns: t, delimiter: n, includeHeader: s = !0, quoteAll: o = !1, locale: a } = e, m = u.length === 0;
49
+ let r = "";
515
50
  if (!m) {
516
- const g = t ?? Object.keys(c[0]), x = [], y = i ?? Ce().formatLocale, p = l ?? Le(y);
517
- if (s += `sep=${p}\r
518
- `, r) {
519
- const o = g.map((d) => j({ value: d, quoteAll: a, locale: y }));
520
- x.push(o.join(p));
51
+ const f = t ?? Object.keys(u[0]), F = [], p = a ?? re().formatLocale, y = n ?? ue(p);
52
+ if (r += `sep=${y}\r
53
+ `, s) {
54
+ const i = f.map((c) => z({ value: c, quoteAll: o, locale: p }));
55
+ F.push(i.join(y));
521
56
  }
522
- c.forEach((o) => {
523
- const d = g.map((n) => j({ value: o[n], quoteAll: a, locale: y }));
524
- x.push(d.join(p));
525
- }), s += x.join(`\r
57
+ u.forEach((i) => {
58
+ const c = f.map((l) => z({ value: i[l], quoteAll: o, locale: p }));
59
+ F.push(c.join(y));
60
+ }), r += F.join(`\r
526
61
  `);
527
62
  }
528
- return s;
63
+ return r;
529
64
  }
530
- function rt(c) {
531
- const { rawData: e, config: t, layer: l, fieldList: r } = c;
532
- let a = e;
65
+ function ke(u) {
66
+ const { rawData: e, config: t, layer: n, fieldList: s } = u;
67
+ let o = e;
533
68
  if (t !== void 0 && Array.isArray(e) && e.length > 0) {
534
- const i = te(t?.series);
535
- i === L.HistogramSeries ? a = Pe(t, e) : i === L.BarSeries || i === L.LineSeries || i === L.ComboLineAndBarSeries ? a = _e({
69
+ const a = G(t?.series);
70
+ a === P.HistogramSeries ? o = de(t, e) : a === P.BarSeries || a === P.LineSeries || a === P.ComboLineAndBarSeries ? o = fe({
536
71
  config: t,
537
72
  rows: e,
538
- layer: l,
539
- fieldList: r
540
- }) : i === L.PieSeries ? a = Me({
73
+ layer: n,
74
+ fieldList: s
75
+ }) : a === P.PieSeries ? o = ye({
541
76
  config: t,
542
77
  rows: e,
543
- layer: l,
544
- fieldList: r
545
- }) : i === L.BoxPlotSeries && (a = Te({
78
+ layer: n,
79
+ fieldList: s
80
+ }) : a === P.BoxPlotSeries && (o = ge({
546
81
  config: t,
547
82
  rows: e,
548
- fieldList: r
83
+ fieldList: s
549
84
  }));
550
85
  }
551
- return a;
86
+ return o;
552
87
  }
553
- function Pe(c, e) {
554
- const t = de(c), l = `${b($.Min)} of ${t}`, r = `${b($.Max)} of ${t}`, a = `${b($.Count)} of ${t}`;
555
- return e.map((i) => {
556
- const { minValue: m, maxValue: s, count: g } = i, x = B(m), y = B(s), p = B(g), o = {};
557
- return x && (o[l] = m.toFixed(2)), y && (o[r] = s.toFixed(2)), x && y && (o.Label = `${m.toFixed(2)} - ${s.toFixed(2)}`), p && (o[a] = g), o;
88
+ function de(u, e) {
89
+ const t = J(u), n = `${g(k.Min)} of ${t}`, s = `${g(k.Max)} of ${t}`, o = `${g(k.Count)} of ${t}`;
90
+ return e.map((a) => {
91
+ const { minValue: m, maxValue: r, count: f } = a, F = A(m), p = A(r), y = A(f), i = {};
92
+ return F && (i[n] = m.toFixed(2)), p && (i[s] = r.toFixed(2)), F && p && (i.Label = `${m.toFixed(2)} - ${r.toFixed(2)}`), y && (i[o] = f), i;
558
93
  });
559
94
  }
560
- function X(c, e, t) {
561
- const l = Object.keys(c);
562
- let r = [];
563
- return t ? r = t.map((a) => l.find((i) => i.toLowerCase().includes(a.toLowerCase())) || "") : r = l.filter((i) => i.toLowerCase().includes(e.toLowerCase())), r.filter((a) => a.trim() !== "");
95
+ function H(u, e, t) {
96
+ const n = Object.keys(u);
97
+ let s = [];
98
+ return t ? s = t.map((o) => n.find((a) => a.toLowerCase().includes(o.toLowerCase())) || "") : s = n.filter((a) => a.toLowerCase().includes(e.toLowerCase())), s.filter((o) => o.trim() !== "");
564
99
  }
565
- function _e(c) {
566
- const { config: e, rows: t, layer: l, fieldList: r } = c, a = ce(e), i = ue(e), m = b(i), s = ge(e), g = w(e.series), x = Y(e), y = me(e), p = ne(l)?.objectIdField ?? "FID", o = s.length === 1 && s[0] === p;
567
- let d;
568
- switch (g) {
569
- case u.BarAndLineNoAggregation:
570
- d = t.map((n) => {
571
- const S = _({
572
- field: a,
573
- value: n[a],
574
- fieldList: r
575
- }), C = { [a]: S };
576
- return Object.assign(C, ...s.map((P) => ({ [P]: n[P] }))), C;
100
+ function fe(u) {
101
+ const { config: e, rows: t, layer: n, fieldList: s } = u, o = ee(e), a = te(e), m = g(a), r = oe(e), f = v(e.series), F = Q(e), p = ae(e), y = X(n)?.objectIdField ?? "FID", i = r.length === 1 && r[0] === y;
102
+ let c;
103
+ switch (f) {
104
+ case d.BarAndLineNoAggregation:
105
+ c = t.map((l) => {
106
+ const x = C({
107
+ field: o,
108
+ value: l[o],
109
+ fieldList: s
110
+ }), b = { [o]: x };
111
+ return Object.assign(b, ...r.map((S) => ({ [S]: l[S] }))), b;
577
112
  });
578
113
  break;
579
- case u.BarAndLineFromFields:
580
- d = H(s, t).map(([n, S]) => {
581
- const C = N(e.series)[0], P = {};
582
- return S !== void 0 && n !== void 0 && (P.Field = S[a], P.Value = S[C]), P;
114
+ case d.BarAndLineFromFields:
115
+ c = E(r, t).map(([l, x]) => {
116
+ const b = T(e.series)[0], S = {};
117
+ return x !== void 0 && l !== void 0 && (S.Field = x[o], S.Value = x[b]), S;
583
118
  });
584
119
  break;
585
- case u.BarAndLineMonoField:
586
- case u.BarAndLineMultiFields:
587
- d = t.map((n) => {
588
- const S = _({
589
- field: a,
590
- value: n[a],
591
- fieldList: r
592
- }), C = { [a]: S };
593
- return s.forEach((P, O) => {
594
- const k = q({
120
+ case d.BarAndLineMonoField:
121
+ case d.BarAndLineMultiFields:
122
+ c = t.map((l) => {
123
+ const x = C({
124
+ field: o,
125
+ value: l[o],
126
+ fieldList: s
127
+ }), b = { [o]: x };
128
+ return r.forEach((S, L) => {
129
+ const O = Z({
595
130
  config: e,
596
- numericFields: s,
597
- aggregationType: i,
598
- layer: l,
599
- numericFieldIndex: O
600
- }), V = N(e.series)[O];
601
- let K = V, G = V;
602
- V.toLowerCase() === k.name.toLowerCase() && (K = k.description, G = k.name), C[K] = n[G];
603
- }), C;
131
+ numericFields: r,
132
+ aggregationType: a,
133
+ layer: n,
134
+ numericFieldIndex: L
135
+ }), V = T(e.series)[L];
136
+ let I = V, j = V;
137
+ V.toLowerCase() === O.name.toLowerCase() && (I = O.description, j = O.name), b[I] = l[j];
138
+ }), b;
604
139
  });
605
140
  break;
606
- case u.BarAndLineSplitBy:
607
- d = t.flatMap((n) => {
608
- const S = X(n, s[0]), C = _({
609
- field: a,
610
- value: n[a],
611
- fieldList: r
141
+ case d.BarAndLineSplitBy:
142
+ c = t.flatMap((l) => {
143
+ const x = H(l, r[0]), b = C({
144
+ field: o,
145
+ value: l[o],
146
+ fieldList: s
612
147
  });
613
- return x.map(
614
- (P, O) => ({
615
- [a]: C,
616
- [y]: P,
617
- [o ? m : `${m} of ${s[0]}`]: n[S[O]]
148
+ return F.map(
149
+ (S, L) => ({
150
+ [o]: b,
151
+ [p]: S,
152
+ [i ? m : `${m} of ${r[0]}`]: l[x[L]]
618
153
  })
619
154
  );
620
155
  });
621
156
  break;
622
- case u.BarAndLineSplitByNoAggregation:
623
- d = t.map((n) => {
624
- const S = _({
625
- field: a,
626
- value: n[a],
627
- fieldList: r
628
- }), C = X(n, s[0], x);
157
+ case d.BarAndLineSplitByNoAggregation:
158
+ c = t.map((l) => {
159
+ const x = C({
160
+ field: o,
161
+ value: l[o],
162
+ fieldList: s
163
+ }), b = H(l, r[0], F);
629
164
  return {
630
- [a]: S,
631
- [y]: n[y],
632
- [s[0]]: n[C[0]]
165
+ [o]: x,
166
+ [p]: l[p],
167
+ [r[0]]: l[b[0]]
633
168
  };
634
169
  });
635
170
  break;
636
171
  default:
637
- d = t;
172
+ c = t;
638
173
  }
639
- return d;
174
+ return c;
640
175
  }
641
- function Be(c, e = 2) {
642
- if (c.length === 0)
176
+ function me(u, e = 2) {
177
+ if (u.length === 0)
643
178
  return [];
644
- const t = c.reduce((l, r) => {
645
- for (const [a, i] of Object.entries(r))
646
- typeof i == "number" && Number.isFinite(i) && (l[a] = (l[a] ?? 0) + i);
647
- return l;
179
+ const t = u.reduce((n, s) => {
180
+ for (const [o, a] of Object.entries(s))
181
+ typeof a == "number" && Number.isFinite(a) && (n[o] = (n[o] ?? 0) + a);
182
+ return n;
648
183
  }, {});
649
- return c.map((l) => {
650
- const r = { ...l };
651
- for (const [a, i] of Object.entries(l))
652
- if (typeof i == "number" && t[a] > 0) {
653
- const m = i / t[a] * 100;
654
- r[`${a}${T}`] = `${m.toFixed(e)}%`;
184
+ return u.map((n) => {
185
+ const s = { ...n };
186
+ for (const [o, a] of Object.entries(n))
187
+ if (typeof a == "number" && t[o] > 0) {
188
+ const m = a / t[o] * 100;
189
+ s[`${o}${h}`] = `${m.toFixed(e)}%`;
655
190
  }
656
- return r;
191
+ return s;
657
192
  });
658
193
  }
659
- function Me(c) {
660
- const { config: e, rows: t, layer: l, fieldList: r } = c, a = pe(e), i = w(e.series);
661
- let m = Be(t, 2);
662
- const s = fe(e), g = i !== u.PieFromFields ? E.Category : E.Fields, x = ye(e, g), y = q({
194
+ function ye(u) {
195
+ const { config: e, rows: t, layer: n, fieldList: s } = u, o = ie(e), a = v(e.series);
196
+ let m = me(t, 2);
197
+ const r = se(e), f = a !== d.PieFromFields ? _.Category : _.Fields, F = le(e, f), p = Z({
663
198
  config: e,
664
- numericFields: s,
665
- aggregationType: x,
666
- mode: g,
667
- layer: l
668
- }), p = N(e.series)[0];
669
- return i === u.PieFromCategory ? m = m.map((o) => {
670
- const d = _({
671
- field: a,
672
- value: o[a],
673
- fieldList: r
674
- }), n = { [a]: d };
675
- let S = p, C = p;
676
- return p.toLowerCase() === y.name.toLowerCase() && (S = y.description, C = y.name), n[S] = o[C], n[b(T.trim())] = o[`${C}${T}`], n;
677
- }) : i === u.PieFromFields && (m = H(s, m).map(([o, d]) => {
678
- const n = {};
679
- return d !== void 0 && o !== void 0 && (n.Field = d[a], n.Value = d[p], n[b(T.trim())] = d[`${p}${T}`]), n;
199
+ numericFields: r,
200
+ aggregationType: F,
201
+ mode: f,
202
+ layer: n
203
+ }), y = T(e.series)[0];
204
+ return a === d.PieFromCategory ? m = m.map((i) => {
205
+ const c = C({
206
+ field: o,
207
+ value: i[o],
208
+ fieldList: s
209
+ }), l = { [o]: c };
210
+ let x = y, b = y;
211
+ return y.toLowerCase() === p.name.toLowerCase() && (x = p.description, b = p.name), l[x] = i[b], l[g(h.trim())] = i[`${b}${h}`], l;
212
+ }) : a === d.PieFromFields && (m = E(r, m).map(([i, c]) => {
213
+ const l = {};
214
+ return c !== void 0 && i !== void 0 && (l.Field = c[o], l.Value = c[y], l[g(h.trim())] = c[`${y}${h}`]), l;
680
215
  })), m;
681
216
  }
682
- function D(c) {
683
- const { rawData: e, keyBase: t = "", outRow: l } = c;
684
- for (const [r, a] of Object.entries(F)) {
685
- const i = e[t + a];
686
- i !== void 0 && (l[r] = B(i) ? i.toFixed(2) : i);
687
- const m = e[t + a + se];
688
- m !== void 0 && (l[`${r} Outlier`] = B(m) ? m.toFixed(2) : m);
689
- const s = e[t + a + z];
690
- s !== void 0 && (l[`${r} Z-Score`] = B(s) ? s.toFixed(2) : s);
217
+ function w(u) {
218
+ const { rawData: e, keyBase: t = "", outRow: n } = u;
219
+ for (const [s, o] of Object.entries(B)) {
220
+ const a = e[t + o];
221
+ a !== void 0 && (n[s] = A(a) ? a.toFixed(2) : a);
222
+ const m = e[t + o + W];
223
+ m !== void 0 && (n[`${s} Outlier`] = A(m) ? m.toFixed(2) : m);
224
+ const r = e[t + o + N];
225
+ r !== void 0 && (n[`${s} Z-Score`] = A(r) ? r.toFixed(2) : r);
691
226
  }
692
227
  }
693
- function A(c) {
694
- const { rawData: e, outRow: t, config: l, boxPlotSubType: r, fieldList: a } = c, i = I(l), m = Z(l), s = W(l);
695
- let g = F.Outlier;
696
- const x = v;
697
- switch (r) {
698
- case u.BoxPlotMonoFieldAndCategory: {
699
- const o = _({
700
- field: i,
701
- value: e[i],
702
- fieldList: a
228
+ function $(u) {
229
+ const { rawData: e, outRow: t, config: n, boxPlotSubType: s, fieldList: o } = u, a = R(n), m = q(n), r = K(n);
230
+ let f = B.Outlier;
231
+ const F = D;
232
+ switch (s) {
233
+ case d.BoxPlotMonoFieldAndCategory: {
234
+ const i = C({
235
+ field: a,
236
+ value: e[a],
237
+ fieldList: o
703
238
  });
704
- t[i] = o, t[b(F.Outlier)] = e[g];
239
+ t[a] = i, t[g(B.Outlier)] = e[f];
705
240
  break;
706
241
  }
707
- case u.BoxPlotMultiFieldsAndCategory: {
708
- t[b(i)] = e[i], g = `${m.find(
709
- (d) => Object.keys(e).some((n) => n.toLowerCase().includes(d.toLowerCase()))
710
- ) ?? ""}_${g}`, t[b(F.Outlier)] = e[g];
242
+ case d.BoxPlotMultiFieldsAndCategory: {
243
+ t[g(a)] = e[a], f = `${m.find(
244
+ (c) => Object.keys(e).some((l) => l.toLowerCase().includes(c.toLowerCase()))
245
+ ) ?? ""}_${f}`, t[g(B.Outlier)] = e[f];
711
246
  break;
712
247
  }
713
- case u.BoxPlotMonoFieldAndSplitBy:
714
- case u.BoxPlotMultiFieldsAndSplitBy: {
715
- const o = e[s];
716
- g = `${o}_${g}`, t.Field = e[x], t[b(s)] = o, t[b(F.Outlier)] = e[g];
248
+ case d.BoxPlotMonoFieldAndSplitBy:
249
+ case d.BoxPlotMultiFieldsAndSplitBy: {
250
+ const i = e[r];
251
+ f = `${i}_${f}`, t.Field = e[F], t[g(r)] = i, t[g(B.Outlier)] = e[f];
717
252
  break;
718
253
  }
719
- case u.BoxPlotMonoFieldAndCategoryAndSplitBy: {
720
- const o = e[s];
721
- g = `${o}_${g}`, t[b(i)] = e[i], t[b(s)] = o, t[b(F.Outlier)] = e[g];
254
+ case d.BoxPlotMonoFieldAndCategoryAndSplitBy: {
255
+ const i = e[r];
256
+ f = `${i}_${f}`, t[g(a)] = e[a], t[g(r)] = i, t[g(B.Outlier)] = e[f];
722
257
  break;
723
258
  }
724
- case u.BoxPlotMonoField:
725
- case u.BoxPlotMultiFields:
259
+ case d.BoxPlotMonoField:
260
+ case d.BoxPlotMultiFields:
726
261
  default: {
727
- t.Field = e[x], t[b(F.Outlier)] = e[g];
262
+ t.Field = e[F], t[g(B.Outlier)] = e[f];
728
263
  break;
729
264
  }
730
265
  }
731
- const y = `${g}${z}`, p = e[y];
732
- p !== void 0 && (t[`${b(F.Outlier)} Z-Score`] = B(p) ? p.toFixed(2) : p);
266
+ const p = `${f}${N}`, y = e[p];
267
+ y !== void 0 && (t[`${g(B.Outlier)} Z-Score`] = A(y) ? y.toFixed(2) : y);
733
268
  }
734
- function Ae(c) {
735
- const { rawData: e, outRow: t, config: l, splitByValue: r } = c, a = w(l.series), i = e[`${r}_${F.Average}`], m = W(l), s = I(l);
736
- let g = "";
737
- switch (a) {
738
- case u.BoxPlotMonoFieldAndSplitBy: {
739
- g = `${r}_${m}`, t.Field = e[v], t[b(m)] = e[g];
269
+ function pe(u) {
270
+ const { rawData: e, outRow: t, config: n, splitByValue: s } = u, o = v(n.series), a = e[`${s}_${B.Average}`], m = K(n), r = R(n);
271
+ let f = "";
272
+ switch (o) {
273
+ case d.BoxPlotMonoFieldAndSplitBy: {
274
+ f = `${s}_${m}`, t.Field = e[D], t[g(m)] = e[f];
740
275
  break;
741
276
  }
742
- case u.BoxPlotMultiFieldsAndSplitBy: {
743
- g = `${r}_${F.Average}`, t.Field = e[v], t[b(m)] = e[g];
277
+ case d.BoxPlotMultiFieldsAndSplitBy: {
278
+ f = `${s}_${B.Average}`, t.Field = e[D], t[g(m)] = e[f];
744
279
  break;
745
280
  }
746
- case u.BoxPlotMonoFieldAndCategoryAndSplitBy: {
747
- g = `${r}_${F.Average}`, t[s] = e[s], t[b(m)] = r;
281
+ case d.BoxPlotMonoFieldAndCategoryAndSplitBy: {
282
+ f = `${s}_${B.Average}`, t[r] = e[r], t[g(m)] = s;
748
283
  break;
749
284
  }
750
285
  }
751
- t[b(F.Average)] = B(i) ? i.toFixed(2) : i;
752
- const x = `${i}${z}`, y = e[x];
753
- y !== void 0 && (t[`${b(F.Average)} Z-Score`] = B(y) ? y.toFixed(2) : y);
286
+ t[g(B.Average)] = A(a) ? a.toFixed(2) : a;
287
+ const F = `${a}${N}`, p = e[F];
288
+ p !== void 0 && (t[`${g(B.Average)} Z-Score`] = A(p) ? p.toFixed(2) : p);
754
289
  }
755
- function Te(c) {
756
- const { config: e, rows: t, fieldList: l } = c, r = w(e.series);
757
- let a = r;
758
- const i = he(e), m = Array.isArray(t) && t.length > 0 && t.every((o) => o[M.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
759
- i && !m && (r === u.BoxPlotMonoFieldAndSplitBy ? a = u.BoxPlotMonoField : r === u.BoxPlotMultiFieldsAndSplitBy ? a = u.BoxPlotMultiFields : r === u.BoxPlotMonoFieldAndCategoryAndSplitBy && (a = u.BoxPlotMonoFieldAndCategory));
760
- const s = I(e), g = Z(e), x = Y(e), y = W(e);
761
- let p;
762
- switch (a) {
763
- case u.BoxPlotMonoField:
764
- case u.BoxPlotMonoFieldAndCategory: {
765
- p = t.map((o) => {
766
- const d = {};
767
- if (o[M.boxPlot.boxPlotOutlierId])
768
- A({ rawData: o, outRow: d, config: e, boxPlotSubType: a });
290
+ function ge(u) {
291
+ const { config: e, rows: t, fieldList: n } = u, s = v(e.series);
292
+ let o = s;
293
+ const a = ne(e), m = Array.isArray(t) && t.length > 0 && t.every((i) => i[M.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
294
+ a && !m && (s === d.BoxPlotMonoFieldAndSplitBy ? o = d.BoxPlotMonoField : s === d.BoxPlotMultiFieldsAndSplitBy ? o = d.BoxPlotMultiFields : s === d.BoxPlotMonoFieldAndCategoryAndSplitBy && (o = d.BoxPlotMonoFieldAndCategory));
295
+ const r = R(e), f = q(e), F = Q(e), p = K(e);
296
+ let y;
297
+ switch (o) {
298
+ case d.BoxPlotMonoField:
299
+ case d.BoxPlotMonoFieldAndCategory: {
300
+ y = t.map((i) => {
301
+ const c = {};
302
+ if (i[M.boxPlot.boxPlotOutlierId])
303
+ $({ rawData: i, outRow: c, config: e, boxPlotSubType: o });
769
304
  else {
770
- if (a === u.BoxPlotMonoFieldAndCategory) {
771
- const n = _({
772
- field: s,
773
- value: o[s],
774
- fieldList: l
305
+ if (o === d.BoxPlotMonoFieldAndCategory) {
306
+ const l = C({
307
+ field: r,
308
+ value: i[r],
309
+ fieldList: n
775
310
  });
776
- d[s] = n;
777
- } else a === u.BoxPlotMonoField && (d.Field = o[v]);
778
- D({ rawData: o, outRow: d });
311
+ c[r] = l;
312
+ } else o === d.BoxPlotMonoField && (c.Field = i[D]);
313
+ w({ rawData: i, outRow: c });
779
314
  }
780
- return d;
315
+ return c;
781
316
  });
782
317
  break;
783
318
  }
784
- case u.BoxPlotMultiFields: {
785
- p = t.flatMap((o) => {
786
- const d = {};
787
- return o[M.boxPlot.boxPlotOutlierId] ? A({
788
- rawData: o,
789
- outRow: d,
319
+ case d.BoxPlotMultiFields: {
320
+ y = t.flatMap((i) => {
321
+ const c = {};
322
+ return i[M.boxPlot.boxPlotOutlierId] ? $({
323
+ rawData: i,
324
+ outRow: c,
790
325
  config: e,
791
- boxPlotSubType: a
792
- }) : (d.Field = o[v], D({ rawData: o, outRow: d })), [d];
326
+ boxPlotSubType: o
327
+ }) : (c.Field = i[D], w({ rawData: i, outRow: c })), [c];
793
328
  });
794
329
  break;
795
330
  }
796
- case u.BoxPlotMultiFieldsAndCategory: {
797
- p = t.flatMap(
798
- (o) => g.map((d) => {
799
- const n = {};
800
- let S = "";
801
- if (n.Field = d, o[M.boxPlot.boxPlotOutlierId])
802
- A({
803
- rawData: o,
804
- outRow: n,
331
+ case d.BoxPlotMultiFieldsAndCategory: {
332
+ y = t.flatMap(
333
+ (i) => f.map((c) => {
334
+ const l = {};
335
+ let x = "";
336
+ if (l.Field = c, i[M.boxPlot.boxPlotOutlierId])
337
+ $({
338
+ rawData: i,
339
+ outRow: l,
805
340
  config: e,
806
- boxPlotSubType: a
341
+ boxPlotSubType: o
807
342
  });
808
343
  else {
809
- if (a === u.BoxPlotMultiFieldsAndCategory) {
810
- const C = _({
811
- field: s,
812
- value: o[s],
813
- fieldList: l
344
+ if (o === d.BoxPlotMultiFieldsAndCategory) {
345
+ const b = C({
346
+ field: r,
347
+ value: i[r],
348
+ fieldList: n
814
349
  });
815
- n[s] = C, S = `${d}_`;
350
+ l[r] = b, x = `${c}_`;
816
351
  }
817
- D({ rawData: o, outRow: n, keyBase: S });
352
+ w({ rawData: i, outRow: l, keyBase: x });
818
353
  }
819
- return n;
354
+ return l;
820
355
  })
821
356
  );
822
357
  break;
823
358
  }
824
- case u.BoxPlotMonoFieldAndSplitBy:
825
- case u.BoxPlotMultiFieldsAndSplitBy:
826
- case u.BoxPlotMonoFieldAndCategoryAndSplitBy: {
827
- p = t.flatMap((o) => {
828
- if (o[M.boxPlot.boxPlotOutlierId]) {
829
- const d = {};
830
- return A({
831
- rawData: o,
832
- outRow: d,
359
+ case d.BoxPlotMonoFieldAndSplitBy:
360
+ case d.BoxPlotMultiFieldsAndSplitBy:
361
+ case d.BoxPlotMonoFieldAndCategoryAndSplitBy: {
362
+ y = t.flatMap((i) => {
363
+ if (i[M.boxPlot.boxPlotOutlierId]) {
364
+ const c = {};
365
+ return $({
366
+ rawData: i,
367
+ outRow: c,
833
368
  config: e,
834
- boxPlotSubType: a
835
- }), [d];
836
- } else return o[M.boxPlot.boxPlotMeanLineMarkerId] ? x?.map((d) => {
837
- const n = {};
838
- return Ae({
839
- rawData: o,
840
- outRow: n,
841
- splitByValue: d,
369
+ boxPlotSubType: o
370
+ }), [c];
371
+ } else return i[M.boxPlot.boxPlotMeanLineMarkerId] ? F?.map((c) => {
372
+ const l = {};
373
+ return pe({
374
+ rawData: i,
375
+ outRow: l,
376
+ splitByValue: c,
842
377
  config: e
843
- }), n;
844
- }) : x.map((d) => {
845
- const n = {};
846
- if (a === u.BoxPlotMonoFieldAndCategoryAndSplitBy) {
847
- const S = _({
848
- field: s,
849
- value: o[s],
850
- fieldList: l
378
+ }), l;
379
+ }) : F.map((c) => {
380
+ const l = {};
381
+ if (o === d.BoxPlotMonoFieldAndCategoryAndSplitBy) {
382
+ const x = C({
383
+ field: r,
384
+ value: i[r],
385
+ fieldList: n
851
386
  });
852
- n[s] = S;
387
+ l[r] = x;
853
388
  }
854
- return o[M.boxPlot.boxPlotOutlierId] ? A({
855
- rawData: o,
856
- outRow: n,
389
+ return i[M.boxPlot.boxPlotOutlierId] ? $({
390
+ rawData: i,
391
+ outRow: l,
857
392
  config: e,
858
- boxPlotSubType: a
859
- }) : (n[y] = d, D({ rawData: o, outRow: n, keyBase: `${d}_` })), n;
393
+ boxPlotSubType: o
394
+ }) : (l[p] = c, w({ rawData: i, outRow: l, keyBase: `${c}_` })), l;
860
395
  });
861
396
  });
862
397
  break;
863
398
  }
864
399
  default:
865
- p = t;
400
+ y = t;
866
401
  }
867
- return p;
402
+ return y;
868
403
  }
869
- const ve = (c) => {
404
+ const Fe = (u) => {
870
405
  let e = !1;
871
- return (typeof c == "string" || typeof c == "number") && (e = !Number.isNaN(new Date(c).getTime())), e;
872
- }, _ = (c) => {
873
- const { field: e, value: t, fieldList: l } = c;
874
- let r = !1;
875
- return l !== void 0 && l.length > 0 && (r = le(l).some((i) => i === e)), ve(t) && r ? new Date(t).toISOString() : t;
406
+ return (typeof u == "string" || typeof u == "number") && (e = !Number.isNaN(new Date(u).getTime())), e;
407
+ }, C = (u) => {
408
+ const { field: e, value: t, fieldList: n } = u;
409
+ let s = !1;
410
+ return n !== void 0 && n.length > 0 && (s = Y(n).some((a) => a === e)), Fe(t) && s ? new Date(t).toISOString() : t;
876
411
  };
877
412
  export {
878
- M as C,
879
- at as D,
880
- Fe as a,
881
- ot as b,
882
- it as h,
883
- tt as m,
884
- et as s,
885
- rt as t
413
+ ve as D,
414
+ ce as a,
415
+ Ve as b,
416
+ Oe as h,
417
+ we as m,
418
+ Le as s,
419
+ ke as t
886
420
  };