@arcgis/charts-components 5.0.0-next.3 → 5.0.0-next.5
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/{H2R6XIP5.js → 2CQCJUK3.js} +2 -2
- package/dist/cdn/{7OSCKW4Y.js → 2NTY7DVX.js} +2 -2
- package/dist/cdn/{YEHAINHB.js → 2YMGZECH.js} +2 -2
- package/dist/cdn/{5UV5N2TK.js → 2YQYGHQO.js} +2 -2
- package/dist/cdn/{67VULDXU.js → 3H5R54P6.js} +1 -1
- package/dist/cdn/3RZX4TOQ.js +6 -0
- package/dist/cdn/{SY4VJMTC.js → 3T5QJ3UH.js} +2 -2
- package/dist/cdn/{SMOUDLKB.js → 3YDBKBBR.js} +1 -1
- package/dist/cdn/{6ZLEAYZT.js → 4D4W6UVF.js} +2 -2
- package/dist/cdn/{JY6JRVUS.js → 4IJR7EHI.js} +2 -2
- package/dist/cdn/{HPNKRUZ6.js → 4JOT7RYS.js} +2 -2
- package/dist/cdn/{KATVWRAY.js → 4MEZ4HKS.js} +2 -2
- package/dist/cdn/{KFSAESHE.js → 4T53OXS6.js} +2 -2
- package/dist/cdn/52ZJWBJT.js +4 -0
- package/dist/cdn/{SBQC3UFK.js → 573TNYY5.js} +2 -2
- package/dist/cdn/{5OH5FY3S.js → 5AALQ6RZ.js} +2 -2
- package/dist/cdn/{ZNOZZ66V.js → 5GCX3ASK.js} +2 -2
- package/dist/cdn/{3KX2KDPK.js → 5HRJVYD3.js} +2 -2
- package/dist/cdn/{HDLWIIDD.js → 5KMNAURG.js} +2 -2
- package/dist/cdn/{4V4R4Q5E.js → 5VTYZVJH.js} +2 -2
- package/dist/cdn/{RNOS6DRH.js → 62ZVQ3ZH.js} +2 -2
- package/dist/cdn/{X3CEHOFP.js → 635XSSNH.js} +2 -2
- package/dist/cdn/6CQPTE3E.js +4 -0
- package/dist/cdn/6HWUT7L4.js +4 -0
- package/dist/cdn/6NZ5234Z.js +4 -0
- package/dist/cdn/{27EF6N3A.js → 6OJCTSQD.js} +2 -2
- package/dist/cdn/{MNSV3CBG.js → 6RJ54FTE.js} +2 -2
- package/dist/cdn/6SVM5HRB.js +4 -0
- package/dist/cdn/{TCC42J3C.js → 6XICP4O2.js} +2 -2
- package/dist/cdn/{N2JCIWHL.js → 73AZHLP7.js} +2 -2
- package/dist/cdn/{IB6NLFIT.js → 7DM5FB6A.js} +2 -2
- package/dist/cdn/{Q7JQTDHE.js → 7LJXG2EB.js} +2 -2
- package/dist/cdn/{VLELOOYM.js → 7XE7ZIHN.js} +2 -2
- package/dist/cdn/{U7NW4Q4W.js → 7XU3S5AU.js} +2 -2
- package/dist/cdn/{YGR3N454.js → A2XWPGD2.js} +2 -2
- package/dist/cdn/{OEBLB46A.js → AD3SQBUO.js} +2 -2
- package/dist/cdn/AIGJFWPO.js +4 -0
- package/dist/cdn/{ATYOPM4D.js → AS4BM6KR.js} +2 -2
- package/dist/cdn/{3IAXPJL5.js → AXYMSHID.js} +2 -2
- package/dist/cdn/{3DOQYO3X.js → B22PSOMV.js} +2 -2
- package/dist/cdn/{47W26EK2.js → BR5RSKQJ.js} +2 -2
- package/dist/cdn/{BDYQWUFQ.js → BRYCQYEF.js} +2 -2
- package/dist/cdn/BUZQFX4X.js +4 -0
- package/dist/cdn/{CE3AUUHL.js → CB7O2PE3.js} +2 -2
- package/dist/cdn/{MDMUQ4YV.js → CFJM4T24.js} +2 -2
- package/dist/cdn/{5XKWLEPC.js → CFTAWZ77.js} +2 -2
- package/dist/cdn/{72RUYYT3.js → CV6THL4H.js} +2 -2
- package/dist/cdn/{4224IFJV.js → D6KEJTTL.js} +2 -2
- package/dist/cdn/DCPP2A6R.js +4 -0
- package/dist/cdn/{VUDGVNLT.js → DDGMIWZC.js} +2 -2
- package/dist/cdn/{BLKWW4SZ.js → DI74HOSV.js} +2 -2
- package/dist/cdn/DIQKH37P.js +4 -0
- package/dist/cdn/{4KGRWKFB.js → DONAR2FZ.js} +2 -2
- package/dist/cdn/{5MSCIR45.js → DRJ4SKBY.js} +2 -2
- package/dist/cdn/{PKGUQ23W.js → DW3KTB7W.js} +2 -2
- package/dist/cdn/{6P4DSMHF.js → EHWOH3AS.js} +2 -2
- package/dist/cdn/{LNOZZKFS.js → EQIVGIV5.js} +2 -2
- package/dist/cdn/{GCRHEM6P.js → EQRBT4RS.js} +2 -2
- package/dist/cdn/{VKDBGM6I.js → ESYIBBDW.js} +2 -2
- package/dist/cdn/{UI5DAXMY.js → ETWCEC6I.js} +2 -2
- package/dist/cdn/{NKS54LJY.js → EV7NZIDI.js} +2 -2
- package/dist/cdn/{JXNCGTY2.js → FSB6NTEU.js} +2 -2
- package/dist/cdn/{47IDSE6H.js → FSLY4LNC.js} +2 -2
- package/dist/cdn/{UM6PSQXH.js → G2METNMC.js} +2 -2
- package/dist/cdn/{OS5QUU3S.js → G34MOD6Z.js} +2 -2
- package/dist/cdn/{74E7OAPH.js → G6IPNEE3.js} +2 -2
- package/dist/cdn/{J3XRJF2H.js → GCWYVEAM.js} +2 -2
- package/dist/cdn/{2YJK7EQQ.js → H355OUXG.js} +2 -2
- package/dist/cdn/{DNMGOUQA.js → H4QOQNQX.js} +2 -2
- package/dist/cdn/H7YSSKNX.js +4 -0
- package/dist/cdn/{R3RJV4I3.js → HDBIXSWC.js} +2 -2
- package/dist/cdn/{R4ZFFKNL.js → HO66RCKA.js} +15 -15
- package/dist/cdn/{T4NBUXZU.js → HREWUP6X.js} +1 -1
- package/dist/cdn/HTCGNGWS.js +4 -0
- package/dist/cdn/{3KG5A43A.js → I4W5SN2C.js} +2 -2
- package/dist/cdn/{AOBF52MJ.js → I5HVQQ3Q.js} +2 -2
- package/dist/cdn/{ECM2WXF6.js → IAH4FEMB.js} +2 -2
- package/dist/cdn/{QR3HNIZ3.js → IDYONL6G.js} +2 -2
- package/dist/cdn/{QRLC6XDT.js → IMF6T5KA.js} +2 -2
- package/dist/cdn/{3SRVZLPD.js → IXZG7BYH.js} +2 -2
- package/dist/cdn/{IGYM6NDV.js → IYCGVT6M.js} +2 -2
- package/dist/cdn/{LNW5PGHC.js → JBINPRLV.js} +2 -2
- package/dist/cdn/{6BK6COJC.js → JCJDTWWY.js} +2 -2
- package/dist/cdn/{GAUP6JKI.js → JFBDHWTH.js} +2 -2
- package/dist/cdn/{NBHFVCH6.js → JUDN6TYO.js} +2 -2
- package/dist/cdn/{RJP2TSH4.js → K4VUPLRS.js} +1 -1
- package/dist/cdn/{XYEC52QZ.js → KBDI5BIF.js} +2 -2
- package/dist/cdn/{Y6H36UEQ.js → KOZIVKMW.js} +1 -1
- package/dist/cdn/{SZRPK5U3.js → KREPFU54.js} +2 -2
- package/dist/cdn/{KJBLUE23.js → KSO4FH7T.js} +2 -2
- package/dist/cdn/{GRNT45TO.js → KV7MQRID.js} +2 -2
- package/dist/cdn/KVQGRGTX.js +4 -0
- package/dist/cdn/KZ2PASIL.js +4 -0
- package/dist/cdn/L7XBIHO4.js +4 -0
- package/dist/cdn/{XH3AFWLS.js → LAGE62S7.js} +1 -1
- package/dist/cdn/{PJCM66NR.js → LHKTIOAS.js} +2 -2
- package/dist/cdn/LKQSJH6O.js +4 -0
- package/dist/cdn/LO3BV66U.js +4 -0
- package/dist/cdn/{3ASW6VHE.js → LU4QMMFH.js} +2 -2
- package/dist/cdn/MFCXPRPK.js +4 -0
- package/dist/cdn/MG2HFVH3.js +4 -0
- package/dist/cdn/{Z36QJLTB.js → MJMLISNQ.js} +2 -2
- package/dist/cdn/{AUWRC6HX.js → MUTK62YG.js} +2 -2
- package/dist/cdn/{CZYGOYBD.js → NFFCP5DA.js} +2 -2
- package/dist/cdn/{KJI5SYLT.js → NFFRB4BR.js} +2 -2
- package/dist/cdn/{SUATHXUW.js → NFXRX2K2.js} +2 -2
- package/dist/cdn/{4W5AM6VF.js → NG4OYKF4.js} +2 -2
- package/dist/cdn/{6CYT2CG7.js → NGDMHV44.js} +2 -2
- package/dist/cdn/{7TUZWUHM.js → NMZIP2MC.js} +2 -2
- package/dist/cdn/{K6OYX7KH.js → O3HVGYZS.js} +2 -2
- package/dist/cdn/OI5MJGAM.js +4 -0
- package/dist/cdn/{KWTG54IG.js → OIQ4EV4L.js} +2 -2
- package/dist/cdn/{FMG243GX.js → OMKUZSPX.js} +2 -2
- package/dist/cdn/{OLQNVZUH.js → OSGGRDHY.js} +2 -2
- package/dist/cdn/OX37U5FL.js +4 -0
- package/dist/cdn/{LWF27VN7.js → P2L45OHX.js} +2 -2
- package/dist/cdn/{X67IOWPB.js → PCGSJWVC.js} +2 -2
- package/dist/cdn/{OL7VEBIC.js → PRUOLLXX.js} +2 -2
- package/dist/cdn/{ONBZGUIX.js → PUVURJEA.js} +2 -2
- package/dist/cdn/{GQCG24NO.js → PX4P6EVU.js} +2 -2
- package/dist/cdn/{H5453ZH3.js → PYJJGJD5.js} +2 -2
- package/dist/cdn/{WJU2LTQQ.js → Q2IJF3UD.js} +2 -2
- package/dist/cdn/{OBNIZH6K.js → Q6LEDMBZ.js} +1 -1
- package/dist/cdn/{USUR66FF.js → QGB6IYXA.js} +2 -2
- package/dist/cdn/{VIWBALQD.js → QUP7LRZB.js} +2 -2
- package/dist/cdn/{TBSKAY6R.js → QVM2XZGE.js} +2 -2
- package/dist/cdn/{NGJ7X3ND.js → RFHU6X2B.js} +2 -2
- package/dist/cdn/{GAM7Z7SI.js → RIATOUFB.js} +2 -2
- package/dist/cdn/{TGG4RKZV.js → RKVGZGMT.js} +2 -2
- package/dist/cdn/{EIBL7X7C.js → RR2GRLN4.js} +2 -2
- package/dist/cdn/{J7SETKH4.js → RYGSUHPL.js} +2 -2
- package/dist/cdn/{CHDX2KGL.js → S26GJIZW.js} +2 -2
- package/dist/cdn/{U34VLHNL.js → S57HESNZ.js} +2 -2
- package/dist/cdn/{RNP6GU2K.js → SUSSWOBP.js} +2 -2
- package/dist/cdn/{LNCY7PJY.js → T3HLSENK.js} +2 -2
- package/dist/cdn/{S72WP6XQ.js → T4OLCB57.js} +2 -2
- package/dist/cdn/TC4K2IBN.js +4 -0
- package/dist/cdn/{MECZKLGM.js → TEKM44UI.js} +2 -2
- package/dist/cdn/{NXB4BNRO.js → TETZB6TG.js} +2 -2
- package/dist/cdn/{U5YB3SOI.js → TFR2XJOG.js} +2 -2
- package/dist/cdn/{KFVBD66X.js → THFW5BGS.js} +2 -2
- package/dist/cdn/{F5VOSM5J.js → TP24LJTV.js} +2 -2
- package/dist/cdn/TQ6TYM53.js +4 -0
- package/dist/cdn/{CUYCVVE6.js → TROAL5VH.js} +2 -2
- package/dist/cdn/{TR4LETNB.js → TUSAPA3B.js} +2 -2
- package/dist/cdn/{BZIXOEMI.js → TXAGJJ7V.js} +2 -2
- package/dist/cdn/TZOUXYMP.js +4 -0
- package/dist/cdn/{BMSUXI6D.js → ULD7JICH.js} +2 -2
- package/dist/cdn/{QARHCJGU.js → UP5YHRAT.js} +2 -2
- package/dist/cdn/{NHUAA7U3.js → USDDCXSD.js} +2 -2
- package/dist/cdn/{F57OHZWT.js → UUFUCAD3.js} +1 -1
- package/dist/cdn/{REXKJ4UY.js → VANVPL7B.js} +2 -2
- package/dist/cdn/{O765AJUV.js → VE7L4QD3.js} +2 -2
- package/dist/cdn/{5EPM3ZL4.js → VEUR3MYM.js} +2 -2
- package/dist/cdn/{EAGMXFWB.js → VIGBYFUK.js} +2 -2
- package/dist/cdn/{7KMT45K5.js → VLY5ZFJB.js} +2 -2
- package/dist/cdn/{WUUJKPQK.js → VTWEX57C.js} +2 -2
- package/dist/cdn/VUG3AMJW.js +4 -0
- package/dist/cdn/{T7NDQ5N4.js → VZHZP3WS.js} +2 -2
- package/dist/cdn/{OQDFVWR5.js → VZOYYSMT.js} +2 -2
- package/dist/cdn/W3PPNJUI.js +4 -0
- package/dist/cdn/W5D44LNY.js +4 -0
- package/dist/cdn/{PGPLW4WV.js → W6JDJ6CI.js} +2 -2
- package/dist/cdn/{4IIG7WSE.js → WB3AED73.js} +2 -2
- package/dist/cdn/WFODK6LM.js +4 -0
- package/dist/cdn/{ZFIF77K3.js → WTH425VI.js} +1 -1
- package/dist/cdn/{TG4TGFSQ.js → WZO6BPV2.js} +2 -2
- package/dist/cdn/{3YBKKGMI.js → XATS2GRO.js} +2 -2
- package/dist/cdn/{VTJACGF7.js → XIBVZCXM.js} +2 -2
- package/dist/cdn/{YU3EMYVD.js → XLRLWYNY.js} +2 -2
- package/dist/cdn/{UNKXWRU2.js → XQ7LOQ6A.js} +2 -2
- package/dist/cdn/{XUTAJJHD.js → XREL2EGV.js} +2 -2
- package/dist/cdn/{OOMLNN4O.js → XTYW4JSU.js} +2 -2
- package/dist/cdn/{QK6YFOPV.js → XWMI6JSB.js} +2 -2
- package/dist/cdn/{2VSQK6CQ.js → Y4BOOI43.js} +2 -2
- package/dist/cdn/{O2GMCLWM.js → Y54PXKNX.js} +1 -1
- package/dist/cdn/{WGCDX65Z.js → YRXQVP63.js} +2 -2
- package/dist/cdn/{SL6KBBNT.js → Z6IXB3E5.js} +2 -2
- package/dist/cdn/{PZLOX4VN.js → ZIRCERSI.js} +2 -2
- package/dist/cdn/{3T2GPST3.js → ZM7CB4BA.js} +2 -2
- package/dist/cdn/{SQPVQZF4.js → ZTCVGEDC.js} +2 -2
- package/dist/cdn/{I5CJDKBJ.js → ZV2FCWVF.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.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 +164 -162
- package/dist/chunks/box-plot-model.js +37 -39
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +24 -60
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +2 -3
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- 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 +1 -1
- package/dist/chunks/serial-chart-model.js +3 -5
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.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 +77 -77
- package/dist/components/arcgis-chart/customElement.d.ts +0 -1
- package/dist/components/arcgis-chart/customElement.js +342 -309
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- 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 +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +34 -34
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +6 -6
- 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 +17 -17
- 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 +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +5 -5
- 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 +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +3 -3
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +4 -14
- package/dist/model/mixins/model-with-multi-axes.d.ts +20 -47
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +1 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +2 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/2QC6ZPJH.js +0 -4
- package/dist/cdn/32RUS2M3.js +0 -4
- package/dist/cdn/35M57QGE.js +0 -4
- package/dist/cdn/4XATG67T.js +0 -4
- package/dist/cdn/5EM7WR57.js +0 -4
- package/dist/cdn/6UQPZK5B.js +0 -4
- package/dist/cdn/C5UYMNHI.js +0 -4
- package/dist/cdn/CZQ2SVIF.js +0 -4
- package/dist/cdn/D4QM6QWW.js +0 -4
- package/dist/cdn/DBJBYN2H.js +0 -4
- package/dist/cdn/DGBWGDSW.js +0 -4
- package/dist/cdn/EG2DGV7Q.js +0 -4
- package/dist/cdn/F6TCCYVD.js +0 -4
- package/dist/cdn/FYRFUCYK.js +0 -4
- package/dist/cdn/FZMYU3XO.js +0 -4
- package/dist/cdn/HBXDHTDL.js +0 -4
- package/dist/cdn/IRXKOLXP.js +0 -4
- package/dist/cdn/LW7ZXMGB.js +0 -4
- package/dist/cdn/NUXT2AWM.js +0 -4
- package/dist/cdn/NXQHRIVH.js +0 -6
- package/dist/cdn/RZ7AFMIW.js +0 -4
- package/dist/cdn/SVXJYPGP.js +0 -4
- package/dist/cdn/TC2AUGPM.js +0 -4
- package/dist/cdn/U7XYGWTM.js +0 -4
- package/dist/cdn/XETTJLZA.js +0 -4
- package/dist/cdn/XH5LQBGS.js +0 -4
- package/dist/cdn/YRVVNU7B.js +0 -4
- package/dist/cdn/ZRZXM6A2.js +0 -4
|
@@ -23,7 +23,7 @@ import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
|
23
23
|
import { LitElement as P, createEvent as a, safeClassMap as l } from "@arcgis/lumina";
|
|
24
24
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
25
25
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
26
|
-
v5.0.0-next.
|
|
26
|
+
v5.0.0-next.5 */
|
|
27
27
|
const r = {
|
|
28
28
|
jsAppFlyout: "js-app-flyout",
|
|
29
29
|
scatterplotPopover: "scatter-plot-popover",
|
|
@@ -31,7 +31,7 @@ const r = {
|
|
|
31
31
|
header: "header",
|
|
32
32
|
pickListItemLabel: "pick-list-item-label",
|
|
33
33
|
pickListPanel: "pick-list-panel"
|
|
34
|
-
}, F = u`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{width:100%}.pick-list-panel{max-height:60vh}`;
|
|
34
|
+
}, F = u`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{width:100%}.pick-list-panel{max-height:60vh}`;
|
|
35
35
|
class k extends P {
|
|
36
36
|
constructor() {
|
|
37
37
|
super(...arguments), this.picklist = m(), this._messages = $(), this.popoverElement = m(), this.layerFieldsInfo = [], this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigScatterplotFillColorChange = a(), this.arcgisChartsConfigScatterplotLineStyleChange = a(), this.arcgisChartsConfigScatterplotSizeVariableFieldChange = a(), this.arcgisChartsConfigScatterplotAdditionalTooltipFieldChange = a(), this.arcgisChartsConfigScatterplotXYFieldChange = a();
|
|
@@ -21,12 +21,12 @@ import { LitElement as d, createEvent as o, safeClassMap as s } from "@arcgis/lu
|
|
|
21
21
|
import { M as e } from "../../chunks/common.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
24
|
+
v5.0.0-next.5 */
|
|
25
25
|
const i = {
|
|
26
26
|
selectChartComponent: "select-chart-component",
|
|
27
27
|
jsAppFlyout: "js-app-flyout",
|
|
28
28
|
panel: "panel"
|
|
29
|
-
}, g = c`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`;
|
|
29
|
+
}, g = c`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`;
|
|
30
30
|
class f extends d {
|
|
31
31
|
constructor() {
|
|
32
32
|
super(...arguments), this._messages = p(), this.selectChartTypePopover = h(), this.arcgisChartsConfigPopoverClose = o(), this.arcgisChartsConfigSelectChartTypeChange = o();
|
|
@@ -21,7 +21,7 @@ import { LitElement as v, createEvent as o, safeClassMap as c, renderElement as
|
|
|
21
21
|
import { repeat as w } from "lit/directives/repeat.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
24
|
+
v5.0.0-next.5 */
|
|
25
25
|
const n = {
|
|
26
26
|
addChartContainer: "add-chart-container",
|
|
27
27
|
viewChartComponent: "view-chart-component",
|
package/dist/docs/api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-09-
|
|
2
|
+
"timestamp": "2025-09-30T04:39:41",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
5
|
+
"version": "5.0.0-next.5",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "1.0.0",
|
|
@@ -1324,7 +1324,7 @@
|
|
|
1324
1324
|
{
|
|
1325
1325
|
"kind": "field",
|
|
1326
1326
|
"name": "model",
|
|
1327
|
-
"description": "Instance of an ArcGIS Chart Model. Provides an API to interact with the chart's configuration.\n
|
|
1327
|
+
"description": "Instance of an ArcGIS Chart Model. Provides an API to interact with the chart's configuration.\n**Note:** This property has a union type of `ChartModel | WebChart` meaning a raw chart config object can be passed to it instead, however it is recommended to use a `ChartModel` instance whenever possible.",
|
|
1328
1328
|
"type": {
|
|
1329
1329
|
"text": "ChartModel | WebChart",
|
|
1330
1330
|
"references": [
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-09-
|
|
2
|
+
"timestamp": "2025-09-30T04:39:41",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
5
|
+
"version": "5.0.0-next.5",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -1210,7 +1210,7 @@
|
|
|
1210
1210
|
},
|
|
1211
1211
|
"mutable": true,
|
|
1212
1212
|
"reflectToAttr": false,
|
|
1213
|
-
"docs": "Instance of an ArcGIS Chart Model. Provides an API to interact with the chart's configuration.\n
|
|
1213
|
+
"docs": "Instance of an ArcGIS Chart Model. Provides an API to interact with the chart's configuration.\n**Note:** This property has a union type of `ChartModel | WebChart` meaning a raw chart config object can be passed to it instead, however it is recommended to use a `ChartModel` instance whenever possible.",
|
|
1214
1214
|
"docsTags": [
|
|
1215
1215
|
{
|
|
1216
1216
|
"name": "type",
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/charts-components",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.5",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
622
|
"name": "model",
|
|
623
|
-
"description": "Instance of an ArcGIS Chart Model. Provides an API to interact with the chart's configuration.\n
|
|
623
|
+
"description": "Instance of an ArcGIS Chart Model. Provides an API to interact with the chart's configuration.\n**Note:** This property has a union type of `ChartModel | WebChart` meaning a raw chart config object can be passed to it instead, however it is recommended to use a `ChartModel` instance whenever possible.",
|
|
624
624
|
"type": "ChartModel | WebChart"
|
|
625
625
|
},
|
|
626
626
|
{
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import { B as yo, a as bo, C as mo, H as po, L as So, P as ho, S as Co } from ".
|
|
|
19
19
|
import { g as Do, s as Lo } from "./chunks/runtime.js";
|
|
20
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
21
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
22
|
-
v5.0.0-next.
|
|
22
|
+
v5.0.0-next.5 */
|
|
23
23
|
function $(a) {
|
|
24
24
|
let o;
|
|
25
25
|
switch (a.length) {
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.5 */
|
|
6
6
|
const o = t(e, {
|
|
7
7
|
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection"],
|
|
8
8
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
@@ -199,14 +199,12 @@ export declare class BoxPlotModel extends ChartModel {
|
|
|
199
199
|
moveSeries(fromIndex: number, toIndex: number): void;
|
|
200
200
|
/**
|
|
201
201
|
* The index of the box plot series in the series array in config object when show mean is true.
|
|
202
|
-
*
|
|
203
|
-
* **NOTE**: There is only one box plot series when show mean is true. The function returns '-1' if show mean is false.
|
|
202
|
+
* **Note:** There is only one box plot series when show mean is true. The function returns '-1' if show mean is false.
|
|
204
203
|
*/
|
|
205
204
|
get boxPlotSeriesIndexWhenMeanLinesShown(): number;
|
|
206
205
|
/**
|
|
207
206
|
* Move the custom sort values in-place for the order by list in the config.
|
|
208
|
-
*
|
|
209
|
-
* NOTE: This method should be only used when the sort order is set to `BoxPlotDataSortingKinds.customSort`.
|
|
207
|
+
* **Note:** This method should be only used when the sort order is set to `BoxPlotDataSortingKinds.customSort`.
|
|
210
208
|
* @param {number} fromIndex The index to move the custom sort item from.
|
|
211
209
|
* @param {number} toIndex The index to move the category item to.
|
|
212
210
|
*/
|
|
@@ -133,6 +133,8 @@ export declare const setOrderByList: (values: string[], config: ChartConfig<type
|
|
|
133
133
|
* @returns string[] - The custom sort values.
|
|
134
134
|
*/
|
|
135
135
|
export declare const getCustomSortValues: (config: ChartConfig<typeof ModelTypes.BoxPlot>, layerInfo: LayerInfo) => Promise<string[]>;
|
|
136
|
+
export declare const categoryIsEmpty: (category: string) => boolean;
|
|
137
|
+
export declare const shouldClearSplitByField: (category: string, numericFields: string[]) => boolean;
|
|
136
138
|
/**
|
|
137
139
|
* Determines whether to use the split-by field based on the current category and numeric fields.
|
|
138
140
|
*/
|
|
@@ -77,8 +77,7 @@ export declare abstract class ChartModel extends EventTarget {
|
|
|
77
77
|
set chartId(id: string | undefined);
|
|
78
78
|
/**
|
|
79
79
|
* Promise that resolves when the setup process is complete.
|
|
80
|
-
*
|
|
81
|
-
* **Note: This promise does not need to be awaited if the `setup` method has already been awaited. It is simply provided as a way to await the setup process from other functions if needed to avoid race conditions.**
|
|
80
|
+
* **Note:** This promise does not need to be awaited if the `setup` method has already been awaited. It is simply provided as a way to await the setup process from other functions if needed to avoid race conditions.
|
|
82
81
|
*/
|
|
83
82
|
setupFinished: Promise<void>;
|
|
84
83
|
/**
|
|
@@ -104,34 +103,25 @@ export declare abstract class ChartModel extends EventTarget {
|
|
|
104
103
|
set descriptionText(description: string);
|
|
105
104
|
/**
|
|
106
105
|
* Whether or not the chart title is visible.
|
|
107
|
-
*
|
|
108
106
|
* `true`: Chart title is visible.
|
|
109
|
-
*
|
|
110
107
|
* `false`: Chart title is hidden.
|
|
111
|
-
*
|
|
112
|
-
* **Note: Even if the title is visible, it may not be displayed if the title text is empty.**
|
|
108
|
+
* **Note:** Even if the title is visible, it may not be displayed if the title text is empty.
|
|
113
109
|
*/
|
|
114
110
|
get chartTitleVisibility(): boolean;
|
|
115
111
|
set chartTitleVisibility(visibility: boolean);
|
|
116
112
|
/**
|
|
117
113
|
* Whether or not the chart subtitle is visible.
|
|
118
|
-
*
|
|
119
114
|
* `true`: Chart subtitle is visible.
|
|
120
|
-
*
|
|
121
115
|
* `false`: Chart subtitle is hidden.
|
|
122
|
-
*
|
|
123
|
-
* **Note: Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.**
|
|
116
|
+
* **Note:** Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.
|
|
124
117
|
*/
|
|
125
118
|
get chartSubtitleVisibility(): boolean;
|
|
126
119
|
set chartSubtitleVisibility(visibility: boolean);
|
|
127
120
|
/**
|
|
128
121
|
* Whether or not the chart description is visible.
|
|
129
|
-
*
|
|
130
122
|
* `true`: Description is visible.
|
|
131
|
-
*
|
|
132
123
|
* `false`: Description is hidden.
|
|
133
|
-
*
|
|
134
|
-
* **Note: Even if the description is visible, it may not be displayed if the description text is empty.**
|
|
124
|
+
* **Note:** Even if the description is visible, it may not be displayed if the description text is empty.
|
|
135
125
|
*/
|
|
136
126
|
get descriptionVisibility(): boolean;
|
|
137
127
|
set descriptionVisibility(visibility: boolean);
|
|
@@ -11,11 +11,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
11
11
|
getAxisTitleText(axisIndex: number): string;
|
|
12
12
|
/**
|
|
13
13
|
* Sets the title text for the specified axis.
|
|
14
|
+
* **Note:** The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
14
15
|
* @param {string} titleText The title text for the axis.
|
|
15
16
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
16
|
-
*
|
|
17
|
-
* **NOTE**: The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
18
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
19
17
|
*/
|
|
20
18
|
setAxisTitleText(titleText: string, axisIndex: number): void;
|
|
21
19
|
/**
|
|
@@ -26,11 +24,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
26
24
|
getAxisTitleVisibility(axisIndex: number): boolean;
|
|
27
25
|
/**
|
|
28
26
|
* Sets the visibility of the specified axis title.
|
|
27
|
+
* **Note:** The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
29
28
|
* @param {boolean} isVisible The visibility state for the axis title.
|
|
30
29
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
31
|
-
*
|
|
32
|
-
* **NOTE**: The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
33
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
34
30
|
*/
|
|
35
31
|
setAxisTitleVisibility(isVisible: boolean, axisIndex: number): void;
|
|
36
32
|
/**
|
|
@@ -41,11 +37,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
41
37
|
getMaxBound(axisIndex: number): number;
|
|
42
38
|
/**
|
|
43
39
|
* Sets the maximum bound for the specified axis.
|
|
40
|
+
* **Note:** The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
44
41
|
* @param {number | null} newMaxBound The value to set as the maximum bound.
|
|
45
42
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
46
|
-
*
|
|
47
|
-
* **NOTE**: The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
48
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
49
43
|
*/
|
|
50
44
|
setMaxBound(newMaxBound: number | null, axisIndex: number): void;
|
|
51
45
|
/**
|
|
@@ -56,11 +50,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
56
50
|
getMinBound(axisIndex: number): number;
|
|
57
51
|
/**
|
|
58
52
|
* Sets the minimum bound for the specified axis.
|
|
53
|
+
* **Note:** The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
59
54
|
* @param {number | null} newMinBound The value to set as the minimum bound.
|
|
60
55
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
61
|
-
*
|
|
62
|
-
* **NOTE**: The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
63
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
64
56
|
*/
|
|
65
57
|
setMinBound(newMinBound: number | null, axisIndex: number): void;
|
|
66
58
|
/**
|
|
@@ -71,11 +63,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
71
63
|
getAxisValueFormat(axisIndex: number): CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined;
|
|
72
64
|
/**
|
|
73
65
|
* Sets the value format for the specified axis.
|
|
66
|
+
* **Note:** The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
74
67
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
75
68
|
* @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} valueFormat The value format to set.
|
|
76
|
-
*
|
|
77
|
-
* **NOTE**: The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
78
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
79
69
|
*/
|
|
80
70
|
setAxisValueFormat(axisIndex: number, valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions): void;
|
|
81
71
|
/**
|
|
@@ -91,16 +81,11 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
91
81
|
getLogarithmic(axisIndex: number): boolean;
|
|
92
82
|
/**
|
|
93
83
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
94
|
-
*
|
|
95
84
|
* `true`: Enable logarithmic scale for the specified axis.
|
|
96
|
-
*
|
|
97
85
|
* `false`: Disable logarithmic scale for the specified axis.
|
|
98
|
-
*
|
|
86
|
+
* **Note:** The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
99
87
|
* @param {boolean} isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
100
88
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
101
|
-
*
|
|
102
|
-
* **NOTE**: The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
103
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
104
89
|
*/
|
|
105
90
|
setLogarithmic(isLogarithmic: boolean, axisIndex: number): void;
|
|
106
91
|
/**
|
|
@@ -111,11 +96,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
111
96
|
getAxisScrollbar(axisIndex: number): WebChartAxisScrollBar | undefined;
|
|
112
97
|
/**
|
|
113
98
|
* Sets the scrollbar configuration for the specified axis.
|
|
99
|
+
* **Note:** The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
114
100
|
* @param {WebChartAxisScrollBar} scrollbar The scrollbar configuration to set.
|
|
115
101
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
116
|
-
*
|
|
117
|
-
* **NOTE**: The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
118
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
119
102
|
*/
|
|
120
103
|
setAxisScrollbar(scrollbar: WebChartAxisScrollBar, axisIndex: number): void;
|
|
121
104
|
/**
|
|
@@ -125,11 +108,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
125
108
|
getAxisTitleSymbol(axisIndex: number): WebChartTextSymbol | undefined;
|
|
126
109
|
/**
|
|
127
110
|
* Sets the title text symbol for the specified axis. Contains styling information such as font, color, and symbol style.
|
|
111
|
+
* **Note:** The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
128
112
|
* @param {WebChartTextSymbol | undefined} titleSymbol The title text symbol to set.
|
|
129
113
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
130
|
-
*
|
|
131
|
-
* **NOTE**: The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
132
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
133
114
|
*/
|
|
134
115
|
setAxisTitleSymbol(titleSymbol: WebChartTextSymbol | undefined, axisIndex: number): void;
|
|
135
116
|
/**
|
|
@@ -139,11 +120,8 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
139
120
|
getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
140
121
|
/**
|
|
141
122
|
* Sets the horizontal axis labels behavior for the chart.
|
|
123
|
+
* **Note:** The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
142
124
|
* @param horizontalBehavior The behavior for the horizontal axis labels.
|
|
143
|
-
*
|
|
144
|
-
* **NOTE**: The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
145
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
146
|
-
*
|
|
147
125
|
*/
|
|
148
126
|
setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
|
|
149
127
|
/**
|
|
@@ -153,10 +131,8 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
153
131
|
getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
154
132
|
/**
|
|
155
133
|
* Sets the vertical axis labels behavior for the chart.
|
|
134
|
+
* **Note:** The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
156
135
|
* @param verticalBehavior The behavior for the vertical axis labels.
|
|
157
|
-
*
|
|
158
|
-
* **NOTE**: The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
159
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
160
136
|
*/
|
|
161
137
|
setVerticalAxisLabelsBehavior(verticalBehavior: WebChartLabelBehavior): void;
|
|
162
138
|
/**
|
|
@@ -166,10 +142,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
166
142
|
getGridLinesSymbol(): ISimpleLineSymbol | undefined;
|
|
167
143
|
/**
|
|
168
144
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
145
|
+
* **Note:** To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
169
146
|
* @param {ISimpleLineSymbol | undefined} linesSymbol The grid lines symbol.
|
|
170
147
|
* @param {number[]} axisIndices The indices of the axes to set the grid lines symbol for.
|
|
171
|
-
*
|
|
172
|
-
* **NOTE**: To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
173
148
|
*/
|
|
174
149
|
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined, axisIndices?: number[]): void;
|
|
175
150
|
/**
|
|
@@ -195,7 +170,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
195
170
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
196
171
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
197
172
|
*
|
|
198
|
-
* **
|
|
173
|
+
* **Note:** To set the display zero line for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
199
174
|
*/
|
|
200
175
|
setDisplayZeroLine(displayZeroLine: boolean, axisIndex: number): void;
|
|
201
176
|
/**
|
|
@@ -214,7 +189,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
214
189
|
* @remarks
|
|
215
190
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
216
191
|
*
|
|
217
|
-
* **
|
|
192
|
+
* **Note:** To set the display cursor tooltip for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
218
193
|
*/
|
|
219
194
|
setDisplayCursorTooltip(displayCursorTooltip: boolean, axisIndex: number): void;
|
|
220
195
|
/**
|
|
@@ -235,7 +210,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
235
210
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
236
211
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
237
212
|
*
|
|
238
|
-
* **
|
|
213
|
+
* **Note:** To set the buffer for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
239
214
|
*/
|
|
240
215
|
setBuffer(buffer: boolean, axisIndex: number): void;
|
|
241
216
|
/**
|
|
@@ -253,7 +228,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
253
228
|
* @remarks
|
|
254
229
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
255
230
|
*
|
|
256
|
-
* **
|
|
231
|
+
* **Note:** To set the tick spacing for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
257
232
|
*/
|
|
258
233
|
setTickSpacing(tickSpacing: number, axisIndex: number): void;
|
|
259
234
|
/**
|
|
@@ -274,14 +249,14 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
274
249
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
275
250
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
276
251
|
*
|
|
277
|
-
* **
|
|
252
|
+
* **Note:** To set the integer only values for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
278
253
|
*/
|
|
279
254
|
setIntegerOnlyValues(integerOnlyValues: boolean, axisIndex: number): void;
|
|
280
255
|
/**
|
|
281
256
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
282
257
|
* @remarks if the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
283
258
|
*
|
|
284
|
-
* **
|
|
259
|
+
* **Note:** To set the cursor crosshair horizontal line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
285
260
|
*/
|
|
286
261
|
get cursorCrosshairHorizontalLineVisibility(): boolean;
|
|
287
262
|
set cursorCrosshairHorizontalLineVisibility(visibility: boolean);
|
|
@@ -289,21 +264,19 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
289
264
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
290
265
|
* @remarks if the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
291
266
|
*
|
|
292
|
-
* **
|
|
267
|
+
* **Note:** To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
293
268
|
*/
|
|
294
269
|
get cursorCrosshairVerticalLineVisibility(): boolean;
|
|
295
270
|
set cursorCrosshairVerticalLineVisibility(visibility: boolean);
|
|
296
271
|
/**
|
|
297
272
|
* Style of the cursor's crosshair from the chart config.
|
|
298
|
-
*
|
|
299
|
-
* **NOTE**: To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
273
|
+
* **Note:** To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
300
274
|
*/
|
|
301
275
|
get cursorCrosshairStyle(): ISimpleLineSymbol | undefined;
|
|
302
276
|
set cursorCrosshairStyle(style: ISimpleLineSymbol | undefined);
|
|
303
277
|
/**
|
|
304
278
|
* Cursor crosshair from the chart config.
|
|
305
|
-
*
|
|
306
|
-
* **NOTE**: To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
279
|
+
* **Note:** To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
307
280
|
*/
|
|
308
281
|
get cursorCrosshair(): WebChartCursorCrosshair | undefined;
|
|
309
282
|
set cursorCrosshair(cursorCrosshair: WebChartCursorCrosshair | undefined);
|
|
@@ -71,8 +71,7 @@ export declare class PieChartModel extends ChartModel {
|
|
|
71
71
|
getCustomSortValues(): Promise<string[]>;
|
|
72
72
|
/**
|
|
73
73
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
74
|
-
*
|
|
75
|
-
* NOTE: This method should be only used when the sort order is set to `customSort`.
|
|
74
|
+
* **Note:** This method should be only used when the sort order is set to `customSort`.
|
|
76
75
|
* @param {number} fromIndex The index to move the custom sort item from.
|
|
77
76
|
* @param {number} toIndex The index to move the category item to.
|
|
78
77
|
*/
|
|
@@ -99,8 +99,7 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
99
99
|
updateSeriesFromLayerFilter(): Promise<void>;
|
|
100
100
|
/**
|
|
101
101
|
* Whether temporal binning is enabled for all series in the config.
|
|
102
|
-
*
|
|
103
|
-
* **NOTE** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
102
|
+
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
104
103
|
*/
|
|
105
104
|
get binTemporalData(): boolean;
|
|
106
105
|
set binTemporalData(value: boolean);
|
|
@@ -159,8 +158,7 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
159
158
|
moveSeries(fromIndex: number, toIndex: number): void;
|
|
160
159
|
/**
|
|
161
160
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
162
|
-
*
|
|
163
|
-
* NOTE: This method should be only used when the sort order is set to `SerialChartDataSortingKinds.customSort`.
|
|
161
|
+
* **Note:** This method should be only used when the sort order is set to `SerialChartDataSortingKinds.customSort`.
|
|
164
162
|
* @param {number} fromIndex The index to move the custom sort value from.
|
|
165
163
|
* @param {number} toIndex The index to move the custom sort value to.
|
|
166
164
|
*/
|
|
@@ -144,11 +144,8 @@ export declare const setAxisValueFormat: (props: {
|
|
|
144
144
|
export declare const getAxisLogarithmic: (config: WebChart, axisIndex: number) => boolean;
|
|
145
145
|
/**
|
|
146
146
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
147
|
-
*
|
|
148
147
|
* `true`: Enable logarithmic scale for the specified axis.
|
|
149
|
-
*
|
|
150
148
|
* `false`: Disable logarithmic scale for the specified axis.
|
|
151
|
-
*
|
|
152
149
|
* @param {WebChart} props.config The chart configuration object.
|
|
153
150
|
* @param {boolean} props.isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
154
151
|
* @param {number} props.axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
package/dist/model.js
CHANGED
|
@@ -4,7 +4,7 @@ import { s as r, t as s, u as n } from "./chunks/type-guards.js";
|
|
|
4
4
|
import { a as B, e as P, i as S, g as x, b as W, r as v, h as G, l as K, m as D, p as F, j as H, k as O, q as R, n as A, o as E, d as X, f as Y, c as $ } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.5 */
|
|
8
8
|
async function c(t) {
|
|
9
9
|
const o = "config" in t ? r(t.config) : t.chartType;
|
|
10
10
|
let a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.5",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
30
|
"@amcharts/amcharts5": "~5.13.6",
|
|
31
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
32
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
31
|
+
"@arcgis/lumina": "5.0.0-next.5",
|
|
32
|
+
"@arcgis/toolkit": "5.0.0-next.5",
|
|
33
33
|
"ajv": "6.12.6",
|
|
34
34
|
"d3-array": "^3.2.1",
|
|
35
35
|
"d3-shape": "^3.2.0",
|
package/dist/cdn/2QC6ZPJH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.3 */
|
|
4
|
-
import{a as H,c as K}from"./O2GMCLWM.js";import{a as D}from"./OLQNVZUH.js";import{a as z}from"./5XKWLEPC.js";import g from"./YU3EMYVD.js";import{b as a,c,i as m}from"./OL7VEBIC.js";import{a as T}from"./LWF27VN7.js";import e from"./5MSCIR45.js";import d from"./U7NW4Q4W.js";import{g as f,w as V}from"./Y6H36UEQ.js";import"./RJP2TSH4.js";import"./OBNIZH6K.js";import{c as p}from"./T4NBUXZU.js";import{A as s,B as y,D as x,F as M,g as E,h as o,l as u,w as b,x as v,y as k}from"./67VULDXU.js";import"./XH3AFWLS.js";export default $arcgis.t(([,,,,,,,{E:L,G:P,Pa:I},,{a:C,b:N,f:B,g:_,h:S,i:$,j:F}])=>{var l={label:"label",row:"row",binCountContainer:"bin-count-container",iconSelect:"icon-select",sectionLabel:"section-label",binTextPadding:"bin-text-padding",histogramStatsList:"histogram-stats-list"},U=E`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.row{padding-top:1rem}.bin-count-container{display:flex;flex-wrap:wrap;padding:var(--arcgis-charts-config-margin-minor)}.bin-count-container>calcite-slider{flex-grow:10;min-width:50%}.bin-count-container>calcite-input{margin-bottom:.5rem;margin-top:var(--arcgis-charts-config-margin-minor);margin-left:var(--arcgis-charts-config-margin-minor);width:5rem}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.bin-text-padding{margin-left:var(--arcgis-charts-config-margin-minor)}.histogram-stats-list{pointer-events:none;margin-bottom:var(--arcgis-charts-config-margin-minor)}`,w=class extends k{constructor(){super(...arguments),this._messages=T(),this.numericalFieldSelectionElement=b(),this.transformationSelectionElement=b(),this.histogramPopover=null,this.binColorSectionElement=b(),this.binSliderElement=b(),this.binInputElement=b(),this.popoverHeading="",this.onBinCountChange=f(()=>{let e=this.binInputElement.value?.value;e!==void 0&&B(e,this.binInputElement.value?.min,this.binInputElement.value?.max)?this.binCountChange(e):this.binInputElement.value&&S({inputElement:this.binInputElement.value,status:$.INVALID})},C.DebounceTimer),this.onBinCountSliderChange=f(()=>{this.binCountChange(this.binSliderElement.value?.value?.toString()??"")},C.DebounceTimer),this.onNormalDistColorSelect=e=>{e.stopImmediatePropagation(),this.onColorElementSelect(this.model.normalDistSymbol,this._messages.normalDistStyle??"",this.normalDistOverlayElement)},this.onMeanColorSelect=e=>{e.stopImmediatePropagation(),this.onColorElementSelect(this.model.meanSymbol,this._messages.meanStyle??"",this.meanOverlayElement)},this.onMedianColorSelect=e=>{e.stopImmediatePropagation(),this.onColorElementSelect(this.model.medianSymbol,this._messages.medianStyle??"",this.medianOverlayElement)},this.onStandardDevColorSelect=e=>{e.stopImmediatePropagation(),this.onColorElementSelect(this.model.standardDevSymbol,this._messages.standardDevStyle??"",this.standardDevOverlayElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.updateProps=async e=>{try{if(e.detail!==null&&e.detail!==void 0){let{contentKind:t}=e.detail,{value:i}=e.detail;switch(K(H),t){case m.transformation:this.model.dataTransformationType=i??p.None;break;case m.numericFields:this.model.numericField=i??"";break;default:break}}}catch(t){throw this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}this.removeHistogramDataPopover(),this.requestUpdate()},this.updateSymbolProps=e=>{if(this.selectedBinColorSymbol!==void 0)this.onBinColorChange(e);else switch(this.selectedOverlayKind){case a.Mean:this.onMeanStyleChange(e);break;case a.Median:this.onMedianStyleChange(e);break;case a.StandardDev:this.onStandardDevStyleChange(e);break;case a.NormalDist:this.onNormalDistStyleChange(e);break}},this.popoverClose=e=>{this.histogramPopover===e.target&&(this.selectedOverlaySymbol=void 0,this.selectedBinColorSymbol=void 0,this.selectedNumericalField=void 0,this.selectedTransformationType=void 0,this.binColorSelected=!1),this.removeHistogramDataPopover()},this.binColorSelected=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigDataChangeError=u(),this.arcgisChartsConfigHistogramDataPopoverChange=u()}static{this.properties={binColorSelected:16,selectedBinColorSymbol:16,selectedOverlaySymbol:16,selectedNumericalField:16,selectedTransformationType:16,selectedOverlaySymbolType:3,messageOverrides:0,model:0,meanValue:9,medianValue:9,standardDevValue:9,minValue:9,maxValue:9,sumValue:9,nullsValue:9,countValue:9,layerFieldsInfo:0,open:7}}static{this.styles=U}get selectedBinColorSymbol(){return this._selectedBinColorSymbol}set selectedBinColorSymbol(e){this._selectedBinColorSymbol=e,this.histogramPopover&&(this.histogramPopover.selectedBinColor=e)}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeHistogramDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}removeHistogramDataPopover(){this.histogramPopover!==null&&(this.histogramPopover=z(this.histogramPopover))}getDataTransformationLabel(){let e;switch(this.model.dataTransformationType){case p.None:e=this._messages.none??"";break;case p.Log:e=this._messages.log??"";break;case p.Sqrt:e=this._messages.sqRt??"";break;default:e=this._messages.none??"";break}return e}getStatValue(e){let t;switch(e){case c.Min:t=this.minValue;break;case c.Max:t=this.maxValue;break;case c.Sum:t=this.sumValue;break;case c.Nulls:t=this.nullsValue;break;case c.Count:t=this.countValue!==void 0&&this.nullsValue!==void 0?this.countValue+this.nullsValue:Number.NaN;break;case c.CountExcludingNulls:t=this.countValue;break;case c.Mean:t=this.meanValue;break;case c.Median:t=this.medianValue;break;case c.StandardDev:t=this.standardDevValue;break;default:t=void 0;break}return F(t,N)}binCountChange(e){let t=Number.parseInt(e);this.model.binCount!==t&&(this.model.binCount=t,this.binInputElement.value&&S({inputElement:this.binInputElement.value,status:$.IDLE}))}onColorElementSelect(e,t,i){this.binColorSelected=i===void 0,e.type===V.SFS?(this.selectedOverlaySymbol=void 0,this.selectedBinColorSymbol=e,this.contentKind=m.fillSymbol):(this.selectedBinColorSymbol=void 0,this.selectedOverlaySymbol=e,this.overlaySectionElement=i,this.contentKind=m.lineSymbol),this.popoverHeading=t,this.setupPopover()}onNumericFieldSelect(e){e.stopImmediatePropagation(),this.selectedNumericalField=this.model.numericField,this.contentKind=m.numericFields,this.setupPopover()}onTransformationSelect(e){e.stopImmediatePropagation(),this.selectedTransformationType=this.model.dataTransformationType,this.contentKind=m.transformation,this.setupPopover()}onBinColorSelect(e){e.stopImmediatePropagation(),this.onColorElementSelect(this.model.binSymbol,this._messages.binColor??"")}onBinColorChange(e){this.model.colorMatch=!1,this.model.binSymbol=e.detail,this.selectedBinColorSymbol=e.detail}onMeanStyleChange(e){this.model.meanSymbol=e.detail}onMedianStyleChange(e){this.model.medianSymbol=e.detail}onStandardDevStyleChange(e){this.model.standardDevSymbol=e.detail}onNormalDistStyleChange(e){this.model.normalDistSymbol=e.detail}onShowDataLabelsChange(e){this.model.dataLabelsVisibility=e.target.checked}onOverlayListChange(e){let t=e.target.selectedItems.map(h=>h.value),i=t.includes(a.Mean),d=t.includes(a.Median),n=t.includes(a.StandardDev),r=t.includes(a.NormalDist);this.meanOverlayVisible!==i&&(this.model.showMeanOverlay=i,this.meanOverlayVisible=i),this.medianOverlayVisible!==d&&(this.model.showMedianOverlay=d,this.medianOverlayVisible=d),this.standardDevOverlayVisible!==n&&(this.model.showStandardDevOverlay=n,this.standardDevOverlayVisible=n),this.normalDistOverlayVisible!==r&&(this.model.showNormalDistOverlay=r,this.normalDistOverlayVisible=r)}setupPopover(){this.removeHistogramDataPopover();let e=[...this.layerFieldsInfo],t,i,d="trailing",n,r,h,g;switch(this.contentKind){case m.transformation:n=this.selectedTransformationType,t=this.transformationSelectionElement.value,h=void 0,g=void 0,r=void 0;break;case m.numericFields:r=this.selectedNumericalField,t=this.numericalFieldSelectionElement.value,h=void 0,g=void 0,n=void 0;break;case m.fillSymbol:t=this.binColorSectionElement.value,h=this.selectedBinColorSymbol,i=this.popoverHeading,d="leading",g=void 0,n=void 0,r=void 0;break;case m.lineSymbol:this.selectedOverlayKind=this.overlaySectionElement?.value,t=this.overlaySectionElement,g=this.selectedOverlaySymbol,i=this.popoverHeading,h=void 0,n=void 0,r=void 0;break}this.histogramPopover=x(o`<arcgis-charts-config-histogram-popover .headingTitle=${i} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${e} .placement=${d} .selectedNumericField=${r} .selectedTransformationType=${n} .selectedBinColor=${h} .selectedOverlaySymbol=${g} @arcgisChartsConfigPopoverClose=${this.popoverClose} @arcgisChartsConfigHistogramPopoverChange=${this.updateProps} @arcgisChartsConfigHistogramPopoverSymbolChange=${this.updateSymbolProps}></arcgis-charts-config-histogram-popover>`),!document.body.contains(this.histogramPopover)&&this.histogramPopover!==null&&document.body.appendChild(this.histogramPopover)}renderFieldSelect(){return o`<arcgis-charts-config-field-select .label=${I(this.layerFieldsInfo,this.model.numericField)} @click=${this.onNumericFieldSelect} ${v(this.numericalFieldSelectionElement)}></arcgis-charts-config-field-select>`}renderDataTransformationType(){return o`<arcgis-charts-config-field-select .label=${this.getDataTransformationLabel()} @click=${this.onTransformationSelect} ${v(this.transformationSelectionElement)}></arcgis-charts-config-field-select>`}renderColorListItem(e){let{textLabel:t,key:i,value:d,selected:n,ref:r,colorAction:h,color:g}=e,[O,A,j,q]=[...g??P()];return D(i,o`<calcite-list-item .label=${t??""} .value=${d} .selected=${n} ${v(r??void 0)}><calcite-action text=color slot=actions-end appearance=transparent @click=${h}><calcite-icon icon=line-solid style=${y(O!==void 0?{color:`rgba(${O},${A},${j},${(q??0)/255})`}:{})}></calcite-icon></calcite-action></calcite-list-item>`)}renderBinColorElement(){let[e,t,i,d]=[...this.model.binSymbol?.color??L(0)];return o`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.binColor} value=selectTrendLine .selected=${this.binColorSelected} @click=${this.onBinColorSelect} ${v(this.binColorSectionElement)}><calcite-icon slot=content-end icon=square-f style=${y({color:`rgba(${e},${t},${i},${d/255})`})} class=${s(l.iconSelect)}></calcite-icon></calcite-list-item></calcite-list>`}renderNormalDistOverlay(){return this.normalDistOverlayVisible=this.model.showNormalDistOverlay,this.renderColorListItem({textLabel:this._messages.normalDist,color:this.model.normalDistSymbol?.color,key:a.NormalDist,value:a.NormalDist,selected:this.model.showNormalDistOverlay,ref:e=>{this.normalDistOverlayElement=e},colorAction:this.onNormalDistColorSelect})}renderMeanOverlay(){return this.meanOverlayVisible=this.model.showMeanOverlay,this.renderColorListItem({textLabel:this._messages.mean,textDescription:this.meanValue,color:this.model.meanSymbol?.color,key:a.Mean,value:a.Mean,selected:this.model.showMeanOverlay,ref:e=>{this.meanOverlayElement=e},colorAction:this.onMeanColorSelect})}renderStandardDevOverlay(){return this.standardDevOverlayVisible=this.model.showStandardDevOverlay,this.renderColorListItem({textLabel:this._messages.standardDev,textDescription:this.standardDevValue,color:this.model.standardDevSymbol?.color,key:a.StandardDev,value:a.StandardDev,selected:this.model.showStandardDevOverlay,ref:e=>{this.standardDevOverlayElement=e},colorAction:this.onStandardDevColorSelect})}renderMedianOverlay(){return this.medianOverlayVisible=this.model.showMedianOverlay,this.renderColorListItem({textLabel:this._messages.median,textDescription:this.medianValue,color:this.model.medianSymbol?.color,key:a.Median,value:a.Median,selected:this.model.showMedianOverlay,ref:e=>{this.medianOverlayElement=e},colorAction:this.onMedianColorSelect})}renderOverlayList(){return o`<calcite-list label selection-mode=multiple @calciteListChange=${this.onOverlayListChange}>${this.renderNormalDistOverlay()}${this.renderMeanOverlay()}${this.renderMedianOverlay()}${this.renderStandardDevOverlay()}</calcite-list>`}renderStatItem(e){return D(e,o`<calcite-list-item .label=${this._messages[e]} .description=${this.getStatValue(e)} .value=${e}></calcite-list-item>`)}renderStats(){let e=Object.values(c);return o`<calcite-list label class=${s(l.histogramStatsList)}>${e.map(t=>this.renderStatItem(t))}</calcite-list>`}renderShowDataLabels(){return o`<div class=${s(l.row)}><calcite-label class=${s(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label></div>`}renderBinsSection(){return o`<div class=${s(l.binCountContainer)}><calcite-slider label-handles min=1 max=64 step=1 snap .value=${this.model.binCount} @calciteSliderChange=${this.onBinCountSliderChange} ${v(this.binSliderElement)}></calcite-slider><calcite-input type=number min=1 max=64 step=1 .value=${_(this.model.binCount)} @calciteInputInput=${this.onBinCountChange} ${v(this.binInputElement)}></calcite-input></div>`}render(){let e=this.renderFieldSelect(),t=this.renderDataTransformationType();return o`<div><div class=${s(l.sectionLabel)}>${this._messages.variables}</div><calcite-label class=${s(l.label)}>${this._messages.number}${e}</calcite-label><calcite-label class=${s(l.label)}>${this._messages.withTransformation}${t}</calcite-label><div class=${s(l.sectionLabel)}>${this._messages.bins}</div><p class=${s(l.binTextPadding)}>${this._messages.numberOfBins}</p>${this.renderBinsSection()}${this.renderBinColorElement()}<div class=${s(l.sectionLabel)}>${this._messages.overlays}</div>${this.renderOverlayList()}${this.renderShowDataLabels()}<div class=${s(l.sectionLabel)}>${this._messages.statistics}</div>${this.renderStats()}</div>`}};M("arcgis-charts-config-histogram-data",w);return w},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",d,e,g)
|
package/dist/cdn/32RUS2M3.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.3 */
|
|
4
|
-
import{a as m,c as K}from"./O2GMCLWM.js";import{a as P}from"./5XKWLEPC.js";import c from"./YU3EMYVD.js";import{j as o,l as h}from"./OL7VEBIC.js";import{a as E}from"./LWF27VN7.js";import b from"./5MSCIR45.js";import a from"./U7NW4Q4W.js";import{c as z,f as k,i as A,w as x}from"./Y6H36UEQ.js";import"./RJP2TSH4.js";import"./OBNIZH6K.js";import{a as f}from"./T4NBUXZU.js";import{A as i,B as v,D as w,F as L,g as F,h as n,l as $,w as d,x as r,y as T}from"./67VULDXU.js";import"./XH3AFWLS.js";export default $arcgis.t(([,,,,,,,{Aa:_,E:C,Pa:y,v:M},,{b:V,f:S,g:b,h:p,i:g,j:D}])=>{var l={label:"label",r2:"r2",numberInput:"number-input",iconSelect:"icon-select",sectionLabel:"section-label",switchElement:"switch-element",sectionContainer:"section-container",multiInputSection:"multi-input-section",dimText:"dim-text"},R=F`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}:host .number-input{margin-bottom:.5rem;display:flex}:host .number-input>div{width:100%}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}calcite-slider{margin-top:-1.5rem}.r2{margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.section-container{display:flex;flex-direction:column}.icon-select{cursor:pointer}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.switch-element{margin-right:var(--arcgis-charts-config-margin-minor)}.multi-input-section{display:flex;justify-content:space-between;align-items:center}`,I=class extends T{constructor(){super(...arguments),this._messages=E(),this.commonStrings=E({name:"common",blocking:!0}),this.scatterplotPopover=null,this.selectColorElement=d(),this.selectTrendLineElement=d(),this.xAxisElement=d(),this.yAxisElement=d(),this.tooltipFieldElement=d(),this.sizeVariableElement=d(),this.colorModeElement=d(),this.symbolSizeModeElement=d(),this.minSizeInputElement=d(),this.maxSizeInputElement=d(),this.items=[],this.setTrendLineSymbol=e=>{let t=e.detail;this.model.linearTrendSymbol=k(t)},this.setFixedSymbolRGBAColor=e=>{let t=e.detail,[a,s,c]=t,u=M*255;this.model.fixedMarkerSymbol={...this.model.fixedMarkerSymbol,color:[a,s,c,u]}},this.setXYField=e=>{try{let t=e.detail;K(m),this.contentKind===o.xAxisField?this.model.xAxisField=t:this.model.yAxisField=t,this.removeScatterplotPopover()}catch(t){throw this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}},this.setAdditionalTooltipField=e=>{let t=e.detail;this.model.additionalTooltipField=t,this.removeScatterplotPopover()},this.setSizeVariableField=e=>{try{let t=e.detail;t?this.model.sizePolicy={...this.model.sizePolicy,type:f.SizePolicy,field:t}:this.model.sizePolicy=void 0,m.scatterplotData[m.selectedChartId]={...m.scatterplotData[m.selectedChartId],sizePolicyField:this.model.sizePolicy?.field??void 0},this.removeScatterplotPopover()}catch(t){throw this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}},this.closeScatterplotPopover=e=>{this.scatterplotPopover===e?.target&&(this.contentKind=o.none,this.removeScatterplotPopover())},this.onModelConfigChange=()=>{this.requestUpdate();let{minSize:e,maxSize:t}=this.model.sizePolicy??{};this.minSizeInputElement.value!==void 0&&e!==void 0&&(this.minSizeInputElement.value.value=`${e}`,S(this.minSizeInputElement.value.value,this.minSizeInputElement.value.min,this.minSizeInputElement.value.max)?p({inputElement:this.minSizeInputElement.value,status:g.IDLE}):p({inputElement:this.minSizeInputElement.value,status:g.INVALID})),this.maxSizeInputElement.value!==void 0&&t!==void 0&&(this.maxSizeInputElement.value.value=`${t}`,S(this.maxSizeInputElement.value.value,this.maxSizeInputElement.value.min,this.maxSizeInputElement.value.max)?p({inputElement:this.maxSizeInputElement.value,status:g.IDLE}):p({inputElement:this.maxSizeInputElement.value,status:g.INVALID}))},this.segmentedControlRef=e=>{e&&(e.focus=()=>{},this.items.push(e))},this.layerFieldsInfo=[],this.arcgisChartsConfigDataChangeError=$(),this.arcgisChartsConfigScatterplotPopoverChange=$()}static{this.properties={selectedElement:16,selectedSizeType:16,messageOverrides:0,model:0,r2:11,layerFieldsInfo:0,isTableLayer:5}}static{this.styles=R}load(){this.modelChange(this.model),this.onModelConfigChange(),this.defaultR2Label=_(this.commonStrings),this.selectedSizeType=this.getCurrentSymbolSizeType(),this.selectedSizeType===h.Proportional&&(m.scatterplotData[m.selectedChartId]={...m.scatterplotData[m.selectedChartId],sizePolicyField:this.model.sizePolicy?.field})}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedElement")&&this.openPopover()}async loaded(){await(async e=>await new Promise(t=>setTimeout(()=>t(),e)))(250),this.items.forEach(e=>{delete e.focus})}disconnectedCallback(){super.disconnectedCallback(),this.removeScatterplotPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}openPopover(){(typeof this.selectedElement=="string"||!A(this.selectedElement))&&this.setupPopover()}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}setShowTrendLine(e){let t=e.target.checked;this.model.showLinearTrend=t,!t&&this.contentKind===o.trendLine&&this.closeScatterplotPopover(e)}symbolSizeChange(e){let t=e.target,{value:a}=t;if(a!==void 0&&S(a,t.min,t.max)){let s=Number.parseInt(a),c=this.model.sizePolicy,u=this.model.fixedMarkerSymbol;switch(t.name){case"fixed-symbol-size":u!==void 0&&(this.model.fixedMarkerSymbol={...u,size:s});break;case"proportional-symbol-min-size":c!==void 0&&(this.model.sizePolicy={...c,minSize:s});break;case"proportional-symbol-max-size":c!==void 0&&(this.model.sizePolicy={...c,maxSize:s});break}p({inputElement:t,status:g.IDLE})}else p({inputElement:t,status:g.INVALID})}symbolSizeRangeSliderInput(e){let t=e.target,{minValue:a,maxValue:s}=t,c=this.model.sizePolicy;c!==void 0&&(this.model.sizePolicy={...c,minSize:a,maxSize:s},this.minSizeInputElement.value!==void 0&&(this.minSizeInputElement.value.value=`${a}`),this.maxSizeInputElement.value!==void 0&&(this.maxSizeInputElement.value.value=`${s}`))}changeColorTypeToggle(){let e=this.colorModeElement.value?.selectedItem?.value;this.model.colorMatch=e===this._messages.useLayerColors}changeSymbolSizeTypeToggle(){let e=this.symbolSizeModeElement.value?.value;this.selectedSizeType=e;let t=m.scatterplotData[m.selectedChartId]?.sizePolicyField;e===h.Proportional&&t!==void 0?this.model.sizePolicy={...this.model.sizePolicy,type:f.SizePolicy,field:t}:e===h.Fixed&&(this.model.sizePolicy={...this.model.sizePolicy,type:f.SizePolicy,field:""})}changeElementStyle(e){e.stopImmediatePropagation();let t=e.target;t.localName==="calcite-icon"&&(t=t.parentElement),t.value==="selectColor"?(this.contentKind=o.symbol,this.selectedElement=this.model.fixedMarkerSymbol?.color):t.value==="selectTrendLine"&&(this.contentKind=o.trendLine,this.selectedElement=this.model.linearTrendSymbol)}onXVariableSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.xAxisField,this.selectedElement=this.model.xAxisField}onYVariableSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.yAxisField,this.selectedElement=this.model.yAxisField}onAdditionalTooltipFieldSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.additionalTooltipFields,this.selectedElement=this.model.additionalTooltipField?.[0]??""}onSizeVariableSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.sizeVariable,this.selectedElement=this.model.sizePolicy?.field??""}setupPopover(){this.scatterplotPopover=P(this.scatterplotPopover);let e=[...this.layerFieldsInfo],t,a,s,c="trailing";switch(this.contentKind){case o.xAxisField:t=this.xAxisElement.value,s=this.model.xAxisField,a=this._messages.selectAField;break;case o.yAxisField:t=this.yAxisElement.value,s=this.model.yAxisField,a=this._messages.selectAField;break;case o.sizeVariable:t=this.sizeVariableElement.value,s=this.model.sizePolicy?.field??"",a=this._messages.selectAField;break;case o.additionalTooltipFields:t=this.tooltipFieldElement.value,s=this.model.additionalTooltipField?.[0]??"",a=this._messages.selectAField;break;case o.symbol:case o.trendLine:{let u=this.selectedElement;s=this.selectedElement,c="leading",Array.isArray(this.selectedElement)?t=this.selectColorElement.value:u?.type===x.SLS&&(t=this.selectTrendLineElement.value);break}default:this.contentKind=o.none,this.removeScatterplotPopover();break}this.scatterplotPopover=w(n`<arcgis-charts-config-scatter-plot-popover .headingTitle=${a} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${e} .selectedContent=${s} .placement=${c} @arcgisChartsConfigPopoverClose=${this.closeScatterplotPopover} @arcgisChartsConfigScatterplotFillColorChange=${this.setFixedSymbolRGBAColor} @arcgisChartsConfigScatterplotLineStyleChange=${this.setTrendLineSymbol} @arcgisChartsConfigScatterplotXYFieldChange=${this.setXYField} @arcgisChartsConfigScatterplotSizeVariableFieldChange=${this.setSizeVariableField} @arcgisChartsConfigScatterplotAdditionalTooltipFieldChange=${this.setAdditionalTooltipField}></arcgis-charts-config-scatter-plot-popover>`),!document.body.contains(this.scatterplotPopover)&&this.scatterplotPopover!==null&&document.body.appendChild(this.scatterplotPopover)}removeScatterplotPopover(){this.scatterplotPopover!==null&&(this.scatterplotPopover=P(this.scatterplotPopover)),this.selectedElement={}}getCurrentSymbolSizeType(){let e=this.model.sizePolicy;return e===void 0||e.field===""?h.Fixed:h.Proportional}renderXVariable(){return n`<arcgis-charts-config-field-select .label=${y(this.layerFieldsInfo,this.model.xAxisField??"")} @click=${this.onXVariableSelectChange} ${r(this.xAxisElement)}></arcgis-charts-config-field-select>`}renderYVariable(){return n`<arcgis-charts-config-field-select .label=${y(this.layerFieldsInfo,this.model.yAxisField??"")} @click=${this.onYVariableSelectChange} ${r(this.yAxisElement)}></arcgis-charts-config-field-select>`}renderTooltipField(){return n`<arcgis-charts-config-field-select .disabled=${this.model.dataStore.aggregated} .label=${y(this.layerFieldsInfo,this.model.additionalTooltipField?.[0]??"")} @click=${this.onAdditionalTooltipFieldSelectChange} ${r(this.tooltipFieldElement)}></arcgis-charts-config-field-select>`}renderStatistics(){let[e,t,a,s]=[...this.model.linearTrendSymbol?.color??C(0)];return n`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)} layout=inline-space-between>${this._messages.showLinearTrend}<calcite-switch class=${i(l.switchElement)} .checked=${this.model.showLinearTrend} @calciteSwitchChange=${this.setShowTrendLine}></calcite-switch></calcite-label><calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.trendLineStyle} value=selectTrendLine .hidden=${!this.model.showLinearTrend} .selected=${this.selectedElement?.type===x.SLS} @click=${this.changeElementStyle} ${r(this.selectTrendLineElement)}><calcite-icon slot=content-end icon=line-solid style=${v({color:`rgba(${e},${t},${a},${s/255})`})} class=${i(l.iconSelect)} @click=${this.changeElementStyle}></calcite-icon></calcite-list-item></calcite-list><div class=${i(l.r2)} .hidden=${!this.model.showLinearTrend}>${`${this._messages.r2}: ${Number.isNaN(this.r2)?this.defaultR2Label:D(this.r2,V)}`}</div></div>`}renderFixedSymbol(){return n`<calcite-label class=${i(l.label)}>${this._messages.size}<calcite-input type=number name=fixed-symbol-size class=${i(l.numberInput)} min=1 max=100 step=1 .value=${b(this.model.fixedMarkerSymbol?.size)} @calciteInputInput=${this.symbolSizeChange}></calcite-input></calcite-label>`}renderSizeVariable(){return n`<arcgis-charts-config-field-select .label=${y(this.layerFieldsInfo,this.model.sizePolicy?.field??"")} .invalid=${this.layerFieldsInfo.find(e=>e.name===this.model.sizePolicy?.field)===void 0} @click=${this.onSizeVariableSelectChange} ${r(this.sizeVariableElement)}></arcgis-charts-config-field-select>`}renderMinSizeInput(){return n`<calcite-input type=number name=proportional-symbol-min-size class=${i(l.numberInput)} min=1 .max=${this.model.sizePolicy?.maxSize??100} step=1 .value=${b(this.model.sizePolicy?.minSize)} @calciteInputInput=${this.symbolSizeChange} ${r(this.minSizeInputElement)}></calcite-input>`}renderMaxSizeInput(){return n`<calcite-input type=number name=proportional-symbol-max-size class=${i(l.numberInput)} .min=${this.model.sizePolicy?.minSize??1} max=100 step=1 .value=${b(this.model.sizePolicy?.maxSize)} @calciteInputInput=${this.symbolSizeChange} ${r(this.maxSizeInputElement)}></calcite-input>`}renderProportionalSymbol(){return n`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)}>${this._messages.numberRequired}${this.renderSizeVariable()}</calcite-label><div class=${i(l.multiInputSection)}><calcite-label class=${i(l.label)}>${this._messages.minSize}${this.renderMinSizeInput()}</calcite-label><calcite-label class=${i(l.label)}>${this._messages.maxSize}${this.renderMaxSizeInput()}</calcite-label></div><calcite-label><calcite-slider min=1 max=100 .minValue=${z(b(this.model.sizePolicy?.minSize))} .maxValue=${z(b(this.model.sizePolicy?.maxSize))} step=1 @calciteSliderInput=${this.symbolSizeRangeSliderInput}></calcite-slider></calcite-label></div>`}renderSymbolSizeType(){return n`<calcite-label class=${i(l.label)}>${this._messages.size}<calcite-segmented-control name=symbolSizeType layout=horizontal scale=s @calciteSegmentedControlChange=${this.changeSymbolSizeTypeToggle} ${r(this.symbolSizeModeElement)}><calcite-segmented-control-item .value=${h.Fixed} .checked=${h.Fixed===this.selectedSizeType} ${r(this.segmentedControlRef)}>${this._messages.fixed}</calcite-segmented-control-item><calcite-segmented-control-item .value=${h.Proportional} .checked=${h.Proportional===this.selectedSizeType} ${r(this.segmentedControlRef)}>${this._messages.proportional}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`}renderSymbol(){let[e,t,a,s]=[...this.model.fixedMarkerSymbol?.color??C(0)];return n`<div class=${i(l.sectionContainer)}>${this.renderSymbolSizeType()}${this.selectedSizeType===h.Proportional?this.renderProportionalSymbol():this.renderFixedSymbol()}<calcite-label class=${i(l.label)}>${this._messages.color}${this.isTableLayer!==!0?n`<calcite-segmented-control name=layerColor layout=horizontal scale=s @calciteSegmentedControlChange=${this.changeColorTypeToggle} ${r(this.colorModeElement)}><calcite-segmented-control-item .value=${this._messages.useLayerColors} .checked=${this.model.colorMatch} ${r(this.segmentedControlRef)}>${this._messages.useLayerColors}</calcite-segmented-control-item><calcite-segmented-control-item .value=${this._messages.singleColor} .checked=${!this.model.colorMatch} ${r(this.segmentedControlRef)}>${this._messages.singleColor}</calcite-segmented-control-item></calcite-segmented-control>`:null}</calcite-label><calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.color} value=selectColor .hidden=${this.model.colorMatch&&this.isTableLayer!==!0} .selected=${Array.isArray(this.selectedElement)} @click=${this.changeElementStyle} ${r(this.selectColorElement)}><calcite-icon slot=content-end icon=circle-f style=${v({color:`rgba(${e},${t},${a},${s/255})`})} class=${i(l.iconSelect)} @click=${this.changeElementStyle}></calcite-icon></calcite-list-item></calcite-list></div>`}render(){return n`<div><h3 class=${i(l.sectionLabel)}>${this._messages.variables}</h3><calcite-label class=${i(l.label)}>${this._messages.xAxisNumber}${this.renderXVariable()}</calcite-label><calcite-label class=${i(l.label)}>${this._messages.yAxisNumber}${this.renderYVariable()}</calcite-label><calcite-label class=${i(l.label)}><span class=${i(this.model.dataStore.aggregated?l.dimText:"")}>${this._messages.additionalTooltipFields}</span>${this.renderTooltipField()}</calcite-label><h3 class=${i(l.sectionLabel)}>${this._messages.statistics}</h3>${this.renderStatistics()}<h3 class=${i(l.sectionLabel)}>${this._messages.symbol}</h3>${this.renderSymbol()}</div>`}};L("arcgis-charts-config-scatter-plot-data",I);return I},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,c)
|