@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,14 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { getElementLocale as $e } from "@arcgis/toolkit/intl/dom";
|
|
3
3
|
import { cloneDeep as n, isEmpty as B } from "es-toolkit/compat";
|
|
4
|
-
import { DateTime as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { i as ut } from "../../../chunks/type-guards.js";
|
|
8
|
-
import { a as u, D as P, i as le } from "../../../chunks/index2.js";
|
|
4
|
+
import { DateTime as Ye } from "luxon";
|
|
5
|
+
import { t as Qe, cR as se, bW as Xe, a7 as ne, b7 as ae, l as Ze, cS as Ke, ca as Je, cb as Ue, r as T, bG as et, x as u, cT as b, cU as te, Y as tt, Z as rt, cN as k, A as J, O as le, cV as it, cW as ot, cX as st, aa as nt } from "../../../chunks/index.js";
|
|
6
|
+
import { a8 as at, p as lt, l as dt, Z as ct, s as ut } from "../../../chunks/index2.js";
|
|
9
7
|
import { g as h, s as ft } from "../../../chunks/series-types.js";
|
|
10
8
|
import { o as re, a as c, d as F, t as p, g as v, u as pt, W as ie, e as C } from "../../../chunks/chart-object-literals.js";
|
|
11
|
-
import { p as yt,
|
|
9
|
+
import { p as yt, e as mt, i as St, c as gt } from "../../../chunks/class-breaks.js";
|
|
12
10
|
import { b as vt } from "../../../chunks/rest-js-object-literals.js";
|
|
13
11
|
var L = /* @__PURE__ */ ((r) => (r.NONE = "none", r.ROTATE = "rotate", r.STAGGER = "stagger", r.WRAP = "wrap", r))(L || {});
|
|
14
12
|
function de(r) {
|
|
@@ -16,7 +14,7 @@ function de(r) {
|
|
|
16
14
|
if (t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek === !0 && (!("firstDayOfWeek" in e) || e.firstDayOfWeek === void 0 || e.firstDayOfWeek === null)) {
|
|
17
15
|
const { lang: s } = $e(i ?? document.documentElement);
|
|
18
16
|
try {
|
|
19
|
-
o.firstDayOfWeek =
|
|
17
|
+
o.firstDayOfWeek = Ye.local().setLocale(s.replaceAll("_", "-")).startOf("week", { useLocaleWeeks: !0 }).weekday;
|
|
20
18
|
} catch {
|
|
21
19
|
}
|
|
22
20
|
}
|
|
@@ -28,13 +26,13 @@ function Bt(r) {
|
|
|
28
26
|
const t = e.series[0], o = e.chartRenderer?.classBreakInfos;
|
|
29
27
|
if (o?.length && t?.classBreaksRules) {
|
|
30
28
|
t.classBreaksRules.colorRampInfo = t.classBreaksRules.colorRampInfo ?? {};
|
|
31
|
-
const { name: s, flipped: a } = t.classBreaksRules.colorRampInfo, f = yt(o,
|
|
29
|
+
const { name: s, flipped: a } = t.classBreaksRules.colorRampInfo, f = yt(o, gt.esriColorRamps);
|
|
32
30
|
if (!s && f?.name && (t.classBreaksRules.colorRampInfo.name = f.name), a === void 0 && f) {
|
|
33
|
-
const y =
|
|
31
|
+
const y = mt({
|
|
34
32
|
numberOfClassBreaks: o.length,
|
|
35
33
|
selectedColorRamp: f
|
|
36
34
|
});
|
|
37
|
-
y.length === o.length && (t.classBreaksRules.colorRampInfo.flipped =
|
|
35
|
+
y.length === o.length && (t.classBreaksRules.colorRampInfo.flipped = St(y, o));
|
|
38
36
|
}
|
|
39
37
|
}
|
|
40
38
|
}
|
|
@@ -53,7 +51,7 @@ function ue(r) {
|
|
|
53
51
|
const o = i;
|
|
54
52
|
i.id === void 0 && (o.id = `Series ${Date.now()}-${t}`);
|
|
55
53
|
const s = h(r.series, t);
|
|
56
|
-
return (s === c.BarSeries || s === c.LineSeries || s === c.RadarSeries) && o.query?.outStatistics?.[0]?.statisticType === "median" && (o.query.outStatistics[0].statisticType = F.ContinuousPercentile), s === c.BarSeries && o.multipleBarType !== void 0 && (o.stackedType = o.multipleBarType, delete o.multipleBarType), s === c.ScatterSeries && o.locations !== void 0 && (o.locationsOfInterest = o.locations, delete o.locations), s === c.PieSeries && o.sliceGrouping !== void 0 && (o.sliceGrouping.sliceId =
|
|
54
|
+
return (s === c.BarSeries || s === c.LineSeries || s === c.RadarSeries) && o.query?.outStatistics?.[0]?.statisticType === "median" && (o.query.outStatistics[0].statisticType = F.ContinuousPercentile), s === c.BarSeries && o.multipleBarType !== void 0 && (o.stackedType = o.multipleBarType, delete o.multipleBarType), s === c.ScatterSeries && o.locations !== void 0 && (o.locationsOfInterest = o.locations, delete o.locations), s === c.PieSeries && o.sliceGrouping !== void 0 && (o.sliceGrouping.sliceId = lt.defaultGroupOfSlicesId, o.sliceGrouping.groupName !== void 0 && (o.sliceGrouping = {
|
|
57
55
|
...o.sliceGrouping,
|
|
58
56
|
label: o.sliceGrouping.groupName
|
|
59
57
|
}, delete o.sliceGrouping.groupName), o.sliceGrouping.groupSliceSymbol !== void 0 && (o.sliceGrouping = {
|
|
@@ -66,7 +64,7 @@ function oe(r, e) {
|
|
|
66
64
|
const i = [];
|
|
67
65
|
return r.forEach((t) => {
|
|
68
66
|
if (!le(t)) {
|
|
69
|
-
const o =
|
|
67
|
+
const o = k(t, !1);
|
|
70
68
|
if (o.fieldToSort !== void 0) {
|
|
71
69
|
const s = b({
|
|
72
70
|
queryObject: e,
|
|
@@ -83,11 +81,11 @@ async function fe(r) {
|
|
|
83
81
|
const { configToUpdate: e, layer: i, abortSignal: t } = r, o = { ...e };
|
|
84
82
|
let s = i;
|
|
85
83
|
if (!s) {
|
|
86
|
-
const a =
|
|
87
|
-
a && (s = await
|
|
84
|
+
const a = Je(e) ? e.iLayer : e.dataSource?.layer;
|
|
85
|
+
a && (s = await Ue(a, t));
|
|
88
86
|
}
|
|
89
87
|
if (s) {
|
|
90
|
-
const a =
|
|
88
|
+
const a = T(o.series), f = h(o.series), y = o.series && o.series.length > 0 && o.series[0].x.trim() === "" || f === c.GaugeSeries && !et(e) || a === u.PieFromFields || a === u.BarAndLineFromFields || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC2MultiFields || a === u.BoxPlotC6MultiFieldsAndSplitBy, He = f === c.ScatterSeries || f === c.HeatSeries || a === u.BarAndLineNoAggregation || a === u.BarAndLineSplitByNoAggregation || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC3MonoFieldAndCategory || a === u.BoxPlotC7MonoFieldAndCategoryAndSplitBy || a === u.PieNoAggregation;
|
|
91
89
|
if (o.series = e.series.map((d) => {
|
|
92
90
|
const l = { ...d };
|
|
93
91
|
if (y || (l.x = b({ queryObject: s, fieldToMatch: d.x })), "y" in l && He) {
|
|
@@ -102,19 +100,19 @@ async function fe(r) {
|
|
|
102
100
|
}
|
|
103
101
|
if (d.query !== void 0) {
|
|
104
102
|
let { where: m, groupByFieldsForStatistics: S, outStatistics: g } = d.query;
|
|
105
|
-
if (S = te({ fieldsList: S, queryObject: s }), g !== void 0 && (g = g.map((
|
|
106
|
-
const O = { ...
|
|
103
|
+
if (S = te({ fieldsList: S, queryObject: s }), g !== void 0 && (g = g.map((x) => {
|
|
104
|
+
const O = { ...x };
|
|
107
105
|
return O.onStatisticField = b({
|
|
108
106
|
queryObject: s,
|
|
109
|
-
fieldToMatch:
|
|
107
|
+
fieldToMatch: x.onStatisticField
|
|
110
108
|
}), O;
|
|
111
109
|
})), m !== void 0 && a === u.BarAndLineSplitBy) {
|
|
112
|
-
const
|
|
110
|
+
const x = tt(d.query?.where), O = rt({
|
|
113
111
|
where: d.query?.where,
|
|
114
112
|
normalize: !1,
|
|
115
113
|
escape: !1
|
|
116
114
|
});
|
|
117
|
-
m = `${b({ queryObject: s, fieldToMatch:
|
|
115
|
+
m = `${b({ queryObject: s, fieldToMatch: x })}=${O}`;
|
|
118
116
|
}
|
|
119
117
|
l.query !== void 0 && (m !== void 0 && (l.query.where = m), S !== void 0 && (l.query.groupByFieldsForStatistics = S), g !== void 0 && (l.query.outStatistics = g));
|
|
120
118
|
}
|
|
@@ -164,7 +162,7 @@ function ye(r) {
|
|
|
164
162
|
orderBy: v.Ascending
|
|
165
163
|
}, i = r.query?.orderByFields?.[0];
|
|
166
164
|
if (i !== void 0) {
|
|
167
|
-
const { outStatisticFieldName: t, statisticType: o } = r.query?.outStatistics?.[0] ?? {}, s =
|
|
165
|
+
const { outStatisticFieldName: t, statisticType: o } = r.query?.outStatistics?.[0] ?? {}, s = k(i);
|
|
168
166
|
t !== void 0 && s.fieldToSort === t && o !== void 0 && (o === F.Average || o === "mean" ? e.orderType = p.Mean : o === F.ContinuousPercentile && (e.orderType = p.Median)), e.orderBy = s.orderBy ?? v.Ascending;
|
|
169
167
|
}
|
|
170
168
|
return e;
|
|
@@ -177,7 +175,7 @@ function me(r) {
|
|
|
177
175
|
function Se(r) {
|
|
178
176
|
const e = n(r);
|
|
179
177
|
if (!B(e.series) && h(r.series) === c.BoxPlotSeries) {
|
|
180
|
-
const t =
|
|
178
|
+
const t = T(r.series);
|
|
181
179
|
if (e.orderOptions?.data === void 0 && t !== u.BoxPlotC2MultiFields && t !== u.BoxPlotC1MonoField) {
|
|
182
180
|
const o = ye(r.series[0]);
|
|
183
181
|
o.orderType !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = {
|
|
@@ -187,7 +185,7 @@ function Se(r) {
|
|
|
187
185
|
}
|
|
188
186
|
if (e.series = r.series.map((o) => {
|
|
189
187
|
const s = o;
|
|
190
|
-
return B(s.x?.trim()) && (s.x =
|
|
188
|
+
return B(s.x?.trim()) && (s.x = dt), delete s.query?.orderByFields, s;
|
|
191
189
|
}), me(e)) {
|
|
192
190
|
e.showMean = !0;
|
|
193
191
|
const o = e.series.find(
|
|
@@ -226,7 +224,7 @@ async function he(r) {
|
|
|
226
224
|
const a = pe(s);
|
|
227
225
|
s = Se(a);
|
|
228
226
|
}
|
|
229
|
-
return s = ge(s), s = Be(s), ae(s) && !
|
|
227
|
+
return s = ge(s), s = Be(s), ae(s) && !Ze(i) && (s = de({ configToUpdate: s, chartContainer: t, layer: i })), s;
|
|
230
228
|
}
|
|
231
229
|
function Ce(r) {
|
|
232
230
|
const e = n(r), i = e.series[0];
|
|
@@ -240,7 +238,7 @@ function Ce(r) {
|
|
|
240
238
|
}
|
|
241
239
|
function be(r) {
|
|
242
240
|
const e = n(r);
|
|
243
|
-
return e?.orderOptions?.orderByFields !== void 0 &&
|
|
241
|
+
return e?.orderOptions?.orderByFields !== void 0 && T(r.series) === u.PieFromFields && (e.orderOptions.orderByFields = r?.orderOptions?.orderByFields?.map(
|
|
244
242
|
(i) => {
|
|
245
243
|
let t = n(i);
|
|
246
244
|
return i !== void 0 && i.includes("arcgis_charts_pie_category_from_fields_name") && (t = i.replace(
|
|
@@ -258,7 +256,7 @@ function Fe(r) {
|
|
|
258
256
|
}
|
|
259
257
|
return e;
|
|
260
258
|
}
|
|
261
|
-
function
|
|
259
|
+
function Te(r) {
|
|
262
260
|
const e = n(r), { extent: i } = e.series[0]?.query ?? {};
|
|
263
261
|
return i !== void 0 && (e.dataFilters = {
|
|
264
262
|
...e.dataFilters,
|
|
@@ -269,11 +267,11 @@ function xe(r) {
|
|
|
269
267
|
}
|
|
270
268
|
function U(r) {
|
|
271
269
|
const e = n(r);
|
|
272
|
-
return B(r.series) || (
|
|
270
|
+
return B(r.series) || (it(r) && r.rotated === void 0 && (e.rotated = r.series[0].rotated ?? ct()), e.series.forEach((i) => {
|
|
273
271
|
i.rotated !== void 0 && delete i.rotated;
|
|
274
272
|
})), e;
|
|
275
273
|
}
|
|
276
|
-
function
|
|
274
|
+
function xe(r) {
|
|
277
275
|
const e = n(r), i = r.dataSource;
|
|
278
276
|
return "dataSource" in e && !B(i) && (i.type === "featureLayer" && e.dataSource !== void 0 && (e.dataSource.type = "layer"), "featureLayer" in i && (e.dataSource.layer = i.featureLayer, delete e.dataSource.featureLayer)), e;
|
|
279
277
|
}
|
|
@@ -282,7 +280,7 @@ function Oe(r) {
|
|
|
282
280
|
if ("dataSource" in r) {
|
|
283
281
|
const i = r.dataSource;
|
|
284
282
|
if (i.filter !== void 0 && i.filter.trim() !== "") {
|
|
285
|
-
const t =
|
|
283
|
+
const t = ot([i.filter, e.dataFilters?.where]);
|
|
286
284
|
e.dataFilters = {
|
|
287
285
|
...e.dataFilters,
|
|
288
286
|
where: t
|
|
@@ -291,7 +289,7 @@ function Oe(r) {
|
|
|
291
289
|
}
|
|
292
290
|
return e;
|
|
293
291
|
}
|
|
294
|
-
function
|
|
292
|
+
function ke(r) {
|
|
295
293
|
return r !== "originalValue";
|
|
296
294
|
}
|
|
297
295
|
function ee(r) {
|
|
@@ -309,7 +307,7 @@ function ee(r) {
|
|
|
309
307
|
}
|
|
310
308
|
return e;
|
|
311
309
|
}
|
|
312
|
-
function
|
|
310
|
+
function Pe(r) {
|
|
313
311
|
const e = n(r);
|
|
314
312
|
if (!B(r.series) && h(r.series) === c.PieSeries) {
|
|
315
313
|
const t = e.series[0];
|
|
@@ -317,7 +315,7 @@ function ke(r) {
|
|
|
317
315
|
if (t.sortLabelsBy === "originalValue")
|
|
318
316
|
e.sortLabelsBy = t.sortLabelsBy;
|
|
319
317
|
else if (t.sortLabelsBy !== void 0 && e.orderOptions?.data === void 0) {
|
|
320
|
-
const o =
|
|
318
|
+
const o = P(e);
|
|
321
319
|
o !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = o);
|
|
322
320
|
}
|
|
323
321
|
t.sortLabelsBy && delete t.sortLabelsBy;
|
|
@@ -327,7 +325,7 @@ function ke(r) {
|
|
|
327
325
|
}
|
|
328
326
|
function Le(r) {
|
|
329
327
|
const e = n(r);
|
|
330
|
-
return B(r.series) || (
|
|
328
|
+
return B(r.series) || (st(r) && r.stackedType === void 0 && (e.stackedType = r.series[0].stackedType ?? ut()), e.series.forEach((i) => {
|
|
331
329
|
"stackedType" in i && delete i.stackedType;
|
|
332
330
|
})), e;
|
|
333
331
|
}
|
|
@@ -372,7 +370,7 @@ function Ie(r) {
|
|
|
372
370
|
e.orderOptions ??= {};
|
|
373
371
|
let t = !0;
|
|
374
372
|
if (i.length === 1) {
|
|
375
|
-
const { fieldToSort: o, orderBy: s } =
|
|
373
|
+
const { fieldToSort: o, orderBy: s } = k(i[0]);
|
|
376
374
|
let a;
|
|
377
375
|
o === r.series[0].x || o === J ? a = p.Category : "y" in r.series[0] && o === r.series[0].y && (a = p.YValue), a && a !== p.MultiAxes && (t = !1, e.orderOptions.data === void 0 && (e.orderOptions.data = {
|
|
378
376
|
orderType: a,
|
|
@@ -385,12 +383,12 @@ function Ie(r) {
|
|
|
385
383
|
delete t.query?.orderByFields;
|
|
386
384
|
}), e;
|
|
387
385
|
}
|
|
388
|
-
function
|
|
386
|
+
function P(r) {
|
|
389
387
|
let e, i = r.orderOptions?.orderByFields?.[0];
|
|
390
388
|
if (r.series?.length > 0) {
|
|
391
|
-
const t = h(r.series), o =
|
|
389
|
+
const t = h(r.series), o = T(r.series);
|
|
392
390
|
if (t !== c.PieSeries && o !== u.BarAndLineFromFields && o !== u.BoxPlotC2MultiFields && (i = i ?? r.series[0].x), i && !le(i)) {
|
|
393
|
-
const { fieldToSort: s, orderBy: a } =
|
|
391
|
+
const { fieldToSort: s, orderBy: a } = k(i);
|
|
394
392
|
let f;
|
|
395
393
|
s === r.series[0].x || s === J ? f = p.Category : "y" in r.series[0] && s === r.series[0].y && (f = p.YValue), f && f !== p.MultiAxes && (e = {
|
|
396
394
|
orderType: f,
|
|
@@ -404,7 +402,7 @@ function We(r) {
|
|
|
404
402
|
const e = n(r), i = r, t = r, o = r, s = r, a = r;
|
|
405
403
|
if (e) {
|
|
406
404
|
if (e.orderOptions?.series === void 0 && i.sortOptions?.sortSeriesBy !== void 0 && (e.orderOptions ??= {}, e.orderOptions.series = {
|
|
407
|
-
preferLabel:
|
|
405
|
+
preferLabel: ke(
|
|
408
406
|
t.sortLabelsBy ?? i.sortOptions.sortSeriesBy.sortType
|
|
409
407
|
),
|
|
410
408
|
orderBy: i.sortOptions.sortSeriesBy.sortOrder ?? v.Ascending
|
|
@@ -420,7 +418,7 @@ function We(r) {
|
|
|
420
418
|
});
|
|
421
419
|
}
|
|
422
420
|
} else {
|
|
423
|
-
const y =
|
|
421
|
+
const y = P(e);
|
|
424
422
|
y !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = y);
|
|
425
423
|
}
|
|
426
424
|
"sortLabelsBy" in e && delete e.sortLabelsBy, "sortOptions" in e && delete e.sortOptions;
|
|
@@ -430,21 +428,21 @@ function We(r) {
|
|
|
430
428
|
function qe(r) {
|
|
431
429
|
const e = n(r);
|
|
432
430
|
if (e) {
|
|
433
|
-
const i =
|
|
431
|
+
const i = T(e.series);
|
|
434
432
|
if ((i === u.BarAndLineFromFields || i === u.PieFromFields) && e.orderOptions?.data === void 0 && e.orderOptions?.orderByFields !== void 0) {
|
|
435
|
-
const t =
|
|
433
|
+
const t = P(e);
|
|
436
434
|
t !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = t, delete e.orderOptions.orderByFields);
|
|
437
435
|
}
|
|
438
436
|
}
|
|
439
437
|
return e;
|
|
440
438
|
}
|
|
441
|
-
function
|
|
439
|
+
function Re(r) {
|
|
442
440
|
const e = n(r);
|
|
443
441
|
return e.horizontalAxisLabelsBehavior === L.NONE && (e.horizontalAxisLabelsBehavior = ie.Hide), e.verticalAxisLabelsBehavior === L.NONE && (e.verticalAxisLabelsBehavior = ie.Hide), e;
|
|
444
442
|
}
|
|
445
|
-
function
|
|
443
|
+
function Ne(r) {
|
|
446
444
|
const e = n(r), i = e.series[0];
|
|
447
|
-
if (i && !i.temporalBinning &&
|
|
445
|
+
if (i && !i.temporalBinning && nt(e.series[0]) && ("timeIntervalSize" in i || "timeIntervalUnits" in i || "timeAggregationType" in i || "trimIncompleteTimeInterval" in i || "nullPolicy" in i)) {
|
|
448
446
|
if (i.temporalBinning = {}, i.timeIntervalSize !== void 0 && (i.temporalBinning.size = i.timeIntervalSize, delete i.timeIntervalSize), i.timeIntervalUnits) {
|
|
449
447
|
let t;
|
|
450
448
|
switch (i.timeIntervalUnits) {
|
|
@@ -512,7 +510,7 @@ function A(r) {
|
|
|
512
510
|
}
|
|
513
511
|
function w(r) {
|
|
514
512
|
let e = n(r);
|
|
515
|
-
return e =
|
|
513
|
+
return e = Te(e), e;
|
|
516
514
|
}
|
|
517
515
|
function D(r) {
|
|
518
516
|
let e = n(r);
|
|
@@ -520,7 +518,7 @@ function D(r) {
|
|
|
520
518
|
}
|
|
521
519
|
function M(r) {
|
|
522
520
|
let e = n(r);
|
|
523
|
-
return e =
|
|
521
|
+
return e = xe(e), e;
|
|
524
522
|
}
|
|
525
523
|
function I(r) {
|
|
526
524
|
let e = n(r);
|
|
@@ -528,17 +526,17 @@ function I(r) {
|
|
|
528
526
|
}
|
|
529
527
|
function W(r) {
|
|
530
528
|
let e = n(r);
|
|
531
|
-
return e =
|
|
529
|
+
return e = Pe(e), e;
|
|
532
530
|
}
|
|
533
531
|
function q(r) {
|
|
534
532
|
let e = n(r);
|
|
535
533
|
return e = Ae(e), e;
|
|
536
534
|
}
|
|
537
|
-
function
|
|
535
|
+
function R(r) {
|
|
538
536
|
let e = n(r);
|
|
539
537
|
return e = we(e), e;
|
|
540
538
|
}
|
|
541
|
-
function
|
|
539
|
+
function N(r) {
|
|
542
540
|
return Me(r);
|
|
543
541
|
}
|
|
544
542
|
function E(r) {
|
|
@@ -558,19 +556,19 @@ function z(r) {
|
|
|
558
556
|
return qe(r);
|
|
559
557
|
}
|
|
560
558
|
function j(r) {
|
|
561
|
-
return
|
|
559
|
+
return Re(r);
|
|
562
560
|
}
|
|
563
561
|
function H(r) {
|
|
564
|
-
return
|
|
562
|
+
return Ne(r);
|
|
565
563
|
}
|
|
566
564
|
function $(r) {
|
|
567
565
|
return Ee(r);
|
|
568
566
|
}
|
|
569
|
-
function
|
|
567
|
+
function Y(r) {
|
|
570
568
|
let e = n(r);
|
|
571
569
|
return e = U(e), Ve(e);
|
|
572
570
|
}
|
|
573
|
-
function
|
|
571
|
+
function Q(r) {
|
|
574
572
|
let e = n(r);
|
|
575
573
|
return e = Ge(e), e;
|
|
576
574
|
}
|
|
@@ -578,18 +576,18 @@ function X(r) {
|
|
|
578
576
|
let e = n(r);
|
|
579
577
|
return e = _e(e), e;
|
|
580
578
|
}
|
|
581
|
-
function
|
|
579
|
+
function Z(r) {
|
|
582
580
|
let e = n(r);
|
|
583
581
|
return e = Bt(e), e;
|
|
584
582
|
}
|
|
585
|
-
function
|
|
583
|
+
function K(r) {
|
|
586
584
|
let e = n(r);
|
|
587
585
|
return h(e.series) === c.BarSeries && (e = Ce(e)), e;
|
|
588
586
|
}
|
|
589
587
|
function je(r) {
|
|
590
588
|
const { versionsToConvert: e, configToUpdate: i } = r;
|
|
591
589
|
let t = n(i);
|
|
592
|
-
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Ke) ? (t = ze(t), t = A(t), t = w(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t =
|
|
590
|
+
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Ke) ? (t = ze(t), t = A(t), t = w(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = R(t), t = N(t), t = E(t), t = V(t), t = G(t), t = _(t), t = z(t), t = j(t), t = H(t), t = $(t), t = Y(t), t = Q(t), t = X(t), t = Z(t), t = K(t)) : e.forEach((o) => {
|
|
593
591
|
if (t !== void 0)
|
|
594
592
|
switch (o) {
|
|
595
593
|
case "1.0.1":
|
|
@@ -614,10 +612,10 @@ function je(r) {
|
|
|
614
612
|
t = q(t);
|
|
615
613
|
break;
|
|
616
614
|
case "9.2.0":
|
|
617
|
-
t =
|
|
615
|
+
t = R(t);
|
|
618
616
|
break;
|
|
619
617
|
case "9.7.0":
|
|
620
|
-
t =
|
|
618
|
+
t = N(t);
|
|
621
619
|
break;
|
|
622
620
|
case "10.0.0":
|
|
623
621
|
t = E(t);
|
|
@@ -644,27 +642,27 @@ function je(r) {
|
|
|
644
642
|
t = $(t);
|
|
645
643
|
break;
|
|
646
644
|
case "23.2.0":
|
|
647
|
-
t =
|
|
645
|
+
t = Y(t);
|
|
648
646
|
break;
|
|
649
647
|
case "24.7.0":
|
|
650
|
-
t =
|
|
648
|
+
t = Q(t);
|
|
651
649
|
break;
|
|
652
650
|
case "24.8.0":
|
|
653
651
|
t = X(t);
|
|
654
652
|
break;
|
|
655
653
|
case "25.0.0":
|
|
656
|
-
t =
|
|
654
|
+
t = Z(t);
|
|
657
655
|
break;
|
|
658
656
|
case "25.1.0":
|
|
659
|
-
t =
|
|
657
|
+
t = K(t);
|
|
660
658
|
break;
|
|
661
659
|
}
|
|
662
|
-
}), t.version =
|
|
660
|
+
}), t.version = at), t;
|
|
663
661
|
}
|
|
664
|
-
async function
|
|
662
|
+
async function At(r, e, i, t) {
|
|
665
663
|
let o = r;
|
|
666
664
|
if (r) {
|
|
667
|
-
const s =
|
|
665
|
+
const s = Qe(e);
|
|
668
666
|
await s?.load({ signal: t }), o = await he({ configToUpdate: r, layer: s, chartContainer: i, abortSignal: t });
|
|
669
667
|
const a = r.version ?? se, { versionStatus: f, versions: y } = Xe(a);
|
|
670
668
|
(f === re.Older || f === re.Unrecognized) && (o = je({
|
|
@@ -674,19 +672,19 @@ async function Dt(r, e, i, t) {
|
|
|
674
672
|
}
|
|
675
673
|
return o;
|
|
676
674
|
}
|
|
677
|
-
const
|
|
675
|
+
const wt = {
|
|
678
676
|
adjustAxes: ce,
|
|
679
677
|
adjustSeries: ue,
|
|
680
678
|
matchChartFieldsToLayerFields: fe,
|
|
681
679
|
resetLegendMaxHeight: ge,
|
|
682
|
-
moveSeriesQueryExtent:
|
|
680
|
+
moveSeriesQueryExtent: Te,
|
|
683
681
|
moveSeriesRotatedPropToChart: U,
|
|
684
|
-
renameDataSourceProperties:
|
|
682
|
+
renameDataSourceProperties: xe,
|
|
685
683
|
copyDataSourceFilterToConfig: Oe,
|
|
686
684
|
adjustPieFromFieldsDefaultNameAndValue: be,
|
|
687
685
|
removeSpacingPropertyFromGauge: Fe,
|
|
688
686
|
moveBoxPlotSeriesPropsToChart: pe,
|
|
689
|
-
movePieSeriesSortLabelsPropToChart:
|
|
687
|
+
movePieSeriesSortLabelsPropToChart: Pe,
|
|
690
688
|
getProBoxPlotSortDataOption: ye,
|
|
691
689
|
isBoxPlotConfigWithMeanLinesFromPro: me,
|
|
692
690
|
preventDuplicatedIds: Be,
|
|
@@ -697,13 +695,13 @@ const Mt = {
|
|
|
697
695
|
moveScrollbarVisible: Me,
|
|
698
696
|
moveSeriesStackedTypePropToChart: Le,
|
|
699
697
|
convertBoxplotOldToNewDataSortType: ee,
|
|
700
|
-
getDataOrderFromOrderByFields:
|
|
701
|
-
convertWebChartDataValueTypes:
|
|
698
|
+
getDataOrderFromOrderByFields: P,
|
|
699
|
+
convertWebChartDataValueTypes: ke,
|
|
702
700
|
moveOrConvertSeriesOrderByFieldsToChartOrderOptions: Ie,
|
|
703
|
-
convertWebChartLabelBehaviorNoneToHide:
|
|
701
|
+
convertWebChartLabelBehaviorNoneToHide: Re,
|
|
704
702
|
handleOrderOptionsChanges: We,
|
|
705
703
|
applyDataOrderInstructionForFromFieldsCharts: qe,
|
|
706
|
-
convertTemporalBinningProps:
|
|
704
|
+
convertTemporalBinningProps: Ne,
|
|
707
705
|
convertRESTStatisticTypeToWebChartStatisticType: Ee,
|
|
708
706
|
renameChartSubtitle: Ve,
|
|
709
707
|
applyMandatoryConversions: he,
|
|
@@ -715,8 +713,8 @@ const Mt = {
|
|
|
715
713
|
convertTo7x0x0: I,
|
|
716
714
|
convertTo7x6x0: W,
|
|
717
715
|
convertTo8x0x1: q,
|
|
718
|
-
convertTo9x3x0:
|
|
719
|
-
convertTo10x0x0:
|
|
716
|
+
convertTo9x3x0: R,
|
|
717
|
+
convertTo10x0x0: N,
|
|
720
718
|
convertTo11x0x0: E,
|
|
721
719
|
convertTo12x0x0: V,
|
|
722
720
|
convertTo15x0x0: G,
|
|
@@ -725,11 +723,11 @@ const Mt = {
|
|
|
725
723
|
convertTo19x0x0: j,
|
|
726
724
|
convertTo20x2x0: H,
|
|
727
725
|
convertTo21x1x0: $,
|
|
728
|
-
convertTo23x3x0:
|
|
729
|
-
convertTo24x8x0:
|
|
726
|
+
convertTo23x3x0: Y,
|
|
727
|
+
convertTo24x8x0: Q,
|
|
730
728
|
convertTo25x0x0: X,
|
|
731
|
-
convertTo25x1x0:
|
|
732
|
-
convertTo25x2x0:
|
|
729
|
+
convertTo25x1x0: Z,
|
|
730
|
+
convertTo25x2x0: K,
|
|
733
731
|
convertTemporalBinningProps2: Ge,
|
|
734
732
|
transformPropsInHeatChart: _e,
|
|
735
733
|
applyConversions: je,
|
|
@@ -738,6 +736,6 @@ const Mt = {
|
|
|
738
736
|
convertWebChartNullCategoryProps: Ce
|
|
739
737
|
};
|
|
740
738
|
export {
|
|
741
|
-
|
|
742
|
-
|
|
739
|
+
wt as chartConfigConverterPrivateFunctions,
|
|
740
|
+
At as convertChartSpec
|
|
743
741
|
};
|
|
@@ -2,8 +2,8 @@ import type { DataOrderParameters } from "../../../chart-rendering/common/data/u
|
|
|
2
2
|
import type { WebChartTypes, WebChartVersionStatus } from "../../../spec/chart-object-literals.js";
|
|
3
3
|
import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
|
|
4
4
|
import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
|
|
5
|
-
import type { IField, ISimpleFillSymbol } from "../../../spec/rest-js-types.js";
|
|
6
|
-
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartNullCategory, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
5
|
+
import type { IField, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from "../../../spec/rest-js-types.js";
|
|
6
|
+
import type { WebBoxPlot, WebChart, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartLegend, WebChartLineChartSeries, WebChartNullCategory, WebChartPieChartSeries, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
7
7
|
import type { DataUpdateDetails } from "../../data/interfaces.js";
|
|
8
8
|
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
9
9
|
import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
|
|
@@ -564,4 +564,11 @@ export function getNullCategoryText(chartConfig?: WebChart): string | undefined;
|
|
|
564
564
|
* @returns True when at least one series has an enabled imagery location/area of interest
|
|
565
565
|
* @internal
|
|
566
566
|
*/
|
|
567
|
-
export function hasEnabledImageryAoi(config: WebChart | undefined): boolean;
|
|
567
|
+
export function hasEnabledImageryAoi(config: WebChart | undefined): boolean;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Returns the symbol used for the given series.
|
|
571
|
+
*
|
|
572
|
+
* @param series
|
|
573
|
+
*/
|
|
574
|
+
export function getSeriesSymbol(series: WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartGaugeSeries | WebChartHeatChartSeries | WebChartLineChartSeries | WebChartPieChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries | undefined): ISimpleFillSymbol | ISimpleLineSymbol | ISimpleMarkerSymbol | undefined;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../spec/web-chart.js";
|
|
2
2
|
|
|
3
3
|
export interface MissingSplitBySeriesProps {
|
|
4
|
+
/**
|
|
5
|
+
* Whether to automatically add the missing series to cover the split-by values not referenced in the configuration.
|
|
6
|
+
*
|
|
7
|
+
* In 5.2, this behavior is disabled by default unless `updateSplitBySeries.addMissingSeries` is explicitly set to `true`.
|
|
8
|
+
*
|
|
9
|
+
* Starting in 6.0, it will be enabled by default.
|
|
10
|
+
*/
|
|
4
11
|
addMissingSeries: boolean;
|
|
5
12
|
seriesTemplate?: WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartLineChartSeries | WebChartRadarChartSeries;
|
|
6
13
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ChartElementLimit } from "../defaults/interfaces.js";
|
|
2
|
-
import type { SelectionData, ChartSubType } from "./interfaces.js";
|
|
3
1
|
import type { WebChartSortOrderKinds, WebChartTemporalBinningUnits, WebChartTypes, WebChartStackedKinds } from "../../spec/chart-object-literals.js";
|
|
4
|
-
import type { WebBoxPlot, WebChart, WebChartSeries, WebChartSeriesType } from "../../spec/web-chart.js";
|
|
5
|
-
import type { IField } from "../../spec/rest-js-types.js";
|
|
6
2
|
import type { WebChartDataItem, WebChartDataItemValue } from "../../spec/data-source.js";
|
|
7
3
|
import type { OverlayTerms, LegendItemVisibility } from "../../spec/events.js";
|
|
4
|
+
import type { IField } from "../../spec/rest-js-types.js";
|
|
5
|
+
import type { WebBoxPlot, WebChart, WebChartSeries, WebChartSeriesType } from "../../spec/web-chart.js";
|
|
6
|
+
import type { ChartElementLimit } from "../defaults/interfaces.js";
|
|
7
|
+
import type { SelectionData, ChartSubType } from "./interfaces.js";
|
|
8
8
|
|
|
9
9
|
/** @internal */
|
|
10
10
|
export type XYChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.21",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@amcharts/amcharts4": "^4.10.31",
|
|
32
|
-
"@amcharts/amcharts5": "~5.
|
|
33
|
-
"@arcgis/lumina": "6.0.0-next.
|
|
34
|
-
"@arcgis/toolkit": "6.0.0-next.
|
|
32
|
+
"@amcharts/amcharts5": "~5.21.5",
|
|
33
|
+
"@arcgis/lumina": "6.0.0-next.21",
|
|
34
|
+
"@arcgis/toolkit": "6.0.0-next.21",
|
|
35
35
|
"@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
|
|
36
36
|
"@lit/task": "^1.0.3",
|
|
37
37
|
"@zumer/snapdom": "^2.24.1",
|
|
38
38
|
"ajv": "6.12.6",
|
|
39
39
|
"d3-shape": "^3.2.0",
|
|
40
|
-
"es-toolkit": "^1.
|
|
40
|
+
"es-toolkit": "^1.53.0",
|
|
41
41
|
"jszip": "^3.10.1",
|
|
42
42
|
"lit": "^3.3.0",
|
|
43
43
|
"luxon": "~3.7.2",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"tslib": "^2.8.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@arcgis/core": "6.0.0-next.
|
|
49
|
-
"@esri/calcite-components": "^5.2.0
|
|
48
|
+
"@arcgis/core": "6.0.0-next.21",
|
|
49
|
+
"@esri/calcite-components": "^5.2.0"
|
|
50
50
|
},
|
|
51
51
|
"css.customData": [
|
|
52
52
|
"dist/docs/vscode.css-custom-data.json"
|
package/dist/cdn/26JXKZ7A.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{b as C}from"./GSCC3FON.js";import j from"./OSBZ6SF2.js";import"./5AKOPV7Z.js";import{a as g}from"./EYSSZWSX.js";import f from"./WCONWQ4A.js";import b from"./STZNZAAW.js";import"./SKI5Z6UH.js";import"./B6APNE72.js";import"./27C6PCQ2.js";import"./WKF53DYD.js";import{q as d}from"./OZSOICXE.js";import"./4DZ3REFU.js";import{A as n,B as m,C as e,H as p,g as c,i as h,n as a,z as i}from"./YF6ML4P6.js";import"./FHN6CIIO.js";import"./AUKJ4CBR.js";import"./BNAX4Y53.js";import"./TIWCUJOG.js";export default $arcgis.t(([,,{h:v,i:s}])=>{var r={chartRenameComponent:"chart-rename-component",renameLabelContainer:"rename-label-container",renamePanel:"rename-panel"},u=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)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-label-container{padding:0 1rem;margin-top:1rem}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`,l=class extends m{constructor(){super(...arguments),this._messages=g(),this.characterLimitInputElement=i(),this.popoverElement=i(),this.isChartTitleInvalid=!1,this.changedName="",this.name="",this.open=!1,this.arcgisChartsConfigChartRenamePopoverChange=a(),this.arcgisChartsConfigPopoverClose=a()}static{this.properties={isChartTitleInvalid:16,changedName:16,messageOverrides:0,name:1,open:5,referenceElement:0}}static{this.styles=u}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(t){t.has("name")&&(this.changedName=this.name)}updated(){this.popoverElement.value?.reposition(),C(this.popoverElement.value,this.open)}onNameChange(t){let o=t.target.value;this.changedName=o,this.isChartTitleInvalid=d(o.trim()),this.characterLimitInputElement.value&&v({inputElement:this.characterLimitInputElement.value,status:this.isChartTitleInvalid?s.INVALID:s.IDLE})}onCancelClick(){this.changedName=this.name,this.arcgisChartsConfigPopoverClose.emit(),this.open=!1}onSubmitClick(){this.isChartTitleInvalid||(this.name=this.changedName,this.arcgisChartsConfigChartRenamePopoverChange.emit({name:this.changedName}),this.open=!1)}popoverClose(){this.changedName=this.name,this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}render(){return h`<div class=${e({[r.chartRenameComponent]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${n(this.popoverElement)}><calcite-panel class=${e(r.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${e(r.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${n(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`}};p("arcgis-charts-config-chart-rename-popover",l);return l},b,f,j)
|
package/dist/cdn/3DUAM7RK.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import b from"./STZNZAAW.js";import{e as B}from"./SKI5Z6UH.js";import{d as $}from"./B6APNE72.js";import{p as O}from"./27C6PCQ2.js";import{r as g}from"./OZSOICXE.js";import{a,c as f,e as I}from"./FHN6CIIO.js";import{a as S}from"./AUKJ4CBR.js";import{a as n,b as m,h as c,v as d}from"./BNAX4Y53.js";export default $arcgis.t(([{F:L,G:T,H:D,I:N,Nb:b,S:_,Wb:h,fc:C,v:F,yc:v}])=>{function w(e,r){let s;return r===d.Category&&Array.isArray(e)?s=a.customSort:r===d.Category?s=e===c.Ascending?a.xAxisAsc:a.xAxisDesc:e===c.Ascending?s=a.yAxisAsc:s=a.yAxisDesc,s}function Z(e,r){let s;return r===d.Category&&Array.isArray(e)?s=f.customSort:s=e===c.Ascending?f.Asc:f.Desc,s}var z=e=>{let r=e.orderOptions?.data&&"orderBy"in e.orderOptions.data?e.orderOptions.data.orderBy:c.Ascending;return w(r,e.orderOptions?.data?.orderType??d.Category)},K=e=>{let r=S(e.series),s=!1;return(r===n.BarSeries||r===n.LineSeries)&&(s=z(e)===a.customSort),s},ee=e=>{let r=[],s=e.orderOptions?.data?.orderType;return K(e)&&s===d.Category&&(r=e.orderOptions?.data?.orderBy),r},re=(e,r,s,i)=>{let t=S(r.series),A=_(r);r.orderOptions??={};let o=A?[""]:c.Ascending;if(A)e===f.customSort&&s!==void 0?o=[...s]:o=e===f.Desc?c.Descending:c.Ascending,i?r.orderOptions.data={...r.orderOptions.data,orderByY:o,orderType:d.MultiAxes}:r.orderOptions.data={...r.orderOptions.data,orderByX:o,orderType:d.MultiAxes};else if(t===n.BarSeries||t===n.LineSeries){let l=d.Category;e===a.customSort&&s!==void 0?(o=[...s],r.orderOptions.data={orderType:l,orderBy:o}):(l=e===a.xAxisAsc||e===a.xAxisDesc?d.Category:d.YValue,o=e===a.xAxisAsc||e===a.yAxisAsc?c.Ascending:c.Descending,r.orderOptions.data={orderType:l,orderBy:o})}},se=e=>e?.series?.[0]?.x??"",ie=e=>{let{config:r,xAxisField:s,numericFields:i,aggregationType:t,mode:A,layer:o,numericFieldIndex:l,seriesIndex:P,splitByField:U="",fieldList:H}=e,M=S(r.series),Y=v(r.series),u;if(B(o)){let y=b(o);u=i.length===1&&i[0]===y}else{let{idField:y,isTraditionalTypeOID:k}=h(F(o));u=k&&i.length===1&&i[0]===y}let p="y",x="y";switch(M){case n.PieSeries:{t!==m.NoAggregation?A===I.Category?(p=`${t}_${i[0]}_0`.toUpperCase(),x=u?g(m.Count):g(`${t} of ${i[0]}`)):p=T:p=i[0];break}case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.RadarSeries:case n.HeatSeries:{if(U===""||i.length>1)V({fieldName:s,numericFields:i,fieldList:H??[]})||Y===$.BarAndLineFromFields?p=N:(p=t!==m.NoAggregation?`${t}_${i[l??0]}_${l??0}`.toUpperCase():i[l??0],x=u?g(m.Count):g(`${t} of ${i[l??0]}`));else{let y=i[0];p=t!==m.NoAggregation?`${t}_${y}_${P??0}`.toUpperCase():y,x=u?g(m.Count):g(`${t} of ${y}`)}break}}return{name:p,description:x}};function R(e){let{fieldName:r,fieldList:s}=e,i=C(s??[],r);return r===D||r===L||r===O||r===void 0||r.trim()===""||i===void 0}function V(e){let{fieldName:r,fieldList:s,numericFields:i}=e,t=i.filter(A=>C(s??[],A)?.type!=="esriFieldTypeOID");return R({fieldName:r,fieldList:s})&&(t?.length??0)>0}return{a:w,b:Z,c:z,d:ee,e:re,f:se,g:ie,h:R,i:V}},b)
|
package/dist/cdn/3PZWFW3T.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import g from"./HZQLPN4H.js";import f from"./GD6OHLIR.js";import e from"./7GM6BQNN.js";import c from"./MS6S4O2A.js";import a from"./WCONWQ4A.js";import{E as l}from"./27C6PCQ2.js";import{d as b}from"./OZSOICXE.js";import{j as d}from"./FHN6CIIO.js";import{p as u}from"./BNAX4Y53.js";export default $arcgis.t(([{a:m,b:h,e:p,f:y,j:r,k:I,l:A,m:L,n:C,o:V,s:v},{e:n},{a:S,b:T,c:B,d:O,e:M,f:k,g:z,h:D},G,{a:Y,b:Z,c:_}])=>{var H=e=>{for(let i of e.axes??[])if(i?.grid!==void 0)return i.grid},N=(e,i,s)=>{let t=i.axes;(s??t?.map((o,g)=>g)??[]).forEach(o=>{t?.[o]!==void 0&&(t[o].grid=b(e))})},j=(e,i)=>i.axes?.[e]?.visible??!0,w=(e,i,s)=>{let t=s.axes?.[i];t!==void 0&&(t.visible=e)},P=(e,i)=>e.axes?.[i]?.displayZeroLine??!1,q=e=>{let{config:i,displayZeroLine:s,axisIndex:t}=e;h({config:i,axisIndex:t,callback:o=>{o.displayZeroLine=s}})},U=(e,i)=>e.axes?.[i]?.displayCursorTooltip??!1,W=e=>{let{config:i,displayCursorTooltip:s,axisIndex:t}=e;m({config:i,axisIndex:t,callback:o=>{o.displayCursorTooltip=s}})},E=(e,i)=>e.axes?.[i]?.buffer??!1,R=e=>{let{config:i,buffer:s,axisIndex:t}=e;h({config:i,axisIndex:t,callback:o=>{o.buffer=s}})},X=(e,i)=>e.axes?.[i]?.tickSpacing,J=e=>{let{config:i,tickSpacing:s,axisIndex:t}=e;i.axes?.[t]!==void 0&&(i.axes[t].tickSpacing=s)},K=(e,i)=>e.axes?.[i]?.integerOnlyValues??!1,Q=e=>{let{config:i,integerOnlyValues:s,axisIndex:t}=e;h({config:i,axisIndex:t,callback:o=>{o.integerOnlyValues=s}})},$=e=>e.horizontalAxisLabelsBehavior??u.Rotate,ii=(e,i)=>{i.horizontalAxisLabelsBehavior=e},si=e=>e.verticalAxisLabelsBehavior??u.Wrap,ei=(e,i)=>{i.verticalAxisLabelsBehavior=e},ti=e=>e.cursorCrosshair?.horizontalLineVisible??!1,oi=(e,i)=>{i.cursorCrosshair===void 0&&(i.cursorCrosshair=l()),i.cursorCrosshair.horizontalLineVisible=e},ri=e=>e.cursorCrosshair?.verticalLineVisible??!1,ni=(e,i)=>{i.cursorCrosshair===void 0&&(i.cursorCrosshair=l()),i.cursorCrosshair.verticalLineVisible=e},ai=e=>e.cursorCrosshair?.style,ci=(e,i)=>{i.cursorCrosshair===void 0&&(i.cursorCrosshair=l()),i.cursorCrosshair.style=e},gi=e=>e.cursorCrosshair,fi=(e,i)=>{i.cursorCrosshair=e},xi=Object.defineProperty,li=Object.getOwnPropertyDescriptor,c=(e,i,s,t)=>{for(var o=li(i,s),g=e.length-1,f;g>=0;g--)(f=e[g])&&(o=f(i,s,o)||o);return o&&xi(i,s,o),o},a=class extends G{getAxisTitleText(i){return r({config:this._config,axisIndex:i,func:s=>B(s,this._config)})??""}setAxisTitleText(i,s){r({config:this._config,axisIndex:s,func:t=>{O(i,t,this._config)}})}getAxisVisibility(i){return r({config:this._config,axisIndex:i,func:s=>j(s,this._config)})??!0}setAxisVisibility(i,s){this.guardSetterFromAsyncOverwrite(()=>{r({config:this._config,axisIndex:s,func:t=>{w(i,t,this._config),this.emitConfigUpdate("setAxisVisibility")}})})}getAxisLabelsVisibility(i){return r({config:this._config,axisIndex:i,func:s=>S(s,this._config)})??!0}setAxisLabelsVisibility(i,s){this.guardSetterFromAsyncOverwrite(()=>{T({visibility:i,axisIndex:s,config:this._config}),this.emitConfigUpdate("setAxisLabelsVisibility")})}getAxisTitleVisibility(i){return r({config:this._config,axisIndex:i,func:s=>M(s,this._config)})??!1}setAxisTitleVisibility(i,s){k({visibility:i,axisIndex:s,config:this._config})}getMaxBound(i){return r({config:this._config,axisIndex:i,func:s=>p({config:this._config,axisIndex:s,isMax:!0})})??Number.NaN}setMaxBound(i,s){r({config:this._config,axisIndex:s,func:t=>{y({config:this._config,value:i,axisIndex:t,isMax:!0})}})}getMinBound(i){return r({config:this._config,axisIndex:i,func:s=>p({config:this._config,axisIndex:s,isMax:!1})})??Number.NaN}setMinBound(i,s){r({config:this._config,axisIndex:s,func:t=>{y({config:this._config,value:i,axisIndex:t,isMax:!1})}})}getAxisValueFormat(i){return r({config:this._config,axisIndex:i,func:s=>I(s,this._config)})}setAxisValueFormat(i,s){r({config:this._config,axisIndex:i,func:t=>{A({config:this._config,valueFormat:s,axisIndex:t,commonStrings:this.commonStrings})}})}getLogarithmic(i){return r({config:this._config,axisIndex:i,func:s=>L(this._config,s)})??!1}setLogarithmic(i,s){r({config:this._config,axisIndex:s,func:t=>{C({config:this._config,isLogarithmic:i,axisIndex:t})}})}getAxisScrollbar(i){return r({config:this._config,axisIndex:i,func:s=>this._config.axes?.[s]?.scrollbar})}setAxisScrollbar(i,s){r({config:this._config,axisIndex:s,func:t=>{V({config:this._config,scrollbar:i,axisIndex:t})}})}getAxisTitleSymbol(i){return r({config:this._config,axisIndex:i,func:s=>z(this._config,s)})}setAxisTitleSymbol(i,s){D({symbol:i,config:this._config,axisIndex:s})}getHorizontalAxisLabelsBehavior(){return $(this._config)}setHorizontalAxisLabelsBehavior(i){ii(i,this._config)}getVerticalAxisLabelsBehavior(){return si(this._config)}setVerticalAxisLabelsBehavior(i){ei(i,this._config)}getGridLinesSymbol(){return H(this._config)}setGridLinesSymbol(i,s){N(i,this._config,s)}getDefaultXAxisTitleText(){return this.commonStrings.utilsStrings.statistics.count}getDisplayZeroLine(i){return r({config:this._config,axisIndex:i,func:s=>P(this._config,s)})??!1}setDisplayZeroLine(i,s){q({config:this._config,displayZeroLine:i,axisIndex:s})}getDisplayCursorTooltip(i){return r({config:this._config,axisIndex:i,func:s=>U(this._config,s)})??!1}setDisplayCursorTooltip(i,s){W({config:this._config,displayCursorTooltip:i,axisIndex:s})}getBuffer(i){return r({config:this._config,axisIndex:i,func:s=>E(this._config,s)})??!1}setBuffer(i,s){R({config:this._config,buffer:i,axisIndex:s})}getTickSpacing(i){return X(this._config,i)}setTickSpacing(i,s){r({config:this._config,axisIndex:s,func:t=>{J({config:this._config,tickSpacing:i,axisIndex:t})}})}getIntegerOnlyValues(i){return r({config:this._config,axisIndex:i,func:s=>K(this._config,s)})??!1}setIntegerOnlyValues(i,s){Q({config:this._config,integerOnlyValues:i,axisIndex:s})}get cursorCrosshairHorizontalLineVisibility(){return ti(this._config)}set cursorCrosshairHorizontalLineVisibility(i){oi(i,this._config)}get cursorCrosshairVerticalLineVisibility(){return ri(this._config)}set cursorCrosshairVerticalLineVisibility(i){ni(i,this._config)}get cursorCrosshairStyle(){return ai(this._config)}set cursorCrosshairStyle(i){i&&ci(i,this._config)}get cursorCrosshair(){return gi(this._config)}set cursorCrosshair(i){i&&fi(i,this._config)}};c([n],a.prototype,"setAxisTitleText");c([n],a.prototype,"setAxisTitleVisibility");c([n],a.prototype,"setMaxBound");c([n],a.prototype,"setMinBound");c([n],a.prototype,"setAxisValueFormat");c([n],a.prototype,"setLogarithmic");c([n],a.prototype,"setAxisScrollbar");c([n],a.prototype,"setAxisTitleSymbol");c([n],a.prototype,"setHorizontalAxisLabelsBehavior");c([n],a.prototype,"setVerticalAxisLabelsBehavior");c([n],a.prototype,"setGridLinesSymbol");c([n],a.prototype,"setDisplayZeroLine");c([n],a.prototype,"setDisplayCursorTooltip");c([n],a.prototype,"setBuffer");c([n],a.prototype,"setTickSpacing");c([n],a.prototype,"setIntegerOnlyValues");c([n],a.prototype,"cursorCrosshairHorizontalLineVisibility");c([n],a.prototype,"cursorCrosshairVerticalLineVisibility");c([n],a.prototype,"cursorCrosshairStyle");c([n],a.prototype,"cursorCrosshair");var hi=Object.defineProperty,ui=Object.getOwnPropertyDescriptor,F=(e,i,s,t)=>{for(var o=ui(i,s),g=e.length-1,f;g>=0;g--)(f=e[g])&&(o=f(i,s,o)||o);return o&&hi(i,s,o),o},x=class extends _{getYGuidesLength(){return this._config.axes?.[1]?.guides?.length}addYAxisGuide(i,s){Y({config:this._config,name:i,index:s,orientation:d.Y})}deleteYAxisGuide(i){Z({config:this._config,index:i,orientation:d.Y})}};F([n],x.prototype,"addYAxisGuide");F([n],x.prototype,"deleteYAxisGuide");var di=[_];v(x,di);return{a:a,b:x}},a,c,e,f,g)
|
package/dist/cdn/3W5KLNGL.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import q from"./CFMPJGNL.js";import p from"./3PZWFW3T.js";import o from"./FGJPWWIL.js";import n from"./U6KRV4RA.js";import m from"./GPQCW5EO.js";import l from"./HZQLPN4H.js";import k from"./N4RM5VSS.js";import j from"./XUY3ZVKB.js";import"./O6GVF76X.js";import i from"./GD6OHLIR.js";import f from"./DGDPNLJ6.js";import e from"./7GM6BQNN.js";import d from"./MS6S4O2A.js";import c from"./5LR2NVD4.js";import b from"./WCONWQ4A.js";import a from"./STZNZAAW.js";import"./SKI5Z6UH.js";import"./B6APNE72.js";import{xa as g}from"./27C6PCQ2.js";import"./WKF53DYD.js";import"./OZSOICXE.js";import"./4DZ3REFU.js";import"./YF6ML4P6.js";import"./QGHI4FS2.js";import"./FHN6CIIO.js";import"./AUKJ4CBR.js";import{a as h}from"./BNAX4Y53.js";import"./TIWCUJOG.js";export default $arcgis.t(([,{s:y},,{e:e},,,z,{b:Y,d:Z,f:$},{b:U,d:V,f:X},{d:J,e:K},,{b:tt},{a:A,b:L,c:B,d:G},{a:Q,b:R},{A:q,a:c,b:p,c:f,d:l,e:d,f:u,g:v,h:_,i:b,j:S,k:w,l:O,m:D,n:C,o:M,p:T,q:E,r:F,s:W,t:j,u:x,v:I,w:N,x:H,y:P,z:k}])=>{var st=Object.defineProperty,et=Object.getOwnPropertyDescriptor,o=(a,t,i,rt)=>{for(var r=et(t,i),n=a.length-1,m;n>=0;n--)(m=a[n])&&(r=m(t,i,r)||r);return r&&st(t,i,r),r},s=class extends z{constructor(){super(...arguments),this._chartType=h.HistogramSeries}async setup(t){await this.loadConfigFromLayer(t),typeof this.resolveSetup=="function"&&this.resolveSetup()}get numericField(){return p(this._config)}set numericField(t){f({numericField:t,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get binCount(){return u(this._config)}set binCount(t){v(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get binSymbol(){return _(this._config)}set binSymbol(t){b(t,this._config)}get dataTransformationType(){return l(this._config)}set dataTransformationType(t){d(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get meanSymbol(){return O(this._config)}set meanSymbol(t){D(t,this._config)}get medianSymbol(){return C(this._config)}set medianSymbol(t){M(t,this._config)}get normalDistSymbol(){return S(this._config)}set normalDistSymbol(t){w(t,this._config)}get standardDevSymbol(){return T(this._config)}set standardDevSymbol(t){E(t,this._config)}get showNormalDistOverlay(){return F(this._config)}set showNormalDistOverlay(t){W(t,this._config)}get showMeanOverlay(){return j(this._config)}set showMeanOverlay(t){x(t,this._config)}get showMedianOverlay(){return I(this._config)}set showMedianOverlay(t){N(t,this._config)}get showStandardDevOverlay(){return H(this._config)}set showStandardDevOverlay(t){P(t,this._config)}get seriesOverlays(){return k(this._config)}set seriesOverlays(t){q(t,this._config)}generateChartTitle(){return c(this._config,this.layerInfo,this.commonStrings)}generateDefaultConfig(){return g(this.commonStrings)}};o([e],s.prototype,"numericField");o([e],s.prototype,"binCount");o([e],s.prototype,"binSymbol");o([e],s.prototype,"dataTransformationType");o([e],s.prototype,"meanSymbol");o([e],s.prototype,"medianSymbol");o([e],s.prototype,"normalDistSymbol");o([e],s.prototype,"standardDevSymbol");o([e],s.prototype,"showNormalDistOverlay");o([e],s.prototype,"showMeanOverlay");o([e],s.prototype,"showMedianOverlay");o([e],s.prototype,"showStandardDevOverlay");o([e],s.prototype,"seriesOverlays");var ot=[Q,A,L,B,G,tt,R,Y,J,Z,K,U,V,X,$];y(s,ot);return s},a,b,c,d,e,f,i,j,k,l,m,n,o,p,q)
|