@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.
- package/LICENSE.md +18 -0
- package/README.md +15 -0
- package/dist/cdn/27RSUS44.js +499 -0
- package/dist/cdn/2ABIWUBP.js +168 -0
- package/dist/cdn/2FLUZ2DU.js +44 -0
- package/dist/cdn/2H7DJUUG.js +217 -0
- package/dist/cdn/2UIJDI4B.js +110 -0
- package/dist/cdn/2WSVTAF5.js +155 -0
- package/dist/cdn/2ZYMR3QH.js +469 -0
- package/dist/cdn/346SLSRB.js +117 -0
- package/dist/cdn/34GIQYIH.js +1000 -0
- package/dist/cdn/3DEMDCI6.js +176 -0
- package/dist/cdn/3PHU76K7.js +162 -0
- package/dist/cdn/3RSCQLEZ.js +376 -0
- package/dist/cdn/3SM7FV35.js +217 -0
- package/dist/cdn/3SYE47CU.js +157 -0
- package/dist/cdn/42A4L2UB.js +209 -0
- package/dist/cdn/43OZVJ43.js +10 -0
- package/dist/cdn/45AJBAFE.js +480 -0
- package/dist/cdn/4B3QBH5T.js +2440 -0
- package/dist/cdn/4HJDWMQ2.js +255 -0
- package/dist/cdn/4UCPYNHM.js +217 -0
- package/dist/cdn/4ZN5TLRY.js +206 -0
- package/dist/cdn/53MWUIM5.js +208 -0
- package/dist/cdn/5752NFTR.js +228 -0
- package/dist/cdn/5AWSZZXY.js +165 -0
- package/dist/cdn/5FBGXF7O.js +508 -0
- package/dist/cdn/5FW4PWIO.js +217 -0
- package/dist/cdn/5RNNVK4R.js +161 -0
- package/dist/cdn/6NZDPYGF.js +187 -0
- package/dist/cdn/6PBHDFIO.js +209 -0
- package/dist/cdn/7I5Y5NSS.js +82 -0
- package/dist/cdn/7IUSVOKT.js +119 -0
- package/dist/cdn/7XITED6J.js +216 -0
- package/dist/cdn/A6QBN7CC.js +45 -0
- package/dist/cdn/A7YNU2NS.js +34090 -0
- package/dist/cdn/AENRD2JF.js +174 -0
- package/dist/cdn/AHWBG4EN.js +170 -0
- package/dist/cdn/AQMOKQMS.js +97 -0
- package/dist/cdn/AULQDYOE.js +286 -0
- package/dist/cdn/BB25YSSU.js +273 -0
- package/dist/cdn/BBHUZEFF.js +217 -0
- package/dist/cdn/BY6OCNJ5.js +203 -0
- package/dist/cdn/BZA7GDEH.js +281 -0
- package/dist/cdn/CCRQK5DN.js +377 -0
- package/dist/cdn/CFQFRB3N.js +154 -0
- package/dist/cdn/CUT7ZZEN.js +211 -0
- package/dist/cdn/D24YASGK.js +241 -0
- package/dist/cdn/D4XT7ZCD.js +78 -0
- package/dist/cdn/D57WSEYW.js +65954 -0
- package/dist/cdn/D7VH5WCI.js +97 -0
- package/dist/cdn/DKENL7TV.js +72 -0
- package/dist/cdn/DP4BNWU2.js +442 -0
- package/dist/cdn/DPJE33GY.js +111 -0
- package/dist/cdn/DPXJFQDJ.js +34 -0
- package/dist/cdn/DVTRF3NE.js +498 -0
- package/dist/cdn/ED7V65WK.js +471 -0
- package/dist/cdn/EEARIV73.js +211 -0
- package/dist/cdn/EI4BBWXF.js +365 -0
- package/dist/cdn/EKW43NKP.js +211 -0
- package/dist/cdn/EKZC6UDI.js +219 -0
- package/dist/cdn/EQYSD2NX.js +217 -0
- package/dist/cdn/F335AJAZ.js +220 -0
- package/dist/cdn/FEJD2JHY.js +15 -0
- package/dist/cdn/FHOCRXYD.js +116 -0
- package/dist/cdn/FKGSMYFL.js +414 -0
- package/dist/cdn/FL37YOHH.js +217 -0
- package/dist/cdn/FPSTP5OC.js +392 -0
- package/dist/cdn/FVY5LUI2.js +157 -0
- package/dist/cdn/FWWJZ3MJ.js +209 -0
- package/dist/cdn/FZD6CNIZ.js +399 -0
- package/dist/cdn/G4MCRK6N.js +162 -0
- package/dist/cdn/GTW3ZY2Z.js +159 -0
- package/dist/cdn/GWOR7UVC.js +124624 -0
- package/dist/cdn/HAGP76HP.js +16 -0
- package/dist/cdn/HB4IRXAE.js +72 -0
- package/dist/cdn/HM3YITGN.js +217 -0
- package/dist/cdn/HOC24MW7.js +151 -0
- package/dist/cdn/HZC3QJTN.js +105 -0
- package/dist/cdn/IARNAL5N.js +14375 -0
- package/dist/cdn/IER7B77G.js +209 -0
- package/dist/cdn/IHRGRUHQ.js +130 -0
- package/dist/cdn/IJKPLGK6.js +141 -0
- package/dist/cdn/IJUDK7C2.js +209 -0
- package/dist/cdn/IMTYQFPL.js +36 -0
- package/dist/cdn/ISWZQ6CS.js +1163 -0
- package/dist/cdn/IUTE24ZY.js +13 -0
- package/dist/cdn/IYO5SQDL.js +99 -0
- package/dist/cdn/J436GCGB.js +217 -0
- package/dist/cdn/J7TZPMJS.js +55 -0
- package/dist/cdn/JADN2A6V.js +209 -0
- package/dist/cdn/JGALBLLO.js +30326 -0
- package/dist/cdn/JP64Q3GB.js +209 -0
- package/dist/cdn/JRIDQN35.js +215 -0
- package/dist/cdn/JRXMYWDW.js +135 -0
- package/dist/cdn/JS32MHPQ.js +217 -0
- package/dist/cdn/K3EUYISB.js +217 -0
- package/dist/cdn/K7DZU3S3.js +209 -0
- package/dist/cdn/KB7UF3HK.js +89 -0
- package/dist/cdn/KJHME2ZX.js +31 -0
- package/dist/cdn/KM2WGERQ.js +625 -0
- package/dist/cdn/KP4ZXQIA.js +104 -0
- package/dist/cdn/KPQTJ2HD.js +642 -0
- package/dist/cdn/KPZUTGHH.js +630 -0
- package/dist/cdn/KRZ433BT.js +2106 -0
- package/dist/cdn/KUVOINJC.js +81 -0
- package/dist/cdn/KYALHV7T.js +209 -0
- package/dist/cdn/KZCTMPJT.js +209 -0
- package/dist/cdn/L2JT5DRD.js +706 -0
- package/dist/cdn/LCDVPNSE.js +13 -0
- package/dist/cdn/LMCXUA7Q.js +10 -0
- package/dist/cdn/LN5565XO.js +52 -0
- package/dist/cdn/LZPEOYIX.js +98 -0
- package/dist/cdn/ML4GGRP6.js +570 -0
- package/dist/cdn/MMTB6DEH.js +209 -0
- package/dist/cdn/MSXA6BCJ.js +207 -0
- package/dist/cdn/NII7T2C6.js +179 -0
- package/dist/cdn/NKG4FLLR.js +165 -0
- package/dist/cdn/NSSG3EFV.js +48 -0
- package/dist/cdn/OBMBMKLH.js +327 -0
- package/dist/cdn/OIKTWYMH.js +157 -0
- package/dist/cdn/OR4HXHSY.js +41 -0
- package/dist/cdn/P4UNBBUE.js +82 -0
- package/dist/cdn/P5SSZWMH.js +309 -0
- package/dist/cdn/P6IDPIZS.js +211 -0
- package/dist/cdn/P7VOZE67.js +296 -0
- package/dist/cdn/PJRXBEGZ.js +178 -0
- package/dist/cdn/PNEIQAP5.js +217 -0
- package/dist/cdn/PWVXLHJ5.js +217 -0
- package/dist/cdn/QB7LODVK.js +684 -0
- package/dist/cdn/QEF5BUC3.js +10 -0
- package/dist/cdn/QFD6CUH6.js +30326 -0
- package/dist/cdn/QH6BI7FG.js +217 -0
- package/dist/cdn/QOI7NT7O.js +219 -0
- package/dist/cdn/QWWC6FN5.js +536 -0
- package/dist/cdn/QXU67LZR.js +155 -0
- package/dist/cdn/QYYAUYYC.js +112 -0
- package/dist/cdn/R6TDL23L.js +209 -0
- package/dist/cdn/RF5DZ4IV.js +191 -0
- package/dist/cdn/S4AW3T6V.js +224 -0
- package/dist/cdn/S565TLQY.js +196 -0
- package/dist/cdn/SMF5WZQN.js +209 -0
- package/dist/cdn/SON2ID5T.js +219 -0
- package/dist/cdn/SQV437VB.js +215 -0
- package/dist/cdn/T27VVYVB.js +157 -0
- package/dist/cdn/TAAITYOS.js +198 -0
- package/dist/cdn/TABYE4TB.js +217 -0
- package/dist/cdn/TB7WEW23.js +209 -0
- package/dist/cdn/TJ5UK25V.js +9 -0
- package/dist/cdn/TJ65PNGP.js +165 -0
- package/dist/cdn/TMANAKTG.js +591 -0
- package/dist/cdn/U4PUZ7GN.js +162 -0
- package/dist/cdn/U7SAWP3S.js +209 -0
- package/dist/cdn/UCCVQZDR.js +9 -0
- package/dist/cdn/UG7LOBJE.js +85 -0
- package/dist/cdn/UKOVO7VE.js +186 -0
- package/dist/cdn/ULFF36NB.js +178 -0
- package/dist/cdn/UNHONDOG.js +31 -0
- package/dist/cdn/UPIJ2RYA.js +219 -0
- package/dist/cdn/UTRIB3ZD.js +162 -0
- package/dist/cdn/V2OPADQU.js +696 -0
- package/dist/cdn/V3CSEWPF.js +487 -0
- package/dist/cdn/VAB3BCTX.js +133 -0
- package/dist/cdn/VE5YTXK3.js +226 -0
- package/dist/cdn/VGRQ5KGN.js +13 -0
- package/dist/cdn/VGRXIFGH.js +473 -0
- package/dist/cdn/VPNOON73.js +6242 -0
- package/dist/cdn/VQMZEOOE.js +711 -0
- package/dist/cdn/VTOYBMVV.js +230 -0
- package/dist/cdn/W2ZT3M5X.js +477 -0
- package/dist/cdn/WKARMQOX.js +416 -0
- package/dist/cdn/WSH74NNB.js +184 -0
- package/dist/cdn/X2UNNQPA.js +209 -0
- package/dist/cdn/X5VZ6AC5.js +209 -0
- package/dist/cdn/XFRW44O2.js +209 -0
- package/dist/cdn/XLDY6CTA.js +142 -0
- package/dist/cdn/XNEK46GJ.js +230 -0
- package/dist/cdn/XOBTD5MM.js +371 -0
- package/dist/cdn/XQXY7DRO.js +268 -0
- package/dist/cdn/XZG6TRNQ.js +163 -0
- package/dist/cdn/XZQIXM6A.js +157 -0
- package/dist/cdn/Y56PEINI.js +217 -0
- package/dist/cdn/Y5VXYUPT.js +217 -0
- package/dist/cdn/YEXVZE6D.js +173 -0
- package/dist/cdn/YIZBXVJZ.js +493 -0
- package/dist/cdn/YOQQ22ZG.js +209 -0
- package/dist/cdn/YYJQDF23.js +35 -0
- package/dist/cdn/Z7HL2BUP.js +283 -0
- package/dist/cdn/ZAGKTJNS.js +209 -0
- package/dist/cdn/ZBU6PQPJ.js +340 -0
- package/dist/cdn/ZEG4LDOE.js +198 -0
- package/dist/cdn/ZEPS5UGU.js +238 -0
- package/dist/cdn/ZLQXY2BV.js +35 -0
- package/dist/cdn/ZLRKGGOO.js +1414 -0
- package/dist/cdn/ZQY74JM4.js +135 -0
- package/dist/cdn/ZTNIHU2P.js +137 -0
- package/dist/cdn/assets/chart/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-axes/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-axis/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-series-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-series/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-series-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-category-format/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-chart-rename-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-color-style/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-colors/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-font-style/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-format/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-format-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-general/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guide/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guide-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guides/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guides-type-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-histogram-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-histogram-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-series/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-series-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-number-format/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-slices/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-slices-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/styles/_common.scss +257 -0
- package/dist/cdn/assets/styles/_layout.scss +10 -0
- package/dist/cdn/assets/styles/resources.ts +7 -0
- package/dist/cdn/assets/styles/variables.scss +41 -0
- package/dist/cdn/index.js +256 -0
- package/dist/cdn/main.css +1 -0
- package/dist/chart-rendering/common/interfaces.d.ts +367 -0
- package/dist/chunks/action-bar-utils.js +206 -0
- package/dist/chunks/axis-lines-symbol.js +98 -0
- package/dist/chunks/axis-model-wrapper.js +37 -0
- package/dist/chunks/bar-chart-model.js +150 -0
- package/dist/chunks/bar-chart-series.js +41 -0
- package/dist/chunks/bg_BG.js +8 -0
- package/dist/chunks/bg_BG2.js +8 -0
- package/dist/chunks/box-plot-data.js +757 -0
- package/dist/chunks/box-plot-model.js +473 -0
- package/dist/chunks/chart-model.js +595 -0
- package/dist/chunks/chart-ui-utils.js +93 -0
- package/dist/chunks/chart-ui-utils2.js +232 -0
- package/dist/chunks/class-breaks.js +370 -0
- package/dist/chunks/combo-bar-line-chart-model.js +299 -0
- package/dist/chunks/common.js +106 -0
- package/dist/chunks/data-labels-symbol.js +42 -0
- package/dist/chunks/data.js +195 -0
- package/dist/chunks/default.js +16 -0
- package/dist/chunks/gauge-model.js +489 -0
- package/dist/chunks/generate-x-axis-title.js +98 -0
- package/dist/chunks/heat-chart-model.js +483 -0
- package/dist/chunks/histogram-data.js +196 -0
- package/dist/chunks/histogram-model.js +228 -0
- package/dist/chunks/index.js +23574 -0
- package/dist/chunks/index2.js +1099 -0
- package/dist/chunks/index3.js +279 -0
- package/dist/chunks/index4.js +98 -0
- package/dist/chunks/index5.js +76 -0
- package/dist/chunks/interfaces.js +123 -0
- package/dist/chunks/line-chart-model.js +134 -0
- package/dist/chunks/model-setter.js +162 -0
- package/dist/chunks/model-with-guides.js +330 -0
- package/dist/chunks/model-with-line-marker-styling.js +178 -0
- package/dist/chunks/model-with-tooltips.js +318 -0
- package/dist/chunks/model-with-x-guides.js +45 -0
- package/dist/chunks/model-with-y-guides.js +656 -0
- package/dist/chunks/negative-values-stacked-to-baseline.js +157 -0
- package/dist/chunks/pie-chart-data.js +473 -0
- package/dist/chunks/pie-chart-model.js +884 -0
- package/dist/chunks/popover-ui-utils.js +15 -0
- package/dist/chunks/radar-chart-model.js +157 -0
- package/dist/chunks/resource.js +14 -0
- package/dist/chunks/resources.js +13 -0
- package/dist/chunks/rest-js-object-literals.js +112 -0
- package/dist/chunks/rotated-state.js +54 -0
- package/dist/chunks/runtime.js +19 -0
- package/dist/chunks/scatterplot-model.js +350 -0
- package/dist/chunks/serial-chart-data.js +1446 -0
- package/dist/chunks/serial-chart-model.js +587 -0
- package/dist/chunks/series-length.js +81 -0
- package/dist/chunks/series-types.js +249 -0
- package/dist/chunks/series.js +36 -0
- package/dist/chunks/setup-utils.js +87 -0
- package/dist/chunks/sk_SK.js +8 -0
- package/dist/chunks/store.js +35 -0
- package/dist/chunks/type-guards.js +156 -0
- package/dist/chunks/useT9n.js +5 -0
- package/dist/chunks/utils.js +308 -0
- package/dist/chunks/utils2.js +85 -0
- package/dist/chunks/web-component-utils.js +634 -0
- package/dist/components/geoscene-chart/customElement.d.ts +1551 -0
- package/dist/components/geoscene-chart/customElement.js +27412 -0
- package/dist/components/geoscene-chart/index.d.ts +1 -0
- package/dist/components/geoscene-chart/index.js +3 -0
- package/dist/components/geoscene-charts-action-bar/customElement.d.ts +813 -0
- package/dist/components/geoscene-charts-action-bar/customElement.js +500 -0
- package/dist/components/geoscene-charts-action-bar/index.d.ts +1 -0
- package/dist/components/geoscene-charts-action-bar/index.js +7 -0
- package/dist/components/geoscene-charts-config-axes/customElement.js +72 -0
- package/dist/components/geoscene-charts-config-axes/index.js +2 -0
- package/dist/components/geoscene-charts-config-axis/customElement.js +382 -0
- package/dist/components/geoscene-charts-config-axis/index.js +9 -0
- package/dist/components/geoscene-charts-config-bar-chart/customElement.js +165 -0
- package/dist/components/geoscene-charts-config-bar-chart/index.js +7 -0
- package/dist/components/geoscene-charts-config-bar-chart-data/customElement.js +644 -0
- package/dist/components/geoscene-charts-config-bar-chart-data/index.js +12 -0
- package/dist/components/geoscene-charts-config-bar-chart-popover/customElement.js +454 -0
- package/dist/components/geoscene-charts-config-bar-chart-popover/index.js +13 -0
- package/dist/components/geoscene-charts-config-bar-chart-series/customElement.js +341 -0
- package/dist/components/geoscene-charts-config-bar-chart-series/index.js +7 -0
- package/dist/components/geoscene-charts-config-bar-chart-series-popover/customElement.js +125 -0
- package/dist/components/geoscene-charts-config-bar-chart-series-popover/index.js +6 -0
- package/dist/components/geoscene-charts-config-box-plot/customElement.js +160 -0
- package/dist/components/geoscene-charts-config-box-plot/index.js +7 -0
- package/dist/components/geoscene-charts-config-box-plot-data/customElement.js +456 -0
- package/dist/components/geoscene-charts-config-box-plot-data/index.js +10 -0
- package/dist/components/geoscene-charts-config-box-plot-popover/customElement.js +343 -0
- package/dist/components/geoscene-charts-config-box-plot-popover/index.js +8 -0
- package/dist/components/geoscene-charts-config-box-plot-series/customElement.js +394 -0
- package/dist/components/geoscene-charts-config-box-plot-series/index.js +7 -0
- package/dist/components/geoscene-charts-config-box-plot-series-popover/customElement.js +163 -0
- package/dist/components/geoscene-charts-config-box-plot-series-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-category-format/customElement.js +87 -0
- package/dist/components/geoscene-charts-config-category-format/index.js +3 -0
- package/dist/components/geoscene-charts-config-chart-rename-popover/customElement.js +143 -0
- package/dist/components/geoscene-charts-config-chart-rename-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-color-style/customElement.js +58 -0
- package/dist/components/geoscene-charts-config-color-style/index.js +3 -0
- package/dist/components/geoscene-charts-config-colors/customElement.js +73 -0
- package/dist/components/geoscene-charts-config-colors/index.js +3 -0
- package/dist/components/geoscene-charts-config-create-flow/customElement.js +929 -0
- package/dist/components/geoscene-charts-config-create-flow/index.js +15 -0
- package/dist/components/geoscene-charts-config-field-select/customElement.js +37 -0
- package/dist/components/geoscene-charts-config-field-select/index.js +2 -0
- package/dist/components/geoscene-charts-config-font-style/customElement.js +226 -0
- package/dist/components/geoscene-charts-config-font-style/index.js +9 -0
- package/dist/components/geoscene-charts-config-font-style/resource.d.ts +15 -0
- package/dist/components/geoscene-charts-config-format/customElement.js +485 -0
- package/dist/components/geoscene-charts-config-format/index.js +5 -0
- package/dist/components/geoscene-charts-config-format-popover/customElement.js +113 -0
- package/dist/components/geoscene-charts-config-format-popover/index.js +5 -0
- package/dist/components/geoscene-charts-config-general/customElement.js +328 -0
- package/dist/components/geoscene-charts-config-general/index.js +9 -0
- package/dist/components/geoscene-charts-config-guide/customElement.js +487 -0
- package/dist/components/geoscene-charts-config-guide/index.js +14 -0
- package/dist/components/geoscene-charts-config-guide/resource.d.ts +15 -0
- package/dist/components/geoscene-charts-config-guide-popover/customElement.js +111 -0
- package/dist/components/geoscene-charts-config-guide-popover/index.js +4 -0
- package/dist/components/geoscene-charts-config-guides/customElement.js +194 -0
- package/dist/components/geoscene-charts-config-guides/index.js +4 -0
- package/dist/components/geoscene-charts-config-guides-type-popover/customElement.js +100 -0
- package/dist/components/geoscene-charts-config-guides-type-popover/index.js +4 -0
- package/dist/components/geoscene-charts-config-heat-chart/customElement.js +114 -0
- package/dist/components/geoscene-charts-config-heat-chart/index.js +4 -0
- package/dist/components/geoscene-charts-config-heat-chart-data/customElement.js +701 -0
- package/dist/components/geoscene-charts-config-heat-chart-data/index.js +18 -0
- package/dist/components/geoscene-charts-config-heat-chart-popover/customElement.js +499 -0
- package/dist/components/geoscene-charts-config-heat-chart-popover/index.js +12 -0
- package/dist/components/geoscene-charts-config-histogram/customElement.js +137 -0
- package/dist/components/geoscene-charts-config-histogram/index.js +6 -0
- package/dist/components/geoscene-charts-config-histogram-data/customElement.js +612 -0
- package/dist/components/geoscene-charts-config-histogram-data/index.js +11 -0
- package/dist/components/geoscene-charts-config-histogram-popover/customElement.js +255 -0
- package/dist/components/geoscene-charts-config-histogram-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-invalid-input-message/customElement.js +31 -0
- package/dist/components/geoscene-charts-config-invalid-input-message/index.js +2 -0
- package/dist/components/geoscene-charts-config-line-chart/customElement.js +169 -0
- package/dist/components/geoscene-charts-config-line-chart/index.js +7 -0
- package/dist/components/geoscene-charts-config-line-chart-data/customElement.js +444 -0
- package/dist/components/geoscene-charts-config-line-chart-data/index.js +12 -0
- package/dist/components/geoscene-charts-config-line-chart-popover/customElement.js +357 -0
- package/dist/components/geoscene-charts-config-line-chart-popover/index.js +11 -0
- package/dist/components/geoscene-charts-config-line-chart-series/customElement.js +245 -0
- package/dist/components/geoscene-charts-config-line-chart-series/index.js +7 -0
- package/dist/components/geoscene-charts-config-line-chart-series-popover/customElement.js +216 -0
- package/dist/components/geoscene-charts-config-line-chart-series-popover/index.js +10 -0
- package/dist/components/geoscene-charts-config-line-style/customElement.js +159 -0
- package/dist/components/geoscene-charts-config-line-style/index.js +9 -0
- package/dist/components/geoscene-charts-config-number-format/customElement.js +102 -0
- package/dist/components/geoscene-charts-config-number-format/index.js +4 -0
- package/dist/components/geoscene-charts-config-pie-chart/customElement.js +164 -0
- package/dist/components/geoscene-charts-config-pie-chart/index.js +5 -0
- package/dist/components/geoscene-charts-config-pie-chart-data/customElement.js +258 -0
- package/dist/components/geoscene-charts-config-pie-chart-data/index.js +8 -0
- package/dist/components/geoscene-charts-config-pie-chart-popover/customElement.js +300 -0
- package/dist/components/geoscene-charts-config-pie-chart-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices/customElement.js +454 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices/index.js +12 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices-popover/customElement.js +126 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices-popover/index.js +6 -0
- package/dist/components/geoscene-charts-config-scatter-plot/customElement.js +132 -0
- package/dist/components/geoscene-charts-config-scatter-plot/index.js +6 -0
- package/dist/components/geoscene-charts-config-scatter-plot-data/customElement.js +616 -0
- package/dist/components/geoscene-charts-config-scatter-plot-data/index.js +12 -0
- package/dist/components/geoscene-charts-config-scatter-plot-popover/customElement.js +198 -0
- package/dist/components/geoscene-charts-config-scatter-plot-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-select-chart-type-popover/customElement.js +148 -0
- package/dist/components/geoscene-charts-config-select-chart-type-popover/index.js +6 -0
- package/dist/components/geoscene-charts-config-view-charts/customElement.js +289 -0
- package/dist/components/geoscene-charts-config-view-charts/index.js +10 -0
- package/dist/components/geoscene-charts-info-modal/customElement.js +101 -0
- package/dist/components/geoscene-charts-info-modal/index.js +2 -0
- package/dist/docs/api.json +87068 -0
- package/dist/docs/docs.json +3082 -0
- package/dist/docs/vscode.css-custom-data.json +1 -0
- package/dist/docs/vscode.html-custom-data.json +519 -0
- package/dist/docs/web-types.json +1282 -0
- package/dist/index.d.ts +92 -0
- package/dist/index.js +812 -0
- package/dist/interfaces.d.ts +203 -0
- package/dist/json-schema/index.d.ts +8488 -0
- package/dist/loader.d.ts +2 -0
- package/dist/loader.js +332 -0
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +51 -0
- package/dist/model/box-plot-model/box-plot-model.d.ts +177 -0
- package/dist/model/chart-model/chart-model-base.d.ts +34 -0
- package/dist/model/chart-model/chart-model.d.ts +28 -0
- package/dist/model/chart-model/utils/types.d.ts +10 -0
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +189 -0
- package/dist/model/gauge-model/gauge-model.d.ts +103 -0
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +224 -0
- package/dist/model/histogram-model/histogram-model.d.ts +75 -0
- package/dist/model/index.d.ts +18 -0
- package/dist/model/interfaces/chart-interfaces.d.ts +21 -0
- package/dist/model/interfaces/common.d.ts +172 -0
- package/dist/model/line-chart-model/line-chart-model.d.ts +20 -0
- package/dist/model/mixins/model-with-guides.d.ts +140 -0
- package/dist/model/mixins/model-with-legend.d.ts +22 -0
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +139 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +307 -0
- package/dist/model/mixins/model-with-temporal-binning.d.ts +25 -0
- package/dist/model/mixins/model-with-tooltips.d.ts +36 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +24 -0
- package/dist/model/mixins/model-with-y-guides.d.ts +24 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +56 -0
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +199 -0
- package/dist/model/properties/axes/axis-labels-symbol.d.ts +8 -0
- package/dist/model/properties/axes/axis-lines-symbol.d.ts +8 -0
- package/dist/model/properties/axes/x-axis/generate-x-axis-title.d.ts +7 -0
- package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +11 -0
- package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +11 -0
- package/dist/model/properties/axes/x-axis/x-axis-labels-visibility.d.ts +7 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-symbol.d.ts +8 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-text.d.ts +7 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +11 -0
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +8 -0
- package/dist/model/properties/background-color.d.ts +8 -0
- package/dist/model/properties/chart-id.d.ts +7 -0
- package/dist/model/properties/chart-renderer.d.ts +52 -0
- package/dist/model/properties/chart-sub-type.d.ts +8 -0
- package/dist/model/properties/color-match.d.ts +12 -0
- package/dist/model/properties/config.d.ts +8 -0
- package/dist/model/properties/data-filters.d.ts +14 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +8 -0
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +7 -0
- package/dist/model/properties/data-tooltip-value-format.d.ts +21 -0
- package/dist/model/properties/description/description-symbol.d.ts +8 -0
- package/dist/model/properties/description/description-text.d.ts +6 -0
- package/dist/model/properties/description/description-visibility.d.ts +11 -0
- package/dist/model/properties/fetch-null-values.d.ts +7 -0
- package/dist/model/properties/layer.d.ts +8 -0
- package/dist/model/properties/rotated-state.d.ts +7 -0
- package/dist/model/properties/series/negative-values-stacked-to-baseline.d.ts +22 -0
- package/dist/model/properties/series/series-id.d.ts +12 -0
- package/dist/model/properties/series/series-index.d.ts +12 -0
- package/dist/model/properties/series/series-length.d.ts +7 -0
- package/dist/model/properties/series/series-visibility.d.ts +18 -0
- package/dist/model/properties/split-by-values.d.ts +7 -0
- package/dist/model/properties/subtitle/subtitle-symbol.d.ts +8 -0
- package/dist/model/properties/subtitle/subtitle-text.d.ts +7 -0
- package/dist/model/properties/subtitle/subtitle-visibility.d.ts +11 -0
- package/dist/model/properties/title/title-symbol.d.ts +8 -0
- package/dist/model/properties/title/title-text.d.ts +7 -0
- package/dist/model/properties/title/title-visibility.d.ts +11 -0
- package/dist/model/properties/version.d.ts +7 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +20 -0
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +57 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +145 -0
- package/dist/model/shared/setup-utils.d.ts +74 -0
- package/dist/model/shared/type-guards.d.ts +172 -0
- package/dist/model.js +77 -0
- package/dist/spec/chart-object-literals.d.ts +364 -0
- package/dist/spec/config-defaults.d.ts +11 -0
- package/dist/spec/data-source.d.ts +104 -0
- package/dist/spec/events.d.ts +34 -0
- package/dist/spec/index.d.ts +8 -0
- package/dist/spec/rest-js-object-literals.d.ts +132 -0
- package/dist/spec/rest-js-types.d.ts +1923 -0
- package/dist/spec/web-chart.d.ts +1539 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/lumina.d.ts +187 -0
- package/dist/types/preact.d.ts +194 -0
- package/dist/types/react.d.ts +204 -0
- package/dist/types/stencil.d.ts +194 -0
- package/dist/utils/chart-config/converter/index.d.ts +21 -0
- package/dist/utils/chart-config/interfaces.d.ts +8 -0
- package/dist/utils/chart-config/utils/index.d.ts +520 -0
- package/dist/utils/chart-config/utils/interfaces.d.ts +8 -0
- package/dist/utils/chart-config/validator/index.d.ts +27 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +105 -0
- package/dist/utils/components/event-payloads.d.ts +82 -0
- package/dist/utils/components/interfaces.d.ts +14 -0
- package/dist/utils/cursor/interfaces.d.ts +17 -0
- package/dist/utils/data/categorical-data/index.d.ts +27 -0
- package/dist/utils/data/index.d.ts +149 -0
- package/dist/utils/data/interfaces.d.ts +75 -0
- package/dist/utils/data/time-binning/interfaces.d.ts +38 -0
- package/dist/utils/defaults/index.d.ts +638 -0
- package/dist/utils/defaults/interfaces.d.ts +81 -0
- package/dist/utils/errors/index.d.ts +17 -0
- package/dist/utils/errors/interfaces.d.ts +9 -0
- package/dist/utils/index.d.ts +33 -0
- package/dist/utils/layer/index.d.ts +313 -0
- package/dist/utils/layer/inline-conversion/index.d.ts +46 -0
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +21 -0
- package/dist/utils/layer/interfaces.d.ts +73 -0
- package/dist/utils/layer/query-features/index.d.ts +192 -0
- package/dist/utils/layer/query-features/interfaces.d.ts +10 -0
- package/dist/utils/layer/query-parser/index.d.ts +183 -0
- package/dist/utils/layer/utils/index.d.ts +202 -0
- package/dist/utils/localization/index.d.ts +87 -0
- package/dist/utils/localization/interfaces.d.ts +617 -0
- package/dist/utils/misc/index.d.ts +347 -0
- package/dist/utils/misc/interfaces.d.ts +116 -0
- package/dist/utils/type-guards/index.d.ts +229 -0
- package/dist/utils/type-guards/series-types.d.ts +38 -0
- package/dist/utils/types/index.d.ts +227 -0
- package/dist/utils/ui/chart-ui-utils.d.ts +34 -0
- package/dist/utils/ui/popover-ui-utils.d.ts +35 -0
- package/package.json +59 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import { g as p, s as b, a as _, b as L } from "./bar-chart-series.js";
|
|
3
|
+
import { m as a } from "./model-setter.js";
|
|
4
|
+
import {
|
|
5
|
+
g as u,
|
|
6
|
+
a as k,
|
|
7
|
+
e as C,
|
|
8
|
+
b as v,
|
|
9
|
+
f as M,
|
|
10
|
+
s as z,
|
|
11
|
+
h as O,
|
|
12
|
+
c as B,
|
|
13
|
+
i as V,
|
|
14
|
+
d as D,
|
|
15
|
+
j as F,
|
|
16
|
+
k as A,
|
|
17
|
+
n as H,
|
|
18
|
+
o as d,
|
|
19
|
+
p as j,
|
|
20
|
+
q as W,
|
|
21
|
+
r as w,
|
|
22
|
+
W as P,
|
|
23
|
+
} from "./negative-values-stacked-to-baseline.js";
|
|
24
|
+
import { S as T, s as N } from "./serial-chart-model.js";
|
|
25
|
+
import { a as q } from "./utils.js";
|
|
26
|
+
import { W as S } from "./series-types.js";
|
|
27
|
+
import { o as R, j as l, l as g } from "./index4.js";
|
|
28
|
+
import { bk as E, bd as y, bR as f, ba as m } from "./index.js";
|
|
29
|
+
var G = Object.defineProperty,
|
|
30
|
+
J = Object.getOwnPropertyDescriptor,
|
|
31
|
+
n = (c, e, i, s) => {
|
|
32
|
+
for (var t = J(e, i), r = c.length - 1, h; r >= 0; r--)
|
|
33
|
+
(h = c[r]) && (t = h(e, i, t) || t);
|
|
34
|
+
return t && G(e, i, t), t;
|
|
35
|
+
};
|
|
36
|
+
class o extends T {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments), (this._chartType = S.ComboLineAndBarSeries);
|
|
39
|
+
}
|
|
40
|
+
async setup(e) {
|
|
41
|
+
await this.loadConfigFromLayer(e),
|
|
42
|
+
this.setupLocalProps(),
|
|
43
|
+
e.config !== void 0 &&
|
|
44
|
+
(R(e.config?.series) && this.initDefaultSeries(),
|
|
45
|
+
await this.updateSeriesFromLayerFilter()),
|
|
46
|
+
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
47
|
+
}
|
|
48
|
+
// ---------------------------------------------------------------------------------------------
|
|
49
|
+
// Protected Methods
|
|
50
|
+
// ---------------------------------------------------------------------------------------------
|
|
51
|
+
/** @private */
|
|
52
|
+
generateDefaultConfig() {
|
|
53
|
+
const e = E(this.commonStrings);
|
|
54
|
+
return (
|
|
55
|
+
(e.series = [
|
|
56
|
+
y({
|
|
57
|
+
commonStrings: this.commonStrings,
|
|
58
|
+
objectIDField: f(this.layerInfo.layer).idField,
|
|
59
|
+
}),
|
|
60
|
+
]),
|
|
61
|
+
e
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Initializes the default series for the combo bar-line chart. Used in resetting the series styling.
|
|
66
|
+
*
|
|
67
|
+
* @private
|
|
68
|
+
*/
|
|
69
|
+
initDefaultSeries() {
|
|
70
|
+
this.defaultSeries = m({
|
|
71
|
+
commonStrings: this.commonStrings,
|
|
72
|
+
objectIDField: f(this.layerInfo.layer).idField,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
setSeriesType(e, i) {
|
|
76
|
+
if (e < this._config.series.length && e >= 0) {
|
|
77
|
+
const s = this._config.series[e];
|
|
78
|
+
let t;
|
|
79
|
+
if (i === S.BarSeries && l(s)) {
|
|
80
|
+
const r = { ...s };
|
|
81
|
+
delete r.lineSymbol,
|
|
82
|
+
delete r.markerSymbol,
|
|
83
|
+
delete r.lineSmoothed,
|
|
84
|
+
delete r.markerVisible,
|
|
85
|
+
delete r.areaColor,
|
|
86
|
+
delete r.stackNegativeValuesToBaseline,
|
|
87
|
+
(t = {
|
|
88
|
+
...y({
|
|
89
|
+
commonStrings: this.commonStrings,
|
|
90
|
+
objectIDField: f(this.layerInfo.layer).idField,
|
|
91
|
+
}),
|
|
92
|
+
...r,
|
|
93
|
+
type: S.BarSeries,
|
|
94
|
+
y: [s.y].flat()[0],
|
|
95
|
+
}),
|
|
96
|
+
t.fillSymbol &&
|
|
97
|
+
(t.fillSymbol = {
|
|
98
|
+
...t.fillSymbol,
|
|
99
|
+
color: s.lineSymbol?.color,
|
|
100
|
+
});
|
|
101
|
+
} else if (i === S.LineSeries && g(s)) {
|
|
102
|
+
const r = { ...s };
|
|
103
|
+
delete r.fillSymbol,
|
|
104
|
+
delete r.hideOversizedStackedLabels,
|
|
105
|
+
delete r.hideOversizedSideBySideLabels,
|
|
106
|
+
(t = {
|
|
107
|
+
...m({
|
|
108
|
+
commonStrings: this.commonStrings,
|
|
109
|
+
objectIDField: f(this.layerInfo.layer).idField,
|
|
110
|
+
}),
|
|
111
|
+
...r,
|
|
112
|
+
type: S.LineSeries,
|
|
113
|
+
}),
|
|
114
|
+
t.lineSymbol &&
|
|
115
|
+
(t.lineSymbol = {
|
|
116
|
+
...t.lineSymbol,
|
|
117
|
+
color: s.fillSymbol?.color,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
t !== void 0 && (this._config.series[e] = t);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Gets the line style of the series based on the series index.
|
|
125
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
126
|
+
*
|
|
127
|
+
* @param seriesIndex The index of the series.
|
|
128
|
+
*/
|
|
129
|
+
getSeriesLineStyle(e) {
|
|
130
|
+
return u(e, this._config);
|
|
131
|
+
}
|
|
132
|
+
setSeriesLineStyle(e, i) {
|
|
133
|
+
const s = this._config.series?.[i];
|
|
134
|
+
l(s) && k(e, i, this._config);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Gets the line width of the series based on the series index.
|
|
138
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
139
|
+
*
|
|
140
|
+
* @param seriesIndex - The index of the series.
|
|
141
|
+
*/
|
|
142
|
+
getSeriesLineWidth(e) {
|
|
143
|
+
return C(e, this._config);
|
|
144
|
+
}
|
|
145
|
+
setSeriesLineWidth(e, i) {
|
|
146
|
+
const s = this._config.series?.[i];
|
|
147
|
+
l(s) && v(e, i, this._config);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Gets the marker color of the series based on the series index.
|
|
151
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
152
|
+
*
|
|
153
|
+
* @param seriesIndex - The index of the series.
|
|
154
|
+
*/
|
|
155
|
+
getSeriesMarkerColor(e) {
|
|
156
|
+
return M(e, this._config);
|
|
157
|
+
}
|
|
158
|
+
setSeriesMarkerColor(e, i) {
|
|
159
|
+
const s = this._config.series?.[i];
|
|
160
|
+
l(s) && z(e, i, this._config);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Gets the marker style of the series based on the series index.
|
|
164
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
165
|
+
*
|
|
166
|
+
* @param seriesIndex - The index of the series.
|
|
167
|
+
*/
|
|
168
|
+
getSeriesMarkerStyle(e) {
|
|
169
|
+
return O(e, this._config);
|
|
170
|
+
}
|
|
171
|
+
setSeriesMarkerStyle(e, i) {
|
|
172
|
+
const s = this._config.series?.[i];
|
|
173
|
+
l(s) && B(e, i, this._config);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Gets the marker size of the series based on the series index.
|
|
177
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
178
|
+
* @param seriesIndex - The index of the series.
|
|
179
|
+
*/
|
|
180
|
+
getSeriesMarkerSize(e) {
|
|
181
|
+
return V(e, this._config);
|
|
182
|
+
}
|
|
183
|
+
setSeriesMarkerSize(e, i) {
|
|
184
|
+
const s = this._config.series?.[i];
|
|
185
|
+
l(s) && D(e, i, this._config);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Specify whether line segments of the series should be smoothed.
|
|
189
|
+
*
|
|
190
|
+
* @param seriesIndex - The index of the series.
|
|
191
|
+
*/
|
|
192
|
+
isLineSmoothed(e) {
|
|
193
|
+
return F(e, this._config);
|
|
194
|
+
}
|
|
195
|
+
setLineSmoothed(e, i) {
|
|
196
|
+
const s = this._config.series?.[i];
|
|
197
|
+
l(s) &&
|
|
198
|
+
A({
|
|
199
|
+
smoothed: e,
|
|
200
|
+
seriesIndex: i,
|
|
201
|
+
config: this._config,
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Indicate whether the area is visible for the line series.
|
|
206
|
+
*
|
|
207
|
+
* @param seriesIndex - The index of the series.
|
|
208
|
+
*/
|
|
209
|
+
isAreaVisible(e) {
|
|
210
|
+
return H(e, this._config);
|
|
211
|
+
}
|
|
212
|
+
setAreaVisible(e, i) {
|
|
213
|
+
const s = this._config.series?.[i];
|
|
214
|
+
l(s) &&
|
|
215
|
+
d({
|
|
216
|
+
visible: e,
|
|
217
|
+
seriesIndex: i,
|
|
218
|
+
config: this._config,
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
223
|
+
*
|
|
224
|
+
* @param seriesIndex - The index of the series.
|
|
225
|
+
*/
|
|
226
|
+
isMarkerVisible(e) {
|
|
227
|
+
return j(e, this._config);
|
|
228
|
+
}
|
|
229
|
+
setMarkerVisible(e, i) {
|
|
230
|
+
const s = this._config.series?.[i];
|
|
231
|
+
l(s) &&
|
|
232
|
+
W({
|
|
233
|
+
visible: e,
|
|
234
|
+
seriesIndex: i,
|
|
235
|
+
config: this._config,
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Gets the color of the filled area for line chart.
|
|
240
|
+
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
241
|
+
*
|
|
242
|
+
* @param seriesIndex - The index of the series.
|
|
243
|
+
*/
|
|
244
|
+
getAreaColor(e) {
|
|
245
|
+
return w(e, this._config);
|
|
246
|
+
}
|
|
247
|
+
setAreaColor(e, i) {
|
|
248
|
+
const s = this._config.series?.[i];
|
|
249
|
+
l(s) &&
|
|
250
|
+
(d({
|
|
251
|
+
visible: !0,
|
|
252
|
+
seriesIndex: i,
|
|
253
|
+
config: this._config,
|
|
254
|
+
}),
|
|
255
|
+
N(e, i, this._config));
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index. '
|
|
259
|
+
*
|
|
260
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
261
|
+
*
|
|
262
|
+
* @param seriesIndex - The index of the series.
|
|
263
|
+
*/
|
|
264
|
+
getSeriesHideOversizedSideBySideLabels(e) {
|
|
265
|
+
return p(e, this._config);
|
|
266
|
+
}
|
|
267
|
+
setSeriesHideOversizedSideBySideLabels(e, i) {
|
|
268
|
+
const s = this._config.series?.[i];
|
|
269
|
+
g(s) && b(e, i, this._config);
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Gets whether to hide oversized data labels of the stacked series based on the series index.
|
|
273
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
274
|
+
*
|
|
275
|
+
* @param seriesIndex - The index of the series.
|
|
276
|
+
*/
|
|
277
|
+
getSeriesHideOversizedStackedLabels(e) {
|
|
278
|
+
return _(e, this._config);
|
|
279
|
+
}
|
|
280
|
+
setSeriesHideOversizedStackedLabels(e, i) {
|
|
281
|
+
const s = this._config.series?.[i];
|
|
282
|
+
g(s) && L(e, i, this._config);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
n([a], o.prototype, "setSeriesType");
|
|
286
|
+
n([a], o.prototype, "setSeriesLineStyle");
|
|
287
|
+
n([a], o.prototype, "setSeriesLineWidth");
|
|
288
|
+
n([a], o.prototype, "setSeriesMarkerColor");
|
|
289
|
+
n([a], o.prototype, "setSeriesMarkerStyle");
|
|
290
|
+
n([a], o.prototype, "setSeriesMarkerSize");
|
|
291
|
+
n([a], o.prototype, "setLineSmoothed");
|
|
292
|
+
n([a], o.prototype, "setAreaVisible");
|
|
293
|
+
n([a], o.prototype, "setMarkerVisible");
|
|
294
|
+
n([a], o.prototype, "setAreaColor");
|
|
295
|
+
n([a], o.prototype, "setSeriesHideOversizedSideBySideLabels");
|
|
296
|
+
n([a], o.prototype, "setSeriesHideOversizedStackedLabels");
|
|
297
|
+
const K = [P];
|
|
298
|
+
q(o, K);
|
|
299
|
+
export { o as ComboBarLineChartModel };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
const e = "customSort",
|
|
3
|
+
s = {
|
|
4
|
+
xAxisAsc: "xAxisAsc",
|
|
5
|
+
xAxisDesc: "xAxisDesc",
|
|
6
|
+
yAxisAsc: "yAxisAsc",
|
|
7
|
+
yAxisDesc: "yAxisDesc",
|
|
8
|
+
customSort: e,
|
|
9
|
+
},
|
|
10
|
+
a = {
|
|
11
|
+
xAxisAsc: "xAxisAsc",
|
|
12
|
+
xAxisDesc: "xAxisDesc",
|
|
13
|
+
meanAsc: "meanAsc",
|
|
14
|
+
meanDesc: "meanDesc",
|
|
15
|
+
medianAsc: "medianAsc",
|
|
16
|
+
medianDesc: "medianDesc",
|
|
17
|
+
customSort: e,
|
|
18
|
+
},
|
|
19
|
+
t = {
|
|
20
|
+
Asc: "Asc",
|
|
21
|
+
Desc: "Desc",
|
|
22
|
+
customSort: e,
|
|
23
|
+
},
|
|
24
|
+
i = {
|
|
25
|
+
labelAsc: "labelAsc",
|
|
26
|
+
labelDesc: "labelDesc",
|
|
27
|
+
valueAsc: "valueAsc",
|
|
28
|
+
valueDesc: "valueDesc",
|
|
29
|
+
customSort: e,
|
|
30
|
+
},
|
|
31
|
+
n = {
|
|
32
|
+
Category: "category",
|
|
33
|
+
Fields: "fields",
|
|
34
|
+
},
|
|
35
|
+
r = {
|
|
36
|
+
Category: "category",
|
|
37
|
+
Value: "value",
|
|
38
|
+
Percentage: "percentage",
|
|
39
|
+
Both: "both",
|
|
40
|
+
},
|
|
41
|
+
c = {
|
|
42
|
+
TextElements: "textElements",
|
|
43
|
+
XAxisTitle: "xAxisTitle",
|
|
44
|
+
YAxisTitle: "yAxisTitle",
|
|
45
|
+
AxisLabels: "axisLabels",
|
|
46
|
+
GuideLabels: "guideLabels",
|
|
47
|
+
Title: "title",
|
|
48
|
+
LegendText: "legendText",
|
|
49
|
+
LegendTitle: "legendTitle",
|
|
50
|
+
Description: "description",
|
|
51
|
+
DataLabels: "dataLabels",
|
|
52
|
+
Background: "background",
|
|
53
|
+
LeaderLines: "leaderLines",
|
|
54
|
+
AxisLines: "axisLines",
|
|
55
|
+
GridLines: "gridLines",
|
|
56
|
+
},
|
|
57
|
+
o = {
|
|
58
|
+
AxisLines: "axisLines",
|
|
59
|
+
GridLines: "gridLines",
|
|
60
|
+
LeaderLines: "leaderLines",
|
|
61
|
+
},
|
|
62
|
+
l = {
|
|
63
|
+
Title: "title",
|
|
64
|
+
XAxisTitle: "xAxisTitle",
|
|
65
|
+
YAxisTitle: "yAxisTitle",
|
|
66
|
+
AxisLabels: "axisLabels",
|
|
67
|
+
GuideLabels: "guideLabels",
|
|
68
|
+
LegendText: "legendText",
|
|
69
|
+
LegendTitle: "legendTitle",
|
|
70
|
+
Description: "description",
|
|
71
|
+
DataLabels: "dataLabels",
|
|
72
|
+
},
|
|
73
|
+
x = {
|
|
74
|
+
Background: "background",
|
|
75
|
+
},
|
|
76
|
+
d = {
|
|
77
|
+
X: "x",
|
|
78
|
+
Y: "y",
|
|
79
|
+
},
|
|
80
|
+
A = {
|
|
81
|
+
BarChart: "barChart",
|
|
82
|
+
LineChart: "lineChart",
|
|
83
|
+
ComboBarLineChart: "comboBarLineChart",
|
|
84
|
+
BoxPlot: "boxPlot",
|
|
85
|
+
PieChart: "pieChart",
|
|
86
|
+
Scatterplot: "scatterplot",
|
|
87
|
+
Histogram: "histogram",
|
|
88
|
+
Gauge: "gauge",
|
|
89
|
+
RadarChart: "radarChart",
|
|
90
|
+
HeatChart: "heatChart",
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
a as B,
|
|
94
|
+
x as C,
|
|
95
|
+
c as F,
|
|
96
|
+
d as G,
|
|
97
|
+
t as H,
|
|
98
|
+
o as L,
|
|
99
|
+
A as M,
|
|
100
|
+
i as P,
|
|
101
|
+
s as S,
|
|
102
|
+
l as T,
|
|
103
|
+
n as a,
|
|
104
|
+
r as b,
|
|
105
|
+
e as c,
|
|
106
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import { cloneDeep as l } from "lodash-es";
|
|
3
|
+
import { C as n, m as b } from "./model-setter.js";
|
|
4
|
+
import { aP as f, bI as i, aN as d } from "./index.js";
|
|
5
|
+
var c = Object.defineProperty,
|
|
6
|
+
m = Object.getOwnPropertyDescriptor,
|
|
7
|
+
p = (e, t, a, y) => {
|
|
8
|
+
for (var s = m(t, a), o = e.length - 1, r; o >= 0; o--)
|
|
9
|
+
(r = e[o]) && (s = r(t, a, s) || s);
|
|
10
|
+
return s && c(t, a, s), s;
|
|
11
|
+
};
|
|
12
|
+
function h(e) {
|
|
13
|
+
return e !== void 0 && "dataLabelsSymbol" in e;
|
|
14
|
+
}
|
|
15
|
+
const L = (e) => {
|
|
16
|
+
for (const t of e.series)
|
|
17
|
+
if (t.dataLabels !== void 0) return t.dataLabels.content;
|
|
18
|
+
},
|
|
19
|
+
v = (e, t) => {
|
|
20
|
+
for (const a of t.series)
|
|
21
|
+
(a.dataLabels === void 0 || e === void 0) &&
|
|
22
|
+
(a.dataLabels = f({
|
|
23
|
+
text: "",
|
|
24
|
+
visible: !0,
|
|
25
|
+
font: d(i.DataLabels),
|
|
26
|
+
type: i.DataLabels,
|
|
27
|
+
})),
|
|
28
|
+
e !== void 0 && (a.dataLabels.content = l(e));
|
|
29
|
+
};
|
|
30
|
+
class u extends n {
|
|
31
|
+
/**
|
|
32
|
+
* Data labels text symbol (font, color, style).
|
|
33
|
+
*/
|
|
34
|
+
get dataLabelsSymbol() {
|
|
35
|
+
return L(this._config);
|
|
36
|
+
}
|
|
37
|
+
set dataLabelsSymbol(t) {
|
|
38
|
+
v(t, this._config);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
p([b], u.prototype, "dataLabelsSymbol");
|
|
42
|
+
export { u as W, h as i };
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import { capitalize as y } from "lodash-es";
|
|
3
|
+
import "@geoscene/toolkit/type";
|
|
4
|
+
import { g as l, t as n, w as F, W as d, a as f } from "./series-types.js";
|
|
5
|
+
import {
|
|
6
|
+
c0 as x,
|
|
7
|
+
b as $,
|
|
8
|
+
d as L,
|
|
9
|
+
ay as N,
|
|
10
|
+
dr as I,
|
|
11
|
+
o as H,
|
|
12
|
+
bR as _,
|
|
13
|
+
cM as M,
|
|
14
|
+
dp as P,
|
|
15
|
+
c as W,
|
|
16
|
+
a as v,
|
|
17
|
+
} from "./index.js";
|
|
18
|
+
import "@geoscene/toolkit/intl";
|
|
19
|
+
import "luxon";
|
|
20
|
+
import "d3-array";
|
|
21
|
+
import "@geoscene/geoscene-html-sanitizer";
|
|
22
|
+
import "@geoscene/core/geometry/support/jsonUtils.js";
|
|
23
|
+
import "@geoscene/core/rest/support/AttributeBinsQuery.js";
|
|
24
|
+
import "@geoscene/core/rest/support/StatisticDefinition.js";
|
|
25
|
+
import "@geoscene/core/time/TimeExtent.js";
|
|
26
|
+
import "@geoscene/core/core/promiseUtils.js";
|
|
27
|
+
import "@geoscene/core/request.js";
|
|
28
|
+
import "./runtime.js";
|
|
29
|
+
import "@geoscene/toolkit/dom";
|
|
30
|
+
import "@geoscene/core/intl.js";
|
|
31
|
+
import { H as u, S as o, a as U } from "./common.js";
|
|
32
|
+
function E(e, r) {
|
|
33
|
+
let t;
|
|
34
|
+
return (
|
|
35
|
+
r === n.Category && Array.isArray(e)
|
|
36
|
+
? (t = o.customSort)
|
|
37
|
+
: r === n.Category
|
|
38
|
+
? (t = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc)
|
|
39
|
+
: e === l.Ascending
|
|
40
|
+
? (t = o.yAxisAsc)
|
|
41
|
+
: (t = o.yAxisDesc),
|
|
42
|
+
t
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
function ne(e, r) {
|
|
46
|
+
let t;
|
|
47
|
+
return (
|
|
48
|
+
r === n.Category && Array.isArray(e)
|
|
49
|
+
? (t = u.customSort)
|
|
50
|
+
: (t = e === l.Ascending ? u.Asc : u.Desc),
|
|
51
|
+
t
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
const K = (e) => {
|
|
55
|
+
const r =
|
|
56
|
+
e.orderOptions?.data && "orderBy" in e.orderOptions.data
|
|
57
|
+
? e.orderOptions.data.orderBy
|
|
58
|
+
: l.Ascending;
|
|
59
|
+
return E(r, e.orderOptions?.data?.orderType ?? n.Category);
|
|
60
|
+
},
|
|
61
|
+
V = (e) => {
|
|
62
|
+
const r = F(e.series);
|
|
63
|
+
let t = !1;
|
|
64
|
+
return (
|
|
65
|
+
(r === d.BarSeries || r === d.LineSeries) && (t = K(e) === o.customSort),
|
|
66
|
+
t
|
|
67
|
+
);
|
|
68
|
+
},
|
|
69
|
+
le = (e) => {
|
|
70
|
+
let r = [];
|
|
71
|
+
const t = e.orderOptions?.data?.orderType;
|
|
72
|
+
return V(e) && t === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
73
|
+
},
|
|
74
|
+
ce = (e, r, t, s) => {
|
|
75
|
+
const i = F(r.series),
|
|
76
|
+
m = I(r);
|
|
77
|
+
r.orderOptions ??= {};
|
|
78
|
+
let a = m ? [""] : l.Ascending;
|
|
79
|
+
if (m)
|
|
80
|
+
e === u.customSort && t !== void 0
|
|
81
|
+
? (a = [...t])
|
|
82
|
+
: (a = e === u.Desc ? l.Descending : l.Ascending),
|
|
83
|
+
s
|
|
84
|
+
? (r.orderOptions.data = {
|
|
85
|
+
...r.orderOptions.data,
|
|
86
|
+
orderByY: a,
|
|
87
|
+
orderType: n.MultiAxes,
|
|
88
|
+
})
|
|
89
|
+
: (r.orderOptions.data = {
|
|
90
|
+
...r.orderOptions.data,
|
|
91
|
+
orderByX: a,
|
|
92
|
+
orderType: n.MultiAxes,
|
|
93
|
+
});
|
|
94
|
+
else if (i === d.BarSeries || i === d.LineSeries) {
|
|
95
|
+
let c = n.Category;
|
|
96
|
+
e === o.customSort && t !== void 0
|
|
97
|
+
? ((a = [...t]),
|
|
98
|
+
(r.orderOptions.data = {
|
|
99
|
+
orderType: c,
|
|
100
|
+
orderBy: a,
|
|
101
|
+
}))
|
|
102
|
+
: ((c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue),
|
|
103
|
+
(a =
|
|
104
|
+
e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending),
|
|
105
|
+
(r.orderOptions.data = {
|
|
106
|
+
orderType: c,
|
|
107
|
+
orderBy: a,
|
|
108
|
+
}));
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
pe = (e) => e?.series?.[0]?.x ?? "",
|
|
112
|
+
me = (e) => {
|
|
113
|
+
const {
|
|
114
|
+
config: r,
|
|
115
|
+
xAxisField: t,
|
|
116
|
+
numericFields: s,
|
|
117
|
+
aggregationType: i,
|
|
118
|
+
mode: m,
|
|
119
|
+
layer: a,
|
|
120
|
+
numericFieldIndex: c,
|
|
121
|
+
seriesIndex: h,
|
|
122
|
+
splitByField: S = "",
|
|
123
|
+
fieldList: O,
|
|
124
|
+
} = e,
|
|
125
|
+
T = F(r.series),
|
|
126
|
+
b = H(r.series),
|
|
127
|
+
{ idField: D, isTraditionalTypeOID: B } = _(M(a)),
|
|
128
|
+
C = B && s.length === 1 && s[0] === D;
|
|
129
|
+
let p = "y",
|
|
130
|
+
A = "y";
|
|
131
|
+
switch (T) {
|
|
132
|
+
case d.PieSeries: {
|
|
133
|
+
i !== f.NoAggregation
|
|
134
|
+
? m === U.Category
|
|
135
|
+
? ((p = `${i}_${s[0]}_0`.toUpperCase()),
|
|
136
|
+
(A = C ? y(f.Count) : y(`${i} of ${s[0]}`)))
|
|
137
|
+
: (p = v)
|
|
138
|
+
: (p = s[0]);
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
case d.BarSeries:
|
|
142
|
+
case d.LineSeries:
|
|
143
|
+
case d.ComboLineAndBarSeries:
|
|
144
|
+
case d.RadarSeries:
|
|
145
|
+
case d.HeatSeries: {
|
|
146
|
+
if (S === "" || s.length > 1)
|
|
147
|
+
j({
|
|
148
|
+
fieldName: t,
|
|
149
|
+
numericFields: s,
|
|
150
|
+
fieldList: O ?? [],
|
|
151
|
+
}) || b === P.BarAndLineFromFields
|
|
152
|
+
? (p = W)
|
|
153
|
+
: ((p = `${i}_${s[c ?? 0]}_${c ?? 0}`.toUpperCase()),
|
|
154
|
+
(A = C ? y(f.Count) : y(`${i} of ${s[c ?? 0]}`)));
|
|
155
|
+
else {
|
|
156
|
+
const g = s[0];
|
|
157
|
+
(p = `${i}_${g}_${h ?? 0}`.toUpperCase()),
|
|
158
|
+
(A = C ? y(f.Count) : y(`${i} of ${g}`));
|
|
159
|
+
}
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return {
|
|
164
|
+
name: p,
|
|
165
|
+
description: A,
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
function Y(e) {
|
|
169
|
+
const { fieldName: r, fieldList: t } = e,
|
|
170
|
+
s = x(t ?? [], r);
|
|
171
|
+
return (
|
|
172
|
+
r === $ ||
|
|
173
|
+
r === L ||
|
|
174
|
+
r === N ||
|
|
175
|
+
r === void 0 ||
|
|
176
|
+
r.trim() === "" ||
|
|
177
|
+
s === void 0
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
function j(e) {
|
|
181
|
+
const { fieldName: r, fieldList: t, numericFields: s } = e,
|
|
182
|
+
i = s.filter((m) => x(t ?? [], m)?.type !== "esriFieldTypeOID");
|
|
183
|
+
return Y({ fieldName: r, fieldList: t }) && (i?.length ?? 0) > 0;
|
|
184
|
+
}
|
|
185
|
+
export {
|
|
186
|
+
K as a,
|
|
187
|
+
pe as b,
|
|
188
|
+
j as c,
|
|
189
|
+
le as d,
|
|
190
|
+
ne as e,
|
|
191
|
+
E as f,
|
|
192
|
+
me as g,
|
|
193
|
+
ce as s,
|
|
194
|
+
Y as x,
|
|
195
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import "@geoscene/toolkit/type";
|
|
3
|
+
import { W as t } from "./series-types.js";
|
|
4
|
+
import { a as o, f as e } from "./rest-js-object-literals.js";
|
|
5
|
+
const i = 153,
|
|
6
|
+
a = {
|
|
7
|
+
type: t.Guide,
|
|
8
|
+
style: {
|
|
9
|
+
type: e.SLS,
|
|
10
|
+
color: [127, 127, 127, i],
|
|
11
|
+
width: 2,
|
|
12
|
+
style: o.Solid,
|
|
13
|
+
},
|
|
14
|
+
label: { type: e.TS },
|
|
15
|
+
};
|
|
16
|
+
export { a as d, i as g };
|