@arcgis/charts-components 5.0.0-next.121 → 5.0.0-next.122
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/{3SNLHEVX.js → 23PRTKUU.js} +2 -2
- package/dist/cdn/23QHNUZR.js +4 -0
- package/dist/cdn/{QDXYGG7L.js → 2A6XWNKP.js} +1 -1
- package/dist/cdn/{HVSXSV4B.js → 2CZEQWZJ.js} +2 -2
- package/dist/cdn/{PHL2GHBB.js → 2DKYAYHY.js} +2 -2
- package/dist/cdn/{YLZ34YAF.js → 2IPP3LAG.js} +2 -2
- package/dist/cdn/{45TNY63I.js → 2O43QSDU.js} +2 -2
- package/dist/cdn/{J437L5P4.js → 2SQIRUQS.js} +2 -2
- package/dist/cdn/{ZMRFAQK4.js → 2WZB5AM4.js} +2 -2
- package/dist/cdn/{DNTX53GE.js → 325AT5IA.js} +2 -2
- package/dist/cdn/{E4BWAKEE.js → 3BRBJQOB.js} +2 -2
- package/dist/cdn/{KBFFD5ZZ.js → 3GAAVHTW.js} +2 -2
- package/dist/cdn/{JBSGYGGV.js → 3HGC7PGI.js} +1 -1
- package/dist/cdn/{6CBK3EWH.js → 3HH7LGDI.js} +2 -2
- package/dist/cdn/{VW4HUTAT.js → 3HHUNWVG.js} +2 -2
- package/dist/cdn/{PQG62CEY.js → 3I7CSGHN.js} +2 -2
- package/dist/cdn/{RLY2YI7G.js → 3PJSFK4K.js} +2 -2
- package/dist/cdn/{I4TJO6PF.js → 45NBJYSN.js} +2 -2
- package/dist/cdn/{NAUGLZHD.js → 46DDKTMT.js} +2 -2
- package/dist/cdn/{DETRMA6C.js → 46VHFQUG.js} +2 -2
- package/dist/cdn/{ID6KIC7R.js → 4DQIBSFO.js} +2 -2
- package/dist/cdn/{OBUYHLFE.js → 4EZSXQJ6.js} +2 -2
- package/dist/cdn/{TZ63HZ5L.js → 4FKE3H45.js} +2 -2
- package/dist/cdn/{NB5C76HL.js → 4VGG34MI.js} +2 -2
- package/dist/cdn/{5YVFKG5P.js → 4ZXSIXV7.js} +2 -2
- package/dist/cdn/{PJ3M3QZW.js → 56MKGEI5.js} +2 -2
- package/dist/cdn/{R5YV6RZV.js → 5CWLAPP6.js} +2 -2
- package/dist/cdn/{R2ZAXR4I.js → 5FA5TBRL.js} +2 -2
- package/dist/cdn/{U6HLMT3P.js → 5LNPMUB6.js} +2 -2
- package/dist/cdn/{ATXOK4MP.js → 5NSWAD5Y.js} +2 -2
- package/dist/cdn/{5CHXWJ5Z.js → 66CNCEJE.js} +1 -1
- package/dist/cdn/{UIIV6Q6A.js → 6CMF3QZD.js} +2 -2
- package/dist/cdn/6CPLWVI2.js +4 -0
- package/dist/cdn/{6LGVQJOV.js → 6FUSBAG3.js} +1 -1
- package/dist/cdn/{UERJFSES.js → 6NVTUKFH.js} +2 -2
- package/dist/cdn/{KJ76RWUK.js → 6UPOP73K.js} +2 -2
- package/dist/cdn/{TCTTBJ7P.js → 7GCHSTZF.js} +2 -2
- package/dist/cdn/{2PPUWSHF.js → 7LIY7YIW.js} +7 -7
- package/dist/cdn/{YRUD62TX.js → 7TI756JI.js} +2 -2
- package/dist/cdn/{M4UOOLIJ.js → 7W2ZYXNQ.js} +2 -2
- package/dist/cdn/{4R7OCCHY.js → AIOTWK6M.js} +2 -2
- package/dist/cdn/{Q7FVZK67.js → AJBYT4MH.js} +2 -2
- package/dist/cdn/{YZZESA6L.js → AKZ4CMJK.js} +2 -2
- package/dist/cdn/{5H4LCALN.js → AQRUZOOC.js} +2 -2
- package/dist/cdn/{WROFIWFG.js → ATJ7MWFA.js} +2 -2
- package/dist/cdn/{G366RMC2.js → B35ILGAZ.js} +2 -2
- package/dist/cdn/{T4KUKOM3.js → B3TZI4Z5.js} +2 -2
- package/dist/cdn/{G75IA5KH.js → BENVAVQA.js} +2 -2
- package/dist/cdn/{CNTGOGOV.js → BPAX5LDZ.js} +2 -2
- package/dist/cdn/{W2URIT62.js → BPMT42MN.js} +2 -2
- package/dist/cdn/{HERSDPRD.js → BW4EOPPJ.js} +2 -2
- package/dist/cdn/{RLUAHBGC.js → BXJDGM4L.js} +2 -2
- package/dist/cdn/{VT6OXXKO.js → BZC625SA.js} +2 -2
- package/dist/cdn/{6B6PN7WJ.js → CRR7EVCF.js} +2 -2
- package/dist/cdn/{P7UC64N2.js → CVCV4SE4.js} +2 -2
- package/dist/cdn/{V6BC3ESE.js → D3YZQVC6.js} +2 -2
- package/dist/cdn/{X6NTU32R.js → DC6DZYH4.js} +2 -2
- package/dist/cdn/{AFUWOLKP.js → DD7WE3XJ.js} +2 -2
- package/dist/cdn/{ZQBB5XXB.js → DECT22AJ.js} +2 -2
- package/dist/cdn/{UPMIAMKJ.js → DIAU6PE2.js} +1 -1
- package/dist/cdn/{5MWZ5C7M.js → DWS64R4Z.js} +2 -2
- package/dist/cdn/{3OIYCXJG.js → ECIDH67O.js} +2 -2
- package/dist/cdn/{6QGYQPTX.js → EGYRMXXK.js} +2 -2
- package/dist/cdn/ELL34MS3.js +4 -0
- package/dist/cdn/{JTWWMXKM.js → ENIPA2F2.js} +2 -2
- package/dist/cdn/{BQ5E277J.js → EYNVBXNH.js} +2 -2
- package/dist/cdn/{LV6PGU7S.js → FAEG4QFH.js} +2 -2
- package/dist/cdn/{UQGADINV.js → FAFSWA4Y.js} +2 -2
- package/dist/cdn/{6RMNY63B.js → FUHN7NNH.js} +2 -2
- package/dist/cdn/{QN5ORQU3.js → GBT4RHT2.js} +2 -2
- package/dist/cdn/{OQNX27TA.js → GES2WEH5.js} +2 -2
- package/dist/cdn/GFPDR527.js +4 -0
- package/dist/cdn/{RVT7QOYM.js → GHR74V5R.js} +2 -2
- package/dist/cdn/{MY7FLS3T.js → GIQ4H3IF.js} +2 -2
- package/dist/cdn/{MIRPFWSJ.js → GIV53VKQ.js} +2 -2
- package/dist/cdn/{XB4KCSDD.js → GK3ZOJTH.js} +2 -2
- package/dist/cdn/{T4ACUTUL.js → GWTDBXS6.js} +1 -1
- package/dist/cdn/{ZZQQP2MQ.js → GZ24K7TJ.js} +2 -2
- package/dist/cdn/{NFUIBA24.js → H22QEVL4.js} +2 -2
- package/dist/cdn/{VWCNMQLM.js → H7UFI7QG.js} +2 -2
- package/dist/cdn/{OEG5ZN2M.js → HJKT3XJL.js} +2 -2
- package/dist/cdn/{FCMM6LKI.js → HNPJXXBV.js} +2 -2
- package/dist/cdn/{2CMUGTL6.js → HOZ44UTB.js} +2 -2
- package/dist/cdn/{VFYFTPWU.js → HY2BJLIR.js} +2 -2
- package/dist/cdn/{3JVYOBUK.js → I5HIC2IK.js} +2 -2
- package/dist/cdn/{76JOEAMX.js → IAF2K6G2.js} +2 -2
- package/dist/cdn/{RUV5LDFU.js → IDV5ZOWS.js} +2 -2
- package/dist/cdn/{HRXM3YPG.js → IEL2CVEP.js} +2 -2
- package/dist/cdn/{U5AJI2IX.js → IHTVJWFX.js} +2 -2
- package/dist/cdn/{254DRRRH.js → IJT7TD3Y.js} +2 -2
- package/dist/cdn/{DTJK7DRS.js → IP52N6M7.js} +2 -2
- package/dist/cdn/{SG6ZGARN.js → IURE5EFW.js} +2 -2
- package/dist/cdn/{6MQG3HOY.js → J6UTMEKL.js} +2 -2
- package/dist/cdn/JEU4AMXY.js +4 -0
- package/dist/cdn/{PBSR5653.js → JGIFVK2C.js} +2 -2
- package/dist/cdn/{3BBH5NZL.js → JKWTT3AE.js} +2 -2
- package/dist/cdn/{T2A3ZVWR.js → JQORYXNN.js} +1 -1
- package/dist/cdn/{73Z4T475.js → JQTJGQ27.js} +2 -2
- package/dist/cdn/{7W7SZTTL.js → JUXLJCTJ.js} +2 -2
- package/dist/cdn/{FAZNZJ2D.js → JW6GZE4C.js} +2 -2
- package/dist/cdn/{7UV7EXPT.js → KDG4GRFJ.js} +2 -2
- package/dist/cdn/{OUNG4T4J.js → KFVVDOGP.js} +2 -2
- package/dist/cdn/{WPLQNPJQ.js → KKN6FUWO.js} +2 -2
- package/dist/cdn/KLELWDKV.js +4 -0
- package/dist/cdn/{YIYLZQRC.js → KQKOYGJT.js} +2 -2
- package/dist/cdn/{QJP3PIGQ.js → KQW7EHAP.js} +2 -2
- package/dist/cdn/{C35BC564.js → KR36UAHF.js} +2 -2
- package/dist/cdn/{TILXQ6RR.js → KVJPDC7D.js} +2 -2
- package/dist/cdn/{5NZWKWZY.js → LGQX6AM6.js} +2 -2
- package/dist/cdn/{VIQ7MHXQ.js → LHVANY6L.js} +2 -2
- package/dist/cdn/{HQVECFSW.js → LRGNHI7Z.js} +2 -2
- package/dist/cdn/{CTMW5MWU.js → M5WPEXU5.js} +2 -2
- package/dist/cdn/{QGWMOB74.js → M7YXARDE.js} +2 -2
- package/dist/cdn/{NYDA2GDD.js → MAVN7C5Q.js} +2 -2
- package/dist/cdn/{7GE25CGE.js → MBAY4KQ2.js} +2 -2
- package/dist/cdn/{VDHWTNV5.js → MHGZBP24.js} +2 -2
- package/dist/cdn/{HMSFTW7F.js → MP33O3E5.js} +2 -2
- package/dist/cdn/{EAGNNOU3.js → NNZ5JOFW.js} +2 -2
- package/dist/cdn/{FUA5W7BP.js → NQJ67Z4L.js} +2 -2
- package/dist/cdn/{7WM32QJQ.js → OKXLAW2C.js} +2 -2
- package/dist/cdn/{AM7YKBWD.js → OMGWR5KZ.js} +2 -2
- package/dist/cdn/{2VSEVBOR.js → OPXOETVT.js} +2 -2
- package/dist/cdn/{YPGREVLZ.js → OZ6M364D.js} +2 -2
- package/dist/cdn/{SB4ZC3JW.js → OZKJYYCR.js} +2 -2
- package/dist/cdn/{WKHLZZPN.js → P36E2JPT.js} +2 -2
- package/dist/cdn/{KUTHMJDT.js → P67A3VUA.js} +2 -2
- package/dist/cdn/{MW7MHZMH.js → PB7TFXRL.js} +2 -2
- package/dist/cdn/{C2RXAGBV.js → PBLIXD2C.js} +2 -2
- package/dist/cdn/{SXAGR3UA.js → PDRAFFHM.js} +2 -2
- package/dist/cdn/PQJFSRIT.js +4 -0
- package/dist/cdn/{Z53Q3VQI.js → PRXXVENS.js} +2 -2
- package/dist/cdn/{QR26K56I.js → PV5FWCDN.js} +2 -2
- package/dist/cdn/{YZ5QJOE5.js → PZ47342P.js} +2 -2
- package/dist/cdn/{WOUQAUNE.js → Q6ZSMRXV.js} +2 -2
- package/dist/cdn/{ELHOGDMT.js → QAQ3E2J3.js} +2 -2
- package/dist/cdn/{2VACBQUA.js → QBKDVOYP.js} +2 -2
- package/dist/cdn/{WKJ6PWXE.js → QCCD2LM7.js} +2 -2
- package/dist/cdn/{I3NN32UX.js → QEPVBOOE.js} +2 -2
- package/dist/cdn/{DMXBTGTR.js → QGXQOAKT.js} +2 -2
- package/dist/cdn/{EQUHXR5P.js → QJEH5XOI.js} +2 -2
- package/dist/cdn/{J5IUA5V5.js → QRNWBX73.js} +3 -3
- package/dist/cdn/{GUZ2KJZA.js → QTCRHJ26.js} +2 -2
- package/dist/cdn/{X72HHRHL.js → QULEP6QF.js} +2 -2
- package/dist/cdn/{ACN2E32T.js → QZFMHKXR.js} +2 -2
- package/dist/cdn/{2D5FAKFG.js → RAE6544M.js} +2 -2
- package/dist/cdn/{LS435CTD.js → RFLJORXE.js} +2 -2
- package/dist/cdn/{HQ6QZ2XG.js → RSEKIBA5.js} +2 -2
- package/dist/cdn/{FUIYJYWP.js → RT5J7AVA.js} +2 -2
- package/dist/cdn/{TDRDEFY7.js → RVUKKCQ5.js} +2 -2
- package/dist/cdn/{5EL6U7Z3.js → SASYKHLG.js} +2 -2
- package/dist/cdn/{7WOZDSF2.js → SB2HFPIW.js} +2 -2
- package/dist/cdn/{ZIUIQWLK.js → SE5HOGZZ.js} +2 -2
- package/dist/cdn/{EBCUVOCG.js → SEVBIYWO.js} +2 -2
- package/dist/cdn/{Z4HLREGX.js → SGC2SEEM.js} +2 -2
- package/dist/cdn/{COINWJQD.js → SJAXE5EO.js} +2 -2
- package/dist/cdn/{4P7ADVD2.js → SZXAREGY.js} +2 -2
- package/dist/cdn/{DYI6CGXT.js → T274BL2P.js} +2 -2
- package/dist/cdn/{J6FCQ64V.js → T2JMM7SD.js} +2 -2
- package/dist/cdn/{XRC5RUQW.js → T4332JLO.js} +2 -2
- package/dist/cdn/{YR4K7CEM.js → T47P5F2U.js} +2 -2
- package/dist/cdn/{V3LLQVPK.js → T6FFTSYS.js} +2 -2
- package/dist/cdn/{YGBKCSVR.js → TILDF2IQ.js} +2 -2
- package/dist/cdn/{GTZN3PED.js → TNJ4E46T.js} +2 -2
- package/dist/cdn/{3MDEKFPG.js → TQYH77D3.js} +2 -2
- package/dist/cdn/U3Y2TAQK.js +4 -0
- package/dist/cdn/{F42WPEWA.js → UA3VD3FU.js} +2 -2
- package/dist/cdn/{UMV6JWSL.js → UAVJ57G4.js} +2 -2
- package/dist/cdn/{ZTUUOPWD.js → UMXPXELL.js} +2 -2
- package/dist/cdn/{WFF6QY62.js → UWV32QMG.js} +2 -2
- package/dist/cdn/{6U47R3RA.js → VGDXVARE.js} +2 -2
- package/dist/cdn/{TUSKYXPI.js → VM7CEYYR.js} +2 -2
- package/dist/cdn/{6J3HY5MA.js → VO765B3C.js} +2 -2
- package/dist/cdn/{OHHKQCFO.js → WGLSF6RP.js} +2 -2
- package/dist/cdn/{NUMXL7HP.js → WHSBOFFX.js} +2 -2
- package/dist/cdn/WJ6COA54.js +4 -0
- package/dist/cdn/{IONH43MW.js → WK7YR3NB.js} +2 -2
- package/dist/cdn/{JAFHOAEE.js → XRHNPELK.js} +2 -2
- package/dist/cdn/{X3AE54EA.js → XSLDRJZS.js} +1 -1
- package/dist/cdn/{AFADCPW6.js → XU523TMP.js} +2 -2
- package/dist/cdn/{YQT5NGX2.js → YIN7ARHE.js} +2 -2
- package/dist/cdn/{HN47L7BJ.js → YM3KNT3I.js} +2 -2
- package/dist/cdn/{R6IDVUI6.js → YQOGJGMJ.js} +2 -2
- package/dist/cdn/{6UXPI3RP.js → YXHDJVQY.js} +2 -2
- package/dist/cdn/{TS5UFMJF.js → YXKZ5KSO.js} +2 -2
- package/dist/cdn/{IJ6XX223.js → ZPIWJ5QC.js} +2 -2
- package/dist/cdn/{5V4RS6GM.js → ZVTZUKHM.js} +2 -2
- package/dist/cdn/{EUTFDQAO.js → ZYFZMYSC.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/axes/index.d.ts +1 -0
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +1 -0
- package/dist/chart-rendering/common/config-utils/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/box-plot/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/histogram/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/scatter-plot/trendline/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/utils/query-parser/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +1 -0
- package/dist/chart-rendering/common/interfaces.d.ts +11 -2
- package/dist/chart-rendering/common/label/index.d.ts +1 -0
- package/dist/chart-rendering/common/selection/index.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-renderer/index.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +1 -0
- package/dist/chart-rendering/next/selection/apply/index.d.ts +1 -0
- package/dist/chart-rendering/next/selection/index.d.ts +1 -0
- package/dist/chart-rendering/next/utils/memory-storage/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/axes/gauge/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/guides-and-ticks/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/legends/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/legends/pie-chart/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/scrollbar/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/series/box-plot/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/series/line-chart/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/series/utils/index.d.ts +1 -0
- package/dist/chart-rendering/stable/index.d.ts +1 -0
- package/dist/chart-rendering/stable/selection/apply/index.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/memory-storage/index.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +46 -67
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -22
- package/dist/chunks/bar-chart-series.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +10 -10
- package/dist/chunks/box-plot-model.js +81 -102
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +72 -93
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +23 -44
- package/dist/chunks/data-labels-visibility.js +2 -2
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +23 -23
- package/dist/chunks/generate-x-axis-title.js +2 -2
- package/dist/chunks/heat-chart-model.js +152 -173
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +81 -102
- package/dist/chunks/index.js +12 -12
- package/dist/chunks/index2.js +7 -7
- package/dist/chunks/index3.js +15 -16
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +35 -56
- package/dist/chunks/model-setter.js +19 -19
- package/dist/chunks/model-with-multi-axes.js +12 -12
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +38 -38
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +2 -2
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +16 -16
- package/dist/chunks/serial-chart-data.js +28 -28
- package/dist/chunks/serial-chart-model.js +81 -101
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +2 -2
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-axis-labels-visibility.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +9 -3
- package/dist/components/arcgis-chart/customElement.js +28 -28
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -2
- package/dist/components/arcgis-charts-action-bar/customElement.js +23 -43
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/resource.d.ts +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-guide/resource.d.ts +1 -1
- 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 +2 -2
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +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 +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +2 -2
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/interfaces.d.ts +2 -1
- package/dist/loader.js +1 -1
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +5 -2
- package/dist/model/chart-model/chart-model-base.d.ts +3 -1
- package/dist/model/chart-model/utils/types.d.ts +1 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +5 -2
- package/dist/model/gauge-model/gauge-model.d.ts +5 -2
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +4 -2
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +1 -1
- package/dist/model/histogram-model/histogram-model.d.ts +5 -2
- package/dist/model/index.d.ts +17 -0
- package/dist/model/interfaces/chart-interfaces.d.ts +3 -2
- package/dist/model/interfaces/common.d.ts +4 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +2 -2
- package/dist/model/mixins/model-with-guides.d.ts +2 -1
- package/dist/model/mixins/model-with-legend.d.ts +2 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +3 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +4 -2
- package/dist/model/mixins/model-with-temporal-binning.d.ts +1 -1
- package/dist/model/mixins/model-with-y-guides.d.ts +1 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +5 -2
- package/dist/model/properties/axes/axis-labels-symbol.d.ts +2 -2
- package/dist/model/properties/axes/axis-lines-symbol.d.ts +2 -2
- package/dist/model/properties/axes/x-axis/x-axis-title-symbol.d.ts +1 -1
- package/dist/model/properties/background-color.d.ts +1 -1
- package/dist/model/properties/chart-renderer.d.ts +2 -2
- package/dist/model/properties/chart-sub-type.d.ts +2 -1
- package/dist/model/properties/config.d.ts +1 -1
- package/dist/model/properties/data-filters.d.ts +2 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +2 -2
- package/dist/model/properties/data-tooltip-value-format.d.ts +1 -1
- package/dist/model/properties/series/series-visibility.d.ts +1 -1
- package/dist/model/properties/subtitle/subtitle-symbol.d.ts +1 -1
- package/dist/model/properties/title/title-symbol.d.ts +1 -1
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +2 -2
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +4 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -2
- package/dist/model/shared/setup-utils.d.ts +47 -49
- package/dist/model/shared/type-guards.d.ts +9 -2
- package/dist/model.js +1 -1
- package/dist/spec/index.d.ts +7 -0
- package/dist/utils/chart-config/converter/index.d.ts +3 -1
- package/dist/utils/chart-config/utils/index.d.ts +6 -1
- package/dist/utils/chart-config/utils/interfaces.d.ts +2 -1
- package/dist/utils/chart-config/validator/index.d.ts +2 -1
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -2
- package/dist/utils/components/chart-ui-utils.d.ts +1 -1
- package/dist/utils/components/event-payloads.d.ts +6 -3
- package/dist/utils/components/interfaces.d.ts +2 -2
- package/dist/utils/components/themes.d.ts +1 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +2 -1
- package/dist/utils/data/interfaces.d.ts +2 -1
- package/dist/utils/data/time-binning/interfaces.d.ts +2 -1
- package/dist/utils/defaults/index.d.ts +3 -1
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- package/dist/utils/index.d.ts +48 -16
- package/dist/utils/layer/index.d.ts +3 -1
- package/dist/utils/layer/inline-conversion/index.d.ts +4 -1
- package/dist/utils/layer/interfaces.d.ts +3 -1
- package/dist/utils/layer/query-features/index.d.ts +2 -1
- package/dist/utils/layer/query-parser/index.d.ts +3 -1
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/dist/utils/misc/index.d.ts +6 -1
- package/dist/utils/misc/interfaces.d.ts +4 -1
- package/dist/utils/type-guards/index.d.ts +7 -4
- package/dist/utils/type-guards/series-types.d.ts +3 -2
- package/dist/utils/types/index.d.ts +3 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +3 -3
- package/dist/cdn/6AW267VM.js +0 -4
- package/dist/cdn/6NCRIR2U.js +0 -4
- package/dist/cdn/7X7R65CV.js +0 -4
- package/dist/cdn/EAHMOJYI.js +0 -4
- package/dist/cdn/I5EZEOV7.js +0 -4
- package/dist/cdn/JIU7RYOV.js +0 -4
- package/dist/cdn/LFLRLWSS.js +0 -4
- package/dist/cdn/X34NVRFC.js +0 -4
- package/dist/cdn/X3O2A3IS.js +0 -4
|
@@ -2,7 +2,7 @@ import { w as s, W as t } from "./series-types.js";
|
|
|
2
2
|
import { M as i } from "./common.js";
|
|
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.122 */
|
|
6
6
|
function a(e) {
|
|
7
7
|
switch (e) {
|
|
8
8
|
case t.BarSeries:
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
|
|
|
2
2
|
import { g as t } from "./runtime.js";
|
|
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.122 */
|
|
6
6
|
const s = o(t);
|
|
7
7
|
export {
|
|
8
8
|
s as u
|
package/dist/chunks/utils.js
CHANGED
|
@@ -24,7 +24,7 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
24
24
|
import { s as J } from "./index4.js";
|
|
25
25
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
26
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
27
|
+
v5.0.0-next.122 */
|
|
28
28
|
function Ae(i, e, s) {
|
|
29
29
|
const t = i?.axes?.[e];
|
|
30
30
|
t?.title !== void 0 ? t.title.content.text = s : t !== void 0 && (t.title = M({
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
2
|
import "lodash-es";
|
|
3
|
-
import "./series-types.js";
|
|
4
3
|
import "d3-array";
|
|
4
|
+
import "./series-types.js";
|
|
5
5
|
import { aH as x, aF as a, bA as l } from "./index.js";
|
|
6
6
|
import "@arcgis/core/Graphic.js";
|
|
7
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -23,7 +23,7 @@ import "./runtime.js";
|
|
|
23
23
|
import "@arcgis/toolkit/dom";
|
|
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.122 */
|
|
27
27
|
const q = (i, e) => e.axes?.[i]?.labels?.visible ?? !0, w = (i, e, s) => {
|
|
28
28
|
const t = s.axes?.[e];
|
|
29
29
|
t?.labels !== void 0 ? t.labels.visible = i : t !== void 0 && t?.labels === void 0 && (t.labels = x({
|
|
@@ -10,7 +10,7 @@ import { g as se, a as ne, b as re } from "./pie-chart-data.js";
|
|
|
10
10
|
import { b as le, g as q } from "./data.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
13
|
+
v5.0.0-next.122 */
|
|
14
14
|
const ve = [
|
|
15
15
|
P.BarSeries,
|
|
16
16
|
P.BoxPlotSeries,
|
|
@@ -3,7 +3,7 @@ import { k as x, s as d, a as c } from "./utils.js";
|
|
|
3
3
|
import { e as p, f as _ } from "./utils2.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.122 */
|
|
7
7
|
var g = Object.defineProperty, b = Object.getOwnPropertyDescriptor, m = (s, i, t, f) => {
|
|
8
8
|
for (var e = b(i, t), n = s.length - 1, a; n >= 0; n--)
|
|
9
9
|
(a = s[n]) && (e = a(i, t, e) || e);
|
|
@@ -6,11 +6,17 @@ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/
|
|
|
6
6
|
import { PropertyValues } from 'lit';
|
|
7
7
|
import { AxisLabelFormatCallback, ChartOptions, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, NotifyOptions, PieChartLegendValueLabelFormatCallback, PreRenderCallback } from '../../chart-rendering/common/interfaces';
|
|
8
8
|
import { CSVOptions, SupportedLayer } from '../../interfaces';
|
|
9
|
-
import { ChartModel } from '../../model';
|
|
10
|
-
import { WebChart, WebChartDataFilters, WebChartDataTypes, WebChartLegendPositions } from '../../spec';
|
|
11
|
-
import { ActionModes, ChartElementLimit, CursorRange, DataWarningObject, LoaderColors, SelectionData, SelectionTheme, ValidationStatus, ErrorPolicy, LayerFieldsChangePolicy, LayerFilterChangePolicy, LayerRendererChangePolicy, SyncSelectionsBetweenChartAndLayerViewPolicy, ViewTimeExtentChangePolicy } from '../../utils';
|
|
12
9
|
import { AxesMinMaxChangePayload, DataProcessCompletePayload, LegendItemVisibilityChangePayload, NoRenderPropChangePayload, SelectionCompletePayload, SeriesColorChangePayload } from '../../utils/components/event-payloads';
|
|
13
10
|
import { MissingSplitBySeriesProps, DownloadableChartImagesTypes } from '../../utils/components/interfaces';
|
|
11
|
+
import { ChartModel } from '../../model/chart-model/chart-model';
|
|
12
|
+
import { WebChartLegendPositions } from '../../spec/chart-object-literals';
|
|
13
|
+
import { WebChart, WebChartDataFilters } from '../../spec/web-chart';
|
|
14
|
+
import { WebChartDataTypes } from '../../spec/data-source';
|
|
15
|
+
import { LoaderColors, SelectionData, SelectionTheme } from '../../utils/misc/interfaces';
|
|
16
|
+
import { ErrorPolicy, LayerFieldsChangePolicy, LayerFilterChangePolicy, LayerRendererChangePolicy, SyncSelectionsBetweenChartAndLayerViewPolicy, ViewTimeExtentChangePolicy } from '../../utils/types/index';
|
|
17
|
+
import { ActionModes, CursorRange } from '../../utils/cursor/interfaces';
|
|
18
|
+
import { ChartElementLimit } from '../../utils/defaults/interfaces';
|
|
19
|
+
import { DataWarningObject, ValidationStatus } from '../../utils/chart-config/validator/interfaces';
|
|
14
20
|
|
|
15
21
|
/**
|
|
16
22
|
* The Chart component renders a chart based on the provided model. Get started by reading the [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) page.
|
|
@@ -50,15 +50,15 @@ import { Scrollbar as bl } from "@amcharts/amcharts4/.internal/core/elements/Scr
|
|
|
50
50
|
import { u as yl } from "../../chunks/useT9n.js";
|
|
51
51
|
import { g as Ch } from "../../chunks/interfaces.js";
|
|
52
52
|
import { i as yo, a as xh, b as vh } from "../../chunks/type-guards.js";
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
53
|
+
import { u as Lh, o as Fh } from "../../chunks/action-bar-utils.js";
|
|
54
|
+
import { o as Sl } from "../../chunks/chart-ui-utils2.js";
|
|
55
|
+
import { ac as Cl, ad as xl, ae as Ah, af as Th, ag as kh, ah as Ih } from "../../chunks/serial-chart-data.js";
|
|
56
|
+
import { g as wh, t as vl, b as Ll, D as $h, m as Dh } from "../../chunks/web-component-utils.js";
|
|
57
|
+
import { L as ys, b as Ss, c as Cs, S as qo, V as jo, A as Fl, E as Wo } from "../../chunks/index5.js";
|
|
58
|
+
import { createModel as Oh } from "../../model.js";
|
|
59
59
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
60
60
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
61
|
-
v5.0.0-next.
|
|
61
|
+
v5.0.0-next.122 */
|
|
62
62
|
var Eo = { exports: {} }, ns, Al;
|
|
63
63
|
function Rh() {
|
|
64
64
|
if (Al) return ns;
|
|
@@ -18804,7 +18804,7 @@ function $d(t) {
|
|
|
18804
18804
|
const MA = ({ message: t, heading: e, options: i }) => Uo`<calcite-alert .icon=${i?.icon ?? "exclamationMarkTriangle"} .open=${i?.active === !0} .autoClose=${i?.autoClose ?? !1} .autoCloseDuration=${i?.duration ?? "medium"} scale=m .kind=${i?.kind ?? "danger"} .ariaHidden=${i?.active !== !0} dir=ltr role=alertdialog label="arcgis charts notify panel">${e !== void 0 ? Uo`<div slot=title>${e}</div>` : null}${t !== void 0 ? Uo`<div slot=message>${t}</div>` : null}</calcite-alert>`, NA = Hm`.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)}.chart{flex-grow:1;overflow-y:hidden}.chart>div{justify-content:center;align-items:center}.chart .arcgis-charts-modal-inside{padding:1em 1em 1em 0}.chart .arcgis-charts-modal-inside ol{padding-left:2em}.chart .arcgis-charts-modal-curtain{width:100%;height:100%;position:absolute;top:0;left:0;z-index:2001;background-color:#fff;opacity:.5;opacity:1}.chart .arcgis-charts-modal-content{background:#fffc;color:#000;display:inline-block;top:0;left:0;overflow:visible;z-index:2002;position:absolute;max-width:90%;max-height:90%;width:auto!important;height:auto!important;margin:auto!important;inset:auto!important}.chart .arcgis-charts-modal-header{display:block;width:100%;min-height:1.8em;background:#0000000d}.chart .arcgis-charts-modal-close{display:block;position:absolute;top:.3em;right:.3em;background:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmVyc2lvbj0iMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0NS4yIDEwOS4ybC00Mi40LTQyLjRMMjU2IDIxMy42IDEwOS4yIDY2LjhsLTQyLjQgNDIuNEwyMTMuNiAyNTYgNjYuOCA0MDIuOGw0Mi40IDQyLjRMMjU2IDI5OC40bDE0Ni44IDE0Ni44IDQyLjQtNDIuNEwyOTguNCAyNTYiLz48L3N2Zz4=) center center/80% no-repeat #6464641a;width:1.2em;height:1.2em;cursor:pointer}.chart .arcgis-charts-modal-title{font-weight:700;font-size:110%;padding:.5em 1.2em .5em 1em}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row}`;
|
|
18805
18805
|
class PA extends Mm {
|
|
18806
18806
|
constructor() {
|
|
18807
|
-
super(), this._messages = yl(), this.chartRef = zm(), this.guid =
|
|
18807
|
+
super(), this._messages = yl(), this.chartRef = zm(), this.guid = wh(), this.commonStrings = yl({ name: "common", blocking: !0 }), this.dataUpdateNeededProps = [
|
|
18808
18808
|
"forceDataUpdate",
|
|
18809
18809
|
"runtimeDataFilters",
|
|
18810
18810
|
"returnFeaturesExtent",
|
|
@@ -18818,7 +18818,7 @@ class PA extends Mm {
|
|
|
18818
18818
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
|
|
18819
18819
|
}, this.configPanelNumberChange = (e) => {
|
|
18820
18820
|
const i = e, { panelNumber: a, modelList: o } = i.detail;
|
|
18821
|
-
this.actionBarElement && this.enableConfiguration && this.ourModelExistsIn(o) && (this.actionBarElement.editChartToggle = a === 1 ?
|
|
18821
|
+
this.actionBarElement && this.enableConfiguration && this.ourModelExistsIn(o) && (this.actionBarElement.editChartToggle = a === 1 ? Fl.Active : Fl.Inactive);
|
|
18822
18822
|
}, this.configDataChangeError = (e) => {
|
|
18823
18823
|
const i = e, { error: a, model: o } = i.detail;
|
|
18824
18824
|
this.enableConfiguration && o?.isSameChartAs(this._model) && this.errorAlert(a.message);
|
|
@@ -18918,12 +18918,12 @@ class PA extends Mm {
|
|
|
18918
18918
|
const l = new Em();
|
|
18919
18919
|
Object.entries(this.chartData).forEach(([c, u]) => {
|
|
18920
18920
|
if (Array.isArray(u) && u.length > 0) {
|
|
18921
|
-
const m =
|
|
18921
|
+
const m = vl({
|
|
18922
18922
|
rawData: u,
|
|
18923
18923
|
config: this._model?.config ?? this.config,
|
|
18924
18924
|
layer: o,
|
|
18925
18925
|
fieldList: n
|
|
18926
|
-
}), g =
|
|
18926
|
+
}), g = Ll(m, e), h = `${s}-${c}.csv`;
|
|
18927
18927
|
l.file(h, g);
|
|
18928
18928
|
}
|
|
18929
18929
|
});
|
|
@@ -18932,19 +18932,19 @@ class PA extends Mm {
|
|
|
18932
18932
|
} else {
|
|
18933
18933
|
let l;
|
|
18934
18934
|
if ("bins" in this.chartData ? l = this.chartData.bins : "dataItems" in this.chartData && (l = this.chartData.dataItems), l) {
|
|
18935
|
-
const d =
|
|
18935
|
+
const d = vl({
|
|
18936
18936
|
rawData: l,
|
|
18937
18937
|
config: this._model?.config ?? this.config,
|
|
18938
18938
|
layer: o,
|
|
18939
18939
|
fieldList: n
|
|
18940
|
-
}), c =
|
|
18940
|
+
}), c = Ll(d, e);
|
|
18941
18941
|
i = URL.createObjectURL(new Blob([c], { type: "text/csv;charset=utf-8;" })), a = `${s}.csv`;
|
|
18942
18942
|
}
|
|
18943
18943
|
}
|
|
18944
|
-
i !== void 0 && a !== void 0 &&
|
|
18944
|
+
i !== void 0 && a !== void 0 && Sl(i, a);
|
|
18945
18945
|
}
|
|
18946
18946
|
}
|
|
18947
|
-
async exportAsImage(e =
|
|
18947
|
+
async exportAsImage(e = $h.PNG) {
|
|
18948
18948
|
const i = this.chartRef.value;
|
|
18949
18949
|
i ? (await Wm(i, {
|
|
18950
18950
|
useCORS: !0,
|
|
@@ -18952,7 +18952,7 @@ class PA extends Mm {
|
|
|
18952
18952
|
})).toBlob((o) => {
|
|
18953
18953
|
if (o) {
|
|
18954
18954
|
const n = URL.createObjectURL(o), s = `${this.model.titleText ?? this.commonStrings.utilsStrings.chartType.chart}.${e}`;
|
|
18955
|
-
|
|
18955
|
+
Sl(n, s);
|
|
18956
18956
|
}
|
|
18957
18957
|
}, e) : this.errorAlert(this.commonStrings?.errorStrings.errors.exportImageChartNotReady);
|
|
18958
18958
|
}
|
|
@@ -19008,7 +19008,7 @@ class PA extends Mm {
|
|
|
19008
19008
|
fieldList: a
|
|
19009
19009
|
}), l = this.gatherComponentOptions(s);
|
|
19010
19010
|
const d = this.updateSplitBySeries?.addMissingSeries === !0 && (s || e.includes("layer") || e.includes("filterByExtent"));
|
|
19011
|
-
let { alteredConfig: c, preFetchedQueryResponse: u } = await
|
|
19011
|
+
let { alteredConfig: c, preFetchedQueryResponse: u } = await Cl({
|
|
19012
19012
|
configToAlter: this.config,
|
|
19013
19013
|
updateSplitBySeries: this.updateSplitBySeries,
|
|
19014
19014
|
addMissingSeries: d,
|
|
@@ -19058,7 +19058,7 @@ class PA extends Mm {
|
|
|
19058
19058
|
});
|
|
19059
19059
|
}
|
|
19060
19060
|
}
|
|
19061
|
-
},
|
|
19061
|
+
}, Dh);
|
|
19062
19062
|
}
|
|
19063
19063
|
willUpdate(e) {
|
|
19064
19064
|
e.has("model") && this.modelChange(), e.has("selectionData") && this.selectionDataChange(), e.has("layer") && this.layerChange(), e.has("layerItemId") && this.layerItemIdChange(), (e.has("chartIndex") || e.has("layerItemId")) && this.createModelFromLayer(), e.has("timeZone") && this.timeZoneChange(), e.has("filterBySelection") && this.filterBySelectionChanged(), e.has("layerFilterChangePolicy") && this.layerFilterChangePolicyCallBack(this.layerFilterChangePolicy), e.has("viewTimeExtentChangePolicy") && this.viewTimeExtentChangePolicyCallback(this.viewTimeExtentChangePolicy), e.has("layerRendererChangePolicy") && this.layerRendererChangePolicyCallBack(this.layerRendererChangePolicy), e.has("layerFieldsChangePolicy") && this.layerFieldsChangePolicyCallBack(this.layerFieldsChangePolicy), Array.from(e.keys(), (i) => {
|
|
@@ -19075,12 +19075,12 @@ class PA extends Mm {
|
|
|
19075
19075
|
async updatedAsync() {
|
|
19076
19076
|
if (this.dataFetching && (await this.dataFetching, this.dataFetching = void 0), this.chart === void 0 && this.chartCreationProcessing !== void 0 && (await this.chartCreationProcessing, this.chartCreationProcessing = void 0), this.config !== void 0 && this.chart !== void 0 && !this.showNotifyPanel)
|
|
19077
19077
|
try {
|
|
19078
|
-
(!this.config && !this.layer ||
|
|
19078
|
+
(!this.config && !this.layer || xl(this.config, this.layer) && !va(this.config)) && await this.updateQueue?.push();
|
|
19079
19079
|
} catch (e) {
|
|
19080
19080
|
this.chartRef.value !== void 0 && (e instanceof gi && e.name === no.ChartDisposed ? (this.chart?.dispose(), this.chart = void 0, this.chartRef.value.innerHTML = "", await this.createChartInstance(!1)) : (e instanceof gi && e.name === no.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof gi && this.arcgisRuntimeError.emit(e.details ?? e), this.errorAlert(String(e))));
|
|
19081
19081
|
}
|
|
19082
19082
|
else this.chart === void 0 && this.chartCreationProcessing === void 0 && !this.showNotifyPanel && await this.createChartInstance();
|
|
19083
|
-
this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && va(this.config) && this.applyPlaceholderForPartialConfig(this.config), this.actionBarElement !== void 0 &&
|
|
19083
|
+
this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && va(this.config) && this.applyPlaceholderForPartialConfig(this.config), this.actionBarElement !== void 0 && Lh({
|
|
19084
19084
|
actionBar: this.actionBarElement,
|
|
19085
19085
|
chartComponent: this.el,
|
|
19086
19086
|
config: this.config,
|
|
@@ -19212,19 +19212,19 @@ class PA extends Mm {
|
|
|
19212
19212
|
e ? this.chartRef.value?.classList.add(Mi.DisableInteractions) : this.chartRef.value?.classList.remove(Mi.DisableInteractions);
|
|
19213
19213
|
}
|
|
19214
19214
|
rotationChange(e) {
|
|
19215
|
-
e !== void 0 && (this.config =
|
|
19215
|
+
e !== void 0 && (this.config = Ah(e, this.config));
|
|
19216
19216
|
}
|
|
19217
19217
|
legendPositionChange(e) {
|
|
19218
|
-
e !== void 0 && (this.config =
|
|
19218
|
+
e !== void 0 && (this.config = Th(e, this.config));
|
|
19219
19219
|
}
|
|
19220
19220
|
legendVisibilityChange(e) {
|
|
19221
|
-
e !== void 0 && (this.config =
|
|
19221
|
+
e !== void 0 && (this.config = kh(e, this.config));
|
|
19222
19222
|
}
|
|
19223
19223
|
timeZoneChange() {
|
|
19224
19224
|
this.updateConfigTimeZone();
|
|
19225
19225
|
}
|
|
19226
19226
|
filterBySelectionChanged() {
|
|
19227
|
-
this.config =
|
|
19227
|
+
this.config = Ih(this.config);
|
|
19228
19228
|
}
|
|
19229
19229
|
layerFilterChangePolicyCallBack(e) {
|
|
19230
19230
|
e !== ys.Ignore ? this.setLayerFilterWatchHandler() : this.removeLayerFilterWatchHandler();
|
|
@@ -19310,7 +19310,7 @@ class PA extends Mm {
|
|
|
19310
19310
|
await e.load();
|
|
19311
19311
|
const i = this.chartIndex ?? 0, a = e?.charts?.[i];
|
|
19312
19312
|
if (a)
|
|
19313
|
-
this.model = await
|
|
19313
|
+
this.model = await Oh({
|
|
19314
19314
|
layer: e,
|
|
19315
19315
|
config: a
|
|
19316
19316
|
});
|
|
@@ -19414,7 +19414,7 @@ class PA extends Mm {
|
|
|
19414
19414
|
view: this.view,
|
|
19415
19415
|
filterByExtent: this.filterByExtent
|
|
19416
19416
|
}) : void 0;
|
|
19417
|
-
let a = this.gatherComponentOptions(), { alteredConfig: o, preFetchedQueryResponse: n } = await
|
|
19417
|
+
let a = this.gatherComponentOptions(), { alteredConfig: o, preFetchedQueryResponse: n } = await Cl({
|
|
19418
19418
|
configToAlter: this.config,
|
|
19419
19419
|
updateSplitBySeries: this.updateSplitBySeries,
|
|
19420
19420
|
addMissingSeries: this.updateSplitBySeries?.addMissingSeries === !0,
|
|
@@ -19423,7 +19423,7 @@ class PA extends Mm {
|
|
|
19423
19423
|
options: a,
|
|
19424
19424
|
layer: this.layer
|
|
19425
19425
|
});
|
|
19426
|
-
if (!o && !this.layer ||
|
|
19426
|
+
if (!o && !this.layer || xl(o, this.layer)) {
|
|
19427
19427
|
const s = await gs({
|
|
19428
19428
|
input: o,
|
|
19429
19429
|
queryObject: i,
|
|
@@ -19468,7 +19468,7 @@ class PA extends Mm {
|
|
|
19468
19468
|
render() {
|
|
19469
19469
|
const e = this.showNotifyPanel ? MA({ heading: this.notifyHeading, message: this.notifyMessage, options: this.notifyOptions }) : null, i = this.showNotifyPanel && this.notifyOptions?.kind === "danger" ? Mi.Hide : `${Mi.Chart} ${Mi.Show}`, a = this.showNotifyPanel ? `${Mi.Show} ${Mi.NotifyPanel}` : Mi.Hide;
|
|
19470
19470
|
return Uo`<slot name=${Ch.actionBar} @slotchange=${(o) => {
|
|
19471
|
-
this.actionBarElement =
|
|
19471
|
+
this.actionBarElement = Fh(o, this.el, this.config);
|
|
19472
19472
|
}} ${sl(this.actionBarSlotRef)}></slot><div class=${nl(i)} ${sl(this.chartRef)}></div><div class=${nl(a)}>${e}</div>`;
|
|
19473
19473
|
}
|
|
19474
19474
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { ChartTypes, ActionModes, ActionState, ActionToggle, DefaultChartActions } from '../../utils';
|
|
3
2
|
import { DefaultActionSelectPayload } from '../../utils/components/event-payloads';
|
|
4
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
-
import { WebChartTypes } from '../../spec';
|
|
6
4
|
import { ArcgisChart } from '../arcgis-chart/customElement.js';
|
|
5
|
+
import { ChartTypes } from '../../utils/misc/index';
|
|
6
|
+
import { ActionState, ActionToggle, DefaultChartActions } from '../../utils/types/index';
|
|
7
|
+
import { ActionModes } from '../../utils/cursor/interfaces';
|
|
8
|
+
import { WebChartTypes } from '../../spec/chart-object-literals';
|
|
7
9
|
|
|
8
10
|
/**
|
|
9
11
|
* The Charts Action Bar component provides context-specific actions such as rotation, zooming, and filtering, as well as general actions like exporting the chart as an image or CSV file.
|
|
@@ -1,39 +1,19 @@
|
|
|
1
1
|
import { c as O } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as z, html as c } from "lit";
|
|
3
|
-
import "
|
|
4
|
-
import "lodash-es";
|
|
5
|
-
import { W as E } from "../../chunks/series-types.js";
|
|
6
|
-
import "d3-array";
|
|
7
|
-
import { a2 as $ } from "../../chunks/index.js";
|
|
8
|
-
import "@arcgis/core/Graphic.js";
|
|
9
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
-
import "@arcgis/core/intl.js";
|
|
12
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
14
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
15
|
-
import "simple-statistics";
|
|
16
|
-
import "@arcgis/core/request.js";
|
|
17
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
18
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
19
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
20
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
21
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
22
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
23
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
24
|
-
import "@arcgis/toolkit/dom";
|
|
25
|
-
import { A as t, a as o, D as e } from "../../chunks/index5.js";
|
|
26
|
-
import { g as b } from "../../chunks/interfaces.js";
|
|
3
|
+
import { g as E } from "../../chunks/interfaces.js";
|
|
27
4
|
import { g as _ } from "../../chunks/action-bar-utils.js";
|
|
28
|
-
import { u as
|
|
29
|
-
import { createRef as
|
|
30
|
-
import { LitElement as V, renderElement as
|
|
5
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
6
|
+
import { createRef as b, ref as C } from "lit/directives/ref.js";
|
|
7
|
+
import { LitElement as V, renderElement as y, safeStyleMap as B, createEvent as D, safeClassMap as F, nothing as s } from "@arcgis/lumina";
|
|
31
8
|
import { d as n } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
-
import { i as h, r as
|
|
9
|
+
import { i as h, r as k } from "../../chunks/type-guards.js";
|
|
10
|
+
import { W as I } from "../../chunks/series-types.js";
|
|
33
11
|
import { i as L } from "../../chunks/rotated-state.js";
|
|
12
|
+
import { A as t, a as o, D as e } from "../../chunks/index5.js";
|
|
13
|
+
import { a2 as M } from "../../chunks/index.js";
|
|
34
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
15
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
16
|
+
v5.0.0-next.122 */
|
|
37
17
|
function N(d) {
|
|
38
18
|
return d?.tagName.toLowerCase() === "arcgis-chart";
|
|
39
19
|
}
|
|
@@ -42,18 +22,18 @@ const R = {
|
|
|
42
22
|
}, W = z`.action-bar{display:flex;flex-direction:column;height:100%;border-right:1px solid var(--calcite-color-border-2);width:fit-content}:host{z-index:1001}`;
|
|
43
23
|
class Z extends V {
|
|
44
24
|
constructor() {
|
|
45
|
-
super(...arguments), this.calciteActionBar =
|
|
25
|
+
super(...arguments), this.calciteActionBar = b(), this.exportCalciteActionBar = b(), this.expandAction = null, this._messages = $(), this.commonStrings = $({ name: "common", blocking: !0 }), this.handleMouseOver = (l) => {
|
|
46
26
|
if (this.calciteActionBar.value && !this.calciteActionBar.value?.expanded) {
|
|
47
27
|
const a = l.target;
|
|
48
28
|
this.actionTooltip !== void 0 && (this.actionTooltip = n(this.actionTooltip));
|
|
49
29
|
let i;
|
|
50
|
-
a?.tagName === "CALCITE-ACTION" ? i = a : (a?.tagName === "CALCITE-ACTION-MENU" || a?.tagName === "DIV") && (i = a.firstChild), i !== void 0 && (this.actionTooltip =
|
|
30
|
+
a?.tagName === "CALCITE-ACTION" ? i = a : (a?.tagName === "CALCITE-ACTION-MENU" || a?.tagName === "DIV") && (i = a.firstChild), i !== void 0 && (this.actionTooltip = y(c`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=trailing-end>${i.text}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
51
31
|
} else
|
|
52
32
|
this.actionTooltip = n(this.actionTooltip);
|
|
53
|
-
}, this.actionTooltip = null, this.forceDisableActions = !1, this.editChartToggle = t.Inactive, this.editChartState = o.Disabled, this.legendToggle = t.Inactive, this.legendState = o.Enabled, this.rotateChartToggle = t.Inactive, this.rotateChartState = o.Enabled, this.filterBySelectionToggle = t.Inactive, this.filterBySelectionState = o.Enabled, this.filterByExtentToggle = t.Inactive, this.filterByExtentState = o.Enabled, this.actionBarSelectionMode =
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
], this.exportActionState = o.Enabled, this.expanded = !1, this.hiddenActions = [e.EditChart], this.arcgisActionBarToggle =
|
|
33
|
+
}, this.actionTooltip = null, this.forceDisableActions = !1, this.editChartToggle = t.Inactive, this.editChartState = o.Disabled, this.legendToggle = t.Inactive, this.legendState = o.Enabled, this.rotateChartToggle = t.Inactive, this.rotateChartState = o.Enabled, this.filterBySelectionToggle = t.Inactive, this.filterBySelectionState = o.Enabled, this.filterByExtentToggle = t.Inactive, this.filterByExtentState = o.Enabled, this.actionBarSelectionMode = M.MultiSelectionWithCtrlKey, this.selectionToggle = t.Inactive, this.selectionState = o.Enabled, this.zoomToggle = t.Inactive, this.zoomState = o.Enabled, this.fullExtentToggle = t.Inactive, this.fullExtentState = o.Enabled, this.clearSelectionToggle = t.Inactive, this.clearSelectionState = o.Enabled, this.switchSelectionToggle = t.Inactive, this.switchSelectionState = o.Enabled, this.exportAsImageState = o.Enabled, this.exportAsCSVState = o.Enabled, this.disableCSVExportForChartTypes = [
|
|
34
|
+
I.ScatterSeries,
|
|
35
|
+
I.BoxPlotSeries
|
|
36
|
+
], this.exportActionState = o.Enabled, this.expanded = !1, this.hiddenActions = [e.EditChart], this.arcgisActionBarToggle = D(), this.arcgisDefaultActionSelect = D();
|
|
57
37
|
}
|
|
58
38
|
static {
|
|
59
39
|
this.properties = { actionTooltip: 16, messageOverrides: 0, chartType: 1, chartElement: 0, forceDisableActions: 5, editChartToggle: 1, editChartState: 1, editChartTitle: 1, legendToggle: 1, legendState: 1, legendTitle: 1, rotateChartToggle: 1, rotateChartState: 1, rotateChartTitle: 1, filterBySelectionToggle: 1, filterBySelectionState: 1, filterBySelectionTitle: 1, filterByExtentToggle: 1, filterByExtentState: 1, filterByExtentTitle: 1, actionBarSelectionMode: 1, selectionToggle: 1, selectionState: 1, selectionTitle: 1, zoomToggle: 1, zoomState: 1, zoomTitle: 1, fullExtentToggle: 1, fullExtentState: 1, fullExtentTitle: 1, clearSelectionToggle: 1, clearSelectionState: 1, clearSelectionTitle: 1, switchSelectionToggle: 1, switchSelectionState: 1, switchSelectionTitle: 1, exportAsImageState: 1, exportAsImageTitle: 1, exportAsCSVState: 1, exportAsCSVTitle: 1, disableCSVExportForChartTypes: 0, exportActionState: 1, expanded: 5, hiddenActions: 0 };
|
|
@@ -80,7 +60,7 @@ class Z extends V {
|
|
|
80
60
|
this.editChartToggle = this.editChartToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.editChartToggle === t.Active;
|
|
81
61
|
break;
|
|
82
62
|
case e.Legend:
|
|
83
|
-
this.legendToggle = this.legendToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.legendToggle === t.Active, h(this.chartElement?.model) &&
|
|
63
|
+
this.legendToggle = this.legendToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.legendToggle === t.Active, h(this.chartElement?.model) && k(this.chartElement?.model) && (this.chartElement.model.legendVisibility = i.actionActive), this.chartElement?.model && (h(this.chartElement.model) ? k(this.chartElement.model) && (this.chartElement.model.legendVisibility = i.actionActive) : this.chartElement.model.rotated = this.chartElement.model.rotated !== !0);
|
|
84
64
|
break;
|
|
85
65
|
case e.RotateChart:
|
|
86
66
|
this.rotateChartToggle = this.rotateChartToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.rotateChartToggle === t.Active, this.chartElement?.model && (h(this.chartElement.model) ? L(this.chartElement.model) && (this.chartElement.model.rotatedState = i.actionActive) : this.chartElement.model.rotated = this.chartElement.model.rotated !== !0);
|
|
@@ -95,7 +75,7 @@ class Z extends V {
|
|
|
95
75
|
this.selectionToggle = t.Active, this.zoomToggle = t.Inactive, i.actionActive = this.selectionToggle === t.Active, this.chartElement !== void 0 && (this.chartElement.actionMode = this.actionBarSelectionMode);
|
|
96
76
|
break;
|
|
97
77
|
case e.Zoom:
|
|
98
|
-
this.zoomToggle = t.Active, this.selectionToggle = t.Inactive, i.actionActive = this.zoomToggle === t.Active, this.chartElement !== void 0 && (this.chartElement.actionMode =
|
|
78
|
+
this.zoomToggle = t.Active, this.selectionToggle = t.Inactive, i.actionActive = this.zoomToggle === t.Active, this.chartElement !== void 0 && (this.chartElement.actionMode = M.Zoom);
|
|
99
79
|
break;
|
|
100
80
|
case e.ClearSelection:
|
|
101
81
|
i.actionActive = this.clearSelectionToggle === t.Active, this.chartElement?.clearSelection();
|
|
@@ -134,7 +114,7 @@ class Z extends V {
|
|
|
134
114
|
}
|
|
135
115
|
handleExpandTooltip() {
|
|
136
116
|
this.expandAction === null && (this.expandAction = this.calciteActionBar.value?.shadowRoot?.querySelector("calcite-action") ?? null, this.expandAction !== null && (this.listenOn(this.expandAction, "mouseenter", () => {
|
|
137
|
-
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip =
|
|
117
|
+
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip = y(c`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${this.expandAction} open placement=trailing-end>${this._messages.expand ?? ""}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
138
118
|
}), this.listenOn(this.expandAction, "mouseleave", () => {
|
|
139
119
|
!this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip = n(this.actionTooltip));
|
|
140
120
|
}), this.listenOn(this.expandAction, "click", () => {
|
|
@@ -142,16 +122,16 @@ class Z extends V {
|
|
|
142
122
|
})));
|
|
143
123
|
}
|
|
144
124
|
renderDefaultActions() {
|
|
145
|
-
const l = _(this.chartType).filter((w) => !this.hiddenActions?.includes(w)), a = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, i = l.includes(e.EditChart), r = l.includes(e.Legend), g = l.includes(e.RotateChart), m = l.includes(e.FilterBySelection),
|
|
125
|
+
const l = _(this.chartType).filter((w) => !this.hiddenActions?.includes(w)), a = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, i = l.includes(e.EditChart), r = l.includes(e.Legend), g = l.includes(e.RotateChart), m = l.includes(e.FilterBySelection), u = l.includes(e.FilterByExtent) && !a, A = l.includes(e.Zoom), v = l.includes(e.Selection), p = l.includes(e.ClearSelection), f = l.includes(e.FullExtent), T = l.includes(e.SwitchSelection), S = l.includes(e.ExportAsImage), x = l.includes(e.ExportAsCSV);
|
|
146
126
|
return [
|
|
147
127
|
r || g ? c`<calcite-action-group>${i ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.EditChart ?? s} icon=gear .text=${this.commonStrings?.utilsStrings.actions?.editChart ?? ""} .active=${this.editChartToggle === t.Active} .disabled=${this.editChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${r ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Legend ?? s} .text=${this.legendTitle ?? this._messages?.legend ?? ""} .active=${this.legendToggle === t.Active} .disabled=${this.legendState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}><calcite-icon icon=legend scale=s flip-rtl></calcite-icon></calcite-action></div>` : null}${g ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.RotateChart ?? s} icon=rotate .text=${this.rotateChartTitle ?? this._messages?.rotateChart ?? ""} .active=${this.rotateChartToggle === t.Active} .disabled=${this.rotateChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
148
|
-
m ||
|
|
149
|
-
|
|
150
|
-
S || x ? c`<calcite-action-menu .label=${this._messages?.export ?? ""} ${
|
|
128
|
+
m || u ? c`<calcite-action-group>${m ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterBySelection ?? s} icon=selection-filter .text=${this.filterBySelectionTitle ?? this._messages?.filterBySelection ?? ""} .active=${this.filterBySelectionToggle === t.Active} .disabled=${this.filterBySelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${u ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterByExtent ?? s} icon=extent-filter .text=${this.filterByExtentTitle ?? this._messages?.filterByExtent ?? ""} .active=${this.filterByExtentToggle === t.Active} .disabled=${this.filterByExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
129
|
+
v || A || f || p || T ? c`<calcite-action-group>${A ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Zoom ?? s} icon=magnifying-glass .text=${this.zoomTitle ?? this._messages?.zoom ?? ""} .active=${this.zoomToggle === t.Active} .disabled=${this.zoomState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${v ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Selection ?? s} icon=cursor-selection .text=${this.selectionTitle ?? this._messages?.selection ?? ""} .active=${this.selectionToggle === t.Active} .disabled=${this.selectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${p ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.ClearSelection ?? s} icon=erase .text=${this.clearSelectionTitle ?? this._messages?.clearSelection ?? ""} .active=${this.clearSelectionToggle === t.Active} .disabled=${this.clearSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${f ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FullExtent ?? s} icon=zoom-out-fixed .text=${this.fullExtentTitle ?? this._messages?.fullExtent ?? ""} .active=${this.fullExtentToggle === t.Active} .disabled=${this.fullExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${T ? c`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.SwitchSelection ?? s} icon=arrow-right-left .text=${this.switchSelectionTitle ?? this._messages?.switchSelection ?? ""} .active=${this.switchSelectionToggle === t.Active} .disabled=${this.switchSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
130
|
+
S || x ? c`<calcite-action-menu .label=${this._messages?.export ?? ""} ${C(this.exportCalciteActionBar)}><calcite-action id=export icon=export .text=${this._messages?.export ?? ""} .disabled=${this.exportActionState === o.Disabled || this.forceDisableActions} @mouseover=${this.handleMouseOver} slot=trigger></calcite-action>${S ? c`<div><calcite-action id=${e.ExportAsImage ?? s} icon=graph-bar .text=${this.exportAsImageTitle ?? this._messages?.exportAsImage ?? ""} .disabled=${this.exportAsImageState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}${x ? c`<div><calcite-action id=${e.ExportAsCSV ?? s} icon=table .text=${this.exportAsCSVTitle ?? this._messages?.exportAsTable ?? ""} .disabled=${this.exportAsCSVState === o.Disabled || this.forceDisableActions || this.chartType && this.disableCSVExportForChartTypes.includes(this.chartType)} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}</calcite-action-menu>` : null
|
|
151
131
|
];
|
|
152
132
|
}
|
|
153
133
|
render() {
|
|
154
|
-
return c`<calcite-action-bar class=${F(R.actionBar)} @calciteActionBarToggle=${this.handleCalciteActionBarToggle} @mouseout=${this.handleMouseOut} .expanded=${this.expanded} .messageOverrides=${{ expand: this._messages.expand, collapse: this._messages.collapse }} overflow-actions-disabled ${
|
|
134
|
+
return c`<calcite-action-bar class=${F(R.actionBar)} @calciteActionBarToggle=${this.handleCalciteActionBarToggle} @mouseout=${this.handleMouseOut} .expanded=${this.expanded} .messageOverrides=${{ expand: this._messages.expand, collapse: this._messages.collapse }} overflow-actions-disabled ${C(this.calciteActionBar)}><slot name=${E.customActionTop} @slotchange=${this.handleSlotChange}></slot>${this.renderDefaultActions()}<slot name=${E.customActionBelow} @slotchange=${this.handleSlotChange}></slot></calcite-action-bar>`;
|
|
155
135
|
}
|
|
156
136
|
}
|
|
157
137
|
O("arcgis-charts-action-bar", Z);
|
|
@@ -4,7 +4,7 @@ import { u as e } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as d } from "@arcgis/lumina";
|
|
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.122 */
|
|
8
8
|
const u = o`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width)}`;
|
|
9
9
|
class l extends d {
|
|
10
10
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { createRef as r, ref as h } from "lit/directives/ref.js";
|
|
|
10
10
|
import { LitElement as C, renderElement as I, safeClassMap as u } from "@arcgis/lumina";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
13
|
+
v5.0.0-next.122 */
|
|
14
14
|
const o = {
|
|
15
15
|
linkContainer: "link-container",
|
|
16
16
|
label: "label",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
|
-
import "../../chunks/series-types.js";
|
|
5
4
|
import "d3-array";
|
|
5
|
+
import "../../chunks/series-types.js";
|
|
6
6
|
import { bE as n, bG as c, bL as h } from "../../chunks/index.js";
|
|
7
7
|
import "@arcgis/core/Graphic.js";
|
|
8
8
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -27,7 +27,7 @@ import { css as p, html as a } from "lit";
|
|
|
27
27
|
import { C as o } from "../../chunks/interfaces.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.122 */
|
|
31
31
|
const u = p`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
32
|
class C extends g {
|
|
33
33
|
constructor() {
|
|
@@ -2,9 +2,9 @@ import { c as T } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as $ } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { isEqual as v } from "lodash-es";
|
|
5
|
-
import { a as g, i as I, W as p, m as b } from "../../chunks/series-types.js";
|
|
6
|
-
import { bJ as F, bq as k, br as O, b as D, cX as y, cY as E, dj as P, o as B, de as x, bL as _, d2 as N } from "../../chunks/index.js";
|
|
7
5
|
import "d3-array";
|
|
6
|
+
import { bJ as I, bq as k, br as O, b as D, cX as y, cY as E, dj as P, o as F, de as B, bL as _, d2 as N } from "../../chunks/index.js";
|
|
7
|
+
import { a as g, i as x, W as p, m as b } from "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
9
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
10
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -26,7 +26,7 @@ import { LitElement as q, createEvent as C, safeClassMap as l, renderElement as
|
|
|
26
26
|
import { x as Z } from "../../chunks/data.js";
|
|
27
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.122 */
|
|
30
30
|
const r = {
|
|
31
31
|
label: "label",
|
|
32
32
|
fieldList: "field-list",
|
|
@@ -58,7 +58,7 @@ class J extends q {
|
|
|
58
58
|
break;
|
|
59
59
|
}
|
|
60
60
|
case a.numericFields:
|
|
61
|
-
if (this.model.numericFields = i, (this.model.numericFields ?? []).length > 0 && this.model.aggregationType === g.Count && this.model.numericFields[0] !==
|
|
61
|
+
if (this.model.numericFields = i, (this.model.numericFields ?? []).length > 0 && this.model.aggregationType === g.Count && this.model.numericFields[0] !== I(this.model.layer).idField && (this.model.aggregationType = g.Sum), this.model.getSortOrder() === d.customSort) {
|
|
62
62
|
const s = await this.updateCustomSortProps();
|
|
63
63
|
this.model.orderByList = s, this.sortOrderResetCounter += 1;
|
|
64
64
|
}
|
|
@@ -207,12 +207,12 @@ class J extends q {
|
|
|
207
207
|
e.stopImmediatePropagation(), this.removeBarChartDataPopover();
|
|
208
208
|
const t = {
|
|
209
209
|
size: this.model.temporalBinningSize ?? 1,
|
|
210
|
-
unit: this.model.temporalBinningUnit ??
|
|
210
|
+
unit: this.model.temporalBinningUnit ?? x.Second
|
|
211
211
|
};
|
|
212
212
|
let i, s, o, h = !1, u = !1;
|
|
213
213
|
switch (this.contentKind) {
|
|
214
214
|
case a.aggregation:
|
|
215
|
-
i = this.aggregationElement.value, s = this._messages.aggregationHeader, h =
|
|
215
|
+
i = this.aggregationElement.value, s = this._messages.aggregationHeader, h = F(this.model.config.series ?? []) === B.BarAndLineFromFields, o = this.model.aggregationType;
|
|
216
216
|
break;
|
|
217
217
|
case a.category:
|
|
218
218
|
i = this.categoryElement.value, s = this._messages.categoryHeader, o = this.model.xAxisField;
|
|
@@ -266,17 +266,17 @@ class J extends q {
|
|
|
266
266
|
return n`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-select>`;
|
|
267
267
|
}
|
|
268
268
|
renderNumericFields(e) {
|
|
269
|
-
const t =
|
|
269
|
+
const t = I(this.model.layer).idField, i = [];
|
|
270
270
|
for (const s of e)
|
|
271
271
|
s !== t && i.push(this.buildNumericFieldItem(s));
|
|
272
272
|
return n`<calcite-list label class=${l(r.fieldList)} ${m(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
273
273
|
}
|
|
274
274
|
renderCustomSortUI() {
|
|
275
275
|
const e = this.model.getSortOrder(), t = this.model.getAxisValueFormat(0)?.type, i = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
276
|
-
return t === p.CategoryAxisFormat && e === d.customSort && !this.isCustomSortDisabled ? n`<calcite-label class=${l(r.label)}><div class=${l(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${i === 0 || i === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${f.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${i === -1 || i === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${f.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${v(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${
|
|
276
|
+
return t === p.CategoryAxisFormat && e === d.customSort && !this.isCustomSortDisabled ? n`<calcite-label class=${l(r.label)}><div class=${l(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${i === 0 || i === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${f.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${i === -1 || i === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${f.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${v(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${F(this.model.config.series ?? []) === B.BarAndLineFromFields ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
277
277
|
}
|
|
278
278
|
renderInterval() {
|
|
279
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = N(this.model.temporalBinningUnit ??
|
|
279
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = N(this.model.temporalBinningUnit ?? x.Second, this._messages) ?? "", s = R(S), o = {
|
|
280
280
|
size: this.model.temporalBinningSize,
|
|
281
281
|
unit: this.model.temporalBinningUnit
|
|
282
282
|
}, h = v(o, s);
|
|
@@ -33,7 +33,7 @@ import { e as M, p as U } from "../../chunks/popover-ui-utils.js";
|
|
|
33
33
|
import { h as v, U as C, i as h, d as j, e as H, s as O } from "../../chunks/chart-ui-utils2.js";
|
|
34
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.122 */
|
|
37
37
|
const W = D`.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)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
38
38
|
jsAppFlyout: "js-app-flyout",
|
|
39
39
|
name: "bar-chart-data-popover",
|
|
@@ -2,8 +2,8 @@ import { c as k } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as x } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
|
-
import { e as r, a as u } from "../../chunks/series-types.js";
|
|
6
5
|
import "d3-array";
|
|
6
|
+
import { e as r, a as u } from "../../chunks/series-types.js";
|
|
7
7
|
import { de as T, dj as C } from "../../chunks/index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -30,7 +30,7 @@ import { LitElement as N, createEvent as O, renderElement as f, safeStyleMap as
|
|
|
30
30
|
import { d as _ } from "../../chunks/chart-ui-utils2.js";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.122 */
|
|
34
34
|
const E = {
|
|
35
35
|
stackedType: "stacked-type"
|
|
36
36
|
}, o = {
|
|
@@ -2,8 +2,8 @@ import { c } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { css as p, html as m } from "lit";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
|
-
import "../../chunks/series-types.js";
|
|
6
5
|
import "d3-array";
|
|
6
|
+
import "../../chunks/series-types.js";
|
|
7
7
|
import { ap as h } from "../../chunks/index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -29,7 +29,7 @@ import { createRef as C, ref as u } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as v, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.122 */
|
|
33
33
|
const r = {
|
|
34
34
|
jsAppFlyout: "js-app-flyout",
|
|
35
35
|
panelChildrenContainer: "panel-children-container"
|