@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,489 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import { C as v } from "./chart-model.js";
|
|
3
|
+
import { m as o } from "./model-setter.js";
|
|
4
|
+
import { W as _, a as I, b as C } from "./axis-lines-symbol.js";
|
|
5
|
+
import { W as L, b as T } from "./model-with-guides.js";
|
|
6
|
+
import { W as A, a as W, b as F } from "./generate-x-axis-title.js";
|
|
7
|
+
import { g as V, a as D } from "./utils.js";
|
|
8
|
+
import "@geoscene/toolkit/intl";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "luxon";
|
|
11
|
+
import "d3-array";
|
|
12
|
+
import "@geoscene/toolkit/type";
|
|
13
|
+
import { W as m, G as E, a as y } from "./series-types.js";
|
|
14
|
+
import {
|
|
15
|
+
b8 as d,
|
|
16
|
+
aP as b,
|
|
17
|
+
a_ as w,
|
|
18
|
+
bi as x,
|
|
19
|
+
bp as M,
|
|
20
|
+
bR as N,
|
|
21
|
+
} from "./index.js";
|
|
22
|
+
import "@geoscene/core/Graphic.js";
|
|
23
|
+
import "@geoscene/core/renderers/support/jsonUtils.js";
|
|
24
|
+
import "@geoscene/core/symbols/support/symbolUtils.js";
|
|
25
|
+
import "@geoscene/geoscene-html-sanitizer";
|
|
26
|
+
import "@geoscene/core/intl.js";
|
|
27
|
+
import "@geoscene/core/layers/support/FeatureFilter.js";
|
|
28
|
+
import "@geoscene/core/smartMapping/statistics/histogram.js";
|
|
29
|
+
import "@geoscene/core/smartMapping/statistics/summaryStatistics.js";
|
|
30
|
+
import "simple-statistics";
|
|
31
|
+
import "@geoscene/core/request.js";
|
|
32
|
+
import "@geoscene/core/core/sql.js";
|
|
33
|
+
import "@geoscene/core/AttributeBinsGraphic.js";
|
|
34
|
+
import "@geoscene/core/geometry/support/jsonUtils.js";
|
|
35
|
+
import "@geoscene/core/rest/support/AttributeBinsQuery.js";
|
|
36
|
+
import "@geoscene/core/rest/support/StatisticDefinition.js";
|
|
37
|
+
import "@geoscene/core/time/TimeExtent.js";
|
|
38
|
+
import "@geoscene/core/core/promiseUtils.js";
|
|
39
|
+
import "./runtime.js";
|
|
40
|
+
import "@geoscene/toolkit/dom";
|
|
41
|
+
import { M as R } from "./model-with-x-guides.js";
|
|
42
|
+
const G = (t) => t.axes[0].needle?.visible ?? !0,
|
|
43
|
+
P = (t, e) => {
|
|
44
|
+
e.axes[0].needle === void 0 && (e.axes[0].needle = d()),
|
|
45
|
+
(e.axes[0].needle.visible = t);
|
|
46
|
+
},
|
|
47
|
+
k = (t) => t.axes[0].needle?.symbol,
|
|
48
|
+
O = (t, e) => {
|
|
49
|
+
e.axes[0].needle === void 0 && (e.axes[0].needle = d()),
|
|
50
|
+
(e.axes[0].needle.symbol = t);
|
|
51
|
+
},
|
|
52
|
+
X = (t) => t.axes[0].needle?.startWidth,
|
|
53
|
+
$ = (t, e) => {
|
|
54
|
+
e.axes[0].needle === void 0 && (e.axes[0].needle = d()),
|
|
55
|
+
(e.axes[0].needle.startWidth = t);
|
|
56
|
+
},
|
|
57
|
+
j = (t) => t.axes[0].needle?.endWidth,
|
|
58
|
+
q = (t, e) => {
|
|
59
|
+
e.axes[0].needle === void 0 && (e.axes[0].needle = d()),
|
|
60
|
+
(e.axes[0].needle.endWidth = t);
|
|
61
|
+
},
|
|
62
|
+
B = (t) => t.axes[0].needle?.innerRadius,
|
|
63
|
+
Q = (t, e) => {
|
|
64
|
+
e.axes[0].needle === void 0 && (e.axes[0].needle = d()),
|
|
65
|
+
(e.axes[0].needle.innerRadius = t);
|
|
66
|
+
},
|
|
67
|
+
Y = (t) => t.axes[0].needle?.displayPin ?? !1,
|
|
68
|
+
z = (t, e) => {
|
|
69
|
+
e.axes[0].needle === void 0 && (e.axes[0].needle = d()),
|
|
70
|
+
(e.axes[0].needle.displayPin = t);
|
|
71
|
+
},
|
|
72
|
+
H = (t) => t.axes[0].innerLabel?.visible ?? !0,
|
|
73
|
+
J = (t, e) => {
|
|
74
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()),
|
|
75
|
+
(e.axes[0].innerLabel.visible = t);
|
|
76
|
+
},
|
|
77
|
+
K = (t) => t.axes[0].innerLabel?.content,
|
|
78
|
+
U = (t, e) => {
|
|
79
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()),
|
|
80
|
+
t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
81
|
+
},
|
|
82
|
+
Z = (t) => t.axes[0].ticks?.visible ?? !0,
|
|
83
|
+
ee = (t, e) => {
|
|
84
|
+
e.axes[0].ticks === void 0 &&
|
|
85
|
+
(e.axes[0].ticks = {
|
|
86
|
+
type: m.GaugeAxisTick,
|
|
87
|
+
}),
|
|
88
|
+
(e.axes[0].ticks.visible = t);
|
|
89
|
+
},
|
|
90
|
+
te = (t) => t.axes[0].labelsIncrement,
|
|
91
|
+
ie = (t, e) => {
|
|
92
|
+
e.axes[0].labelsIncrement = t;
|
|
93
|
+
},
|
|
94
|
+
se = (t) => t.axes[0].onlyShowFirstAndLastLabels ?? !1,
|
|
95
|
+
ne = (t, e) => {
|
|
96
|
+
e.axes[0].onlyShowFirstAndLastLabels = t;
|
|
97
|
+
},
|
|
98
|
+
oe = (t) => t.series[0]?.valueConversion,
|
|
99
|
+
re = (t, e) => {
|
|
100
|
+
e.series[0] !== void 0 && (e.series[0].valueConversion = t);
|
|
101
|
+
},
|
|
102
|
+
S = (t) => t.series[0]?.featureIndex,
|
|
103
|
+
f = (t) => {
|
|
104
|
+
const { featureIndex: e, config: i, layerInfo: a, commonStrings: n } = t,
|
|
105
|
+
l = h(i),
|
|
106
|
+
g = p(i);
|
|
107
|
+
e === null
|
|
108
|
+
? delete i.series[0].featureIndex
|
|
109
|
+
: i.series[0] !== void 0 && (i.series[0].featureIndex = e),
|
|
110
|
+
c({
|
|
111
|
+
config: i,
|
|
112
|
+
layerInfo: a,
|
|
113
|
+
field: l,
|
|
114
|
+
aggregationType: g,
|
|
115
|
+
commonStrings: n,
|
|
116
|
+
});
|
|
117
|
+
},
|
|
118
|
+
ae = (t) => t.subType ?? E.StatisticGauge,
|
|
119
|
+
le = (t) => {
|
|
120
|
+
const { config: e, field: i, aggregationType: a } = t;
|
|
121
|
+
if (a !== y.NoAggregation) {
|
|
122
|
+
const n = S(e),
|
|
123
|
+
l = u(n)
|
|
124
|
+
? {}
|
|
125
|
+
: {
|
|
126
|
+
outStatistics: [
|
|
127
|
+
{
|
|
128
|
+
statisticType: a,
|
|
129
|
+
onStatisticField: i,
|
|
130
|
+
outStatisticFieldName: `${a}_${i}`,
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
};
|
|
134
|
+
e.series[0].query = l;
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
de = (t) => {
|
|
138
|
+
const {
|
|
139
|
+
config: e,
|
|
140
|
+
layerInfo: i,
|
|
141
|
+
commonStrings: a,
|
|
142
|
+
field: n,
|
|
143
|
+
aggregationType: l,
|
|
144
|
+
} = t;
|
|
145
|
+
e.title &&
|
|
146
|
+
(e.title.content.text = V({
|
|
147
|
+
config: e,
|
|
148
|
+
layerInfo: i,
|
|
149
|
+
commonStrings: a,
|
|
150
|
+
numericFields: [n],
|
|
151
|
+
aggregationType: l,
|
|
152
|
+
}));
|
|
153
|
+
},
|
|
154
|
+
c = (t) => {
|
|
155
|
+
const { config: e, field: i, aggregationType: a } = t;
|
|
156
|
+
e.series[0] === void 0 && (e.series = [x({})]);
|
|
157
|
+
const n = u(e.series[0]?.featureIndex);
|
|
158
|
+
let l = n ? i : `${a}_${i}`;
|
|
159
|
+
n && i.startsWith(`${a}_`) && (l = i.replace(`${a}_`, "")),
|
|
160
|
+
(e.series[0].x = l),
|
|
161
|
+
le({ config: e, field: i, aggregationType: a }),
|
|
162
|
+
de(t);
|
|
163
|
+
},
|
|
164
|
+
p = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? y.Count,
|
|
165
|
+
ge = (t) => {
|
|
166
|
+
const { config: e, layerInfo: i, commonStrings: a, aggregationType: n } = t,
|
|
167
|
+
l = h(e);
|
|
168
|
+
c({
|
|
169
|
+
config: e,
|
|
170
|
+
layerInfo: i,
|
|
171
|
+
commonStrings: a,
|
|
172
|
+
field: l,
|
|
173
|
+
aggregationType: n,
|
|
174
|
+
});
|
|
175
|
+
},
|
|
176
|
+
u = (t) => typeof t == "number" && t >= 0,
|
|
177
|
+
h = (t) =>
|
|
178
|
+
u(t.series[0]?.featureIndex)
|
|
179
|
+
? t.series[0]?.x
|
|
180
|
+
: t.series[0]?.query?.outStatistics?.[0]?.onStatisticField ?? "",
|
|
181
|
+
ce = (t) => {
|
|
182
|
+
const { field: e, config: i, layerInfo: a, commonStrings: n } = t,
|
|
183
|
+
l = p(i);
|
|
184
|
+
c({
|
|
185
|
+
config: i,
|
|
186
|
+
layerInfo: a,
|
|
187
|
+
commonStrings: n,
|
|
188
|
+
field: e,
|
|
189
|
+
aggregationType: l,
|
|
190
|
+
});
|
|
191
|
+
},
|
|
192
|
+
pe = (t) => t.innerRadius ?? 50,
|
|
193
|
+
ue = (t, e) => {
|
|
194
|
+
e.innerRadius = t;
|
|
195
|
+
},
|
|
196
|
+
he = (t) => t.startAngle ?? -90,
|
|
197
|
+
fe = (t, e) => {
|
|
198
|
+
e.startAngle = t;
|
|
199
|
+
},
|
|
200
|
+
me = (t) => t.endAngle ?? 270,
|
|
201
|
+
ye = (t, e) => {
|
|
202
|
+
e.endAngle = t;
|
|
203
|
+
};
|
|
204
|
+
function be(t) {
|
|
205
|
+
return w(t);
|
|
206
|
+
}
|
|
207
|
+
var xe = Object.defineProperty,
|
|
208
|
+
Se = Object.getOwnPropertyDescriptor,
|
|
209
|
+
r = (t, e, i, a) => {
|
|
210
|
+
for (var n = Se(e, i), l = t.length - 1, g; l >= 0; l--)
|
|
211
|
+
(g = t[l]) && (n = g(e, i, n) || n);
|
|
212
|
+
return n && xe(e, i, n), n;
|
|
213
|
+
};
|
|
214
|
+
class s extends v {
|
|
215
|
+
constructor() {
|
|
216
|
+
super(...arguments), (this._chartType = m.GaugeSeries);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Generate the proper chart title given the current config.
|
|
220
|
+
*/
|
|
221
|
+
generateChartTitle() {
|
|
222
|
+
return be(this.commonStrings);
|
|
223
|
+
}
|
|
224
|
+
async setup(e) {
|
|
225
|
+
await this.loadConfigFromLayer(e),
|
|
226
|
+
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
227
|
+
}
|
|
228
|
+
// ---------------------------------------------------------------------------------------------
|
|
229
|
+
// Data Props
|
|
230
|
+
// ---------------------------------------------------------------------------------------------
|
|
231
|
+
/**
|
|
232
|
+
* Data field used for the gauge.
|
|
233
|
+
*/
|
|
234
|
+
get field() {
|
|
235
|
+
return h(this._config);
|
|
236
|
+
}
|
|
237
|
+
set field(e) {
|
|
238
|
+
ce({
|
|
239
|
+
field: e,
|
|
240
|
+
config: this._config,
|
|
241
|
+
layerInfo: this.layerInfo,
|
|
242
|
+
commonStrings: this.commonStrings,
|
|
243
|
+
}),
|
|
244
|
+
this.dispatchEvent(new CustomEvent("geosceneChartsModelDataChange"));
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Aggregation type used for the gauge.
|
|
248
|
+
*
|
|
249
|
+
* Must be one of the values allowed by `WebChartStatisticType`, excluding `"no_aggregation"`.
|
|
250
|
+
*/
|
|
251
|
+
get aggregationType() {
|
|
252
|
+
return p(this._config);
|
|
253
|
+
}
|
|
254
|
+
set aggregationType(e) {
|
|
255
|
+
ge({
|
|
256
|
+
aggregationType: e,
|
|
257
|
+
config: this._config,
|
|
258
|
+
layerInfo: this.layerInfo,
|
|
259
|
+
commonStrings: this.commonStrings,
|
|
260
|
+
}),
|
|
261
|
+
this.dispatchEvent(new CustomEvent("geosceneChartsModelDataChange"));
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Inner radius of the gauge.
|
|
265
|
+
*/
|
|
266
|
+
get innerRadius() {
|
|
267
|
+
return pe(this._config);
|
|
268
|
+
}
|
|
269
|
+
set innerRadius(e) {
|
|
270
|
+
ue(e, this._config),
|
|
271
|
+
this.dispatchEvent(new CustomEvent("geosceneChartsModelDataChange"));
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Start angle of the gauge.
|
|
275
|
+
*/
|
|
276
|
+
get startAngle() {
|
|
277
|
+
return he(this._config);
|
|
278
|
+
}
|
|
279
|
+
set startAngle(e) {
|
|
280
|
+
fe(e, this._config),
|
|
281
|
+
this.dispatchEvent(new CustomEvent("geosceneChartsModelDataChange"));
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* End angle of the gauge.
|
|
285
|
+
*/
|
|
286
|
+
get endAngle() {
|
|
287
|
+
return me(this._config);
|
|
288
|
+
}
|
|
289
|
+
set endAngle(e) {
|
|
290
|
+
ye(e, this._config),
|
|
291
|
+
this.dispatchEvent(new CustomEvent("geosceneChartsModelDataChange"));
|
|
292
|
+
}
|
|
293
|
+
// ---------------------------------------------------------------------------------------------
|
|
294
|
+
// Series Props
|
|
295
|
+
// ---------------------------------------------------------------------------------------------
|
|
296
|
+
/**
|
|
297
|
+
* Conversion to apply to the gauge value.
|
|
298
|
+
*/
|
|
299
|
+
get valueConversion() {
|
|
300
|
+
return oe(this._config);
|
|
301
|
+
}
|
|
302
|
+
set valueConversion(e) {
|
|
303
|
+
re(e, this._config);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Gets the index of the feature to be rendered.
|
|
307
|
+
* - For statistic gauge, this property will be ignored.
|
|
308
|
+
* - For feature based gauge, if this property is not present, the first feature will be used (`featureIndex = 0`).
|
|
309
|
+
*/
|
|
310
|
+
get featureIndex() {
|
|
311
|
+
return S(this._config);
|
|
312
|
+
}
|
|
313
|
+
set featureIndex(e) {
|
|
314
|
+
f({
|
|
315
|
+
featureIndex: e,
|
|
316
|
+
config: this._config,
|
|
317
|
+
layerInfo: this.layerInfo,
|
|
318
|
+
commonStrings: this.commonStrings,
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
removeFeatureIndex() {
|
|
322
|
+
f({
|
|
323
|
+
featureIndex: null,
|
|
324
|
+
config: this._config,
|
|
325
|
+
layerInfo: this.layerInfo,
|
|
326
|
+
commonStrings: this.commonStrings,
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Type of gauge
|
|
331
|
+
* - `featureGauge` indicates that the gauge is based on a specific feature from the layer.
|
|
332
|
+
* - `statisticGauge` indicates that the gauge is based on a statistic value calculated from the layer's features.
|
|
333
|
+
*
|
|
334
|
+
* **Note**: When this property is not specified, it will be defaulted to `statisticGauge`.
|
|
335
|
+
*/
|
|
336
|
+
get gaugeSubType() {
|
|
337
|
+
return ae(this._config);
|
|
338
|
+
}
|
|
339
|
+
// ---------------------------------------------------------------------------------------------
|
|
340
|
+
// Axes Props
|
|
341
|
+
// ---------------------------------------------------------------------------------------------
|
|
342
|
+
/**
|
|
343
|
+
* Visibility of the gauge's needle.
|
|
344
|
+
*/
|
|
345
|
+
get needleVisibility() {
|
|
346
|
+
return G(this._config);
|
|
347
|
+
}
|
|
348
|
+
set needleVisibility(e) {
|
|
349
|
+
P(e, this._config);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Symbol of the gauge's needle.
|
|
353
|
+
*
|
|
354
|
+
* @example
|
|
355
|
+
* ```typescript
|
|
356
|
+
* gaugeModel.needleSymbol = {
|
|
357
|
+
* type: "esriSFS",
|
|
358
|
+
* color: [255, 0, 0, 255],
|
|
359
|
+
* };
|
|
360
|
+
* ```
|
|
361
|
+
*/
|
|
362
|
+
get needleSymbol() {
|
|
363
|
+
return k(this._config);
|
|
364
|
+
}
|
|
365
|
+
set needleSymbol(e) {
|
|
366
|
+
O(e, this._config);
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Start width of the gauge's needle.
|
|
370
|
+
*/
|
|
371
|
+
get needleStartWidth() {
|
|
372
|
+
return X(this._config);
|
|
373
|
+
}
|
|
374
|
+
set needleStartWidth(e) {
|
|
375
|
+
$(e, this._config);
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* End width of the gauge's needle.
|
|
379
|
+
*/
|
|
380
|
+
get needleEndWidth() {
|
|
381
|
+
return j(this._config);
|
|
382
|
+
}
|
|
383
|
+
set needleEndWidth(e) {
|
|
384
|
+
q(e, this._config);
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Inner radius of the gauge's needle.
|
|
388
|
+
*/
|
|
389
|
+
get needleInnerRadius() {
|
|
390
|
+
return B(this._config);
|
|
391
|
+
}
|
|
392
|
+
set needleInnerRadius(e) {
|
|
393
|
+
Q(e, this._config);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Whether to display the pin for the gauge's needle.
|
|
397
|
+
*/
|
|
398
|
+
get needleDisplayPin() {
|
|
399
|
+
return Y(this._config);
|
|
400
|
+
}
|
|
401
|
+
set needleDisplayPin(e) {
|
|
402
|
+
z(e, this._config);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Whether the inner label is visible.
|
|
406
|
+
*/
|
|
407
|
+
get innerLabelVisible() {
|
|
408
|
+
return H(this._config);
|
|
409
|
+
}
|
|
410
|
+
set innerLabelVisible(e) {
|
|
411
|
+
J(e, this._config);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Content symbol for the inner label.
|
|
415
|
+
*
|
|
416
|
+
* @example
|
|
417
|
+
* ```typescript
|
|
418
|
+
* gaugeModel.innerLabelContent = {
|
|
419
|
+
* type: "esriTS",
|
|
420
|
+
* text: "Inner label",
|
|
421
|
+
* };
|
|
422
|
+
* ```
|
|
423
|
+
*/
|
|
424
|
+
get innerLabelContent() {
|
|
425
|
+
return K(this._config);
|
|
426
|
+
}
|
|
427
|
+
set innerLabelContent(e) {
|
|
428
|
+
U(e, this._config);
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Whether axis ticks are visible.
|
|
432
|
+
*/
|
|
433
|
+
get axisTickVisibility() {
|
|
434
|
+
return Z(this._config);
|
|
435
|
+
}
|
|
436
|
+
set axisTickVisibility(e) {
|
|
437
|
+
ee(e, this._config);
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Labels increment for the gauge.
|
|
441
|
+
*/
|
|
442
|
+
get labelsIncrement() {
|
|
443
|
+
return te(this._config);
|
|
444
|
+
}
|
|
445
|
+
set labelsIncrement(e) {
|
|
446
|
+
ie(e, this._config);
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Whether to only show the first and last axis labels.
|
|
450
|
+
*/
|
|
451
|
+
get onlyShowFirstAndLastLabels() {
|
|
452
|
+
return se(this._config);
|
|
453
|
+
}
|
|
454
|
+
set onlyShowFirstAndLastLabels(e) {
|
|
455
|
+
ne(e, this._config);
|
|
456
|
+
}
|
|
457
|
+
// ---------------------------------------------------------------------------------------------
|
|
458
|
+
// Protected Methods
|
|
459
|
+
// ---------------------------------------------------------------------------------------------
|
|
460
|
+
/** @private */
|
|
461
|
+
generateDefaultConfig() {
|
|
462
|
+
const e = M(this.commonStrings);
|
|
463
|
+
return (
|
|
464
|
+
(e.series = [x({ objectIDField: N(this.layerInfo.layer).idField })]), e
|
|
465
|
+
);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
r([o], s.prototype, "field");
|
|
469
|
+
r([o], s.prototype, "aggregationType");
|
|
470
|
+
r([o], s.prototype, "innerRadius");
|
|
471
|
+
r([o], s.prototype, "startAngle");
|
|
472
|
+
r([o], s.prototype, "endAngle");
|
|
473
|
+
r([o], s.prototype, "valueConversion");
|
|
474
|
+
r([o], s.prototype, "featureIndex");
|
|
475
|
+
r([o], s.prototype, "removeFeatureIndex");
|
|
476
|
+
r([o], s.prototype, "needleVisibility");
|
|
477
|
+
r([o], s.prototype, "needleSymbol");
|
|
478
|
+
r([o], s.prototype, "needleStartWidth");
|
|
479
|
+
r([o], s.prototype, "needleEndWidth");
|
|
480
|
+
r([o], s.prototype, "needleInnerRadius");
|
|
481
|
+
r([o], s.prototype, "needleDisplayPin");
|
|
482
|
+
r([o], s.prototype, "innerLabelVisible");
|
|
483
|
+
r([o], s.prototype, "innerLabelContent");
|
|
484
|
+
r([o], s.prototype, "axisTickVisibility");
|
|
485
|
+
r([o], s.prototype, "labelsIncrement");
|
|
486
|
+
r([o], s.prototype, "onlyShowFirstAndLastLabels");
|
|
487
|
+
const ve = [A, L, W, T, _, I, C, F, R];
|
|
488
|
+
D(s, ve);
|
|
489
|
+
export { s as GaugeModel };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import { C as l, m as a } from "./model-setter.js";
|
|
3
|
+
import { g as x, b as m, c as f, d } from "./utils2.js";
|
|
4
|
+
import "@geoscene/toolkit/intl";
|
|
5
|
+
import "lodash-es";
|
|
6
|
+
import "luxon";
|
|
7
|
+
import "d3-array";
|
|
8
|
+
import "@geoscene/toolkit/type";
|
|
9
|
+
import "./series-types.js";
|
|
10
|
+
import { d3 as n, ay as h } from "./index.js";
|
|
11
|
+
import "@geoscene/core/Graphic.js";
|
|
12
|
+
import "@geoscene/core/renderers/support/jsonUtils.js";
|
|
13
|
+
import "@geoscene/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@geoscene/core/intl.js";
|
|
15
|
+
import "@geoscene/core/layers/support/FeatureFilter.js";
|
|
16
|
+
import "@geoscene/core/smartMapping/statistics/histogram.js";
|
|
17
|
+
import "@geoscene/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
+
import "simple-statistics";
|
|
19
|
+
import "@geoscene/core/request.js";
|
|
20
|
+
import "@geoscene/core/core/sql.js";
|
|
21
|
+
import "@geoscene/core/AttributeBinsGraphic.js";
|
|
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 "./runtime.js";
|
|
28
|
+
import "@geoscene/toolkit/dom";
|
|
29
|
+
import { g as T, d as c, f as u, h as y, j as g } from "./type-guards.js";
|
|
30
|
+
var A = Object.defineProperty,
|
|
31
|
+
_ = Object.getOwnPropertyDescriptor,
|
|
32
|
+
v = (t, i, s, p) => {
|
|
33
|
+
for (var e = _(i, s), r = t.length - 1, o; r >= 0; r--)
|
|
34
|
+
(o = t[r]) && (e = o(i, s, e) || e);
|
|
35
|
+
return e && A(i, s, e), e;
|
|
36
|
+
};
|
|
37
|
+
function ei(t) {
|
|
38
|
+
return t !== void 0 && "xAxisTitleText" in t;
|
|
39
|
+
}
|
|
40
|
+
class b extends l {
|
|
41
|
+
/**
|
|
42
|
+
* The x-axis title text.
|
|
43
|
+
*/
|
|
44
|
+
get xAxisTitleText() {
|
|
45
|
+
return x(0, this._config);
|
|
46
|
+
}
|
|
47
|
+
set xAxisTitleText(i) {
|
|
48
|
+
m(i, 0, this._config);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
v([a], b.prototype, "xAxisTitleText");
|
|
52
|
+
var P = Object.defineProperty,
|
|
53
|
+
C = Object.getOwnPropertyDescriptor,
|
|
54
|
+
M = (t, i, s, p) => {
|
|
55
|
+
for (var e = C(i, s), r = t.length - 1, o; r >= 0; r--)
|
|
56
|
+
(o = t[r]) && (e = o(i, s, e) || e);
|
|
57
|
+
return e && P(i, s, e), e;
|
|
58
|
+
};
|
|
59
|
+
function si(t) {
|
|
60
|
+
return t !== void 0 && "xAxisTitleVisibility" in t;
|
|
61
|
+
}
|
|
62
|
+
class O extends l {
|
|
63
|
+
/**
|
|
64
|
+
* Whether the x-axis title is visible.
|
|
65
|
+
* `true`: X-axis title is visible.
|
|
66
|
+
* `false`: X-axis title is hidden.
|
|
67
|
+
*/
|
|
68
|
+
get xAxisTitleVisibility() {
|
|
69
|
+
return f(0, this._config);
|
|
70
|
+
}
|
|
71
|
+
set xAxisTitleVisibility(i) {
|
|
72
|
+
d(i, 0, this._config);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
M([a], O.prototype, "xAxisTitleVisibility");
|
|
76
|
+
function ri(t) {
|
|
77
|
+
return t !== void 0 && "generateXAxisTitle" in t;
|
|
78
|
+
}
|
|
79
|
+
class oi extends l {
|
|
80
|
+
/**
|
|
81
|
+
* Generate the proper x-axis title from the current config.
|
|
82
|
+
*/
|
|
83
|
+
generateXAxisTitle() {
|
|
84
|
+
const i = this.layerInfo?.layerFieldsInfo;
|
|
85
|
+
if (i === void 0) return "";
|
|
86
|
+
if (T(this) || c(this)) return n(i, this.xAxisField);
|
|
87
|
+
if (u(this)) return this.category !== h ? n(i, this.category) : "";
|
|
88
|
+
if (y(this)) return n(i, this.numericField);
|
|
89
|
+
if (g(this)) {
|
|
90
|
+
const s = this.xTemporalBinning?.unit;
|
|
91
|
+
return s !== void 0
|
|
92
|
+
? this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[s]
|
|
93
|
+
: "";
|
|
94
|
+
}
|
|
95
|
+
return "";
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export { b as W, O as a, oi as b, ri as c, si as d, ei as i };
|