@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,684 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import { a as Z } from "./7I5Y5NSS.js";
|
|
3
|
+
import { a as x } from "./HAGP76HP.js";
|
|
4
|
+
import { a as q } from "./FEJD2JHY.js";
|
|
5
|
+
import { a as $, c as K, d as H, f as j } from "./ZLQXY2BV.js";
|
|
6
|
+
import l from "./5752NFTR.js";
|
|
7
|
+
import { g as a, o as C } from "./DPJE33GY.js";
|
|
8
|
+
import { a as A } from "./VAB3BCTX.js";
|
|
9
|
+
import i from "./AENRD2JF.js";
|
|
10
|
+
import g from "./P5SSZWMH.js";
|
|
11
|
+
import "./UG7LOBJE.js";
|
|
12
|
+
import e from "./A7YNU2NS.js";
|
|
13
|
+
import { n as f } from "./4B3QBH5T.js";
|
|
14
|
+
import "./XLDY6CTA.js";
|
|
15
|
+
import { a as d } from "./KUVOINJC.js";
|
|
16
|
+
import { a as p, b as h, k as S, n as b } from "./NKG4FLLR.js";
|
|
17
|
+
import {
|
|
18
|
+
A as r,
|
|
19
|
+
D as E,
|
|
20
|
+
F as T,
|
|
21
|
+
g as k,
|
|
22
|
+
h as n,
|
|
23
|
+
j as w,
|
|
24
|
+
m as u,
|
|
25
|
+
x as c,
|
|
26
|
+
y as m,
|
|
27
|
+
z as O,
|
|
28
|
+
} from "./KRZ433BT.js";
|
|
29
|
+
import "./OR4HXHSY.js";
|
|
30
|
+
export default $geoscene.t(
|
|
31
|
+
([
|
|
32
|
+
,
|
|
33
|
+
,
|
|
34
|
+
,
|
|
35
|
+
,
|
|
36
|
+
,
|
|
37
|
+
,
|
|
38
|
+
,
|
|
39
|
+
{
|
|
40
|
+
Gb: y,
|
|
41
|
+
Hb: z,
|
|
42
|
+
Ia: D,
|
|
43
|
+
Ja: _,
|
|
44
|
+
Lb: R,
|
|
45
|
+
Nc: B,
|
|
46
|
+
Pc: V,
|
|
47
|
+
Ra: N,
|
|
48
|
+
f: P,
|
|
49
|
+
gd: I,
|
|
50
|
+
yb: F,
|
|
51
|
+
},
|
|
52
|
+
,
|
|
53
|
+
{ h: M },
|
|
54
|
+
{ a: U },
|
|
55
|
+
]) => {
|
|
56
|
+
var l = {
|
|
57
|
+
label: "label",
|
|
58
|
+
fieldList: "field-list",
|
|
59
|
+
fab: "fab",
|
|
60
|
+
disabledLabel: "disabled-label",
|
|
61
|
+
timeBinningHeader: "time-binning-header",
|
|
62
|
+
linkContainer: "link-container",
|
|
63
|
+
list: "list",
|
|
64
|
+
customSortButtons: "custom-sort-buttons",
|
|
65
|
+
dimText: "dim-text",
|
|
66
|
+
intervalContainer: "interval-container",
|
|
67
|
+
},
|
|
68
|
+
Q = k`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--geoscene-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--geoscene-charts-config-calcite-block-default-width);margin:var(--geoscene-charts-config-calcite-block-default-margin);margin-top:var(--geoscene-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--geoscene-charts-config-margin-minor);margin-right:var(--geoscene-charts-config-margin-minor);margin-bottom:var(--geoscene-charts-config-margin-minor);justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--geoscene-charts-config-margin-minor);margin-right:var(--geoscene-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}.list{margin-left:var(--geoscene-charts-config-margin-minor);margin-right:var(--geoscene-charts-config-margin-minor);margin-bottom:var(--geoscene-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.mb-2{margin-bottom:var(--geoscene-charts-config-margin-minor)}.interval-container{margin-left:var(--geoscene-charts-config-margin-minor);margin-right:var(--geoscene-charts-config-margin-minor);margin-bottom:var(--geoscene-charts-config-margin-minor)}`,
|
|
69
|
+
L = class extends O {
|
|
70
|
+
constructor() {
|
|
71
|
+
super(...arguments),
|
|
72
|
+
(this._messages = A()),
|
|
73
|
+
(this.commonStrings = A({ name: "common", blocking: !0 })),
|
|
74
|
+
(this.barChartPopover = null),
|
|
75
|
+
(this.sortOrderElement = c()),
|
|
76
|
+
(this.aggregationElement = c()),
|
|
77
|
+
(this.categoryElement = c()),
|
|
78
|
+
(this.numericFieldsElement = c()),
|
|
79
|
+
(this.splitByFieldElement = c()),
|
|
80
|
+
(this.enableTimeBinningSwitch = c()),
|
|
81
|
+
(this.intervalAlignmentElement = c()),
|
|
82
|
+
(this.intervalElement = c()),
|
|
83
|
+
(this.originalCustomSortLabels = []),
|
|
84
|
+
(this.isCustomSortDisabled = !1),
|
|
85
|
+
(this.onBarChartDataChange = async (e) => {
|
|
86
|
+
try {
|
|
87
|
+
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
88
|
+
let { contentKind: i } = e.detail,
|
|
89
|
+
t = [...e.detail.value];
|
|
90
|
+
switch ((K($), i)) {
|
|
91
|
+
case a.aggregation:
|
|
92
|
+
this.model.aggregationType =
|
|
93
|
+
t[0] !== h.NoAggregation ? t[0] : h.NoAggregation;
|
|
94
|
+
break;
|
|
95
|
+
case a.category: {
|
|
96
|
+
let s = t[0]?.trim() || "";
|
|
97
|
+
if (
|
|
98
|
+
((this.model.xAxisField = s),
|
|
99
|
+
this.model.getSortOrder() === d.customSort)
|
|
100
|
+
) {
|
|
101
|
+
let o = await this.updateCustomSortProps();
|
|
102
|
+
(this.model.orderByList = o),
|
|
103
|
+
(this.sortOrderResetCounter += 1);
|
|
104
|
+
}
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
case a.numericFields:
|
|
108
|
+
if (
|
|
109
|
+
((this.model.numericFields = t),
|
|
110
|
+
(this.model.numericFields ?? []).length > 0 &&
|
|
111
|
+
this.model.aggregationType === h.Count &&
|
|
112
|
+
this.model.numericFields[0] !==
|
|
113
|
+
B(this.model.layer).idField &&
|
|
114
|
+
(this.model.aggregationType = h.Sum),
|
|
115
|
+
this.model.getSortOrder() === d.customSort)
|
|
116
|
+
) {
|
|
117
|
+
let s = await this.updateCustomSortProps();
|
|
118
|
+
(this.model.orderByList = s),
|
|
119
|
+
(this.sortOrderResetCounter += 1);
|
|
120
|
+
}
|
|
121
|
+
break;
|
|
122
|
+
case a.splitByField: {
|
|
123
|
+
let s = t[0]?.trim() || "";
|
|
124
|
+
(this.model.splitByField = s),
|
|
125
|
+
(this.model.colorMatch = !0);
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
case a.sortOrder: {
|
|
129
|
+
let s = t[0];
|
|
130
|
+
if (s === d.customSort) {
|
|
131
|
+
let o = await this.updateCustomSortProps();
|
|
132
|
+
this.model.setSortOrder(s, o);
|
|
133
|
+
} else this.model.setSortOrder(s);
|
|
134
|
+
this.sortOrderResetCounter += 1;
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
case a.interval:
|
|
138
|
+
(this.model.temporalBinningSize = t[0]?.intervalSize),
|
|
139
|
+
(this.model.temporalBinningUnit = t[0]?.intervalUnits),
|
|
140
|
+
this.geosceneChartsConfigCustomizedTimeInterval.emit();
|
|
141
|
+
break;
|
|
142
|
+
case a.intervalAlignment:
|
|
143
|
+
this.model.timeAggregationType = t[0] ?? "";
|
|
144
|
+
break;
|
|
145
|
+
default:
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
i !== a.interval && i !== a.intervalAlignment && j($);
|
|
149
|
+
}
|
|
150
|
+
} catch (i) {
|
|
151
|
+
throw (
|
|
152
|
+
(this.geosceneChartsConfigDataChangeError.emit({
|
|
153
|
+
error: i,
|
|
154
|
+
model: this.model,
|
|
155
|
+
}),
|
|
156
|
+
i)
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
this.removeBarChartDataPopover(), this.requestUpdate();
|
|
160
|
+
}),
|
|
161
|
+
(this.onModelConfigChange = () => {
|
|
162
|
+
this.requestUpdate();
|
|
163
|
+
}),
|
|
164
|
+
(this.popoverClose = (e) => {
|
|
165
|
+
this.barChartPopover === e?.target &&
|
|
166
|
+
this.removeBarChartDataPopover();
|
|
167
|
+
}),
|
|
168
|
+
(this.selectedCustomSortItemId = ""),
|
|
169
|
+
(this.sortOrderResetCounter = 0),
|
|
170
|
+
(this.layerFieldsInfo = []),
|
|
171
|
+
(this.geosceneChartsConfigBarChartDataNumericFieldValidate = u()),
|
|
172
|
+
(this.geosceneChartsConfigDataChangeError = u()),
|
|
173
|
+
(this.geosceneChartsConfigResetTimeInterval = u()),
|
|
174
|
+
(this.geosceneChartsConfigCustomizedTimeInterval = u());
|
|
175
|
+
}
|
|
176
|
+
static {
|
|
177
|
+
this.properties = {
|
|
178
|
+
selectedCustomSortItemId: 16,
|
|
179
|
+
aggregationLabel: 16,
|
|
180
|
+
timeAggregationLabel: 16,
|
|
181
|
+
disableSplitBy: 16,
|
|
182
|
+
sortOrderResetCounter: 16,
|
|
183
|
+
messageOverrides: 0,
|
|
184
|
+
model: 0,
|
|
185
|
+
layerFieldsInfo: 0,
|
|
186
|
+
open: 5,
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
static {
|
|
190
|
+
this.styles = Q;
|
|
191
|
+
}
|
|
192
|
+
load() {
|
|
193
|
+
this.modelChange(this.model),
|
|
194
|
+
this.onModelConfigChange(),
|
|
195
|
+
(this.currentDataFilter = this.model.getDataFilters()),
|
|
196
|
+
this.updateCustomSortProps();
|
|
197
|
+
}
|
|
198
|
+
willUpdate(e) {
|
|
199
|
+
e.has("model") && this.modelChange(this.model, e.get("model")),
|
|
200
|
+
(this.aggregationLabel = D(
|
|
201
|
+
this.model.aggregationType,
|
|
202
|
+
this.commonStrings
|
|
203
|
+
)),
|
|
204
|
+
f(this.model.getDataFilters(), this.currentDataFilter) ||
|
|
205
|
+
(this.model.getSortOrder() === d.customSort &&
|
|
206
|
+
this.updateCustomSortProps(),
|
|
207
|
+
(this.currentDataFilter = this.model.getDataFilters()));
|
|
208
|
+
let i = this.model.timeAggregationType;
|
|
209
|
+
i !== void 0 &&
|
|
210
|
+
(this.timeAggregationLabel = _(i, this.commonStrings)),
|
|
211
|
+
(this.disableSplitBy =
|
|
212
|
+
this.model.numericFields.length > 1 ||
|
|
213
|
+
this.model.xAxisField === "" ||
|
|
214
|
+
this.model.xAxisField === P);
|
|
215
|
+
}
|
|
216
|
+
disconnectedCallback() {
|
|
217
|
+
super.disconnectedCallback(),
|
|
218
|
+
this.removeBarChartDataPopover(),
|
|
219
|
+
this.model.removeEventListener(
|
|
220
|
+
"geosceneChartsModelConfigChange",
|
|
221
|
+
this.onModelConfigChange
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
modelChange(e, i) {
|
|
225
|
+
i?.removeEventListener(
|
|
226
|
+
"geosceneChartsModelConfigChange",
|
|
227
|
+
this.onModelConfigChange
|
|
228
|
+
),
|
|
229
|
+
e?.addEventListener(
|
|
230
|
+
"geosceneChartsModelConfigChange",
|
|
231
|
+
this.onModelConfigChange
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
onCalciteListOrderChange(e) {
|
|
235
|
+
if (e.detail !== null && e.detail !== void 0) {
|
|
236
|
+
let { newIndex: i, oldIndex: t } = e.detail;
|
|
237
|
+
this.model.moveCustomSortValuesInOrderByList(t, i);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
onCustomSortItemSelected(e) {
|
|
241
|
+
let { id: i } = e.target;
|
|
242
|
+
this.selectedCustomSortItemId =
|
|
243
|
+
this.selectedCustomSortItemId === i ? "" : i;
|
|
244
|
+
}
|
|
245
|
+
onCustomSortItemMoved(e) {
|
|
246
|
+
let { id: i } = e.target,
|
|
247
|
+
t = this.model.orderByList.length,
|
|
248
|
+
s = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
249
|
+
i === C.Up ? (t = s - 1) : i === C.Down && (t = s + 1),
|
|
250
|
+
s >= 0 &&
|
|
251
|
+
t >= 0 &&
|
|
252
|
+
t < this.model.orderByList.length &&
|
|
253
|
+
(this.model.moveCustomSortValuesInOrderByList(s, t),
|
|
254
|
+
(this.sortOrderResetCounter += 1));
|
|
255
|
+
}
|
|
256
|
+
onEnableTimeBinningChange(e) {
|
|
257
|
+
let i = e.target.checked;
|
|
258
|
+
(this.model.binTemporalData = i), this.requestUpdate();
|
|
259
|
+
}
|
|
260
|
+
buildNumericFieldItem(e) {
|
|
261
|
+
return x(
|
|
262
|
+
e,
|
|
263
|
+
n`<calcite-list-item .label=${y(
|
|
264
|
+
this.layerFieldsInfo,
|
|
265
|
+
e
|
|
266
|
+
)} .value=${e} closable @calciteListItemClose=${
|
|
267
|
+
this.onRemoveNumericField
|
|
268
|
+
}></calcite-list-item>`
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
resetTimeIntervalOriginal(e) {
|
|
272
|
+
this.popoverClose(e),
|
|
273
|
+
this.model.resetTimeInterval !== void 0 &&
|
|
274
|
+
(this.model.resetTimeInterval(),
|
|
275
|
+
this.geosceneChartsConfigResetTimeInterval.emit());
|
|
276
|
+
}
|
|
277
|
+
buildCustomSortListItems() {
|
|
278
|
+
return Z(
|
|
279
|
+
this.model.orderByList,
|
|
280
|
+
(e) => e,
|
|
281
|
+
(e) => {
|
|
282
|
+
let i = z(this.layerFieldsInfo, e),
|
|
283
|
+
t =
|
|
284
|
+
this.model.nullCategory !== void 0 &&
|
|
285
|
+
e.trim() === N.nullCategory?.text?.trim();
|
|
286
|
+
return n`<calcite-list-item id=${
|
|
287
|
+
e ?? w
|
|
288
|
+
} .label=${e} .closed=${t} .description=${i} .value=${e} .selected=${
|
|
289
|
+
this.selectedCustomSortItemId === e
|
|
290
|
+
} @calciteListItemSelect=${
|
|
291
|
+
this.onCustomSortItemSelected
|
|
292
|
+
}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`;
|
|
293
|
+
}
|
|
294
|
+
);
|
|
295
|
+
}
|
|
296
|
+
buildCustomSortList() {
|
|
297
|
+
return x(
|
|
298
|
+
this.sortOrderResetCounter,
|
|
299
|
+
n`<calcite-list label class=${r(
|
|
300
|
+
l.list
|
|
301
|
+
)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${
|
|
302
|
+
this.onCalciteListOrderChange
|
|
303
|
+
}>${this.buildCustomSortListItems()}</calcite-list>`
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
onAggregationSelect(e) {
|
|
307
|
+
(this.contentKind = a.aggregation), this.setupPopover(e);
|
|
308
|
+
}
|
|
309
|
+
onSortOrderSelect(e) {
|
|
310
|
+
(this.contentKind = a.sortOrder), this.setupPopover(e);
|
|
311
|
+
}
|
|
312
|
+
onCategorySelect(e) {
|
|
313
|
+
(this.contentKind = a.category), this.setupPopover(e);
|
|
314
|
+
}
|
|
315
|
+
onSplitBySelect(e) {
|
|
316
|
+
this.splitByFieldElement.value &&
|
|
317
|
+
!this.splitByFieldElement.value.disabled &&
|
|
318
|
+
((this.contentKind = a.splitByField), this.setupPopover(e));
|
|
319
|
+
}
|
|
320
|
+
onAddNumericFields(e) {
|
|
321
|
+
(this.contentKind = a.numericFields), this.setupPopover(e);
|
|
322
|
+
}
|
|
323
|
+
async onRemoveNumericField(e) {
|
|
324
|
+
let i = e.target.value;
|
|
325
|
+
if (
|
|
326
|
+
((this.model.numericFields = this.model.numericFields.filter(
|
|
327
|
+
(t) => t !== i
|
|
328
|
+
)),
|
|
329
|
+
this.model.getSortOrder() === d.customSort)
|
|
330
|
+
) {
|
|
331
|
+
let t = await this.updateCustomSortProps();
|
|
332
|
+
(this.model.orderByList = t), (this.sortOrderResetCounter += 1);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
onIntervalAlignmentSelect(e) {
|
|
336
|
+
this.intervalAlignmentElement.value &&
|
|
337
|
+
!this.intervalAlignmentElement.value.disabled &&
|
|
338
|
+
((this.contentKind = a.intervalAlignment), this.setupPopover(e));
|
|
339
|
+
}
|
|
340
|
+
onIntervalSelect(e) {
|
|
341
|
+
this.intervalElement.value &&
|
|
342
|
+
!this.intervalElement.value.disabled &&
|
|
343
|
+
((this.contentKind = a.interval), this.setupPopover(e));
|
|
344
|
+
}
|
|
345
|
+
getCorrectedSplitByValue() {
|
|
346
|
+
return this.model.splitByField === "" ||
|
|
347
|
+
(this.model.numericFields ?? []).length > 1
|
|
348
|
+
? ""
|
|
349
|
+
: y(this.layerFieldsInfo, this.model.splitByField);
|
|
350
|
+
}
|
|
351
|
+
getCorrectedCategoryValue() {
|
|
352
|
+
return M({
|
|
353
|
+
fieldName: this.model.xAxisField,
|
|
354
|
+
fieldList: this.layerFieldsInfo,
|
|
355
|
+
})
|
|
356
|
+
? ""
|
|
357
|
+
: y(this.layerFieldsInfo, this.model.xAxisField);
|
|
358
|
+
}
|
|
359
|
+
onShowDataLabelsChange(e) {
|
|
360
|
+
this.model.dataLabelsVisibility = e.target.checked;
|
|
361
|
+
}
|
|
362
|
+
onTreatNullAsCategoryChange(e) {
|
|
363
|
+
this.model.fetchNULLValues = e.target.checked;
|
|
364
|
+
}
|
|
365
|
+
async updateCustomSortProps() {
|
|
366
|
+
let e = await this.model.getCustomSortValues();
|
|
367
|
+
this.originalCustomSortLabels = [...e];
|
|
368
|
+
let i = e.length > U.customSortLimit;
|
|
369
|
+
return (
|
|
370
|
+
i &&
|
|
371
|
+
(this.sortOrderElement.value &&
|
|
372
|
+
(this.sortOrderElement.value.label = this._messages.xAxisAsc),
|
|
373
|
+
this.model.setSortOrder(d.xAxisAsc)),
|
|
374
|
+
(this.isCustomSortDisabled = i),
|
|
375
|
+
e
|
|
376
|
+
);
|
|
377
|
+
}
|
|
378
|
+
setupPopover(e) {
|
|
379
|
+
e.stopImmediatePropagation(), this.removeBarChartDataPopover();
|
|
380
|
+
let i = {
|
|
381
|
+
size: this.model.temporalBinningSize ?? 1,
|
|
382
|
+
unit: this.model.temporalBinningUnit ?? S.Second,
|
|
383
|
+
},
|
|
384
|
+
t,
|
|
385
|
+
s,
|
|
386
|
+
o,
|
|
387
|
+
g = !1,
|
|
388
|
+
v = !1;
|
|
389
|
+
switch (this.contentKind) {
|
|
390
|
+
case a.aggregation:
|
|
391
|
+
(t = this.aggregationElement.value),
|
|
392
|
+
(s = this._messages.aggregationHeader),
|
|
393
|
+
(g =
|
|
394
|
+
I(this.model.config.series ?? []) === F.BarAndLineFromFields),
|
|
395
|
+
(o = this.model.aggregationType);
|
|
396
|
+
break;
|
|
397
|
+
case a.category:
|
|
398
|
+
(t = this.categoryElement.value),
|
|
399
|
+
(s = this._messages.categoryHeader),
|
|
400
|
+
(o = this.model.xAxisField);
|
|
401
|
+
break;
|
|
402
|
+
case a.numericFields:
|
|
403
|
+
(t = this.numericFieldsElement.value),
|
|
404
|
+
(s = this._messages.numericFieldsHeader),
|
|
405
|
+
(o = this.model.numericFields);
|
|
406
|
+
break;
|
|
407
|
+
case a.splitByField:
|
|
408
|
+
(t = this.splitByFieldElement.value),
|
|
409
|
+
(s = this._messages.splitByFieldHeader),
|
|
410
|
+
(o = this.model.splitByField);
|
|
411
|
+
break;
|
|
412
|
+
case a.sortOrder:
|
|
413
|
+
(t = this.sortOrderElement.value),
|
|
414
|
+
(s = this._messages.sortOrderHeader),
|
|
415
|
+
(o = this.model.getSortOrder()),
|
|
416
|
+
(v = this.isCustomSortDisabled);
|
|
417
|
+
break;
|
|
418
|
+
case a.interval:
|
|
419
|
+
(t = this.intervalElement.value),
|
|
420
|
+
(s = this._messages.editInterval),
|
|
421
|
+
(o = i);
|
|
422
|
+
break;
|
|
423
|
+
case a.intervalAlignment:
|
|
424
|
+
(t = this.intervalAlignmentElement.value),
|
|
425
|
+
(s = this._messages.intervalAlignment),
|
|
426
|
+
(o = this.model.timeAggregationType ?? "");
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
(this.barChartPopover = E(
|
|
430
|
+
n`<geoscene-charts-config-bar-chart-popover .headingTitle=${s} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} .isCustomSortDisabled=${v} .isNoAggregationDisabled=${g} @geosceneChartsConfigBarChartDataPopoverChange=${this.onBarChartDataChange} @geosceneChartsConfigPopoverClose=${this.popoverClose}></geoscene-charts-config-bar-chart-popover>`
|
|
431
|
+
)),
|
|
432
|
+
!document.body.contains(this.barChartPopover) &&
|
|
433
|
+
this.barChartPopover !== null &&
|
|
434
|
+
document.body.appendChild(this.barChartPopover);
|
|
435
|
+
}
|
|
436
|
+
removeBarChartDataPopover() {
|
|
437
|
+
this.barChartPopover !== null &&
|
|
438
|
+
((this.barChartPopover.open = !1),
|
|
439
|
+
(this.barChartPopover = q(this.barChartPopover)));
|
|
440
|
+
}
|
|
441
|
+
resetToOriginalCustomSortLabels() {
|
|
442
|
+
(this.selectedCustomSortItemId = ""),
|
|
443
|
+
(this.model.orderByList = [...this.originalCustomSortLabels]),
|
|
444
|
+
(this.sortOrderResetCounter += 1);
|
|
445
|
+
}
|
|
446
|
+
onTrimIncompleteIntervalChange(e) {
|
|
447
|
+
this.model.trimIncompleteTimeInterval = e.target.checked;
|
|
448
|
+
}
|
|
449
|
+
onNullPolicyChange(e) {
|
|
450
|
+
this.model.nullPolicy = e.target.selectedItem.value;
|
|
451
|
+
}
|
|
452
|
+
shouldShowTimeBinning() {
|
|
453
|
+
let e = this.layerFieldsInfo.find(
|
|
454
|
+
(t) => t.name === this.model.xAxisField
|
|
455
|
+
),
|
|
456
|
+
i = this.model.aggregationType !== h.NoAggregation;
|
|
457
|
+
return e !== void 0 && V(e) && i;
|
|
458
|
+
}
|
|
459
|
+
renderSorting() {
|
|
460
|
+
return n`<geoscene-charts-config-field-select .disabled=${
|
|
461
|
+
this.model.getAxisValueFormat(0)?.type === p.DateAxisFormat
|
|
462
|
+
} .label=${
|
|
463
|
+
this.model.getAxisValueFormat(0)?.type === p.DateAxisFormat
|
|
464
|
+
? this._messages.xAxisAsc
|
|
465
|
+
: this._messages[this.model.getSortOrder()]
|
|
466
|
+
} @click=${this.onSortOrderSelect} ${m(
|
|
467
|
+
this.sortOrderElement
|
|
468
|
+
)}></geoscene-charts-config-field-select>`;
|
|
469
|
+
}
|
|
470
|
+
renderAggregation() {
|
|
471
|
+
return n`<geoscene-charts-config-field-select .label=${
|
|
472
|
+
this.model.aggregationType === h.NoAggregation
|
|
473
|
+
? this._messages.noAggregation
|
|
474
|
+
: this.aggregationLabel
|
|
475
|
+
} @click=${this.onAggregationSelect} ${m(
|
|
476
|
+
this.aggregationElement
|
|
477
|
+
)}></geoscene-charts-config-field-select>`;
|
|
478
|
+
}
|
|
479
|
+
renderCategory() {
|
|
480
|
+
let e = this.getCorrectedCategoryValue();
|
|
481
|
+
return n`<geoscene-charts-config-field-select .label=${e} @click=${
|
|
482
|
+
this.onCategorySelect
|
|
483
|
+
} ${m(this.categoryElement)}></geoscene-charts-config-field-select>`;
|
|
484
|
+
}
|
|
485
|
+
renderSplitBy() {
|
|
486
|
+
let e = this.getCorrectedSplitByValue();
|
|
487
|
+
return n`<geoscene-charts-config-field-select .label=${e} .disabled=${
|
|
488
|
+
this.disableSplitBy
|
|
489
|
+
} @click=${this.onSplitBySelect} ${m(
|
|
490
|
+
this.splitByFieldElement
|
|
491
|
+
)}></geoscene-charts-config-field-select>`;
|
|
492
|
+
}
|
|
493
|
+
renderNumericFields(e) {
|
|
494
|
+
let i = B(this.model.layer).idField,
|
|
495
|
+
t = [];
|
|
496
|
+
for (let s of e) s !== i && t.push(this.buildNumericFieldItem(s));
|
|
497
|
+
return n`<calcite-list label class=${r(l.fieldList)} ${m(
|
|
498
|
+
this.numericFieldsElement
|
|
499
|
+
)}>${t}</calcite-list>`;
|
|
500
|
+
}
|
|
501
|
+
renderCustomSortUI() {
|
|
502
|
+
let e = this.model.getSortOrder(),
|
|
503
|
+
i = this.model.getAxisValueFormat(0)?.type,
|
|
504
|
+
t = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
505
|
+
return i === p.CategoryAxisFormat &&
|
|
506
|
+
e === d.customSort &&
|
|
507
|
+
!this.isCustomSortDisabled
|
|
508
|
+
? n`<calcite-label class=${r(l.label)}><div class=${r(
|
|
509
|
+
l.customSortButtons
|
|
510
|
+
)}><div><calcite-button appearance=transparent .disabled=${
|
|
511
|
+
t === 0 ||
|
|
512
|
+
t === -1 ||
|
|
513
|
+
this.selectedCustomSortItemId.trim() === ""
|
|
514
|
+
} icon-start=arrow-bold-up id=${
|
|
515
|
+
C.Up
|
|
516
|
+
} kind=neutral scale=s @click=${
|
|
517
|
+
this.onCustomSortItemMoved
|
|
518
|
+
}></calcite-button><calcite-button appearance=transparent .disabled=${
|
|
519
|
+
t === -1 ||
|
|
520
|
+
t === this.model.orderByList.length - 1 ||
|
|
521
|
+
this.selectedCustomSortItemId.trim() === ""
|
|
522
|
+
} icon-start=arrow-bold-down id=${
|
|
523
|
+
C.Down
|
|
524
|
+
} kind=neutral scale=s @click=${
|
|
525
|
+
this.onCustomSortItemMoved
|
|
526
|
+
}></calcite-button></div><calcite-button @click=${
|
|
527
|
+
this.resetToOriginalCustomSortLabels
|
|
528
|
+
} .disabled=${f(
|
|
529
|
+
this.model.orderByList,
|
|
530
|
+
this.originalCustomSortLabels
|
|
531
|
+
)} appearance=transparent icon-end=reset>${
|
|
532
|
+
this._messages.reset
|
|
533
|
+
}</calcite-button></div>${
|
|
534
|
+
I(this.model.config.series ?? []) === F.BarAndLineFromFields
|
|
535
|
+
? this._messages.values
|
|
536
|
+
: this._messages.category
|
|
537
|
+
}${this.buildCustomSortList()}</calcite-label>`
|
|
538
|
+
: null;
|
|
539
|
+
}
|
|
540
|
+
renderInterval() {
|
|
541
|
+
let e = (this.model.temporalBinningSize ?? 0) <= 0,
|
|
542
|
+
i = this.model.temporalBinningSize ?? "",
|
|
543
|
+
t =
|
|
544
|
+
R(this.model.temporalBinningUnit ?? S.Second, this._messages) ??
|
|
545
|
+
"",
|
|
546
|
+
s = H($),
|
|
547
|
+
o = {
|
|
548
|
+
size: this.model.temporalBinningSize,
|
|
549
|
+
unit: this.model.temporalBinningUnit,
|
|
550
|
+
},
|
|
551
|
+
g = f(o, s);
|
|
552
|
+
return [
|
|
553
|
+
n`<calcite-list label selection-appearance=border class=${r(
|
|
554
|
+
l.intervalContainer
|
|
555
|
+
)}><calcite-list-item .value=${e ? "" : `${i} ${t}`} .label=${
|
|
556
|
+
e ? "" : `${i} ${t}`
|
|
557
|
+
} @click=${e ? () => {} : this.onIntervalSelect} ${m(
|
|
558
|
+
this.intervalElement
|
|
559
|
+
)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,
|
|
560
|
+
n`<div class=${r(
|
|
561
|
+
l.linkContainer
|
|
562
|
+
)}><calcite-button .disabled=${g} appearance=transparent scale=s icon-end=reset @click=${
|
|
563
|
+
this.resetTimeIntervalOriginal
|
|
564
|
+
}>${this._messages.reset}</calcite-button></div>`,
|
|
565
|
+
];
|
|
566
|
+
}
|
|
567
|
+
renderIntervalAlignment() {
|
|
568
|
+
return n`<geoscene-charts-config-field-select .label=${
|
|
569
|
+
this.timeAggregationLabel
|
|
570
|
+
} @click=${this.onIntervalAlignmentSelect} ${m(
|
|
571
|
+
this.intervalAlignmentElement
|
|
572
|
+
)}></geoscene-charts-config-field-select>`;
|
|
573
|
+
}
|
|
574
|
+
renderEmptyBins() {
|
|
575
|
+
return n`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${
|
|
576
|
+
this.onNullPolicyChange
|
|
577
|
+
}><calcite-label layout=inline><calcite-radio-button .value=${
|
|
578
|
+
b.Zero
|
|
579
|
+
} .checked=${
|
|
580
|
+
this.model.nullPolicy === b.Zero
|
|
581
|
+
}></calcite-radio-button>${
|
|
582
|
+
this._messages.treatAsZero
|
|
583
|
+
}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${
|
|
584
|
+
b.Null
|
|
585
|
+
} .checked=${
|
|
586
|
+
this.model.nullPolicy === b.Null
|
|
587
|
+
}></calcite-radio-button>${
|
|
588
|
+
this._messages.treatAsNull
|
|
589
|
+
}</calcite-label></calcite-radio-button-group>`;
|
|
590
|
+
}
|
|
591
|
+
render() {
|
|
592
|
+
let e = this.renderAggregation(),
|
|
593
|
+
i = this.renderCategory(),
|
|
594
|
+
t = this.renderSplitBy(),
|
|
595
|
+
s = this.renderSorting(),
|
|
596
|
+
o = this.renderNumericFields([...(this.model.numericFields ?? [])]),
|
|
597
|
+
g = this.renderCustomSortUI(),
|
|
598
|
+
v = this.renderInterval(),
|
|
599
|
+
G = this.renderIntervalAlignment(),
|
|
600
|
+
W = this.renderEmptyBins();
|
|
601
|
+
return n`<calcite-label class=${r(l.label)}>${
|
|
602
|
+
this._messages.category
|
|
603
|
+
}${i}</calcite-label><calcite-label class=${r(l.label)}>${
|
|
604
|
+
this._messages.aggregation
|
|
605
|
+
}${e}</calcite-label><calcite-label class=${r(l.label)}>${
|
|
606
|
+
this._messages.numericFields
|
|
607
|
+
}${o}</calcite-label><div class=${r(
|
|
608
|
+
l.fab
|
|
609
|
+
)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${
|
|
610
|
+
this._messages.selectNumericFields
|
|
611
|
+
} text-enabled .text=${
|
|
612
|
+
this._messages.selectNumericFields
|
|
613
|
+
} icon=plus @click=${
|
|
614
|
+
this.onAddNumericFields
|
|
615
|
+
}></calcite-fab></div><calcite-label class=${r(
|
|
616
|
+
l.label
|
|
617
|
+
)}><span class=${r(this.disableSplitBy ? l.dimText : "")}>${
|
|
618
|
+
this._messages.splitBy
|
|
619
|
+
}</span>${t}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${r(
|
|
620
|
+
l.timeBinningHeader
|
|
621
|
+
)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${r(
|
|
622
|
+
l.label
|
|
623
|
+
)} layout=inline-space-between>${
|
|
624
|
+
this._messages.enableTemporalBinning
|
|
625
|
+
}<calcite-switch .checked=${
|
|
626
|
+
this.model.binTemporalData
|
|
627
|
+
} @calciteSwitchChange=${this.onEnableTimeBinningChange} ${m(
|
|
628
|
+
this.enableTimeBinningSwitch
|
|
629
|
+
)}></calcite-switch></calcite-label><div .hidden=${
|
|
630
|
+
!this.model.binTemporalData || !this.shouldShowTimeBinning()
|
|
631
|
+
}><calcite-label class=${r(l.label)}>${
|
|
632
|
+
this._messages.interval
|
|
633
|
+
}${v}</calcite-label><calcite-label class=${r(l.label)}>${
|
|
634
|
+
this._messages.intervalAlignment
|
|
635
|
+
}${G}</calcite-label><calcite-label class=${r(
|
|
636
|
+
l.label
|
|
637
|
+
)} layout=inline-space-between>${
|
|
638
|
+
this._messages.trimIncompleteInterval
|
|
639
|
+
}<calcite-switch .checked=${
|
|
640
|
+
this.model.trimIncompleteTimeInterval
|
|
641
|
+
} @calciteSwitchChange=${
|
|
642
|
+
this.onTrimIncompleteIntervalChange
|
|
643
|
+
}></calcite-switch></calcite-label><calcite-label class=${r(
|
|
644
|
+
l.label
|
|
645
|
+
)}>${
|
|
646
|
+
this._messages.emptyBins
|
|
647
|
+
}${W}</calcite-label></div></div><calcite-label class=${r(
|
|
648
|
+
l.label
|
|
649
|
+
)} layout=inline-space-between>${
|
|
650
|
+
this._messages.treatNullAsCategory
|
|
651
|
+
}<calcite-switch .checked=${
|
|
652
|
+
this.model.fetchNULLValues
|
|
653
|
+
} @calciteSwitchChange=${
|
|
654
|
+
this.onTreatNullAsCategoryChange
|
|
655
|
+
}></calcite-switch></calcite-label><calcite-label class=${r(
|
|
656
|
+
l.label
|
|
657
|
+
)} layout=inline-space-between>${
|
|
658
|
+
this._messages.showDataLabels
|
|
659
|
+
}<calcite-switch .checked=${
|
|
660
|
+
this.model.dataLabelsVisibility
|
|
661
|
+
} @calciteSwitchChange=${
|
|
662
|
+
this.onShowDataLabelsChange
|
|
663
|
+
}></calcite-switch></calcite-label><calcite-label class=${r(
|
|
664
|
+
this.model.getAxisValueFormat(0)?.type === p.DateAxisFormat
|
|
665
|
+
? l.disabledLabel
|
|
666
|
+
: l.label
|
|
667
|
+
)}>${this._messages.sortOrder}${s}</calcite-label>${g}`;
|
|
668
|
+
}
|
|
669
|
+
};
|
|
670
|
+
T("geoscene-charts-config-bar-chart-data", L);
|
|
671
|
+
return L;
|
|
672
|
+
},
|
|
673
|
+
"geometry/support/jsonUtils",
|
|
674
|
+
"rest/support/AttributeBinsQuery",
|
|
675
|
+
"rest/support/StatisticDefinition",
|
|
676
|
+
"time/TimeExtent",
|
|
677
|
+
"core/promiseUtils",
|
|
678
|
+
"request",
|
|
679
|
+
"intl",
|
|
680
|
+
e,
|
|
681
|
+
g,
|
|
682
|
+
i,
|
|
683
|
+
l
|
|
684
|
+
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* COPYRIGHT - https://js.geoscene.cn/5.0/LICENSE.txt */
|
|
2
|
+
import "./OR4HXHSY.js";
|
|
3
|
+
var o = {
|
|
4
|
+
"Zoom Out":
|
|
5
|
+
"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",
|
|
6
|
+
"From %1 to %2": "\u041E\u0442 %1 \u0434\u043E %2",
|
|
7
|
+
"From %1": "\u041E\u0442 %1",
|
|
8
|
+
"To %1": "\u0414\u043E %1",
|
|
9
|
+
};
|
|
10
|
+
export { o as default };
|