@arcgis/charts-components 5.0.0-next.101 → 5.0.0-next.103
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/{K3347TUU.js → 2HTL6FP7.js} +2 -2
- package/dist/cdn/{3F6RDWKI.js → 2JO6HKB3.js} +2 -2
- package/dist/cdn/{4EFZ753H.js → 2KT37FBK.js} +2 -2
- package/dist/cdn/{AVTKFQJC.js → 2MFJUWF2.js} +2 -2
- package/dist/cdn/{4G6D3ASD.js → 2MNCBYJM.js} +2 -2
- package/dist/cdn/{CCRYWBAV.js → 2XJJRXPR.js} +2 -2
- package/dist/cdn/{WAYXOSPU.js → 34V4SC2D.js} +2 -2
- package/dist/cdn/{LLRI2LJO.js → 37ZC7XJR.js} +2 -2
- package/dist/cdn/{RZF47IF3.js → 3KRYHHIO.js} +2 -2
- package/dist/cdn/{Y5FHRNKM.js → 3OZHRZMP.js} +2 -2
- package/dist/cdn/{B2O47KO4.js → 436KXAAY.js} +9 -9
- package/dist/cdn/{LPZ2NQIL.js → 4BVQ5CNA.js} +2 -2
- package/dist/cdn/{MMRKXO3W.js → 4TUSM3AQ.js} +2 -2
- package/dist/cdn/{4RJW7QM4.js → 4W3NEMXF.js} +2 -2
- package/dist/cdn/{L2746EQG.js → 5A3DBT5W.js} +2 -2
- package/dist/cdn/{GYWROIW5.js → 5C266XF2.js} +1 -1
- package/dist/cdn/{MCNBIDPY.js → 5HORPQE4.js} +2 -2
- package/dist/cdn/{UBTWZBIT.js → 5JMOGSCH.js} +2 -2
- package/dist/cdn/63Y5NQFO.js +6 -0
- package/dist/cdn/{JD5OLHTZ.js → 6I5SYUMM.js} +2 -2
- package/dist/cdn/{FBEE2NDM.js → 6IGFTJIY.js} +2 -2
- package/dist/cdn/{PAPWEURM.js → 6PKG5PIH.js} +2 -2
- package/dist/cdn/{VOAMQ5HT.js → 6SPQGF2E.js} +2 -2
- package/dist/cdn/{PF32Q3YS.js → 6US5LSGX.js} +2 -2
- package/dist/cdn/{X2RWHESE.js → 6V6O7TA3.js} +2 -2
- package/dist/cdn/{SEGSRZJQ.js → 6X7UO3MM.js} +2 -2
- package/dist/cdn/{RI6QC5BD.js → 7KK4WJRU.js} +2 -2
- package/dist/cdn/{L465OFGG.js → 7N6LWFKP.js} +2 -2
- package/dist/cdn/{6CE2UCET.js → 7OOTUARJ.js} +2 -2
- package/dist/cdn/{555UMA6Y.js → 7QPDXGHL.js} +2 -2
- package/dist/cdn/{OAMETNMV.js → 7WY444HC.js} +2 -2
- package/dist/cdn/{JKS4IHY3.js → A3O5KJAZ.js} +2 -2
- package/dist/cdn/{2KJOHYQC.js → A4OT22OG.js} +2 -2
- package/dist/cdn/{K4PQJJJH.js → ALJJAG2D.js} +2 -2
- package/dist/cdn/{YJDDHRL7.js → ANMY32DH.js} +1 -1
- package/dist/cdn/{IWYUSR43.js → AOB6DBLR.js} +2 -2
- package/dist/cdn/{RTHLLJP3.js → ATC7GJK3.js} +2 -2
- package/dist/cdn/{NMYKYSJ2.js → AX6TUQ7F.js} +2 -2
- package/dist/cdn/{27AHM24Q.js → AZXVGQPG.js} +2 -2
- package/dist/cdn/{6MKHXKI7.js → B2EDL3PZ.js} +2 -2
- package/dist/cdn/{AFRWFEMV.js → B5CM3U67.js} +2 -2
- package/dist/cdn/{2TA5DE3I.js → BCWNEMLO.js} +2 -2
- package/dist/cdn/{QHUNULFE.js → BV327R5W.js} +2 -2
- package/dist/cdn/{4LJL2V4J.js → C2MKSNPC.js} +2 -2
- package/dist/cdn/{6VVH4D5U.js → C367SY3X.js} +2 -2
- package/dist/cdn/{BCYRG2J4.js → CNI6F3IQ.js} +2 -2
- package/dist/cdn/{5RA562IS.js → D3MAXSM6.js} +2 -2
- package/dist/cdn/{KWVLQOUB.js → D7EK3QGA.js} +2 -2
- package/dist/cdn/{F6J76S2A.js → DAJJZHOJ.js} +2 -2
- package/dist/cdn/{IENCRGGF.js → DK5DUUWB.js} +2 -2
- package/dist/cdn/{CLJSG7LS.js → DNLFY3LU.js} +2 -2
- package/dist/cdn/{LS75INIU.js → DOF5G27X.js} +1 -1
- package/dist/cdn/{6SKDWHQQ.js → DRTO2BDN.js} +2 -2
- package/dist/cdn/{XVL3HBCH.js → E7IBZHXW.js} +2 -2
- package/dist/cdn/{YVA3BAF2.js → EF6PJZLD.js} +2 -2
- package/dist/cdn/{XACDGDQ4.js → EFBHNWXR.js} +2 -2
- package/dist/cdn/{FU4TWM5Q.js → EIXEFHGD.js} +2 -2
- package/dist/cdn/{WCXGF2MN.js → EJCA5NZX.js} +2 -2
- package/dist/cdn/{TLXRO7Q2.js → EP6SJIFY.js} +2 -2
- package/dist/cdn/{GGNKHOF5.js → EXLOV74Q.js} +2 -2
- package/dist/cdn/{JRLD3L36.js → EZMF4QOU.js} +2 -2
- package/dist/cdn/{O76MON2U.js → F2KRMXLT.js} +2 -2
- package/dist/cdn/{BWOQBJOG.js → FFYOYUH3.js} +2 -2
- package/dist/cdn/{DL4EL3MD.js → FIMXZHFS.js} +2 -2
- package/dist/cdn/{DXNZYISQ.js → FPA4PWSR.js} +2 -2
- package/dist/cdn/{IGRJ7GDR.js → FUOWIYCG.js} +2 -2
- package/dist/cdn/{MJUDSKVZ.js → FWK5PAH6.js} +2 -2
- package/dist/cdn/{ZMULK22B.js → G5I3ROTC.js} +2 -2
- package/dist/cdn/{ZLB6WLUY.js → G7DWFHDQ.js} +2 -2
- package/dist/cdn/{OO2WULKL.js → GAHDVPWO.js} +2 -2
- package/dist/cdn/{L3AT37DN.js → GAM37YD4.js} +2 -2
- package/dist/cdn/{YRDOCLZ6.js → GFDDWZEN.js} +1 -1
- package/dist/cdn/{PULSZWIM.js → GIFGSUEN.js} +2 -2
- package/dist/cdn/{OXOUWQQ4.js → GZ26Q7CX.js} +2 -2
- package/dist/cdn/{3YQGAXKH.js → HD7CWUM5.js} +2 -2
- package/dist/cdn/{P2L447Y4.js → HHMD3J4H.js} +2 -2
- package/dist/cdn/{NXOUPMI5.js → HYMDLSCL.js} +2 -2
- package/dist/cdn/{ICI73USB.js → I24DAGG4.js} +2 -2
- package/dist/cdn/{OXP573EZ.js → IF6SVB5Q.js} +2 -2
- package/dist/cdn/{ATY7JXFA.js → IX2FCSFH.js} +2 -2
- package/dist/cdn/{TT7TZTDN.js → JAYLXOD4.js} +8 -8
- package/dist/cdn/{KVYD5SUN.js → JNZRFFVW.js} +2 -2
- package/dist/cdn/{BGWUVCCW.js → JRYDZHUT.js} +2 -2
- package/dist/cdn/{BXFF6W6H.js → JU2YHUYD.js} +2 -2
- package/dist/cdn/{OH3IKWV6.js → JVASC6GW.js} +2 -2
- package/dist/cdn/{KYDV6PQ6.js → K2KFOXE6.js} +2 -2
- package/dist/cdn/{5OMKN27U.js → K2S7SWQB.js} +2 -2
- package/dist/cdn/{GKHPYIG3.js → KFO4NOG2.js} +2 -2
- package/dist/cdn/{E5O5HYR2.js → KGWNPU2J.js} +2 -2
- package/dist/cdn/{ZL3ANZAF.js → KKJH63GM.js} +2 -2
- package/dist/cdn/{KRCULZ5S.js → KPIH6WGN.js} +2 -2
- package/dist/cdn/{H45NE4P7.js → KQRVOTTG.js} +2 -2
- package/dist/cdn/{C6OZZA5V.js → KVIW4HYT.js} +2 -2
- package/dist/cdn/{NXOUXEBW.js → KYEYD3AS.js} +2 -2
- package/dist/cdn/{4M6MMWNB.js → LDLPZ56E.js} +2 -2
- package/dist/cdn/{FXS6L4BL.js → LOTA6FLQ.js} +2 -2
- package/dist/cdn/{IS3CPHVE.js → LPDE6W2K.js} +2 -2
- package/dist/cdn/{VCP53FGH.js → MC645RG3.js} +2 -2
- package/dist/cdn/{WW5LYUGZ.js → MCM2BPQM.js} +2 -2
- package/dist/cdn/{ICUVZDZK.js → MFRF7Y37.js} +2 -2
- package/dist/cdn/{VXXMXQ7A.js → MHAQ753S.js} +2 -2
- package/dist/cdn/{GBJG5ODR.js → MICNI552.js} +2 -2
- package/dist/cdn/{3HWORVIX.js → MJAVSPBB.js} +2 -2
- package/dist/cdn/{TDNJBA4J.js → MSD5CTKS.js} +2 -2
- package/dist/cdn/{T62XRN7F.js → MV2ISPDO.js} +2 -2
- package/dist/cdn/{JSXA3HTW.js → MVDRTIQH.js} +2 -2
- package/dist/cdn/{A54OJAZM.js → MVXGXQCS.js} +2 -2
- package/dist/cdn/{V2A2KDWB.js → MZZCWW2A.js} +2 -2
- package/dist/cdn/{RWWV5W4Z.js → N2H3TVOI.js} +1 -1
- package/dist/cdn/{UT6KFDX6.js → NDJTUPZR.js} +2 -2
- package/dist/cdn/{UJG3TBLT.js → NFGD4TJU.js} +2 -2
- package/dist/cdn/{33472PYB.js → NLMVMWAR.js} +2 -2
- package/dist/cdn/{R4H6GJN3.js → NPZK3G2E.js} +2 -2
- package/dist/cdn/{EPP4NFXJ.js → NW64DUQO.js} +2 -2
- package/dist/cdn/{E4TDR24T.js → O5LLHUZS.js} +2 -2
- package/dist/cdn/{VAXHVXXY.js → OBBBB2CA.js} +2 -2
- package/dist/cdn/PKNWRNXH.js +4 -0
- package/dist/cdn/{IQLHR7E5.js → Q5Q4WCFH.js} +1 -1
- package/dist/cdn/{IRUYMP4U.js → QBZ4NGTR.js} +2 -2
- package/dist/cdn/{UGERICON.js → QD5UD6F2.js} +2 -2
- package/dist/cdn/{ZH3XOGWI.js → QFB7MBUZ.js} +2 -2
- package/dist/cdn/{PS6DF43M.js → QHKDHKK7.js} +2 -2
- package/dist/cdn/{Q44PVV2F.js → QIRTSMTV.js} +2 -2
- package/dist/cdn/{XY6QW6GZ.js → QKGUWAJK.js} +2 -2
- package/dist/cdn/{FK6MBQ7W.js → QL4ZDLSE.js} +2 -2
- package/dist/cdn/{VHFZLEZ6.js → QOCW5P3K.js} +2 -2
- package/dist/cdn/{PSGKKAGR.js → QQXIO6RZ.js} +1 -1
- package/dist/cdn/{NKUEMLKG.js → QSUJGGWJ.js} +2 -2
- package/dist/cdn/{OA7NXFO3.js → R6MJVQ3E.js} +2 -2
- package/dist/cdn/{CHKIQON5.js → RNE3DKS2.js} +2 -2
- package/dist/cdn/{FIWGYB2Y.js → RQUWHP2G.js} +2 -2
- package/dist/cdn/{Z6GX5XA2.js → S2G6SQZC.js} +2 -2
- package/dist/cdn/{YQL2AXBL.js → S622HABK.js} +2 -2
- package/dist/cdn/{RPQGCZ3E.js → S7XDNS36.js} +2 -2
- package/dist/cdn/{JYIUAA3R.js → SBSGTJWG.js} +2 -2
- package/dist/cdn/{UL3HL623.js → SDTH5NHU.js} +2 -2
- package/dist/cdn/{AI2OJVG6.js → SPNJUL6U.js} +2 -2
- package/dist/cdn/{W5CZ3HGU.js → SVMESJLN.js} +2 -2
- package/dist/cdn/{CC36GLBQ.js → T3IVVYDY.js} +2 -2
- package/dist/cdn/{UV2WESS2.js → T55TLZFO.js} +2 -2
- package/dist/cdn/{MLXMCZRQ.js → TKMYM7L7.js} +2 -2
- package/dist/cdn/{32KYBKTV.js → TOK43IAZ.js} +2 -2
- package/dist/cdn/{ODRV5PRR.js → TROYMUA4.js} +2 -2
- package/dist/cdn/{ALPKL3VV.js → UAILKW4B.js} +2 -2
- package/dist/cdn/{DESDGS3U.js → UHSZMABB.js} +2 -2
- package/dist/cdn/{3KEBSKVB.js → UONMYW4B.js} +2 -2
- package/dist/cdn/{IFCY263I.js → UP7FLATR.js} +2 -2
- package/dist/cdn/{2OLICBJA.js → UPIPQYNS.js} +2 -2
- package/dist/cdn/{T3R3IQT7.js → VCBFQHSG.js} +2 -2
- package/dist/cdn/{JHCGQ7NP.js → VVDPQRG4.js} +2 -2
- package/dist/cdn/{BTZBM326.js → VZQRQHX3.js} +2 -2
- package/dist/cdn/{GQXEW6KM.js → WAC2AJL4.js} +2 -2
- package/dist/cdn/{XVLAESMP.js → WBFOPAPB.js} +2 -2
- package/dist/cdn/{BBWWDMVH.js → WLCHUATK.js} +1 -1
- package/dist/cdn/{FOXALB7A.js → WQTRLTPF.js} +2 -2
- package/dist/cdn/{PPIDGDDD.js → WRH7UYGG.js} +2 -2
- package/dist/cdn/{D4NADKB4.js → X2XQVD3R.js} +2 -2
- package/dist/cdn/{I7IKHGFR.js → X54VEOUL.js} +2 -2
- package/dist/cdn/{E3O6ZHPY.js → XBTU2ONC.js} +2 -2
- package/dist/cdn/{KI3FS4U5.js → XF5QSPIN.js} +2 -2
- package/dist/cdn/{4XL6PLOJ.js → XIJSBPF4.js} +2 -2
- package/dist/cdn/{2DNKKJTH.js → XK4ONOXJ.js} +2 -2
- package/dist/cdn/{AIQDY2KX.js → XKO3RRT2.js} +2 -2
- package/dist/cdn/{TVALMVP7.js → XLEPTDMT.js} +2 -2
- package/dist/cdn/{JJYGDLWU.js → XQYH4NZD.js} +2 -2
- package/dist/cdn/{UK24GJR2.js → XSILRE36.js} +2 -2
- package/dist/cdn/{5LERKJAT.js → XVBDTDWG.js} +2 -2
- package/dist/cdn/{JWLGMCPG.js → YAJXIE4J.js} +2 -2
- package/dist/cdn/{B45SUSSO.js → YRXH6OQF.js} +2 -2
- package/dist/cdn/{MADGEPEP.js → YSLYRUKP.js} +2 -2
- package/dist/cdn/{SNC3AMZJ.js → YVSRYKNX.js} +2 -2
- package/dist/cdn/{EGDQ23QT.js → Z2K5XFXO.js} +2 -2
- package/dist/cdn/{R4UXY6OA.js → ZSL4VIC2.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/defaults/index.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +9 -9
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +28 -28
- package/dist/chunks/box-plot-model.js +7 -7
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +6 -6
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +24 -24
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/heat-chart-model.js +84 -73
- package/dist/chunks/histogram-data.js +9 -9
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +1207 -1166
- package/dist/chunks/index2.js +20 -20
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +10 -10
- package/dist/chunks/model-with-multi-axes.js +128 -128
- package/dist/chunks/pie-chart-data.js +19 -19
- package/dist/chunks/pie-chart-model.js +25 -25
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +7 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +24 -24
- package/dist/chunks/serial-chart-data.js +162 -158
- package/dist/chunks/serial-chart-model.js +12 -12
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +23 -23
- package/dist/components/arcgis-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/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 +10 -10
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +222 -221
- package/dist/json-schema/index.d.ts +7 -2
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +5 -0
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +60 -49
- package/dist/model.js +1 -1
- package/dist/spec/web-chart.d.ts +7 -2
- package/dist/utils/chart-config/converter/index.d.ts +4 -4
- package/dist/utils/chart-config/utils/index.d.ts +8 -1
- package/dist/utils/data/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cdn/6U56V3YP.js +0 -6
- package/dist/cdn/SNHDAWRU.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import { memoize as
|
|
3
|
-
import { a as m, g as C, t as F, W as
|
|
4
|
-
import { R as
|
|
5
|
-
import { d as O,
|
|
2
|
+
import { memoize as W, isEmpty as $, isNull as E, cloneDeep as U } from "lodash-es";
|
|
3
|
+
import { a as m, g as C, t as F, W as z } from "./series-types.js";
|
|
4
|
+
import { R as G } from "./rest-js-object-literals.js";
|
|
5
|
+
import { d as O, bK as A, aR as _, bs as M, cY as P, $ as V, bb as k, a as w } from "./index.js";
|
|
6
6
|
import "d3-array";
|
|
7
7
|
import "@arcgis/core/Graphic.js";
|
|
8
8
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -23,13 +23,13 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
23
23
|
import "./runtime.js";
|
|
24
24
|
import "@arcgis/toolkit/dom";
|
|
25
25
|
import { a as y, P as g } from "./common.js";
|
|
26
|
-
import { b as L, u as q, g as
|
|
27
|
-
import { g as
|
|
26
|
+
import { b as L, u as q, g as H, a as J } from "./serial-chart-data.js";
|
|
27
|
+
import { g as Q } from "./data.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.103 */
|
|
31
31
|
function v(s) {
|
|
32
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: r, mode: i }) : "", l =
|
|
32
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: r, mode: i }) : "", l = H(t), d = V(t);
|
|
33
33
|
return a === l || d;
|
|
34
34
|
}
|
|
35
35
|
function B(s) {
|
|
@@ -39,19 +39,19 @@ function B(s) {
|
|
|
39
39
|
commonStrings: r,
|
|
40
40
|
numericFields: f(t),
|
|
41
41
|
aggregationType: T(t, i)
|
|
42
|
-
}) : "", l =
|
|
42
|
+
}) : "", l = J(1, t), d = V(t);
|
|
43
43
|
return a === l || d;
|
|
44
44
|
}
|
|
45
45
|
const I = (s) => s.series?.[0]?.x ?? "";
|
|
46
|
-
function
|
|
46
|
+
function X(s, t) {
|
|
47
47
|
const e = s.series?.[0];
|
|
48
48
|
return [`${t === y.Category ? e.y : w} ${C.Descending}`];
|
|
49
49
|
}
|
|
50
50
|
const K = (s, t) => {
|
|
51
51
|
let e = g.valueDesc;
|
|
52
|
-
const i = s.orderOptions?.data?.orderType ??
|
|
52
|
+
const i = s.orderOptions?.data?.orderType ?? X(s, t), r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : C.Descending;
|
|
53
53
|
return i === F.Category && Array.isArray(r) ? e = g.customSort : i === F.Category ? r === C.Ascending ? e = g.labelAsc : e = g.labelDesc : r === C.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
|
|
54
|
-
}, f =
|
|
54
|
+
}, f = W(
|
|
55
55
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
56
56
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
57
57
|
(s) => {
|
|
@@ -68,14 +68,14 @@ const K = (s, t) => {
|
|
|
68
68
|
return t === y.Fields && e.length === 0 ? i = m.Sum : i = s.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
|
|
69
69
|
};
|
|
70
70
|
function Y(s) {
|
|
71
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = A(e?.layer).idField, l =
|
|
71
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = A(e?.layer).idField, l = k(r, a), d = I(t), c = t.series[0]?.dataLabels, o = {
|
|
72
72
|
...l,
|
|
73
73
|
x: i === y.Category ? d : O,
|
|
74
74
|
slices: t.series?.[0]?.slices,
|
|
75
75
|
dataLabels: {
|
|
76
76
|
...l.dataLabels,
|
|
77
|
-
type: l.dataLabels?.type ??
|
|
78
|
-
content: { ...l.dataLabels?.content, ...c?.content, type:
|
|
77
|
+
type: l.dataLabels?.type ?? z.Text,
|
|
78
|
+
content: { ...l.dataLabels?.content, ...c?.content, type: G.TS },
|
|
79
79
|
visible: c?.visible ?? !1
|
|
80
80
|
},
|
|
81
81
|
innerRadiusSize: t.series?.[0]?.innerRadius,
|
|
@@ -102,7 +102,7 @@ function Y(s) {
|
|
|
102
102
|
return i === y.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, U(o);
|
|
103
103
|
}
|
|
104
104
|
function D(s) {
|
|
105
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = A(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p =
|
|
105
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = A(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = M(n, r), x = u ? "" : o.map((R) => P(a ?? [], R)).join(", "), S = P(a ?? [], c);
|
|
106
106
|
let b = "", N;
|
|
107
107
|
return i === y.Fields ? N = o.length === 0 : N = c === "", N ? b = r.utilsStrings.chartType.pieChart : n === m.NoAggregation ? b = h(r.titleLabels.aggrFieldsByCategory, {
|
|
108
108
|
aggregationFields: u ? l : x,
|
|
@@ -110,7 +110,7 @@ function D(s) {
|
|
|
110
110
|
}) : n === m.Count ? b = h(r.titleLabels.aggrTypeCategory, {
|
|
111
111
|
aggregationType: p,
|
|
112
112
|
category: S
|
|
113
|
-
}) : o.length > 0 && (S === O ||
|
|
113
|
+
}) : o.length > 0 && (S === O || $(S) || E(S) ? b = h(r.titleLabels.aggrTypeOfAggrFields, {
|
|
114
114
|
aggregationType: p,
|
|
115
115
|
aggregationFields: x
|
|
116
116
|
}) : b = h(r.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
@@ -165,7 +165,7 @@ function j(s) {
|
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
|
|
168
|
-
const u =
|
|
168
|
+
const u = Q({
|
|
169
169
|
config: i,
|
|
170
170
|
xAxisField: I(i),
|
|
171
171
|
numericFields: t,
|
|
@@ -220,7 +220,7 @@ const qe = (s) => {
|
|
|
220
220
|
e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: r }));
|
|
221
221
|
const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
222
222
|
e.legend = {
|
|
223
|
-
...e.legend ??
|
|
223
|
+
...e.legend ?? _(),
|
|
224
224
|
displayNumericValue: n,
|
|
225
225
|
displayPercentage: u,
|
|
226
226
|
displayCategory: o
|
|
@@ -3,7 +3,7 @@ import { W as p } from "./series-types.js";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { cloneDeep as M } from "lodash-es";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import {
|
|
6
|
+
import { aR as d, b9 as v, aN as S, ax as P, p as _, df as f, $ as A, bi as W, bb as w, bK as G } from "./index.js";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -14,7 +14,7 @@ import "@arcgis/core/request.js";
|
|
|
14
14
|
import "./runtime.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
16
|
import { t as T, C as k, u as z, v as B, x as R } from "./model-with-multi-axes.js";
|
|
17
|
-
import { d as V, m as s, e as E,
|
|
17
|
+
import { d as V, m as s, e as E, a0 as j } from "./serial-chart-data.js";
|
|
18
18
|
import { b as c, a as h } from "./common.js";
|
|
19
19
|
import "@arcgis/core/Graphic.js";
|
|
20
20
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -25,11 +25,11 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
25
25
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
26
26
|
import "simple-statistics";
|
|
27
27
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
|
-
import { g as b, s as U, a as K, c as $, b as
|
|
28
|
+
import { g as b, s as U, a as K, c as $, b as q, d as H, e as J, f as Q, h as O, i as L, j as X } from "./pie-chart-data.js";
|
|
29
29
|
import { R as y } from "./rest-js-object-literals.js";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.103 */
|
|
33
33
|
const Y = (t) => t.legend?.displayNumericValue ?? !1, Z = (t, e) => {
|
|
34
34
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
|
|
35
35
|
}, ee = (t) => t.legend?.displayCategory ?? !1, te = (t, e) => {
|
|
@@ -118,7 +118,7 @@ const ce = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
|
|
|
118
118
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
119
119
|
}, he = (t, e) => {
|
|
120
120
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
121
|
-
}, ye = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, me = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0,
|
|
121
|
+
}, ye = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, me = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, Se = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, be = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, Oe = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Le = (t, e) => {
|
|
122
122
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
123
123
|
}, De = (t) => t.series?.[0]?.valuePrefix, Ce = (t, e) => {
|
|
124
124
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
@@ -141,21 +141,21 @@ const ce = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
|
|
|
141
141
|
});
|
|
142
142
|
}, Me = (t) => t.series?.[0]?.alignDataLabels ?? !1, Ae = (t, e) => {
|
|
143
143
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
144
|
-
},
|
|
144
|
+
}, We = (t) => t.series?.[0]?.dataLabelsInside ?? !1, we = (t, e) => {
|
|
145
145
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
146
146
|
}, Ge = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ke = (t, e) => {
|
|
147
147
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
148
148
|
}, ze = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Be = (t, e) => {
|
|
149
|
-
e.series?.[0] && (e.series[0].numericValueFormat ??=
|
|
149
|
+
e.series?.[0] && (e.series[0].numericValueFormat ??= S(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= S(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
150
150
|
}, Re = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ee = (t, e) => {
|
|
151
151
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
152
152
|
}, je = (t) => t.series[0]?.ticks?.visible ?? !1, Ue = (t, e) => {
|
|
153
153
|
e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.visible = t);
|
|
154
154
|
}, Ke = (t) => t.series[0]?.ticks?.lineSymbol, $e = (t, e) => {
|
|
155
155
|
t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol = M(t));
|
|
156
|
-
},
|
|
156
|
+
}, qe = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, He = (t, e) => e.series?.[0]?.slices?.[t]?.label, Je = (t, e, i) => {
|
|
157
157
|
i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
|
|
158
|
-
},
|
|
158
|
+
}, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Xe = (t, e, i) => {
|
|
159
159
|
const o = i.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
160
160
|
o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: y.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
|
|
161
161
|
type: y.SFS,
|
|
@@ -197,7 +197,7 @@ class r extends k {
|
|
|
197
197
|
await this.loadConfigFromLayer(e);
|
|
198
198
|
const { config: i } = e;
|
|
199
199
|
if (i !== void 0) {
|
|
200
|
-
const o =
|
|
200
|
+
const o = _(i.series);
|
|
201
201
|
this._mode = o !== f.PieFromFields ? h.Category : h.Fields;
|
|
202
202
|
}
|
|
203
203
|
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
@@ -239,10 +239,10 @@ class r extends k {
|
|
|
239
239
|
* Aggregation type for the pie chart.
|
|
240
240
|
*/
|
|
241
241
|
get aggregationType() {
|
|
242
|
-
return
|
|
242
|
+
return q(this._config, this._mode);
|
|
243
243
|
}
|
|
244
244
|
set aggregationType(e) {
|
|
245
|
-
|
|
245
|
+
H({
|
|
246
246
|
newAggregationType: e,
|
|
247
247
|
config: this._config,
|
|
248
248
|
layerInfo: this.layerInfo,
|
|
@@ -254,10 +254,10 @@ class r extends k {
|
|
|
254
254
|
* Gets the sort order for the pie chart.
|
|
255
255
|
*/
|
|
256
256
|
getSortOrder() {
|
|
257
|
-
return
|
|
257
|
+
return J(this._config, this._mode);
|
|
258
258
|
}
|
|
259
259
|
setSortOrder(e, i) {
|
|
260
|
-
|
|
260
|
+
Q({
|
|
261
261
|
newSortOrderKind: e,
|
|
262
262
|
config: this._config,
|
|
263
263
|
orderByList: i
|
|
@@ -291,7 +291,7 @@ class r extends k {
|
|
|
291
291
|
* Gets the list of the category values for the chart.
|
|
292
292
|
*/
|
|
293
293
|
async getCustomSortValues() {
|
|
294
|
-
const e = b(this._config), i =
|
|
294
|
+
const e = b(this._config), i = _(this._config.series);
|
|
295
295
|
let o = [];
|
|
296
296
|
return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await j({
|
|
297
297
|
category: e,
|
|
@@ -398,8 +398,8 @@ class r extends k {
|
|
|
398
398
|
// #region Protected methods
|
|
399
399
|
// ---------------------------------------------------------------------------------------------
|
|
400
400
|
generateDefaultConfig() {
|
|
401
|
-
const e =
|
|
402
|
-
return e.series = [
|
|
401
|
+
const e = W(this.commonStrings);
|
|
402
|
+
return e.series = [w(this.commonStrings, G(this.layerInfo.layer).idField)], e;
|
|
403
403
|
}
|
|
404
404
|
// ---------------------------------------------------------------------------------------------
|
|
405
405
|
// #region Series Methods
|
|
@@ -410,7 +410,7 @@ class r extends k {
|
|
|
410
410
|
* @param sliceIndex - The index of the slice.
|
|
411
411
|
*/
|
|
412
412
|
getOriginalSliceName(e) {
|
|
413
|
-
return
|
|
413
|
+
return qe(e, this._config);
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -418,10 +418,10 @@ class r extends k {
|
|
|
418
418
|
* @param sliceIndex - The index of the slice.
|
|
419
419
|
*/
|
|
420
420
|
getSliceName(e) {
|
|
421
|
-
return
|
|
421
|
+
return He(e, this._config);
|
|
422
422
|
}
|
|
423
423
|
setSliceName(e, i) {
|
|
424
|
-
|
|
424
|
+
Je(e, i, this._config);
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -429,7 +429,7 @@ class r extends k {
|
|
|
429
429
|
* @param sliceIndex - The index of the slice.
|
|
430
430
|
*/
|
|
431
431
|
getSliceColor(e) {
|
|
432
|
-
return
|
|
432
|
+
return Qe(e, this._config);
|
|
433
433
|
}
|
|
434
434
|
setSliceColor(e, i) {
|
|
435
435
|
Xe(e, i, this._config);
|
|
@@ -546,7 +546,7 @@ class r extends k {
|
|
|
546
546
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
547
547
|
*/
|
|
548
548
|
get displayNumericValueOnDataLabel() {
|
|
549
|
-
return
|
|
549
|
+
return Se(this._config);
|
|
550
550
|
}
|
|
551
551
|
set displayNumericValueOnDataLabel(e) {
|
|
552
552
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -558,7 +558,7 @@ class r extends k {
|
|
|
558
558
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
559
559
|
*/
|
|
560
560
|
get displayPercentageOnDataLabel() {
|
|
561
|
-
return
|
|
561
|
+
return _e(this._config);
|
|
562
562
|
}
|
|
563
563
|
set displayPercentageOnDataLabel(e) {
|
|
564
564
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -645,10 +645,10 @@ class r extends k {
|
|
|
645
645
|
* Setting for placing the data labels inside of the slices.
|
|
646
646
|
*/
|
|
647
647
|
get dataLabelsInside() {
|
|
648
|
-
return
|
|
648
|
+
return We(this._config);
|
|
649
649
|
}
|
|
650
650
|
set dataLabelsInside(e) {
|
|
651
|
-
|
|
651
|
+
we(e, this._config);
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
654
|
* Optimize data labels overlapping setting for the pie chart.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEqual as r } from "lodash-es";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.103 */
|
|
5
5
|
const i = (e) => (e?.remove(), null), a = (e, t = !1) => {
|
|
6
6
|
e && (t ? (e.style.setProperty("opacity", "1"), e.style.setProperty("pointer-events", "initial")) : (e.style.removeProperty("opacity"), e.style.removeProperty("pointer-events")), e.triggerDisabled = t, e.open = t);
|
|
7
7
|
}, l = (e, t) => e !== void 0 && t !== void 0 && !r(e, t);
|
|
@@ -2,7 +2,7 @@ import { W as h } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { bh as d, b5 as n, bK as o, aD as S, ar as c } from "./index.js";
|
|
6
6
|
import "@arcgis/core/Graphic.js";
|
|
7
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -22,11 +22,11 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
22
22
|
import "./runtime.js";
|
|
23
23
|
import "@arcgis/toolkit/dom";
|
|
24
24
|
import { S as y } from "./serial-chart-model.js";
|
|
25
|
-
import { s as
|
|
26
|
-
import { c as m, m as
|
|
25
|
+
import { s as p, a as g, b as u, c as b, d as I, e as _, f as v, M, g as k } from "./model-with-multi-axes.js";
|
|
26
|
+
import { c as m, m as C, d as D } from "./serial-chart-data.js";
|
|
27
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.103 */
|
|
30
30
|
var F = Object.defineProperty, L = Object.getOwnPropertyDescriptor, x = (a, e, r, t) => {
|
|
31
31
|
for (var i = L(e, r), s = a.length - 1, l; s >= 0; s--)
|
|
32
32
|
(l = a[s]) && (i = l(e, r, i) || i);
|
|
@@ -66,7 +66,7 @@ class f extends y {
|
|
|
66
66
|
colorIndex: e,
|
|
67
67
|
opacity: c
|
|
68
68
|
});
|
|
69
|
-
if (
|
|
69
|
+
if (p(r, e, this._config), g(r, e, this._config), this.layerInfo !== void 0) {
|
|
70
70
|
const t = this.getSeriesId(e), i = m({
|
|
71
71
|
config: this._config,
|
|
72
72
|
seriesIndex: e,
|
|
@@ -105,9 +105,9 @@ class f extends y {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
x([
|
|
108
|
-
|
|
108
|
+
C
|
|
109
109
|
], f.prototype, "resetSeriesStyling");
|
|
110
|
-
D(f, [
|
|
110
|
+
D(f, [M, k]);
|
|
111
111
|
export {
|
|
112
112
|
f as RadarChartModel
|
|
113
113
|
};
|
package/dist/chunks/resource.js
CHANGED
|
@@ -3,7 +3,7 @@ import { u as n } from "./type-guards.js";
|
|
|
3
3
|
import "./series-types.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.103 */
|
|
7
7
|
const r = {
|
|
8
8
|
addGuide: "add-guide",
|
|
9
9
|
noMessages: "no-messages"
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
|
|
|
3
3
|
import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.103 */
|
|
7
7
|
const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.0-next/charts-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: h } = t;
|
|
8
8
|
t.t = s;
|
|
9
9
|
t.o = r;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { W as
|
|
1
|
+
import { W as Y } from "./series-types.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
|
-
import { isEmpty as m, isEqual as
|
|
3
|
+
import { isEmpty as m, isEqual as X } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aZ as z, a_ as y, cY as d, $ as T, bN as D, bk as W } from "./index.js";
|
|
6
6
|
import "@arcgis/core/Graphic.js";
|
|
7
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
-
import { substitute as
|
|
9
|
+
import { substitute as k } from "@arcgis/core/intl.js";
|
|
10
10
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
11
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
12
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -21,11 +21,11 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
21
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
22
22
|
import "./runtime.js";
|
|
23
23
|
import "@arcgis/toolkit/dom";
|
|
24
|
-
import { g as
|
|
25
|
-
import { C as U, r as V, t as
|
|
24
|
+
import { g as w, a as F, s as u, u as A, a3 as E, m as c, d as N } from "./serial-chart-data.js";
|
|
25
|
+
import { C as U, r as V, t as j, u as B, v as G, x as q, y as Z, z as $ } from "./model-with-multi-axes.js";
|
|
26
26
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
27
27
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
28
|
-
v5.0.0-next.
|
|
28
|
+
v5.0.0-next.103 */
|
|
29
29
|
const L = (t) => {
|
|
30
30
|
u({ config: t, value: null, axisIndex: 0, isMax: !1 }), u({ config: t, value: null, axisIndex: 0, isMax: !0 }), u({ config: t, value: null, axisIndex: 1, isMax: !1 }), u({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
31
31
|
}, I = (t) => {
|
|
@@ -33,7 +33,7 @@ const L = (t) => {
|
|
|
33
33
|
E(s, i, l);
|
|
34
34
|
};
|
|
35
35
|
function b(t, e, i) {
|
|
36
|
-
const s = g(t, e, i), r =
|
|
36
|
+
const s = g(t, e, i), r = w(t), o = T(t);
|
|
37
37
|
return s === r || o;
|
|
38
38
|
}
|
|
39
39
|
function _(t, e) {
|
|
@@ -46,12 +46,12 @@ function C(t, e) {
|
|
|
46
46
|
}
|
|
47
47
|
function g(t, e, i) {
|
|
48
48
|
const s = x(t), r = f(t), { layerFieldsInfo: o } = e, n = d(o, s), l = d(o, r);
|
|
49
|
-
return
|
|
49
|
+
return k(i.titleLabels.xAndY, { x: n, y: l });
|
|
50
50
|
}
|
|
51
51
|
const M = (t) => {
|
|
52
52
|
const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: l, commonStrings: h } = t, { layerFieldsInfo: v } = r, P = d(v, e), O = d(v, i);
|
|
53
53
|
!m(e) && n && A(s, 0, P), !m(i) && l && A(s, 1, O), !m(e) && !m(i) && s.title && o && (s.title.content.text = g(s, r, h));
|
|
54
|
-
}, x = (t) => t.series[0]?.x ?? "", f = (t) => t.series[0]?.y ?? "",
|
|
54
|
+
}, x = (t) => t.series[0]?.x ?? "", f = (t) => t.series[0]?.y ?? "", H = (t) => {
|
|
55
55
|
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = b(i, s, r), n = C(i, s), l = _(i, s);
|
|
56
56
|
L(i), i.series[0] && (i.series[0].x = e), M({
|
|
57
57
|
x: e,
|
|
@@ -68,7 +68,7 @@ const M = (t) => {
|
|
|
68
68
|
config: i,
|
|
69
69
|
layerInfo: s
|
|
70
70
|
});
|
|
71
|
-
},
|
|
71
|
+
}, J = (t) => {
|
|
72
72
|
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = b(i, s, r), n = C(i, s), l = _(i, s);
|
|
73
73
|
L(i), i.series[0] && (i.series[0].y = e), M({
|
|
74
74
|
x: x(i),
|
|
@@ -85,12 +85,12 @@ const M = (t) => {
|
|
|
85
85
|
config: i,
|
|
86
86
|
layerInfo: s
|
|
87
87
|
});
|
|
88
|
-
},
|
|
88
|
+
}, K = (t) => {
|
|
89
89
|
const e = {};
|
|
90
90
|
return t.series[0]?.markerSymbol ?? e;
|
|
91
|
-
},
|
|
91
|
+
}, Q = (t, e) => {
|
|
92
92
|
e.series[0] && (e.series[0].markerSymbol = t);
|
|
93
|
-
},
|
|
93
|
+
}, R = (t) => (t.series[0]?.overlays?.trendLine?.visible ?? !0) && (t.series[0]?.overlays?.trendLine?.created ?? !1), ee = (t) => {
|
|
94
94
|
const e = {};
|
|
95
95
|
return t.series[0]?.overlays?.trendLine?.symbol ?? e;
|
|
96
96
|
}, te = (t, e) => {
|
|
@@ -115,7 +115,7 @@ var de = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, p = (t, e,
|
|
|
115
115
|
};
|
|
116
116
|
class a extends U {
|
|
117
117
|
constructor() {
|
|
118
|
-
super(...arguments), this._chartType =
|
|
118
|
+
super(...arguments), this._chartType = Y.ScatterSeries;
|
|
119
119
|
}
|
|
120
120
|
async setup(e) {
|
|
121
121
|
await this.loadConfigFromLayer(e), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
@@ -130,7 +130,7 @@ class a extends U {
|
|
|
130
130
|
return x(this._config);
|
|
131
131
|
}
|
|
132
132
|
set xAxisField(e) {
|
|
133
|
-
|
|
133
|
+
H({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
134
134
|
}
|
|
135
135
|
/**
|
|
136
136
|
* Y-axis field.
|
|
@@ -139,13 +139,13 @@ class a extends U {
|
|
|
139
139
|
return f(this._config);
|
|
140
140
|
}
|
|
141
141
|
set yAxisField(e) {
|
|
142
|
-
|
|
142
|
+
J({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
145
|
* Whether the linear trend line is shown.
|
|
146
146
|
*/
|
|
147
147
|
get showLinearTrend() {
|
|
148
|
-
return
|
|
148
|
+
return R(this._config);
|
|
149
149
|
}
|
|
150
150
|
set showLinearTrend(e) {
|
|
151
151
|
se(e, this._config);
|
|
@@ -163,10 +163,10 @@ class a extends U {
|
|
|
163
163
|
* Marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
|
|
164
164
|
*/
|
|
165
165
|
get fixedMarkerSymbol() {
|
|
166
|
-
return
|
|
166
|
+
return K(this._config);
|
|
167
167
|
}
|
|
168
168
|
set fixedMarkerSymbol(e) {
|
|
169
|
-
|
|
169
|
+
Q(e, this._config);
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* Size policy for the scatterplot points. This is used to scale the size of the marker symbol based on a given field.
|
|
@@ -176,7 +176,7 @@ class a extends U {
|
|
|
176
176
|
}
|
|
177
177
|
set sizePolicy(e) {
|
|
178
178
|
const i = S(this._config);
|
|
179
|
-
|
|
179
|
+
X(i, e) || re(e, this._config);
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* Chart overlays. The scatterplot implements only 1 overlay, **trendLine**.
|
|
@@ -252,14 +252,14 @@ p([
|
|
|
252
252
|
p([
|
|
253
253
|
c
|
|
254
254
|
], a.prototype, "additionalTooltipField");
|
|
255
|
-
|
|
255
|
+
N(a, [
|
|
256
256
|
V,
|
|
257
|
+
j,
|
|
257
258
|
B,
|
|
258
259
|
G,
|
|
259
|
-
N,
|
|
260
260
|
q,
|
|
261
261
|
Z,
|
|
262
|
-
|
|
262
|
+
$
|
|
263
263
|
]);
|
|
264
264
|
export {
|
|
265
265
|
a as ScatterplotModel
|