@arcgis/charts-components 6.0.0-next.2 → 6.0.0-next.21
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/dist/cdn/{RKRR2KKS.js → 23PFUSK3.js} +1 -1
- package/dist/cdn/2GQTW4NH.js +2 -0
- package/dist/cdn/{FTEOTYTH.js → 2PUVZIJ6.js} +1 -1
- package/dist/cdn/{C27CFMVY.js → 33NEGHM6.js} +1 -1
- package/dist/cdn/3Q47Q67R.js +2 -0
- package/dist/cdn/3RQW57SE.js +2 -0
- package/dist/cdn/4GEBMO7W.js +2 -0
- package/dist/cdn/4V743NL4.js +2 -0
- package/dist/cdn/{RANPMLRU.js → 55OFHBXV.js} +1 -1
- package/dist/cdn/{H5VCT3XP.js → 5EAIW2ZK.js} +1 -1
- package/dist/cdn/5N5ZQZJO.js +2 -0
- package/dist/cdn/{NOWRHZV7.js → 5OSVKP4N.js} +1 -1
- package/dist/cdn/{RKWSCI6H.js → 5QLZ66AU.js} +1 -1
- package/dist/cdn/{2R2K5DTZ.js → 5SOADBYD.js} +1 -1
- package/dist/cdn/{IS6WNL3S.js → 5ZZZKI7V.js} +1 -1
- package/dist/cdn/{RPUVDZVR.js → 6HUXP73R.js} +1 -1
- package/dist/cdn/{D4SDXCEK.js → 6IIBIZJH.js} +1 -1
- package/dist/cdn/6OPPM5V2.js +2 -0
- package/dist/cdn/{QKV23ZMN.js → 6QY2OFUO.js} +1 -1
- package/dist/cdn/6R62GKMO.js +2 -0
- package/dist/cdn/6ZD3Z5YL.js +2 -0
- package/dist/cdn/{2HAZBMAW.js → 7AWJIBMG.js} +1 -1
- package/dist/cdn/7GGX5UIB.js +2 -0
- package/dist/cdn/{ZXXFRYTC.js → 7N2LSD5J.js} +1 -1
- package/dist/cdn/7QBDOZRN.js +2 -0
- package/dist/cdn/7UVDQBL4.js +2 -0
- package/dist/cdn/{IHAADQBV.js → A6DV5ILW.js} +1 -1
- package/dist/cdn/{3CSWEOBS.js → BGHJMVNV.js} +1 -1
- package/dist/cdn/{7YQKCXR4.js → BGVIOGAX.js} +1 -1
- package/dist/cdn/BR46WAT3.js +2 -0
- package/dist/cdn/{GPQCW5EO.js → BYG7ZIX2.js} +2 -2
- package/dist/cdn/C2WLLAJA.js +2 -0
- package/dist/cdn/CLFK7CD2.js +2 -0
- package/dist/cdn/CLPZTMER.js +2 -0
- package/dist/cdn/COM3OWDH.js +2 -0
- package/dist/cdn/{YR2F7I7M.js → CYZPIC2B.js} +1 -1
- package/dist/cdn/{RSII6PTR.js → CZKZMSFJ.js} +1 -1
- package/dist/cdn/{B6EROAY4.js → D66GTKJ7.js} +1 -1
- package/dist/cdn/D6XAU7NT.js +2 -0
- package/dist/cdn/DET6MJ7X.js +2 -0
- package/dist/cdn/{XAP5PIZ2.js → DH2G4KHH.js} +1 -1
- package/dist/cdn/{RY665VHB.js → DJGQM3EK.js} +1 -1
- package/dist/cdn/DUYJILM6.js +2 -0
- package/dist/cdn/DVS6MZT5.js +2 -0
- package/dist/cdn/E6ZQGTYB.js +2 -0
- package/dist/cdn/FKJRQZAC.js +2 -0
- package/dist/cdn/FNP7YROZ.js +2 -0
- package/dist/cdn/{WDUFLQ32.js → FOHR4IFG.js} +1 -1
- package/dist/cdn/FP2GSJQA.js +2 -0
- package/dist/cdn/GD5JTE7A.js +2 -0
- package/dist/cdn/{OXNMXLJF.js → GOVIUHKT.js} +1 -1
- package/dist/cdn/GTLHXKAJ.js +2 -0
- package/dist/cdn/{KK445MLC.js → GU6VG5TK.js} +1 -1
- package/dist/cdn/{P3D2YICV.js → H44RQIWN.js} +1 -1
- package/dist/cdn/H4SA3N6O.js +2 -0
- package/dist/cdn/HB4SJQ4W.js +2 -0
- package/dist/cdn/{GE5JXYB2.js → HBCVYIHS.js} +1 -1
- package/dist/cdn/HECZ3OT6.js +4 -0
- package/dist/cdn/HEI543JI.js +2 -0
- package/dist/cdn/HJCXMK5U.js +2 -0
- package/dist/cdn/{MPSFMJZL.js → HJUHYEJT.js} +1 -1
- package/dist/cdn/{UCADTSTO.js → HL6ANDJH.js} +1 -1
- package/dist/cdn/{4USN37PO.js → IDVYAUPY.js} +1 -1
- package/dist/cdn/IOK2V3P4.js +4 -0
- package/dist/cdn/IQRQDZJC.js +2 -0
- package/dist/cdn/{KBGVSXMS.js → IQSNWDU6.js} +1 -1
- package/dist/cdn/IUUDE4X5.js +2 -0
- package/dist/cdn/J4V3WB5U.js +2 -0
- package/dist/cdn/{ZAXERTST.js → J5HLHOFF.js} +1 -1
- package/dist/cdn/{Z4MPWA44.js → JANDMZGE.js} +1 -1
- package/dist/cdn/{SLZVSMMS.js → JE32QM44.js} +1 -1
- package/dist/cdn/{GYILUQLN.js → JETTF7E2.js} +1 -1
- package/dist/cdn/JGXLPTT7.js +2 -0
- package/dist/cdn/JIT5WKEB.js +2 -0
- package/dist/cdn/{3B2AC6Y3.js → JSOFN65T.js} +1 -1
- package/dist/cdn/{PME6JKVL.js → JWZGF724.js} +1 -1
- package/dist/cdn/JXF3DDAB.js +2 -0
- package/dist/cdn/{ZHWH7DPA.js → KMZIRJIR.js} +1 -1
- package/dist/cdn/{VTUFKWMW.js → KQ36C2RK.js} +1 -1
- package/dist/cdn/KZ6LW4NP.js +2 -0
- package/dist/cdn/LRTY76E6.js +2 -0
- package/dist/cdn/{QNK2HVPS.js → LXGEIC5F.js} +1 -1
- package/dist/cdn/LZPKYDMH.js +2 -0
- package/dist/cdn/{6WVZUW3A.js → M4AD4UJU.js} +1 -1
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/MSKHAI5B.js +2 -0
- package/dist/cdn/NF3BLC5K.js +2 -0
- package/dist/cdn/NK2I335H.js +2 -0
- package/dist/cdn/{S6FQN6HR.js → NUH2GAPZ.js} +1 -1
- package/dist/cdn/NX3KK4IQ.js +2 -0
- package/dist/cdn/O7O57T65.js +2 -0
- package/dist/cdn/OM6QKWFE.js +2 -0
- package/dist/cdn/OMJYE2MJ.js +2 -0
- package/dist/cdn/{T4YC5GXW.js → OU7UWTYV.js} +1 -1
- package/dist/cdn/{ICCD23OE.js → OWEVDN6C.js} +1 -1
- package/dist/cdn/{YPTG2SNF.js → PSKIJ3SM.js} +1 -1
- package/dist/cdn/{EYSSZWSX.js → Q3P2IG23.js} +1 -1
- package/dist/cdn/Q43ORQKU.js +2 -0
- package/dist/cdn/QBHNXPDC.js +2 -0
- package/dist/cdn/{2CNCTLOI.js → QCFAV626.js} +1 -1
- package/dist/cdn/QITW2GVD.js +2 -0
- package/dist/cdn/{4BAPCH7E.js → QMBHZ5JE.js} +1 -1
- package/dist/cdn/QNEORRGV.js +2 -0
- package/dist/cdn/QUVP5IS5.js +2 -0
- package/dist/cdn/{5LR2NVD4.js → QXY7MRR7.js} +1 -1
- package/dist/cdn/QYD2FVPD.js +2 -0
- package/dist/cdn/R2THCQP5.js +2 -0
- package/dist/cdn/R445444W.js +2 -0
- package/dist/cdn/RE3I2Z2X.js +2 -0
- package/dist/cdn/ROVVD6IW.js +2 -0
- package/dist/cdn/SBCL24E4.js +2 -0
- package/dist/cdn/SDPOEKHS.js +2 -0
- package/dist/cdn/SNIJO2GO.js +2 -0
- package/dist/cdn/SWEUOZRA.js +2 -0
- package/dist/cdn/{L3CL4LCS.js → SWHSL245.js} +1 -1
- package/dist/cdn/SX66PI5D.js +2 -0
- package/dist/cdn/{HN7A4IOJ.js → T7LKXFIZ.js} +1 -1
- package/dist/cdn/TDD6C2FX.js +2 -0
- package/dist/cdn/TRJRLHIN.js +2 -0
- package/dist/cdn/{FGJPWWIL.js → TTW6WNUD.js} +1 -1
- package/dist/cdn/TUIIWKKJ.js +2 -0
- package/dist/cdn/{ZH7H3YEB.js → U2JCCPS7.js} +27 -27
- package/dist/cdn/{TIKPLOJF.js → U6Y4QVXC.js} +1 -1
- package/dist/cdn/UNFDJW5A.js +2 -0
- package/dist/cdn/UYGZNX3E.js +2 -0
- package/dist/cdn/V3U7CLL3.js +2 -0
- package/dist/cdn/VGOKYLOA.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VSYGSI4Q.js +2 -0
- package/dist/cdn/W6ND5MS4.js +2 -0
- package/dist/cdn/WCQX5APN.js +2 -0
- package/dist/cdn/WPAN7ZED.js +2 -0
- package/dist/cdn/XGBIB7YB.js +4 -0
- package/dist/cdn/XOXPFTIJ.js +2 -0
- package/dist/cdn/{ADIHYDO7.js → XQTLPFTW.js} +1 -1
- package/dist/cdn/XSZAO4QH.js +2 -0
- package/dist/cdn/{OZSHGMU6.js → Y6URECIF.js} +1 -1
- package/dist/cdn/YZJKK62F.js +2 -0
- package/dist/cdn/{BXQLCRCF.js → Z5DYKSTK.js} +1 -1
- package/dist/cdn/ZCH46ONB.js +2 -0
- package/dist/cdn/{DGDPNLJ6.js → ZDG7DMVN.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +7 -0
- package/dist/chunks/action-bar-utils.js +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/box-plot-data.js +164 -163
- package/dist/chunks/box-plot-model.js +40 -38
- package/dist/chunks/chart-model.js +37 -39
- package/dist/chunks/chart-ui-utils.js +45 -47
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +11 -11
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +52 -54
- package/dist/chunks/gauge-model.js +64 -64
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +47 -48
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +5422 -4250
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +17 -18
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +26 -25
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +20 -22
- package/dist/chunks/serial-chart-data.js +513 -513
- package/dist/chunks/serial-chart-model.js +61 -58
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +20 -21
- package/dist/components/arcgis-chart/customElement.d.ts +175 -46
- package/dist/components/arcgis-chart/customElement.js +8334 -8106
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +114 -112
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +52 -46
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +38 -33
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +322 -322
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +29 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +79 -81
- package/dist/utils/chart-config/utils/index.d.ts +10 -3
- package/dist/utils/components/interfaces.d.ts +7 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +7 -7
- package/dist/cdn/26JXKZ7A.js +0 -2
- package/dist/cdn/3DUAM7RK.js +0 -2
- package/dist/cdn/3PZWFW3T.js +0 -2
- package/dist/cdn/3W5KLNGL.js +0 -2
- package/dist/cdn/3YK3KIWI.js +0 -2
- package/dist/cdn/44I6NO6U.js +0 -2
- package/dist/cdn/4DZ3REFU.js +0 -2
- package/dist/cdn/4VNZG2VT.js +0 -2
- package/dist/cdn/53HMTYWA.js +0 -2
- package/dist/cdn/5OCPLZJD.js +0 -2
- package/dist/cdn/5UUI3TOG.js +0 -2
- package/dist/cdn/6TBNJO5J.js +0 -2
- package/dist/cdn/7GM6BQNN.js +0 -2
- package/dist/cdn/7TDWD3GC.js +0 -2
- package/dist/cdn/A33LL5AD.js +0 -2
- package/dist/cdn/AA6Q62S5.js +0 -2
- package/dist/cdn/AGGIZ74B.js +0 -2
- package/dist/cdn/AWKRU62U.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/CCGAVRQQ.js +0 -2
- package/dist/cdn/CFMPJGNL.js +0 -2
- package/dist/cdn/D5WZ4UJC.js +0 -2
- package/dist/cdn/D66KCKCQ.js +0 -2
- package/dist/cdn/DSZIXRAL.js +0 -2
- package/dist/cdn/EPTOURLO.js +0 -2
- package/dist/cdn/EV5FQPUN.js +0 -2
- package/dist/cdn/FBUROOQZ.js +0 -2
- package/dist/cdn/FRFFG6VJ.js +0 -2
- package/dist/cdn/G3PLPDEP.js +0 -2
- package/dist/cdn/GD6OHLIR.js +0 -2
- package/dist/cdn/GSCC3FON.js +0 -2
- package/dist/cdn/HZQLPN4H.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/ILEGHIRD.js +0 -2
- package/dist/cdn/IR5IIAYC.js +0 -2
- package/dist/cdn/J2HDKV47.js +0 -2
- package/dist/cdn/J7HDQGZM.js +0 -2
- package/dist/cdn/JI5EYK4Q.js +0 -2
- package/dist/cdn/KKNH7H7Q.js +0 -2
- package/dist/cdn/KQLTJETV.js +0 -2
- package/dist/cdn/KR5D7UAA.js +0 -2
- package/dist/cdn/LQG6JN2P.js +0 -2
- package/dist/cdn/MBMCCOYI.js +0 -2
- package/dist/cdn/MG6D45PY.js +0 -2
- package/dist/cdn/MJFMEOAZ.js +0 -2
- package/dist/cdn/MKG4JBMF.js +0 -2
- package/dist/cdn/MS6S4O2A.js +0 -2
- package/dist/cdn/N4RM5VSS.js +0 -2
- package/dist/cdn/ND72GIXE.js +0 -2
- package/dist/cdn/NOP2A3XL.js +0 -2
- package/dist/cdn/NZGQZZZ2.js +0 -2
- package/dist/cdn/O3P2WLI6.js +0 -2
- package/dist/cdn/OAEWLSKN.js +0 -2
- package/dist/cdn/OJN27UF2.js +0 -2
- package/dist/cdn/OSBZ6SF2.js +0 -2
- package/dist/cdn/OZSOICXE.js +0 -2
- package/dist/cdn/QG7ZBCDQ.js +0 -2
- package/dist/cdn/QZYHN3H3.js +0 -2
- package/dist/cdn/RD2X624K.js +0 -2
- package/dist/cdn/RHAWHDKW.js +0 -2
- package/dist/cdn/S3JZNDJK.js +0 -2
- package/dist/cdn/S7EQRXFW.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SN4U2TYE.js +0 -2
- package/dist/cdn/SQOCBFAR.js +0 -2
- package/dist/cdn/STZNZAAW.js +0 -3
- package/dist/cdn/TCK5ZVBJ.js +0 -2
- package/dist/cdn/U6KRV4RA.js +0 -2
- package/dist/cdn/UD7VIM4I.js +0 -2
- package/dist/cdn/UQS25TZX.js +0 -2
- package/dist/cdn/UZRN5642.js +0 -2
- package/dist/cdn/VBYDJXIO.js +0 -2
- package/dist/cdn/W4LSI4AL.js +0 -2
- package/dist/cdn/W5DI7RYL.js +0 -2
- package/dist/cdn/WCM6N6ME.js +0 -2
- package/dist/cdn/WCONWQ4A.js +0 -2
- package/dist/cdn/WHUP2W37.js +0 -2
- package/dist/cdn/WMISD5B2.js +0 -4
- package/dist/cdn/XUY3ZVKB.js +0 -2
- package/dist/cdn/YDODEM4F.js +0 -2
- package/dist/cdn/YF6ML4P6.js +0 -4
- package/dist/cdn/YW3BJIXP.js +0 -2
- package/dist/cdn/YYOQY7YY.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
|
@@ -1,42 +1,38 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { u as
|
|
5
|
-
import { createRef as
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { e as
|
|
8
|
-
import {
|
|
2
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as r, html as t } from "lit";
|
|
4
|
+
import { u as n } from "../../chunks/useT9n.js";
|
|
5
|
+
import { createRef as p, ref as h } from "lit/directives/ref.js";
|
|
6
|
+
import { LitElement as m, createEvent as a, safeClassMap as l } from "@arcgis/lumina";
|
|
7
|
+
import { e as d } from "../../chunks/popover-ui-utils.js";
|
|
8
|
+
import { a as s } from "../../chunks/chart-object-literals.js";
|
|
9
9
|
import { M as e } from "../../chunks/common.js";
|
|
10
10
|
const c = {
|
|
11
11
|
selectChartComponent: "select-chart-component",
|
|
12
12
|
panel: "panel"
|
|
13
|
-
},
|
|
14
|
-
class
|
|
13
|
+
}, C = r`.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(--arcgis-charts-dim-text)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`;
|
|
14
|
+
class g extends m {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this._messages =
|
|
16
|
+
super(...arguments), this._messages = n(), this.selectChartTypePopover = p(), this.open = !1, this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigSelectChartTypeChange = a();
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.properties = { messageOverrides: 0, headerTitle: 1, layerId: 1, layerType: 1,
|
|
19
|
+
this.properties = { messageOverrides: 0, headerTitle: 1, layerId: 1, layerType: 1, supportedChartTypes: 0, open: 5, referenceElement: 0, popoverPlacement: 1, selectedModelType: 1 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.styles =
|
|
22
|
+
this.styles = C;
|
|
23
23
|
}
|
|
24
24
|
async reposition() {
|
|
25
25
|
await this.selectChartTypePopover.value?.reposition();
|
|
26
26
|
}
|
|
27
27
|
updated() {
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
buildRasterChartTypesList() {
|
|
31
|
-
const t = this.isRasterBarChartSupported === !0;
|
|
32
|
-
return i`<calcite-list label @click=${this.onChartTypeClick}>${t ? i`<calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType === e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item>` : null}<calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType === e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType === e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item></calcite-list>`;
|
|
28
|
+
d(this.selectChartTypePopover.value, this.open);
|
|
33
29
|
}
|
|
34
30
|
buildChartTypesList() {
|
|
35
|
-
let
|
|
36
|
-
return
|
|
31
|
+
let i;
|
|
32
|
+
return i = t`<calcite-list label @click=${this.onChartTypeClick}>${this.supportedChartTypes?.includes(s.BarSeries) ? t`<calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType === e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.LineSeries) ? t`<calcite-list-item .label=${this._messages.lineChart} .value=${e.LineChart} .selected=${this.selectedModelType === e.LineChart}><calcite-icon slot=content-start icon=graph-time-series></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.PieSeries) ? t`<calcite-list-item .label=${this._messages.pieChart} .value=${e.PieChart} .selected=${this.selectedModelType === e.PieChart}><calcite-icon slot=content-start icon=pie-chart></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.HistogramSeries) ? t`<calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType === e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.ScatterSeries) ? t`<calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType === e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.BoxPlotSeries) ? t`<calcite-list-item .label=${this._messages.boxPlot} .value=${e.BoxPlot} .selected=${this.selectedModelType === e.BoxPlot}><calcite-icon slot=content-start icon=box-chart></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.HeatSeries) ? t`<calcite-list-item .label=${this._messages.calendarHeatChart} .value=${e.HeatChart} .selected=${this.selectedModelType === e.HeatChart}><calcite-icon slot=content-start icon=calendar-heat-chart></calcite-icon></calcite-list-item>` : null}</calcite-list>`, i;
|
|
37
33
|
}
|
|
38
|
-
onChartTypeClick(
|
|
39
|
-
|
|
34
|
+
onChartTypeClick(i) {
|
|
35
|
+
i.target?.localName === "calcite-list-item" ? this.selectedModelType = i.target?.value : this.selectedModelType = i.target?.parentNode?.value, this.arcgisChartsConfigSelectChartTypeChange.emit();
|
|
40
36
|
}
|
|
41
37
|
popoverOpen() {
|
|
42
38
|
setTimeout(() => {
|
|
@@ -49,12 +45,12 @@ class C extends p {
|
|
|
49
45
|
}, 250);
|
|
50
46
|
}
|
|
51
47
|
render() {
|
|
52
|
-
return
|
|
48
|
+
return t`<div class=${l({
|
|
53
49
|
[c.selectChartComponent]: !0
|
|
54
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top", "bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${h(this.selectChartTypePopover)}><calcite-panel class=${
|
|
50
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top", "bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${h(this.selectChartTypePopover)}><calcite-panel class=${l(c.panel)} .heading=${this.headerTitle ?? this._messages.chooseChartType} closable @calcitePanelClose=${this.popoverClose} .closed=${!this.open}>${this.buildChartTypesList()}</calcite-panel></calcite-popover></div>`;
|
|
55
51
|
}
|
|
56
52
|
}
|
|
57
|
-
|
|
53
|
+
o("arcgis-charts-config-select-chart-type-popover", g);
|
|
58
54
|
export {
|
|
59
|
-
|
|
55
|
+
g as ArcgisChartsConfigSelectChartTypePopover
|
|
60
56
|
};
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as C } from "lit/directives/keyed.js";
|
|
4
4
|
import { u as g } from "../../chunks/useT9n.js";
|
|
5
|
-
import { css as f, nothing as m, html as
|
|
5
|
+
import { css as f, nothing as m, html as s } from "lit";
|
|
6
6
|
import { LitElement as u, createEvent as n, safeClassMap as c, renderElement as v } from "@arcgis/lumina";
|
|
7
7
|
import { repeat as $ } from "lit/directives/repeat.js";
|
|
8
8
|
import { a as w } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { r as R } from "../../chunks/popover-ui-utils.js";
|
|
10
|
-
import {
|
|
10
|
+
import { ab as I } from "../../chunks/index.js";
|
|
11
11
|
import { c as b } from "../../chunks/model-types.js";
|
|
12
|
-
import { M as
|
|
12
|
+
import { M as r } from "../../chunks/common.js";
|
|
13
13
|
const h = {
|
|
14
14
|
addChartContainer: "add-chart-container",
|
|
15
15
|
viewChartComponent: "view-chart-component",
|
|
16
16
|
header: "header",
|
|
17
17
|
dropdownPopup: "dropdown-popup"
|
|
18
|
-
},
|
|
19
|
-
class
|
|
18
|
+
}, P = f`.view-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}.add-chart-container{display:flex;justify-content:center;padding:2rem 0;background-color:var(--calcite-color-background)}.header{margin-left:1rem}.dropdown-popup{position:relative}`;
|
|
19
|
+
class L extends u {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments), this._messages = g(), this.chartRenamePopover = null, this.popoverClose = () => {
|
|
22
22
|
const e = this.modelList?.find((t) => t.chartId === this.selectedChartId);
|
|
@@ -43,7 +43,7 @@ class P extends u {
|
|
|
43
43
|
this.properties = { isChartRenamePopoverOpen: 16, chartTitle: 16, selectedActionChartId: 16, chartsOrderReorderCounter: 16, messageOverrides: 0, selectedChartId: 1, layer: 0, modelList: 0, noGroup: 5, disableEditing: 5 };
|
|
44
44
|
}
|
|
45
45
|
static {
|
|
46
|
-
this.styles =
|
|
46
|
+
this.styles = P;
|
|
47
47
|
}
|
|
48
48
|
willUpdate(e) {
|
|
49
49
|
e.has("modelList") && this.modelListChange(this.modelList, e.get("modelList"));
|
|
@@ -61,8 +61,7 @@ class P extends u {
|
|
|
61
61
|
onAddChartClick(e) {
|
|
62
62
|
e.stopImmediatePropagation(), this.selectedActionChartId = void 0, this.isChartRenamePopoverOpen && this.removeChartRenamePopover(), this.arcgisChartsConfigViewChartAddChart.emit({
|
|
63
63
|
referenceElement: e.target,
|
|
64
|
-
|
|
65
|
-
layerType: this.layer?.type
|
|
64
|
+
layer: this.layer
|
|
66
65
|
});
|
|
67
66
|
}
|
|
68
67
|
onChartActionClick(e) {
|
|
@@ -74,19 +73,19 @@ class P extends u {
|
|
|
74
73
|
}
|
|
75
74
|
getChartTypeLabel(e) {
|
|
76
75
|
switch (b(e.chartType)) {
|
|
77
|
-
case
|
|
76
|
+
case r.BarChart:
|
|
78
77
|
return this._messages.barChart ?? "";
|
|
79
|
-
case
|
|
78
|
+
case r.LineChart:
|
|
80
79
|
return this._messages.lineChart ?? "";
|
|
81
|
-
case
|
|
80
|
+
case r.PieChart:
|
|
82
81
|
return this._messages.pieChart ?? "";
|
|
83
|
-
case
|
|
82
|
+
case r.Histogram:
|
|
84
83
|
return this._messages.histogram ?? "";
|
|
85
|
-
case
|
|
84
|
+
case r.Scatterplot:
|
|
86
85
|
return this._messages.scatterplot ?? "";
|
|
87
|
-
case
|
|
86
|
+
case r.BoxPlot:
|
|
88
87
|
return this._messages.boxPlot ?? "";
|
|
89
|
-
case
|
|
88
|
+
case r.HeatChart:
|
|
90
89
|
return this._messages.calendarHeatChart ?? "";
|
|
91
90
|
default:
|
|
92
91
|
return "";
|
|
@@ -99,9 +98,9 @@ class P extends u {
|
|
|
99
98
|
buildChartList() {
|
|
100
99
|
const e = this.modelList ? $(this.modelList, (t) => t.chartId, (t, i) => {
|
|
101
100
|
const a = t.chartId, o = t.titleText, l = w(t.config), d = this.buildChartTooltip(t);
|
|
102
|
-
return
|
|
101
|
+
return s`<calcite-list-item .label=${o ?? a ?? this._messages.chartTitle} title=${d ?? m} .selected=${this.selectedChartId === (a?.toString() ?? i.toString())} .value=${a ?? i.toString()} @click=${this.onChartSelect}><calcite-icon slot=content-start .icon=${l} title=${d ?? m}></calcite-icon>${this.disableEditing ? null : s`<calcite-dropdown slot=actions-end overlay-positioning=fixed placement=bottom-end .open=${this.selectedActionChartId === a} @calciteDropdownClose=${() => this.chartActionClosed(a ?? "")} @calciteDropdownOpen=${() => this.chartActionOpened(a ?? "")} @click=${this.onChartActionClick} class=${c(h.dropdownPopup)}><calcite-action scale=l .text=${this._messages.chartActions ?? ""} slot=trigger .active=${a === this.selectedActionChartId} .disabled=${this.isChartRenamePopoverOpen}><calcite-icon icon=ellipsis></calcite-icon></calcite-action><calcite-dropdown-group selection-mode=none><calcite-dropdown-item accesskey=edit @calciteDropdownItemSelect=${this.chartEditSelect}>${this._messages.edit}</calcite-dropdown-item><calcite-dropdown-item accesskey=rename @calciteDropdownItemSelect=${this.chartRenameSelect}>${this._messages.rename}</calcite-dropdown-item><calcite-dropdown-item accesskey=delete @calciteDropdownItemSelect=${this.chartDeleteSelect}>${this._messages.delete}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}</calcite-list-item>`;
|
|
103
102
|
}) : null;
|
|
104
|
-
return this.layer ?
|
|
103
|
+
return this.layer ? s`<div>${this.noGroup ? null : s`<p class=${c(h.header)}>${this.layer.title ?? this.layer.id.toString()}</p>`}${C(this.chartsOrderReorderCounter, s`<calcite-list label .dragEnabled=${!this.disableEditing} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${e}${this.disableEditing ? null : s`<div class=${c(h.addChartContainer)}><calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addChart} .label=${this._messages.addChart} @click=${this.onAddChartClick} scale=s></calcite-fab></div>`}</calcite-list>`)}</div>` : null;
|
|
105
104
|
}
|
|
106
105
|
onChartSelect(e) {
|
|
107
106
|
const t = e.currentTarget;
|
|
@@ -131,16 +130,16 @@ class P extends u {
|
|
|
131
130
|
this.selectedActionChartId = e;
|
|
132
131
|
}
|
|
133
132
|
setupRenamePopover() {
|
|
134
|
-
this.isChartRenamePopoverOpen = !0, this.chartRenamePopover !== null && (this.chartRenamePopover.name = this.chartTitle, this.chartRenamePopover.referenceElement = this.renameReferenceElement), this.chartRenamePopover = v(
|
|
133
|
+
this.isChartRenamePopoverOpen = !0, this.chartRenamePopover !== null && (this.chartRenamePopover.name = this.chartTitle, this.chartRenamePopover.referenceElement = this.renameReferenceElement), this.chartRenamePopover = v(s`<arcgis-charts-config-chart-rename-popover .name=${this.chartTitle} .referenceElement=${this.renameReferenceElement} .open=${this.isChartRenamePopoverOpen} @arcgisChartsConfigPopoverClose=${this.popoverClose} @arcgisChartsConfigChartRenamePopoverChange=${this.onChartRename}></arcgis-charts-config-chart-rename-popover>`), !document.body.contains(this.chartRenamePopover) && this.chartRenamePopover !== null && document.body.appendChild(this.chartRenamePopover);
|
|
135
134
|
}
|
|
136
135
|
removeChartRenamePopover() {
|
|
137
136
|
this.chartRenamePopover !== null && (this.isChartRenamePopoverOpen = !1, this.chartRenamePopover = R(this.chartRenamePopover));
|
|
138
137
|
}
|
|
139
138
|
render() {
|
|
140
|
-
return
|
|
139
|
+
return s`<div class=${c(h.viewChartComponent)}>${this.buildChartList()}</div>`;
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
|
-
p("arcgis-charts-config-view-charts",
|
|
142
|
+
p("arcgis-charts-config-view-charts", L);
|
|
144
143
|
export {
|
|
145
|
-
|
|
144
|
+
L as ArcgisChartsConfigViewCharts
|
|
146
145
|
};
|
|
@@ -3,9 +3,9 @@ import { c as d } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as c, html as r } from "lit";
|
|
4
4
|
import { LitElement as h, safeClassMap as s, safeStyleMap as i } from "@arcgis/lumina";
|
|
5
5
|
import { H as a } from "../../chunks/resources.js";
|
|
6
|
-
import { ai as g, aj as m,
|
|
7
|
-
import {
|
|
8
|
-
const
|
|
6
|
+
import { ai as g, aj as m, A as l, B as p } from "../../chunks/index2.js";
|
|
7
|
+
import { b8 as f, L as u } from "../../chunks/index.js";
|
|
8
|
+
const b = c`.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(--arcgis-charts-dim-text)}:host{display:block;width:auto;height:auto;overflow:auto}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}.info-modal-container{box-sizing:border-box;width:-webkit-fill-available;height:100%;display:grid;position:absolute;place-items:center;align-content:center;justify-content:center;padding:1rem;text-align:start}.info-modal-container h3.heading-true{display:flex;margin-bottom:auto;background:#0000000d;height:30px;padding:.5rem;justify-self:stretch;text-align:start;align-items:center}.info-modal-container h3.heading-false{background:#0000000d;margin-bottom:auto;text-align:start}.info-modal-container p{justify-self:stretch;text-align:start}.chart-loader-overlay{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:1001}`;
|
|
9
9
|
class C extends h {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this.message = "", this.heading = "", this.showLoader = !1;
|
|
@@ -14,7 +14,7 @@ class C extends h {
|
|
|
14
14
|
this.properties = { message: 1, heading: 1, showLoader: 5, loaderColors: 0, calciteThemeColors: 0 };
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.styles =
|
|
17
|
+
this.styles = b;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
let t = null;
|