@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
|
@@ -2,25 +2,24 @@
|
|
|
2
2
|
import { isEqual as W } from "es-toolkit/compat";
|
|
3
3
|
import { log as y } from "@arcgis/toolkit/log";
|
|
4
4
|
import { a as O } from "./chart-object-literals.js";
|
|
5
|
-
import { l as p, ap as
|
|
6
|
-
import {
|
|
5
|
+
import { l as p, ap as P, a9 as D, g as R, aa as m, an as u, ab as S, r as A } from "./index2.js";
|
|
6
|
+
import { eO as V, eN as E, cK as T, eP as N, cE as h, eM as z } from "./index.js";
|
|
7
7
|
import { m as s } from "./model-setter.js";
|
|
8
|
-
import { B as
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { W as k, c as
|
|
12
|
-
import { W as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { g as
|
|
17
|
-
import { k as re, j as oe, l as ne, h as ae } from "./utils.js";
|
|
8
|
+
import { B as U } from "./common.js";
|
|
9
|
+
import { M as X, a as K, W as j, b as q } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as G, a as Y } from "./model-with-y-guides.js";
|
|
11
|
+
import { W as k, c as H, d as J } from "./axis-lines-symbol.js";
|
|
12
|
+
import { W as Q, c as Z, d as $ } from "./generate-x-axis-title.js";
|
|
13
|
+
import { W as ee, a as te } from "./x-bounds.js";
|
|
14
|
+
import { W as ie } from "./data-labels-symbol.js";
|
|
15
|
+
import { W as se } from "./rotated-state.js";
|
|
16
|
+
import { g as re, b as oe, s as ne, a as ae } from "./series.js";
|
|
18
17
|
import { s as le, d as he, e as ce, f as ge, h as de, i as g, j as d, k as _, l as L, m as B, g as fe, n as ye, o as pe, p as C, a as me, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as be, D as ve, E as we, F as We, G as I } from "./box-plot-data.js";
|
|
19
18
|
import { C as Oe } from "./chart-model.js";
|
|
20
|
-
var
|
|
21
|
-
for (var o =
|
|
19
|
+
var Pe = Object.defineProperty, De = Object.getOwnPropertyDescriptor, r = (c, e, t, n) => {
|
|
20
|
+
for (var o = De(e, t), a = c.length - 1, l; a >= 0; a--)
|
|
22
21
|
(l = c[a]) && (o = l(e, t, o) || o);
|
|
23
|
-
return o &&
|
|
22
|
+
return o && Pe(e, t, o), o;
|
|
24
23
|
};
|
|
25
24
|
class i extends Oe {
|
|
26
25
|
constructor() {
|
|
@@ -104,7 +103,7 @@ class i extends Oe {
|
|
|
104
103
|
}
|
|
105
104
|
set numericFields(e) {
|
|
106
105
|
const { layerFieldsInfo: t } = this.layerInfo;
|
|
107
|
-
typeof e == "string" && (e = [e]),
|
|
106
|
+
typeof e == "string" && (e = [e]), V(t, e) ? (this._numericFields = e, le(this._category, this._numericFields) && (this._splitByField = ""), this.processSeriesRebuild("numericFields")) : y("error", "box-plot-model", "Invalid `numericFields`");
|
|
108
107
|
}
|
|
109
108
|
/**
|
|
110
109
|
* The split-by field for the box plot.
|
|
@@ -113,7 +112,7 @@ class i extends Oe {
|
|
|
113
112
|
return this._splitByField;
|
|
114
113
|
}
|
|
115
114
|
set splitByField(e) {
|
|
116
|
-
|
|
115
|
+
E(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : y("error", "box-plot-model", "Invalid `splitByField`");
|
|
117
116
|
}
|
|
118
117
|
/**
|
|
119
118
|
* Whether outliers are shown.
|
|
@@ -178,18 +177,21 @@ class i extends Oe {
|
|
|
178
177
|
}
|
|
179
178
|
/**
|
|
180
179
|
* Gets the list of the category values for the chart.
|
|
180
|
+
*
|
|
181
|
+
* @param num The maximum number of category values to fetch.
|
|
181
182
|
*/
|
|
182
|
-
async getCustomSortValues() {
|
|
183
|
+
async getCustomSortValues(e) {
|
|
183
184
|
return await _({
|
|
184
185
|
config: this._config,
|
|
185
186
|
layerInfo: this.layerInfo,
|
|
187
|
+
num: e,
|
|
186
188
|
errorStrings: this.commonStrings.errorStrings
|
|
187
189
|
});
|
|
188
190
|
}
|
|
189
191
|
async setDataFilters(e) {
|
|
190
192
|
super.setDataFilters(e);
|
|
191
193
|
const t = g(this._config);
|
|
192
|
-
if (t ===
|
|
194
|
+
if (t === U.customSort) {
|
|
193
195
|
this.startAsyncUpdate();
|
|
194
196
|
const n = await _({
|
|
195
197
|
config: this._config,
|
|
@@ -264,8 +266,8 @@ class i extends Oe {
|
|
|
264
266
|
}
|
|
265
267
|
/** @private */
|
|
266
268
|
generateDefaultConfig() {
|
|
267
|
-
const e =
|
|
268
|
-
return e.series = [
|
|
269
|
+
const e = P(this.commonStrings);
|
|
270
|
+
return e.series = [D(this.commonStrings)], e;
|
|
269
271
|
}
|
|
270
272
|
resetConfig() {
|
|
271
273
|
const e = this._config.id;
|
|
@@ -294,8 +296,8 @@ class i extends Oe {
|
|
|
294
296
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
295
297
|
*/
|
|
296
298
|
async fetchSplitByFieldInfos() {
|
|
297
|
-
const { fetchNullValues: e } =
|
|
298
|
-
return this.splitByFieldInfos = await
|
|
299
|
+
const { fetchNullValues: e } = T(this._config)?.query ?? {};
|
|
300
|
+
return this.splitByFieldInfos = await N({
|
|
299
301
|
config: this._config,
|
|
300
302
|
layer: this.layerInfo.layer,
|
|
301
303
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
@@ -359,7 +361,7 @@ class i extends Oe {
|
|
|
359
361
|
getSeriesLineStyle(e) {
|
|
360
362
|
const t = this._config.series[e];
|
|
361
363
|
if (this.showMeanLines === !0 && h(t))
|
|
362
|
-
return
|
|
364
|
+
return re(t);
|
|
363
365
|
}
|
|
364
366
|
setSeriesLineStyle(e, t) {
|
|
365
367
|
this.showMeanLines === !0 && Fe({ style: e, seriesIndex: t, config: this._config });
|
|
@@ -374,7 +376,7 @@ class i extends Oe {
|
|
|
374
376
|
getSeriesLineWidth(e) {
|
|
375
377
|
const t = this._config.series[e];
|
|
376
378
|
if (this.showMeanLines === !0 && h(t))
|
|
377
|
-
return
|
|
379
|
+
return oe(t);
|
|
378
380
|
}
|
|
379
381
|
setSeriesLineWidth(e, t) {
|
|
380
382
|
this.showMeanLines === !0 && Me({ width: e, seriesIndex: t, config: this._config });
|
|
@@ -437,7 +439,7 @@ class i extends Oe {
|
|
|
437
439
|
layerInfo: this.layerInfo,
|
|
438
440
|
commonStrings: this.commonStrings
|
|
439
441
|
});
|
|
440
|
-
M(a ?? t, e, this._config), this.showMeanLines === !0 && h(o) && (
|
|
442
|
+
M(a ?? t, e, this._config), this.showMeanLines === !0 && h(o) && (ne(u, o), ae(S, o));
|
|
441
443
|
}
|
|
442
444
|
this.showMeanLines === !0 && C(m, this._config), this._config.colorMatch = !0;
|
|
443
445
|
}
|
|
@@ -522,24 +524,24 @@ r([
|
|
|
522
524
|
s
|
|
523
525
|
], i.prototype, "resetSeriesStyling");
|
|
524
526
|
const Re = [
|
|
527
|
+
G,
|
|
525
528
|
X,
|
|
526
|
-
E,
|
|
527
|
-
N,
|
|
528
|
-
z,
|
|
529
|
-
$,
|
|
530
|
-
U,
|
|
531
|
-
Z,
|
|
532
|
-
j,
|
|
533
529
|
K,
|
|
534
|
-
|
|
530
|
+
j,
|
|
531
|
+
se,
|
|
532
|
+
q,
|
|
533
|
+
ie,
|
|
535
534
|
Y,
|
|
536
535
|
Q,
|
|
536
|
+
ee,
|
|
537
|
+
Z,
|
|
538
|
+
te,
|
|
537
539
|
k,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
540
|
+
H,
|
|
541
|
+
J,
|
|
542
|
+
$
|
|
541
543
|
];
|
|
542
|
-
|
|
544
|
+
z(i, Re);
|
|
543
545
|
export {
|
|
544
546
|
i as BoxPlotModel
|
|
545
547
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import { g as
|
|
2
|
+
import { bQ as j, r as F, eM as W } from "./index.js";
|
|
3
|
+
import { g as L, W as I, c as z, d as N } from "./series-length.js";
|
|
4
4
|
import { m as a, C as n } from "./model-setter.js";
|
|
5
|
-
import {
|
|
6
|
-
import { u as z } from "./index2.js";
|
|
7
|
-
import { q as N } from "./index.js";
|
|
5
|
+
import { a4 as p, a6 as c, a5 as f } from "./index2.js";
|
|
8
6
|
var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, U = (e, t, r, l) => {
|
|
9
7
|
for (var i = M(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
10
8
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
11
9
|
return i && R(t, r, i), i;
|
|
12
10
|
};
|
|
13
|
-
const B = (e) => e.title?.content,
|
|
11
|
+
const B = (e) => e.title?.content, E = (e, t) => {
|
|
14
12
|
if (e) {
|
|
15
|
-
const r =
|
|
13
|
+
const r = L(t);
|
|
16
14
|
t.title === void 0 && (t.title = p({
|
|
17
15
|
text: "",
|
|
18
16
|
visible: !0,
|
|
@@ -32,16 +30,16 @@ class h extends n {
|
|
|
32
30
|
return B(this._config);
|
|
33
31
|
}
|
|
34
32
|
set titleSymbol(t) {
|
|
35
|
-
|
|
33
|
+
E(t, this._config);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
U([
|
|
39
37
|
a
|
|
40
38
|
], h.prototype, "titleSymbol");
|
|
41
|
-
var
|
|
42
|
-
for (var i =
|
|
39
|
+
var q = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, A = (e, t, r, l) => {
|
|
40
|
+
for (var i = Q(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
43
41
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
44
|
-
return i &&
|
|
42
|
+
return i && q(t, r, i), i;
|
|
45
43
|
};
|
|
46
44
|
class u extends n {
|
|
47
45
|
/**
|
|
@@ -54,10 +52,10 @@ class u extends n {
|
|
|
54
52
|
this._config = t;
|
|
55
53
|
}
|
|
56
54
|
}
|
|
57
|
-
|
|
55
|
+
A([
|
|
58
56
|
a
|
|
59
57
|
], u.prototype, "config");
|
|
60
|
-
class
|
|
58
|
+
class G extends n {
|
|
61
59
|
/**
|
|
62
60
|
* The chart model's layer.
|
|
63
61
|
*/
|
|
@@ -65,18 +63,18 @@ class H extends n {
|
|
|
65
63
|
return this.layerInfo?.layer;
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
|
-
const
|
|
66
|
+
const H = (e) => e.id, J = (e, t) => {
|
|
69
67
|
t.id = e;
|
|
70
68
|
};
|
|
71
|
-
class
|
|
69
|
+
class K extends n {
|
|
72
70
|
/**
|
|
73
71
|
* The chart ID.
|
|
74
72
|
*/
|
|
75
73
|
get chartId() {
|
|
76
|
-
return
|
|
74
|
+
return H(this._config);
|
|
77
75
|
}
|
|
78
76
|
set chartId(t) {
|
|
79
|
-
|
|
77
|
+
J(t, this._config);
|
|
80
78
|
}
|
|
81
79
|
}
|
|
82
80
|
const X = (e) => e.version;
|
|
@@ -373,13 +371,13 @@ class T extends n {
|
|
|
373
371
|
Nt([
|
|
374
372
|
a
|
|
375
373
|
], T.prototype, "backgroundColor");
|
|
376
|
-
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor,
|
|
374
|
+
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Et = (e, t, r, l) => {
|
|
377
375
|
for (var i = Bt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
378
376
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
379
377
|
return i && Ut(t, r, i), i;
|
|
380
378
|
};
|
|
381
|
-
const
|
|
382
|
-
|
|
379
|
+
const qt = (e, t) => t.series[e].visible ?? !0, Qt = (e, t) => {
|
|
380
|
+
j({ detail: e }, t);
|
|
383
381
|
};
|
|
384
382
|
class C extends n {
|
|
385
383
|
/**
|
|
@@ -388,17 +386,17 @@ class C extends n {
|
|
|
388
386
|
* @param seriesIndex The series index
|
|
389
387
|
*/
|
|
390
388
|
getSeriesVisibility(t) {
|
|
391
|
-
return
|
|
389
|
+
return qt(t, this._config);
|
|
392
390
|
}
|
|
393
391
|
setSeriesVisibility(t) {
|
|
394
|
-
|
|
392
|
+
Qt(t, this._config);
|
|
395
393
|
}
|
|
396
394
|
}
|
|
397
|
-
|
|
395
|
+
Et([
|
|
398
396
|
a
|
|
399
397
|
], C.prototype, "setSeriesVisibility");
|
|
400
|
-
const
|
|
401
|
-
class
|
|
398
|
+
const At = (e, t) => t.series[e]?.id;
|
|
399
|
+
class Gt extends n {
|
|
402
400
|
/**
|
|
403
401
|
* Gets the series ID for a given series index.
|
|
404
402
|
* If the series index is out of bounds, this function will return `undefined`.
|
|
@@ -406,11 +404,11 @@ class Ht extends n {
|
|
|
406
404
|
* @param seriesIndex - The index of the series.
|
|
407
405
|
*/
|
|
408
406
|
getSeriesId(t) {
|
|
409
|
-
return
|
|
407
|
+
return At(t, this._config);
|
|
410
408
|
}
|
|
411
409
|
}
|
|
412
|
-
const
|
|
413
|
-
class
|
|
410
|
+
const Ht = (e, t) => t.series.findIndex((r) => r.id === e);
|
|
411
|
+
class Jt extends n {
|
|
414
412
|
/**
|
|
415
413
|
* Gets the series index for a given series ID.
|
|
416
414
|
* If the series ID is not found, this function will return `undefined`.
|
|
@@ -418,16 +416,16 @@ class Kt extends n {
|
|
|
418
416
|
* @param seriesId - The ID of the series.
|
|
419
417
|
*/
|
|
420
418
|
getSeriesIndex(t) {
|
|
421
|
-
return
|
|
419
|
+
return Ht(t, this._config);
|
|
422
420
|
}
|
|
423
421
|
}
|
|
424
|
-
const
|
|
422
|
+
const Kt = (e) => F(e.series);
|
|
425
423
|
class Xt extends n {
|
|
426
424
|
/**
|
|
427
425
|
* The chart sub type of the series.
|
|
428
426
|
*/
|
|
429
427
|
get chartSubType() {
|
|
430
|
-
return
|
|
428
|
+
return Kt(this._config);
|
|
431
429
|
}
|
|
432
430
|
}
|
|
433
431
|
var Yt = Object.defineProperty, Zt = Object.getOwnPropertyDescriptor, kt = (e, t, r, l) => {
|
|
@@ -545,9 +543,9 @@ class ve extends n {
|
|
|
545
543
|
}
|
|
546
544
|
const ge = [
|
|
547
545
|
u,
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
546
|
+
G,
|
|
547
|
+
K,
|
|
548
|
+
I,
|
|
551
549
|
h,
|
|
552
550
|
Y,
|
|
553
551
|
b,
|
|
@@ -560,17 +558,17 @@ const ge = [
|
|
|
560
558
|
x,
|
|
561
559
|
T,
|
|
562
560
|
C,
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
561
|
+
Gt,
|
|
562
|
+
Jt,
|
|
563
|
+
z,
|
|
566
564
|
Xt,
|
|
567
565
|
$,
|
|
568
566
|
V,
|
|
569
567
|
m,
|
|
570
|
-
|
|
568
|
+
N,
|
|
571
569
|
w
|
|
572
570
|
];
|
|
573
|
-
|
|
571
|
+
W(ve, ge);
|
|
574
572
|
export {
|
|
575
573
|
ve as C
|
|
576
574
|
};
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { F as o, W as f } from "./interfaces.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cO as b, J as g, cl as d, c6 as y } from "./index.js";
|
|
4
4
|
import { R as u } from "./rest-js-object-literals.js";
|
|
5
|
-
import { d as r, l as
|
|
6
|
-
import { E as p, bK as g } from "./index.js";
|
|
7
|
-
import { t as d } from "./index2.js";
|
|
5
|
+
import { d as r, l as c } from "./chart-object-literals.js";
|
|
8
6
|
import { F as n } from "./common.js";
|
|
9
|
-
const
|
|
7
|
+
const D = {
|
|
10
8
|
DebounceTimer: 400,
|
|
11
9
|
SliderTimer: 100,
|
|
12
10
|
PopoverTimer: 60,
|
|
13
11
|
customSortLimit: 100
|
|
14
|
-
},
|
|
12
|
+
}, h = {
|
|
15
13
|
style: "decimal",
|
|
16
14
|
minimumFractionDigits: 0,
|
|
17
15
|
maximumFractionDigits: 3
|
|
18
|
-
},
|
|
16
|
+
}, F = [
|
|
19
17
|
r.Count,
|
|
20
18
|
r.Sum,
|
|
21
19
|
r.Average,
|
|
@@ -23,8 +21,8 @@ const F = {
|
|
|
23
21
|
r.Minimum,
|
|
24
22
|
r.Maximum,
|
|
25
23
|
r.NoAggregation
|
|
26
|
-
],
|
|
27
|
-
function
|
|
24
|
+
], S = [r.Count, r.Sum];
|
|
25
|
+
function v(e) {
|
|
28
26
|
let t;
|
|
29
27
|
switch (e) {
|
|
30
28
|
case n.Title:
|
|
@@ -55,12 +53,12 @@ function C(e) {
|
|
|
55
53
|
}
|
|
56
54
|
return t;
|
|
57
55
|
}
|
|
58
|
-
function
|
|
56
|
+
function I(e, t, a) {
|
|
59
57
|
let i = !1;
|
|
60
|
-
const s = typeof e == "string" ? Number.parseFloat(e) : e,
|
|
61
|
-
return Number.isNaN(s) || (i = (
|
|
58
|
+
const s = typeof e == "string" ? Number.parseFloat(e) : e, m = typeof t == "string" ? Number.parseFloat(t) : t, l = typeof a == "string" ? Number.parseFloat(a) : a;
|
|
59
|
+
return Number.isNaN(s) || (i = (m === void 0 || Number.isNaN(m) || s >= m) && (l === void 0 || Number.isNaN(l) || s <= l)), i;
|
|
62
60
|
}
|
|
63
|
-
function
|
|
61
|
+
function C(e, t) {
|
|
64
62
|
let a;
|
|
65
63
|
if (e !== null) {
|
|
66
64
|
const i = typeof e == "string" ? Number.parseFloat(e) : e;
|
|
@@ -68,31 +66,31 @@ function x(e, t) {
|
|
|
68
66
|
}
|
|
69
67
|
return a === void 0 ? "" : `${a}`;
|
|
70
68
|
}
|
|
71
|
-
function
|
|
69
|
+
function x(e) {
|
|
72
70
|
const { inputElement: t, status: a } = e;
|
|
73
71
|
t.status = a;
|
|
74
72
|
}
|
|
75
|
-
const
|
|
73
|
+
const A = {
|
|
76
74
|
IDLE: "idle",
|
|
77
75
|
INVALID: "invalid"
|
|
78
76
|
};
|
|
79
|
-
function
|
|
77
|
+
function E(e, t) {
|
|
80
78
|
let a = "";
|
|
81
79
|
if (e !== void 0 && !Number.isNaN(e)) {
|
|
82
|
-
const i =
|
|
80
|
+
const i = g(document.documentElement);
|
|
83
81
|
a = Intl.NumberFormat(i, t).format(e);
|
|
84
82
|
}
|
|
85
83
|
return a;
|
|
86
84
|
}
|
|
87
|
-
function
|
|
85
|
+
function O(e, t) {
|
|
88
86
|
let a = !1;
|
|
89
87
|
if (t !== void 0) {
|
|
90
88
|
const i = typeof t == "string" ? t.trim() : t, s = e.trim();
|
|
91
|
-
typeof t == "string" ? a = i === s || i ===
|
|
89
|
+
typeof t == "string" ? a = i === s || i === y && s === "" : a = i.includes(s);
|
|
92
90
|
}
|
|
93
91
|
return a;
|
|
94
92
|
}
|
|
95
|
-
function
|
|
93
|
+
function V(e) {
|
|
96
94
|
let t;
|
|
97
95
|
switch (e) {
|
|
98
96
|
case "trailing":
|
|
@@ -107,12 +105,12 @@ function M(e) {
|
|
|
107
105
|
}
|
|
108
106
|
return t;
|
|
109
107
|
}
|
|
110
|
-
function
|
|
108
|
+
function B(e) {
|
|
111
109
|
return e === void 0 || Number.isNaN(e.r) || Number.isNaN(e.g) || Number.isNaN(e.b) ? null : e;
|
|
112
110
|
}
|
|
113
|
-
const
|
|
111
|
+
const M = (e) => {
|
|
114
112
|
["e", "E"].includes(e.key) && e.preventDefault();
|
|
115
|
-
},
|
|
113
|
+
}, U = (e) => {
|
|
116
114
|
if (e.pickListElement !== void 0) {
|
|
117
115
|
const t = e.pickListElement.selectedItems;
|
|
118
116
|
e.eventEmitter.emit({
|
|
@@ -121,7 +119,7 @@ const W = (e) => {
|
|
|
121
119
|
});
|
|
122
120
|
}
|
|
123
121
|
};
|
|
124
|
-
function
|
|
122
|
+
function W(e) {
|
|
125
123
|
let t = "solid";
|
|
126
124
|
switch (e) {
|
|
127
125
|
case u.Dash:
|
|
@@ -137,36 +135,36 @@ function w(e) {
|
|
|
137
135
|
}
|
|
138
136
|
return t;
|
|
139
137
|
}
|
|
140
|
-
function
|
|
138
|
+
function P(e, t) {
|
|
141
139
|
const a = document.createElement("a");
|
|
142
140
|
a.style.display = "none", a.download = t, a.setAttribute("href", e), a.click(), a.remove(), URL.revokeObjectURL(e);
|
|
143
141
|
}
|
|
144
|
-
function
|
|
142
|
+
function w(e) {
|
|
145
143
|
return e != null && (e.style.removeProperty("opacity"), e.remove()), null;
|
|
146
144
|
}
|
|
147
|
-
function
|
|
145
|
+
function H(e) {
|
|
148
146
|
const t = !b(e?.config), a = e.xTemporalBinning?.unit, i = e.yTemporalBinning?.unit;
|
|
149
147
|
let s;
|
|
150
|
-
return t && a !== void 0 && i !== void 0 && (a ===
|
|
148
|
+
return t && a !== void 0 && i !== void 0 && (a === c.HourOfDay && i === c.DayOfWeek ? s = f.WeekByDayOfWeekAndHourOfDay : a === c.DayOfMonth && i === c.MonthOfYear && (s = f.YearByMonthAndDayOfMonth)), s;
|
|
151
149
|
}
|
|
152
150
|
export {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
151
|
+
h as D,
|
|
152
|
+
A as U,
|
|
153
|
+
w as a,
|
|
154
|
+
D as b,
|
|
155
|
+
F as c,
|
|
156
|
+
P as d,
|
|
157
|
+
O as e,
|
|
158
|
+
U as f,
|
|
159
|
+
B as g,
|
|
160
|
+
v as h,
|
|
161
|
+
I as i,
|
|
162
|
+
W as j,
|
|
163
|
+
M as k,
|
|
164
|
+
H as l,
|
|
165
|
+
x as m,
|
|
166
|
+
E as n,
|
|
167
|
+
V as o,
|
|
168
|
+
S as p,
|
|
169
|
+
C as s
|
|
172
170
|
};
|
|
@@ -4,7 +4,7 @@ import { g as h } from "./runtime.js";
|
|
|
4
4
|
import { fetchT9nStringsBundle as n } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { getElementLocale as m } from "@arcgis/toolkit/intl/dom";
|
|
6
6
|
import { a as e } from "./chart-object-literals.js";
|
|
7
|
-
import {
|
|
7
|
+
import { cO as p } from "./index.js";
|
|
8
8
|
function k(s) {
|
|
9
9
|
const c = o(s.series);
|
|
10
10
|
let r = "graph-bar";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import G from "@arcgis/core/Color.js";
|
|
3
3
|
import { createClassBreaksRenderer as J } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
4
|
-
import {
|
|
5
|
-
import { cloneDeep as
|
|
4
|
+
import { cP as Q, cQ as L } from "./index.js";
|
|
5
|
+
import { cloneDeep as Y, memoize as U, isEqual as O, sortBy as X, flatMap as Z } from "es-toolkit/compat";
|
|
6
6
|
import { getSchemes as ee } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
7
|
-
import { i as V } from "./
|
|
7
|
+
import { i as V } from "./index2.js";
|
|
8
8
|
import { b as S, a as b, R as g, d as k } from "./rest-js-object-literals.js";
|
|
9
9
|
import * as te from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
|
|
10
10
|
import { a as oe } from "./chart-object-literals.js";
|
|
@@ -158,7 +158,7 @@ function ae(e) {
|
|
|
158
158
|
}
|
|
159
159
|
async function re(e) {
|
|
160
160
|
const { categoryField: o, categoryType: t, numericFields: s, configFields: c, inlineData: r } = e;
|
|
161
|
-
let a, l, n =
|
|
161
|
+
let a, l, n = Y(r);
|
|
162
162
|
c && (a = se({
|
|
163
163
|
categoryField: o,
|
|
164
164
|
numericFields: s,
|
|
@@ -175,14 +175,14 @@ async function re(e) {
|
|
|
175
175
|
numericFields: s,
|
|
176
176
|
inlineData: n
|
|
177
177
|
});
|
|
178
|
-
return i && (l = await
|
|
178
|
+
return i && (l = await Q(i)), { chartRenderer: a, iLayer: i, layer: l };
|
|
179
179
|
}
|
|
180
180
|
const xe = {
|
|
181
181
|
hexToRGB: H,
|
|
182
182
|
convertColor: x,
|
|
183
183
|
removeConfigFieldsFromData: j
|
|
184
184
|
}, T = te.all(), le = ee({ geometryType: "point", theme: "high-to-low" });
|
|
185
|
-
function
|
|
185
|
+
function P(e, o, t) {
|
|
186
186
|
const s = Math.max(0, Math.min(1, t));
|
|
187
187
|
return [
|
|
188
188
|
Math.round(e[0] + (o[0] - e[0]) * s),
|
|
@@ -209,12 +209,12 @@ function ie(e) {
|
|
|
209
209
|
else
|
|
210
210
|
for (let n = 0; n < o; n++) {
|
|
211
211
|
const i = n / (o - 1);
|
|
212
|
-
r.push(
|
|
212
|
+
r.push(P(a, l, i));
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
return r;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function K(e) {
|
|
218
218
|
const { colorRamp: o, numberOfClassBreaks: t, isFlipped: s } = e;
|
|
219
219
|
let c = [], r = !1;
|
|
220
220
|
if (o.colorsForClassBreaks && o.colorsForClassBreaks.length > 0) {
|
|
@@ -238,7 +238,7 @@ function P(e) {
|
|
|
238
238
|
c = [];
|
|
239
239
|
break;
|
|
240
240
|
}
|
|
241
|
-
const R = u * (l.length - 1) - f, C =
|
|
241
|
+
const R = u * (l.length - 1) - f, C = P(m, p, R);
|
|
242
242
|
n.push(C);
|
|
243
243
|
}
|
|
244
244
|
c = n;
|
|
@@ -249,7 +249,7 @@ function P(e) {
|
|
|
249
249
|
function W(e) {
|
|
250
250
|
const { numberOfClassBreaks: o, selectedColorRamp: t, colorRamp: s, isFlipped: c = !1 } = e;
|
|
251
251
|
let r = ne(o, s);
|
|
252
|
-
const a = t ?
|
|
252
|
+
const a = t ? K({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
|
|
253
253
|
return r.length !== o && (r = a), r.length !== o && (r = ie({
|
|
254
254
|
numberOfClassBreaks: o,
|
|
255
255
|
baseColors: a.length > 0 ? a : s
|
|
@@ -397,7 +397,7 @@ function de(e) {
|
|
|
397
397
|
return o.size === 1 ? t : void 0;
|
|
398
398
|
}
|
|
399
399
|
function pe(e, o) {
|
|
400
|
-
const t =
|
|
400
|
+
const t = K({
|
|
401
401
|
colorRamp: A.defaultColorRampForCharts,
|
|
402
402
|
numberOfClassBreaks: 1
|
|
403
403
|
})[0];
|