@geoscene/charts-components 5.0.19

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 (547) hide show
  1. package/LICENSE.md +18 -0
  2. package/README.md +15 -0
  3. package/dist/cdn/27RSUS44.js +499 -0
  4. package/dist/cdn/2ABIWUBP.js +168 -0
  5. package/dist/cdn/2FLUZ2DU.js +44 -0
  6. package/dist/cdn/2H7DJUUG.js +217 -0
  7. package/dist/cdn/2UIJDI4B.js +110 -0
  8. package/dist/cdn/2WSVTAF5.js +155 -0
  9. package/dist/cdn/2ZYMR3QH.js +469 -0
  10. package/dist/cdn/346SLSRB.js +117 -0
  11. package/dist/cdn/34GIQYIH.js +1000 -0
  12. package/dist/cdn/3DEMDCI6.js +176 -0
  13. package/dist/cdn/3PHU76K7.js +162 -0
  14. package/dist/cdn/3RSCQLEZ.js +376 -0
  15. package/dist/cdn/3SM7FV35.js +217 -0
  16. package/dist/cdn/3SYE47CU.js +157 -0
  17. package/dist/cdn/42A4L2UB.js +209 -0
  18. package/dist/cdn/43OZVJ43.js +10 -0
  19. package/dist/cdn/45AJBAFE.js +480 -0
  20. package/dist/cdn/4B3QBH5T.js +2440 -0
  21. package/dist/cdn/4HJDWMQ2.js +255 -0
  22. package/dist/cdn/4UCPYNHM.js +217 -0
  23. package/dist/cdn/4ZN5TLRY.js +206 -0
  24. package/dist/cdn/53MWUIM5.js +208 -0
  25. package/dist/cdn/5752NFTR.js +228 -0
  26. package/dist/cdn/5AWSZZXY.js +165 -0
  27. package/dist/cdn/5FBGXF7O.js +508 -0
  28. package/dist/cdn/5FW4PWIO.js +217 -0
  29. package/dist/cdn/5RNNVK4R.js +161 -0
  30. package/dist/cdn/6NZDPYGF.js +187 -0
  31. package/dist/cdn/6PBHDFIO.js +209 -0
  32. package/dist/cdn/7I5Y5NSS.js +82 -0
  33. package/dist/cdn/7IUSVOKT.js +119 -0
  34. package/dist/cdn/7XITED6J.js +216 -0
  35. package/dist/cdn/A6QBN7CC.js +45 -0
  36. package/dist/cdn/A7YNU2NS.js +34090 -0
  37. package/dist/cdn/AENRD2JF.js +174 -0
  38. package/dist/cdn/AHWBG4EN.js +170 -0
  39. package/dist/cdn/AQMOKQMS.js +97 -0
  40. package/dist/cdn/AULQDYOE.js +286 -0
  41. package/dist/cdn/BB25YSSU.js +273 -0
  42. package/dist/cdn/BBHUZEFF.js +217 -0
  43. package/dist/cdn/BY6OCNJ5.js +203 -0
  44. package/dist/cdn/BZA7GDEH.js +281 -0
  45. package/dist/cdn/CCRQK5DN.js +377 -0
  46. package/dist/cdn/CFQFRB3N.js +154 -0
  47. package/dist/cdn/CUT7ZZEN.js +211 -0
  48. package/dist/cdn/D24YASGK.js +241 -0
  49. package/dist/cdn/D4XT7ZCD.js +78 -0
  50. package/dist/cdn/D57WSEYW.js +65954 -0
  51. package/dist/cdn/D7VH5WCI.js +97 -0
  52. package/dist/cdn/DKENL7TV.js +72 -0
  53. package/dist/cdn/DP4BNWU2.js +442 -0
  54. package/dist/cdn/DPJE33GY.js +111 -0
  55. package/dist/cdn/DPXJFQDJ.js +34 -0
  56. package/dist/cdn/DVTRF3NE.js +498 -0
  57. package/dist/cdn/ED7V65WK.js +471 -0
  58. package/dist/cdn/EEARIV73.js +211 -0
  59. package/dist/cdn/EI4BBWXF.js +365 -0
  60. package/dist/cdn/EKW43NKP.js +211 -0
  61. package/dist/cdn/EKZC6UDI.js +219 -0
  62. package/dist/cdn/EQYSD2NX.js +217 -0
  63. package/dist/cdn/F335AJAZ.js +220 -0
  64. package/dist/cdn/FEJD2JHY.js +15 -0
  65. package/dist/cdn/FHOCRXYD.js +116 -0
  66. package/dist/cdn/FKGSMYFL.js +414 -0
  67. package/dist/cdn/FL37YOHH.js +217 -0
  68. package/dist/cdn/FPSTP5OC.js +392 -0
  69. package/dist/cdn/FVY5LUI2.js +157 -0
  70. package/dist/cdn/FWWJZ3MJ.js +209 -0
  71. package/dist/cdn/FZD6CNIZ.js +399 -0
  72. package/dist/cdn/G4MCRK6N.js +162 -0
  73. package/dist/cdn/GTW3ZY2Z.js +159 -0
  74. package/dist/cdn/GWOR7UVC.js +124624 -0
  75. package/dist/cdn/HAGP76HP.js +16 -0
  76. package/dist/cdn/HB4IRXAE.js +72 -0
  77. package/dist/cdn/HM3YITGN.js +217 -0
  78. package/dist/cdn/HOC24MW7.js +151 -0
  79. package/dist/cdn/HZC3QJTN.js +105 -0
  80. package/dist/cdn/IARNAL5N.js +14375 -0
  81. package/dist/cdn/IER7B77G.js +209 -0
  82. package/dist/cdn/IHRGRUHQ.js +130 -0
  83. package/dist/cdn/IJKPLGK6.js +141 -0
  84. package/dist/cdn/IJUDK7C2.js +209 -0
  85. package/dist/cdn/IMTYQFPL.js +36 -0
  86. package/dist/cdn/ISWZQ6CS.js +1163 -0
  87. package/dist/cdn/IUTE24ZY.js +13 -0
  88. package/dist/cdn/IYO5SQDL.js +99 -0
  89. package/dist/cdn/J436GCGB.js +217 -0
  90. package/dist/cdn/J7TZPMJS.js +55 -0
  91. package/dist/cdn/JADN2A6V.js +209 -0
  92. package/dist/cdn/JGALBLLO.js +30326 -0
  93. package/dist/cdn/JP64Q3GB.js +209 -0
  94. package/dist/cdn/JRIDQN35.js +215 -0
  95. package/dist/cdn/JRXMYWDW.js +135 -0
  96. package/dist/cdn/JS32MHPQ.js +217 -0
  97. package/dist/cdn/K3EUYISB.js +217 -0
  98. package/dist/cdn/K7DZU3S3.js +209 -0
  99. package/dist/cdn/KB7UF3HK.js +89 -0
  100. package/dist/cdn/KJHME2ZX.js +31 -0
  101. package/dist/cdn/KM2WGERQ.js +625 -0
  102. package/dist/cdn/KP4ZXQIA.js +104 -0
  103. package/dist/cdn/KPQTJ2HD.js +642 -0
  104. package/dist/cdn/KPZUTGHH.js +630 -0
  105. package/dist/cdn/KRZ433BT.js +2106 -0
  106. package/dist/cdn/KUVOINJC.js +81 -0
  107. package/dist/cdn/KYALHV7T.js +209 -0
  108. package/dist/cdn/KZCTMPJT.js +209 -0
  109. package/dist/cdn/L2JT5DRD.js +706 -0
  110. package/dist/cdn/LCDVPNSE.js +13 -0
  111. package/dist/cdn/LMCXUA7Q.js +10 -0
  112. package/dist/cdn/LN5565XO.js +52 -0
  113. package/dist/cdn/LZPEOYIX.js +98 -0
  114. package/dist/cdn/ML4GGRP6.js +570 -0
  115. package/dist/cdn/MMTB6DEH.js +209 -0
  116. package/dist/cdn/MSXA6BCJ.js +207 -0
  117. package/dist/cdn/NII7T2C6.js +179 -0
  118. package/dist/cdn/NKG4FLLR.js +165 -0
  119. package/dist/cdn/NSSG3EFV.js +48 -0
  120. package/dist/cdn/OBMBMKLH.js +327 -0
  121. package/dist/cdn/OIKTWYMH.js +157 -0
  122. package/dist/cdn/OR4HXHSY.js +41 -0
  123. package/dist/cdn/P4UNBBUE.js +82 -0
  124. package/dist/cdn/P5SSZWMH.js +309 -0
  125. package/dist/cdn/P6IDPIZS.js +211 -0
  126. package/dist/cdn/P7VOZE67.js +296 -0
  127. package/dist/cdn/PJRXBEGZ.js +178 -0
  128. package/dist/cdn/PNEIQAP5.js +217 -0
  129. package/dist/cdn/PWVXLHJ5.js +217 -0
  130. package/dist/cdn/QB7LODVK.js +684 -0
  131. package/dist/cdn/QEF5BUC3.js +10 -0
  132. package/dist/cdn/QFD6CUH6.js +30326 -0
  133. package/dist/cdn/QH6BI7FG.js +217 -0
  134. package/dist/cdn/QOI7NT7O.js +219 -0
  135. package/dist/cdn/QWWC6FN5.js +536 -0
  136. package/dist/cdn/QXU67LZR.js +155 -0
  137. package/dist/cdn/QYYAUYYC.js +112 -0
  138. package/dist/cdn/R6TDL23L.js +209 -0
  139. package/dist/cdn/RF5DZ4IV.js +191 -0
  140. package/dist/cdn/S4AW3T6V.js +224 -0
  141. package/dist/cdn/S565TLQY.js +196 -0
  142. package/dist/cdn/SMF5WZQN.js +209 -0
  143. package/dist/cdn/SON2ID5T.js +219 -0
  144. package/dist/cdn/SQV437VB.js +215 -0
  145. package/dist/cdn/T27VVYVB.js +157 -0
  146. package/dist/cdn/TAAITYOS.js +198 -0
  147. package/dist/cdn/TABYE4TB.js +217 -0
  148. package/dist/cdn/TB7WEW23.js +209 -0
  149. package/dist/cdn/TJ5UK25V.js +9 -0
  150. package/dist/cdn/TJ65PNGP.js +165 -0
  151. package/dist/cdn/TMANAKTG.js +591 -0
  152. package/dist/cdn/U4PUZ7GN.js +162 -0
  153. package/dist/cdn/U7SAWP3S.js +209 -0
  154. package/dist/cdn/UCCVQZDR.js +9 -0
  155. package/dist/cdn/UG7LOBJE.js +85 -0
  156. package/dist/cdn/UKOVO7VE.js +186 -0
  157. package/dist/cdn/ULFF36NB.js +178 -0
  158. package/dist/cdn/UNHONDOG.js +31 -0
  159. package/dist/cdn/UPIJ2RYA.js +219 -0
  160. package/dist/cdn/UTRIB3ZD.js +162 -0
  161. package/dist/cdn/V2OPADQU.js +696 -0
  162. package/dist/cdn/V3CSEWPF.js +487 -0
  163. package/dist/cdn/VAB3BCTX.js +133 -0
  164. package/dist/cdn/VE5YTXK3.js +226 -0
  165. package/dist/cdn/VGRQ5KGN.js +13 -0
  166. package/dist/cdn/VGRXIFGH.js +473 -0
  167. package/dist/cdn/VPNOON73.js +6242 -0
  168. package/dist/cdn/VQMZEOOE.js +711 -0
  169. package/dist/cdn/VTOYBMVV.js +230 -0
  170. package/dist/cdn/W2ZT3M5X.js +477 -0
  171. package/dist/cdn/WKARMQOX.js +416 -0
  172. package/dist/cdn/WSH74NNB.js +184 -0
  173. package/dist/cdn/X2UNNQPA.js +209 -0
  174. package/dist/cdn/X5VZ6AC5.js +209 -0
  175. package/dist/cdn/XFRW44O2.js +209 -0
  176. package/dist/cdn/XLDY6CTA.js +142 -0
  177. package/dist/cdn/XNEK46GJ.js +230 -0
  178. package/dist/cdn/XOBTD5MM.js +371 -0
  179. package/dist/cdn/XQXY7DRO.js +268 -0
  180. package/dist/cdn/XZG6TRNQ.js +163 -0
  181. package/dist/cdn/XZQIXM6A.js +157 -0
  182. package/dist/cdn/Y56PEINI.js +217 -0
  183. package/dist/cdn/Y5VXYUPT.js +217 -0
  184. package/dist/cdn/YEXVZE6D.js +173 -0
  185. package/dist/cdn/YIZBXVJZ.js +493 -0
  186. package/dist/cdn/YOQQ22ZG.js +209 -0
  187. package/dist/cdn/YYJQDF23.js +35 -0
  188. package/dist/cdn/Z7HL2BUP.js +283 -0
  189. package/dist/cdn/ZAGKTJNS.js +209 -0
  190. package/dist/cdn/ZBU6PQPJ.js +340 -0
  191. package/dist/cdn/ZEG4LDOE.js +198 -0
  192. package/dist/cdn/ZEPS5UGU.js +238 -0
  193. package/dist/cdn/ZLQXY2BV.js +35 -0
  194. package/dist/cdn/ZLRKGGOO.js +1414 -0
  195. package/dist/cdn/ZQY74JM4.js +135 -0
  196. package/dist/cdn/ZTNIHU2P.js +137 -0
  197. package/dist/cdn/assets/chart/t9n/messages.zh-CN.json +1 -0
  198. package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-CN.json +1 -0
  199. package/dist/cdn/assets/charts-config-axes/t9n/messages.zh-CN.json +1 -0
  200. package/dist/cdn/assets/charts-config-axis/t9n/messages.zh-CN.json +1 -0
  201. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-CN.json +1 -0
  202. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-CN.json +1 -0
  203. package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-CN.json +1 -0
  204. package/dist/cdn/assets/charts-config-bar-chart-series-popover/t9n/messages.zh-CN.json +1 -0
  205. package/dist/cdn/assets/charts-config-box-plot-data/t9n/messages.zh-CN.json +1 -0
  206. package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.zh-CN.json +1 -0
  207. package/dist/cdn/assets/charts-config-box-plot-series/t9n/messages.zh-CN.json +1 -0
  208. package/dist/cdn/assets/charts-config-box-plot-series-popover/t9n/messages.zh-CN.json +1 -0
  209. package/dist/cdn/assets/charts-config-category-format/t9n/messages.zh-CN.json +1 -0
  210. package/dist/cdn/assets/charts-config-chart-rename-popover/t9n/messages.zh-CN.json +1 -0
  211. package/dist/cdn/assets/charts-config-color-style/t9n/messages.zh-CN.json +1 -0
  212. package/dist/cdn/assets/charts-config-colors/t9n/messages.zh-CN.json +1 -0
  213. package/dist/cdn/assets/charts-config-create-flow/t9n/messages.zh-CN.json +1 -0
  214. package/dist/cdn/assets/charts-config-font-style/t9n/messages.zh-CN.json +1 -0
  215. package/dist/cdn/assets/charts-config-format/t9n/messages.zh-CN.json +1 -0
  216. package/dist/cdn/assets/charts-config-format-popover/t9n/messages.zh-CN.json +1 -0
  217. package/dist/cdn/assets/charts-config-general/t9n/messages.zh-CN.json +1 -0
  218. package/dist/cdn/assets/charts-config-guide/t9n/messages.zh-CN.json +1 -0
  219. package/dist/cdn/assets/charts-config-guide-popover/t9n/messages.zh-CN.json +1 -0
  220. package/dist/cdn/assets/charts-config-guides/t9n/messages.zh-CN.json +1 -0
  221. package/dist/cdn/assets/charts-config-guides-type-popover/t9n/messages.zh-CN.json +1 -0
  222. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-CN.json +1 -0
  223. package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.zh-CN.json +1 -0
  224. package/dist/cdn/assets/charts-config-histogram-data/t9n/messages.zh-CN.json +1 -0
  225. package/dist/cdn/assets/charts-config-histogram-popover/t9n/messages.zh-CN.json +1 -0
  226. package/dist/cdn/assets/charts-config-line-chart-data/t9n/messages.zh-CN.json +1 -0
  227. package/dist/cdn/assets/charts-config-line-chart-popover/t9n/messages.zh-CN.json +1 -0
  228. package/dist/cdn/assets/charts-config-line-chart-series/t9n/messages.zh-CN.json +1 -0
  229. package/dist/cdn/assets/charts-config-line-chart-series-popover/t9n/messages.zh-CN.json +1 -0
  230. package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -0
  231. package/dist/cdn/assets/charts-config-number-format/t9n/messages.zh-CN.json +1 -0
  232. package/dist/cdn/assets/charts-config-pie-chart-data/t9n/messages.zh-CN.json +1 -0
  233. package/dist/cdn/assets/charts-config-pie-chart-popover/t9n/messages.zh-CN.json +1 -0
  234. package/dist/cdn/assets/charts-config-pie-chart-slices/t9n/messages.zh-CN.json +1 -0
  235. package/dist/cdn/assets/charts-config-pie-chart-slices-popover/t9n/messages.zh-CN.json +1 -0
  236. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-CN.json +1 -0
  237. package/dist/cdn/assets/charts-config-scatter-plot-popover/t9n/messages.zh-CN.json +1 -0
  238. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-CN.json +1 -0
  239. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -0
  240. package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -0
  241. package/dist/cdn/assets/styles/_common.scss +257 -0
  242. package/dist/cdn/assets/styles/_layout.scss +10 -0
  243. package/dist/cdn/assets/styles/resources.ts +7 -0
  244. package/dist/cdn/assets/styles/variables.scss +41 -0
  245. package/dist/cdn/index.js +256 -0
  246. package/dist/cdn/main.css +1 -0
  247. package/dist/chart-rendering/common/interfaces.d.ts +367 -0
  248. package/dist/chunks/action-bar-utils.js +206 -0
  249. package/dist/chunks/axis-lines-symbol.js +98 -0
  250. package/dist/chunks/axis-model-wrapper.js +37 -0
  251. package/dist/chunks/bar-chart-model.js +150 -0
  252. package/dist/chunks/bar-chart-series.js +41 -0
  253. package/dist/chunks/bg_BG.js +8 -0
  254. package/dist/chunks/bg_BG2.js +8 -0
  255. package/dist/chunks/box-plot-data.js +757 -0
  256. package/dist/chunks/box-plot-model.js +473 -0
  257. package/dist/chunks/chart-model.js +595 -0
  258. package/dist/chunks/chart-ui-utils.js +93 -0
  259. package/dist/chunks/chart-ui-utils2.js +232 -0
  260. package/dist/chunks/class-breaks.js +370 -0
  261. package/dist/chunks/combo-bar-line-chart-model.js +299 -0
  262. package/dist/chunks/common.js +106 -0
  263. package/dist/chunks/data-labels-symbol.js +42 -0
  264. package/dist/chunks/data.js +195 -0
  265. package/dist/chunks/default.js +16 -0
  266. package/dist/chunks/gauge-model.js +489 -0
  267. package/dist/chunks/generate-x-axis-title.js +98 -0
  268. package/dist/chunks/heat-chart-model.js +483 -0
  269. package/dist/chunks/histogram-data.js +196 -0
  270. package/dist/chunks/histogram-model.js +228 -0
  271. package/dist/chunks/index.js +23574 -0
  272. package/dist/chunks/index2.js +1099 -0
  273. package/dist/chunks/index3.js +279 -0
  274. package/dist/chunks/index4.js +98 -0
  275. package/dist/chunks/index5.js +76 -0
  276. package/dist/chunks/interfaces.js +123 -0
  277. package/dist/chunks/line-chart-model.js +134 -0
  278. package/dist/chunks/model-setter.js +162 -0
  279. package/dist/chunks/model-with-guides.js +330 -0
  280. package/dist/chunks/model-with-line-marker-styling.js +178 -0
  281. package/dist/chunks/model-with-tooltips.js +318 -0
  282. package/dist/chunks/model-with-x-guides.js +45 -0
  283. package/dist/chunks/model-with-y-guides.js +656 -0
  284. package/dist/chunks/negative-values-stacked-to-baseline.js +157 -0
  285. package/dist/chunks/pie-chart-data.js +473 -0
  286. package/dist/chunks/pie-chart-model.js +884 -0
  287. package/dist/chunks/popover-ui-utils.js +15 -0
  288. package/dist/chunks/radar-chart-model.js +157 -0
  289. package/dist/chunks/resource.js +14 -0
  290. package/dist/chunks/resources.js +13 -0
  291. package/dist/chunks/rest-js-object-literals.js +112 -0
  292. package/dist/chunks/rotated-state.js +54 -0
  293. package/dist/chunks/runtime.js +19 -0
  294. package/dist/chunks/scatterplot-model.js +350 -0
  295. package/dist/chunks/serial-chart-data.js +1446 -0
  296. package/dist/chunks/serial-chart-model.js +587 -0
  297. package/dist/chunks/series-length.js +81 -0
  298. package/dist/chunks/series-types.js +249 -0
  299. package/dist/chunks/series.js +36 -0
  300. package/dist/chunks/setup-utils.js +87 -0
  301. package/dist/chunks/sk_SK.js +8 -0
  302. package/dist/chunks/store.js +35 -0
  303. package/dist/chunks/type-guards.js +156 -0
  304. package/dist/chunks/useT9n.js +5 -0
  305. package/dist/chunks/utils.js +308 -0
  306. package/dist/chunks/utils2.js +85 -0
  307. package/dist/chunks/web-component-utils.js +634 -0
  308. package/dist/components/geoscene-chart/customElement.d.ts +1551 -0
  309. package/dist/components/geoscene-chart/customElement.js +27412 -0
  310. package/dist/components/geoscene-chart/index.d.ts +1 -0
  311. package/dist/components/geoscene-chart/index.js +3 -0
  312. package/dist/components/geoscene-charts-action-bar/customElement.d.ts +813 -0
  313. package/dist/components/geoscene-charts-action-bar/customElement.js +500 -0
  314. package/dist/components/geoscene-charts-action-bar/index.d.ts +1 -0
  315. package/dist/components/geoscene-charts-action-bar/index.js +7 -0
  316. package/dist/components/geoscene-charts-config-axes/customElement.js +72 -0
  317. package/dist/components/geoscene-charts-config-axes/index.js +2 -0
  318. package/dist/components/geoscene-charts-config-axis/customElement.js +382 -0
  319. package/dist/components/geoscene-charts-config-axis/index.js +9 -0
  320. package/dist/components/geoscene-charts-config-bar-chart/customElement.js +165 -0
  321. package/dist/components/geoscene-charts-config-bar-chart/index.js +7 -0
  322. package/dist/components/geoscene-charts-config-bar-chart-data/customElement.js +644 -0
  323. package/dist/components/geoscene-charts-config-bar-chart-data/index.js +12 -0
  324. package/dist/components/geoscene-charts-config-bar-chart-popover/customElement.js +454 -0
  325. package/dist/components/geoscene-charts-config-bar-chart-popover/index.js +13 -0
  326. package/dist/components/geoscene-charts-config-bar-chart-series/customElement.js +341 -0
  327. package/dist/components/geoscene-charts-config-bar-chart-series/index.js +7 -0
  328. package/dist/components/geoscene-charts-config-bar-chart-series-popover/customElement.js +125 -0
  329. package/dist/components/geoscene-charts-config-bar-chart-series-popover/index.js +6 -0
  330. package/dist/components/geoscene-charts-config-box-plot/customElement.js +160 -0
  331. package/dist/components/geoscene-charts-config-box-plot/index.js +7 -0
  332. package/dist/components/geoscene-charts-config-box-plot-data/customElement.js +456 -0
  333. package/dist/components/geoscene-charts-config-box-plot-data/index.js +10 -0
  334. package/dist/components/geoscene-charts-config-box-plot-popover/customElement.js +343 -0
  335. package/dist/components/geoscene-charts-config-box-plot-popover/index.js +8 -0
  336. package/dist/components/geoscene-charts-config-box-plot-series/customElement.js +394 -0
  337. package/dist/components/geoscene-charts-config-box-plot-series/index.js +7 -0
  338. package/dist/components/geoscene-charts-config-box-plot-series-popover/customElement.js +163 -0
  339. package/dist/components/geoscene-charts-config-box-plot-series-popover/index.js +7 -0
  340. package/dist/components/geoscene-charts-config-category-format/customElement.js +87 -0
  341. package/dist/components/geoscene-charts-config-category-format/index.js +3 -0
  342. package/dist/components/geoscene-charts-config-chart-rename-popover/customElement.js +143 -0
  343. package/dist/components/geoscene-charts-config-chart-rename-popover/index.js +7 -0
  344. package/dist/components/geoscene-charts-config-color-style/customElement.js +58 -0
  345. package/dist/components/geoscene-charts-config-color-style/index.js +3 -0
  346. package/dist/components/geoscene-charts-config-colors/customElement.js +73 -0
  347. package/dist/components/geoscene-charts-config-colors/index.js +3 -0
  348. package/dist/components/geoscene-charts-config-create-flow/customElement.js +929 -0
  349. package/dist/components/geoscene-charts-config-create-flow/index.js +15 -0
  350. package/dist/components/geoscene-charts-config-field-select/customElement.js +37 -0
  351. package/dist/components/geoscene-charts-config-field-select/index.js +2 -0
  352. package/dist/components/geoscene-charts-config-font-style/customElement.js +226 -0
  353. package/dist/components/geoscene-charts-config-font-style/index.js +9 -0
  354. package/dist/components/geoscene-charts-config-font-style/resource.d.ts +15 -0
  355. package/dist/components/geoscene-charts-config-format/customElement.js +485 -0
  356. package/dist/components/geoscene-charts-config-format/index.js +5 -0
  357. package/dist/components/geoscene-charts-config-format-popover/customElement.js +113 -0
  358. package/dist/components/geoscene-charts-config-format-popover/index.js +5 -0
  359. package/dist/components/geoscene-charts-config-general/customElement.js +328 -0
  360. package/dist/components/geoscene-charts-config-general/index.js +9 -0
  361. package/dist/components/geoscene-charts-config-guide/customElement.js +487 -0
  362. package/dist/components/geoscene-charts-config-guide/index.js +14 -0
  363. package/dist/components/geoscene-charts-config-guide/resource.d.ts +15 -0
  364. package/dist/components/geoscene-charts-config-guide-popover/customElement.js +111 -0
  365. package/dist/components/geoscene-charts-config-guide-popover/index.js +4 -0
  366. package/dist/components/geoscene-charts-config-guides/customElement.js +194 -0
  367. package/dist/components/geoscene-charts-config-guides/index.js +4 -0
  368. package/dist/components/geoscene-charts-config-guides-type-popover/customElement.js +100 -0
  369. package/dist/components/geoscene-charts-config-guides-type-popover/index.js +4 -0
  370. package/dist/components/geoscene-charts-config-heat-chart/customElement.js +114 -0
  371. package/dist/components/geoscene-charts-config-heat-chart/index.js +4 -0
  372. package/dist/components/geoscene-charts-config-heat-chart-data/customElement.js +701 -0
  373. package/dist/components/geoscene-charts-config-heat-chart-data/index.js +18 -0
  374. package/dist/components/geoscene-charts-config-heat-chart-popover/customElement.js +499 -0
  375. package/dist/components/geoscene-charts-config-heat-chart-popover/index.js +12 -0
  376. package/dist/components/geoscene-charts-config-histogram/customElement.js +137 -0
  377. package/dist/components/geoscene-charts-config-histogram/index.js +6 -0
  378. package/dist/components/geoscene-charts-config-histogram-data/customElement.js +612 -0
  379. package/dist/components/geoscene-charts-config-histogram-data/index.js +11 -0
  380. package/dist/components/geoscene-charts-config-histogram-popover/customElement.js +255 -0
  381. package/dist/components/geoscene-charts-config-histogram-popover/index.js +7 -0
  382. package/dist/components/geoscene-charts-config-invalid-input-message/customElement.js +31 -0
  383. package/dist/components/geoscene-charts-config-invalid-input-message/index.js +2 -0
  384. package/dist/components/geoscene-charts-config-line-chart/customElement.js +169 -0
  385. package/dist/components/geoscene-charts-config-line-chart/index.js +7 -0
  386. package/dist/components/geoscene-charts-config-line-chart-data/customElement.js +444 -0
  387. package/dist/components/geoscene-charts-config-line-chart-data/index.js +12 -0
  388. package/dist/components/geoscene-charts-config-line-chart-popover/customElement.js +357 -0
  389. package/dist/components/geoscene-charts-config-line-chart-popover/index.js +11 -0
  390. package/dist/components/geoscene-charts-config-line-chart-series/customElement.js +245 -0
  391. package/dist/components/geoscene-charts-config-line-chart-series/index.js +7 -0
  392. package/dist/components/geoscene-charts-config-line-chart-series-popover/customElement.js +216 -0
  393. package/dist/components/geoscene-charts-config-line-chart-series-popover/index.js +10 -0
  394. package/dist/components/geoscene-charts-config-line-style/customElement.js +159 -0
  395. package/dist/components/geoscene-charts-config-line-style/index.js +9 -0
  396. package/dist/components/geoscene-charts-config-number-format/customElement.js +102 -0
  397. package/dist/components/geoscene-charts-config-number-format/index.js +4 -0
  398. package/dist/components/geoscene-charts-config-pie-chart/customElement.js +164 -0
  399. package/dist/components/geoscene-charts-config-pie-chart/index.js +5 -0
  400. package/dist/components/geoscene-charts-config-pie-chart-data/customElement.js +258 -0
  401. package/dist/components/geoscene-charts-config-pie-chart-data/index.js +8 -0
  402. package/dist/components/geoscene-charts-config-pie-chart-popover/customElement.js +300 -0
  403. package/dist/components/geoscene-charts-config-pie-chart-popover/index.js +7 -0
  404. package/dist/components/geoscene-charts-config-pie-chart-slices/customElement.js +454 -0
  405. package/dist/components/geoscene-charts-config-pie-chart-slices/index.js +12 -0
  406. package/dist/components/geoscene-charts-config-pie-chart-slices-popover/customElement.js +126 -0
  407. package/dist/components/geoscene-charts-config-pie-chart-slices-popover/index.js +6 -0
  408. package/dist/components/geoscene-charts-config-scatter-plot/customElement.js +132 -0
  409. package/dist/components/geoscene-charts-config-scatter-plot/index.js +6 -0
  410. package/dist/components/geoscene-charts-config-scatter-plot-data/customElement.js +616 -0
  411. package/dist/components/geoscene-charts-config-scatter-plot-data/index.js +12 -0
  412. package/dist/components/geoscene-charts-config-scatter-plot-popover/customElement.js +198 -0
  413. package/dist/components/geoscene-charts-config-scatter-plot-popover/index.js +7 -0
  414. package/dist/components/geoscene-charts-config-select-chart-type-popover/customElement.js +148 -0
  415. package/dist/components/geoscene-charts-config-select-chart-type-popover/index.js +6 -0
  416. package/dist/components/geoscene-charts-config-view-charts/customElement.js +289 -0
  417. package/dist/components/geoscene-charts-config-view-charts/index.js +10 -0
  418. package/dist/components/geoscene-charts-info-modal/customElement.js +101 -0
  419. package/dist/components/geoscene-charts-info-modal/index.js +2 -0
  420. package/dist/docs/api.json +87068 -0
  421. package/dist/docs/docs.json +3082 -0
  422. package/dist/docs/vscode.css-custom-data.json +1 -0
  423. package/dist/docs/vscode.html-custom-data.json +519 -0
  424. package/dist/docs/web-types.json +1282 -0
  425. package/dist/index.d.ts +92 -0
  426. package/dist/index.js +812 -0
  427. package/dist/interfaces.d.ts +203 -0
  428. package/dist/json-schema/index.d.ts +8488 -0
  429. package/dist/loader.d.ts +2 -0
  430. package/dist/loader.js +332 -0
  431. package/dist/model/bar-chart-model/bar-chart-model.d.ts +51 -0
  432. package/dist/model/box-plot-model/box-plot-model.d.ts +177 -0
  433. package/dist/model/chart-model/chart-model-base.d.ts +34 -0
  434. package/dist/model/chart-model/chart-model.d.ts +28 -0
  435. package/dist/model/chart-model/utils/types.d.ts +10 -0
  436. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +189 -0
  437. package/dist/model/gauge-model/gauge-model.d.ts +103 -0
  438. package/dist/model/heat-chart-model/heat-chart-model.d.ts +224 -0
  439. package/dist/model/histogram-model/histogram-model.d.ts +75 -0
  440. package/dist/model/index.d.ts +18 -0
  441. package/dist/model/interfaces/chart-interfaces.d.ts +21 -0
  442. package/dist/model/interfaces/common.d.ts +172 -0
  443. package/dist/model/line-chart-model/line-chart-model.d.ts +20 -0
  444. package/dist/model/mixins/model-with-guides.d.ts +140 -0
  445. package/dist/model/mixins/model-with-legend.d.ts +22 -0
  446. package/dist/model/mixins/model-with-line-marker-styling.d.ts +139 -0
  447. package/dist/model/mixins/model-with-multi-axes.d.ts +307 -0
  448. package/dist/model/mixins/model-with-temporal-binning.d.ts +25 -0
  449. package/dist/model/mixins/model-with-tooltips.d.ts +36 -0
  450. package/dist/model/mixins/model-with-x-guides.d.ts +24 -0
  451. package/dist/model/mixins/model-with-y-guides.d.ts +24 -0
  452. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +56 -0
  453. package/dist/model/pie-chart-model/pie-chart-model.d.ts +199 -0
  454. package/dist/model/properties/axes/axis-labels-symbol.d.ts +8 -0
  455. package/dist/model/properties/axes/axis-lines-symbol.d.ts +8 -0
  456. package/dist/model/properties/axes/x-axis/generate-x-axis-title.d.ts +7 -0
  457. package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +11 -0
  458. package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +11 -0
  459. package/dist/model/properties/axes/x-axis/x-axis-labels-visibility.d.ts +7 -0
  460. package/dist/model/properties/axes/x-axis/x-axis-title-symbol.d.ts +8 -0
  461. package/dist/model/properties/axes/x-axis/x-axis-title-text.d.ts +7 -0
  462. package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +11 -0
  463. package/dist/model/properties/axes/x-axis/x-bounds.d.ts +8 -0
  464. package/dist/model/properties/background-color.d.ts +8 -0
  465. package/dist/model/properties/chart-id.d.ts +7 -0
  466. package/dist/model/properties/chart-renderer.d.ts +52 -0
  467. package/dist/model/properties/chart-sub-type.d.ts +8 -0
  468. package/dist/model/properties/color-match.d.ts +12 -0
  469. package/dist/model/properties/config.d.ts +8 -0
  470. package/dist/model/properties/data-filters.d.ts +14 -0
  471. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +8 -0
  472. package/dist/model/properties/data-labels/data-labels-visibility.d.ts +7 -0
  473. package/dist/model/properties/data-tooltip-value-format.d.ts +21 -0
  474. package/dist/model/properties/description/description-symbol.d.ts +8 -0
  475. package/dist/model/properties/description/description-text.d.ts +6 -0
  476. package/dist/model/properties/description/description-visibility.d.ts +11 -0
  477. package/dist/model/properties/fetch-null-values.d.ts +7 -0
  478. package/dist/model/properties/layer.d.ts +8 -0
  479. package/dist/model/properties/rotated-state.d.ts +7 -0
  480. package/dist/model/properties/series/negative-values-stacked-to-baseline.d.ts +22 -0
  481. package/dist/model/properties/series/series-id.d.ts +12 -0
  482. package/dist/model/properties/series/series-index.d.ts +12 -0
  483. package/dist/model/properties/series/series-length.d.ts +7 -0
  484. package/dist/model/properties/series/series-visibility.d.ts +18 -0
  485. package/dist/model/properties/split-by-values.d.ts +7 -0
  486. package/dist/model/properties/subtitle/subtitle-symbol.d.ts +8 -0
  487. package/dist/model/properties/subtitle/subtitle-text.d.ts +7 -0
  488. package/dist/model/properties/subtitle/subtitle-visibility.d.ts +11 -0
  489. package/dist/model/properties/title/title-symbol.d.ts +8 -0
  490. package/dist/model/properties/title/title-text.d.ts +7 -0
  491. package/dist/model/properties/title/title-visibility.d.ts +11 -0
  492. package/dist/model/properties/version.d.ts +7 -0
  493. package/dist/model/radar-chart-model/radar-chart-model.d.ts +20 -0
  494. package/dist/model/scatterplot-model/scatterplot-model.d.ts +57 -0
  495. package/dist/model/serial-chart-model/serial-chart-model.d.ts +145 -0
  496. package/dist/model/shared/setup-utils.d.ts +74 -0
  497. package/dist/model/shared/type-guards.d.ts +172 -0
  498. package/dist/model.js +77 -0
  499. package/dist/spec/chart-object-literals.d.ts +364 -0
  500. package/dist/spec/config-defaults.d.ts +11 -0
  501. package/dist/spec/data-source.d.ts +104 -0
  502. package/dist/spec/events.d.ts +34 -0
  503. package/dist/spec/index.d.ts +8 -0
  504. package/dist/spec/rest-js-object-literals.d.ts +132 -0
  505. package/dist/spec/rest-js-types.d.ts +1923 -0
  506. package/dist/spec/web-chart.d.ts +1539 -0
  507. package/dist/types/components.d.ts +2 -0
  508. package/dist/types/lumina.d.ts +187 -0
  509. package/dist/types/preact.d.ts +194 -0
  510. package/dist/types/react.d.ts +204 -0
  511. package/dist/types/stencil.d.ts +194 -0
  512. package/dist/utils/chart-config/converter/index.d.ts +21 -0
  513. package/dist/utils/chart-config/interfaces.d.ts +8 -0
  514. package/dist/utils/chart-config/utils/index.d.ts +520 -0
  515. package/dist/utils/chart-config/utils/interfaces.d.ts +8 -0
  516. package/dist/utils/chart-config/validator/index.d.ts +27 -0
  517. package/dist/utils/chart-config/validator/interfaces.d.ts +105 -0
  518. package/dist/utils/components/event-payloads.d.ts +82 -0
  519. package/dist/utils/components/interfaces.d.ts +14 -0
  520. package/dist/utils/cursor/interfaces.d.ts +17 -0
  521. package/dist/utils/data/categorical-data/index.d.ts +27 -0
  522. package/dist/utils/data/index.d.ts +149 -0
  523. package/dist/utils/data/interfaces.d.ts +75 -0
  524. package/dist/utils/data/time-binning/interfaces.d.ts +38 -0
  525. package/dist/utils/defaults/index.d.ts +638 -0
  526. package/dist/utils/defaults/interfaces.d.ts +81 -0
  527. package/dist/utils/errors/index.d.ts +17 -0
  528. package/dist/utils/errors/interfaces.d.ts +9 -0
  529. package/dist/utils/index.d.ts +33 -0
  530. package/dist/utils/layer/index.d.ts +313 -0
  531. package/dist/utils/layer/inline-conversion/index.d.ts +46 -0
  532. package/dist/utils/layer/inline-conversion/interfaces.d.ts +21 -0
  533. package/dist/utils/layer/interfaces.d.ts +73 -0
  534. package/dist/utils/layer/query-features/index.d.ts +192 -0
  535. package/dist/utils/layer/query-features/interfaces.d.ts +10 -0
  536. package/dist/utils/layer/query-parser/index.d.ts +183 -0
  537. package/dist/utils/layer/utils/index.d.ts +202 -0
  538. package/dist/utils/localization/index.d.ts +87 -0
  539. package/dist/utils/localization/interfaces.d.ts +617 -0
  540. package/dist/utils/misc/index.d.ts +347 -0
  541. package/dist/utils/misc/interfaces.d.ts +116 -0
  542. package/dist/utils/type-guards/index.d.ts +229 -0
  543. package/dist/utils/type-guards/series-types.d.ts +38 -0
  544. package/dist/utils/types/index.d.ts +227 -0
  545. package/dist/utils/ui/chart-ui-utils.d.ts +34 -0
  546. package/dist/utils/ui/popover-ui-utils.d.ts +35 -0
  547. package/package.json +59 -0
@@ -0,0 +1,1099 @@
1
+ /* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
2
+ import { getElementLocale as Ge } from "@geoscene/toolkit/intl";
3
+ import { cloneDeep as s, isEmpty as B } from "lodash-es";
4
+ import { DateTime as je } from "luxon";
5
+ import {
6
+ cM as _e,
7
+ f as re,
8
+ g as ze,
9
+ dt as ie,
10
+ dr as He,
11
+ u as $e,
12
+ W as Re,
13
+ ax as Qe,
14
+ bM as Ye,
15
+ o as C,
16
+ a6 as Ke,
17
+ dp as c,
18
+ b$ as b,
19
+ c1 as Z,
20
+ j as Xe,
21
+ k as Je,
22
+ ay as Ze,
23
+ df as T,
24
+ d as K,
25
+ d7 as oe,
26
+ bj as Ue,
27
+ cn as et,
28
+ bA as tt,
29
+ q as rt,
30
+ } from "./index.js";
31
+ import { h as it, i as ot, a as st } from "./index4.js";
32
+ import {
33
+ p as U,
34
+ w as h,
35
+ W as l,
36
+ a as F,
37
+ t as f,
38
+ g as S,
39
+ c as nt,
40
+ o as ee,
41
+ i as g,
42
+ } from "./series-types.js";
43
+ var P = /* @__PURE__ */ ((r) => (
44
+ (r.NONE = "none"),
45
+ (r.ROTATE = "rotate"),
46
+ (r.STAGGER = "stagger"),
47
+ (r.WRAP = "wrap"),
48
+ r
49
+ ))(P || {});
50
+ function se(r) {
51
+ const { configToUpdate: e, chartContainer: i, layer: t } = r,
52
+ o = s(e);
53
+ if (
54
+ t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek === !0 &&
55
+ (!("firstDayOfWeek" in e) ||
56
+ e.firstDayOfWeek === void 0 ||
57
+ e.firstDayOfWeek === null)
58
+ ) {
59
+ const { lang: n } = Ge(i ?? document.documentElement);
60
+ try {
61
+ o.firstDayOfWeek = je
62
+ .local()
63
+ .setLocale(n.replaceAll("_", "-"))
64
+ .startOf("week", { useLocaleWeeks: !0 }).weekday;
65
+ } catch {}
66
+ }
67
+ return o;
68
+ }
69
+ function ne(r) {
70
+ const e = s(r);
71
+ return (
72
+ B(r.axes) ||
73
+ (e.axes = r.axes?.map((i) => {
74
+ const t = i;
75
+ return (
76
+ delete t.calculateAutomaticMaximum,
77
+ delete t.calculateAutomaticMinimum,
78
+ t.title?.content.font?.style !== void 0 &&
79
+ (t.title.content.font.style =
80
+ t.title.content.font.style.toLowerCase()),
81
+ t
82
+ );
83
+ })),
84
+ e
85
+ );
86
+ }
87
+ function ae(r) {
88
+ const e = s(r);
89
+ return (
90
+ B(r.series) ||
91
+ (e.series = r.series.map((i, t) => {
92
+ const o = i;
93
+ i.id === void 0 && (o.id = `Series ${Date.now()}-${t}`);
94
+ const n = h(r.series, t);
95
+ return (
96
+ (n === l.BarSeries || n === l.LineSeries || n === l.RadarSeries) &&
97
+ o.query?.outStatistics?.[0]?.statisticType === "median" &&
98
+ (o.query.outStatistics[0].statisticType = F.ContinuousPercentile),
99
+ n === l.BarSeries &&
100
+ o.multipleBarType !== void 0 &&
101
+ ((o.stackedType = o.multipleBarType), delete o.multipleBarType),
102
+ n === l.PieSeries &&
103
+ o.sliceGrouping !== void 0 &&
104
+ ((o.sliceGrouping.sliceId = Qe.defaultGroupOfSlicesId),
105
+ o.sliceGrouping.groupName !== void 0 &&
106
+ ((o.sliceGrouping = {
107
+ ...o.sliceGrouping,
108
+ label: o.sliceGrouping.groupName,
109
+ }),
110
+ delete o.sliceGrouping.groupName),
111
+ o.sliceGrouping.groupSliceSymbol !== void 0 &&
112
+ ((o.sliceGrouping = {
113
+ ...o.sliceGrouping,
114
+ fillSymbol: o.sliceGrouping.groupSliceSymbol,
115
+ }),
116
+ delete o.sliceGrouping.groupSliceSymbol)),
117
+ o
118
+ );
119
+ })),
120
+ e
121
+ );
122
+ }
123
+ async function te(r, e) {
124
+ const i = [];
125
+ return (
126
+ await Promise.all(
127
+ r.map(async (t) => {
128
+ if (!oe(t)) {
129
+ const o = T(t, !1);
130
+ if (o.fieldToSort !== void 0) {
131
+ const n = await b({
132
+ queryObject: e,
133
+ fieldToMatch: o.fieldToSort,
134
+ });
135
+ n !== void 0 &&
136
+ i.push(o.orderBy === void 0 ? n : `${n} ${o.orderBy}`);
137
+ }
138
+ }
139
+ })
140
+ ),
141
+ i
142
+ );
143
+ }
144
+ async function de(r, e) {
145
+ const i = { ...r };
146
+ let t = e;
147
+ if (!t) {
148
+ const o = it(r) ? r.iLayer : r.dataSource?.layer;
149
+ o && (t = await Ye(o));
150
+ }
151
+ if (t) {
152
+ const o = C(i.series),
153
+ n = h(i.series),
154
+ u =
155
+ (i.series && i.series.length > 0 && i.series[0].x.trim() === "") ||
156
+ (n === l.GaugeSeries && !Ke(r)) ||
157
+ o === c.PieFromFields ||
158
+ o === c.BarAndLineFromFields ||
159
+ o === c.BoxPlotMonoField ||
160
+ o === c.BoxPlotMonoFieldAndSplitBy ||
161
+ o === c.BoxPlotMultiFields ||
162
+ o === c.BoxPlotMultiFieldsAndSplitBy,
163
+ v =
164
+ n === l.ScatterSeries ||
165
+ o === c.BarAndLineNoAggregation ||
166
+ o === c.BarAndLineSplitByNoAggregation ||
167
+ o === c.BoxPlotMonoField ||
168
+ o === c.BoxPlotMonoFieldAndSplitBy ||
169
+ o === c.BoxPlotMonoFieldAndCategory ||
170
+ o === c.BoxPlotMonoFieldAndCategoryAndSplitBy ||
171
+ o === c.PieNoAggregation;
172
+ if (
173
+ ((i.series = await Promise.all(
174
+ r.series.map(async (a) => {
175
+ const d = { ...a };
176
+ if (
177
+ (u || (d.x = await b({ queryObject: t, fieldToMatch: a.x })),
178
+ "y" in d && v)
179
+ ) {
180
+ const y = d.y;
181
+ if (Array.isArray(y)) {
182
+ const p = await Z({
183
+ fieldsList: y,
184
+ queryObject: t,
185
+ });
186
+ p !== void 0 && "y" in d && (d.y = p);
187
+ } else
188
+ "y" in d &&
189
+ typeof y == "string" &&
190
+ (d.y = await b({ queryObject: t, fieldToMatch: y }));
191
+ }
192
+ if (a.query !== void 0) {
193
+ let {
194
+ where: y,
195
+ groupByFieldsForStatistics: p,
196
+ outStatistics: m,
197
+ } = a.query;
198
+ if (
199
+ ((p = await Z({ fieldsList: p, queryObject: t })),
200
+ m !== void 0 &&
201
+ (m = await Promise.all(
202
+ m.map(async (x) => {
203
+ const O = { ...x };
204
+ return (
205
+ (O.onStatisticField = await b({
206
+ queryObject: t,
207
+ fieldToMatch: x.onStatisticField,
208
+ })),
209
+ O
210
+ );
211
+ })
212
+ )),
213
+ y !== void 0 && o === c.BarAndLineSplitBy)
214
+ ) {
215
+ const x = Xe(a.query?.where),
216
+ O = Je({
217
+ where: a.query?.where,
218
+ normalize: !1,
219
+ escape: !1,
220
+ });
221
+ y = `${await b({ queryObject: t, fieldToMatch: x })}=${O}`;
222
+ }
223
+ d.query !== void 0 &&
224
+ (y !== void 0 && (d.query.where = y),
225
+ p !== void 0 && (d.query.groupByFieldsForStatistics = p),
226
+ m !== void 0 && (d.query.outStatistics = m));
227
+ }
228
+ return d;
229
+ })
230
+ )),
231
+ i.series[0]?.query !== void 0)
232
+ ) {
233
+ const a = i.series[0].query;
234
+ let { orderByFields: d } = a;
235
+ d !== void 0 &&
236
+ d.length > 0 &&
237
+ ((d = await te(d, t)),
238
+ d.length > 0 &&
239
+ a.orderByFields !== void 0 &&
240
+ (i.series[0].query.orderByFields = d));
241
+ }
242
+ if (i.orderOptions?.orderByFields !== void 0) {
243
+ let { orderByFields: a } = i.orderOptions;
244
+ a !== void 0 &&
245
+ a.length > 0 &&
246
+ ((a = await te(a, t)),
247
+ a.length > 0 && (i.orderOptions.orderByFields = a));
248
+ }
249
+ if (n === l.GaugeSeries && r.axes?.[0] !== void 0) {
250
+ const { minimumFromField: a, maximumFromField: d } = r.axes[0];
251
+ if (a !== void 0) {
252
+ const y = typeof a == "string" ? a : a.onStatisticField,
253
+ p = await b({ queryObject: t, fieldToMatch: y });
254
+ let m = a;
255
+ typeof r.axes[0].minimumFromField == "string"
256
+ ? (m = p)
257
+ : typeof a == "object" &&
258
+ (m = {
259
+ ...a,
260
+ onStatisticField: p,
261
+ }),
262
+ (r.axes[0].minimumFromField = m);
263
+ }
264
+ if (d !== void 0) {
265
+ const y = typeof d == "string" ? d : d.onStatisticField,
266
+ p = await b({ queryObject: t, fieldToMatch: y });
267
+ let m = d;
268
+ typeof r.axes[0].maximumFromField == "string"
269
+ ? (m = p)
270
+ : typeof d == "object" &&
271
+ (m = {
272
+ ...d,
273
+ onStatisticField: p,
274
+ }),
275
+ (r.axes[0].maximumFromField = m);
276
+ }
277
+ }
278
+ }
279
+ return i;
280
+ }
281
+ function le(r) {
282
+ const e = s(r);
283
+ if (!B(r.series) && h(r.series) === l.BoxPlotSeries) {
284
+ const t = e.series[0];
285
+ t &&
286
+ (t.showOutliers !== void 0 &&
287
+ (r.showOutliers === void 0 && (e.showOutliers = t.showOutliers),
288
+ delete t.showOutliers),
289
+ t.standardizeValues !== void 0 &&
290
+ (r.standardizeValues === void 0 &&
291
+ (e.standardizeValues = t.standardizeValues),
292
+ delete t.standardizeValues),
293
+ t.showMean !== void 0 &&
294
+ (r.showMean === void 0 && (e.showMean = t.showMean),
295
+ delete t.showMean));
296
+ }
297
+ return e;
298
+ }
299
+ function ce(r) {
300
+ const e = {
301
+ orderType: f.Category,
302
+ orderBy: S.Ascending,
303
+ },
304
+ i = r.query?.orderByFields?.[0];
305
+ if (i !== void 0) {
306
+ const { outStatisticFieldName: t, statisticType: o } =
307
+ r.query?.outStatistics?.[0] ?? {},
308
+ n = T(i);
309
+ t !== void 0 &&
310
+ n.fieldToSort === t &&
311
+ o !== void 0 &&
312
+ (o === F.Average || o === "mean"
313
+ ? (e.orderType = f.Mean)
314
+ : o === F.ContinuousPercentile && (e.orderType = f.Median)),
315
+ (e.orderBy = n.orderBy ?? S.Ascending);
316
+ }
317
+ return e;
318
+ }
319
+ function ue(r) {
320
+ let e = !1;
321
+ const i = Array.from(new Set(r.series.map((t) => t.type)));
322
+ return (
323
+ i.length === 2 &&
324
+ i.includes(l.BoxPlotSeries) &&
325
+ i.includes(l.LineSeries) &&
326
+ (e =
327
+ r.series.find((o) => o.type === l.LineSeries)?.query
328
+ ?.outStatistics?.[0] !== void 0),
329
+ e
330
+ );
331
+ }
332
+ function fe(r) {
333
+ const e = s(r);
334
+ if (!B(e.series) && h(r.series) === l.BoxPlotSeries) {
335
+ if (e.orderOptions?.data === void 0) {
336
+ const t = ce(r.series[0]);
337
+ t.orderType !== void 0 &&
338
+ ((e.orderOptions ??= {}),
339
+ (e.orderOptions.data = {
340
+ orderType: t.orderType,
341
+ orderBy: t.orderBy,
342
+ }));
343
+ }
344
+ if (
345
+ ((e.series = r.series.map((t) => {
346
+ const o = t;
347
+ return B(o.x?.trim()) && (o.x = Ze), delete o.query?.orderByFields, o;
348
+ })),
349
+ ue(e))
350
+ ) {
351
+ e.showMean = !0;
352
+ const t = e.series.find((o) => o.type === l.BoxPlotSeries);
353
+ e.series.forEach((o) => {
354
+ o.type === l.LineSeries &&
355
+ (delete o.query?.groupByFieldsForStatistics,
356
+ delete o.query?.outStatistics,
357
+ delete o.query?.orderByFields,
358
+ t && (o.y = t.y));
359
+ });
360
+ }
361
+ e.series = r.series.map((t) => {
362
+ const o = t;
363
+ return delete o.query?.outStatistics, o;
364
+ });
365
+ }
366
+ return e;
367
+ }
368
+ function ye(r) {
369
+ const e = s(r);
370
+ return (
371
+ e.legend !== void 0 &&
372
+ !Number.isFinite(e.legend.maxHeight) &&
373
+ (e.legend.maxHeight = Number.NaN),
374
+ e
375
+ );
376
+ }
377
+ function pe(r) {
378
+ const e = s(r);
379
+ return (
380
+ "dataSource" in e &&
381
+ e.dataSource.layer &&
382
+ ((e.iLayer = e.dataSource.layer), delete e.dataSource),
383
+ e
384
+ );
385
+ }
386
+ function me(r) {
387
+ const e = s(r),
388
+ i = /* @__PURE__ */ new Set(),
389
+ t = e.id ?? "";
390
+ return (
391
+ i.add(t),
392
+ e.series.forEach((o) => {
393
+ let n = o.id;
394
+ i.has(n) && ((n = `${n}_${Date.now()}`), (o.id = n)), i.add(n);
395
+ }),
396
+ e
397
+ );
398
+ }
399
+ async function Se(r) {
400
+ const { configToUpdate: e, layer: i, chartContainer: t } = r;
401
+ let o = s(e);
402
+ if (((o = ne(o)), (o = ae(o)), (o = await de(o, i)), ie(o))) {
403
+ const n = le(o);
404
+ o = fe(n);
405
+ }
406
+ return (
407
+ (o = ye(o)),
408
+ (o = me(o)),
409
+ He(o) && (o = se({ configToUpdate: o, chartContainer: t, layer: i })),
410
+ o
411
+ );
412
+ }
413
+ function ve(r) {
414
+ const e = s(r);
415
+ return (
416
+ e?.orderOptions?.orderByFields !== void 0 &&
417
+ C(r.series) === c.PieFromFields &&
418
+ (e.orderOptions.orderByFields = r?.orderOptions?.orderByFields?.map(
419
+ (i) => {
420
+ let t = s(i);
421
+ return (
422
+ i !== void 0 &&
423
+ i.includes("geoscene_charts_pie_category_from_fields_name") &&
424
+ (t = i.replace(
425
+ "geoscene_charts_pie_category_from_fields_name",
426
+ K
427
+ )),
428
+ t
429
+ );
430
+ }
431
+ )),
432
+ e
433
+ );
434
+ }
435
+ function Be(r) {
436
+ const e = s(r);
437
+ if (
438
+ !B(r.series) &&
439
+ e.axes?.[0] !== void 0 &&
440
+ h(r.series) === l.GaugeSeries &&
441
+ r.axes?.[0] !== void 0
442
+ ) {
443
+ const t = r.axes[0];
444
+ t.ticks !== void 0 &&
445
+ Object.hasOwn(t.ticks, "spacing") &&
446
+ delete t.ticks.spacing,
447
+ (e.axes[0] = t);
448
+ }
449
+ return e;
450
+ }
451
+ function he(r) {
452
+ const e = s(r),
453
+ { extent: i } = e.series[0]?.query ?? {};
454
+ return (
455
+ i !== void 0 &&
456
+ ((e.dataFilters = {
457
+ ...e.dataFilters,
458
+ geometry: i,
459
+ }),
460
+ e.series.forEach((t) => {
461
+ "query" in t && "extent" in t.query && delete t.query.extent;
462
+ })),
463
+ e
464
+ );
465
+ }
466
+ function X(r) {
467
+ const e = s(r);
468
+ return (
469
+ B(r.series) ||
470
+ (ot(r) &&
471
+ r.rotated === void 0 &&
472
+ (e.rotated = r.series[0].rotated ?? Ue()),
473
+ e.series.forEach((i) => {
474
+ i.rotated !== void 0 && delete i.rotated;
475
+ })),
476
+ e
477
+ );
478
+ }
479
+ function ge(r) {
480
+ const e = s(r),
481
+ i = r.dataSource;
482
+ return (
483
+ "dataSource" in e &&
484
+ !B(i) &&
485
+ (i.type === "featureLayer" &&
486
+ e.dataSource !== void 0 &&
487
+ (e.dataSource.type = "layer"),
488
+ "featureLayer" in i &&
489
+ ((e.dataSource.layer = i.featureLayer),
490
+ delete e.dataSource.featureLayer)),
491
+ e
492
+ );
493
+ }
494
+ function be(r) {
495
+ const e = s(r);
496
+ if ("dataSource" in r) {
497
+ const i = r.dataSource;
498
+ if (i.filter !== void 0 && i.filter.trim() !== "") {
499
+ const t = et([i.filter, e.dataFilters?.where]);
500
+ (e.dataFilters = {
501
+ ...e.dataFilters,
502
+ where: t,
503
+ }),
504
+ delete e.dataSource.filter;
505
+ }
506
+ }
507
+ return e;
508
+ }
509
+ function Fe(r) {
510
+ return r !== "originalValue";
511
+ }
512
+ function J(r) {
513
+ let e;
514
+ switch (r) {
515
+ case "mean":
516
+ e = f.Mean;
517
+ break;
518
+ case "median":
519
+ e = f.Median;
520
+ break;
521
+ case "category":
522
+ e = f.Category;
523
+ break;
524
+ }
525
+ return e;
526
+ }
527
+ function xe(r) {
528
+ const e = s(r);
529
+ if (!B(r.series) && h(r.series) === l.PieSeries) {
530
+ const t = e.series[0];
531
+ if (t) {
532
+ if (t.sortLabelsBy === "originalValue") e.sortLabelsBy = t.sortLabelsBy;
533
+ else if (t.sortLabelsBy !== void 0 && e.orderOptions?.data === void 0) {
534
+ const o = w(e);
535
+ o !== void 0 && ((e.orderOptions ??= {}), (e.orderOptions.data = o));
536
+ }
537
+ t.sortLabelsBy && delete t.sortLabelsBy;
538
+ }
539
+ }
540
+ return e;
541
+ }
542
+ function Oe(r) {
543
+ const e = s(r);
544
+ return (
545
+ B(r.series) ||
546
+ (st(r) &&
547
+ r.stackedType === void 0 &&
548
+ (e.stackedType = r.series[0].stackedType ?? tt()),
549
+ e.series.forEach((i) => {
550
+ "stackedType" in i && delete i.stackedType;
551
+ })),
552
+ e
553
+ );
554
+ }
555
+ function Ce(r) {
556
+ const e = s(r),
557
+ i = r.sortOptions?.sortSeriesBy;
558
+ return (
559
+ e.orderOptions === void 0 &&
560
+ typeof i == "string" &&
561
+ ((e.orderOptions ??= {}),
562
+ (e.orderOptions.series = {
563
+ orderBy: i === "DESC" ? S.Descending : S.Ascending,
564
+ })),
565
+ e
566
+ );
567
+ }
568
+ function Te(r) {
569
+ const e = s(r);
570
+ return (
571
+ e.colorMatch === void 0 &&
572
+ e.series[0]?.colorType !== void 0 &&
573
+ (e.colorMatch = e.series[0]?.colorType === nt.Match),
574
+ e.series.forEach((i) => {
575
+ i.colorType !== void 0 && delete i.colorType;
576
+ }),
577
+ e
578
+ );
579
+ }
580
+ function we(r) {
581
+ const e = s(r);
582
+ if (e.sortDataBy !== void 0) {
583
+ if (e.orderOptions?.data === void 0) {
584
+ const i = r.sortDataBy,
585
+ t = J(i?.sortType);
586
+ t &&
587
+ t !== f.MultiAxes &&
588
+ ((e.orderOptions ??= {}),
589
+ (e.orderOptions.data = {
590
+ orderType: t,
591
+ orderBy: i?.sortOrder ?? S.Ascending,
592
+ }));
593
+ }
594
+ delete e.sortDataBy;
595
+ }
596
+ return e;
597
+ }
598
+ function Pe(r) {
599
+ const e = s(r);
600
+ return (
601
+ e.axes?.forEach((i) => {
602
+ i !== void 0 &&
603
+ i.scrollbarVisible !== void 0 &&
604
+ i.scrollbar?.visible === void 0 &&
605
+ ((i.scrollbar = {
606
+ ...i.scrollbar,
607
+ visible: i.scrollbarVisible,
608
+ }),
609
+ delete i.scrollbarVisible);
610
+ }),
611
+ e
612
+ );
613
+ }
614
+ function Le(r) {
615
+ const e = s(r),
616
+ i = e.series[0]?.query?.orderByFields;
617
+ if (
618
+ i !== void 0 &&
619
+ i.length > 0 &&
620
+ e.orderOptions?.orderByFields === void 0
621
+ ) {
622
+ e.orderOptions ??= {};
623
+ let t = !0;
624
+ if (i.length === 1) {
625
+ const { fieldToSort: o, orderBy: n } = T(i[0]);
626
+ let u;
627
+ o === r.series[0].x || o === K
628
+ ? (u = f.Category)
629
+ : "y" in r.series[0] && o === r.series[0].y && (u = f.YValue),
630
+ u &&
631
+ u !== f.MultiAxes &&
632
+ ((t = !1),
633
+ e.orderOptions.data === void 0 &&
634
+ (e.orderOptions.data = {
635
+ orderType: u,
636
+ orderBy: n?.toUpperCase() === "DESC" ? S.Descending : S.Ascending,
637
+ }));
638
+ }
639
+ t && (e.orderOptions.orderByFields = i);
640
+ }
641
+ return (
642
+ e.series.forEach((t) => {
643
+ delete t.query?.orderByFields;
644
+ }),
645
+ e
646
+ );
647
+ }
648
+ function w(r) {
649
+ let e,
650
+ i = r.orderOptions?.orderByFields?.[0];
651
+ if (r.series?.length > 0) {
652
+ const t = h(r.series),
653
+ o = C(r.series);
654
+ if (
655
+ (t !== l.PieSeries &&
656
+ o !== c.BarAndLineFromFields &&
657
+ (i = i ?? r.series[0].x),
658
+ i && !oe(i))
659
+ ) {
660
+ const { fieldToSort: n, orderBy: u } = T(i);
661
+ let v;
662
+ n === r.series[0].x || n === K
663
+ ? (v = f.Category)
664
+ : "y" in r.series[0] && n === r.series[0].y && (v = f.YValue),
665
+ v &&
666
+ v !== f.MultiAxes &&
667
+ (e = {
668
+ orderType: v,
669
+ orderBy: u?.toUpperCase() === "DESC" ? S.Descending : S.Ascending,
670
+ });
671
+ }
672
+ }
673
+ return e;
674
+ }
675
+ function ke(r) {
676
+ const e = s(r),
677
+ i = r,
678
+ t = r,
679
+ o = r,
680
+ n = r,
681
+ u = r;
682
+ if (e) {
683
+ if (
684
+ (e.orderOptions?.series === void 0 &&
685
+ i.sortOptions?.sortSeriesBy !== void 0 &&
686
+ ((e.orderOptions ??= {}),
687
+ (e.orderOptions.series = {
688
+ preferLabel: Fe(
689
+ t.sortLabelsBy ?? i.sortOptions.sortSeriesBy.sortType
690
+ ),
691
+ orderBy: i.sortOptions.sortSeriesBy.sortOrder ?? S.Ascending,
692
+ })),
693
+ t.sortLabelsBy === "originalValue" ||
694
+ n.orderOptions?.data?.preferDataLabel === !1 ||
695
+ u.orderOptions?.data?.preferLabel === !1)
696
+ )
697
+ e.orderOptions?.data && delete e.orderOptions.data;
698
+ else if (e.orderOptions?.data === void 0)
699
+ if (h(e.series) === l.BoxPlotSeries) {
700
+ if (t.sortLabelsBy || o.sortOptions?.sortDataBy !== void 0) {
701
+ const a = J(o.sortOptions?.sortDataBy?.sortType);
702
+ a &&
703
+ a !== f.MultiAxes &&
704
+ ((e.orderOptions ??= {}),
705
+ (e.orderOptions.data = {
706
+ orderType: a,
707
+ orderBy: o.sortOptions?.sortDataBy?.sortOrder ?? S.Ascending,
708
+ }));
709
+ }
710
+ } else {
711
+ const a = w(e);
712
+ a !== void 0 && ((e.orderOptions ??= {}), (e.orderOptions.data = a));
713
+ }
714
+ "sortLabelsBy" in e && delete e.sortLabelsBy,
715
+ "sortOptions" in e && delete e.sortOptions;
716
+ }
717
+ return e;
718
+ }
719
+ function Ae(r) {
720
+ const e = s(r);
721
+ if (e) {
722
+ const i = C(e.series);
723
+ if (
724
+ (i === c.BarAndLineFromFields || i === c.PieFromFields) &&
725
+ e.orderOptions?.data === void 0 &&
726
+ e.orderOptions?.orderByFields !== void 0
727
+ ) {
728
+ const t = w(e);
729
+ t !== void 0 &&
730
+ ((e.orderOptions ??= {}),
731
+ (e.orderOptions.data = t),
732
+ delete e.orderOptions.orderByFields);
733
+ }
734
+ }
735
+ return e;
736
+ }
737
+ function De(r) {
738
+ const e = s(r);
739
+ return (
740
+ e.horizontalAxisLabelsBehavior === P.NONE &&
741
+ (e.horizontalAxisLabelsBehavior = ee.Hide),
742
+ e.verticalAxisLabelsBehavior === P.NONE &&
743
+ (e.verticalAxisLabelsBehavior = ee.Hide),
744
+ e
745
+ );
746
+ }
747
+ function Me(r) {
748
+ const e = s(r),
749
+ i = e.series[0];
750
+ if (
751
+ i &&
752
+ !i.temporalBinning &&
753
+ rt(e.series[0]) &&
754
+ ("timeIntervalSize" in i ||
755
+ "timeIntervalUnits" in i ||
756
+ "timeAggregationType" in i ||
757
+ "trimIncompleteTimeInterval" in i ||
758
+ "nullPolicy" in i)
759
+ ) {
760
+ if (
761
+ ((i.temporalBinning = {}),
762
+ i.timeIntervalSize !== void 0 &&
763
+ ((i.temporalBinning.size = i.timeIntervalSize),
764
+ delete i.timeIntervalSize),
765
+ i.timeIntervalUnits)
766
+ ) {
767
+ let t;
768
+ switch (i.timeIntervalUnits) {
769
+ case "esriTimeUnitsSeconds":
770
+ t = g.Second;
771
+ break;
772
+ case "esriTimeUnitsMinutes":
773
+ t = g.Minute;
774
+ break;
775
+ case "esriTimeUnitsHours":
776
+ t = g.Hour;
777
+ break;
778
+ case "esriTimeUnitsDays":
779
+ t = g.Day;
780
+ break;
781
+ case "esriTimeUnitsWeeks":
782
+ t = g.Week;
783
+ break;
784
+ case "esriTimeUnitsMonths":
785
+ t = g.Month;
786
+ break;
787
+ case "esriTimeUnitsYears":
788
+ t = g.Year;
789
+ break;
790
+ }
791
+ t !== void 0 && (i.temporalBinning.unit = t), delete i.timeIntervalUnits;
792
+ }
793
+ i.timeAggregationType &&
794
+ ((i.temporalBinning.timeAggregationType = i.timeAggregationType),
795
+ delete i.timeAggregationType),
796
+ i.trimIncompleteTimeInterval !== void 0 &&
797
+ ((i.temporalBinning.trimIncompleteTimeInterval =
798
+ i.trimIncompleteTimeInterval),
799
+ delete i.trimIncompleteTimeInterval),
800
+ i.nullPolicy &&
801
+ ((i.temporalBinning.nullPolicy = i.nullPolicy), delete i.nullPolicy);
802
+ }
803
+ return e;
804
+ }
805
+ function We(r) {
806
+ const e = s(r);
807
+ return (
808
+ e.series.forEach((i) => {
809
+ i.query?.outStatistics?.forEach((t) => {
810
+ t.statisticType === "percentile_cont"
811
+ ? (t.statisticType = F.ContinuousPercentile)
812
+ : t.statisticType === "percentile_disc" &&
813
+ (t.statisticType = F.DiscretePercentile);
814
+ });
815
+ }),
816
+ e
817
+ );
818
+ }
819
+ function qe(r) {
820
+ const e = s(r);
821
+ return (
822
+ e.subtitle === void 0 && e.subTitle && (e.subtitle = e.subTitle),
823
+ delete e.subTitle,
824
+ e
825
+ );
826
+ }
827
+ function Ie(r) {
828
+ const e = s(r),
829
+ i = e.series[0];
830
+ return i?.temporalBinning && delete i.temporalBinning?.type, e;
831
+ }
832
+ function Ne(r) {
833
+ const e = s(r),
834
+ i = e.series[0],
835
+ t = r;
836
+ return (
837
+ t.series[0]?.xTemporalBinning &&
838
+ (i.xTemporalBinning = {
839
+ ...t.series[0]?.xTemporalBinning,
840
+ type: l.CalendarDateParts,
841
+ }),
842
+ t.series[0]?.yTemporalBinning &&
843
+ (i.yTemporalBinning = {
844
+ ...t.series[0]?.yTemporalBinning,
845
+ type: l.CalendarDateParts,
846
+ }),
847
+ e
848
+ );
849
+ }
850
+ function Ee(r) {
851
+ let e = s(r);
852
+ return (e = ve(e)), e;
853
+ }
854
+ function L(r) {
855
+ let e = s(r);
856
+ return (e = Be(e)), e;
857
+ }
858
+ function k(r) {
859
+ let e = s(r);
860
+ return (e = he(e)), e;
861
+ }
862
+ function A(r) {
863
+ let e = s(r);
864
+ return (e = X(e)), e;
865
+ }
866
+ function D(r) {
867
+ let e = s(r);
868
+ return (e = ge(e)), e;
869
+ }
870
+ function M(r) {
871
+ let e = s(r);
872
+ return (e = be(e)), e;
873
+ }
874
+ function W(r) {
875
+ let e = s(r);
876
+ return (e = xe(e)), e;
877
+ }
878
+ function q(r) {
879
+ let e = s(r);
880
+ return (e = Ce(e)), e;
881
+ }
882
+ function I(r) {
883
+ let e = s(r);
884
+ return (e = Te(e)), e;
885
+ }
886
+ function N(r) {
887
+ return Pe(r);
888
+ }
889
+ function E(r) {
890
+ let e = s(r);
891
+ return ie(e) && (e = we(e)), e;
892
+ }
893
+ function V(r) {
894
+ return Oe(r);
895
+ }
896
+ function G(r) {
897
+ return ke(r);
898
+ }
899
+ function j(r) {
900
+ return pe(r);
901
+ }
902
+ function _(r) {
903
+ return Ae(r);
904
+ }
905
+ function z(r) {
906
+ return De(r);
907
+ }
908
+ function H(r) {
909
+ return Me(r);
910
+ }
911
+ function $(r) {
912
+ return We(r);
913
+ }
914
+ function R(r) {
915
+ let e = s(r);
916
+ return (e = X(e)), qe(e);
917
+ }
918
+ function Q(r) {
919
+ let e = s(r);
920
+ return (e = Ie(e)), e;
921
+ }
922
+ function Y(r) {
923
+ let e = s(r);
924
+ return (e = Ne(e)), e;
925
+ }
926
+ function Ve(r) {
927
+ const { versionsToConvert: e = [], configToUpdate: i } = r;
928
+ let t = s(i);
929
+ return (
930
+ e.length > 0 &&
931
+ t !== void 0 &&
932
+ ((t = Le(t)),
933
+ e.includes(re) || e.includes($e)
934
+ ? ((t = Ee(t)),
935
+ (t = L(t)),
936
+ (t = k(t)),
937
+ (t = A(t)),
938
+ (t = D(t)),
939
+ (t = M(t)),
940
+ (t = W(t)),
941
+ (t = q(t)),
942
+ (t = I(t)),
943
+ (t = N(t)),
944
+ (t = E(t)),
945
+ (t = V(t)),
946
+ (t = G(t)),
947
+ (t = j(t)),
948
+ (t = _(t)),
949
+ (t = z(t)),
950
+ (t = H(t)),
951
+ (t = $(t)),
952
+ (t = R(t)),
953
+ (t = Q(t)),
954
+ (t = Y(t)))
955
+ : e.forEach((o) => {
956
+ if (t !== void 0)
957
+ switch (o) {
958
+ case "1.0.1":
959
+ t = L(t);
960
+ break;
961
+ case "3.4.0":
962
+ t = k(t);
963
+ break;
964
+ case "4.0.0":
965
+ t = A(t);
966
+ break;
967
+ case "4.0.1":
968
+ t = D(t);
969
+ break;
970
+ case "6.4.0":
971
+ t = M(t);
972
+ break;
973
+ case "7.5.1":
974
+ t = W(t);
975
+ break;
976
+ case "8.0.0":
977
+ t = q(t);
978
+ break;
979
+ case "9.2.0":
980
+ t = I(t);
981
+ break;
982
+ case "9.7.0":
983
+ t = N(t);
984
+ break;
985
+ case "10.0.0":
986
+ t = E(t);
987
+ break;
988
+ case "11.0.0":
989
+ t = V(t);
990
+ break;
991
+ case "14.0.1":
992
+ t = G(t);
993
+ break;
994
+ case "16.0.0":
995
+ t = j(t);
996
+ break;
997
+ case "16.1.0":
998
+ t = _(t);
999
+ break;
1000
+ case "18.1.3":
1001
+ t = z(t);
1002
+ break;
1003
+ case "20.1.0":
1004
+ t = H(t);
1005
+ break;
1006
+ case "21.0.0":
1007
+ t = $(t);
1008
+ break;
1009
+ case "23.2.0":
1010
+ t = R(t);
1011
+ break;
1012
+ case "24.7.0":
1013
+ t = Q(t);
1014
+ break;
1015
+ case "25.0.0":
1016
+ t = Y(t);
1017
+ break;
1018
+ }
1019
+ }),
1020
+ (t.version = Re)),
1021
+ t
1022
+ );
1023
+ }
1024
+ async function pt(r, e, i) {
1025
+ let t = r;
1026
+ if (r) {
1027
+ const o = _e(e);
1028
+ t = await Se({ configToUpdate: r, layer: o, chartContainer: i });
1029
+ const n = r.version ?? re,
1030
+ { versionStatus: u, versions: v } = ze(n);
1031
+ (u === U.Older || u === U.Unrecognized) &&
1032
+ (t = Ve({
1033
+ versionsToConvert: v,
1034
+ configToUpdate: t,
1035
+ }));
1036
+ }
1037
+ return t;
1038
+ }
1039
+ const mt = {
1040
+ adjustAxes: ne,
1041
+ adjustSeries: ae,
1042
+ matchChartFieldsToLayerFields: de,
1043
+ resetLegendMaxHeight: ye,
1044
+ moveSeriesQueryExtent: he,
1045
+ moveSeriesRotatedPropToChart: X,
1046
+ renameDataSourceProperties: ge,
1047
+ copyDataSourceFilterToConfig: be,
1048
+ adjustPieFromFieldsDefaultNameAndValue: ve,
1049
+ removeSpacingPropertyFromGauge: Be,
1050
+ moveBoxPlotSeriesPropsToChart: le,
1051
+ movePieSeriesSortLabelsPropToChart: xe,
1052
+ getProBoxPlotSortDataOption: ce,
1053
+ isBoxPlotConfigWithMeanLinesFromPro: ue,
1054
+ preventDuplicatedIds: me,
1055
+ adjustBoxPlotConfig: fe,
1056
+ convertSortSeriesByToObject: Ce,
1057
+ moveBoxPlotSortDataByProp: we,
1058
+ handleColorMatchChanges: Te,
1059
+ moveScrollbarVisible: Pe,
1060
+ moveSeriesStackedTypePropToChart: Oe,
1061
+ convertBoxplotOldToNewDataSortType: J,
1062
+ getDataOrderFromOrderByFields: w,
1063
+ convertWebChartDataValueTypes: Fe,
1064
+ moveOrConvertSeriesOrderByFieldsToChartOrderOptions: Le,
1065
+ convertWebChartLabelBehaviorNoneToHide: De,
1066
+ handleOrderOptionsChanges: ke,
1067
+ applyDataOrderInstructionForFromFieldsCharts: Ae,
1068
+ convertTemporalBinningProps: Me,
1069
+ convertRESTStatisticTypeToWebChartStatisticType: We,
1070
+ renameChartSubtitle: qe,
1071
+ applyMandatoryConversions: Se,
1072
+ convertTo1x0x1: Ee,
1073
+ convertTo2x0x0: L,
1074
+ convertTo3x5x0: k,
1075
+ convertTo4x0x1: A,
1076
+ convertTo5x0x0: D,
1077
+ convertTo7x0x0: M,
1078
+ convertTo7x6x0: W,
1079
+ convertTo8x0x1: q,
1080
+ convertTo9x3x0: I,
1081
+ convertTo10x0x0: N,
1082
+ convertTo11x0x0: E,
1083
+ convertTo12x0x0: V,
1084
+ convertTo15x0x0: G,
1085
+ convertTo16x1x0: j,
1086
+ convertTo16x1x1: _,
1087
+ convertTo19x0x0: z,
1088
+ convertTo20x2x0: H,
1089
+ convertTo21x1x0: $,
1090
+ convertTo23x3x0: R,
1091
+ convertTo24x8x0: Q,
1092
+ convertTo25x0x0: Y,
1093
+ convertTemporalBinningProps2: Ie,
1094
+ transformPropsInHeatChart: Ne,
1095
+ applyConversions: Ve,
1096
+ convertDataSourceToILayer: pe,
1097
+ applyDefaultFirstDayOfWeek: se,
1098
+ };
1099
+ export { mt as a, pt as c };