@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,2 @@
1
+ import "./index.js";
2
+ export declare const defineCustomElements: import("@geoscene/lumina").DefineCustomElements;
package/dist/loader.js ADDED
@@ -0,0 +1,332 @@
1
+ /* COPYRIGHT GeoScene - https://js.geoscene.cn/5.0/LICENSE.txt */
2
+ import { r as e } from "./chunks/runtime.js";
3
+ import { makeDefineCustomElements as t } from "@geoscene/lumina";
4
+ const i = t(e, {
5
+ "geoscene-chart": [
6
+ () => import("./components/geoscene-chart/customElement.js"),
7
+ "_messages:,actionMode,allowUsingObjectIdStat,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,commonStrings:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableAutoTheming,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection",
8
+ ],
9
+ "geoscene-charts-action-bar": [
10
+ () => import("./components/geoscene-charts-action-bar/customElement.js"),
11
+ "_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle",
12
+ ],
13
+ "geoscene-charts-config-axes": [
14
+ () => import("./components/geoscene-charts-config-axes/customElement.js"),
15
+ "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption",
16
+ ],
17
+ "geoscene-charts-config-axis": [
18
+ () => import("./components/geoscene-charts-config-axis/customElement.js"),
19
+ "axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption",
20
+ ],
21
+ "geoscene-charts-config-bar-chart": [
22
+ () =>
23
+ import("./components/geoscene-charts-config-bar-chart/customElement.js"),
24
+ "calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,timeZone,usePopupTemplateFieldsInfo",
25
+ ],
26
+ "geoscene-charts-config-bar-chart-data": [
27
+ () =>
28
+ import(
29
+ "./components/geoscene-charts-config-bar-chart-data/customElement.js"
30
+ ),
31
+ "layerFieldsInfo:,messageOverrides:,model:,open",
32
+ ],
33
+ "geoscene-charts-config-bar-chart-popover": [
34
+ () =>
35
+ import(
36
+ "./components/geoscene-charts-config-bar-chart-popover/customElement.js"
37
+ ),
38
+ "contentKind,headingTitle,isCustomSortDisabled,isNoAggregationDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition",
39
+ ],
40
+ "geoscene-charts-config-bar-chart-series": [
41
+ () =>
42
+ import(
43
+ "./components/geoscene-charts-config-bar-chart-series/customElement.js"
44
+ ),
45
+ "activeColorMatch,messageOverrides:,model:,popoverPlacement",
46
+ ],
47
+ "geoscene-charts-config-bar-chart-series-popover": [
48
+ () =>
49
+ import(
50
+ "./components/geoscene-charts-config-bar-chart-series-popover/customElement.js"
51
+ ),
52
+ "messageOverrides:,nullCategory:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSeriesIndex;reposition",
53
+ ],
54
+ "geoscene-charts-config-box-plot": [
55
+ () =>
56
+ import("./components/geoscene-charts-config-box-plot/customElement.js"),
57
+ "calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,usePopupTemplateFieldsInfo",
58
+ ],
59
+ "geoscene-charts-config-box-plot-data": [
60
+ () =>
61
+ import(
62
+ "./components/geoscene-charts-config-box-plot-data/customElement.js"
63
+ ),
64
+ "layerFieldsInfo:,messageOverrides:,model:",
65
+ ],
66
+ "geoscene-charts-config-box-plot-popover": [
67
+ () =>
68
+ import(
69
+ "./components/geoscene-charts-config-box-plot-popover/customElement.js"
70
+ ),
71
+ "contentKind,headingTitle,isCustomSortDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition",
72
+ ],
73
+ "geoscene-charts-config-box-plot-series": [
74
+ () =>
75
+ import(
76
+ "./components/geoscene-charts-config-box-plot-series/customElement.js"
77
+ ),
78
+ "activeColorMatch,configSeriesOpen,messageOverrides:,model:,popoverPlacement",
79
+ ],
80
+ "geoscene-charts-config-box-plot-series-popover": [
81
+ () =>
82
+ import(
83
+ "./components/geoscene-charts-config-box-plot-series-popover/customElement.js"
84
+ ),
85
+ "isLineSymbol,labelCanBeConfigured,messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition",
86
+ ],
87
+ "geoscene-charts-config-category-format": [
88
+ () =>
89
+ import(
90
+ "./components/geoscene-charts-config-category-format/customElement.js"
91
+ ),
92
+ "categoryFormat:,messageOverrides:",
93
+ ],
94
+ "geoscene-charts-config-chart-rename-popover": [
95
+ () =>
96
+ import(
97
+ "./components/geoscene-charts-config-chart-rename-popover/customElement.js"
98
+ ),
99
+ "messageOverrides:,name,open,referenceElement:;reposition",
100
+ ],
101
+ "geoscene-charts-config-color-style": [
102
+ () =>
103
+ import(
104
+ "./components/geoscene-charts-config-color-style/customElement.js"
105
+ ),
106
+ "enableClose,header,messageOverrides:,open,selectedColor:",
107
+ ],
108
+ "geoscene-charts-config-colors": [
109
+ () => import("./components/geoscene-charts-config-colors/customElement.js"),
110
+ "heading,messageOverrides:,rgba:",
111
+ ],
112
+ "geoscene-charts-config-create-flow": [
113
+ () =>
114
+ import(
115
+ "./components/geoscene-charts-config-create-flow/customElement.js"
116
+ ),
117
+ "activeLayerId,calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,chartData:,disableEditing,filterBySelection,headerTitle,layerList:,messageOverrides:,modelList:,open,panelNumber,popoverPlacement,r2,selectedChartId,seriesColor:,syncChartsToLayers,timeZone,usePopupTemplateFieldsInfo;setFocus",
118
+ ],
119
+ "geoscene-charts-config-field-select": [
120
+ () =>
121
+ import(
122
+ "./components/geoscene-charts-config-field-select/customElement.js"
123
+ ),
124
+ "disabled,invalid,label",
125
+ ],
126
+ "geoscene-charts-config-font-style": [
127
+ () =>
128
+ import("./components/geoscene-charts-config-font-style/customElement.js"),
129
+ "enableClose,fontStyle:,header,messageOverrides:,open",
130
+ ],
131
+ "geoscene-charts-config-format": [
132
+ () => import("./components/geoscene-charts-config-format/customElement.js"),
133
+ "messageOverrides:,model:",
134
+ ],
135
+ "geoscene-charts-config-format-popover": [
136
+ () =>
137
+ import(
138
+ "./components/geoscene-charts-config-format-popover/customElement.js"
139
+ ),
140
+ "messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition",
141
+ ],
142
+ "geoscene-charts-config-general": [
143
+ () =>
144
+ import("./components/geoscene-charts-config-general/customElement.js"),
145
+ "messageOverrides:,model:,open",
146
+ ],
147
+ "geoscene-charts-config-guide": [
148
+ () => import("./components/geoscene-charts-config-guide/customElement.js"),
149
+ "calculatedMinMaxBounds:,index,latestGuidePosition,messageOverrides:,model:,orientation,timeZone",
150
+ ],
151
+ "geoscene-charts-config-guide-popover": [
152
+ () =>
153
+ import(
154
+ "./components/geoscene-charts-config-guide-popover/customElement.js"
155
+ ),
156
+ "messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition",
157
+ ],
158
+ "geoscene-charts-config-guides": [
159
+ () => import("./components/geoscene-charts-config-guides/customElement.js"),
160
+ "calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone",
161
+ ],
162
+ "geoscene-charts-config-guides-type-popover": [
163
+ () =>
164
+ import(
165
+ "./components/geoscene-charts-config-guides-type-popover/customElement.js"
166
+ ),
167
+ "enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition",
168
+ ],
169
+ "geoscene-charts-config-heat-chart": [
170
+ () =>
171
+ import("./components/geoscene-charts-config-heat-chart/customElement.js"),
172
+ "layer:,model:,page,usePopupTemplateFieldsInfo",
173
+ ],
174
+ "geoscene-charts-config-heat-chart-data": [
175
+ () =>
176
+ import(
177
+ "./components/geoscene-charts-config-heat-chart-data/customElement.js"
178
+ ),
179
+ "layerFieldsInfo:,messageOverrides:,model:,open",
180
+ ],
181
+ "geoscene-charts-config-heat-chart-popover": [
182
+ () =>
183
+ import(
184
+ "./components/geoscene-charts-config-heat-chart-popover/customElement.js"
185
+ ),
186
+ "colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition",
187
+ ],
188
+ "geoscene-charts-config-histogram": [
189
+ () =>
190
+ import("./components/geoscene-charts-config-histogram/customElement.js"),
191
+ "calculatedMinMaxBounds:,chartData:,layer:,model:,page,seriesColor:,usePopupTemplateFieldsInfo",
192
+ ],
193
+ "geoscene-charts-config-histogram-data": [
194
+ () =>
195
+ import(
196
+ "./components/geoscene-charts-config-histogram-data/customElement.js"
197
+ ),
198
+ "countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue",
199
+ ],
200
+ "geoscene-charts-config-histogram-popover": [
201
+ () =>
202
+ import(
203
+ "./components/geoscene-charts-config-histogram-popover/customElement.js"
204
+ ),
205
+ "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition",
206
+ ],
207
+ "geoscene-charts-config-invalid-input-message": [
208
+ () =>
209
+ import(
210
+ "./components/geoscene-charts-config-invalid-input-message/customElement.js"
211
+ ),
212
+ "invalidInputMessage,isInvalid",
213
+ ],
214
+ "geoscene-charts-config-line-chart": [
215
+ () =>
216
+ import("./components/geoscene-charts-config-line-chart/customElement.js"),
217
+ "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,timeZone,usePopupTemplateFieldsInfo",
218
+ ],
219
+ "geoscene-charts-config-line-chart-data": [
220
+ () =>
221
+ import(
222
+ "./components/geoscene-charts-config-line-chart-data/customElement.js"
223
+ ),
224
+ "layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:",
225
+ ],
226
+ "geoscene-charts-config-line-chart-popover": [
227
+ () =>
228
+ import(
229
+ "./components/geoscene-charts-config-line-chart-popover/customElement.js"
230
+ ),
231
+ "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition",
232
+ ],
233
+ "geoscene-charts-config-line-chart-series": [
234
+ () =>
235
+ import(
236
+ "./components/geoscene-charts-config-line-chart-series/customElement.js"
237
+ ),
238
+ "activeColorMatch,messageOverrides:,model:,popoverPlacement",
239
+ ],
240
+ "geoscene-charts-config-line-chart-series-popover": [
241
+ () =>
242
+ import(
243
+ "./components/geoscene-charts-config-line-chart-series-popover/customElement.js"
244
+ ),
245
+ "messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition",
246
+ ],
247
+ "geoscene-charts-config-line-style": [
248
+ () =>
249
+ import("./components/geoscene-charts-config-line-style/customElement.js"),
250
+ "enableClose,header,lineStyle:,messageOverrides:,open,usePanel",
251
+ ],
252
+ "geoscene-charts-config-number-format": [
253
+ () =>
254
+ import(
255
+ "./components/geoscene-charts-config-number-format/customElement.js"
256
+ ),
257
+ "messageOverrides:,numberFormat:",
258
+ ],
259
+ "geoscene-charts-config-pie-chart": [
260
+ () =>
261
+ import("./components/geoscene-charts-config-pie-chart/customElement.js"),
262
+ "calculatedMinMaxBounds:,chartData:,filterBySelection,layer:,model:,page,popoverPlacement,seriesColor:,usePopupTemplateFieldsInfo",
263
+ ],
264
+ "geoscene-charts-config-pie-chart-data": [
265
+ () =>
266
+ import(
267
+ "./components/geoscene-charts-config-pie-chart-data/customElement.js"
268
+ ),
269
+ "layerFieldsInfo:,messageOverrides:,model:",
270
+ ],
271
+ "geoscene-charts-config-pie-chart-popover": [
272
+ () =>
273
+ import(
274
+ "./components/geoscene-charts-config-pie-chart-popover/customElement.js"
275
+ ),
276
+ "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition",
277
+ ],
278
+ "geoscene-charts-config-pie-chart-slices": [
279
+ () =>
280
+ import(
281
+ "./components/geoscene-charts-config-pie-chart-slices/customElement.js"
282
+ ),
283
+ "chartData:,messageOverrides:,model:,popoverPlacement",
284
+ ],
285
+ "geoscene-charts-config-pie-chart-slices-popover": [
286
+ () =>
287
+ import(
288
+ "./components/geoscene-charts-config-pie-chart-slices-popover/customElement.js"
289
+ ),
290
+ "messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSliceId;reposition",
291
+ ],
292
+ "geoscene-charts-config-scatter-plot": [
293
+ () =>
294
+ import(
295
+ "./components/geoscene-charts-config-scatter-plot/customElement.js"
296
+ ),
297
+ "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,r2,usePopupTemplateFieldsInfo",
298
+ ],
299
+ "geoscene-charts-config-scatter-plot-data": [
300
+ () =>
301
+ import(
302
+ "./components/geoscene-charts-config-scatter-plot-data/customElement.js"
303
+ ),
304
+ "isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2",
305
+ ],
306
+ "geoscene-charts-config-scatter-plot-popover": [
307
+ () =>
308
+ import(
309
+ "./components/geoscene-charts-config-scatter-plot-popover/customElement.js"
310
+ ),
311
+ "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition",
312
+ ],
313
+ "geoscene-charts-config-select-chart-type-popover": [
314
+ () =>
315
+ import(
316
+ "./components/geoscene-charts-config-select-chart-type-popover/customElement.js"
317
+ ),
318
+ "headerTitle,layerId,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition",
319
+ ],
320
+ "geoscene-charts-config-view-charts": [
321
+ () =>
322
+ import(
323
+ "./components/geoscene-charts-config-view-charts/customElement.js"
324
+ ),
325
+ "disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId",
326
+ ],
327
+ "geoscene-charts-info-modal": [
328
+ () => import("./components/geoscene-charts-info-modal/customElement.js"),
329
+ "calciteThemeApplied,enableAutoTheming,heading,loaderColors:,message,showErrorModalInfo,showLoader",
330
+ ],
331
+ });
332
+ export { i as defineCustomElements };
@@ -0,0 +1,51 @@
1
+ import type { ModelParams } from "../interfaces/chart-interfaces.js";
2
+ import type { ModelTypes, SerialChartDataSortingKinds } from "../interfaces/common.js";
3
+ import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
4
+ import type { ChartConfig } from "../../utils/types/index.js";
5
+
6
+ export class BarChartModel extends SerialChartModel {
7
+ /**
8
+ * Gets whether to hide oversized data labels of the side-by-side series based on the series index.
9
+ * If the index is out of bounds, it will return `undefined`.
10
+ *
11
+ * @param seriesIndex - The index of the series.
12
+ */
13
+ getSeriesHideOversizedSideBySideLabels(seriesIndex: number): boolean | undefined;
14
+ /**
15
+ * Gets whether to hide oversized stacked labels of the series based on the series index.
16
+ * If the index is out of bounds, it will return `undefined`.
17
+ *
18
+ * @param seriesIndex - The index of the series.
19
+ */
20
+ getSeriesHideOversizedStackedLabels(seriesIndex: number): boolean | undefined;
21
+ /**
22
+ * Gets the sort order for the bar chart.
23
+ *
24
+ * @returns {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"}
25
+ */
26
+ getSortOrder(): SerialChartDataSortingKinds;
27
+ /** Returns whether the series styling is able to be reset. */
28
+ resetAvailable(): boolean;
29
+ /** Resets the series styling to the default styling. */
30
+ resetSeriesStyling(): void;
31
+ /**
32
+ * Sets whether to hide oversized data labels of the side-by-side series based on the series index.
33
+ *
34
+ * @param hide - The value for hiding oversized data labels.
35
+ * @param seriesIndex - The index of the series.
36
+ */
37
+ setSeriesHideOversizedSideBySideLabels(hide: boolean | undefined, seriesIndex: number): void;
38
+ /**
39
+ * Sets whether to hide oversized stacked labels of the series based on the series index.
40
+ *
41
+ * @param hide - The value for hiding oversized stacked labels.
42
+ * @param seriesIndex - The index of the series. When not provided all the series will be updated.
43
+ */
44
+ setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex?: number): void;
45
+ /**
46
+ * Completes the async setup process for the chart model. Must be called before using the model.
47
+ *
48
+ * @param params
49
+ */
50
+ setup(params: ModelParams<ChartConfig<typeof ModelTypes.BarChart>>): Promise<void>;
51
+ }
@@ -0,0 +1,177 @@
1
+ import type { ChartModel } from "../chart-model/chart-model.js";
2
+ import type { ModelParams } from "../interfaces/chart-interfaces.js";
3
+ import type { ModelTypes, BoxPlotDataSortingKinds } from "../interfaces/common.js";
4
+ import type { WithAxisLabelsSymbol } from "../properties/axes/axis-labels-symbol.js";
5
+ import type { WithAxisLinesSymbol } from "../properties/axes/axis-lines-symbol.js";
6
+ import type { WithXBounds } from "../properties/axes/x-axis/x-bounds.js";
7
+ import type { WithXAxisLabelsVisibility } from "../properties/axes/x-axis/x-axis-labels-visibility.js";
8
+ import type { WithXAxisTitleSymbol } from "../properties/axes/x-axis/x-axis-title-symbol.js";
9
+ import type { WithXAxisTitleText } from "../properties/axes/x-axis/x-axis-title-text.js";
10
+ import type { WithXAxisTitleVisibility } from "../properties/axes/x-axis/x-axis-title-visibility.js";
11
+ import type { WithGenerateXAxisTitle } from "../properties/axes/x-axis/generate-x-axis-title.js";
12
+ import type { WithColorMatch } from "../properties/color-match.js";
13
+ import type { WithRotatedState } from "../properties/rotated-state.js";
14
+ import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
15
+ import type { WithDataLabelsSymbol } from "../properties/data-labels/data-labels-symbol.js";
16
+ import type { WebChartDataFilters } from "../../spec/web-chart.js";
17
+ import type { Color } from "../../spec/rest-js-types.js";
18
+ import type { RESTSimpleLineSymbolStyle } from "../../spec/rest-js-object-literals.js";
19
+ import type { ChartConfig } from "../../utils/types/index.js";
20
+ import type { ModelWithMultiAxes } from "../mixins/model-with-multi-axes.js";
21
+ import type { ModelWithLegend } from "../mixins/model-with-legend.js";
22
+ import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
23
+ import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
24
+
25
+ export class BoxPlotModel extends BoxPlotModelSuperclass {
26
+ /**
27
+ * The index of the box plot series in the series array in config object when show mean is true.
28
+ *
29
+ * **Note**: There is only one box plot series when show mean is `true`. The function returns `-1` if show mean is `false`.
30
+ */
31
+ get boxPlotSeriesIndexWhenMeanLinesShown(): number;
32
+ /** The category field for the box plot. */
33
+ accessor category: string;
34
+ /**
35
+ * The color of the boxes when showing mean lines.
36
+ *
37
+ * Only applicable when mean lines are shown.
38
+ */
39
+ accessor meanLinesBoxColor: Color | undefined;
40
+ /** The numeric fields array for the box plot. */
41
+ get numericFields(): string[];
42
+ set numericFields(value: string[] | string);
43
+ /** The list of category values for custom sort. */
44
+ accessor orderByList: string[];
45
+ /** The order of the series array by returning an array of series ids. */
46
+ accessor orderOfSeries: string[];
47
+ /** Whether mean lines are shown. */
48
+ accessor showMeanLines: boolean | undefined;
49
+ /** Whether outliers are shown. */
50
+ accessor showOutliers: boolean;
51
+ /** The split-by field for the box plot. */
52
+ accessor splitByField: string;
53
+ /** Whether values are standardized as z-scores. */
54
+ accessor standardizeValues: boolean;
55
+ /** Generate the proper chart title given the current config. */
56
+ generateChartTitle(): string;
57
+ /** Generate the proper y-axis title given the current config. */
58
+ generateYAxisTitle(): string;
59
+ /** Gets the list of the category values for the chart. */
60
+ getCustomSortValues(): Promise<string[]>;
61
+ /**
62
+ * Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
63
+ *
64
+ * @param seriesIndex - The index of the series.
65
+ */
66
+ getSeriesColor(seriesIndex: number): Color | undefined;
67
+ /**
68
+ * Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
69
+ *
70
+ * **Note**: Only applicable when mean lines are shown.
71
+ *
72
+ * @param seriesIndex - The index of the series.
73
+ */
74
+ getSeriesLineStyle(seriesIndex: number): RESTSimpleLineSymbolStyle | undefined;
75
+ /**
76
+ * Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
77
+ *
78
+ * **Note**: Only applicable when mean lines are shown.
79
+ *
80
+ * @param seriesIndex - The index of the series.
81
+ */
82
+ getSeriesLineWidth(seriesIndex: number): number | undefined;
83
+ /**
84
+ * Gets the name of the series based on the series index. If the index is out of bounds, it will return `undefined`.
85
+ *
86
+ * @param seriesIndex - The index of the series.
87
+ */
88
+ getSeriesName(seriesIndex: number): string | undefined;
89
+ /** Gets the sort order of the box plot data. */
90
+ getSortOrder(): BoxPlotDataSortingKinds;
91
+ /**
92
+ * Move the custom sort values in-place for the order by list in the config.
93
+ *
94
+ * **Note**: This method should be only used when the sort order is set to `BoxPlotDataSortingKinds.customSort`.
95
+ *
96
+ * @param fromIndex - The index to move the custom sort item from.
97
+ * @param toIndex - The index to move the category item to.
98
+ */
99
+ moveCustomSortValuesInOrderByList(fromIndex: number, toIndex: number): void;
100
+ /**
101
+ * Moves a series from one index in the series array to another.
102
+ *
103
+ * @param fromIndex - Index to move the series from.
104
+ * @param toIndex - Index to move the series to.
105
+ */
106
+ moveSeries(fromIndex: number, toIndex: number): void;
107
+ /** Returns whether the series styling is able to be reset. */
108
+ resetAvailable(): boolean;
109
+ /** Resets the config to the default config */
110
+ resetConfig(): void;
111
+ /** Resets the series styling to the default styling. */
112
+ resetSeriesStyling(): void;
113
+ /**
114
+ * Sets the data filter for the box plot.
115
+ *
116
+ * @param newDataFilter - The new data filter.
117
+ * @example
118
+ * ```typescript
119
+ * chartModel.setDataFilters({
120
+ * where: "population > 100000",
121
+ * });
122
+ * ```
123
+ */
124
+ setDataFilters(newDataFilter: WebChartDataFilters | undefined): Promise<void>;
125
+ /**
126
+ * Sets the color of the series based on the series index.
127
+ *
128
+ * @param newColor - The new color for the series.
129
+ * @param seriesIndex - The index of the series.
130
+ * @example
131
+ * ```typescript
132
+ * chartModel.setSeriesColor([100, 100, 100, 255], 1);
133
+ * ```
134
+ */
135
+ setSeriesColor(newColor: Color | undefined, seriesIndex: number): void;
136
+ /**
137
+ * Sets the line style of the series based on the series index.
138
+ *
139
+ * **Note**: Only applicable when mean lines are shown.
140
+ *
141
+ * @param newStyle - The new style for the series.
142
+ * @param seriesIndex - The index of the series.
143
+ */
144
+ setSeriesLineStyle(newStyle: RESTSimpleLineSymbolStyle | undefined, seriesIndex: number): void;
145
+ /**
146
+ * Sets the line width of the series based on the series index.
147
+ *
148
+ * **Note**: Only applicable when mean lines are shown.
149
+ *
150
+ * @param newWidth - The new width for the series.
151
+ * @param seriesIndex - The index of the series.
152
+ */
153
+ setSeriesLineWidth(newWidth: number | undefined, seriesIndex: number): void;
154
+ /**
155
+ * Sets name of the series based on the series index.
156
+ *
157
+ * @param newName - The new name for the series.
158
+ * @param seriesIndex - The index of the series.
159
+ */
160
+ setSeriesName(newName: string, seriesIndex: number): void;
161
+ /**
162
+ * Sets the sort order of the box plot data.
163
+ *
164
+ * @param newSortOrder - The new sort order.
165
+ * @param orderByList - The new list of category's values for custom sort.
166
+ */
167
+ setSortOrder(newSortOrder: BoxPlotDataSortingKinds, orderByList?: string[]): void;
168
+ /**
169
+ * Completes the async setup process for the chart model. Must be called before using the model.
170
+ *
171
+ * @param params
172
+ */
173
+ setup(params: ModelParams<ChartConfig<typeof ModelTypes.BoxPlot>>): Promise<void>;
174
+ /** Updates the series based on the layer filter. */
175
+ updateSeriesFromLayerFilter(): Promise<void>;
176
+ }
177
+ declare const BoxPlotModelSuperclass: typeof ChartModel & typeof WithGenerateXAxisTitle & typeof WithAxisLinesSymbol & typeof WithAxisLabelsSymbol & typeof WithXAxisTitleSymbol & typeof WithXBounds & typeof WithXAxisTitleVisibility & typeof WithXAxisLabelsVisibility & typeof WithXAxisTitleText & typeof ModelWithYGuides & typeof WithDataLabelsSymbol & typeof WithDataLabelsVisibility & typeof WithRotatedState & typeof WithColorMatch & typeof ModelWithTooltips & typeof ModelWithLegend & typeof ModelWithMultiAxes
@@ -0,0 +1,34 @@
1
+ import type { ModelParams } from "../interfaces/chart-interfaces.js";
2
+ import type { ChartModel } from "./chart-model.js";
3
+ import type { ChartConfig } from "../../utils/types/index.js";
4
+ import type { ChartTypes } from "../../utils/misc/index.js";
5
+
6
+ export abstract class ChartModelBase extends EventTarget {
7
+ constructor(...args: any[]);
8
+ /**
9
+ * Promise that resolves when the setup process is complete.
10
+ *
11
+ * **Note:** This promise does not need to be awaited if the `setup` method has already been awaited. It is simply provided as a way to await the setup process from other functions if needed to avoid race conditions.
12
+ */
13
+ asyncUpdatesPromise: Promise<void>;
14
+ /** The chart type. */
15
+ get chartType(): ChartTypes;
16
+ /** Data store object that can be used to store any data needed for the chart. */
17
+ dataStore: any;
18
+ /** Generate the proper chart title from the current config. */
19
+ abstract generateChartTitle(): string;
20
+ /**
21
+ * Checks if the current chart model is for the same chart as another chart model.
22
+ *
23
+ * @param otherModel - The other chart model to compare to.
24
+ */
25
+ isSameChartAs(otherModel: ChartModel | undefined): boolean;
26
+ /**
27
+ * Completes the async setup process for the chart model. Must be called before using the model.
28
+ *
29
+ * @param params - The parameters to be used to set up the chart model.
30
+ */
31
+ abstract setup(params: ModelParams<ChartConfig>): Promise<void>;
32
+ /** Can be awaited to allow any pending async updates to complete. */
33
+ update(): Promise<void>;
34
+ }
@@ -0,0 +1,28 @@
1
+ import type { WithTitleText } from "../properties/title/title-text.js";
2
+ import type { WithTitleSymbol } from "../properties/title/title-symbol.js";
3
+ import type { ChartModelBase } from "./chart-model-base.js";
4
+ import type { WithConfig } from "../properties/config.js";
5
+ import type { WithLayer } from "../properties/layer.js";
6
+ import type { WithChartId } from "../properties/chart-id.js";
7
+ import type { WithVersion } from "../properties/version.js";
8
+ import type { WithSubtitleText } from "../properties/subtitle/subtitle-text.js";
9
+ import type { WithSubtitleSymbol } from "../properties/subtitle/subtitle-symbol.js";
10
+ import type { WithDescriptionText } from "../properties/description/description-text.js";
11
+ import type { WithDescriptionSymbol } from "../properties/description/description-symbol.js";
12
+ import type { WithChartTitleVisibility } from "../properties/title/title-visibility.js";
13
+ import type { WithChartSubtitleVisibility } from "../properties/subtitle/subtitle-visibility.js";
14
+ import type { WithDescriptionVisibility } from "../properties/description/description-visibility.js";
15
+ import type { WithChartRenderer } from "../properties/chart-renderer.js";
16
+ import type { WithBackgroundColor } from "../properties/background-color.js";
17
+ import type { WithSeriesVisibility } from "../properties/series/series-visibility.js";
18
+ import type { WithSeriesId } from "../properties/series/series-id.js";
19
+ import type { WithSeriesIndex } from "../properties/series/series-index.js";
20
+ import type { WithSeriesLength } from "../properties/series/series-length.js";
21
+ import type { WithChartSubType } from "../properties/chart-sub-type.js";
22
+ import type { WithSeriesDataTooltipValueFormat } from "../properties/data-tooltip-value-format.js";
23
+ import type { WithFetchNULLValues } from "../properties/fetch-null-values.js";
24
+ import type { WithSplitByValues } from "../properties/split-by-values.js";
25
+ import type { WithDataFilters } from "../properties/data-filters.js";
26
+
27
+ export abstract class ChartModel extends ChartModelSuperclass {}
28
+ declare const ChartModelSuperclass: typeof ChartModelBase & typeof WithDataFilters & typeof WithSplitByValues & typeof WithFetchNULLValues & typeof WithSeriesDataTooltipValueFormat & typeof WithChartSubType & typeof WithSeriesLength & typeof WithSeriesIndex & typeof WithSeriesId & typeof WithSeriesVisibility & typeof WithBackgroundColor & typeof WithChartRenderer & typeof WithDescriptionVisibility & typeof WithChartSubtitleVisibility & typeof WithChartTitleVisibility & typeof WithDescriptionSymbol & typeof WithDescriptionText & typeof WithSubtitleSymbol & typeof WithSubtitleText & typeof WithVersion & typeof WithTitleSymbol & typeof WithTitleText & typeof WithChartId & typeof WithLayer & typeof WithConfig
@@ -0,0 +1,10 @@
1
+ import type { ChartConfig } from "../../../utils/types/index.js";
2
+ import type { ModelTypes } from "../../interfaces/common.js";
3
+
4
+ /** Payload for model config change event. */
5
+ export type ModelConfigChangePayload<T extends ModelTypes = ModelTypes> = {
6
+ /** Name of the setter (either prop or method) which triggered the change. */
7
+ setterName: string;
8
+ /** New chart config. */
9
+ config: ChartConfig<T>;
10
+ };